org.apache.poi.xwpf.usermodel
Class XWPFSDT

java.lang.Object
  extended by org.apache.poi.xwpf.usermodel.XWPFSDT
All Implemented Interfaces:
IBodyElement, IRunBody, IRunElement, ISDTContents

public class XWPFSDT
extends java.lang.Object
implements IBodyElement, IRunBody, ISDTContents, IRunElement

Experimental class to offer rudimentary read-only processing of of StructuredDocumentTags/ContentControl WARNING - APIs expected to change rapidly


Constructor Summary
XWPFSDT(org.openxmlformats.schemas.wordprocessingml.x2006.main.CTSdtBlock block, IBody part)
           
XWPFSDT(org.openxmlformats.schemas.wordprocessingml.x2006.main.CTSdtRun sdtRun, IBody part)
           
 
Method Summary
 IBody getBody()
           
 XWPFSDTContent getContent()
           
 XWPFDocument getDocument()
           
 BodyElementType getElementType()
           
 POIXMLDocumentPart getPart()
           
 BodyType getPartType()
           
 java.lang.String getTag()
           
 java.lang.String getTitle()
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

XWPFSDT

public XWPFSDT(org.openxmlformats.schemas.wordprocessingml.x2006.main.CTSdtRun sdtRun,
               IBody part)

XWPFSDT

public XWPFSDT(org.openxmlformats.schemas.wordprocessingml.x2006.main.CTSdtBlock block,
               IBody part)
Method Detail

getTitle

public java.lang.String getTitle()

getTag

public java.lang.String getTag()

getContent

public XWPFSDTContent getContent()

getBody

public IBody getBody()
Specified by:
getBody in interface IBodyElement

getPart

public POIXMLDocumentPart getPart()
Specified by:
getPart in interface IBodyElement
Specified by:
getPart in interface IRunBody

getPartType

public BodyType getPartType()
Specified by:
getPartType in interface IBodyElement

getElementType

public BodyElementType getElementType()
Specified by:
getElementType in interface IBodyElement

getDocument

public XWPFDocument getDocument()
Specified by:
getDocument in interface IRunBody


Copyright 2014 The Apache Software Foundation or its licensors, as applicable.