public class WmlParagraphStyle extends WmlStyle
XMLContainerImpl.sMode| Modifier and Type | Field and Description |
|---|---|
static String |
HEADING1_STYLE_ID |
static String |
HEADING2_STYLE_ID |
static String |
LIST_PARAGRAPH_STYLE_ID |
static String |
NORMAL_STYLE_ID |
static String |
TOC_HEADING_STYLE_ID |
static String |
TOC1_STYLE_ID |
static String |
TOC2_STYLE_ID |
static String |
TOC3_STYLE_ID |
sSQLLoggingLevelmContentAndSubtagList| Constructor and Description |
|---|
WmlParagraphStyle(Docx inDocx) |
WmlParagraphStyle(String inId,
Docx inDocx) |
| Modifier and Type | Method and Description |
|---|---|
static List<WmlStyle> |
generateDefaultStyles(Docx inParentDoc) |
WmlTextRunProperties |
getTextRunProperties()
Returns the run properties tag if one exists or else instantiates a new one.
|
WmlParagraphStyle |
setAutoRedefine() |
WmlParagraphStyle |
setBasedOn(String inStyleId) |
WmlParagraphStyle |
setLink(String inStyleId) |
WmlParagraphStyle |
setName(String inValue) |
WmlParagraphStyle |
setNext(String inStyleId)
Sets the style that should be used for the paragraph that follows this one.
|
WmlParagraphStyle |
setPrimaryStyle(boolean inValue)
Specifies whether this is a "Primary Style" which should be included in the Quick Gallery.
|
WmlParagraphStyle |
setSemiHidden() |
WmlParagraphStyle |
setUI_Priority(Integer inValue) |
WmlParagraphStyle |
setUnhideWhenUsed() |
getId, getName, getParagraphProperties, getType, setId, setIsDefaultaddSubtag, addSubtag, getParentDoc, getParentOfficeXMLPartcolorToCT_Color, generateUID, getLogger, orderSubtags, setParentDoc, toIndentedXML, toXMLaddSubtag, addSubtag, addXMLNamespaceDeclaration, clone, compareTo, equals, findNodesByAttributeValue, findNodesByAttributeValue, getAttribute, getAttribute, getAttributes, getAttributeValue, getAttributeValue, getEndTag, getNamespace, getQualifiedTagName, getStartTag, getTagName, hasAttribute, hasAttribute, hasAttributes, isEmptyTag, removeAttribute, removeAttribute, replaceCharacterEntities, setAttribute, setAttribute, setAttribute, setAttributes, setContent, setDefaultXMLNamespaceDeclaration, setNamespace, setSortAttributesBeforeWriting, setTagName, setTagName, sortAttributes, toIndentedXML, toIndentedXML, toIndentedXML, toString, toXML, toXML, toXML, useDoubleQuotes, verifyTagName, verifyTagName, verifyTagName, verifyTagNameaddContent, addContentWithoutEscaping, addSubtag, addSubtag, addSubtags, clearContent, clearSubtags, getContent, getContentPlusSubtagList, getNextSibling, getOptionalSubtagByName, getOptionalSubtagByName, getOptionalSubtagByName, getOptionalSubtagByName, getParentNode, getPreviousSibling, getRequiredSubtagById, getRequiredSubtagById, getRequiredSubtagByName, getRequiredSubtagByName, getSubtagByAttribute, getSubtagByAttribute, getSubtags, getSubtagsByAttribute, getSubtagsByAttribute, getSubtagsByAttribute, getSubtagsByAttribute, getSubtagsByAttribute, getSubtagsByClass, getSubtagsByClass, getSubtagsByName, getSubtagsByName, getSubtagsByName, getSubtagsByName, getSubtagsByName, getTotalTagCount, getUnescapedContent, getXMLNodeSubtags, hasContent, hasContentOrSubtags, indexOf, innerHTML, removeSubtag, removeSubtagsByAttribute, removeSubtagsByAttribute, removeSubtagsByAttribute, removeSubtagsByClass, removeSubtagsByClass, removeSubtagsByName, removeSubtagsByName, removeSubtagsByName, setContent, setParentNode, setSubtagsfinalize, getClass, hashCode, notify, notifyAll, wait, wait, waitaddContent, 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, setSubtagspublic static final String NORMAL_STYLE_ID
public static final String HEADING1_STYLE_ID
public static final String HEADING2_STYLE_ID
public static final String TOC_HEADING_STYLE_ID
public static final String TOC1_STYLE_ID
public static final String TOC2_STYLE_ID
public static final String TOC3_STYLE_ID
public static final String LIST_PARAGRAPH_STYLE_ID
public WmlParagraphStyle(Docx inDocx)
public WmlParagraphStyle(String inId, Docx inDocx)
public WmlParagraphStyle setName(String inValue)
public WmlParagraphStyle setBasedOn(String inStyleId)
setBasedOn in class WmlStylepublic WmlParagraphStyle setSemiHidden()
setSemiHidden in class WmlStylepublic WmlParagraphStyle setUnhideWhenUsed()
setUnhideWhenUsed in class WmlStylepublic WmlParagraphStyle setLink(String inStyleId)
public WmlParagraphStyle setUI_Priority(Integer inValue)
setUI_Priority in class WmlStylepublic WmlParagraphStyle setPrimaryStyle(boolean inValue)
inValue - whether this is a "Primary Style" which should be included in the Quick Gallerypublic WmlTextRunProperties getTextRunProperties()
getTextRunProperties in class WmlStylepublic WmlParagraphStyle setNext(String inStyleId)
public WmlParagraphStyle setAutoRedefine()
public static List<WmlStyle> generateDefaultStyles(Docx inParentDoc)
jataylor@hairyfatguy.com