Package com.dynamicpdf.api
Class Pdf
java.lang.Object
com.dynamicpdf.api.Endpoint
com.dynamicpdf.api.Pdf
Represents a pdf endpoint.
- 
Constructor Summary
Constructors - 
Method Summary
Modifier and TypeMethodDescriptionaddDlex(DlexResource dlexResource, LayoutDataResource layoutData)Returns aDlexInputobject containing the input pdf.addDlex(String cloudResourcePath, LayoutDataResource layoutData)Returns aDlexInputobject containing the input pdf.Returns aDlexInputobject containing the input pdf.addImage(ImageResource resource)Returns anImageInputobject containing the input pdf.Returns anImageInputobject containing the input pdf.addPage()Returns aPageInputobject containing the input pdf.addPage(float pageWidth, float pageHeight)Returns aPageInputobject containing the input pdf.addPdf(PdfResource resource)addPdf(PdfResource resource, MergeOptions options)Returns aPdfInputobject containing the input pdf.addPdf(String cloudResourcePath, MergeOptions options)Returns aPdfInputobject containing the input pdf.Gets the author.Gets the creator.booleanGets the value indicating whether to flatten all form fields.getFonts()Gets the fonts.Gets the formFields.Gets the inputs.Gets the keywords.Gets the outlines.Sets the collection of resource.booleanGets the value indicating whether to retain signature form field.Gets the security.Gets the subject.Gets the templates.getTitle()Gets the title.process()Process to create pdf.Process to create pdf.voidSets the author.voidsetCreator(String value)Sets the creator.voidsetFlattenAllFormFields(boolean value)Sets the value indicating whether to flatten all form fields.voidsetKeywords(String value)Sets the keywords.voidsetRetainSignatureFormFields(boolean value)Sets the value indicating whether to retain signature form field.voidsetSecurity(Security value)Sets the security.voidsetSubject(String value)Sets the subject.voidSets the title.Methods inherited from class com.dynamicpdf.api.Endpoint
createRequestSpecification, getApiKey, getBaseUrl, getDefaultApiKey, getDefaultBaseUrl, setApiKey, setBaseUrl, setDefaultApiKey, setDefaultBaseUrl 
- 
Constructor Details
- 
Pdf
public Pdf()Initializes a new instance of thePdfclass. 
 - 
 - 
Method Details
- 
getResources
Sets the collection of resource.- Returns:
 - The collection of resource.
 
 - 
getAuthor
Gets the author.- Returns:
 - The author.
 
 - 
setAuthor
Sets the author.- Parameters:
 value- The author.
 - 
getTitle
Gets the title.- Returns:
 - The title.
 
 - 
setTitle
Sets the title.- Parameters:
 value- The title.
 - 
getSubject
Gets the subject.- Returns:
 - The subject.
 
 - 
setSubject
Sets the subject.- Parameters:
 value- The subject.
 - 
getCreator
Gets the creator.- Returns:
 - The creator.
 
 - 
setCreator
Sets the creator.- Parameters:
 value- The creator.
 - 
getKeywords
Gets the keywords.- Returns:
 - The keywords.
 
 - 
setKeywords
Sets the keywords.- Parameters:
 value- The keywords.
 - 
getSecurity
Gets the security.- Returns:
 - The security.
 
 - 
setSecurity
Sets the security.- Parameters:
 value- The security.
 - 
getFlattenAllFormFields
public boolean getFlattenAllFormFields()Gets the value indicating whether to flatten all form fields.- Returns:
 - The value indicating whether to flatten all form fields.
 
 - 
setFlattenAllFormFields
public void setFlattenAllFormFields(boolean value)Sets the value indicating whether to flatten all form fields.- Parameters:
 value- The value indicating whether to flatten all form fields.
 - 
getRetainSignatureFormFields
public boolean getRetainSignatureFormFields()Gets the value indicating whether to retain signature form field.- Returns:
 - The value indicating whether to retain signature form field.
 
 - 
setRetainSignatureFormFields
public void setRetainSignatureFormFields(boolean value)Sets the value indicating whether to retain signature form field.- Parameters:
 value- The value indicating whether to retain signature form field.
 - 
addPdf
Returns aPdfInputobject containing the input pdf.- Parameters:
 resource- The resource of typePdfResource.options- The merge options for the pdf.
 - 
addPdf
- Parameters:
 resource- The resource of typePdfResource.- Returns:
 - Added pdf pages
 
 - 
addPdf
Returns aPdfInputobject containing the input pdf.- Parameters:
 cloudResourcePath- The resource path in cloud resource manager.options- The merge options for the pdf.- Returns:
 - Added pdf pages
 
 - 
addPdf
- Parameters:
 cloudResourcePath- The resource path in cloud resource manager.- Returns:
 - Added pdf pages
 
 - 
addImage
Returns anImageInputobject containing the input pdf.- Parameters:
 resource- The resource of typeImageResource.- Returns:
 - Added pdf pages
 
 - 
addImage
Returns anImageInputobject containing the input pdf.- Parameters:
 cloudResourcePath- The resource path in cloud resource manager.- Returns:
 - Added pdf pages
 
 - 
addDlex
Returns aDlexInputobject containing the input pdf.- Parameters:
 dlexResource- The dlex resource of typeDlexResource.layoutData- The layout data resource of typeLayoutDataResource.- Returns:
 - Added pdf pages
 
 - 
addDlex
Returns aDlexInputobject containing the input pdf.- Parameters:
 cloudResourcePath- The resource path in cloud resource manager.layoutData- The layout data resource of typeLayoutDataResource.- Returns:
 - Added pdf pages
 
 - 
addDlex
Returns aDlexInputobject containing the input pdf.- Parameters:
 cloudResourcePath- The resource path in cloud resource manager.cloudLayoutDataPat- The layout data resource path in cloud resource manager.- Returns:
 - Added pdf pages
 
 - 
addPage
Returns aPageInputobject containing the input pdf.- Parameters:
 pageWidth- The width of the page.pageHeight- The height of the page.- Returns:
 - Added pdf pages
 
 - 
addPage
Returns aPageInputobject containing the input pdf.- Returns:
 - A 
PageInputobject containing the input pdf. 
 - 
getInputs
Gets the inputs.- Returns:
 - The inputs.
 
 - 
getTemplates
Gets the templates.- Returns:
 - The templates.
 
 - 
getFonts
Gets the fonts.- Returns:
 - The fonts.
 
 - 
getFormFields
Gets the formFields.- Returns:
 - The formFields.
 
 - 
getOutlines
Gets the outlines.- Returns:
 - The outlines.
 
 - 
getInstructonsJson
 - 
process
Process to create pdf.- Returns:
 - Pdf Response
 
 - 
processAsync
Process to create pdf.- Returns:
 - collection of 
PdfResponseas multithreading tasksCompletableFuture. 
 
 -