Class actuate.data.ReportContent
Description
The ReportContent class is a container for downloadable report content.
Constructor
Syntax
actuate.data.ReportContent(data)
Constructs a ReportContent object.
Parameters
data
String. Content text.
Function summary
Table 4-12 describes actuate.data.ReportContent functions.
actuate.data.ReportContent.getTextContent
Syntax
string ReportContent.getTextContent( )
Returns the text in the downloaded content.
Returns
String. The text in the downloaded content.
Example
To make a callback function that prints back the first line of text from some downloaded content back onto the page, use code similar to the following:
function callback(data1){
  var rcontent = data1.ReportContent.getTextContent( );
  var contentArray = rcontent.split("\n");
  var items = contentArray.length
  document.write("<P>\n")
  document.write(listItems.arguments[o] + "\n</P>")
}

Additional Links:

Copyright Actuate Corporation 2012