com.sas.servlet.commands.olap.export
Class OLAPExportToHTMLCommand
com.sas.servlet.commands.olap.export.OLAPExportToHTMLCommand
All Implemented Interfaces: DynamicAttributeCommandInterface , OLAPExportCommandInterface , OLAPExportCommandV2Interface , BaseEntityInterface , BaseEntityValueInterface , EntityKeyInterface , com.sas.lang.StringDataInterface, com.sas.PublicClonable, com.sas.util.Command, com.sas.util.SimpleCommand, java.lang.Cloneable , java.rmi.Remote
public class OLAPExportToHTMLCommand
Command to export to MS Excel multidimensional data as HTML text.
Visit the AppDev Studio Developer's Site to access step-by-step examples, white papers and additional usage information at http://support.sas.com/rnd/appdev/ .
Examples for this class may be found on the Examples Site .
Since:
3.1
Method Summary
void
execute (java.lang.Object o,
int startRow,
int nRows,
boolean isRawData,
boolean repeatLabels)
Executes the command
void
execute (java.lang.Object o,
int startRow,
int nRows,
boolean isRawData,
boolean repeatLabels,
java.lang.String [] headers,
java.lang.String [] footers)
Executes the command
OLAPTableView
getViewer (int startRow,
int nRows,
boolean isRawData,
boolean repeatLabels)
Methods inherited from class com.sas.entities.BaseEntity
clone , containsAttributeNamed , equals , equals , getAttribute , getAttribute , getAttributeCount , getAttributes , getEntityKey , getPropertyDescriptors , getStringAttribute , listAttributeNames , removeAllAttributes , removeAttribute , reset , sameEntity , setAttribute , setAttributes , setEntityKey , toString
Methods inherited from interface com.sas.util.Command
clone
OLAPExportToHTMLCommand
public OLAPExportToHTMLCommand ()
execute
public void execute (java.lang.Object o,
int startRow,
int nRows,
boolean isRawData,
boolean repeatLabels)
Description copied from interface: OLAPExportCommandInterface
Executes the command
Specified by: execute
in interface OLAPExportCommandInterface
Specified by: execute
in class BaseOLAPExportCommand
Parameters: o
- the output object where to write the exported data to (example a ServletResponse
or a Writer
)startRow
- the index (in the model) of the first row of data to exportnRows
- the number of rows of data to exportisRawData
- true if non formatted data have to be exported, false if formatted data have to be exportedrepeatLabels
- true if the row labels have to be repeated in the exported stream when the OLAP model is expanded, false otherwise
execute
public void execute (java.lang.Object o,
int startRow,
int nRows,
boolean isRawData,
boolean repeatLabels,
java.lang.String [] headers,
java.lang.String [] footers)
Description copied from interface: OLAPExportCommandV2Interface
Executes the command
Specified by: execute
in interface OLAPExportCommandV2Interface
Specified by: execute
in class BaseOLAPExportCommand
Parameters: o
- the output object where to write the exported data to (example a ServletResponse
or a Writer
)startRow
- the index (in the model) of the first row of data to exportnRows
- the number of rows of data to exportisRawData
- true if non formatted data have to be exported, false if formatted data have to be exportedrepeatLabels
- true if the row labels have to be repeated in the exported stream when the OLAP model is expanded, false otherwiseheaders
- the headers to export above the data, each header on a separate rowfooters
- the footers to export below the data, each footer on a separate row
getViewer
public OLAPTableView getViewer (int startRow,
int nRows,
boolean isRawData,
boolean repeatLabels)
Copyright © 2009 SAS Institute Inc. All Rights Reserved.