SourceForge.net Logo
aXSL API 0.2

org.axsl.graphic
Interface GraphicPdfContext


public interface GraphicPdfContext

Provides contextual information to a Graphic implementation when handling PDF-specific tasks.


Method Summary
 java.lang.String getFontName(FontUse fontUse)
          For a given FontUse instance, returns the name by which the font is referred within the PDF document.
 

Method Detail

getFontName

java.lang.String getFontName(FontUse fontUse)
For a given FontUse instance, returns the name by which the font is referred within the PDF document. This is usually in the form of "Fx", where "x" is a number assigned sequentially by the application creating the PDF document, for example "F2". Although the Graphic system has a handle to the FontUse instance itself, it has no way of knowing by what name it should refer to that font when using it to write text.

Parameters:
fontUse - The FontUse instance for which a name is needed.
Returns:
The font name to be used when writing content to the PDF document.

SourceForge.net Logo
aXSL API 0.2

This documentation was created August 8 2007 by The aXSL Group and may be freely copied. See license for details.