JPedal Java PDF library 4.70b22 API Documentation - http://www.jpedal.org

org.jpedal.examples
Class ExampleHelper

java.lang.Object
  extended by org.jpedal.examples.ExampleHelper
All Implemented Interfaces:
JPedalHelper

public class ExampleHelper
extends java.lang.Object
implements JPedalHelper


Constructor Summary
ExampleHelper()
           
 
Method Summary
 java.awt.Font getJavaFontX(org.jpedal.fonts.PdfFont pdfFont, int size)
          allow user to alter font mapping for substitution - return null if not used
 java.awt.image.BufferedImage processImage(java.awt.image.BufferedImage image, int pageNumber, boolean isPrinting)
          allow user to alter colour (ie to convert to bw)
 java.awt.Font setFont(org.jpedal.fonts.glyph.PdfJavaGlyphs pdfJavaGlyphs, java.lang.String name, int size)
          allow user to alter font mapping for substitution - return null if not used
 void setPaint(java.awt.Graphics2D g2, org.jpedal.color.PdfPaint col, int pageNumber, boolean isPrinting)
          allow user to alter colour (ie to convert to bw)
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

ExampleHelper

public ExampleHelper()
Method Detail

setFont

public java.awt.Font setFont(org.jpedal.fonts.glyph.PdfJavaGlyphs pdfJavaGlyphs,
                             java.lang.String name,
                             int size)
allow user to alter font mapping for substitution - return null if not used

Specified by:
setFont in interface JPedalHelper

getJavaFontX

public java.awt.Font getJavaFontX(org.jpedal.fonts.PdfFont pdfFont,
                                  int size)
allow user to alter font mapping for substitution - return null if not used

Specified by:
getJavaFontX in interface JPedalHelper

setPaint

public void setPaint(java.awt.Graphics2D g2,
                     org.jpedal.color.PdfPaint col,
                     int pageNumber,
                     boolean isPrinting)
allow user to alter colour (ie to convert to bw)

Specified by:
setPaint in interface JPedalHelper

processImage

public java.awt.image.BufferedImage processImage(java.awt.image.BufferedImage image,
                                                 int pageNumber,
                                                 boolean isPrinting)
allow user to alter colour (ie to convert to bw)

Specified by:
processImage in interface JPedalHelper

JPedal Java PDF library 4.70b22 API Documentation - http://www.jpedal.org

JPedal Java PDF library 4.70b22 API Documentation - http://www.jpedal.org