Package org.docx4j.dml
Class CTTextNormalAutofit
java.lang.Object
org.docx4j.dml.CTTextNormalAutofit
- All Implemented Interfaces:
Child
Java class for CT_TextNormalAutofit complex type.
The following schema fragment specifies the expected content contained within this class.
<complexType name="CT_TextNormalAutofit">
<complexContent>
<restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
<attribute name="fontScale" type="{http://schemas.openxmlformats.org/drawingml/2006/main}ST_TextFontScalePercent" default="100000" />
<attribute name="lnSpcReduction" type="{http://schemas.openxmlformats.org/drawingml/2006/main}ST_TextSpacingPercent" default="0" />
</restriction>
</complexContent>
</complexType>
-
Field Summary
Fields -
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.intGets the value of the fontScale property.intGets the value of the lnSpcReduction property.Gets the parent object in the object tree representing the unmarshalled xml document.voidsetFontScale(Integer value) Sets the value of the fontScale property.voidsetLnSpcReduction(Integer value) Sets the value of the lnSpcReduction property.void
-
Field Details
-
fontScale
-
lnSpcReduction
-
-
Constructor Details
-
CTTextNormalAutofit
public CTTextNormalAutofit()
-
-
Method Details
-
getFontScale
public int getFontScale()Gets the value of the fontScale property.- Returns:
- possible object is
Integer
-
setFontScale
Sets the value of the fontScale property.- Parameters:
value- allowed object isInteger
-
getLnSpcReduction
public int getLnSpcReduction()Gets the value of the lnSpcReduction property.- Returns:
- possible object is
Integer
-
setLnSpcReduction
Sets the value of the lnSpcReduction property.- Parameters:
value- allowed object isInteger
-
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.
-