Package org.apache.poi.xdgf.usermodel
Class XDGFMasters
- java.lang.Object
-
- org.apache.poi.ooxml.POIXMLDocumentPart
-
- org.apache.poi.xdgf.xml.XDGFXMLDocumentPart
-
- org.apache.poi.xdgf.usermodel.XDGFMasters
-
public class XDGFMasters extends XDGFXMLDocumentPart
A collection of masters (typically stencils) in a Visio document
-
-
Nested Class Summary
-
Nested classes/interfaces inherited from class org.apache.poi.ooxml.POIXMLDocumentPart
POIXMLDocumentPart.RelationPart
-
-
Field Summary
Fields Modifier and Type Field Description protected Map<Long,XDGFMaster>_masters-
Fields inherited from class org.apache.poi.xdgf.xml.XDGFXMLDocumentPart
_document
-
-
Constructor Summary
Constructors Constructor Description XDGFMasters(PackagePart part)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description XDGFMastergetMasterById(long masterId)Collection<XDGFMaster>getMastersList()protected com.microsoft.schemas.office.visio.x2012.main.MastersTypegetXmlObject()protected voidonDocumentRead()Fired when a package part is read-
Methods inherited from class org.apache.poi.xdgf.xml.XDGFXMLDocumentPart
setDocument
-
Methods inherited from class org.apache.poi.ooxml.POIXMLDocumentPart
_invokeOnDocumentRead, addRelation, commit, createRelationship, createRelationship, createRelationship, getNextPartNumber, getPackagePart, getParent, getRelationById, getRelationId, getRelationPartById, getRelationParts, getRelations, getTargetPart, isCommitted, onDocumentCreate, onDocumentRemove, onSave, prepareForCommit, read, rebase, removeRelation, removeRelation, removeRelation, setCommitted, toString
-
-
-
-
Field Detail
-
_masters
protected Map<Long,XDGFMaster> _masters
-
-
Constructor Detail
-
XDGFMasters
public XDGFMasters(PackagePart part)
- Since:
- POI 3.14-Beta1
-
-
Method Detail
-
getXmlObject
@Internal protected com.microsoft.schemas.office.visio.x2012.main.MastersType getXmlObject()
-
onDocumentRead
protected void onDocumentRead()
Description copied from class:POIXMLDocumentPartFired when a package part is read- Overrides:
onDocumentReadin classPOIXMLDocumentPart
-
getMastersList
public Collection<XDGFMaster> getMastersList()
-
getMasterById
public XDGFMaster getMasterById(long masterId)
-
-