|
EasyPDF Java SDK v5.1 |
||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Objectcom.bcl.easypdf.EasyPDFPrinter.IPDFSetting
public class IPDFSetting
To review and modify PDF conversion setting for a given print job, create an object of this class.
| Method Summary | |
|---|---|
int |
getFolderDefaultOutputPath()
|
boolean |
getFolderRememberOutputPath()
|
java.lang.String |
getFolderSpecifiedOutputPath()
|
boolean |
getFontEmbedAsType0()
|
int |
getFontEmbedding()
Gets true type font embedding setting. |
int |
getFontSubstitution()
Gets font substitution setting. |
int |
getImageCompression()
|
int |
getImageDownsizeResolution()
|
boolean |
getImageDownsizing()
|
int |
getImageJPEGQuality()
|
int |
getImageQuality()
|
boolean |
getMetaData()
Meta data can be viewed by selecting "Document Properties" from the File menu of Adobe Reader. |
java.lang.String |
getMetaDataAuthor()
|
java.lang.String |
getMetaDataCreator()
|
java.lang.String |
getMetaDataKeywords()
|
java.lang.String |
getMetaDataSubject()
|
java.lang.String |
getMetaDataTitle()
|
boolean |
getSecurity()
|
int |
getSecurityAnnotation()
|
int |
getSecurityEncryption()
|
int |
getSecurityExtraction()
|
int |
getSecurityModification()
|
java.lang.String |
getSecurityOwnerPassword()
|
int |
getSecurityPrinting()
|
java.lang.String |
getSecurityUserPassword()
Returns the user password used to protect the PDF file against unauthorized viewing. |
boolean |
getSignature()
|
java.lang.String |
getSignatureDigitalIDFileName()
|
boolean |
getSignatureImage()
|
java.lang.String |
getSignatureImageFileName()
|
double |
getSignatureImagePosLeft()
|
double |
getSignatureImagePosTop()
|
int |
getSignatureImageZoom()
|
java.lang.String |
getSignatureInfoContact()
|
java.lang.String |
getSignatureInfoLocation()
|
java.lang.String |
getSignatureInfoPurpose()
|
boolean |
getStamp(int Index)
|
int |
getStampCount()
|
java.lang.String |
getStampFileName(int Index)
|
boolean |
getStampFirstPageOnly(int Index)
|
double |
getStampHOffset(int Index)
|
int |
getStampHPosition(int Index)
|
int |
getStampTransparentColor(int Index)
|
double |
getStampVOffset(int Index)
|
int |
getStampVPosition(int Index)
|
int |
getStampZoom(int Index)
|
int |
getStampZOrder(int Index)
|
boolean |
getUiAlerts()
|
boolean |
getUiFileDialog()
|
boolean |
getUiPropertiesDialog()
|
boolean |
getViewerHideMenuBar()
|
boolean |
getViewerHideToolBar()
|
boolean |
getViewerHideWinControls()
|
int |
getViewerMagnification()
Gets PDF viewer page magnification setting. |
int |
getViewerPageLayout()
Gets PDF viewer page layout setting. |
int |
getViewerPanel()
Gets PDF viewer panel setting. |
int |
getViewerPrintScaling()
Gets PDF viewer print scaling setting. |
boolean |
getWatermark(int Index)
|
int |
getWatermarkAngle(int Index)
|
int |
getWatermarkColor(int Index)
|
int |
getWatermarkCount()
|
boolean |
getWatermarkFirstPageOnly(int Index)
|
java.lang.String |
getWatermarkFontName(int Index)
|
int |
getWatermarkFontSize(int Index)
|
double |
getWatermarkHOffset(int Index)
|
int |
getWatermarkHPosition(int Index)
|
int |
getWatermarkOpacity(int Index)
|
boolean |
getWatermarkOutlineOnly(int Index)
|
java.lang.String |
getWatermarkText(int Index)
|
int |
getWatermarkTextAlignment(int Index)
|
double |
getWatermarkVOffset(int Index)
|
int |
getWatermarkVPosition(int Index)
|
int |
getWatermarkZOrder(int Index)
|
void |
Reset()
|
void |
Save()
|
void |
setFolderDefaultOutputPath(int EprnFolderDefault)
|
void |
setFolderRememberOutputPath(boolean newVal)
|
void |
setFolderSpecifiedOutputPath(java.lang.String newVal)
Before calling this method, you must call setFolderDefaultOutputPath with prnFolderDefault.PRN_FOLDER_DEFAULT_SPECIFY. |
void |
setFontEmbedAsType0(boolean newVal)
|
void |
setFontEmbedding(int EprnFontEmbedding)
Sets true type font embedding. |
void |
setFontSubstitution(int EprnFontSubstitution)
Sets the font substitution setting. |
void |
setImageCompression(int EprnImageCompression)
|
void |
setImageDownsizeResolution(int newVal)
|
void |
setImageDownsizing(boolean newVal)
If image downsizing is set to true, then the resolution of images is reduced to the DPI value returned from the method call getImageDownsizeResolution(). |
void |
setImageJPEGQuality(int newVal)
Before calling this method, you must make sure that image compression is set to JPEG or JPEG 2000. |
void |
setImageQuality(int newVal)
|
void |
setMetaData(boolean newVal)
|
void |
setMetaDataAuthor(java.lang.String newVal)
|
void |
setMetaDataCreator(java.lang.String newVal)
|
void |
setMetaDataKeywords(java.lang.String newVal)
|
void |
setMetaDataSubject(java.lang.String newVal)
|
void |
setMetaDataTitle(java.lang.String newVal)
|
void |
setSecurity(boolean newVal)
Call this method with true if you want to apply security to the PDF; otherwise, call it with false. |
void |
setSecurityAnnotation(int EprnSecAnnotationPerm)
|
void |
setSecurityEncryption(int EprnSecEncryption)
|
void |
setSecurityExtraction(int EprnSecExtractionPerm)
|
void |
setSecurityModification(int EprnSecModificationPerm)
|
void |
setSecurityOwnerPassword(java.lang.String newVal)
Sets the owner password, which is used to prevent the PDF security setting from being modified. |
void |
setSecurityPrinting(int EprnSecPrintingPerm)
|
void |
setSecurityUserPassword(java.lang.String newVal)
Sets the user password for the PDF. |
void |
setSignature(boolean newVal)
|
void |
setSignatureDigitalIDFileName(java.lang.String newVal)
Sets digtial ID file name. |
void |
setSignatureImage(boolean newVal)
You can use an image to represent a signature. |
void |
setSignatureImageFileName(java.lang.String newVal)
|
void |
setSignatureImagePosLeft(double newVal)
|
void |
setSignatureImagePosTop(double newVal)
|
void |
setSignatureImageZoom(int newVal)
|
void |
setSignatureInfoContact(java.lang.String newVal)
|
void |
setSignatureInfoLocation(java.lang.String newVal)
|
void |
setSignatureInfoPurpose(java.lang.String newVal)
|
void |
setStamp(int Index,
boolean newVal)
|
void |
setStampFileName(int Index,
java.lang.String newVal)
|
void |
setStampFirstPageOnly(int Index,
boolean newVal)
|
void |
setStampHOffset(int Index,
double newVal)
|
void |
setStampHPosition(int Index,
int EprnStampHPosition)
|
void |
setStampTransparentColor(int Index,
int newVal)
|
void |
setStampVOffset(int Index,
double newVal)
|
void |
setStampVPosition(int Index,
int EprnStampVPosition)
|
void |
setStampZoom(int Index,
int newVal)
|
void |
setStampZOrder(int Index,
int EprnStampZOrder)
|
void |
setUiAlerts(boolean newVal)
|
void |
setUiFileDialog(boolean newVal)
|
void |
setUiPropertiesDialog(boolean newVal)
|
void |
setViewerHideMenuBar(boolean newVal)
|
void |
setViewerHideToolBar(boolean newVal)
|
void |
setViewerHideWinControls(boolean newVal)
|
void |
setViewerMagnification(int EprnViewerMagnification)
Sets PDF viewer page magnification setting. |
void |
setViewerPageLayout(int EprnViewerPageLayout)
Sets PDF viewer page layout setting. |
void |
setViewerPanel(int EprnViewerPanel)
Sets PDF viewer panel setting. |
void |
setViewerPrintScaling(int EprnViewerPrintScaling)
Sets PDF viewer print scaling setting. |
void |
setWatermark(int Index,
boolean newVal)
|
void |
setWatermarkAngle(int Index,
int newVal)
|
void |
setWatermarkColor(int Index,
int newVal)
|
void |
setWatermarkFirstPageOnly(int Index,
boolean newVal)
|
void |
setWatermarkFontName(int Index,
java.lang.String newVal)
|
void |
setWatermarkFontSize(int Index,
int newVal)
|
void |
setWatermarkHOffset(int Index,
double newVal)
|
void |
setWatermarkHPosition(int Index,
int EprnWmarkHPosition)
|
void |
setWatermarkOpacity(int Index,
int newVal)
|
void |
setWatermarkOutlineOnly(int Index,
boolean newVal)
|
void |
setWatermarkText(int Index,
java.lang.String newVal)
|
void |
setWatermarkTextAlignment(int Index,
int EprnWmarkAlignment)
|
void |
setWatermarkVOffset(int Index,
double newVal)
|
void |
setWatermarkVPosition(int Index,
int EprnWmarkVPosition)
|
void |
setWatermarkZOrder(int Index,
int EprnWmarkZOrder)
|
void |
ShowPropertiesDialog(java.lang.Object HwndParent)
|
void |
SignatureCreateDigitalID(java.lang.String IDFileName,
java.lang.String IDPassword,
java.lang.String Name,
java.lang.String Country,
java.lang.String OrganizationName,
java.lang.String OrganizationUnit,
java.lang.String Email,
int EprnSigKeyLength)
|
void |
SignatureExportCertificate(java.lang.String CertificateFileName,
java.lang.String IDFileName,
java.lang.String IDPassword)
Exports certificate from a digital ID |
void |
Update()
|
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Method Detail |
|---|
public void Reset()
throws EasyPDFException
EasyPDFException
public void Update()
throws EasyPDFException
EasyPDFException
public void Save()
throws EasyPDFException
EasyPDFException
public void ShowPropertiesDialog(java.lang.Object HwndParent)
throws EasyPDFException
EasyPDFException
public int getFontEmbedding()
throws EasyPDFException
EasyPDFExceptionprnFontEmbedding
public void setFontEmbedding(int EprnFontEmbedding)
throws EasyPDFException
EprnFontEmbedding - font embedding setting defined in prnFontEmbedding
EasyPDFExceptionprnFontEmbedding
public int getFontSubstitution()
throws EasyPDFException
EasyPDFExceptionprnFontSubstitution
public void setFontSubstitution(int EprnFontSubstitution)
throws EasyPDFException
EprnFontSubstitution - font substitution setting defined in prnFontSubstitution
EasyPDFExceptionprnFontSubstitution
public boolean getImageDownsizing()
throws EasyPDFException
EasyPDFException
public void setImageDownsizing(boolean newVal)
throws EasyPDFException
newVal - true if image downsizing is enabled; false otherwise
EasyPDFException
public int getImageDownsizeResolution()
throws EasyPDFException
EasyPDFException
public void setImageDownsizeResolution(int newVal)
throws EasyPDFException
newVal - new resolution within 10 to 600
EasyPDFException
public int getImageCompression()
throws EasyPDFException
EasyPDFExceptionprnImageCompression
public void setImageCompression(int EprnImageCompression)
throws EasyPDFException
EprnImageCompression - a compression defined in prnImageCompression
EasyPDFExceptionprnImageCompression
public int getImageJPEGQuality()
throws EasyPDFException
EasyPDFException
public void setImageJPEGQuality(int newVal)
throws EasyPDFException
newVal - new image quality within the range 5 to 100
EasyPDFException
public boolean getSecurity()
throws EasyPDFException
EasyPDFException
public void setSecurity(boolean newVal)
throws EasyPDFException
EasyPDFException
public int getSecurityEncryption()
throws EasyPDFException
EasyPDFExceptionprnSecEncryption
public void setSecurityEncryption(int EprnSecEncryption)
throws EasyPDFException
EprnSecEncryption - a value defined in prnSecEncryption
EasyPDFExceptionprnSecEncryption
public java.lang.String getSecurityUserPassword()
throws EasyPDFException
EasyPDFException
public void setSecurityUserPassword(java.lang.String newVal)
throws EasyPDFException
EasyPDFException
public java.lang.String getSecurityOwnerPassword()
throws EasyPDFException
EasyPDFException
public void setSecurityOwnerPassword(java.lang.String newVal)
throws EasyPDFException
EasyPDFException
public int getSecurityAnnotation()
throws EasyPDFException
EasyPDFExceptionprnSecAnnotationPerm
public void setSecurityAnnotation(int EprnSecAnnotationPerm)
throws EasyPDFException
EprnSecAnnotationPerm - a value defined in prnSecAnnotationPerm
EasyPDFExceptionprnSecAnnotationPerm
public int getSecurityExtraction()
throws EasyPDFException
EasyPDFExceptionprnSecExtractionPerm
public void setSecurityExtraction(int EprnSecExtractionPerm)
throws EasyPDFException
EprnSecExtractionPerm - a value defined in prnSecExtractionPerm
EasyPDFExceptionprnSecExtractionPerm
public int getSecurityModification()
throws EasyPDFException
EasyPDFExceptionprnSecModificationPerm
public void setSecurityModification(int EprnSecModificationPerm)
throws EasyPDFException
EprnSecModificationPerm - a value defined in prnSecModification
EasyPDFExceptionprnSecModificationPerm
public int getSecurityPrinting()
throws EasyPDFException
EasyPDFExceptionprnSecPrintingPerm
public void setSecurityPrinting(int EprnSecPrintingPerm)
throws EasyPDFException
EprnSecPrintingPerm - a value defiend in prnSecPrintingPerm
EasyPDFExceptionprnSecPrintingPerm
public int getWatermarkCount()
throws EasyPDFException
EasyPDFException
public boolean getWatermark(int Index)
throws EasyPDFException
Index - watermark index starts at 0
EasyPDFException
public void setWatermark(int Index,
boolean newVal)
throws EasyPDFException
EasyPDFException
public java.lang.String getWatermarkText(int Index)
throws EasyPDFException
EasyPDFException
public void setWatermarkText(int Index,
java.lang.String newVal)
throws EasyPDFException
EasyPDFException
public java.lang.String getWatermarkFontName(int Index)
throws EasyPDFException
Index - index of the watermark
EasyPDFException
public void setWatermarkFontName(int Index,
java.lang.String newVal)
throws EasyPDFException
EasyPDFException
public int getWatermarkFontSize(int Index)
throws EasyPDFException
Index - index of the watermark
EasyPDFException
public void setWatermarkFontSize(int Index,
int newVal)
throws EasyPDFException
EasyPDFException
public int getWatermarkColor(int Index)
throws EasyPDFException
Index - index of the watermark
EasyPDFException
public void setWatermarkColor(int Index,
int newVal)
throws EasyPDFException
EasyPDFException
public int getWatermarkAngle(int Index)
throws EasyPDFException
Index - index of the watermark
EasyPDFException
public void setWatermarkAngle(int Index,
int newVal)
throws EasyPDFException
EasyPDFException
public boolean getWatermarkFirstPageOnly(int Index)
throws EasyPDFException
Index - index of the watermark
EasyPDFException
public void setWatermarkFirstPageOnly(int Index,
boolean newVal)
throws EasyPDFException
EasyPDFException
public int getWatermarkZOrder(int Index)
throws EasyPDFException
Index - index of the watermark
EasyPDFExceptionprnWmarkZOrder
public void setWatermarkZOrder(int Index,
int EprnWmarkZOrder)
throws EasyPDFException
EasyPDFException
public boolean getWatermarkOutlineOnly(int Index)
throws EasyPDFException
Index - index of the watermark
EasyPDFException
public void setWatermarkOutlineOnly(int Index,
boolean newVal)
throws EasyPDFException
EasyPDFException
public int getWatermarkHPosition(int Index)
throws EasyPDFException
Index - index of the watermark
EasyPDFExceptionprnWmarkHPosition
public void setWatermarkHPosition(int Index,
int EprnWmarkHPosition)
throws EasyPDFException
EasyPDFException
public int getWatermarkVPosition(int Index)
throws EasyPDFException
Index - index of the watermark
EasyPDFExceptionprnWmarkVPosition
public void setWatermarkVPosition(int Index,
int EprnWmarkVPosition)
throws EasyPDFException
EasyPDFException
public int getWatermarkTextAlignment(int Index)
throws EasyPDFException
Index - index of the watermark
EasyPDFExceptionprnWmarkAlignment
public void setWatermarkTextAlignment(int Index,
int EprnWmarkAlignment)
throws EasyPDFException
EasyPDFException
public double getWatermarkHOffset(int Index)
throws EasyPDFException
Index - index of the watermark
EasyPDFException
public void setWatermarkHOffset(int Index,
double newVal)
throws EasyPDFException
EasyPDFException
public double getWatermarkVOffset(int Index)
throws EasyPDFException
Index - index of the watermark
EasyPDFException
public void setWatermarkVOffset(int Index,
double newVal)
throws EasyPDFException
EasyPDFException
public int getWatermarkOpacity(int Index)
throws EasyPDFException
Index - index of the watermark
EasyPDFException
public void setWatermarkOpacity(int Index,
int newVal)
throws EasyPDFException
EasyPDFException
public int getStampCount()
throws EasyPDFException
EasyPDFException
public boolean getStamp(int Index)
throws EasyPDFException
Index - index of the stamp
EasyPDFException
public void setStamp(int Index,
boolean newVal)
throws EasyPDFException
EasyPDFException
public java.lang.String getStampFileName(int Index)
throws EasyPDFException
Index - index of the stamp
EasyPDFException
public void setStampFileName(int Index,
java.lang.String newVal)
throws EasyPDFException
EasyPDFException
public int getStampHPosition(int Index)
throws EasyPDFException
Index - index of the stamp
EasyPDFExceptionprnStampHPosition
public void setStampHPosition(int Index,
int EprnStampHPosition)
throws EasyPDFException
EasyPDFException
public int getStampVPosition(int Index)
throws EasyPDFException
Index - index of the stamp
EasyPDFExceptionprnStampVPosition
public void setStampVPosition(int Index,
int EprnStampVPosition)
throws EasyPDFException
EasyPDFException
public int getStampZOrder(int Index)
throws EasyPDFException
Index - of the stamp
EasyPDFExceptionprnStampZOrder
public void setStampZOrder(int Index,
int EprnStampZOrder)
throws EasyPDFException
EasyPDFException
public boolean getStampFirstPageOnly(int Index)
throws EasyPDFException
Index - of the stamp
EasyPDFException
public void setStampFirstPageOnly(int Index,
boolean newVal)
throws EasyPDFException
EasyPDFException
public double getStampHOffset(int Index)
throws EasyPDFException
Index - of the stamp
EasyPDFException
public void setStampHOffset(int Index,
double newVal)
throws EasyPDFException
EasyPDFException
public double getStampVOffset(int Index)
throws EasyPDFException
Index - of the stamp
EasyPDFException
public void setStampVOffset(int Index,
double newVal)
throws EasyPDFException
EasyPDFException
public int getStampTransparentColor(int Index)
throws EasyPDFException
Index - of the stamp
EasyPDFException
public void setStampTransparentColor(int Index,
int newVal)
throws EasyPDFException
EasyPDFException
public int getStampZoom(int Index)
throws EasyPDFException
Index - of the stamp
EasyPDFException
public void setStampZoom(int Index,
int newVal)
throws EasyPDFException
EasyPDFException
public boolean getMetaData()
throws EasyPDFException
EasyPDFException
public void setMetaData(boolean newVal)
throws EasyPDFException
newVal - true (enable meta data); false (disable meta data)
EasyPDFException
public java.lang.String getMetaDataCreator()
throws EasyPDFException
EasyPDFException
public void setMetaDataCreator(java.lang.String newVal)
throws EasyPDFException
newVal - the new creator
EasyPDFException
public java.lang.String getMetaDataTitle()
throws EasyPDFException
EasyPDFException
public void setMetaDataTitle(java.lang.String newVal)
throws EasyPDFException
newVal - the title of the PDF document
EasyPDFException
public java.lang.String getMetaDataAuthor()
throws EasyPDFException
EasyPDFException
public void setMetaDataAuthor(java.lang.String newVal)
throws EasyPDFException
newVal - the author of the PDF document
EasyPDFException
public java.lang.String getMetaDataSubject()
throws EasyPDFException
EasyPDFException
public void setMetaDataSubject(java.lang.String newVal)
throws EasyPDFException
newVal - the subject of the PDF document
EasyPDFException
public java.lang.String getMetaDataKeywords()
throws EasyPDFException
EasyPDFException
public void setMetaDataKeywords(java.lang.String newVal)
throws EasyPDFException
newVal - the keywords for the PDF document
EasyPDFException
public int getFolderDefaultOutputPath()
throws EasyPDFException
EasyPDFExceptionprnFolderDefault
public void setFolderDefaultOutputPath(int EprnFolderDefault)
throws EasyPDFException
EprnFolderDefault - default folder for created PDFs
EasyPDFExceptionprnFolderDefault
public java.lang.String getFolderSpecifiedOutputPath()
throws EasyPDFException
EasyPDFException
public void setFolderSpecifiedOutputPath(java.lang.String newVal)
throws EasyPDFException
newVal - user specified output folder
EasyPDFException
public boolean getFolderRememberOutputPath()
throws EasyPDFException
EasyPDFException
public void setFolderRememberOutputPath(boolean newVal)
throws EasyPDFException
newVal - true if PDFs are saved in previous output folder;
false otherwise
EasyPDFException