iText 8.0.2 API
|
Classes |
|
interface | IDocumentReadyListener |
Public Member Functions |
|
PdfSplitter (PdfDocument pdfDocument) | |
Creates a new instance of PdfSplitter class. More... |
|
virtual void | SetEventCountingMetaInfo (IMetaInfo metaInfo) |
Sets the iText.Commons.Actions.Contexts.IMetaInfo that will be used during iText.Kernel.Pdf.PdfDocument creation. More... |
|
virtual void | SetPreserveTagged (bool preserveTagged) |
If original document is tagged, then by default all resultant document will also be tagged. More... |
|
virtual void | SetPreserveOutlines (bool preserveOutlines) |
If original document has outlines, then by default all resultant document will also have outlines. More... |
|
virtual IList< PdfDocument > | SplitBySize (long size) |
Splits the document basing on the given size specified in bytes. More... |
|
virtual void | SplitByPageNumbers (IList< int > pageNumbers, PdfSplitter.IDocumentReadyListener documentReady) |
Splits the document by page numbers. More... |
|
virtual IList< PdfDocument > | SplitByPageNumbers (IList< int > pageNumbers) |
Splits the document by page numbers. More... |
|
virtual void | SplitByPageCount (int pageCount, PdfSplitter.IDocumentReadyListener documentReady) |
Splits a document into smaller documents with no more than @pageCount pages each. More... |
|
virtual IList< PdfDocument > | SplitByPageCount (int pageCount) |
Splits a document into smaller documents with no more than @pageCount pages each. More... |
|
virtual IList< PdfDocument > | ExtractPageRanges (IList< PageRange > pageRanges) |
Extracts the specified page ranges from a document. More... |
|
virtual PdfDocument | ExtractPageRange (PageRange pageRange) |
Extracts the specified page ranges from a document. More... |
|
virtual PdfDocument | GetPdfDocument () |
virtual IList< PdfDocument > | SplitByOutlines (IList< String > outlineTitles) |
Split a document by outline title (bookmark name), find outline by name and places the entire hierarchy in a separate document ( outlines and pages ) . More... |
|
|
inline |
Creates a new instance of PdfSplitter class.
pdfDocument | the document to be split. |
|
inlinevirtual |
Extracts the specified page ranges from a document.
pageRange | the page range to be extracted from the document. |
|
inlinevirtual |
Extracts the specified page ranges from a document.
pageRanges | the list of page ranges for each of the resultant document. |
|
inlinevirtual |
Sets the iText.Commons.Actions.Contexts.IMetaInfo that will be used during iText.Kernel.Pdf.PdfDocument creation.
metaInfo | meta info to set |
|
inlinevirtual |
If original document has outlines, then by default all resultant document will also have outlines.
If original document has outlines, then by default all resultant document will also have outlines. This could be changed with this flag - if set to false, resultant documents won't contain outlines, even if original document had them.
preserveOutlines | defines whether the resultant documents will preserve outlines or not |
|
inlinevirtual |
If original document is tagged, then by default all resultant document will also be tagged.
If original document is tagged, then by default all resultant document will also be tagged. This could be changed with this flag - if set to false, resultant documents will be not tagged, even if original document is tagged.
preserveTagged | defines whether the resultant documents need to be tagged |
|
inlinevirtual |
Split a document by outline title (bookmark name), find outline by name and places the entire hierarchy in a separate document ( outlines and pages ) .
outlineTitles | list of outline titles . |
|
inlinevirtual |
Splits a document into smaller documents with no more than @pageCount pages each.
pageCount | the biggest possible number of pages in a split document. |
|
inlinevirtual |
Splits a document into smaller documents with no more than @pageCount pages each.
pageCount | the biggest possible number of pages in a split document. |
documentReady | the event listener which is called when another document is ready. You can close this document in this listener, for instance. |
|
inlinevirtual |
Splits the document by page numbers.
pageNumbers | the numbers of pages from which another document is to be started. If the first element is not 1, then 1 is implied (i.e. the first split document will start from page 1 in any case). |
|
inlinevirtual |
Splits the document by page numbers.
pageNumbers | the numbers of pages from which another document is to be started. If the first element is not 1, then 1 is implied (i.e. the first split document will start from page 1 in any case). |
documentReady | the event listener which is called when another document is ready. You can close this document in this listener, for instance. |
|
inlinevirtual |
Splits the document basing on the given size specified in bytes.
size | Preferred size specified in bytes for splitting. |