<< Click to Display Table of Contents >>

OZUserActionCommand > PrintableComp

OZUserActionCommand의 type 중 PrintableComp는 컴포넌트의 인쇄 불가 여부를 변경할 때 발생하며, 리턴되는 attr은 다음과 같습니다.

attr

설명

compindex

컴포넌트 인덱스(int). One-Based Index

compname

컴포넌트 이름(string)

메모는 공백으로 리턴됨

comptype

컴포넌트 타입(string)

메모는 "label"로 리턴됨

pageindex

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

reportindex

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

reportname

보고서 이름(string)

state

인쇄하지 않음(string)

Example

...

function OZUserActionCommand_OZViewer(type, attr) {

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

   if(type == "PrintableComp") {

       alert(MyObj.compindex);

       ...

   }

}

...