Class RunFonts
java.lang.Object
com.independentsoft.office.word.fonts.RunFonts
The Class RunFonts.
-
Constructor Summary
ConstructorsConstructorDescriptionRunFonts()Instantiates a new run fonts.RunFonts(InternalXMLStreamReader reader)Instantiates a new run fonts. -
Method Summary
Modifier and TypeMethodDescriptionclone()Gets the ascii font.Gets the ascii theme font.Gets the complex script font.Gets the complex script theme font.Gets the east asia font.Gets the east asia theme font.Gets the font type hint.Gets the high ansi font.Gets the high ansi theme font.booleanisEmpty()Checks if is empty.voidsetAsciiFont(String asciiFont)Sets the ascii font.voidsetAsciiThemeFont(ThemeFont asciiThemeFont)Sets the ascii theme font.voidsetComplexScriptFont(String complexScriptFont)Sets the complex script font.voidsetComplexScriptThemeFont(ThemeFont complexScriptThemeFont)Sets the complex script theme font.voidsetEastAsiaFont(String eastAsiaFont)Sets the east asia font.voidsetEastAsiaThemeFont(ThemeFont eastAsiaThemeFont)Sets the east asia theme font.voidsetFontTypeHint(FontTypeHint fontTypeHint)Sets the font type hint.voidsetHighAnsiFont(String highAnsiFont)Sets the high ansi font.voidsetHighAnsiThemeFont(ThemeFont highAnsiThemeFont)Sets the high ansi theme font.toString()
-
Constructor Details
-
RunFonts
public RunFonts()Instantiates a new run fonts. -
RunFonts
Instantiates a new run fonts.- Parameters:
reader- the reader- Throws:
XMLStreamException- the xML stream exception
-
-
Method Details
-
clone
-
toString
-
isEmpty
public boolean isEmpty()Checks if is empty.- Returns:
- true, if is empty
-
getAsciiFont
Gets the ascii font.- Returns:
- the ascii font
-
setAsciiFont
Sets the ascii font.- Parameters:
asciiFont- the new ascii font
-
getAsciiThemeFont
Gets the ascii theme font.- Returns:
- the ascii theme font
-
setAsciiThemeFont
Sets the ascii theme font.- Parameters:
asciiThemeFont- the new ascii theme font
-
getComplexScriptFont
Gets the complex script font.- Returns:
- the complex script font
-
setComplexScriptFont
Sets the complex script font.- Parameters:
complexScriptFont- the new complex script font
-
getComplexScriptThemeFont
Gets the complex script theme font.- Returns:
- the complex script theme font
-
setComplexScriptThemeFont
Sets the complex script theme font.- Parameters:
complexScriptThemeFont- the new complex script theme font
-
getEastAsiaFont
Gets the east asia font.- Returns:
- the east asia font
-
setEastAsiaFont
Sets the east asia font.- Parameters:
eastAsiaFont- the new east asia font
-
getEastAsiaThemeFont
Gets the east asia theme font.- Returns:
- the east asia theme font
-
setEastAsiaThemeFont
Sets the east asia theme font.- Parameters:
eastAsiaThemeFont- the new east asia theme font
-
getHighAnsiFont
Gets the high ansi font.- Returns:
- the high ansi font
-
setHighAnsiFont
Sets the high ansi font.- Parameters:
highAnsiFont- the new high ansi font
-
getHighAnsiThemeFont
Gets the high ansi theme font.- Returns:
- the high ansi theme font
-
setHighAnsiThemeFont
Sets the high ansi theme font.- Parameters:
highAnsiThemeFont- the new high ansi theme font
-
getFontTypeHint
Gets the font type hint.- Returns:
- the font type hint
-
setFontTypeHint
Sets the font type hint.- Parameters:
fontTypeHint- the new font type hint
-