|
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.SxcDocumentSerializer | +--org.openoffice.xmerge.converter.xml.sxc.pexcel.SxcDocumentSerializerImpl
Pocket Excel implementation of SxcDocumentDeserializer
for the PluginFactoryImpl
.
This converts StarOffice XML format to a set of files in Pocket Excel PXL format.
Fields inherited from class org.openoffice.xmerge.converter.xml.sxc.SxcDocumentSerializer |
encoder, sxcDoc |
Constructor Summary | |
SxcDocumentSerializerImpl(Document document)
Constructor. |
Method Summary | |
protected java.lang.String |
parseFormula(java.lang.String formula)
A cell reference in a StarOffice formula looks like [.C2] (for cell C2). |
ConvertData |
serialize()
Method to convert a DOM Document into
"Device" Document objects. |
Methods inherited from class org.openoffice.xmerge.converter.xml.sxc.SxcDocumentSerializer |
addCell, calculateContentWidth, getDecimalPlaces, processColumnWidth, traverseBody, traverseCell, traverseParagraph, traverseTable, traverseTableColumn, traverseTableRow |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
public SxcDocumentSerializerImpl(Document document)
document
- The Document
to convert.Method Detail |
protected java.lang.String parseFormula(java.lang.String formula)
parseFormula
in class SxcDocumentSerializer
formula
- A StarOffice formula String
.String
.public ConvertData serialize() throws ConvertException, java.io.IOException
SxcDocumentSerializer
Method to convert a DOM Document
into
"Device" Document
objects.
This method is not thread safe for performance reasons. This method should not be called from within two threads. It would be best to call this method only once per object instance.
serialize
in class SxcDocumentSerializer
org.openoffice.xmerge.converter.xml.sxc.SxcDocumentSerializer
ConvertData
containing "Device"
Document
objects.ConvertException
- If any conversion error occurs.java.io.IOException
- If any I/O error occurs.
|
OpenOffice.org XMerge API |
||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |