|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.apache.poi.xdgf.usermodel.XDGFSheet
org.apache.poi.xdgf.usermodel.XDGFShape
public class XDGFShape
A shape is a collection of Geometry Visualization, Format, Text, Images, and Shape Data in a Drawing Page.
Field Summary |
---|
Fields inherited from class org.apache.poi.xdgf.usermodel.XDGFSheet |
---|
_cells, _character, _document, _geometry, _sections, _sheet |
Constructor Summary | |
---|---|
XDGFShape(com.microsoft.schemas.office.visio.x2012.main.ShapeSheetType shapeSheet,
XDGFBaseContents parentPage,
XDGFDocument document)
|
|
XDGFShape(XDGFShape parent,
com.microsoft.schemas.office.visio.x2012.main.ShapeSheetType shapeSheet,
XDGFBaseContents parentPage,
XDGFDocument document)
|
Method Summary | |
---|---|
java.lang.Double |
getAngle()
|
java.lang.Double |
getBeginX()
|
java.lang.Double |
getBeginY()
|
java.awt.geom.Rectangle2D.Double |
getBounds()
|
java.awt.geom.Path2D.Double |
getBoundsAsPath()
|
XDGFCell |
getCell(java.lang.String cellName)
A cell is really just a setting |
java.lang.Double |
getEndX()
|
java.lang.Double |
getEndY()
|
java.lang.Boolean |
getFlipX()
|
java.lang.Boolean |
getFlipY()
|
java.awt.Color |
getFontColor()
|
java.lang.Double |
getFontSize()
|
GeometrySection |
getGeometryByIdx(long idx)
|
java.lang.Iterable<GeometrySection> |
getGeometrySections()
|
java.lang.Double |
getHeight()
|
long |
getID()
|
java.lang.Integer |
getLineCap()
|
java.awt.Color |
getLineColor()
|
java.lang.Integer |
getLinePattern()
|
java.lang.Double |
getLineWeight()
|
java.lang.Double |
getLocPinX()
|
java.lang.Double |
getLocPinY()
|
XDGFShape |
getMasterShape()
|
java.lang.String |
getName()
|
XDGFShape |
getParentShape()
|
protected java.awt.geom.AffineTransform |
getParentTransform()
Returns a transform that can translate shape-local coordinates to the coordinates of its parent shape |
java.awt.geom.Path2D.Double |
getPath()
|
java.lang.Double |
getPinX()
|
java.lang.Double |
getPinY()
|
java.util.List<XDGFShape> |
getShapes()
Only available if this shape is a shape group, may be null |
java.lang.String |
getShapeType()
|
java.awt.Stroke |
getStroke()
|
java.lang.String |
getSymbolName()
|
XDGFText |
getText()
|
java.lang.String |
getTextAsString()
|
XDGFShape |
getTopmostParentShape()
|
java.lang.Double |
getTxtAngle()
|
java.lang.Double |
getTxtHeight()
|
java.lang.Double |
getTxtLocPinX()
|
java.lang.Double |
getTxtLocPinY()
|
java.lang.Double |
getTxtPinX()
|
java.lang.Double |
getTxtPinY()
|
java.lang.Double |
getTxtWidth()
|
java.lang.String |
getType()
|
java.lang.Double |
getWidth()
|
com.microsoft.schemas.office.visio.x2012.main.ShapeSheetType |
getXmlObject()
|
boolean |
hasGeometry()
|
boolean |
hasMaster()
|
boolean |
hasMasterShape()
|
boolean |
hasParent()
|
boolean |
hasShapes()
|
boolean |
hasText()
|
boolean |
isDeleted()
|
boolean |
isShape1D()
|
boolean |
isTopmost()
|
protected void |
readProperties()
|
protected void |
setupMaster(XDGFPageContents pageContents,
XDGFMasterContents master)
Setup top level shapes Shapes that have a 'Master' attribute refer to a specific master in the page, whereas shapes with a 'MasterShape' attribute refer to a subshape of a Master. |
protected void |
setupSectionMasters()
|
java.lang.String |
toString()
|
void |
visitShapes(ShapeVisitor visitor,
java.awt.geom.AffineTransform tr,
int level)
The visitor will first visit this shape, then it's children This is useful because exceptions will be marked with the shapes as it propagates up the shape hierarchy. |
void |
visitShapes(ShapeVisitor visitor,
int level)
The visitor will first visit this shape, then it's children. |
Methods inherited from class org.apache.poi.xdgf.usermodel.XDGFSheet |
---|
getDocument, getFillStyle, getLineStyle, getSection, getTextStyle |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
Constructor Detail |
---|
public XDGFShape(com.microsoft.schemas.office.visio.x2012.main.ShapeSheetType shapeSheet, XDGFBaseContents parentPage, XDGFDocument document)
public XDGFShape(XDGFShape parent, com.microsoft.schemas.office.visio.x2012.main.ShapeSheetType shapeSheet, XDGFBaseContents parentPage, XDGFDocument document)
Method Detail |
---|
public java.lang.String toString()
toString
in class java.lang.Object
protected void readProperties()
protected void setupMaster(XDGFPageContents pageContents, XDGFMasterContents master)
protected void setupSectionMasters()
@Internal public com.microsoft.schemas.office.visio.x2012.main.ShapeSheetType getXmlObject()
public long getID()
public java.lang.String getType()
public java.lang.String getTextAsString()
public boolean hasText()
public XDGFCell getCell(java.lang.String cellName)
XDGFSheet
getCell
in class XDGFSheet
cellName
- The particular setting you wantpublic GeometrySection getGeometryByIdx(long idx)
public java.util.List<XDGFShape> getShapes()
public java.lang.String getName()
public java.lang.String getShapeType()
public java.lang.String getSymbolName()
public XDGFShape getMasterShape()
public XDGFShape getParentShape()
public XDGFShape getTopmostParentShape()
public boolean hasMaster()
public boolean hasMasterShape()
public boolean hasParent()
public boolean hasShapes()
public boolean isTopmost()
public boolean isShape1D()
public boolean isDeleted()
public XDGFText getText()
public java.lang.Double getPinX()
public java.lang.Double getPinY()
public java.lang.Double getWidth()
public java.lang.Double getHeight()
public java.lang.Double getLocPinX()
public java.lang.Double getLocPinY()
public java.lang.Double getBeginX()
public java.lang.Double getBeginY()
public java.lang.Double getEndX()
public java.lang.Double getEndY()
public java.lang.Double getAngle()
public java.lang.Boolean getFlipX()
public java.lang.Boolean getFlipY()
public java.lang.Double getTxtPinX()
public java.lang.Double getTxtPinY()
public java.lang.Double getTxtLocPinX()
public java.lang.Double getTxtLocPinY()
public java.lang.Double getTxtAngle()
public java.lang.Double getTxtWidth()
public java.lang.Double getTxtHeight()
public java.lang.Integer getLineCap()
getLineCap
in class XDGFSheet
public java.awt.Color getLineColor()
getLineColor
in class XDGFSheet
public java.lang.Integer getLinePattern()
getLinePattern
in class XDGFSheet
public java.lang.Double getLineWeight()
getLineWeight
in class XDGFSheet
public java.awt.Color getFontColor()
getFontColor
in class XDGFSheet
public java.lang.Double getFontSize()
getFontSize
in class XDGFSheet
public java.awt.Stroke getStroke()
public java.lang.Iterable<GeometrySection> getGeometrySections()
public java.awt.geom.Rectangle2D.Double getBounds()
public java.awt.geom.Path2D.Double getBoundsAsPath()
public java.awt.geom.Path2D.Double getPath()
public boolean hasGeometry()
protected java.awt.geom.AffineTransform getParentTransform()
public void visitShapes(ShapeVisitor visitor, java.awt.geom.AffineTransform tr, int level)
public void visitShapes(ShapeVisitor visitor, int level)
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |