|
LibreOffice Module xmerge (master) 1
|
This class represents embedded object's in an OpenOffice.org document that have a binary representation. More...
Public Member Functions | |
| EmbeddedBinaryObject (String name, String type) | |
| Constructor for an embedded object stored using an XML representation. More... | |
| byte[] | getBinaryData () |
| This method returns the data for this object. More... | |
| void | setBinaryData (byte[] data) |
| Sets the data for this object. More... | |
Public Member Functions inherited from org.openoffice.xmerge.converter.xml.EmbeddedObject | |
| EmbeddedObject (String name, String type) | |
| Constructor for an embedded object stored using an XML representation. More... | |
| final String | getName () |
| Retrieves the name of the embedded object represented by an instance of this class. More... | |
| final String | getType () |
| Retrieves the type of the embedded object represented by an instance of this class. More... | |
Private Attributes | |
| byte[] | objData = null |
| The object's binary representation. More... | |
Additional Inherited Members | |
Protected Attributes inherited from org.openoffice.xmerge.converter.xml.EmbeddedObject | |
| String | objName |
| String | objType |
| OfficeZip | zipFile = null |
| Representation of the file from which this object was read. More... | |
| boolean | hasChanged = false |
| Flag indicating if this document has changed since reading or is new. More... | |
This class represents embedded object's in an OpenOffice.org document that have a binary representation.
Definition at line 29 of file EmbeddedBinaryObject.java.
|
inline |
Constructor for an embedded object stored using an XML representation.
| name | The name of the object. |
| type | The mime-type of the object. See the class summary. |
Definition at line 40 of file EmbeddedBinaryObject.java.
|
inline |
This method returns the data for this object.
byte array containing the object's data. Definition at line 62 of file EmbeddedBinaryObject.java.
References org.openoffice.xmerge.converter.xml.EmbeddedBinaryObject.objData, org.openoffice.xmerge.converter.xml.EmbeddedObject.objName, and org.openoffice.xmerge.converter.xml.EmbeddedObject.zipFile.
|
inline |
Sets the data for this object.
| data | A byte array containing data for the object. |
Definition at line 77 of file EmbeddedBinaryObject.java.
References org.openoffice.xmerge.converter.xml.EmbeddedObject.hasChanged, and org.openoffice.xmerge.converter.xml.EmbeddedBinaryObject.objData.
|
private |
The object's binary representation.
Definition at line 32 of file EmbeddedBinaryObject.java.
Referenced by org.openoffice.xmerge.converter.xml.EmbeddedBinaryObject.getBinaryData(), and org.openoffice.xmerge.converter.xml.EmbeddedBinaryObject.setBinaryData().