<< Click to Display Table of Contents >>

OZUserActionCommand > CopySelectedText

OZUserActionCommand의 type 중 CopySelectedText는 라벨, 메모의 텍스트를 선택할 때 발생하며, 리턴되는 attr은 다음과 같습니다.

attr

설명

clipboardtext

복사된 텍스트(string)

reportname

보고서 이름(string)

Example

...

function OZUserActionCommand_OZViewer(type, attr) {

   var MyObj = eval('(' + attr + ')');

   if(type == "CopySelectedText") {

       alert(MyObj.clipboardtext);

       ...

   }

}

...