|
DynamicPDF by ceTe Software | |||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Object
|
+--com.cete.dynamicpdf.Document
|
+--com.cete.dynamicpdf.merger.MergeDocument
This is the primary class used to merge or append entire PDF documents or certain pages from existing documents. The merge document can be output to any object derived from the java.io.* class that supports writing and can easily be integrated with SERVLETS/JSP to stream the document to Internet Information Server's HTTP output stream.
View Example
| Constructor Summary | |
MergeDocument()
Initializes a new instance of the MergeDocument class. |
|
MergeDocument(PdfDocument pdfDocument)
Initializes a new instance of the MergeDocument class. |
|
MergeDocument(PdfDocument pdfDocument,
int startPage,
int pageCount)
Initializes a new instance of the MergeDocument class. |
|
MergeDocument(PdfDocument pdfDocument,
int startPage,
int pageCount,
MergeOptions options)
Initializes a new instance of the MergeDocument class. |
|
MergeDocument(PdfDocument pdfDocument,
MergeOptions options)
Initializes a new instance of the MergeDocument class. |
|
MergeDocument(java.lang.String filePath)
Initializes a new instance of the MergeDocument class. |
|
MergeDocument(java.lang.String filePath,
int startPage,
int pageCount)
Initializes a new instance of the MergeDocument class. |
|
MergeDocument(java.lang.String filePath,
int startPage,
int pageCount,
MergeOptions options)
Initializes a new instance of the MergeDocument class. |
|
MergeDocument(java.lang.String filePath,
MergeOptions options)
Initializes a new instance of the MergeDocument class. |
|
| Method Summary | |
ImportedPage[] |
append(PdfDocument pdfDocument)
Appends a PDF document to the current document. |
ImportedPage[] |
append(PdfDocument pdfDocument,
int startPage,
int pageCount)
Appends a PDF document to the current document. |
ImportedPage[] |
append(PdfDocument pdfDocument,
int startPage,
int pageCount,
MergeOptions options)
Appends a PDF document to the current document. |
ImportedPage[] |
append(PdfDocument pdfDocument,
MergeOptions options)
Appends a PDF document to the current document. |
ImportedPage[] |
append(java.lang.String filePath)
Appends a PDF document to the current document. |
ImportedPage[] |
append(java.lang.String filePath,
int startPage,
int pageCount)
Appends a PDF document to the current document. |
ImportedPage[] |
append(java.lang.String filePath,
int startPage,
int pageCount,
MergeOptions options)
Appends a PDF document to the current document. |
ImportedPage[] |
append(java.lang.String filePath,
MergeOptions options)
Appends a PDF document to the current document. |
static MergeDocument |
merge(PdfDocument firstDocument,
MergeOptions firstDocumentOptions,
PdfDocument secondDocument,
MergeOptions secondDocumentOptions)
Merges two PDF documents together. |
static MergeDocument |
merge(PdfDocument firstDocument,
PdfDocument secondDocument)
Merges two PDF documents together. |
static MergeDocument |
merge(java.lang.String firstDocumentFilePath,
MergeOptions firstDocumentOptions,
java.lang.String secondDocumentFilePath,
MergeOptions secondDocumentOptions)
Merges two PDF documents together. |
static MergeDocument |
merge(java.lang.String firstDocumentFilePath,
java.lang.String secondDocumentFilePath)
Merges two PDF documents together. |
| Methods inherited from class com.cete.dynamicpdf.Document |
addLicense, append, draw, draw, draw, drawToWeb, drawToWeb, drawToWeb, drawToWeb, drawToWebPage, drawToWebPage, drawToWebPage, drawToWebPage, getAuthor, getCompressionLevel, getCreator, getForm, getInitialPage, getInitialPageMode, getInitialPageZoom, getKeywords, getOutlines, getPages, getPdfVersion, getSections, getSecurity, getSubject, getTemplate, getTitle, getViewerPreferences, requireLicense, requireLicense, setAuthor, setCompressionLevel, setCreator, setForm, setInitialPage, setInitialPageMode, setInitialPageZoom, setKeywords, setPdfVersion, setProducer, setProducer, setSecurity, setSubject, setTemplate, setTitle |
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
public MergeDocument()
MergeDocument class.
public MergeDocument(java.lang.String filePath)
MergeDocument class.
filePath - The physical file path of the PDF to import.public MergeDocument(PdfDocument pdfDocument)
MergeDocument class.
pdfDocument - The PdfDocument to import.PdfDocument
public MergeDocument(java.lang.String filePath,
MergeOptions options)
MergeDocument class.
filePath - The physical file path of the PDF to import.options - A MergeOptions object specifying
the merge options.MergeOptions
public MergeDocument(PdfDocument pdfDocument,
MergeOptions options)
MergeDocument class.
pdfDocument - The PdfDocument to import.options - A MergeOptions object specifying the
merge options.PdfDocument,
MergeOptions
public MergeDocument(java.lang.String filePath,
int startPage,
int pageCount)
MergeDocument class.
filePath - The physical file path of the PDF to import.startPage - The page to start importing from.pageCount - The number of pages to import.
public MergeDocument(PdfDocument pdfDocument,
int startPage,
int pageCount)
MergeDocument class.
pdfDocument - The PdfDocument to import.startPage - The page to start importing from.pageCount - The number of pages to import.PdfDocument
public MergeDocument(java.lang.String filePath,
int startPage,
int pageCount,
MergeOptions options)
MergeDocument class.
filePath - The physical file path of the PDF to import.startPage - The page to start importing from.pageCount - The number of pages to import.options - A MergeOptions object specifying the
merge options.MergeOptions
public MergeDocument(PdfDocument pdfDocument,
int startPage,
int pageCount,
MergeOptions options)
MergeDocument class.
pdfDocument - The PdfDocument to import.startPage - The page to start importing from.pageCount - The number of pages to import.options - A MergeOptions object specifying the
merge options.PdfDocument,
MergeOptions| Method Detail |
public ImportedPage[] append(java.lang.String filePath)
filePath - The physical file path of the PDF to import.
com.cete.dynamicpdf.Pages that were
appended to the document.ImportedPagepublic ImportedPage[] append(PdfDocument pdfDocument)
pdfDocument - The PdfDocument to import.
com.cete.dynamicpdf.Pages that were
appended to the document.PdfDocument,
ImportedPage
public ImportedPage[] append(java.lang.String filePath,
MergeOptions options)
filePath - The physical file path of the PDF to import.options - A MergeOptions object specifying the
merge options.
com.cete.dynamicpdf.Pages that were
appended to the document.MergeOptions,
ImportedPage
public ImportedPage[] append(PdfDocument pdfDocument,
MergeOptions options)
pdfDocument - The PdfDocument to import.options - A MergeOptions object specifying the
merge options.
com.cete.dynamicpdf.Pages that were
appended to the document.PdfDocument,
MergeOptions,
ImportedPage
public ImportedPage[] append(java.lang.String filePath,
int startPage,
int pageCount)
filePath - The physical file path of the PDF to import.startPage - The page to start importing from.pageCount - The number of pages to import.
com.cete.dynamicpdf.Pages that were
appended to the document.ImportedPage
public ImportedPage[] append(PdfDocument pdfDocument,
int startPage,
int pageCount)
pdfDocument - The PdfDocument to import.startPage - The page to start appending from.pageCount - The number of pages to append.
com.cete.dynamicpdf.Pages that were
appended to the document.PdfDocument,
ImportedPage
public ImportedPage[] append(java.lang.String filePath,
int startPage,
int pageCount,
MergeOptions options)
filePath - The physical file path of the PDF to import.startPage - The page to start importing from.pageCount - The number of pages to import.options - A MergeOptions object specifying the
merge options.
com.cete.dynamicpdf.Pages that were
appended to the document.MergeOptions,
ImportedPage
public ImportedPage[] append(PdfDocument pdfDocument,
int startPage,
int pageCount,
MergeOptions options)
pdfDocument - The PdfDocument to import.startPage - The page to start appending from.pageCount - The number of pages to append.options - Specifies the merge options.
com.cete.dynamicpdf.merger.ImportedPages
that were appended to the document.PdfDocument,
MergeOptions,
ImportedPage
public static MergeDocument merge(java.lang.String firstDocumentFilePath,
java.lang.String secondDocumentFilePath)
firstDocumentFilePath - The physical file path to the first
PDF document.secondDocumentFilePath - The physical file path to the second
PDF document.
MergeDocument containing the pages from both
PDF documents.
public static MergeDocument merge(PdfDocument firstDocument,
PdfDocument secondDocument)
firstDocument - A PdfDocument class representing the
first PDF document.secondDocument - A PdfDocument class representing the
second PDF document.
MergeDocument containing the pages from
both PDF documents.PdfDocument
public static MergeDocument merge(java.lang.String firstDocumentFilePath,
MergeOptions firstDocumentOptions,
java.lang.String secondDocumentFilePath,
MergeOptions secondDocumentOptions)
firstDocumentFilePath - The physical file path to the first
PDF document.firstDocumentOptions - A MergeOptions object specifying
the merge options for the first PDF document.secondDocumentFilePath - The physical file path to the second
PDF document.secondDocumentOptions - A MergeOptions object specifying
the merge options for the second PDF document.
MergeDocument containing the pages from both
PDF documents.MergeOptions
public static MergeDocument merge(PdfDocument firstDocument,
MergeOptions firstDocumentOptions,
PdfDocument secondDocument,
MergeOptions secondDocumentOptions)
firstDocument - A PdfDocument class representing the
first PDF document.firstDocumentOptions - A MergeOptions object specifying
the merge options for the first PDF document.secondDocument - A PdfDocument class representing the
second PDF document.secondDocumentOptions - A MergeOptions object specifying
the merge options for the second PDF document.
MergeDocument containing the pages from both
PDF documents.PdfDocument,
MergeOptions
|
DynamicPDF by ceTe Software | |||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||