| Modifier and Type | Method and Description |
|---|---|
Document |
PDFObject.getDocument()
The Document of which this object is a member.
|
Document |
PDFAConvertResult.getPDFADocument()
Return the PDF/A compliant version of the document.
|
Document |
PDFXConvertResult.getPDFXDocument()
Return the PDF/X compliant version of the document.
|
| Modifier and Type | Method and Description |
|---|---|
void |
Content.addPage(int insertAfterIndex,
Document containerDoc,
Page srcPage,
Matrix dstMatrix,
java.util.List<java.lang.String> annotTypes,
java.util.EnumSet<AddPageFlags> flags,
Rect bbox)
Adds the specfied Page to the Content as a Form.
|
PDFObject |
PDFObject.clone(Document doc)
Makes a new copy of this PDFObject in memory, in the supplied document, using the same direct/indirect setting as this PDFObject.
|
PDFObject |
PDFObject.clone(Document doc,
boolean indirect)
Makes a new copy of this PDFObject in memory, in the supplied document, using supplied direct/indirect setting.
|
Container |
Container.colorConvert(Document document,
ColorProfile prof,
RenderIntent intent,
boolean embed)
Applies the specified ICC ColorProfile to the objects in the Container
|
Form |
Form.colorConvert(Document document,
ColorProfile prof,
RenderIntent intent,
boolean embed)
Applies the specified ICC ColorProfile to the objects in the form
|
Group |
Group.colorConvert(Document document,
ColorProfile prof,
RenderIntent intent,
boolean embed)
Applies the specified ICC ColorProfile to the elements in the Group object
|
Image |
Image.colorConvert(Document document,
ColorProfile prof,
RenderIntent intent,
boolean embed)
Applies the specified ICC ColorProfile to the Image
|
Path |
Path.colorConvert(Document document,
ColorProfile prof,
RenderIntent intent,
boolean embed)
Applies the specified ICC ColorProfile to the Path
|
Text |
Text.colorConvert(Document document,
ColorProfile prof,
RenderIntent intent,
boolean embed)
Applies the specified ICC ColorProfile to the Text object
|
void |
Font.embedNow(Document doc)
Embeds the Font.
|
void |
Document.insertPages(int mergeAfterThisPage,
Document doc2,
int startPage,
int numPages,
java.util.EnumSet<PageInsertFlags> insertFlags)
Inserts numPages pages from doc2 into doc.
|
void |
Document.insertPages(int mergeAfterThisPage,
Document doc2,
int startPage,
int numPages,
java.util.EnumSet<PageInsertFlags> insertFlags,
ProgressMonitor progressMonitor,
CancelProc cancelProc)
Inserts numPages pages from doc2 into doc.
|
void |
PDFOptimizer.optimize(Document doc,
javax.imageio.stream.ImageOutputStream stream) |
void |
PDFOptimizer.optimize(Document doc,
javax.imageio.stream.ImageOutputStream stream,
ProgressMonitor progressMonitor,
CancelProc cancelProc) |
void |
PDFOptimizer.optimize(Document document,
com.datalogics.PDFL.JavaStreamFile dest) |
void |
PDFOptimizer.optimize(Document document,
com.datalogics.PDFL.JavaStreamFile dest,
ProgressMonitor progressMonitor,
CancelProc cancelProc)
Perform the Optimization of a single document, saving the result in memory.
|
void |
PDFOptimizer.optimize(Document document,
java.lang.String newPath) |
void |
PDFOptimizer.optimize(Document document,
java.lang.String newPath,
ProgressMonitor progressMonitor,
CancelProc cancelProc)
Perform the Optimization of a single document, saving the result in a new file.
|
Form |
OCREngine.placeTextUnder(Image image,
Document inDocument)
Recognize text in the image, returning a form element with the image and the text underneath.
|
boolean |
PrintUserParams.posePrintDialog(Document doc)
Set the print parameters by posing a dialog box to the user.
|
void |
Document.replacePages(int startPage,
Document doc2,
int startPageDoc2,
int numPages,
boolean mergeTextAnnots)
Replaces the specified range of pages in one document with pages from another.
|
void |
PDFAConvertResult.setPDFADocument(Document value)
Set the PDF/A compliant version of the document.
|
void |
PDFXConvertResult.setPDFXDocument(Document value)
Set the PDF/X compliant version of the document.
|
void |
PrintUserParams.useDefaultPrinter(Document doc)
Set the print parameters to the defaults.
|
| Constructor and Description |
|---|
Action(Document doc,
java.lang.String type)
Creates a new action object.
|
DocTextFinder(Document doc,
WordFinderConfig wbConfig)
Create a DocTextFinder
|
FileAttachment(Document doc,
java.lang.String fileName)
Allows to add attachment into the PDF document.
|
FileSpecification(Document doc,
java.lang.String path)
Creates a new file specification object.
|
Form(Content content,
Document document)
Create a form with the given Content.
|
Image(java.lang.String fileName,
Document document)
Create a new Image from an existing physical file.
|
ImageCollection(java.lang.String fileName,
Document document)
Create from an image file.
|
NameTree(Document doc) |
NumberTree(Document doc) |
OptionalContentConfig(Document doc)
Create a new OptionalContentConfig.
|
OptionalContentContext(Document document)
Creates a context object that represents an optional-content state of the document, using the current state as the initial state for each group (OCG), as determined by the document's optional-content configuration.
|
OptionalContentGroup(Document doc,
java.lang.String name)
Create a new OptionalContentGroup.
|
OptionalContentMembershipDict(Document doc,
java.util.List<OptionalContentGroup> ocgs,
VisibilityPolicy vp)
Create a new OptionalContentMembershipDict.
|
OptionalContentMembershipDict(Document doc,
java.util.List<OptionalContentGroup> ocgs,
VisibilityPolicy vp,
PDFArray visibilityExpression)
Create a new OptionalContentMembershipDict.
|
OptionalContentOrderArray(Document doc)
Create an OptionalContentOrderArray with no title.
|
OptionalContentOrderArray(Document doc,
java.lang.String title)
Create an OptionalContentOrderArray with a title.
|
Page(Document doc,
int pageNum)
Gets a Page from a document.
|
Page(Document doc,
int afterPageNum,
Rect mediaBox)
Creates and acquires a new page.
|
PDFAConvertResult(Document doc,
java.util.EnumSet<SaveFlags> flags) |
PDFArray(Document doc,
boolean indirect)
General constructor
|
PDFBoolean(boolean value,
Document doc,
boolean indirect)
General constructor
|
PDFDict(Document doc,
boolean indirect)
General constructor
|
PDFInteger(int value,
Document doc,
boolean indirect)
General constructor
|
PDFName(java.lang.String value,
Document doc,
boolean indirect)
General constructor
|
PDFReal(double value,
Document doc,
boolean indirect)
General constructor
|
PDFStream(java.io.InputStream stream,
Document doc,
PDFDict encoding_dict,
PDFArray encoding_params)
General constructor
|
PDFString(byte[] value,
Document doc,
boolean indirect,
boolean storedAsHex)
General constructor
|
PDFString(java.lang.String value,
Document doc,
boolean indirect,
boolean storedAsHex)
String constructor
|
PDFString(java.lang.String value,
Document doc,
boolean indirect,
boolean storedAsHex,
boolean storedAsUTF16)
String constructor
|
PDFXConvertResult(Document doc,
java.util.EnumSet<SaveFlags> flags) |
RemoteDestination(Document doc,
int pageNum,
java.lang.String fitType,
Rect r,
double zoom)
Construct a RemoteDestination.
|
ViewDestination(Document doc,
int pageNum,
java.lang.String fitType,
Rect r,
double zoom)
General purpose constructor: construct with all elements
|
WordFinder(Document doc,
WordFinderVersion algVersion,
WordFinderConfig wbConfig)
Create a word finder
|