Class BaseStyles

java.lang.Object
org.docx4j.dml.BaseStyles
All Implemented Interfaces:
Child

public class BaseStyles
extends java.lang.Object
implements Child

Java class for CT_BaseStyles complex type.

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

 <complexType name="CT_BaseStyles">
   <complexContent>
     <restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
       <sequence>
         <element name="clrScheme" type="{http://schemas.openxmlformats.org/drawingml/2006/main}CT_ColorScheme"/>
         <element name="fontScheme">
           <complexType>
             <complexContent>
               <restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
                 <sequence>
                   <element name="majorFont" type="{http://schemas.openxmlformats.org/drawingml/2006/main}CT_FontCollection"/>
                   <element name="minorFont" type="{http://schemas.openxmlformats.org/drawingml/2006/main}CT_FontCollection"/>
                   <element name="extLst" type="{http://schemas.openxmlformats.org/drawingml/2006/main}CT_OfficeArtExtensionList" minOccurs="0"/>
                 </sequence>
                 <attribute name="name" use="required" type="{http://www.w3.org/2001/XMLSchema}string" />
               </restriction>
             </complexContent>
           </complexType>
         </element>
         <element name="fmtScheme" type="{http://schemas.openxmlformats.org/drawingml/2006/main}CT_StyleMatrix"/>
         <element name="extLst" type="{http://schemas.openxmlformats.org/drawingml/2006/main}CT_OfficeArtExtensionList" minOccurs="0"/>
       </sequence>
     </restriction>
   </complexContent>
 </complexType>
 
  • Field Details

  • Constructor Details

    • BaseStyles

      public BaseStyles()
  • Method Details

    • getClrScheme

      public CTColorScheme getClrScheme()
      Gets the value of the clrScheme property.
      Returns:
      possible object is CTColorScheme
    • setClrScheme

      public void setClrScheme​(CTColorScheme value)
      Sets the value of the clrScheme property.
      Parameters:
      value - allowed object is CTColorScheme
    • getFontScheme

      public BaseStyles.FontScheme getFontScheme()
      Gets the value of the fontScheme property.
      Returns:
      possible object is BaseStyles.FontScheme
    • setFontScheme

      public void setFontScheme​(BaseStyles.FontScheme value)
      Sets the value of the fontScheme property.
      Parameters:
      value - allowed object is BaseStyles.FontScheme
    • getFmtScheme

      public CTStyleMatrix getFmtScheme()
      Gets the value of the fmtScheme property.
      Returns:
      possible object is CTStyleMatrix
    • setFmtScheme

      public void setFmtScheme​(CTStyleMatrix value)
      Sets the value of the fmtScheme property.
      Parameters:
      value - allowed object is CTStyleMatrix
    • 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
    • getParent

      public java.lang.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​(java.lang.Object parent)
      Specified by:
      setParent in interface Child
    • afterUnmarshal

      public void afterUnmarshal​(jakarta.xml.bind.Unmarshaller unmarshaller, java.lang.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.