org.apache.poi.xwpf.usermodel
Class XWPFSDTContent

java.lang.Object
  extended by org.apache.poi.xwpf.usermodel.XWPFSDTContent
All Implemented Interfaces:
ISDTContent

public class XWPFSDTContent
extends java.lang.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
XWPFSDTContent(org.openxmlformats.schemas.wordprocessingml.x2006.main.CTSdtContentBlock block, IBody part, IRunBody parent)
           
XWPFSDTContent(org.openxmlformats.schemas.wordprocessingml.x2006.main.CTSdtContentRun sdtRun, IBody part, IRunBody parent)
           
 
Method Summary
 java.lang.String getText()
           
 java.lang.String toString()
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

XWPFSDTContent

public XWPFSDTContent(org.openxmlformats.schemas.wordprocessingml.x2006.main.CTSdtContentRun sdtRun,
                      IBody part,
                      IRunBody parent)

XWPFSDTContent

public XWPFSDTContent(org.openxmlformats.schemas.wordprocessingml.x2006.main.CTSdtContentBlock block,
                      IBody part,
                      IRunBody parent)
Method Detail

getText

public java.lang.String getText()
Specified by:
getText in interface ISDTContent

toString

public java.lang.String toString()
Specified by:
toString in interface ISDTContent
Overrides:
toString in class java.lang.Object