|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.apache.poi.xslf.usermodel.XSLFShape
org.apache.poi.xslf.usermodel.XSLFSimpleShape
org.apache.poi.xslf.usermodel.XSLFBackground
public class XSLFBackground
Background shape
Field Summary |
---|
Fields inherited from class org.apache.poi.xslf.usermodel.XSLFShape |
---|
PML_NS |
Method Summary | |
---|---|
java.awt.geom.Rectangle2D |
getAnchor()
Returns the anchor (the bounding box rectangle) of this shape. |
protected org.openxmlformats.schemas.presentationml.x2006.main.CTBackgroundProperties |
getBgPr(boolean create)
|
protected org.apache.xmlbeans.XmlObject |
getShapeProperties()
Return the shape specific (visual) properties |
protected org.openxmlformats.schemas.drawingml.x2006.main.CTTransform2D |
getXfrm(boolean create)
background does not have a associated transform, therefore we return null |
void |
setFillColor(java.awt.Color color)
Specifies a solid color fill. |
void |
setPlaceholder(Placeholder placeholder)
Specifies that the corresponding shape should be represented by the generating application as a placeholder. |
Methods inherited from class org.apache.poi.xslf.usermodel.XSLFShape |
---|
draw, fetchShapeProperty, getBgPr, getBgRef, getChild, getCNvPr, getCTPlaceholder, getFillPaint, getGrpSpPr, getParent, getPlaceholder, getShapeId, getShapeName, getSheet, getSpStyle, getXmlObject, selectPaint, selectPaint, selectPaint, selectPaint, selectPaint, selectProperty, setParent |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Methods inherited from interface org.apache.poi.sl.usermodel.Background |
---|
getFillStyle |
Methods inherited from interface org.apache.poi.sl.usermodel.Shape |
---|
draw, getParent, getSheet |
Methods inherited from interface org.apache.poi.sl.usermodel.SimpleShape |
---|
getPlaceholder |
Methods inherited from interface org.apache.poi.sl.usermodel.PlaceableShape |
---|
getParent, getSheet |
Method Detail |
---|
public java.awt.geom.Rectangle2D getAnchor()
Shape
getAnchor
in interface PlaceableShape<XSLFShape,XSLFTextParagraph>
getAnchor
in interface Shape<XSLFShape,XSLFTextParagraph>
getAnchor
in class XSLFSimpleShape
protected org.openxmlformats.schemas.drawingml.x2006.main.CTTransform2D getXfrm(boolean create)
getXfrm
in class XSLFSimpleShape
create
- ignored
public void setPlaceholder(Placeholder placeholder)
XSLFShape
setPlaceholder
in interface SimpleShape<XSLFShape,XSLFTextParagraph>
setPlaceholder
in class XSLFSimpleShape
placeholder
- The shape to use as placeholder or null if no placeholder should be set.protected org.openxmlformats.schemas.presentationml.x2006.main.CTBackgroundProperties getBgPr(boolean create)
public void setFillColor(java.awt.Color color)
SimpleShape
setFillColor
in interface SimpleShape<XSLFShape,XSLFTextParagraph>
setFillColor
in class XSLFSimpleShape
color
- the solid color fill. The value of null
unsets
the solid fill attribute from the underlying implementationprotected org.apache.xmlbeans.XmlObject getShapeProperties()
XSLFShape
getShapeProperties
in class XSLFShape
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |