ddn.odf.embedded
ODF embedded object support.
Provides APIs for enumerating, tracking, and accessing embedded ODF objects (charts, spreadsheets, formulas, images, drawings, text) inside host packages. Tracks object relationships between host XML references, package paths, manifest entries, and embedded streams.
Limitations:
- Object type detection relies on manifest media types; embedded objects without a media type are reported as
NONE. - The scanner only recognises
./Object <N>/directories. The./Embedding <N>/pattern used for OLE packages is not detected. - Typed content access (parsing the sub-document) is not provided by this module; consumers should open the sub-document's
content.xmlstream from the host package reader.
Types 3
structEmbeddedObject
Fields
string namestring packagePathstring mediaTypeOdfDocumentType objectTypestring styleNamestring drawIdstring xstring ystring widthstring heightMethods
structEmbeddedImage
Fields
string namestring packagePathstring mediaTypestring widthstring heightMethods
structEmbeddedResources
Functions 4
fn
EmbeddedResources scanEmbeddedResources(
const ref ManifestModel manifest)