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.
|
StyleTree(Set<String> stylesInUse,
Map<String,Style> allStyles,
DocDefaults docDefaults,
Style normal,
Style defaultCharStyle,
Style defaultTableStyle)
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() |
void |
init(Set<String> stylesInUse,
Map<String,Style> allStyles,
DocDefaults docDefaults,
Style normal,
Style defaultCharStyle,
Style defaultTableStyle)
Build a StyleTree for stylesInUse.
|
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 StyleTree(Set<String> stylesInUse, Map<String,Style> allStyles, DocDefaults docDefaults, Style normal, Style defaultCharStyle, Style defaultTableStyle)
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 void init(Set<String> stylesInUse, Map<String,Style> allStyles, DocDefaults docDefaults, Style normal, Style defaultCharStyle, Style defaultTableStyle)
stylesInUse - styles actually in use in the main document part,
headers/footers, footnotes/endnotesallStyles - styles defined in the style definitions partpublic static String getHtmlClassAttributeValue(Tree<StyleTree.AugmentedStyle> tree, Node<StyleTree.AugmentedStyle> n)
Copyright © 2007-2022. All Rights Reserved.