Class PdfDocument

java.lang.Object
org.openpdf.text.pdf.PdfReader
org.europa.together.application.internal.PdfDocument
All Implemented Interfaces:
Closeable, AutoCloseable, org.openpdf.text.pdf.interfaces.PdfViewerPreferences

public class PdfDocument extends org.openpdf.text.pdf.PdfReader
This class hides implementation details of the OpenPdf PdfReader class used in the API.
  • Field Summary

    Fields inherited from class org.openpdf.text.pdf.PdfReader

    acroForm, acroFormParsed, catalog, certificate, certificateKey, certificateKeyProvider, consolidateNamedDestinations, decrypt, encrypted, eofPos, freeXref, lastXref, newXrefType, objStmMark, objStmToOffset, pageRefs, password, pdfVersion, pValue, rebuilt, remoteToLocalNamedDestinations, rValue, sharedStreams, strings, tampered, tokens, trailer, xref
  • Constructor Summary

    Constructors
    Constructor
    Description
    PdfDocument(String filename)
    Wrapped CONSTRUCTOR.
    PdfDocument(org.openpdf.text.pdf.PdfReader reader)
    Wrapped CONSTRUCTOR.
  • Method Summary

    Methods inherited from class org.openpdf.text.pdf.PdfReader

    addPdfObject, addViewerPreference, ASCII85Decode, ASCIIHexDecode, close, computeUserPassword, consolidateNamedDestinations, convertPdfNull, createFakeFontSubsets, decodePredictor, dumpPerc, duplicatePdfDictionary, duplicatePdfObject, eliminateSharedStreams, FlateDecode, FlateDecode, getAcroFields, getAcroForm, getBoxSize, getCatalog, getCertificationLevel, getCropBox, getCryptoMode, getDocumentId, getEofPos, getFileLength, getInfo, getJavaScript, getJavaScript, getLastXref, getLinks, getMetadata, getNamedDestination, getNamedDestination, getNamedDestinationFromNames, getNamedDestinationFromNames, getNamedDestinationFromStrings, getNormalizedRectangle, getNumberOfPages, getPageContent, getPageContent, getPageN, getPageNRelease, getPageOrigRef, getPageRotation, getPageSize, getPageSize, getPageSizeWithRotation, getPageSizeWithRotation, getPageSizeWithRotation, getPdfObject, getPdfObject, getPdfObject, getPdfObjectNullConverting, getPdfObjectRelease, getPdfObjectRelease, getPdfObjectRelease, getPdfObjectReleaseNullConverting, getPdfReaderInstance, getPdfVersion, getPermissions, getSafeFile, getSimpleViewerPreferences, getStreamBytes, getStreamBytes, getStreamBytesRaw, getStreamBytesRaw, getTrailer, getXrefSize, is128Key, isAppendable, isEncrypted, isHybridXref, isMetadataEncrypted, isModificationlowedWithoutOwnerPassword, isNewXrefType, isOpenedWithFullPermissions, isOwnerPasswordUsed, isRebuilt, isTampered, killIndirect, killXref, LZWDecode, makeRemoteNamedDestinationsLocal, readArray, readDictionary, readDocObj, readDocObjPartial, readObjStm, readOneObjStm, readPages, readPdf, readPdfPartial, readPRObject, readSingleObject, readXref, readXrefSection, readXRefStream, rebuildXref, releaseLastXrefPartial, releaseLastXrefPartial, releasePage, removeAnnotations, removeFields, removeUnusedNode, removeUnusedObjects, removeUsageRights, resetLastXrefPartial, resetReleasePage, selectPages, selectPages, setAppendable, setModificationAllowedWithoutOwnerPassword, setPageContent, setPageContent, setPermissions, setTampered, setViewerPreferences, shuffleSubsetNames

    Methods inherited from class java.lang.Object

    clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
  • Constructor Details

    • PdfDocument

      public PdfDocument(String filename) throws IOException
      Wrapped CONSTRUCTOR.
      Parameters:
      filename - as string
      Throws:
      IOException - case of error
    • PdfDocument

      public PdfDocument(org.openpdf.text.pdf.PdfReader reader) throws IOException
      Wrapped CONSTRUCTOR.
      Parameters:
      reader - as PdfReader
      Throws:
      IOException - case of error