public class WmlCharacterStyle extends WmlStyle
XMLContainerImpl.sMode
Modifier and Type | Field and Description |
---|---|
static String |
DEFAULT_PARAGRAPH_FONT_STYLE_ID |
static String |
HEADING1_CHAR_STYLE_ID |
static String |
HEADING2_CHAR_STYLE_ID |
static String |
HYPERLINK_STYLE_ID |
sSQLLoggingLevel
mContentAndSubtagList
Constructor and Description |
---|
WmlCharacterStyle(Docx inDocx) |
WmlCharacterStyle(String inId,
Docx inDocx) |
Modifier and Type | Method and Description |
---|---|
static List<WmlStyle> |
generateDefaultStyles(Docx inParentDoc) |
WmlTextRunProperties |
getRunProperties()
Returns the run properties tag if one exists or else instantiates a new one.
|
WmlCharacterStyle |
setBasedOn(String inStyleId) |
WmlCharacterStyle |
setLink(String inStyleId) |
WmlCharacterStyle |
setName(String inValue) |
WmlCharacterStyle |
setSemiHidden() |
WmlCharacterStyle |
setUI_Priority(Integer inValue) |
WmlCharacterStyle |
setUnhideWhenUsed() |
getId, getName, getParagraphProperties, getTextRunProperties, getType, setId, setIsDefault
addSubtag, addSubtag, getParentDoc, getParentOfficeXMLPart
colorToCT_Color, generateUID, getLogger, orderSubtags, setParentDoc, toIndentedXML, toXML
addSubtag, 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, verifyTagName
addContent, 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, setSubtags
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 static final String DEFAULT_PARAGRAPH_FONT_STYLE_ID
public static final String HYPERLINK_STYLE_ID
public static final String HEADING1_CHAR_STYLE_ID
public static final String HEADING2_CHAR_STYLE_ID
public WmlCharacterStyle(Docx inDocx)
public WmlCharacterStyle(String inId, Docx inDocx)
public WmlCharacterStyle setName(String inValue)
public WmlCharacterStyle setBasedOn(String inStyleId)
setBasedOn
in class WmlStyle
public WmlCharacterStyle setLink(String inStyleId)
public WmlCharacterStyle setUI_Priority(Integer inValue)
setUI_Priority
in class WmlStyle
public WmlCharacterStyle setSemiHidden()
setSemiHidden
in class WmlStyle
public WmlCharacterStyle setUnhideWhenUsed()
setUnhideWhenUsed
in class WmlStyle
public WmlTextRunProperties getRunProperties()
public static List<WmlStyle> generateDefaultStyles(Docx inParentDoc)
jataylor@hairyfatguy.com