|
OpenOffice.org XMerge API |
||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object | +--org.openoffice.xmerge.converter.xml.sxc.SxcDocumentDeserializer | +--org.openoffice.xmerge.converter.xml.sxc.pexcel.SxcDocumentDeserializerImpl
Pocket Excel implementation of DocumentDeserializer
for the PluginFactoryImpl
.
This converts a set of files in Pocket Excel PXL format to a StarOffice DOM.
Constructor Summary | |
SxcDocumentDeserializerImpl(ConvertData cd)
Creates new SxcDocumentDeserializerImpl . |
Method Summary | |
SpreadsheetDecoder |
createDecoder(java.lang.String workbook,
java.lang.String[] worksheetNames,
java.lang.String password)
This method will be implemented by concrete subclasses and will return an application-specific decoder. |
protected java.lang.String |
getWorkbookName(ConvertData cd)
This method will return the name of the WorkBook from the ConvertData . |
protected java.lang.String[] |
getWorksheetNames(ConvertData cd)
This method will return an array of WorkSheet names from the ConvertData . |
Methods inherited from class org.openoffice.xmerge.converter.xml.sxc.SxcDocumentDeserializer |
addEmptyCells, addEmptyRows, decode, deserialize, parseFormula, processCellData, processCells, processTable |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
public SxcDocumentDeserializerImpl(ConvertData cd)
SxcDocumentDeserializerImpl
.cd
- ConvertData
Input data to convert.Method Detail |
public SpreadsheetDecoder createDecoder(java.lang.String workbook, java.lang.String[] worksheetNames, java.lang.String password) throws java.io.IOException
createDecoder
in class SxcDocumentDeserializer
workbook
- The WorkBook name.worksheetNames
- An array of WorkSheet names.password
- The password.SpreadsheetDecoder
.protected java.lang.String getWorkbookName(ConvertData cd) throws java.io.IOException
ConvertData
. Allows for situations where the
WorkBook name differs from the PDB name.
Implemented in the Deserializer as the Decoder's constructor
requires a name.getWorkbookName
in class SxcDocumentDeserializer
cd
- The ConvertData
.protected java.lang.String[] getWorksheetNames(ConvertData cd) throws java.io.IOException
ConvertData
.getWorksheetNames
in class SxcDocumentDeserializer
cd
- The ConvertData
.
|
OpenOffice.org XMerge API |
||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |