Class LatinFont
java.lang.Object
com.independentsoft.office.drawing.LatinFont
The Class LatinFont.
-
Constructor Summary
ConstructorsConstructorDescriptionInstantiates a new latin font.LatinFont(InternalXMLStreamReader reader)Instantiates a new latin font. -
Method Summary
Modifier and TypeMethodDescriptionclone()Gets the panose.intGets the similar character set.intGets the similar font family.Gets the typeface.voidSets the panose.voidsetSimilarCharacterSet(int similarCharacterSet)Sets the similar character set.voidsetSimilarFontFamily(int similarFontFamily)Sets the similar font family.voidsetTypeface(String typeface)Sets the typeface.toString()
-
Constructor Details
-
LatinFont
public LatinFont()Instantiates a new latin font. -
LatinFont
Instantiates a new latin font.- Parameters:
reader- the reader- Throws:
XMLStreamException- the xML stream exception
-
-
Method Details
-
clone
-
toString
-
getSimilarCharacterSet
public int getSimilarCharacterSet()Gets the similar character set.- Returns:
- the similar character set
-
setSimilarCharacterSet
public void setSimilarCharacterSet(int similarCharacterSet)Sets the similar character set.- Parameters:
similarCharacterSet- the new similar character set
-
getPanose
Gets the panose.- Returns:
- the panose
-
setPanose
Sets the panose.- Parameters:
panose- the new panose
-
getSimilarFontFamily
public int getSimilarFontFamily()Gets the similar font family.- Returns:
- the similar font family
-
setSimilarFontFamily
public void setSimilarFontFamily(int similarFontFamily)Sets the similar font family.- Parameters:
similarFontFamily- the new similar font family
-
getTypeface
Gets the typeface.- Returns:
- the typeface
-
setTypeface
Sets the typeface.- Parameters:
typeface- the new typeface
-