Package org.docx4j.w14
Class CTWordContentPart
java.lang.Object
org.docx4j.w14.CTWordContentPart
- All Implemented Interfaces:
Child
public class CTWordContentPart extends java.lang.Object implements Child
Java class for CT_WordContentPart complex type.
The following schema fragment specifies the expected content contained within this class.
<complexType name="CT_WordContentPart">
<complexContent>
<restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
<sequence>
<element name="nvContentPartPr" type="{http://schemas.microsoft.com/office/word/2010/wordml}CT_WordContentPartNonVisual" minOccurs="0"/>
<element name="xfrm" type="{http://schemas.openxmlformats.org/drawingml/2006/main}CT_Transform2D" minOccurs="0"/>
<element name="extLst" type="{http://schemas.openxmlformats.org/drawingml/2006/main}CT_OfficeArtExtensionList" minOccurs="0"/>
</sequence>
<attribute name="bwMode" type="{http://schemas.openxmlformats.org/drawingml/2006/main}ST_BlackWhiteMode" />
<attribute ref="{http://schemas.openxmlformats.org/officeDocument/2006/relationships}id use="required""/>
</restriction>
</complexContent>
</complexType>
-
Field Summary
Fields Modifier and Type Field Description protected STBlackWhiteModebwModeprotected CTOfficeArtExtensionListextLstprotected java.lang.Stringidprotected CTWordContentPartNonVisualnvContentPartPrprotected CTTransform2Dxfrm -
Constructor Summary
Constructors Constructor Description CTWordContentPart() -
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.STBlackWhiteModegetBwMode()Gets the value of the bwMode property.CTOfficeArtExtensionListgetExtLst()Gets the value of the extLst property.java.lang.StringgetId()Gets the value of the id property.CTWordContentPartNonVisualgetNvContentPartPr()Gets the value of the nvContentPartPr property.java.lang.ObjectgetParent()Gets the parent object in the object tree representing the unmarshalled xml document.CTTransform2DgetXfrm()Gets the value of the xfrm property.voidsetBwMode(STBlackWhiteMode value)Sets the value of the bwMode property.voidsetExtLst(CTOfficeArtExtensionList value)Sets the value of the extLst property.voidsetId(java.lang.String value)Sets the value of the id property.voidsetNvContentPartPr(CTWordContentPartNonVisual value)Sets the value of the nvContentPartPr property.voidsetParent(java.lang.Object parent)voidsetXfrm(CTTransform2D value)Sets the value of the xfrm property.Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
-
Field Details
-
nvContentPartPr
-
xfrm
-
extLst
-
bwMode
-
id
protected java.lang.String id
-
-
Constructor Details
-
CTWordContentPart
public CTWordContentPart()
-
-
Method Details
-
getNvContentPartPr
Gets the value of the nvContentPartPr property.- Returns:
- possible object is
CTWordContentPartNonVisual
-
setNvContentPartPr
Sets the value of the nvContentPartPr property.- Parameters:
value- allowed object isCTWordContentPartNonVisual
-
getXfrm
Gets the value of the xfrm property.- Returns:
- possible object is
CTTransform2D
-
setXfrm
Sets the value of the xfrm property.- Parameters:
value- allowed object isCTTransform2D
-
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
-
getBwMode
Gets the value of the bwMode property.- Returns:
- possible object is
STBlackWhiteMode
-
setBwMode
Sets the value of the bwMode property.- Parameters:
value- allowed object isSTBlackWhiteMode
-
getId
public java.lang.String getId()Gets the value of the id property.- Returns:
- possible object is
String
-
setId
public void setId(java.lang.String value)Sets the value of the id property.- Parameters:
value- allowed object isString
-
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.
-