railo.commons.pdf
Class PDF

java.lang.Object
  extended by railo.commons.pdf.PDF

public class PDF
extends Object


Constructor Summary
PDF(Config config)
           
 
Method Summary
 void adjustHtmlWidth()
           
 void enableTableBreaks(boolean b)
           
 void generateOutlines(boolean flag)
           
 void interpolateImages(boolean b)
           
 void render(InputStreamReader reader, OutputStream os)
           
 void render(String str, OutputStream os, URL base)
           
 void setPageFooter(PDFPageMark footer)
           
 void setPageHeader(PDFPageMark header)
           
 void setPageInsets(Insets insets)
           
 void setPageSize(Dimension dimension)
           
 void useTTF(String pathToFontDirs, boolean embed)
           
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

PDF

public PDF(Config config)
    throws PageException
Throws:
PageException
Method Detail

enableTableBreaks

public void enableTableBreaks(boolean b)
                       throws PageException
Throws:
PageException

interpolateImages

public void interpolateImages(boolean b)
                       throws PageException
Throws:
PageException

adjustHtmlWidth

public void adjustHtmlWidth()
                     throws PageException
Throws:
PageException

setPageInsets

public void setPageInsets(Insets insets)
                   throws PageException
Throws:
PageException

setPageSize

public void setPageSize(Dimension dimension)
                 throws PageException
Throws:
PageException

setPageHeader

public void setPageHeader(PDFPageMark header)
                   throws PageException
Throws:
PageException

generateOutlines

public void generateOutlines(boolean flag)
                      throws PageException
Throws:
PageException

useTTF

public void useTTF(String pathToFontDirs,
                   boolean embed)
            throws PageException
Throws:
PageException

setPageFooter

public void setPageFooter(PDFPageMark footer)
                   throws PageException
Throws:
PageException

render

public void render(InputStreamReader reader,
                   OutputStream os)
            throws PageException
Throws:
PageException

render

public void render(String str,
                   OutputStream os,
                   URL base)
            throws PageException
Throws:
PageException


Copyright © 2012 Railo