org.apache.poi.xdgf.usermodel
Class XDGFMasters
java.lang.Object
org.apache.poi.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
Methods inherited from class org.apache.poi.POIXMLDocumentPart |
_invokeOnDocumentRead, addRelation, commit, createRelationship, createRelationship, createRelationship, getNextPartNumber, getPackagePart, getParent, getRelationById, getRelationId, getRelationParts, getRelations, getTargetPart, onDocumentCreate, onDocumentRemove, onSave, prepareForCommit, read, rebase, removeRelation, removeRelation, toString |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
_masters
protected java.util.Map<java.lang.Long,XDGFMaster> _masters
XDGFMasters
public XDGFMasters(PackagePart part,
XDGFDocument document)
- Since:
- POI 3.14-Beta1
getXmlObject
@Internal
protected com.microsoft.schemas.office.visio.x2012.main.MastersType getXmlObject()
onDocumentRead
protected void onDocumentRead()
- Description copied from class:
POIXMLDocumentPart
- Fired when a package part is read
- Overrides:
onDocumentRead
in class POIXMLDocumentPart
getMastersList
public java.util.Collection<XDGFMaster> getMastersList()
getMasterById
public XDGFMaster getMasterById(long masterId)
Copyright 2017 The Apache Software Foundation or
its licensors, as applicable.