Docmosis API 4.8.0

com.docmosis.template.analysis.fontmapping
Class FontInfo

java.lang.Object
  extended by com.docmosis.template.analysis.fontmapping.FontInfo
All Implemented Interfaces:
Serializable

public class FontInfo
extends Object
implements Serializable

See Also:
Serialized Form

Constructor Summary
FontInfo(FontMappingUseItem[] fontMappings)
           
 
Method Summary
 int countSubstitutions()
          Count the number of font substitutions being made in this template.
 boolean equals(Object obj)
           
 FontMappingUseItem[] getFontMappings()
           
 FontMappingUseItem[] getSubstitutions()
          Get an array of font mappings where substitutions are being made.
 int hashCode()
           
 boolean hasSubstitutions()
          True if this mapping is substituting the #originalFont with a different font.
 String toString()
           
 String toString(boolean substitutionsOnly)
           
 
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
 

Constructor Detail

FontInfo

public FontInfo(FontMappingUseItem[] fontMappings)
Method Detail

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)

Docmosis API 4.8.0

Copyright © 2014–2024 Docmosis Pty Ltd. All rights reserved.