<< Click to Display Table of Contents >>

OZUserActionCommand > CommentClear

OZUserActionCommand의 type 중 CommentClear는 모두 지우기 아이콘을 클릭하여 보고서에 추가된 모든 주석이 삭제될 때 발생하며, 리턴되는 attr은 다음과 같습니다.

attr

설명

mainscreen

모든 주석이 삭제된 스크린이 메인 스크린인지 여부(string)

"true"(메인 스크린), "false"(서브 스크린) 중 하나의 값으로 리턴됨

pageindex

페이지 인덱스(int). One-Based Index

reportindex

보고서 인덱스(int). Zero-Based Index

Reference

멀티 스크린 환경을 지원하지 않는 뷰어의 경우 "mainscreen"은 항상 "true"로 리턴됩니다.

Example

...

function OZUserActionCommand_OZViewer(type, attr) {

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

   if(type == "CommentClear") {

       alert(MyObj.mainscreen);

       ...

   }

}

...