| Package | Description |
|---|---|
| org.apache.pdfbox.multipdf | |
| org.apache.pdfbox.pdfwriter |
This is the persistence layer used to write the PDFBox documents to a stream.
|
| org.apache.pdfbox.pdfwriter.compress | |
| org.apache.pdfbox.pdmodel |
The PDModel package represents a high level API for creating and manipulating PDF documents.
|
| Modifier and Type | Method and Description |
|---|---|
void |
PDFMergerUtility.mergeDocuments(org.apache.pdfbox.io.RandomAccessStreamCache.StreamCacheCreateFunction streamCacheCreateFunction,
CompressParameters compressParameters)
Merge the list of source documents, saving the result in the destination file.
|
| Constructor and Description |
|---|
COSWriter(OutputStream outputStream,
CompressParameters compressParameters)
COSWriter constructor.
|
| Modifier and Type | Field and Description |
|---|---|
static CompressParameters |
CompressParameters.DEFAULT_COMPRESSION |
static CompressParameters |
CompressParameters.NO_COMPRESSION |
| Constructor and Description |
|---|
COSWriterCompressionPool(PDDocument document,
CompressParameters parameters)
Constructs an object that can be used to compress the contents of a given
PDDocument. |
| Modifier and Type | Method and Description |
|---|---|
void |
PDDocument.save(File file,
CompressParameters compressParameters)
Save the document using the given compression.
|
void |
PDDocument.save(OutputStream output,
CompressParameters compressParameters)
Save the document using the given compression.
|
void |
PDDocument.save(String fileName,
CompressParameters compressParameters)
Save the document to a file using the given compression.
|
Copyright © 2002–2022 The Apache Software Foundation. All rights reserved.