Class StyleDefinitions
java.lang.Object
com.independentsoft.office.word.styles.StyleDefinitions
The Class StyleDefinitions.
-
Constructor Summary
ConstructorsConstructorDescriptionInstantiates a new style definitions.StyleDefinitions(byte[] buffer)Instantiates a new style definitions. -
Method Summary
Modifier and TypeMethodDescriptionclone()Gets the default properties.Gets the latent styles.Gets the mc:Ignorable attribute value of the styles root, ornullif absent.Gets the style.Gets the styles.voidsetLatentStyles(LatentStyles latentStyles)Sets the latent styles.voidsetMarkupCompatibilityIgnorable(String markupCompatibilityIgnorable)Sets the mc:Ignorable attribute value of the styles root.toString()
-
Constructor Details
-
StyleDefinitions
public StyleDefinitions()Instantiates a new style definitions. -
StyleDefinitions
Instantiates a new style definitions.- Parameters:
buffer- the buffer- Throws:
XMLStreamException- the xML stream exception
-
-
Method Details
-
getStyle
Gets the style.- Parameters:
id- the id- Returns:
- the style
-
clone
-
toString
-
getDefaultProperties
Gets the default properties.- Returns:
- the default properties
-
getLatentStyles
Gets the latent styles.- Returns:
- the latent styles
-
setLatentStyles
Sets the latent styles.- Parameters:
latentStyles- the new latent styles
-
getMarkupCompatibilityIgnorable
Gets the mc:Ignorable attribute value of the styles root, ornullif absent.- Returns:
- the markup-compatibility ignorable prefixes
-
setMarkupCompatibilityIgnorable
Sets the mc:Ignorable attribute value of the styles root.- Parameters:
markupCompatibilityIgnorable- the new value
-
getStyles
Gets the styles.- Returns:
- the styles
-