|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
public interface ViewModeType
The ViewModeType interface is used to control the way in which you view a document.
You can view:
ViewSupport for an
example of how to use this object.
ViewSupport
to see the relationship between ViewModeType and OutputFormatType.
ReportEngine,
BinaryView,
CharacterView,
XMLView,
ViewModeType,
RetrieveData,
RetrieveView,
OutputFormatType,
DocumentInformation| Nested Class Summary | |
|---|---|
static class |
ViewModeType.Enum
Enumeration value class for com.businessobjects.dsws.reportengine.ViewModeType. |
static class |
ViewModeType.Factory
A class with methods for creating instances of the ViewModeType type. |
| Field Summary | |
|---|---|
static ViewModeType.Enum |
ALL_DATA_PROVIDERS
View all DataProviders used to make the document |
static ViewModeType.Enum |
DATA_PROVIDER
View the DataProviders used to make the document |
static ViewModeType.Enum |
DOCUMENT
View entire document. |
static int |
INT_ALL_DATA_PROVIDERS
Returns the int value corresponding to the "DATA_PROVIDERS" ViewModeType |
static int |
INT_DATA_PROVIDER
Returns the int value corresponding to the "DATA_PROVIDER" ViewModeType |
static int |
INT_DOCUMENT
Returns the int value corresponding to the "DOCUMENT" ViewModeType |
static int |
INT_QUICK_REPORT_PAGE
Returns the int value corresponding to the "QUICK_REPORT_PAGE" ViewModeType |
static int |
INT_REPORT
Returns the int value corresponding to the "REPORT" ViewModeType |
static int |
INT_REPORT_PAGE
Returns the int value corresponding to the "REPORT_PAGE" ViewModeType |
static int |
INT_REPORT_PART
Returns the int value corresponding to the "REPORT_PART" ViewModeType |
static ViewModeType.Enum |
QUICK_REPORT_PAGE
View a particular report of the document in Quick Display Mode. |
static ViewModeType.Enum |
REPORT
View a particular report of the document. |
static ViewModeType.Enum |
REPORT_PAGE
View a particular page of the report. |
static ViewModeType.Enum |
REPORT_PART
View a particular part of the report. |
static org.apache.xmlbeans.SchemaType |
type
Internal use only |
| Method Summary | |
|---|---|
org.apache.xmlbeans.StringEnumAbstractBase |
enumValue()
Internal Use Only. |
void |
set(org.apache.xmlbeans.StringEnumAbstractBase e)
Internal Use Only. |
| Field Detail |
|---|
static final org.apache.xmlbeans.SchemaType type
Internal use only
static final ViewModeType.Enum DOCUMENT
static final ViewModeType.Enum REPORT
static final ViewModeType.Enum REPORT_PAGE
static final ViewModeType.Enum ALL_DATA_PROVIDERS
static final ViewModeType.Enum DATA_PROVIDER
static final ViewModeType.Enum REPORT_PART
static final ViewModeType.Enum QUICK_REPORT_PAGE
Example: View the document in QUICK_REPORT_PAGE mode
ViewSupport objViewSupport = ViewSupport.Factory.newInstance();
objViewSupport.setOutputFormat(OutputFormatType.XML);
objViewSupport.setViewType(ViewType.XML);
objViewSupport.setViewMode(ViewModeType.QUICK_REPORT_PAGE);
RetrieveData retBOData = RetrieveData.Factory.newInstance();
RetrieveView retBOView = RetrieveView.Factory.newInstance();
retBOView.setViewSupport(objViewSupport);
retBOData.setRetrieveView(retBOView);
DocumentInformation boDocInfo = objReportEngine.getDocumentInformation(docid, null, null, null, retBOData);
XMLView myBOView = (XMLView)boDocInfo.getView();
String docContents = myBOView.getContent();
static final int INT_DOCUMENT
static final int INT_REPORT
static final int INT_REPORT_PAGE
static final int INT_ALL_DATA_PROVIDERS
static final int INT_DATA_PROVIDER
static final int INT_REPORT_PART
static final int INT_QUICK_REPORT_PAGE
| Method Detail |
|---|
org.apache.xmlbeans.StringEnumAbstractBase enumValue()
Internal Use Only.
void set(org.apache.xmlbeans.StringEnumAbstractBase e)
Internal Use Only.
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||