public class StyleTree extends Object
Modifier and Type | Class and Description |
---|---|
class |
StyleTree.AugmentedStyle |
Constructor and Description |
---|
StyleTree(Set<String> stylesInUse,
Map<String,Style> allStyles,
DocDefaults docDefaults,
Style normal)
Build a StyleTree for stylesInUse.
|
Modifier and Type | Method and Description |
---|---|
Tree<StyleTree.AugmentedStyle> |
getCharacterStylesTree() |
static String |
getHtmlClassAttributeValue(Tree<StyleTree.AugmentedStyle> tree,
Node<StyleTree.AugmentedStyle> n) |
Tree<StyleTree.AugmentedStyle> |
getParagraphStylesTree() |
Tree<StyleTree.AugmentedStyle> |
getTableStylesTree() |
static void |
main(String[] args) |
public StyleTree(Set<String> stylesInUse, Map<String,Style> allStyles, DocDefaults docDefaults, Style normal)
stylesInUse
- styles actually in use in the main document part, headers/footers, footnotes/endnotesallStyles
- styles defined in the style definitions partpublic Tree<StyleTree.AugmentedStyle> getTableStylesTree()
public Tree<StyleTree.AugmentedStyle> getParagraphStylesTree()
public Tree<StyleTree.AugmentedStyle> getCharacterStylesTree()
public static String getHtmlClassAttributeValue(Tree<StyleTree.AugmentedStyle> tree, Node<StyleTree.AugmentedStyle> n)
Copyright © 2007-2019. All Rights Reserved.