Hi Devs,
<code>
OfficeImporter::officeToXHTML(byte[] officeFileData,
DocumentName
referenceDocument, boolean filterStyles):XHTMLOfficeDocument
OfficeImporter::xhtmlToXDOM(XHTMLOfficeDocument
xhtmlOfficeDocument):XDOMOfficeDocument
OfficeImporter::officeToXDOM(byte[] officeFileData, DocumentName
referenceDocument, boolean filterStyles):XDOMOfficeDocument
OfficeImporter::buildPresentation(byte[] officeFileData):XDOMOfficeDocument
OfficeImporter::splitImport(XDOMOfficeDocument xdomOfficeDocument, int[]
headingLevelsToSplit, NamingCriterion namingCriterion, DocumentName
baseDocumentName):Map<TargetPageDescriptor, XDOMOfficeDocument>
</code>
I'd like to implement this proposal for XE 2.2M1 release with few changes:
1. Change all byte[] references to use InputStream instead (as discussed).
2. Add a "String officeFileName" parameter to first four methods described
above. This is because currently office importer fails on Office2007
documents unable to figure out document type. (For all other document types
jodconverter correctly identifies document type without a file extension but
for Office2007 documents it seems to fail).
Please let me know if you have anything against. I'm going ahead with the
implementation.
Thanks.
- Asiri