Package org.docx4j.wml
Class Lvl
java.lang.Object
org.docx4j.wml.Lvl
- All Implemented Interfaces:
Child
public class Lvl extends java.lang.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>
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static classLvl.LegacyJava class for anonymous complex type.static classLvl.LvlPicBulletIdJava class for anonymous complex type.static classLvl.LvlRestartJava class for anonymous complex type.static classLvl.LvlTextJava class for anonymous complex type.static classLvl.PStyleJava class for anonymous complex type.static classLvl.StartJava class for anonymous complex type.static classLvl.SuffJava class for anonymous complex type. -
Field Summary
Fields Modifier and Type Field Description protected java.math.BigIntegerilvlprotected BooleanDefaultTrueisLglprotected Lvl.Legacylegacyprotected JclvlJcprotected Lvl.LvlPicBulletIdlvlPicBulletIdprotected Lvl.LvlRestartlvlRestartprotected Lvl.LvlTextlvlTextprotected NumFmtnumFmtprotected PPrpPrprotected Lvl.PStylepStyleprotected RPrrPrprotected Lvl.Startstartprotected Lvl.Suffsuffprotected java.lang.Booleantentativeprotected java.lang.Stringtplc -
Constructor Summary
Constructors Constructor Description Lvl() -
Method Summary
Modifier and Type Method Description voidafterUnmarshal(jakarta.xml.bind.Unmarshaller unmarshaller, java.lang.Object parent)This method is invoked by the JAXB implementation on each instance when unmarshalling completes.java.math.BigIntegergetIlvl()Gets the value of the ilvl property.BooleanDefaultTruegetIsLgl()Gets the value of the isLgl property.Lvl.LegacygetLegacy()Gets the value of the legacy property.JcgetLvlJc()Gets the value of the lvlJc property.Lvl.LvlPicBulletIdgetLvlPicBulletId()Gets the value of the lvlPicBulletId property.Lvl.LvlRestartgetLvlRestart()Gets the value of the lvlRestart property.Lvl.LvlTextgetLvlText()Gets the value of the lvlText property.NumFmtgetNumFmt()Gets the value of the numFmt property.java.lang.ObjectgetParent()Gets the parent object in the object tree representing the unmarshalled xml document.PPrgetPPr()Gets the value of the pPr property.Lvl.PStylegetPStyle()Gets the value of the pStyle property.RPrgetRPr()Gets the value of the rPr property.Lvl.StartgetStart()Gets the value of the start property.Lvl.SuffgetSuff()Gets the value of the suff property.java.lang.StringgetTplc()Gets the value of the tplc property.booleanisTentative()Gets the value of the tentative property.voidsetIlvl(java.math.BigInteger value)Sets the value of the ilvl property.voidsetIsLgl(BooleanDefaultTrue value)Sets the value of the isLgl property.voidsetLegacy(Lvl.Legacy value)Sets the value of the legacy property.voidsetLvlJc(Jc value)Sets the value of the lvlJc property.voidsetLvlPicBulletId(Lvl.LvlPicBulletId value)Sets the value of the lvlPicBulletId property.voidsetLvlRestart(Lvl.LvlRestart value)Sets the value of the lvlRestart property.voidsetLvlText(Lvl.LvlText value)Sets the value of the lvlText property.voidsetNumFmt(NumFmt value)Sets the value of the numFmt property.voidsetParent(java.lang.Object parent)voidsetPPr(PPr value)Sets the value of the pPr property.voidsetPStyle(Lvl.PStyle value)Sets the value of the pStyle property.voidsetRPr(RPr value)Sets the value of the rPr property.voidsetStart(Lvl.Start value)Sets the value of the start property.voidsetSuff(Lvl.Suff value)Sets the value of the suff property.voidsetTentative(java.lang.Boolean value)Sets the value of the tentative property.voidsetTplc(java.lang.String value)Sets the value of the tplc property.Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
-
Field Details
-
start
-
numFmt
-
lvlRestart
-
pStyle
-
isLgl
-
suff
-
lvlText
-
lvlPicBulletId
-
legacy
-
lvlJc
-
pPr
-
rPr
-
ilvl
protected java.math.BigInteger ilvl -
tplc
protected java.lang.String tplc -
tentative
protected java.lang.Boolean tentative
-
-
Constructor Details
-
Lvl
public Lvl()
-
-
Method Details
-
getStart
Gets the value of the start property.- Returns:
- possible object is
Lvl.Start
-
setStart
Sets the value of the start property.- Parameters:
value- allowed object isLvl.Start
-
getNumFmt
Gets the value of the numFmt property.- Returns:
- possible object is
NumFmt
-
setNumFmt
Sets the value of the numFmt property.- Parameters:
value- allowed object isNumFmt
-
getLvlRestart
Gets the value of the lvlRestart property.- Returns:
- possible object is
Lvl.LvlRestart
-
setLvlRestart
Sets the value of the lvlRestart property.- Parameters:
value- allowed object isLvl.LvlRestart
-
getPStyle
Gets the value of the pStyle property.- Returns:
- possible object is
Lvl.PStyle
-
setPStyle
Sets the value of the pStyle property.- Parameters:
value- allowed object isLvl.PStyle
-
getIsLgl
Gets the value of the isLgl property.- Returns:
- possible object is
BooleanDefaultTrue
-
setIsLgl
Sets the value of the isLgl property.- Parameters:
value- allowed object isBooleanDefaultTrue
-
getSuff
Gets the value of the suff property.- Returns:
- possible object is
Lvl.Suff
-
setSuff
Sets the value of the suff property.- Parameters:
value- allowed object isLvl.Suff
-
getLvlText
Gets the value of the lvlText property.- Returns:
- possible object is
Lvl.LvlText
-
setLvlText
Sets the value of the lvlText property.- Parameters:
value- allowed object isLvl.LvlText
-
getLvlPicBulletId
Gets the value of the lvlPicBulletId property.- Returns:
- possible object is
Lvl.LvlPicBulletId
-
setLvlPicBulletId
Sets the value of the lvlPicBulletId property.- Parameters:
value- allowed object isLvl.LvlPicBulletId
-
getLegacy
Gets the value of the legacy property.- Returns:
- possible object is
Lvl.Legacy
-
setLegacy
Sets the value of the legacy property.- Parameters:
value- allowed object isLvl.Legacy
-
getLvlJc
Gets the value of the lvlJc property.- Returns:
- possible object is
Jc
-
setLvlJc
Sets the value of the lvlJc property.- Parameters:
value- allowed object isJc
-
getPPr
Gets the value of the pPr property.- Returns:
- possible object is
PPr
-
setPPr
Sets the value of the pPr property.- Parameters:
value- allowed object isPPr
-
getRPr
Gets the value of the rPr property.- Returns:
- possible object is
RPr
-
setRPr
Sets the value of the rPr property.- Parameters:
value- allowed object isRPr
-
getIlvl
public java.math.BigInteger getIlvl()Gets the value of the ilvl property.- Returns:
- possible object is
BigInteger
-
setIlvl
public void setIlvl(java.math.BigInteger value)Sets the value of the ilvl property.- Parameters:
value- allowed object isBigInteger
-
getTplc
public java.lang.String getTplc()Gets the value of the tplc property.- Returns:
- possible object is
String
-
setTplc
public void setTplc(java.lang.String value)Sets the value of the tplc property.- Parameters:
value- allowed object isString
-
isTentative
public boolean isTentative()Gets the value of the tentative property.- Returns:
- possible object is
Boolean
-
setTentative
public void setTentative(java.lang.Boolean value)Sets the value of the tentative property.- Parameters:
value- allowed object isBoolean
-
getParent
public java.lang.Object getParent()Gets the parent object in the object tree representing the unmarshalled xml document. -
setParent
public void setParent(java.lang.Object parent) -
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.
-