BIRT Data Analyzer API classes : Class actuate.xtabanalyzer.PageContent

Class actuate.xtabanalyzer.PageContent

Description

A container for the content of a cross-tab page. The actuate.xtabanalyzer.PageContent class contains a comprehensive list of report elements, such as tables, charts, labels, and data items.

Constructor

Syntax

actuate.xtabanalyzer.PageContent( )

Creates a PageContent object that represents the report content that is generated by a report design file or document file.

Function summary

Table 5-16 lists actuate.xtabanalyzer.PageContent functions.

actuate.xtabanalyzer.PageContent.
getCrosstabByBookmark

Syntax

actuate.xtabanalyzer.crosstab PageContent.getCrosstabByBookmark(string bookmark)

Returns a cross tab object associated with the bookmark.

Parameters

bookmark

The bookmark name of the item requested.

Returns

actuate.xtabanalyzer.crosstab object.

Example

This example retrieves the viewer ID, then retrieves the cross tab t.

function getCrosstab( ){
  var viewer = PageContent.getViewerId( );
  var content = viewer.getCurrentPageContent( );
  var crosstab = content.getCrosstabByBookmark( );
  return crosstab;
}

actuate.xtabanalyzer.PageContent.getViewerId

Syntax

string PageContent.getViewerId( )

Returns the XTabAnalyzer ID. The XTabAnalyzer is the cross tab viewer element.

Returns

String. The XTabAnalyzer ID.


(c) Copyright Actuate Corporation 2011