XmpFont
Inheritance: java.lang.Object, com.groupdocs.metadata.core.MetadataPackage, com.groupdocs.metadata.core.CustomPackage, com.groupdocs.metadata.core.XmpMetadataContainer, com.groupdocs.metadata.core.XmpComplexType
public final class XmpFont extends XmpComplexType
A structure containing the characteristics of a font used in a document.
Constructors
Constructor | Description |
---|---|
XmpFont() | Initializes a new instance of the XmpFont class. |
XmpFont(String fontFamily) | Initializes a new instance of the XmpFont class. |
Methods
Method | Description |
---|---|
getChildFontFiles() | Gets the list of file names for the fonts that make up a composite font. |
setChildFontFiles(String[] value) | Sets the list of file names for the fonts that make up a composite font. |
isComposite() | Gets a value indicating whether whether the font is composite. |
setComposite(Boolean value) | Sets a value indicating whether whether the font is composite. |
getFontFace() | Gets the font face name. |
setFontFace(String value) | Sets the font face name. |
getFontFamily() | Gets the font family name. |
setFontFamily(String value) | Sets the font family name. |
getFontFileName() | Gets the font file name (not a complete path). |
setFontFileName(String value) | Sets the font file name (not a complete path). |
getFontName() | Gets the PostScript name of the font. |
setFontName(String value) | Sets the PostScript name of the font. |
getFontType() | Gets the font type. |
setFontType(String value) | Sets the font type. |
getVersion() | Gets the font version. |
setVersion(String value) | Sets the font version. |
XmpFont()
public XmpFont()
Initializes a new instance of the XmpFont class.
XmpFont(String fontFamily)
public XmpFont(String fontFamily)
Initializes a new instance of the XmpFont class.
Parameters:
Parameter | Type | Description |
---|---|---|
fontFamily | java.lang.String | Font family. |
getChildFontFiles()
public final String[] getChildFontFiles()
Gets the list of file names for the fonts that make up a composite font.
Returns: java.lang.String[] - The list of file names for the fonts that make up a composite font.
setChildFontFiles(String[] value)
public final void setChildFontFiles(String[] value)
Sets the list of file names for the fonts that make up a composite font.
Parameters:
Parameter | Type | Description |
---|---|---|
value | java.lang.String[] | The list of file names for the fonts that make up a composite font. |
isComposite()
public final Boolean isComposite()
Gets a value indicating whether whether the font is composite.
Returns: java.lang.Boolean - true if the font is composite; otherwise, false .
setComposite(Boolean value)
public final void setComposite(Boolean value)
Sets a value indicating whether whether the font is composite.
Parameters:
Parameter | Type | Description |
---|---|---|
value | java.lang.Boolean | true if the font is composite; otherwise, false . |
getFontFace()
public final String getFontFace()
Gets the font face name.
Returns: java.lang.String - The font face name.
setFontFace(String value)
public final void setFontFace(String value)
Sets the font face name.
Parameters:
Parameter | Type | Description |
---|---|---|
value | java.lang.String | The font face name. |
getFontFamily()
public final String getFontFamily()
Gets the font family name.
Returns: java.lang.String - The font family name.
setFontFamily(String value)
public final void setFontFamily(String value)
Sets the font family name.
Parameters:
Parameter | Type | Description |
---|---|---|
value | java.lang.String | The font family name. |
getFontFileName()
public final String getFontFileName()
Gets the font file name (not a complete path).
Returns: java.lang.String - The name of the font file.
setFontFileName(String value)
public final void setFontFileName(String value)
Sets the font file name (not a complete path).
Parameters:
Parameter | Type | Description |
---|---|---|
value | java.lang.String | The name of the font file. |
getFontName()
public final String getFontName()
Gets the PostScript name of the font.
Returns: java.lang.String - The PostScript name of the font.
setFontName(String value)
public final void setFontName(String value)
Sets the PostScript name of the font.
Parameters:
Parameter | Type | Description |
---|---|---|
value | java.lang.String | The PostScript name of the font. |
getFontType()
public final String getFontType()
Gets the font type.
Returns: java.lang.String - The font type.
TrueType, Type 1, Open Type, and so on.
setFontType(String value)
public final void setFontType(String value)
Sets the font type.
Parameters:
Parameter | Type | Description |
---|---|---|
value | java.lang.String | The font type. |
TrueType, Type 1, Open Type, and so on. |
getVersion()
public final String getVersion()
Gets the font version.
Returns: java.lang.String - The version.
/version for Type1 fonts nameId 5 for Apple True Type and OpenType /CIDFontVersion for CID fonts The empty string for bitmap fonts
setVersion(String value)
public final void setVersion(String value)
Sets the font version.
Parameters:
Parameter | Type | Description |
---|---|---|
value | java.lang.String | The version. |
/version for Type1 fonts nameId 5 for Apple True Type and OpenType /CIDFontVersion for CID fonts The empty string for bitmap fonts |