Class Lvl

java.lang.Object
org.docx4j.wml.Lvl
All Implemented Interfaces:
Child

public class Lvl extends Object implements Child

Java class for CT_Lvl complex type.

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

 <complexType name="CT_Lvl">
   <complexContent>
     <restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
       <sequence>
         <element name="start" minOccurs="0">
           <complexType>
             <complexContent>
               <restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
                 <attribute name="val" use="required">
                   <simpleType>
                     <restriction base="{http://www.w3.org/2001/XMLSchema}integer">
                     </restriction>
                   </simpleType>
                 </attribute>
               </restriction>
             </complexContent>
           </complexType>
         </element>
         <element name="numFmt" type="{http://schemas.openxmlformats.org/wordprocessingml/2006/main}CT_NumFmt" minOccurs="0"/>
         <element name="lvlRestart" minOccurs="0">
           <complexType>
             <complexContent>
               <restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
                 <attribute name="val" use="required">
                   <simpleType>
                     <restriction base="{http://www.w3.org/2001/XMLSchema}integer">
                     </restriction>
                   </simpleType>
                 </attribute>
               </restriction>
             </complexContent>
           </complexType>
         </element>
         <element name="pStyle" minOccurs="0">
           <complexType>
             <complexContent>
               <restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
                 <attribute name="val" type="{http://www.w3.org/2001/XMLSchema}string" />
               </restriction>
             </complexContent>
           </complexType>
         </element>
         <element name="isLgl" type="{http://schemas.openxmlformats.org/wordprocessingml/2006/main}BooleanDefaultTrue" minOccurs="0"/>
         <element name="suff" minOccurs="0">
           <complexType>
             <complexContent>
               <restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
                 <attribute name="val" use="required">
                   <simpleType>
                     <restriction base="{http://www.w3.org/2001/XMLSchema}string">
                       <enumeration value="tab"/>
                       <enumeration value="space"/>
                       <enumeration value="nothing"/>
                     </restriction>
                   </simpleType>
                 </attribute>
               </restriction>
             </complexContent>
           </complexType>
         </element>
         <element name="lvlText" minOccurs="0">
           <complexType>
             <complexContent>
               <restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
                 <attribute name="val" type="{http://schemas.openxmlformats.org/wordprocessingml/2006/main}ST_String" />
                 <attribute name="null" type="{http://www.w3.org/2001/XMLSchema}boolean" default="true" />
               </restriction>
             </complexContent>
           </complexType>
         </element>
         <element name="lvlPicBulletId" minOccurs="0">
           <complexType>
             <complexContent>
               <restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
                 <attribute name="val" use="required">
                   <simpleType>
                     <restriction base="{http://www.w3.org/2001/XMLSchema}integer">
                     </restriction>
                   </simpleType>
                 </attribute>
               </restriction>
             </complexContent>
           </complexType>
         </element>
         <element name="legacy" minOccurs="0">
           <complexType>
             <complexContent>
               <restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
                 <attribute name="legacy" type="{http://www.w3.org/2001/XMLSchema}boolean" default="true" />
                 <attribute name="legacySpace" type="{http://schemas.openxmlformats.org/wordprocessingml/2006/main}ST_TwipsMeasure" />
                 <attribute name="legacyIndent" type="{http://schemas.openxmlformats.org/wordprocessingml/2006/main}ST_SignedTwipsMeasure" />
               </restriction>
             </complexContent>
           </complexType>
         </element>
         <element name="lvlJc" type="{http://schemas.openxmlformats.org/wordprocessingml/2006/main}CT_Jc" minOccurs="0"/>
         <element name="pPr" type="{http://schemas.openxmlformats.org/wordprocessingml/2006/main}CT_PPr" minOccurs="0"/>
         <element name="rPr" type="{http://schemas.openxmlformats.org/wordprocessingml/2006/main}CT_RPr" minOccurs="0"/>
       </sequence>
       <attribute name="ilvl" use="required" type="{http://schemas.openxmlformats.org/wordprocessingml/2006/main}ST_DecimalNumber" />
       <attribute name="tplc" type="{http://schemas.openxmlformats.org/wordprocessingml/2006/main}ST_LongHexNumber" />
       <attribute name="tentative" type="{http://www.w3.org/2001/XMLSchema}boolean" default="true" />
     </restriction>
   </complexContent>
 </complexType>
 
  • Field Details

  • Constructor Details

    • Lvl

      public Lvl()
  • Method Details

    • getStart

      public Lvl.Start getStart()
      Gets the value of the start property.
      Returns:
      possible object is Lvl.Start
    • setStart

      public void setStart(Lvl.Start value)
      Sets the value of the start property.
      Parameters:
      value - allowed object is Lvl.Start
    • getNumFmt

      public NumFmt getNumFmt()
      Gets the value of the numFmt property.
      Returns:
      possible object is NumFmt
    • setNumFmt

      public void setNumFmt(NumFmt value)
      Sets the value of the numFmt property.
      Parameters:
      value - allowed object is NumFmt
    • getLvlRestart

      public Lvl.LvlRestart getLvlRestart()
      Gets the value of the lvlRestart property.
      Returns:
      possible object is Lvl.LvlRestart
    • setLvlRestart

      public void setLvlRestart(Lvl.LvlRestart value)
      Sets the value of the lvlRestart property.
      Parameters:
      value - allowed object is Lvl.LvlRestart
    • getPStyle

      public Lvl.PStyle getPStyle()
      Gets the value of the pStyle property.
      Returns:
      possible object is Lvl.PStyle
    • setPStyle

      public void setPStyle(Lvl.PStyle value)
      Sets the value of the pStyle property.
      Parameters:
      value - allowed object is Lvl.PStyle
    • getIsLgl

      public BooleanDefaultTrue getIsLgl()
      Gets the value of the isLgl property.
      Returns:
      possible object is BooleanDefaultTrue
    • setIsLgl

      public void setIsLgl(BooleanDefaultTrue value)
      Sets the value of the isLgl property.
      Parameters:
      value - allowed object is BooleanDefaultTrue
    • getSuff

      public Lvl.Suff getSuff()
      Gets the value of the suff property.
      Returns:
      possible object is Lvl.Suff
    • setSuff

      public void setSuff(Lvl.Suff value)
      Sets the value of the suff property.
      Parameters:
      value - allowed object is Lvl.Suff
    • getLvlText

      public Lvl.LvlText getLvlText()
      Gets the value of the lvlText property.
      Returns:
      possible object is Lvl.LvlText
    • setLvlText

      public void setLvlText(Lvl.LvlText value)
      Sets the value of the lvlText property.
      Parameters:
      value - allowed object is Lvl.LvlText
    • getLvlPicBulletId

      public Lvl.LvlPicBulletId getLvlPicBulletId()
      Gets the value of the lvlPicBulletId property.
      Returns:
      possible object is Lvl.LvlPicBulletId
    • setLvlPicBulletId

      public void setLvlPicBulletId(Lvl.LvlPicBulletId value)
      Sets the value of the lvlPicBulletId property.
      Parameters:
      value - allowed object is Lvl.LvlPicBulletId
    • getLegacy

      public Lvl.Legacy getLegacy()
      Gets the value of the legacy property.
      Returns:
      possible object is Lvl.Legacy
    • setLegacy

      public void setLegacy(Lvl.Legacy value)
      Sets the value of the legacy property.
      Parameters:
      value - allowed object is Lvl.Legacy
    • getLvlJc

      public Jc getLvlJc()
      Gets the value of the lvlJc property.
      Returns:
      possible object is Jc
    • setLvlJc

      public void setLvlJc(Jc value)
      Sets the value of the lvlJc property.
      Parameters:
      value - allowed object is Jc
    • getPPr

      public PPr getPPr()
      Gets the value of the pPr property.
      Returns:
      possible object is PPr
    • setPPr

      public void setPPr(PPr value)
      Sets the value of the pPr property.
      Parameters:
      value - allowed object is PPr
    • getRPr

      public RPr getRPr()
      Gets the value of the rPr property.
      Returns:
      possible object is RPr
    • setRPr

      public void setRPr(RPr value)
      Sets the value of the rPr property.
      Parameters:
      value - allowed object is RPr
    • getIlvl

      public BigInteger getIlvl()
      Gets the value of the ilvl property.
      Returns:
      possible object is BigInteger
    • setIlvl

      public void setIlvl(BigInteger value)
      Sets the value of the ilvl property.
      Parameters:
      value - allowed object is BigInteger
    • getTplc

      public String getTplc()
      Gets the value of the tplc property.
      Returns:
      possible object is String
    • setTplc

      public void setTplc(String value)
      Sets the value of the tplc property.
      Parameters:
      value - allowed object is String
    • isTentative

      public boolean isTentative()
      Gets the value of the tentative property.
      Returns:
      possible object is Boolean
    • setTentative

      public void setTentative(Boolean value)
      Sets the value of the tentative property.
      Parameters:
      value - allowed object is Boolean
    • 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.