public class StyleMap extends Object
| Constructor and Description |
|---|
StyleMap(Optional<HtmlPath> bold,
Optional<HtmlPath> italic,
Optional<HtmlPath> underline,
Optional<HtmlPath> strikethrough,
Optional<HtmlPath> smallCaps,
Optional<HtmlPath> commentReference,
List<StyleMapping<Paragraph>> paragraphStyles,
List<StyleMapping<Run>> runStyles,
List<StyleMapping<Table>> tableStyles,
List<StyleMapping<Break>> breakStyles) |
| Modifier and Type | Method and Description |
|---|---|
static StyleMapBuilder |
builder() |
Optional<HtmlPath> |
getBold() |
Optional<HtmlPath> |
getBreakHtmlPath(Break breakElement) |
Optional<HtmlPath> |
getCommentReference() |
Optional<HtmlPath> |
getItalic() |
Optional<HtmlPath> |
getParagraphHtmlPath(Paragraph paragraph) |
Optional<HtmlPath> |
getRunHtmlPath(Run run) |
Optional<HtmlPath> |
getSmallCaps() |
Optional<HtmlPath> |
getStrikethrough() |
Optional<HtmlPath> |
getTableHtmlPath(Table table) |
Optional<HtmlPath> |
getUnderline() |
static StyleMap |
merge(StyleMap high,
StyleMap low) |
StyleMap |
update(StyleMap styleMap) |
public static final StyleMap EMPTY
public StyleMap(Optional<HtmlPath> bold, Optional<HtmlPath> italic, Optional<HtmlPath> underline, Optional<HtmlPath> strikethrough, Optional<HtmlPath> smallCaps, Optional<HtmlPath> commentReference, List<StyleMapping<Paragraph>> paragraphStyles, List<StyleMapping<Run>> runStyles, List<StyleMapping<Table>> tableStyles, List<StyleMapping<Break>> breakStyles)
public static StyleMapBuilder builder()
Copyright © 2018. All rights reserved.