Class 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

      Constructors 
      Constructor Description
      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

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      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