Package org.apache.poi.xwpf.usermodel
Class XWPFSDTContent
- java.lang.Object
-
- org.apache.poi.xwpf.usermodel.XWPFSDTContent
-
- All Implemented Interfaces:
ISDTContent
public class XWPFSDTContent extends Object implements ISDTContent
Experimental class to offer rudimentary read-only processing of of the contentblock of an SDT/ContentControl.WARNING - APIs expected to change rapidly
-
-
Constructor Summary
Constructors Constructor Description XWPFSDTContent(CTSdtContentBlock block, IBody part, IRunBody parent)
XWPFSDTContent(CTSdtContentRun sdtRun, IBody part, IRunBody parent)
-
-
-
Constructor Detail
-
XWPFSDTContent
public XWPFSDTContent(CTSdtContentRun sdtRun, IBody part, IRunBody parent)
-
XWPFSDTContent
public XWPFSDTContent(CTSdtContentBlock block, IBody part, IRunBody parent)
-
-
Method Detail
-
getText
public String getText()
- Specified by:
getText
in interfaceISDTContent
-
toString
public String toString()
- Specified by:
toString
in interfaceISDTContent
- Overrides:
toString
in classObject
-
-