public class WmlSectionProperties extends WmlXMLTag
XMLContainerImpl.sMode
mContentAndSubtagList
Constructor and Description |
---|
WmlSectionProperties(Docx inDocx) |
Modifier and Type | Method and Description |
---|---|
void |
addFooter(WmlFooter inValue,
WmlHeaderFooterType inType) |
void |
addHeader(WmlHeader inValue,
WmlHeaderFooterType inType) |
GfxSize2D |
getContentDimensions() |
WmlPageMargins |
getPageMargins()
Returns the page margins if one exists or else instantiates a new one.
|
WmlPageSize |
getPageSize()
Returns the page size tag if one exists or else instantiates a new one.
|
WmlSectionProperties |
setPageSize(PaperSize inValue)
Sets the page dimensions based on the specified paper size.
|
WmlSectionProperties |
setPageSize(PaperSize inSize,
Orientation inOrientation)
Sets the page dimensions based on the specified paper size and orientation.
|
getParentDoc
orderSubtags, setParentDoc, toIndentedXML, toXML
addSubtag, addSubtag, addXMLNamespaceDeclaration, clone, findNodesByAttributeValue, findNodesByAttributeValue, getAttribute, getAttribute, getAttributes, getAttributeValue, getAttributeValue, getEndTag, getNamespace, getQualifiedTagName, getStartTag, getTagName, hasAttribute, hasAttribute, isEmptyTag, removeAttribute, removeAttribute, replaceCharacterEntities, setAttribute, setAttribute, setAttribute, setAttributes, setContent, setDefaultXMLNamespaceDeclaration, setNamespace, setSortAttributesBeforeWriting, setTagName, sortAttributes, toIndentedXML, toIndentedXML, toIndentedXML, toString, toXML, toXML, toXML, useDoubleQuotes, verifyTagName, verifyTagName
addContent, addContentWithoutEscaping, addSubtag, addSubtag, addSubtags, clearContent, clearSubtags, getContent, getContentPlusSubtagList, getNextSibling, getOptionalSubtagByName, getOptionalSubtagByName, getParentNode, getPreviousSibling, getRequiredSubtagByName, getRequiredSubtagByName, getSubtagByAttribute, getSubtagByAttribute, getSubtags, getSubtagsByAttribute, getSubtagsByAttribute, getSubtagsByAttribute, getSubtagsByClass, getSubtagsByClass, getSubtagsByName, getSubtagsByName, getSubtagsByName, getSubtagsByName, getTotalTagCount, getUnescapedContent, getXMLNodeSubtags, hasContent, hasContentOrSubtags, indexOf, innerHTML, removeSubtag, removeSubtagsByAttribute, removeSubtagsByAttribute, removeSubtagsByClass, removeSubtagsByClass, removeSubtagsByName, removeSubtagsByName, removeSubtagsByName, setContent, setParentNode, setSubtags
equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
addContent, addContentWithoutEscaping, addSubtag, addSubtags, clearContent, clearSubtags, getContent, getNextSibling, getOptionalSubtagByName, getOptionalSubtagByName, getParentNode, getPreviousSibling, getRequiredSubtagByName, getRequiredSubtagByName, getSubtags, getSubtagsByName, getSubtagsByName, getSubtagsByName, getSubtagsByName, getTotalTagCount, getUnescapedContent, getXMLNodeSubtags, hasContent, indexOf, removeSubtag, removeSubtagsByName, removeSubtagsByName, setParentNode, setSubtags
public WmlSectionProperties(Docx inDocx)
public WmlSectionProperties setPageSize(PaperSize inSize, Orientation inOrientation)
public WmlSectionProperties setPageSize(PaperSize inValue)
public WmlPageSize getPageSize()
public WmlPageMargins getPageMargins()
public GfxSize2D getContentDimensions()
public void addHeader(WmlHeader inValue, WmlHeaderFooterType inType)
public void addFooter(WmlFooter inValue, WmlHeaderFooterType inType)
[email protected]