Package org.docx4j.dml
Class CTTextBodyProperties
java.lang.Object
org.docx4j.dml.CTTextBodyProperties
- All Implemented Interfaces:
Child
public class CTTextBodyProperties extends java.lang.Object implements Child
Java class for CT_TextBodyProperties complex type.
The following schema fragment specifies the expected content contained within this class.
<complexType name="CT_TextBodyProperties">
<complexContent>
<restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
<sequence>
<element name="prstTxWarp" type="{http://schemas.openxmlformats.org/drawingml/2006/main}CT_PresetTextShape" minOccurs="0"/>
<group ref="{http://schemas.openxmlformats.org/drawingml/2006/main}EG_TextAutofit" minOccurs="0"/>
<element name="scene3d" type="{http://schemas.openxmlformats.org/drawingml/2006/main}CT_Scene3D" minOccurs="0"/>
<group ref="{http://schemas.openxmlformats.org/drawingml/2006/main}EG_Text3D" minOccurs="0"/>
<element name="extLst" type="{http://schemas.openxmlformats.org/drawingml/2006/main}CT_OfficeArtExtensionList" minOccurs="0"/>
</sequence>
<attribute name="rot" type="{http://schemas.openxmlformats.org/drawingml/2006/main}ST_Angle" />
<attribute name="spcFirstLastPara" type="{http://www.w3.org/2001/XMLSchema}boolean" />
<attribute name="vertOverflow" type="{http://schemas.openxmlformats.org/drawingml/2006/main}ST_TextVertOverflowType" />
<attribute name="horzOverflow" type="{http://schemas.openxmlformats.org/drawingml/2006/main}ST_TextHorzOverflowType" />
<attribute name="vert" type="{http://schemas.openxmlformats.org/drawingml/2006/main}ST_TextVerticalType" />
<attribute name="wrap" type="{http://schemas.openxmlformats.org/drawingml/2006/main}ST_TextWrappingType" />
<attribute name="lIns" type="{http://schemas.openxmlformats.org/drawingml/2006/main}ST_Coordinate32" />
<attribute name="tIns" type="{http://schemas.openxmlformats.org/drawingml/2006/main}ST_Coordinate32" />
<attribute name="rIns" type="{http://schemas.openxmlformats.org/drawingml/2006/main}ST_Coordinate32" />
<attribute name="bIns" type="{http://schemas.openxmlformats.org/drawingml/2006/main}ST_Coordinate32" />
<attribute name="numCol" type="{http://schemas.openxmlformats.org/drawingml/2006/main}ST_TextColumnCount" />
<attribute name="spcCol" type="{http://schemas.openxmlformats.org/drawingml/2006/main}ST_PositiveCoordinate32" />
<attribute name="rtlCol" type="{http://www.w3.org/2001/XMLSchema}boolean" />
<attribute name="fromWordArt" type="{http://www.w3.org/2001/XMLSchema}boolean" />
<attribute name="anchor" type="{http://schemas.openxmlformats.org/drawingml/2006/main}ST_TextAnchoringType" />
<attribute name="anchorCtr" type="{http://www.w3.org/2001/XMLSchema}boolean" />
<attribute name="forceAA" type="{http://www.w3.org/2001/XMLSchema}boolean" />
<attribute name="upright" type="{http://www.w3.org/2001/XMLSchema}boolean" default="false" />
<attribute name="compatLnSpc" type="{http://www.w3.org/2001/XMLSchema}boolean" />
</restriction>
</complexContent>
</complexType>
-
Field Summary
Fields Modifier and Type Field Description protected STTextAnchoringTypeanchorprotected java.lang.BooleananchorCtrprotected java.lang.IntegerbInsprotected java.lang.BooleancompatLnSpcprotected CTOfficeArtExtensionListextLstprotected CTFlatTextflatTxprotected java.lang.BooleanforceAAprotected java.lang.BooleanfromWordArtprotected STTextHorzOverflowTypehorzOverflowprotected java.lang.IntegerlInsprotected CTTextNoAutofitnoAutofitprotected CTTextNormalAutofitnormAutofitprotected java.lang.IntegernumColprotected CTPresetTextShapeprstTxWarpprotected java.lang.IntegerrInsprotected java.lang.Integerrotprotected java.lang.BooleanrtlColprotected CTScene3Dscene3Dprotected CTShape3Dsp3Dprotected CTTextShapeAutofitspAutoFitprotected java.lang.IntegerspcColprotected java.lang.BooleanspcFirstLastParaprotected java.lang.IntegertInsprotected java.lang.Booleanuprightprotected STTextVerticalTypevertprotected STTextVertOverflowTypevertOverflowprotected STTextWrappingTypewrap -
Constructor Summary
Constructors Constructor Description CTTextBodyProperties() -
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.STTextAnchoringTypegetAnchor()Gets the value of the anchor property.java.lang.IntegergetBIns()Gets the value of the bIns property.CTOfficeArtExtensionListgetExtLst()Gets the value of the extLst property.CTFlatTextgetFlatTx()Gets the value of the flatTx property.STTextHorzOverflowTypegetHorzOverflow()Gets the value of the horzOverflow property.java.lang.IntegergetLIns()Gets the value of the lIns property.CTTextNoAutofitgetNoAutofit()Gets the value of the noAutofit property.CTTextNormalAutofitgetNormAutofit()Gets the value of the normAutofit property.java.lang.IntegergetNumCol()Gets the value of the numCol property.java.lang.ObjectgetParent()Gets the parent object in the object tree representing the unmarshalled xml document.CTPresetTextShapegetPrstTxWarp()Gets the value of the prstTxWarp property.java.lang.IntegergetRIns()Gets the value of the rIns property.java.lang.IntegergetRot()Gets the value of the rot property.CTScene3DgetScene3D()Gets the value of the scene3D property.CTShape3DgetSp3D()Gets the value of the sp3D property.CTTextShapeAutofitgetSpAutoFit()Gets the value of the spAutoFit property.java.lang.IntegergetSpcCol()Gets the value of the spcCol property.java.lang.IntegergetTIns()Gets the value of the tIns property.STTextVerticalTypegetVert()Gets the value of the vert property.STTextVertOverflowTypegetVertOverflow()Gets the value of the vertOverflow property.STTextWrappingTypegetWrap()Gets the value of the wrap property.java.lang.BooleanisAnchorCtr()Gets the value of the anchorCtr property.java.lang.BooleanisCompatLnSpc()Gets the value of the compatLnSpc property.java.lang.BooleanisForceAA()Gets the value of the forceAA property.java.lang.BooleanisFromWordArt()Gets the value of the fromWordArt property.java.lang.BooleanisRtlCol()Gets the value of the rtlCol property.java.lang.BooleanisSpcFirstLastPara()Gets the value of the spcFirstLastPara property.booleanisUpright()Gets the value of the upright property.voidsetAnchor(STTextAnchoringType value)Sets the value of the anchor property.voidsetAnchorCtr(java.lang.Boolean value)Sets the value of the anchorCtr property.voidsetBIns(java.lang.Integer value)Sets the value of the bIns property.voidsetCompatLnSpc(java.lang.Boolean value)Sets the value of the compatLnSpc property.voidsetExtLst(CTOfficeArtExtensionList value)Sets the value of the extLst property.voidsetFlatTx(CTFlatText value)Sets the value of the flatTx property.voidsetForceAA(java.lang.Boolean value)Sets the value of the forceAA property.voidsetFromWordArt(java.lang.Boolean value)Sets the value of the fromWordArt property.voidsetHorzOverflow(STTextHorzOverflowType value)Sets the value of the horzOverflow property.voidsetLIns(java.lang.Integer value)Sets the value of the lIns property.voidsetNoAutofit(CTTextNoAutofit value)Sets the value of the noAutofit property.voidsetNormAutofit(CTTextNormalAutofit value)Sets the value of the normAutofit property.voidsetNumCol(java.lang.Integer value)Sets the value of the numCol property.voidsetParent(java.lang.Object parent)voidsetPrstTxWarp(CTPresetTextShape value)Sets the value of the prstTxWarp property.voidsetRIns(java.lang.Integer value)Sets the value of the rIns property.voidsetRot(java.lang.Integer value)Sets the value of the rot property.voidsetRtlCol(java.lang.Boolean value)Sets the value of the rtlCol property.voidsetScene3D(CTScene3D value)Sets the value of the scene3D property.voidsetSp3D(CTShape3D value)Sets the value of the sp3D property.voidsetSpAutoFit(CTTextShapeAutofit value)Sets the value of the spAutoFit property.voidsetSpcCol(java.lang.Integer value)Sets the value of the spcCol property.voidsetSpcFirstLastPara(java.lang.Boolean value)Sets the value of the spcFirstLastPara property.voidsetTIns(java.lang.Integer value)Sets the value of the tIns property.voidsetUpright(java.lang.Boolean value)Sets the value of the upright property.voidsetVert(STTextVerticalType value)Sets the value of the vert property.voidsetVertOverflow(STTextVertOverflowType value)Sets the value of the vertOverflow property.voidsetWrap(STTextWrappingType value)Sets the value of the wrap property.Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
-
Field Details
-
prstTxWarp
-
noAutofit
-
normAutofit
-
spAutoFit
-
scene3D
-
sp3D
-
flatTx
-
extLst
-
rot
protected java.lang.Integer rot -
spcFirstLastPara
protected java.lang.Boolean spcFirstLastPara -
vertOverflow
-
horzOverflow
-
vert
-
wrap
-
lIns
protected java.lang.Integer lIns -
tIns
protected java.lang.Integer tIns -
rIns
protected java.lang.Integer rIns -
bIns
protected java.lang.Integer bIns -
numCol
protected java.lang.Integer numCol -
spcCol
protected java.lang.Integer spcCol -
rtlCol
protected java.lang.Boolean rtlCol -
fromWordArt
protected java.lang.Boolean fromWordArt -
anchor
-
anchorCtr
protected java.lang.Boolean anchorCtr -
forceAA
protected java.lang.Boolean forceAA -
upright
protected java.lang.Boolean upright -
compatLnSpc
protected java.lang.Boolean compatLnSpc
-
-
Constructor Details
-
CTTextBodyProperties
public CTTextBodyProperties()
-
-
Method Details
-
getPrstTxWarp
Gets the value of the prstTxWarp property.- Returns:
- possible object is
CTPresetTextShape
-
setPrstTxWarp
Sets the value of the prstTxWarp property.- Parameters:
value- allowed object isCTPresetTextShape
-
getNoAutofit
Gets the value of the noAutofit property.- Returns:
- possible object is
CTTextNoAutofit
-
setNoAutofit
Sets the value of the noAutofit property.- Parameters:
value- allowed object isCTTextNoAutofit
-
getNormAutofit
Gets the value of the normAutofit property.- Returns:
- possible object is
CTTextNormalAutofit
-
setNormAutofit
Sets the value of the normAutofit property.- Parameters:
value- allowed object isCTTextNormalAutofit
-
getSpAutoFit
Gets the value of the spAutoFit property.- Returns:
- possible object is
CTTextShapeAutofit
-
setSpAutoFit
Sets the value of the spAutoFit property.- Parameters:
value- allowed object isCTTextShapeAutofit
-
getScene3D
Gets the value of the scene3D property.- Returns:
- possible object is
CTScene3D
-
setScene3D
Sets the value of the scene3D property.- Parameters:
value- allowed object isCTScene3D
-
getSp3D
Gets the value of the sp3D property.- Returns:
- possible object is
CTShape3D
-
setSp3D
Sets the value of the sp3D property.- Parameters:
value- allowed object isCTShape3D
-
getFlatTx
Gets the value of the flatTx property.- Returns:
- possible object is
CTFlatText
-
setFlatTx
Sets the value of the flatTx property.- Parameters:
value- allowed object isCTFlatText
-
getExtLst
Gets the value of the extLst property.- Returns:
- possible object is
CTOfficeArtExtensionList
-
setExtLst
Sets the value of the extLst property.- Parameters:
value- allowed object isCTOfficeArtExtensionList
-
getRot
public java.lang.Integer getRot()Gets the value of the rot property.- Returns:
- possible object is
Integer
-
setRot
public void setRot(java.lang.Integer value)Sets the value of the rot property.- Parameters:
value- allowed object isInteger
-
isSpcFirstLastPara
public java.lang.Boolean isSpcFirstLastPara()Gets the value of the spcFirstLastPara property.- Returns:
- possible object is
Boolean
-
setSpcFirstLastPara
public void setSpcFirstLastPara(java.lang.Boolean value)Sets the value of the spcFirstLastPara property.- Parameters:
value- allowed object isBoolean
-
getVertOverflow
Gets the value of the vertOverflow property.- Returns:
- possible object is
STTextVertOverflowType
-
setVertOverflow
Sets the value of the vertOverflow property.- Parameters:
value- allowed object isSTTextVertOverflowType
-
getHorzOverflow
Gets the value of the horzOverflow property.- Returns:
- possible object is
STTextHorzOverflowType
-
setHorzOverflow
Sets the value of the horzOverflow property.- Parameters:
value- allowed object isSTTextHorzOverflowType
-
getVert
Gets the value of the vert property.- Returns:
- possible object is
STTextVerticalType
-
setVert
Sets the value of the vert property.- Parameters:
value- allowed object isSTTextVerticalType
-
getWrap
Gets the value of the wrap property.- Returns:
- possible object is
STTextWrappingType
-
setWrap
Sets the value of the wrap property.- Parameters:
value- allowed object isSTTextWrappingType
-
getLIns
public java.lang.Integer getLIns()Gets the value of the lIns property.- Returns:
- possible object is
Integer
-
setLIns
public void setLIns(java.lang.Integer value)Sets the value of the lIns property.- Parameters:
value- allowed object isInteger
-
getTIns
public java.lang.Integer getTIns()Gets the value of the tIns property.- Returns:
- possible object is
Integer
-
setTIns
public void setTIns(java.lang.Integer value)Sets the value of the tIns property.- Parameters:
value- allowed object isInteger
-
getRIns
public java.lang.Integer getRIns()Gets the value of the rIns property.- Returns:
- possible object is
Integer
-
setRIns
public void setRIns(java.lang.Integer value)Sets the value of the rIns property.- Parameters:
value- allowed object isInteger
-
getBIns
public java.lang.Integer getBIns()Gets the value of the bIns property.- Returns:
- possible object is
Integer
-
setBIns
public void setBIns(java.lang.Integer value)Sets the value of the bIns property.- Parameters:
value- allowed object isInteger
-
getNumCol
public java.lang.Integer getNumCol()Gets the value of the numCol property.- Returns:
- possible object is
Integer
-
setNumCol
public void setNumCol(java.lang.Integer value)Sets the value of the numCol property.- Parameters:
value- allowed object isInteger
-
getSpcCol
public java.lang.Integer getSpcCol()Gets the value of the spcCol property.- Returns:
- possible object is
Integer
-
setSpcCol
public void setSpcCol(java.lang.Integer value)Sets the value of the spcCol property.- Parameters:
value- allowed object isInteger
-
isRtlCol
public java.lang.Boolean isRtlCol()Gets the value of the rtlCol property.- Returns:
- possible object is
Boolean
-
setRtlCol
public void setRtlCol(java.lang.Boolean value)Sets the value of the rtlCol property.- Parameters:
value- allowed object isBoolean
-
isFromWordArt
public java.lang.Boolean isFromWordArt()Gets the value of the fromWordArt property.- Returns:
- possible object is
Boolean
-
setFromWordArt
public void setFromWordArt(java.lang.Boolean value)Sets the value of the fromWordArt property.- Parameters:
value- allowed object isBoolean
-
getAnchor
Gets the value of the anchor property.- Returns:
- possible object is
STTextAnchoringType
-
setAnchor
Sets the value of the anchor property.- Parameters:
value- allowed object isSTTextAnchoringType
-
isAnchorCtr
public java.lang.Boolean isAnchorCtr()Gets the value of the anchorCtr property.- Returns:
- possible object is
Boolean
-
setAnchorCtr
public void setAnchorCtr(java.lang.Boolean value)Sets the value of the anchorCtr property.- Parameters:
value- allowed object isBoolean
-
isForceAA
public java.lang.Boolean isForceAA()Gets the value of the forceAA property.- Returns:
- possible object is
Boolean
-
setForceAA
public void setForceAA(java.lang.Boolean value)Sets the value of the forceAA property.- Parameters:
value- allowed object isBoolean
-
isUpright
public boolean isUpright()Gets the value of the upright property.- Returns:
- possible object is
Boolean
-
setUpright
public void setUpright(java.lang.Boolean value)Sets the value of the upright property.- Parameters:
value- allowed object isBoolean
-
isCompatLnSpc
public java.lang.Boolean isCompatLnSpc()Gets the value of the compatLnSpc property.- Returns:
- possible object is
Boolean
-
setCompatLnSpc
public void setCompatLnSpc(java.lang.Boolean value)Sets the value of the compatLnSpc 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.
-