Package org.docx4j.wml
Interface SdtElement
public interface SdtElement
Content controls (Sdt) contain properties (SdtPr) and content (SdtContent).
In JAXB, there are different Java objects for the content controls, depending on whether they
wrap block-level, row-level, cell-level, or run-level content (ie SdtBlock, SdtRun, CTSdtRow, CTSdtCell).
Those objects all implement this SdtElement interface.
Similarly, there are different Java objects for the SdtContent, depending on whether they
wrap block-level, row-level, cell-level, or run-level content. Those objects all implement the SdtContent interface
(new in 3.3.4).
- Since:
- 2.7
-
Method Summary
Modifier and Type Method Description java.lang.ObjectgetParent()Gets the parent object in the object tree representing the unmarshalled xml document.SdtContentgetSdtContent()Changed in v3.3.4CTSdtEndPrgetSdtEndPr()Gets the value of the sdtEndPr property.SdtPrgetSdtPr()Gets the value of the sdtPr property.voidsetSdtContent(SdtContent sdtContent)voidsetSdtEndPr(CTSdtEndPr value)Sets the value of the sdtEndPr property.voidsetSdtPr(SdtPr value)Sets the value of the sdtPr property.
-
Method Details
-
getSdtPr
SdtPr getSdtPr()Gets the value of the sdtPr property.- Returns:
- possible object is
SdtPr
-
setSdtPr
Sets the value of the sdtPr property.- Parameters:
value- allowed object isSdtPr
-
getSdtEndPr
CTSdtEndPr getSdtEndPr()Gets the value of the sdtEndPr property.- Returns:
- possible object is
CTSdtEndPr
-
setSdtEndPr
Sets the value of the sdtEndPr property.- Parameters:
value- allowed object isCTSdtEndPr
-
getSdtContent
SdtContent getSdtContent()Changed in v3.3.4- Returns:
-
setSdtContent
- Parameters:
sdtContent-- Since:
- 3.3.4
-
getParent
java.lang.Object getParent()Gets the parent object in the object tree representing the unmarshalled xml document.- Returns:
- The parent object.
- Since:
- 6.0.0
-