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

java.lang.Object
  extended by at.knowcenter.wag.egov.egiz.pdf.PDFUtilities

public abstract class PDFUtilities
extends Object

Contains useful helpers for accessing PDF documents.

Author:
wprinz

Constructor Summary
PDFUtilities()
           
 
Method Summary
static float calculateLastPageLength(byte[] pdf, float footer_line)
           
static float calculateLastPageLength(PDDocument document, float footer_line)
           
static float calculatePageLength(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

calculateLastPageLength

public static float calculateLastPageLength(byte[] pdf,
                                            float footer_line)
                                     throws PDFDocumentException
Throws:
PDFDocumentException

calculateLastPageLength

public static float calculateLastPageLength(PDDocument document,
                                            float footer_line)
                                     throws IOException
Throws:
IOException

calculatePageLength

public static float calculatePageLength(PDPage page,
                                        float footer_line)
                                 throws IOException
Throws:
IOException


Copyright © 2006-2007 EGIZ - E-Government Innovationszentrum. All Rights Reserved.