Constructor and Description |
---|
AnnotationManager(InternalPdfDocument internalPdfDocument)
Please get AnnotationManager by
PdfDocument.getAnnotation() instead. |
Constructor and Description |
---|
AttachmentManager(InternalPdfDocument internalPdfDocument)
Please get AttachmentManager by
PdfDocument.getAttachment() instead. |
Constructor and Description |
---|
BookmarkManager(InternalPdfDocument internalPdfDocument)
Please get BookmarkManager by
PdfDocument.getBookmark() instead. |
Constructor and Description |
---|
FormManager(InternalPdfDocument internalPdfDocument)
Please get FormManager by
PdfDocument.getForm() instead. |
Modifier and Type | Method and Description |
---|---|
static InternalPdfDocument |
Page_Api.copyPage(InternalPdfDocument internalPdfDocument,
Iterable<Integer> pageIndexes)
Creates a new PDF by copying a range of pages from this PdfDocument.
|
static InternalPdfDocument |
PdfDocument_Api.fromBytes(byte[] pdfFileBytes)
Opens an existing PDF document for editing.
|
static InternalPdfDocument |
PdfDocument_Api.fromBytes(byte[] pdfFileBytes,
String userPassword)
Opens an existing PDF document for editing.
|
static InternalPdfDocument |
PdfDocument_Api.fromBytes(byte[] pdfFileBytes,
String userPassword,
String ownerPassword)
Opens an existing PDF document for editing.
|
static InternalPdfDocument |
PdfDocument_Api.fromFile(String pdfFilePath)
Opens an existing PDF document for editing.
|
static InternalPdfDocument |
PdfDocument_Api.fromFile(String pdfFilePath,
String password)
Opens an existing PDF document for editing.
|
static InternalPdfDocument |
PdfDocument_Api.fromFile(String pdfFilePath,
String password,
String ownerPassword)
Opens an existing PDF document for editing.
|
static InternalPdfDocument |
PdfDocument_Api.getRevision(InternalPdfDocument internalPdfDocument,
int index)
Gets the binary data for the full PDF file as a byte array.
|
static InternalPdfDocument |
Image_Api.imageToPdf(List<Image_Api.ImageData> imagesData,
ImageBehavior imageBehavior,
ChromePdfRenderOptions renderOptions)
Converts multiple image files to a PDF document.
|
static InternalPdfDocument |
Page_Api.mergePage(List<InternalPdfDocument> pdfDocuments)
Static method that joins (concatenates) multiple PDF documents together into one compiled PDF
document.
|
static InternalPdfDocument |
Render_Api.renderHtmlAsPdf(String html)
Creates a PDF file from a Html string, and returns it as a
InternalPdfDocument . |
static InternalPdfDocument |
Render_Api.renderHtmlAsPdf(String html,
ChromeHttpLoginCredentials loginCredentials)
Creates a PDF file from a Html string, and returns it as a
InternalPdfDocument . |
static InternalPdfDocument |
Render_Api.renderHtmlAsPdf(String html,
ChromePdfRenderOptions renderOptions)
Creates a PDF file from a Html string, and returns it as a
InternalPdfDocument . |
static InternalPdfDocument |
Render_Api.renderHtmlAsPdf(String html,
ChromePdfRenderOptions renderOptions,
ChromeHttpLoginCredentials loginCredentials)
Creates a PDF file from a Html string, and returns it as a
InternalPdfDocument . |
static InternalPdfDocument |
Render_Api.renderHtmlAsPdf(String html,
ChromePdfRenderOptions renderOptions,
ChromeHttpLoginCredentials loginCredentials,
String baseUrl)
Creates a PDF file from a Html string, and returns it as a
InternalPdfDocument . |
static InternalPdfDocument |
Render_Api.renderHtmlAsPdf(String html,
String baseUrl)
Creates a PDF file from a Html string, and returns it as a
InternalPdfDocument . |
static InternalPdfDocument |
Render_Api.renderHtmlAsPdf(String html,
String baseUrl,
ChromeHttpLoginCredentials loginCredentials)
Creates a PDF file from a Html string, and returns it as a
InternalPdfDocument . |
static InternalPdfDocument |
Render_Api.renderHtmlAsPdf(String html,
String baseUrl,
ChromePdfRenderOptions renderOptions)
Creates a PDF file from a Html string, and returns it as a
InternalPdfDocument . |
static InternalPdfDocument |
Render_Api.renderHtmlFileAsPdf(String htmlFilePath)
Creates a PDF file from a local Html file, and returns it as a
InternalPdfDocument . |
static InternalPdfDocument |
Render_Api.renderHtmlFileAsPdf(String htmlFilePath,
ChromeHttpLoginCredentials loginCredentials)
Creates a PDF file from a local Html file, and returns it as a
InternalPdfDocument . |
static InternalPdfDocument |
Render_Api.renderHtmlFileAsPdf(String htmlFilePath,
ChromePdfRenderOptions renderOptions)
Creates a PDF file from a local Html file, and returns it as a
InternalPdfDocument . |
static InternalPdfDocument |
Render_Api.renderHtmlFileAsPdf(String htmlFilePath,
String baseUrl,
ChromePdfRenderOptions renderOptions,
ChromeHttpLoginCredentials loginCredentials)
Creates a PDF file from a local Html file, and returns it as a
InternalPdfDocument . |
static InternalPdfDocument |
Render_Api.renderRtfAsPdf(String rtfString)
Creates a PDF file from RTF string, and returns it as a
InternalPdfDocument . |
static InternalPdfDocument |
Render_Api.renderUrlAsPdf(String url)
Creates a PDF file from a URL or local file path and returns it as a
InternalPdfDocument . |
static InternalPdfDocument |
Render_Api.renderUrlAsPdf(String url,
ChromeHttpLoginCredentials loginCredentials)
Creates a PDF file from a URL or local file path and returns it as a
InternalPdfDocument . |
static InternalPdfDocument |
Render_Api.renderUrlAsPdf(String url,
ChromePdfRenderOptions renderOptions)
Creates a PDF file from a URL or local file path and returns it as a
InternalPdfDocument . |
static InternalPdfDocument |
Render_Api.renderUrlAsPdf(String url,
ChromePdfRenderOptions renderOptions,
ChromeHttpLoginCredentials loginCredentials)
Creates a PDF file from a URL or local file path and returns it as a
InternalPdfDocument . |
static InternalPdfDocument |
Render_Api.renderZipAsPdf(Path zipFilePath,
String mainFile,
ChromePdfRenderOptions renderOptions,
ChromeHttpLoginCredentials loginCredentials) |
Modifier and Type | Method and Description |
---|---|
static void |
BackgroundForeground_Api.addBackground(InternalPdfDocument baseDocument,
InternalPdfDocument backgroundDocument)
Adds the background to specified pages of this PDF.
|
static void |
BackgroundForeground_Api.addBackground(InternalPdfDocument baseDocument,
InternalPdfDocument backgroundDocument,
Iterable<Integer> basePdfPageIndexes)
Adds the background to specified pages of this PDF.
|
static void |
BackgroundForeground_Api.addBackground(InternalPdfDocument baseDocument,
InternalPdfDocument backgroundDocument,
Iterable<Integer> basePdfPageIndexes,
int backgroundPdfPageIndex)
Adds the background to specified pages of this PDF.
|
static void |
BackgroundForeground_Api.addForeground(InternalPdfDocument baseDocument,
InternalPdfDocument foregroundDocument)
Adds an overlay to a range or pages of this PDF.
|
static void |
BackgroundForeground_Api.addForeground(InternalPdfDocument baseDocument,
InternalPdfDocument foregroundDocument,
Iterable<Integer> basePdfPageIndexes)
Adds an overlay to a range or pages of this PDF.
|
static void |
BackgroundForeground_Api.addForeground(InternalPdfDocument baseDocument,
InternalPdfDocument foregroundDocument,
Iterable<Integer> basePdfPageIndexes,
int foregroundPdfPageIndex)
Adds an overlay to a range or pages of this PDF.
|
static void |
HeaderFooter_Api.addHtmlFooter(InternalPdfDocument internalPdfDocument,
HtmlHeaderFooter footer)
Renders HTML page footers to an existing PDF File
|
static void |
HeaderFooter_Api.addHtmlFooter(InternalPdfDocument internalPdfDocument,
HtmlHeaderFooter footer,
int firstPageNumber)
Renders HTML page footers to an existing PDF File
|
static void |
HeaderFooter_Api.addHtmlFooter(InternalPdfDocument internalPdfDocument,
HtmlHeaderFooter footer,
int firstPageNumber,
Iterable<Integer> pageIndexesToAddFootersTo)
Renders HTML page footers to an existing PDF File
|
static void |
HeaderFooter_Api.addHtmlFooter(InternalPdfDocument internalPdfDocument,
HtmlHeaderFooter footer,
int firstPageNumber,
Iterable<Integer> pageIndexesToAddFootersTo,
int marginLeftMm)
Renders HTML page footers to an existing PDF File
|
static void |
HeaderFooter_Api.addHtmlFooter(InternalPdfDocument internalPdfDocument,
HtmlHeaderFooter footer,
int firstPageNumber,
Iterable<Integer> pageIndexesToAddFootersTo,
int marginLeftMm,
int marginRightMm)
Renders HTML page footers to an existing PDF File
|
static void |
HeaderFooter_Api.addHtmlFooter(InternalPdfDocument internalPdfDocument,
HtmlHeaderFooter footer,
int firstPageNumber,
Iterable<Integer> pageIndexesToAddFootersTo,
int marginLeftMm,
int marginRightMm,
int marginTopMm)
Renders HTML page footers to an existing PDF File
|
static void |
HeaderFooter_Api.addHtmlFooter(InternalPdfDocument internalPdfDocument,
HtmlHeaderFooter footer,
int firstPageNumber,
Iterable<Integer> pageIndexesToAddFootersTo,
int marginLeftMm,
int marginRightMm,
int marginTopMm,
int marginBottomMm)
Renders HTML page footers to an existing PDF File
|
static void |
HeaderFooter_Api.addHtmlFooter(InternalPdfDocument internalPdfDocument,
HtmlHeaderFooter footer,
int firstPageNumber,
Iterable<Integer> pageIndexesToAddFootersTo,
int marginLeftMm,
int marginRightMm,
int marginTopMm,
int marginBottomMm,
CssMediaType renderPdfCssMediaType)
Renders HTML page footers to an existing PDF File
|
static void |
HeaderFooter_Api.addHtmlFooter(InternalPdfDocument internalPdfDocument,
HtmlHeaderFooter footer,
int firstPageNumber,
Iterable<Integer> pageIndexesToAddFootersTo,
int marginLeftMm,
int marginRightMm,
int marginTopMm,
int marginBottomMm,
CssMediaType renderPdfCssMediaType,
String pdfTitle)
Renders HTML page footers to an existing PDF File
|
static void |
HeaderFooter_Api.addHtmlFooter(InternalPdfDocument internalPdfDocument,
HtmlHeaderFooter footer,
int firstPageNumber,
Iterable<Integer> pageIndexesToAddFootersTo,
int marginLeftMm,
int marginRightMm,
int marginTopMm,
int marginBottomMm,
CssMediaType renderPdfCssMediaType,
String pdfTitle,
String htmlTitle)
Renders HTML page footers to an existing PDF File
|
static void |
HeaderFooter_Api.addHtmlHeader(InternalPdfDocument internalPdfDocument,
HtmlHeaderFooter header)
Renders HTML page headers to an existing PDF File
|
static void |
HeaderFooter_Api.addHtmlHeader(InternalPdfDocument internalPdfDocument,
HtmlHeaderFooter header,
int firstPageNumber)
Renders HTML page headers to an existing PDF File
|
static void |
HeaderFooter_Api.addHtmlHeader(InternalPdfDocument internalPdfDocument,
HtmlHeaderFooter header,
int firstPageNumber,
Iterable<Integer> pageIndexesToAddFootersTo)
Renders HTML page headers to an existing PDF File
|
static void |
HeaderFooter_Api.addHtmlHeader(InternalPdfDocument internalPdfDocument,
HtmlHeaderFooter header,
int firstPageNumber,
Iterable<Integer> pageIndexesToAddFootersTo,
int marginLeftMm)
Renders HTML page headers to an existing PDF File
|
static void |
HeaderFooter_Api.addHtmlHeader(InternalPdfDocument internalPdfDocument,
HtmlHeaderFooter header,
int firstPageNumber,
Iterable<Integer> pageIndexesToAddFootersTo,
int marginLeftMm,
int marginRightMm)
Renders HTML page headers to an existing PDF File
|
static void |
HeaderFooter_Api.addHtmlHeader(InternalPdfDocument internalPdfDocument,
HtmlHeaderFooter header,
int firstPageNumber,
Iterable<Integer> pageIndexesToAddFootersTo,
int marginLeftMm,
int marginRightMm,
int marginTopMm)
Renders HTML page headers to an existing PDF File
|
static void |
HeaderFooter_Api.addHtmlHeader(InternalPdfDocument internalPdfDocument,
HtmlHeaderFooter header,
int firstPageNumber,
Iterable<Integer> pageIndexesToAddFootersTo,
int marginLeftMm,
int marginRightMm,
int marginTopMm,
int marginBottomMm)
Renders HTML page headers to an existing PDF File
|
static void |
HeaderFooter_Api.addHtmlHeader(InternalPdfDocument internalPdfDocument,
HtmlHeaderFooter header,
int firstPageNumber,
Iterable<Integer> pageIndexesToAddFootersTo,
int marginLeftMm,
int marginRightMm,
int marginTopMm,
int marginBottomMm,
CssMediaType renderPdfCssMediaType)
Renders HTML page headers to an existing PDF File
|
static void |
HeaderFooter_Api.addHtmlHeader(InternalPdfDocument internalPdfDocument,
HtmlHeaderFooter header,
int firstPageNumber,
Iterable<Integer> pageIndexesToAddFootersTo,
int marginLeftMm,
int marginRightMm,
int marginTopMm,
int marginBottomMm,
CssMediaType renderPdfCssMediaType,
String pdfTitle)
Renders HTML page headers to an existing PDF File
|
static void |
HeaderFooter_Api.addHtmlHeader(InternalPdfDocument internalPdfDocument,
HtmlHeaderFooter header,
int firstPageNumber,
Iterable<Integer> pageIndexesToAddFootersTo,
int marginLeftMm,
int marginRightMm,
int marginTopMm,
int marginBottomMm,
CssMediaType renderPdfCssMediaType,
String pdfTitle,
String htmlTitle)
Renders HTML page headers to an existing PDF File
|
static void |
Attachment_Api.addPdfAttachment(InternalPdfDocument internalPdfDocument,
String name,
byte[] attachmentBytes)
Add a new attachment
|
static void |
Annotation_Api.addTextAnnotation(InternalPdfDocument internalPdfDocument,
TextAnnotation textAnnotation,
int pageIndex,
int x,
int y)
Adds an annotation to a page of this
InternalPdfDocument |
static void |
Annotation_Api.addTextAnnotation(InternalPdfDocument internalPdfDocument,
TextAnnotation textAnnotation,
int pageIndex,
int x,
int y,
int width)
Adds an annotation to a page of this
InternalPdfDocument |
static void |
Annotation_Api.addTextAnnotation(InternalPdfDocument internalPdfDocument,
TextAnnotation textAnnotation,
int pageIndex,
int x,
int y,
int width,
int height)
Adds an annotation to a page of this
InternalPdfDocument |
static void |
HeaderFooter_Api.addTextFooter(InternalPdfDocument internalPdfDocument,
TextHeaderFooter footer)
Renders page footers to an existing PDF File
|
static void |
HeaderFooter_Api.addTextFooter(InternalPdfDocument internalPdfDocument,
TextHeaderFooter footer,
int firstPageNumber)
Renders page footers to an existing PDF File
|
static void |
HeaderFooter_Api.addTextFooter(InternalPdfDocument internalPdfDocument,
TextHeaderFooter footer,
int firstPageNumber,
Iterable<Integer> pageIndexesToAddFootersTo)
Renders page footers to an existing PDF File
|
static void |
HeaderFooter_Api.addTextFooter(InternalPdfDocument internalPdfDocument,
TextHeaderFooter footer,
int firstPageNumber,
Iterable<Integer> pageIndexesToAddFootersTo,
int marginLeftMm)
Renders page footers to an existing PDF File
|
static void |
HeaderFooter_Api.addTextFooter(InternalPdfDocument internalPdfDocument,
TextHeaderFooter footer,
int firstPageNumber,
Iterable<Integer> pageIndexesToAddFootersTo,
int marginLeftMm,
int marginRightMm)
Renders page footers to an existing PDF File
|
static void |
HeaderFooter_Api.addTextFooter(InternalPdfDocument internalPdfDocument,
TextHeaderFooter footer,
int firstPageNumber,
Iterable<Integer> pageIndexesToAddFootersTo,
int marginLeftMm,
int marginRightMm,
int marginTopMm)
Renders page footers to an existing PDF File
|
static void |
HeaderFooter_Api.addTextFooter(InternalPdfDocument internalPdfDocument,
TextHeaderFooter footer,
int firstPageNumber,
Iterable<Integer> pageIndexesToAddFootersTo,
int marginLeftMm,
int marginRightMm,
int marginTopMm,
int marginBottomMm)
Renders page footers to an existing PDF File
|
static void |
HeaderFooter_Api.addTextFooter(InternalPdfDocument internalPdfDocument,
TextHeaderFooter footer,
int firstPageNumber,
Iterable<Integer> pageIndexesToAddFootersTo,
int marginLeftMm,
int marginRightMm,
int marginTopMm,
int marginBottomMm,
String pdfTitle)
Renders page footers to an existing PDF File
|
static void |
HeaderFooter_Api.addTextHeader(InternalPdfDocument internalPdfDocument,
TextHeaderFooter header)
Renders page headers to an existing PDF File
|
static void |
HeaderFooter_Api.addTextHeader(InternalPdfDocument internalPdfDocument,
TextHeaderFooter header,
int firstPageNumber)
Renders page headers to an existing PDF File
|
static void |
HeaderFooter_Api.addTextHeader(InternalPdfDocument internalPdfDocument,
TextHeaderFooter header,
int firstPageNumber,
Iterable<Integer> pageIndexesToAddFootersTo)
Renders page headers to an existing PDF File
|
static void |
HeaderFooter_Api.addTextHeader(InternalPdfDocument internalPdfDocument,
TextHeaderFooter header,
int firstPageNumber,
Iterable<Integer> pageIndexesToAddFootersTo,
int marginLeftMm)
Renders page headers to an existing PDF File
|
static void |
HeaderFooter_Api.addTextHeader(InternalPdfDocument internalPdfDocument,
TextHeaderFooter header,
int firstPageNumber,
Iterable<Integer> pageIndexesToAddFootersTo,
int marginLeftMm,
int marginRightMm)
Renders page headers to an existing PDF File
|
static void |
HeaderFooter_Api.addTextHeader(InternalPdfDocument internalPdfDocument,
TextHeaderFooter header,
int firstPageNumber,
Iterable<Integer> pageIndexesToAddFootersTo,
int marginLeftMm,
int marginRightMm,
int marginTopMm)
Renders page headers to an existing PDF File
|
static void |
HeaderFooter_Api.addTextHeader(InternalPdfDocument internalPdfDocument,
TextHeaderFooter header,
int firstPageNumber,
Iterable<Integer> pageIndexesToAddFootersTo,
int marginLeftMm,
int marginRightMm,
int marginTopMm,
int marginBottomMm)
Renders page headers to an existing PDF File
|
static void |
HeaderFooter_Api.addTextHeader(InternalPdfDocument internalPdfDocument,
TextHeaderFooter header,
int firstPageNumber,
Iterable<Integer> pageIndexesToAddFootersTo,
int marginLeftMm,
int marginRightMm,
int marginTopMm,
int marginBottomMm,
String pdfTitle)
Renders page headers to an existing PDF File
|
static void |
Page_Api.appendPdf(InternalPdfDocument mainPdfDocument,
InternalPdfDocument anotherPdf)
Appends another PDF to the end of the current
InternalPdfDocument If AnotherPdfFile
contains form fields, those fields will be appended with '_' in the resulting PDF. |
static void |
Stamp_Api.applyStamp(InternalPdfDocument internalPdfDocument,
Stamper stamper,
Iterable<Integer> pageIndexesToStamp) |
static void |
Compress_Api.compressImages(InternalPdfDocument internalPdfDocument,
int quality,
boolean scaleToVisibleSize)
Compress existing images using JPG encoding and the specified settings
|
static InternalPdfDocument |
Page_Api.copyPage(InternalPdfDocument internalPdfDocument,
Iterable<Integer> pageIndexes)
Creates a new PDF by copying a range of pages from this PdfDocument.
|
static void |
Image_Api.drawImage(InternalPdfDocument internalPdfDocument,
byte[] imageBytes,
Iterable<Integer> pageIndexes,
double x,
double y,
double desiredWidth,
double desiredHeight)
Draw an image multiple times according to the specified parameters; all occurrences of the
image will share a single data stream
|
static List<byte[]> |
Image_Api.extractAllImages(InternalPdfDocument internalPdfDocument)
Finds all embedded Images from within the PDF and returns as list of image bytes
|
static List<byte[]> |
Image_Api.extractAllImages(InternalPdfDocument internalPdfDocument,
Iterable<Integer> pageIndexes)
Finds all embedded Images from within the PDF and returns then as image byte[] objects
|
static String |
Text_Api.extractAllText(InternalPdfDocument internalPdfDocument)
Extracts the written text content from the PDF and returns it as a string.
|
static String |
Text_Api.extractAllText(InternalPdfDocument internalPdfDocument,
Iterable<Integer> pageIndexes)
Extracts the written text content from the PDF and returns it as a string.
|
static void |
Form_Api.flattenPdfFrom(InternalPdfDocument internalPdfDocument)
Flattens a document (make the fields non-editable).
|
static void |
Form_Api.flattenPdfFrom(InternalPdfDocument internalPdfDocument,
Iterable<Integer> pageIndexes)
Flattens a document (make the fields non-editable).
|
static int |
Annotation_Api.getAnnotationCount(InternalPdfDocument internalPdfDocument,
int pageIndex)
Retrieve the number of annotations contained on the specified page
|
static String |
Metadata_Api.getAuthor(InternalPdfDocument internalPdfDocument)
Gets the Author of the document.
|
static List<Bookmark> |
Bookmark_Api.getBookmarks(InternalPdfDocument internalPdfDocument)
Retrieve all bookmarks within this PDF, recursively retrieve all children of bookmarks within
this collection, and return a flat list
|
static byte[] |
PdfDocument_Api.getBytes(InternalPdfDocument internalPdfDocument,
boolean isIncremental)
Gets the binary data for the full PDF file as a byte array.
|
static String |
Metadata_Api.getCreationDate(InternalPdfDocument internalPdfDocument)
Gets the PDF file creation DateTime.
|
static String |
Metadata_Api.getCreator(InternalPdfDocument internalPdfDocument)
Gets the Creator of the document.
|
static List<FormField> |
Form_Api.getFields(InternalPdfDocument internalPdfDocument)
Get a collection of the user-editable form fields within a PDF document
|
static String |
Metadata_Api.getKeywords(InternalPdfDocument internalPdfDocument)
Gets Keywords of the document.
|
static String |
Metadata_Api.getMetadata(InternalPdfDocument internalPdfDocument,
String key)
Gets any metadata value of the document form given key.
|
static String |
Metadata_Api.getModifiedDate(InternalPdfDocument internalPdfDocument)
Gets the PDF file last-modified DateTime.
|
static List<PageInfo> |
Page_Api.getPagesInfo(InternalPdfDocument internalPdfDocument)
Gets the list of pages with information in the PDF document.
|
static List<String> |
Attachment_Api.getPdfAttachmentCollection(InternalPdfDocument internalPdfDocument)
Gets collection of attachments contained within a pdf document
|
static byte[] |
Attachment_Api.getPdfAttachmentData(InternalPdfDocument internalPdfDocument,
String name)
Gets attachment data from attachment name
|
static SecurityOptions |
Security_Api.getPdfSecurityOptions(InternalPdfDocument internalPdfDocument)
Get PDF security settings
|
static String |
Metadata_Api.getProducer(InternalPdfDocument internalPdfDocument)
Gets the Producer of the document.
|
static InternalPdfDocument |
PdfDocument_Api.getRevision(InternalPdfDocument internalPdfDocument,
int index)
Gets the binary data for the full PDF file as a byte array.
|
static String |
Metadata_Api.getSubject(InternalPdfDocument internalPdfDocument)
Gets Subject of the document.
|
static String |
Metadata_Api.getTitle(InternalPdfDocument internalPdfDocument)
Gets the Title of the document.
|
static List<VerifiedSignature> |
Signature_Api.getVerifiedSignatures(InternalPdfDocument internalPdfDocument) |
static void |
Bookmark_Api.insertBookmark(InternalPdfDocument internalPdfDocument,
int pageIndex,
String text,
String parentText,
String previousText)
Insert a new bookmark
|
static void |
Bookmark_Api.insertBookmarkAsFirstChild(InternalPdfDocument internalPdfDocument,
int pageIndex,
String text,
String parentText)
Insert a new bookmark
|
static void |
Bookmark_Api.insertBookmarkAtStart(InternalPdfDocument internalPdfDocument,
int pageIndex,
String text)
Insert a new bookmark
|
static void |
Page_Api.insertPage(InternalPdfDocument internalPdfDocument,
InternalPdfDocument anotherPdf)
Inserts another PDF into the current PdfDocument, starting at a given Page Index.
|
static void |
Page_Api.insertPage(InternalPdfDocument internalPdfDocument,
InternalPdfDocument anotherPdf,
int atIndex)
Inserts another PDF into the current PdfDocument, starting at a given Page Index.
|
static void |
Security_Api.makePdfDocumentReadOnly(InternalPdfDocument internalPdfDocument,
String ownerPassword)
Makes this PDF document read only such that:
|
static List<byte[]> |
Image_Api.pdfToImage(InternalPdfDocument internalPdfDocument)
Renders the PDF and exports image Files in convenient formats.
|
static List<byte[]> |
Image_Api.pdfToImage(InternalPdfDocument internalPdfDocument,
Iterable<Integer> pageIndexes)
Renders the PDF and exports image Files in convenient formats.
|
static List<byte[]> |
Image_Api.pdfToImage(InternalPdfDocument internalPdfDocument,
Iterable<Integer> pageIndexes,
int dpi)
Renders the PDF and exports image Files in convenient formats.
|
static List<byte[]> |
Image_Api.pdfToImage(InternalPdfDocument internalPdfDocument,
Iterable<Integer> pageIndexes,
int dpi,
Integer imageMaxWidth)
Renders the PDF and exports image Files in convenient formats.
|
static List<byte[]> |
Image_Api.pdfToImage(InternalPdfDocument internalPdfDocument,
Iterable<Integer> pageIndexes,
int dpi,
Integer imageMaxWidth,
Integer imageMaxHeight)
Renders the PDF and exports image Files in convenient formats.
|
static void |
Print_Api.print(InternalPdfDocument internalPdfDocument,
boolean isShowDialog)
Print.
|
static void |
Metadata_Api.removeMetadata(InternalPdfDocument internalPdfDocument,
String key)
Method for removing Metadata property by its name.
|
static void |
Page_Api.removePage(InternalPdfDocument internalPdfDocument,
Iterable<Integer> pageIndexes)
Removes a range of pages from the PDF
|
static void |
Security_Api.removePasswordsAndEncryption(InternalPdfDocument internalPdfDocument)
Removes all user and owner password security for a PDF document.
|
static void |
Attachment_Api.removePdfAttachment(InternalPdfDocument internalPdfDocument,
String name)
Remove attachment by attachment name
|
static void |
Signature_Api.removeSignature(InternalPdfDocument internalPdfDocument) |
static void |
Form_Api.renameField(InternalPdfDocument internalPdfDocument,
String currentFieldName,
String newFieldName)
Rename a
FormField |
static void |
Text_Api.replaceTextOnPage(InternalPdfDocument internalPdfDocument,
int pageIndex,
String oldText,
String newText)
Replace the specified old text with new text on a given page
|
static void |
Page_Api.resizePage(InternalPdfDocument internalPdfDocument,
double pageWidth,
double pageHeight,
Integer pageIndex)
Resize a page to the specified dimensions (in millimeters)
|
static void |
PdfDocument_Api.saveAs(InternalPdfDocument internalPdfDocument,
String filePath)
Save as.
|
static void |
PdfDocument_Api.saveAsRevision(InternalPdfDocument internalPdfDocument,
String filePath)
Save as.
|
static void |
Metadata_Api.setAuthor(InternalPdfDocument internalPdfDocument,
String value)
Sets the Author of the document.
|
static void |
Metadata_Api.setCreationDate(InternalPdfDocument internalPdfDocument,
String value)
Sets the PDF file creation DateTime.
|
static void |
Metadata_Api.setCreator(InternalPdfDocument internalPdfDocument,
String value)
Sets the Creator of the document.
|
static void |
Form_Api.setFieldValue(InternalPdfDocument internalPdfDocument,
String fieldName,
String value)
Set the value of a
FormField |
static void |
Form_Api.setFormFieldIsReadOnly(InternalPdfDocument internalPdfDocument,
String formFieldName,
boolean isReadOnly)
Sets text field font.
|
static void |
Metadata_Api.setKeywords(InternalPdfDocument internalPdfDocument,
String value)
Sets Keywords of the document.
|
static void |
Metadata_Api.setMetadata(InternalPdfDocument internalPdfDocument,
String key,
String value)
Sets any metadata value of the document form given key.
|
static void |
Metadata_Api.setModifiedDate(InternalPdfDocument internalPdfDocument,
String value)
Gets the PDF file last-modified DateTime.
|
static void |
Page_Api.setPageRotation(InternalPdfDocument internalPdfDocument,
PageRotation pageRotation)
Rotates all page of the PdfDocument by a specified number of degrees.
|
static void |
Page_Api.setPageRotation(InternalPdfDocument internalPdfDocument,
PageRotation pageRotation,
Iterable<Integer> pageIndexes)
Rotates pages of the PdfDocument by a specified number of degrees.
|
static void |
Security_Api.setPdfSecuritySettings(InternalPdfDocument internalPdfDocument,
SecurityOptions securityOptions)
Set PDF security settings
|
static void |
Metadata_Api.setProducer(InternalPdfDocument internalPdfDocument,
String value)
Sets the Producer of the document.
|
static void |
Metadata_Api.setSubject(InternalPdfDocument internalPdfDocument,
String value)
Sets the Subject of the document.
|
static void |
Form_Api.setTextFieldFont(InternalPdfDocument internalPdfDocument,
String textFieldName,
FontTypes font,
int fontSize)
Sets text field font.
|
static void |
Metadata_Api.setTitle(InternalPdfDocument internalPdfDocument,
String value)
Sets the Title of the document.
|
static void |
Signature_Api.signPdfWithSignatureFile(InternalPdfDocument internalPdfDocument,
Signature signature,
SignaturePermissions permissions) |
static byte[] |
Image_Api.toMultiPageTiff(InternalPdfDocument internalPdfDocument,
Iterable<Integer> pageIndexes,
int dpi,
Integer imageMaxWidth,
Integer imageMaxHeight) |
static boolean |
Signature_Api.verifyPdfSignatures(InternalPdfDocument internalPdfDocument) |
Modifier and Type | Method and Description |
---|---|
static InternalPdfDocument |
Page_Api.mergePage(List<InternalPdfDocument> pdfDocuments)
Static method that joins (concatenates) multiple PDF documents together into one compiled PDF
document.
|
Constructor and Description |
---|
MetadataManager(InternalPdfDocument internalPdfDocument)
Please get MetadataManager by
PdfDocument.getMetadata() instead. |
Constructor and Description |
---|
SecurityManager(InternalPdfDocument internalPdfDocument)
Please get SecurityManager by
PdfDocument.getSecurity() instead. |
Constructor and Description |
---|
SignatureManager(InternalPdfDocument internalPdfDocument)
Please get BookmarkManager by
PdfDocument.getBookmark() instead. |
Copyright © 2022–2023 Iron Software. All rights reserved.