public class RunFontSelector extends Object
Modifier and Type | Class and Description |
---|---|
static class |
RunFontSelector.RunFontActionType |
static interface |
RunFontSelector.RunFontCharacterVisitor |
Modifier and Type | Field and Description |
---|---|
static String |
CSS_NAME |
static String |
FO_NAME |
protected static org.slf4j.Logger |
log |
Constructor and Description |
---|
RunFontSelector(WordprocessingMLPackage wordMLPackage,
RunFontSelector.RunFontCharacterVisitor visitor,
RunFontSelector.RunFontActionType outputType) |
Modifier and Type | Method and Description |
---|---|
Element |
createElement(Document document) |
Object |
fontSelector(PPr pPr,
RPr rPr,
String text)
Apply font selection algorithm to this Text, based on supplied PPr, RPr
(and docDefaults, Theme part etc).
|
Object |
fontSelector(PPr pPr,
RPr rPr,
Text wmlText)
Apply font selection algorithm to this Text, based on supplied PPr, RPr
(and docDefaults, Theme part etc).
|
String |
getCssName() |
String |
getDefaultFont() |
void |
setAttribute(Element el,
String fontName) |
protected static org.slf4j.Logger log
public static final String CSS_NAME
public static final String FO_NAME
public RunFontSelector(WordprocessingMLPackage wordMLPackage, RunFontSelector.RunFontCharacterVisitor visitor, RunFontSelector.RunFontActionType outputType)
public String getCssName()
public String getDefaultFont()
public Object fontSelector(PPr pPr, RPr rPr, Text wmlText)
pPr
- rPr
- wmlText
- Copyright © 2007-2019. All Rights Reserved.