java.lang.Object
org.docx4j.com.microsoft.schemas.office.drawing.x2012.chartStyle.CTStyleEntry
All Implemented Interfaces:
Child

public class CTStyleEntry extends Object implements Child

Java class for CT_StyleEntry complex type.

The following schema fragment specifies the expected content contained within this class.

 <complexType name="CT_StyleEntry">
   <complexContent>
     <restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
       <sequence>
         <element name="lnRef" type="{http://schemas.microsoft.com/office/drawing/2012/chartStyle}CT_StyleReference"/>
         <element name="lineWidthScale" type="{http://www.w3.org/2001/XMLSchema}double" minOccurs="0"/>
         <element name="fillRef" type="{http://schemas.microsoft.com/office/drawing/2012/chartStyle}CT_StyleReference"/>
         <element name="effectRef" type="{http://schemas.microsoft.com/office/drawing/2012/chartStyle}CT_StyleReference"/>
         <element name="fontRef" type="{http://schemas.microsoft.com/office/drawing/2012/chartStyle}CT_FontReference"/>
         <element name="spPr" type="{http://schemas.openxmlformats.org/drawingml/2006/main}CT_ShapeProperties" minOccurs="0"/>
         <element name="defRPr" type="{http://schemas.openxmlformats.org/drawingml/2006/main}CT_TextCharacterProperties" minOccurs="0"/>
         <element name="bodyPr" type="{http://schemas.openxmlformats.org/drawingml/2006/main}CT_TextBodyProperties" minOccurs="0"/>
         <element name="extLst" type="{http://schemas.openxmlformats.org/drawingml/2006/main}CT_OfficeArtExtensionList" minOccurs="0"/>
       </sequence>
       <attribute name="mods" type="{http://schemas.microsoft.com/office/drawing/2012/chartStyle}ST_StyleEntryModifierList" />
     </restriction>
   </complexContent>
 </complexType>
 
  • Field Details

  • Constructor Details

    • CTStyleEntry

      public CTStyleEntry()
  • Method Details

    • getLnRef

      public CTStyleReference getLnRef()
      Gets the value of the lnRef property.
      Returns:
      possible object is CTStyleReference
    • setLnRef

      public void setLnRef(CTStyleReference value)
      Sets the value of the lnRef property.
      Parameters:
      value - allowed object is CTStyleReference
    • getLineWidthScale

      public Double getLineWidthScale()
      Gets the value of the lineWidthScale property.
      Returns:
      possible object is Double
    • setLineWidthScale

      public void setLineWidthScale(Double value)
      Sets the value of the lineWidthScale property.
      Parameters:
      value - allowed object is Double
    • getFillRef

      public CTStyleReference getFillRef()
      Gets the value of the fillRef property.
      Returns:
      possible object is CTStyleReference
    • setFillRef

      public void setFillRef(CTStyleReference value)
      Sets the value of the fillRef property.
      Parameters:
      value - allowed object is CTStyleReference
    • getEffectRef

      public CTStyleReference getEffectRef()
      Gets the value of the effectRef property.
      Returns:
      possible object is CTStyleReference
    • setEffectRef

      public void setEffectRef(CTStyleReference value)
      Sets the value of the effectRef property.
      Parameters:
      value - allowed object is CTStyleReference
    • getFontRef

      public CTFontReference getFontRef()
      Gets the value of the fontRef property.
      Returns:
      possible object is CTFontReference
    • setFontRef

      public void setFontRef(CTFontReference value)
      Sets the value of the fontRef property.
      Parameters:
      value - allowed object is CTFontReference
    • getSpPr

      public CTShapeProperties getSpPr()
      Gets the value of the spPr property.
      Returns:
      possible object is CTShapeProperties
    • setSpPr

      public void setSpPr(CTShapeProperties value)
      Sets the value of the spPr property.
      Parameters:
      value - allowed object is CTShapeProperties
    • getDefRPr

      public CTTextCharacterProperties getDefRPr()
      Gets the value of the defRPr property.
      Returns:
      possible object is CTTextCharacterProperties
    • setDefRPr

      public void setDefRPr(CTTextCharacterProperties value)
      Sets the value of the defRPr property.
      Parameters:
      value - allowed object is CTTextCharacterProperties
    • getBodyPr

      public CTTextBodyProperties getBodyPr()
      Gets the value of the bodyPr property.
      Returns:
      possible object is CTTextBodyProperties
    • setBodyPr

      public void setBodyPr(CTTextBodyProperties value)
      Sets the value of the bodyPr property.
      Parameters:
      value - allowed object is CTTextBodyProperties
    • getExtLst

      public CTOfficeArtExtensionList getExtLst()
      Gets the value of the extLst property.
      Returns:
      possible object is CTOfficeArtExtensionList
    • setExtLst

      public void setExtLst(CTOfficeArtExtensionList value)
      Sets the value of the extLst property.
      Parameters:
      value - allowed object is CTOfficeArtExtensionList
    • getMods

      public List<String> getMods()
      Gets the value of the mods property.

      This accessor method returns a reference to the live list, not a snapshot. Therefore any modification you make to the returned list will be present inside the JAXB object. This is why there is not a set method for the mods property.

      For example, to add a new item, do as follows:

          getMods().add(newItem);
       

      Objects of the following type(s) are allowed in the list String

    • getParent

      public Object getParent()
      Gets the parent object in the object tree representing the unmarshalled xml document.
      Specified by:
      getParent in interface Child
      Returns:
      The parent object.
    • setParent

      public void setParent(Object parent)
      Specified by:
      setParent in interface Child
    • afterUnmarshal

      public void afterUnmarshal(jakarta.xml.bind.Unmarshaller unmarshaller, Object parent)
      This method is invoked by the JAXB implementation on each instance when unmarshalling completes.
      Parameters:
      parent - The parent object in the object tree.
      unmarshaller - The unmarshaller that generated the instance.