Package org.docx4j.wml
Class Styles
java.lang.Object
org.docx4j.wml.Styles
- All Implemented Interfaces:
Child
Java class for anonymous complex type.
The following schema fragment specifies the expected content contained within this class.
<complexType>
<complexContent>
<restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
<sequence>
<element ref="{http://schemas.openxmlformats.org/wordprocessingml/2006/main}docDefaults" minOccurs="0"/>
<element name="latentStyles" minOccurs="0">
<complexType>
<complexContent>
<restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
<sequence>
<element name="lsdException" maxOccurs="unbounded" minOccurs="0">
<complexType>
<complexContent>
<restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
<attribute name="name" use="required" type="{http://schemas.openxmlformats.org/wordprocessingml/2006/main}ST_String" />
<attribute name="locked" type="{http://www.w3.org/2001/XMLSchema}boolean" default="true" />
<attribute name="uiPriority" type="{http://schemas.openxmlformats.org/wordprocessingml/2006/main}ST_DecimalNumber" />
<attribute name="semiHidden" type="{http://www.w3.org/2001/XMLSchema}boolean" default="true" />
<attribute name="unhideWhenUsed" type="{http://www.w3.org/2001/XMLSchema}boolean" default="true" />
<attribute name="qFormat" type="{http://www.w3.org/2001/XMLSchema}boolean" />
</restriction>
</complexContent>
</complexType>
</element>
</sequence>
<attribute name="defLockedState" type="{http://www.w3.org/2001/XMLSchema}boolean" default="true" />
<attribute name="defUIPriority" type="{http://schemas.openxmlformats.org/wordprocessingml/2006/main}ST_DecimalNumber" />
<attribute name="defSemiHidden" type="{http://www.w3.org/2001/XMLSchema}boolean" default="true" />
<attribute name="defUnhideWhenUsed" type="{http://www.w3.org/2001/XMLSchema}boolean" default="true" />
<attribute name="defQFormat" type="{http://www.w3.org/2001/XMLSchema}boolean" default="false" />
<attribute name="count" type="{http://schemas.openxmlformats.org/wordprocessingml/2006/main}ST_DecimalNumber" />
</restriction>
</complexContent>
</complexType>
</element>
<element ref="{http://schemas.openxmlformats.org/wordprocessingml/2006/main}style" maxOccurs="unbounded" minOccurs="0"/>
</sequence>
</restriction>
</complexContent>
</complexType>
-
Nested Class Summary
Nested ClassesModifier and TypeClassDescriptionstatic classJava class for anonymous complex type. -
Field Summary
FieldsModifier and TypeFieldDescriptionprotected DocDefaultsprotected Stringprotected Styles.LatentStyles -
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.Gets the value of the docDefaults property.Gets the value of the ignorable property.Gets the value of the latentStyles property.Gets the parent object in the object tree representing the unmarshalled xml document.getStyle()Gets the value of the style property.voidsetDocDefaults(DocDefaults value) Sets the value of the docDefaults property.voidsetIgnorable(String value) Sets the value of the ignorable property.voidSets the value of the latentStyles property.void
-
Field Details
-
ignorable
-
docDefaults
-
latentStyles
-
style
-
-
Constructor Details
-
Styles
public Styles()
-
-
Method Details
-
getDocDefaults
Gets the value of the docDefaults property.- Returns:
- possible object is
DocDefaults
-
setDocDefaults
Sets the value of the docDefaults property.- Parameters:
value- allowed object isDocDefaults
-
getLatentStyles
Gets the value of the latentStyles property.- Returns:
- possible object is
Styles.LatentStyles
-
setLatentStyles
Sets the value of the latentStyles property.- Parameters:
value- allowed object isStyles.LatentStyles
-
getStyle
Gets the value of the style 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
setmethod for the style property.For example, to add a new item, do as follows:
getStyle().add(newItem);Objects of the following type(s) are allowed in the list
Style -
getIgnorable
Gets the value of the ignorable property.- Returns:
- possible object is
String
-
setIgnorable
Sets the value of the ignorable property.- Parameters:
value- allowed object isString
-
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.
-