func init // checks installation Adobe Acrobat include("AdobeAcrobat") end func doDevicePointToPage(data) dt = d("PageView") if(len(dt)) event("onDevicePointToPage", dt + '.DevicePointToPage(' + sys.if_null(data) + ')') end end func doGoBack dt = d("PageView") if(len(dt)) blk.println(dt , '.DoGoBack();') end end func doGoForward dt = d("PageView") if(len(dt)) blk.println(dt , '.DoGoForward();') end end func doGoTo(data) dt = d("PageView") if(len(dt)) blk.println(dt , '.GoTo(', sys.to_type(data, 1), ');') end end func doPointToDevice(data) dt = d("PageView") if(len(dt)) event("onPointToDevice", dt + '.PointToDevice(' + sys.if_null(data) + ')') end end func doScrollTo(data) dt = d("PageView") if(len(dt)) if((typeof(data)==5) and data.size()) blk.println(dt , '.ScrollTo(', sys.to_type(sys.mt_pop(data), 1), ', ', sys.to_type(sys.mt_pop(data), 1), ');') end end end func doZoomTo(data) dt = d("PageView") if(len(dt)) if((typeof(data)==5) and data.size()) blk.println(dt , '.ZoomTo(', sys.to_type(sys.mt_pop(data), 1), ', ', sys.to_type(sys.mt_pop(data), 1), ');') end end end func Aperture dt = d("PageView") if(len(dt)) return(dt + '.GetAperture()') end end func AVDoc dt = d("PageView") if(len(dt)) return(dt + '.GetAVDoc()') end end func PDDoc dt = d("PageView") if(len(dt)) return(dt + '.GetDoc()') end end func PDPage dt = d("PageView") if(len(dt)) return(dt + '.GetPage()') end end func PageNum dt = d("PageView") if(len(dt)) return(dt + '.GetPageNum()') end end func Zoom dt = d("PageView") if(len(dt)) return(dt + '.GetZoom()') end end func ZoomType dt = d("PageView") if(len(dt)) return(dt + '.GetZoomType()') end end