Class XSLFBackground

    • Method Detail

      • getXfrm

        protected org.openxmlformats.schemas.drawingml.x2006.main.CTTransform2D getXfrm​(boolean create)
        background does not have a associated transform, therefore we return null
        Overrides:
        getXfrm in class XSLFSimpleShape
        Parameters:
        create - ignored
        Returns:
        null
      • getBgPr

        protected org.openxmlformats.schemas.presentationml.x2006.main.CTBackgroundProperties getBgPr​(boolean create)
      • setFillColor

        public void setFillColor​(java.awt.Color color)
        Description copied from interface: SimpleShape
        Specifies a solid color fill. The shape is filled entirely with the specified color.
        Specified by:
        setFillColor in interface SimpleShape<XSLFShape,​XSLFTextParagraph>
        Overrides:
        setFillColor in class XSLFSimpleShape
        Parameters:
        color - the solid color fill. The value of null unsets the solid fill attribute from the underlying implementation
      • getShapeProperties

        protected org.apache.xmlbeans.XmlObject getShapeProperties()
        Description copied from class: XSLFShape
        Return the shape specific (visual) properties
        Overrides:
        getShapeProperties in class XSLFShape
        Returns:
        the shape specific properties