com.docmosis.template.analysis.fontmapping
Class FontInfo
java.lang.Object
com.docmosis.template.analysis.fontmapping.FontInfo
- All Implemented Interfaces:
- Serializable
public class FontInfo
- extends Object
- implements Serializable
- See Also:
- Serialized Form
FontInfo
public FontInfo(FontMappingUseItem[] fontMappings)
getFontMappings
public FontMappingUseItem[] getFontMappings()
hashCode
public int hashCode()
- Overrides:
hashCode
in class Object
equals
public boolean equals(Object obj)
- Overrides:
equals
in class Object
hasSubstitutions
public boolean hasSubstitutions()
- True if this mapping is substituting the
#originalFont
with a different font.
- Returns:
countSubstitutions
public int countSubstitutions()
- Count the number of font substitutions being made in this template.
- Returns:
getSubstitutions
public FontMappingUseItem[] getSubstitutions()
- Get an array of font mappings where substitutions are being made.
- Returns:
- Will be an empty array if
hasSubstitutions()
is false.
toString
public String toString()
- Overrides:
toString
in class Object
toString
public String toString(boolean substitutionsOnly)
Copyright © 2014–2024 Docmosis Pty Ltd. All rights reserved.