org.ujac.print
Class DocumentFontMapper

java.lang.Object
  extended by org.ujac.print.DocumentFontMapper
All Implemented Interfaces:
com.lowagie.text.pdf.FontMapper

public class DocumentFontMapper
extends Object
implements com.lowagie.text.pdf.FontMapper

Name: DocumentFontMapper
Description: UJAC print module specific FontMapper implementation.

Author:
lauerc

Constructor Summary
DocumentFontMapper(DocumentHandler documentHandler)
          Constructs a DocumentFontMapper instance with specific attributes.
 
Method Summary
 com.lowagie.text.pdf.BaseFont awtToPdf(Font font)
           
 Font pdfToAwt(com.lowagie.text.pdf.BaseFont font, int size)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

DocumentFontMapper

public DocumentFontMapper(DocumentHandler documentHandler)
Constructs a DocumentFontMapper instance with specific attributes.

Parameters:
documentHandler - The document handler.
Method Detail

awtToPdf

public com.lowagie.text.pdf.BaseFont awtToPdf(Font font)
Specified by:
awtToPdf in interface com.lowagie.text.pdf.FontMapper
See Also:
FontMapper.awtToPdf(java.awt.Font)

pdfToAwt

public Font pdfToAwt(com.lowagie.text.pdf.BaseFont font,
                     int size)
Specified by:
pdfToAwt in interface com.lowagie.text.pdf.FontMapper
See Also:
FontMapper.pdfToAwt(com.lowagie.text.pdf.BaseFont, int)


Copyright © 2003-2004 UJAC.org. All Rights Reserved.