|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Object | +--com.f1j.ss.DocumentType
A type-safe enumeration specifying a file format.
| Field Summary | |
static DocumentType |
ACTUATE_9_REPORT_EXECUTABLE
The Actuuate 9 report executable format (.sox). |
static DocumentType |
ACTUATE_9_REPORT_INSTANCE
The Actuate 9 report instance format (.soi). |
static DocumentType |
ACTUATE_9_REPORT_VIEW
The Actuate 9 report view format (.sov). |
static DocumentType |
ACTUATE_9_WORKBOOK
The Actuate 9 workbook format (.sod). |
static DocumentType |
CURRENT_FORMAT
The current Actuate Workbook file format. |
static DocumentType |
ESPREADSHEET_11_WORKBOOK
The e.Spreadsheet 11 workbook format (.vts). |
static DocumentType |
EXCEL_5_WORKBOOK
The Excel 5-95 workbook format (.xls). |
static DocumentType |
EXCEL_97_REPORT_VIEW
An Actuate 9 report view in the Excel 97-2003 workbook format (.xls). |
static DocumentType |
EXCEL_97_WORKBOOK
The Excel 97-2003 workbook format (.xls). |
static DocumentType |
FORMULA_ONE_3_WORKBOOK
The Formula One 3-5 workbook format (.vts). |
static DocumentType |
FORMULA_ONE_6_WORKBOOK
The Formula One 6 workbook format (.vts). |
static DocumentType |
FORMULA_ONE_7_WORKBOOK
The Formula One 7-10 workbook format (.vts). |
static DocumentType |
HTML
HTML format. |
static DocumentType |
HTML_DATA_ONLY
HTML format, showing plain cell data only. |
static DocumentType |
TABBED_TEXT
Text format, with columns tab-delimited. |
static DocumentType |
TABBED_TEXT_VALUES_ONLY
Text format, showing plain cell values only, with columns tab-delimited. |
static DocumentType |
UNICODE_TEXT
Unicode text format, with columns tab-delimited. |
static DocumentType |
UNICODE_TEXT_VALUES_ONLY
Unicode text format, showing plain cell values only, with columns tab-delimited. |
| Method Summary | |
java.io.File |
appendFileExtension(java.io.File file)
Appends the filename extension for this file type, to the specified File object. |
DocumentRole |
getDocumentRole()
Returns the role of this document type. |
boolean |
isActuate9OrLater()
Returns true if this document type represents an Actuate
version 9 or later spreadsheet file format |
boolean |
isExcel97Spreadsheet()
Returns true if this document type represents an Excel 97
spreadsheet file format. |
boolean |
isExcelSpreadsheet()
Returns true if this document type represents an Excel
spreadsheet file format. |
boolean |
isForeignSpreadsheet()
Returns true if this document type represents a spreadsheet
file format that is not the current Actuate format. |
boolean |
isNative()
Returns true if this document type represents a native
Actuate spreadsheet file format. |
boolean |
isReadOnly()
Returns true if this document type represents a file format
that is read-only. |
boolean |
isSpreadsheet()
Returns true if this document type represents any
spreadsheet file format. |
boolean |
isWriteOnly()
Returns true if this document type represents a file format
that is write-only. |
boolean |
supportsPasswordProtection()
Returns true if this document type supports password
protection. |
| Field Detail |
public static final DocumentType EXCEL_97_WORKBOOK
EXCEL_97_REPORT_VIEWpublic static final DocumentType EXCEL_97_REPORT_VIEW
Saving to this file format will cause the report to be run, and all report design information to be removed from the document.
EXCEL_97_WORKBOOKpublic static final DocumentType ACTUATE_9_WORKBOOK
public static final DocumentType ACTUATE_9_REPORT_EXECUTABLE
public static final DocumentType ACTUATE_9_REPORT_INSTANCE
public static final DocumentType ACTUATE_9_REPORT_VIEW
Saving to this file format will cause the report to be run, and all report design information to be removed from the document.
ACTUATE_9_WORKBOOKpublic static final DocumentType CURRENT_FORMAT
public static final DocumentType TABBED_TEXT
public static final DocumentType TABBED_TEXT_VALUES_ONLY
public static final DocumentType UNICODE_TEXT
public static final DocumentType UNICODE_TEXT_VALUES_ONLY
public static final DocumentType HTML
public static final DocumentType HTML_DATA_ONLY
public static final DocumentType EXCEL_5_WORKBOOK
public static final DocumentType ESPREADSHEET_11_WORKBOOK
public static final DocumentType FORMULA_ONE_7_WORKBOOK
public static final DocumentType FORMULA_ONE_6_WORKBOOK
public static final DocumentType FORMULA_ONE_3_WORKBOOK
| Method Detail |
public java.io.File appendFileExtension(java.io.File file)
file - A file object to which the filename extension will be appended.public boolean isSpreadsheet()
true if this document type represents any
spreadsheet file format.public boolean isForeignSpreadsheet()
true if this document type represents a spreadsheet
file format that is not the current Actuate format. Note that this
method returns true for both non-Actuate formats and old
Actuate formats.public boolean isActuate9OrLater()
true if this document type represents an Actuate
version 9 or later spreadsheet file formatpublic DocumentRole getDocumentRole()
DocumentRolepublic boolean supportsPasswordProtection()
true if this document type supports password
protection.public boolean isNative()
true if this document type represents a native
Actuate spreadsheet file format.public boolean isExcelSpreadsheet()
true if this document type represents an Excel
spreadsheet file format.public boolean isExcel97Spreadsheet()
true if this document type represents an Excel 97
spreadsheet file format.public boolean isReadOnly()
true if this document type represents a file format
that is read-only.public boolean isWriteOnly()
true if this document type represents a file format
that is write-only.
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||