<< Click to Display Table of Contents >>

OZUserActionComamand > 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);

       ...

   }

}

...