A container for the content of a report document file. actuate.Viewer.PageContent contains a comprehensive list of report elements, such as tables, charts, labels, and data items.
Constructor
The PageContent object is constructed by actuate.viewer.getCurrentPageContent( ).
Returns the chart element specified by the given bookmark.
Parameter
bookmark
String. A bookmark to identify a chart element. When the bookmark value is not given, this function returns the first chart element found in the report content.
Use this function to access the bookmarks for specific elements in the page content. For example, to access the data element "myDataItem" on the page loaded in the myViewer viewer object, use the following code:
Use this function to access the bookmarks for specific elements in the page content. For example, to access the Flash object "myFlashObj" on the page loaded in the myViewer viewer object, use the following code:
Use this function to access the bookmarks for specific elements in the page content. For example, to access the gadget "myGadget" on the page loaded in the myViewer viewer object, use the following code:
Use this function to access the bookmarks for specific elements in the page content. For example, to access the label "LabelOne" on the page loaded in the myViewer viewer object, use the following code:
Use this function to access the bookmarks for specific elements in the page content. For example, to access the table mytable on the page loaded in the myViewer viewer object, use the following code:
Use this function to access the bookmarks for specific elements in the page content. For example, to access the text item "myTextItem" on the page loaded in the myViewer viewer object, use the following code:
var element = myViewer.getCurrentPageContent( )
.getTextByBookmark("myTextItem");
getViewerId
Syntax
string PageContent.getViewerId( )
Returns the viewer ID.
Returns
String. The viewer ID.
Example
This example displays the viewer ID in an alert box:
alert("The Viewer ID is " + myViewer.getViewerId( ));