Class XWPFSDTCell

java.lang.Object
org.apache.poi.xwpf.usermodel.XWPFAbstractSDT
org.apache.poi.xwpf.usermodel.XWPFSDTCell
All Implemented Interfaces:
ICell, ISDTContents

public class XWPFSDTCell extends XWPFAbstractSDT implements ICell
Experimental class to offer rudimentary read-only processing of of StructuredDocumentTags/ContentControl that can appear in a table row as if a table cell.

These can contain one or more cells or other SDTs within them.

WARNING - APIs expected to change rapidly

  • Constructor Details

    • XWPFSDTCell

      public XWPFSDTCell(org.openxmlformats.schemas.wordprocessingml.x2006.main.CTSdtCell sdtCell, XWPFTableRow xwpfTableRow, IBody part)
  • Method Details

    • getContent

      public ISDTContent getContent()
      Specified by:
      getContent in class XWPFAbstractSDT
      Returns:
      the content object
    • getCTSdtCell

      public org.openxmlformats.schemas.wordprocessingml.x2006.main.CTSdtCell getCTSdtCell()
      Return the underlying XML bean.
      Returns:
      the underlying CTSdtCell bean.
      Since:
      5.5.0