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.
Parameter
data
String. Content text.
Function summary
Table 44‑12 describes actuate.data.ReportContent functions.
Table 44‑12 actuate.data.ReportContent function
Function
Description
Returns the text in the downloaded content
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>" )
}