public class XmlVisioDocument extends POIXMLDocument
POIXMLDocumentPart.RelationPart| Modifier and Type | Field and Description |
|---|---|
protected XDGFDocument |
_document |
protected XDGFMasters |
_masters |
protected XDGFPages |
_pages |
DOCUMENT_CREATOR, OLE_OBJECT_REL_TYPE, PACK_OBJECT_REL_TYPE| Constructor and Description |
|---|
XmlVisioDocument(InputStream stream) |
XmlVisioDocument(InputStream stream,
boolean closeStream) |
XmlVisioDocument(OPCPackage pkg) |
| Modifier and Type | Method and Description |
|---|---|
List<PackagePart> |
getAllEmbeddedParts()
Not currently implemented
|
Collection<XDGFPage> |
getPages() |
XDGFStyleSheet |
getStyleById(long id) |
protected void |
onDocumentRead()
Fired when a package part is read
|
close, getCorePart, getPackage, getProperties, getRelatedByType, load, openPackage, write_invokeOnDocumentRead, addRelation, commit, createHyperlink, createRelationship, createRelationship, createRelationship, getNextPartNumber, getPackagePart, getParent, getReferenceRelationship, getReferenceRelationships, getRelationById, getRelationId, getRelationPartById, getRelationParts, getRelations, getTargetPart, isCommitted, onDocumentCreate, onDocumentRemove, onSave, prepareForCommit, read, rebase, removeReferenceRelationship, removeRelation, removeRelation, removeRelation, setCommitted, toStringprotected XDGFPages _pages
protected XDGFMasters _masters
protected XDGFDocument _document
public XmlVisioDocument(OPCPackage pkg) throws IOException
IOExceptionpublic XmlVisioDocument(InputStream stream) throws IOException
stream - InputStream - closed when it is readIOExceptionpublic XmlVisioDocument(InputStream stream, boolean closeStream) throws IOException
stream - InputStreamcloseStream - Whether to close the InputStreamIOExceptionprotected void onDocumentRead()
POIXMLDocumentPartonDocumentRead in class POIXMLDocumentPartpublic List<PackagePart> getAllEmbeddedParts()
getAllEmbeddedParts in class POIXMLDocumentpublic Collection<XDGFPage> getPages()
public XDGFStyleSheet getStyleById(long id)