Package org.apache.poi.xdgf.usermodel
Class XDGFBaseContents
java.lang.Object
org.apache.poi.ooxml.POIXMLDocumentPart
org.apache.poi.xdgf.xml.XDGFXMLDocumentPart
org.apache.poi.xdgf.usermodel.XDGFBaseContents
- Direct Known Subclasses:
XDGFMasterContents,XDGFPageContents
Container of shapes for a page in a Visio diagram. Shapes are not
necessarily literal shapes in the diagram, but is the term that is
used to describe the basic elements that make up a Visio diagram.
-
Nested Class Summary
Nested classes/interfaces inherited from class org.apache.poi.ooxml.POIXMLDocumentPart
POIXMLDocumentPart.RelationPart -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoiddraw(Graphics2D graphics) Draws the contents of a page onto a Graphics2D objectgetShapeById(long id) com.microsoft.schemas.office.visio.x2012.main.PageContentsTypetoString()voidvisitShapes(ShapeVisitor visitor) Provides iteration over the shapes using the visitor pattern, and provides an easy way to convert shape coordinates into global coordinatesMethods inherited from class org.apache.poi.xdgf.xml.XDGFXMLDocumentPart
setDocumentMethods inherited from class org.apache.poi.ooxml.POIXMLDocumentPart
_invokeOnDocumentRead, addRelation, createRelationship, createRelationship, createRelationship, getNextPartNumber, getPackagePart, getParent, getRelationById, getRelationId, getRelationPartById, getRelationParts, getRelations, isCommitted, setCommitted
-
Constructor Details
-
XDGFBaseContents
- Since:
- POI 3.14-Beta1
-
-
Method Details
-
getXmlObject
-
draw
Draws the contents of a page onto a Graphics2D object- Parameters:
graphics- The context to draw on.
-
getShapeById
-
getShapesMap
-
getShapes
-
getTopLevelShapes
-
getConnections
-
toString
- Overrides:
toStringin classPOIXMLDocumentPart
-
visitShapes
Provides iteration over the shapes using the visitor pattern, and provides an easy way to convert shape coordinates into global coordinates
-