Java com.itextpdf.text.pdf PdfSmartCopy fields, constructors, methods, implement or subclass

Example usage for Java com.itextpdf.text.pdf PdfSmartCopy fields, constructors, methods, implement or subclass

Introduction

In this page you can find the methods, fields and constructors for com.itextpdf.text.pdf PdfSmartCopy.

The text is from its open source code.

Constructor

PdfSmartCopy(Document document, OutputStream os)
Creates a PdfSmartCopy instance.

Method

voidaddNamedDestination(final String name, final int page, final PdfDestination dest)
Adds one named destination.
voidaddPage(PdfImportedPage iPage)
voidclose()
Signals that the Document was closed and that no other Elements will be added.
voidflush()
Flushes the BufferedOutputStream.
voidfreeReader(PdfReader reader)
PdfImportedPagegetImportedPage(PdfReader reader, int pageNumber)
Grabs a page from the input document
voidsetCompressionLevel(final int compressionLevel)
Sets the compression level to be used for streams written by this writer.
voidsetFullCompression()
Use this method to set the document's compression to the PDF 1.5 mode with object streams and xref streams.
voidsetOutlines(final List> outlines)
Sets the bookmarks.