<< Click to Display Table of Contents >>
OZUserActionCommand > Toc
OZUserActionCommand의 type 중 Toc는 보고서 트리에서 목차를 선택할 때 발생하며, 리턴되는 attr은 다음과 같습니다.
attr |
설명 |
reportname |
보고서 이름(string) |
toclevel |
목차 레벨(int) |
tocname |
목차 이름(string) |
Example
...
function OZUserActionCommand_OZViewer(type, attr) {
var MyObj = eval('(' + attr + ')');
if(type == "Toc") {
alert(MyObj.reportname);
...
}
}
...