at.knowcenter.wag.egov.egiz.pdf
Class PDFUtilities

java.lang.Object
  extended byat.knowcenter.wag.egov.egiz.pdf.PDFUtilities

public abstract class PDFUtilities
extends Object

Contains useful helpers for accessing PDF documents.

Author:
wprinz, mruhmer

Constructor Summary
PDFUtilities()
           
 
Method Summary
static float calculateLastPageLength(byte[] pdf, float footer_line)
          Deprecated.  
static float calculateLastPageLength(org.pdfbox.pdmodel.PDDocument document, float footer_line)
           
static float calculatePageLength(org.pdfbox.pdmodel.PDDocument document, int page, float footer_line, int pagerotation)
           
static float calculatePageLength(PdfDataSource pdfDataSource, int page, float footer_line, int pagerotation)
           
static float calculatePageLength(org.pdfbox.pdmodel.PDPage page, float footer_line)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

PDFUtilities

public PDFUtilities()
Method Detail

calculatePageLength

public static float calculatePageLength(PdfDataSource pdfDataSource,
                                        int page,
                                        float footer_line,
                                        int pagerotation)
                                 throws PDFDocumentException
Throws:
PDFDocumentException

calculatePageLength

public static float calculatePageLength(org.pdfbox.pdmodel.PDDocument document,
                                        int page,
                                        float footer_line,
                                        int pagerotation)
                                 throws IOException
Throws:
IOException

calculateLastPageLength

public static float calculateLastPageLength(byte[] pdf,
                                            float footer_line)
                                     throws PDFDocumentException
Deprecated.  

Parameters:
pdf -
footer_line -
Returns:
Throws:
PDFDocumentException

calculateLastPageLength

public static float calculateLastPageLength(org.pdfbox.pdmodel.PDDocument document,
                                            float footer_line)
                                     throws IOException
Throws:
IOException

calculatePageLength

public static float calculatePageLength(org.pdfbox.pdmodel.PDPage page,
                                        float footer_line)
                                 throws IOException
Throws:
IOException


Copyright © 2006-2010. All Rights Reserved.