Package writer2latex.office
Class EmbeddedObject
java.lang.Object
writer2latex.office.EmbeddedObject
- Direct Known Subclasses:
EmbeddedBinaryObject
,EmbeddedXMLObject
This class represents and embedded object within an ODF package document
-
Constructor Summary
ConstructorsModifierConstructorDescriptionprotected
EmbeddedObject
(String sName, String sType, OfficeDocument doc) Construct a new embedded object -
Method Summary
-
Constructor Details
-
EmbeddedObject
Construct a new embedded object- Parameters:
sName
- The name of the object.sType
- The MIME-type of the object.doc
- The document to which the object belongs.
-
-
Method Details
-
getName
Get the name of the embedded object represented by this instance. The name refers to the manifest.xml file- Returns:
- The name of the object.
-
getType
Get the MIME type of the embedded object represented by this instance. The MIME type refers to the manifest.xml file -
dispose
public void dispose()Dispose thisEmbeddedObject
. This implies that the content is nullified and the object is removed from the collection in theOfficeDocument
.
-