19package org.openoffice.xmerge.converter.xml;
21import org.w3c.dom.Document;
22import org.w3c.dom.DOMException;
23import org.w3c.dom.Element;
54 super(name, type, source);
90 void write(OfficeZip zip) {
101 void writeManifestData(
Document manifestDoc)
throws DOMException {
102 Element objNode = manifestDoc.createElement(OfficeConstants.TAG_MANIFEST_FILE);
104 objNode.setAttribute(OfficeConstants.ATTRIBUTE_MANIFEST_FILE_TYPE,
objType);
105 objNode.setAttribute(OfficeConstants.ATTRIBUTE_MANIFEST_FILE_PATH,
objName);
107 manifestDoc.getDocumentElement().appendChild(objNode);
This class represents embedded object's in an OpenOffice.org document that have a binary representati...
void setBinaryData(byte[] data)
Sets the data for this object.
byte[] objData
The object's binary representation.
EmbeddedBinaryObject(String name, String type)
Constructor for an embedded object stored using an XML representation.
byte[] getBinaryData()
This method returns the data for this object.
boolean hasChanged
Flag indicating if this document has changed since reading or is new.
OfficeZip zipFile
Representation of the file from which this object was read.
A Document represents any Document to be converted and the resulting Document from any conversion.