Package org.docx4j.wml
Class Lvl
java.lang.Object
org.docx4j.wml.Lvl
- All Implemented Interfaces:
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 ClassesModifier and TypeClassDescriptionstatic classJava class for anonymous complex type.static classJava class for anonymous complex type.static classJava class for anonymous complex type.static classJava class for anonymous complex type.static classJava class for anonymous complex type.static classJava class for anonymous complex type.static classJava class for anonymous complex type. -
Field Summary
FieldsModifier and TypeFieldDescriptionprotected BigIntegerprotected BooleanDefaultTrueprotected Lvl.Legacyprotected Jcprotected Lvl.LvlPicBulletIdprotected Lvl.LvlRestartprotected Lvl.LvlTextprotected NumFmtprotected PPrprotected Lvl.PStyleprotected RPrprotected Lvl.Startprotected Lvl.Suffprotected Booleanprotected String -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoidafterUnmarshal(jakarta.xml.bind.Unmarshaller unmarshaller, Object parent) This method is invoked by the JAXB implementation on each instance when unmarshalling completes.getIlvl()Gets the value of the ilvl property.getIsLgl()Gets the value of the isLgl property.Gets the value of the legacy property.getLvlJc()Gets the value of the lvlJc property.Gets the value of the lvlPicBulletId property.Gets the value of the lvlRestart property.Gets the value of the lvlText property.Gets the value of the numFmt property.Gets the parent object in the object tree representing the unmarshalled xml document.getPPr()Gets the value of the pPr property.Gets the value of the pStyle property.getRPr()Gets the value of the rPr property.getStart()Gets the value of the start property.getSuff()Gets the value of the suff property.getTplc()Gets the value of the tplc property.booleanGets the value of the tentative property.voidsetIlvl(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.voidSets the value of the lvlJc property.voidSets 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.voidSets the value of the numFmt property.voidvoidSets the value of the pPr property.voidsetPStyle(Lvl.PStyle value) Sets the value of the pStyle property.voidSets the value of the rPr property.voidSets the value of the start property.voidSets the value of the suff property.voidsetTentative(Boolean value) Sets the value of the tentative property.voidSets the value of the tplc property.
-
Field Details
-
start
-
numFmt
-
lvlRestart
-
pStyle
-
isLgl
-
suff
-
lvlText
-
lvlPicBulletId
-
legacy
-
lvlJc
-
pPr
-
rPr
-
ilvl
-
tplc
-
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
Gets the value of the ilvl property.- Returns:
- possible object is
BigInteger
-
setIlvl
Sets the value of the ilvl property.- Parameters:
value- allowed object isBigInteger
-
getTplc
Gets the value of the tplc property.- Returns:
- possible object is
String
-
setTplc
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
Sets the value of the tentative property.- Parameters:
value- allowed object isBoolean
-
getParent
Gets the parent object in the object tree representing the unmarshalled xml document. -
setParent
-
afterUnmarshal
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.
-