|
||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
public interface IPdfOptions
Provides options that control how a presentation is saved in Pdf format.
Method Summary | |
---|---|
java.lang.String[] |
getAdditionalCommonFontFamilies()
Returns or sets an array of user-defined names of font families which Aspose.Slides should consider common. |
int |
getCompliance()
Desired conformance level for generated PDF document. |
boolean |
getDrawSlidesFrame()
True to draw black frame around each slide. |
boolean |
getEmbedFullFonts()
Determines if all characters of font should be embedded or only used subset. |
boolean |
getEmbedTrueTypeFontsForASCII()
True to embed true type fonts for ASCII characters 32-127. |
byte |
getJpegQuality()
Returns or sets a value determining the quality of the JPEG images inside PDF document. |
java.lang.String |
getPassword()
Setting user password to protect the PDF document. |
boolean |
getSaveMetafilesAsPng()
True to convert all metafiles used in a presentation to the PNG images. |
float |
getSufficientResolution()
Returns or sets a value determining resolution of images inside PDF document. |
int |
getTextCompression()
Specifies compression type to be used for all textual content in the document. |
void |
setAdditionalCommonFontFamilies(java.lang.String[] value)
Returns or sets an array of user-defined names of font families which Aspose.Slides should consider common. |
void |
setCompliance(int value)
Desired conformance level for generated PDF document. |
void |
setDrawSlidesFrame(boolean value)
True to draw black frame around each slide. |
void |
setEmbedFullFonts(boolean value)
Determines if all characters of font should be embedded or only used subset. |
void |
setEmbedTrueTypeFontsForASCII(boolean value)
True to embed true type fonts for ASCII characters 32-127. |
void |
setJpegQuality(byte value)
Returns or sets a value determining the quality of the JPEG images inside PDF document. |
void |
setPassword(java.lang.String value)
Setting user password to protect the PDF document. |
void |
setSaveMetafilesAsPng(boolean value)
True to convert all metafiles used in a presentation to the PNG images. |
void |
setSufficientResolution(float value)
Returns or sets a value determining resolution of images inside PDF document. |
void |
setTextCompression(int value)
Specifies compression type to be used for all textual content in the document. |
Methods inherited from interface com.aspose.slides.ISaveOptions |
---|
getWarningCallback, setWarningCallback |
Method Detail |
---|
int getTextCompression()
Specifies compression type to be used for all textual content in the document.
Read/write PdfTextCompression
.
PdfTextCompression.Flate
.
void setTextCompression(int value)
Specifies compression type to be used for all textual content in the document.
Read/write PdfTextCompression
.
PdfTextCompression.Flate
.
boolean getEmbedTrueTypeFontsForASCII()
True to embed true type fonts for ASCII characters 32-127.
Fonts for character codes greater than 127 are always embedded.
Read/write boolean
.
void setEmbedTrueTypeFontsForASCII(boolean value)
True to embed true type fonts for ASCII characters 32-127.
Fonts for character codes greater than 127 are always embedded.
Read/write boolean
.
java.lang.String[] getAdditionalCommonFontFamilies()
Returns or sets an array of user-defined names of font families which Aspose.Slides should consider common.
Read/write String[]
.
void setAdditionalCommonFontFamilies(java.lang.String[] value)
Returns or sets an array of user-defined names of font families which Aspose.Slides should consider common.
Read/write String[]
.
boolean getEmbedFullFonts()
Determines if all characters of font should be embedded or only used subset.
Read/write boolean
.
void setEmbedFullFonts(boolean value)
Determines if all characters of font should be embedded or only used subset.
Read/write boolean
.
byte getJpegQuality()
Returns or sets a value determining the quality of the JPEG images inside PDF document.
Read/write byte
.
Has effect only when a document contains JPEG images.
Use this property to get or set the quality of the images inside a document when saving in PDF format. The value may vary from 0 to 100 where 0 means worst quality but maximum compression and 100 means best quality but minimum compression.
The default value is 100.
void setJpegQuality(byte value)
Returns or sets a value determining the quality of the JPEG images inside PDF document.
Read/write byte
.
Has effect only when a document contains JPEG images.
Use this property to get or set the quality of the images inside a document when saving in PDF format. The value may vary from 0 to 100 where 0 means worst quality but maximum compression and 100 means best quality but minimum compression.
The default value is 100.
int getCompliance()
Desired conformance level for generated PDF document.
Read/write PdfCompliance
.
PdfCompliance.Pdf15
.
void setCompliance(int value)
Desired conformance level for generated PDF document.
Read/write PdfCompliance
.
PdfCompliance.Pdf15
.
java.lang.String getPassword()
Setting user password to protect the PDF document.
Read/write String
.
void setPassword(java.lang.String value)
Setting user password to protect the PDF document.
Read/write String
.
boolean getSaveMetafilesAsPng()
True to convert all metafiles used in a presentation to the PNG images.
Read/write boolean
.
void setSaveMetafilesAsPng(boolean value)
True to convert all metafiles used in a presentation to the PNG images.
Read/write boolean
.
float getSufficientResolution()
Returns or sets a value determining resolution of images inside PDF document.
Property affects on file size, time of export and image quality.
The default value is 96.
Effect of this parameter depends on few factors. Algorithm tries to get best output image size according to the property value, source image size and image frame size. Using of similar property values may give the same result. Recommended to use step 16 or 32 to get visible effect. Read/writefloat
.
void setSufficientResolution(float value)
Returns or sets a value determining resolution of images inside PDF document.
Property affects on file size, time of export and image quality.
The default value is 96.
Effect of this parameter depends on few factors. Algorithm tries to get best output image size according to the property value, source image size and image frame size. Using of similar property values may give the same result. Recommended to use step 16 or 32 to get visible effect. Read/writefloat
.
boolean getDrawSlidesFrame()
True to draw black frame around each slide.
Read/write bool
.
<b>false</b>
.
void setDrawSlidesFrame(boolean value)
True to draw black frame around each slide.
Read/write bool
.
<b>false</b>
.
|
||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |