com.businessobjects.rebean.wi
Interface FontMapping


public interface FontMapping

The FontMapping interface defines a mapping between a server font name and a platform-specific font name.

See Also:
ReportEngine.getInstalledFontNames()

Method Summary
 java.lang.String getPlatformName()
          Returns the platform-specific font name.
 java.lang.String[] getPlatformNames()
          Returns all possible platform-specific font names.
 java.lang.String getServerFontName()
          Returns the name of the server font used in all documents.
 

Method Detail

getServerFontName

java.lang.String getServerFontName()
Returns the name of the server font used in all documents.

Returns:
Returns the name of the server font used in all documents.

getPlatformName

java.lang.String getPlatformName()
Returns the platform-specific font name.

This may be a single name, or a list of possible font names separated by commas ","; font names can be surrounded by either double or single quotes The list of fonts is defined in the fontalias.xml file stored on the Web Intelligence server.

Returns:
The platform-specific font name.

getPlatformNames

java.lang.String[] getPlatformNames()
Returns all possible platform-specific font names.

The result is the same as that returned by FontMapping.getPlatformName(). The font names are separated and stripped according to the specification for cascading style sheets, level 1 (CSS1).

This list of fonts is defined in the fontalias.xml file stored on the Web Intelligence server.

Returns:
The platform-specific font names.