Package org.apache.poi.xslf.usermodel
Class XSLFBackground
java.lang.Object
org.apache.poi.xslf.usermodel.XSLFShape
org.apache.poi.xslf.usermodel.XSLFSimpleShape
org.apache.poi.xslf.usermodel.XSLFBackground
- All Implemented Interfaces:
IAdjustableShape,Background<XSLFShape,,XSLFTextParagraph> PlaceableShape<XSLFShape,,XSLFTextParagraph> Shape<XSLFShape,,XSLFTextParagraph> SimpleShape<XSLFShape,XSLFTextParagraph>
public class XSLFBackground
extends XSLFSimpleShape
implements Background<XSLFShape,XSLFTextParagraph>
Background shape
-
Nested Class Summary
Nested classes/interfaces inherited from class org.apache.poi.xslf.usermodel.XSLFShape
XSLFShape.ReparseFactory<T extends XmlObject> -
Method Summary
Modifier and TypeMethodDescriptionprotected org.openxmlformats.schemas.presentationml.x2006.main.CTBackgroundPropertiesgetBgPr(boolean create) protected XmlObjectReturn the shape specific (visual) propertiesprotected org.openxmlformats.schemas.drawingml.x2006.main.CTTransform2DgetXfrm(boolean create) background does not have an associated transform, therefore we return nullvoidsetFillColor(Color color) voidsetPlaceholder(Placeholder placeholder) Methods inherited from class org.apache.poi.xslf.usermodel.XSLFSimpleShape
createHyperlink, getAdjustValue, getFillColor, getFillStyle, getFlipHorizontal, getFlipVertical, getGeometry, getHyperlink, getLineCap, getLineColor, getLineCompound, getLineDash, getLineDecoration, getLineHeadDecoration, getLineHeadLength, getLineHeadWidth, getLinePaint, getLineTailDecoration, getLineTailLength, getLineTailWidth, getLineWidth, getRotation, getShadow, getShapeType, getStrokeStyle, setAnchor, setFlipHorizontal, setFlipVertical, setLineCap, setLineColor, setLineCompound, setLineDash, setLineHeadDecoration, setLineHeadLength, setLineHeadWidth, setLineTailDecoration, setLineTailLength, setLineTailWidth, setLineWidth, setRotation, setShapeType, setStrokeStyleMethods inherited from class org.apache.poi.xslf.usermodel.XSLFShape
draw, fetchShapeProperty, getBgPr, getBgRef, getChild, getCNvPr, getFillPaint, getGrpSpPr, getParent, getPlaceholder, getPlaceholderDetails, getShapeId, getShapeName, getSheet, getSpStyle, getXmlObject, isPlaceholder, selectPaint, selectPaint, selectPaint, selectPaint, selectPaint, selectPaint, selectProperty, setParentMethods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface org.apache.poi.sl.usermodel.Background
getFillStyleMethods inherited from interface org.apache.poi.sl.usermodel.PlaceableShape
getParent, getSheetMethods inherited from interface org.apache.poi.sl.usermodel.Shape
draw, getParent, getShapeId, getShapeName, getSheetMethods inherited from interface org.apache.poi.sl.usermodel.SimpleShape
getPlaceholder, getPlaceholderDetails, isPlaceholder
-
Method Details
-
getAnchor
- Specified by:
getAnchorin interfacePlaceableShape<XSLFShape,XSLFTextParagraph> - Specified by:
getAnchorin interfaceShape<XSLFShape,XSLFTextParagraph> - Overrides:
getAnchorin classXSLFSimpleShape
-
getXfrm
protected org.openxmlformats.schemas.drawingml.x2006.main.CTTransform2D getXfrm(boolean create) background does not have an associated transform, therefore we return null- Overrides:
getXfrmin classXSLFSimpleShape- Parameters:
create- ignored- Returns:
- null
-
setPlaceholder
- Specified by:
setPlaceholderin interfaceSimpleShape<XSLFShape,XSLFTextParagraph> - Overrides:
setPlaceholderin classXSLFShape- See Also:
-
getBgPr
protected org.openxmlformats.schemas.presentationml.x2006.main.CTBackgroundProperties getBgPr(boolean create) -
setFillColor
- Specified by:
setFillColorin interfaceSimpleShape<XSLFShape,XSLFTextParagraph> - Overrides:
setFillColorin classXSLFSimpleShape
-
getShapeProperties
Description copied from class:XSLFShapeReturn the shape specific (visual) properties- Overrides:
getShapePropertiesin classXSLFShape- Returns:
- the shape specific properties
-