|
||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectcom.aspose.slides.SaveOptions
com.aspose.slides.PdfOptions
public class PdfOptions
Provides options that control how a presentation is saved in Pdf format.
Constructor Summary | |
---|---|
PdfOptions()
Default constructor. |
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()
Determines if Aspose.Slides will embed common fonts for ASCII (33..127 code range) text. |
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)
Determines if Aspose.Slides will embed common fonts for ASCII (33..127 code range) text. |
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 class com.aspose.slides.SaveOptions |
---|
getWarningCallback, setWarningCallback |
Methods inherited from class java.lang.Object |
---|
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Methods inherited from interface com.aspose.slides.ISaveOptions |
---|
getWarningCallback, setWarningCallback |
Constructor Detail |
---|
public PdfOptions()
Default constructor.
Method Detail |
---|
public int getTextCompression()
Specifies compression type to be used for all textual content in the document.
Read/write PdfTextCompression
.
PdfTextCompression.Flate
.
getTextCompression
in interface IPdfOptions
public void setTextCompression(int value)
Specifies compression type to be used for all textual content in the document.
Read/write PdfTextCompression
.
PdfTextCompression.Flate
.
setTextCompression
in interface IPdfOptions
public boolean getEmbedTrueTypeFontsForASCII()
Determines if Aspose.Slides will embed common fonts for ASCII (33..127 code range) text.
Fonts for character codes greater than 127 are always embedded.
Common fonts list includes PDF's base 14 fonts and additional user specified fonts.
Read/write boolean
.
<b>true</b>
.
getEmbedTrueTypeFontsForASCII
in interface IPdfOptions
public void setEmbedTrueTypeFontsForASCII(boolean value)
Determines if Aspose.Slides will embed common fonts for ASCII (33..127 code range) text.
Fonts for character codes greater than 127 are always embedded.
Common fonts list includes PDF's base 14 fonts and additional user specified fonts.
Read/write boolean
.
<b>true</b>
.
setEmbedTrueTypeFontsForASCII
in interface IPdfOptions
public 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[]
.
getAdditionalCommonFontFamilies
in interface IPdfOptions
public 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[]
.
setAdditionalCommonFontFamilies
in interface IPdfOptions
public boolean getEmbedFullFonts()
Determines if all characters of font should be embedded or only used subset.
Read/write boolean
.
<b>false</b>
.
getEmbedFullFonts
in interface IPdfOptions
public void setEmbedFullFonts(boolean value)
Determines if all characters of font should be embedded or only used subset.
Read/write boolean
.
<b>false</b>
.
setEmbedFullFonts
in interface IPdfOptions
public byte getJpegQuality()
Returns or sets a value determining the quality of the JPEG images inside PDF document.
Read/write byte
.
<p>Has effect only when a document contains JPEG images.</p>
<p>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.</p>
<p>The default value is <b>100</b>.</p>
getJpegQuality
in interface IPdfOptions
public void setJpegQuality(byte value)
Returns or sets a value determining the quality of the JPEG images inside PDF document.
Read/write byte
.
<p>Has effect only when a document contains JPEG images.</p>
<p>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.</p>
<p>The default value is <b>100</b>.</p>
setJpegQuality
in interface IPdfOptions
public int getCompliance()
Desired conformance level for generated PDF document.
Read/write PdfCompliance
.
PdfCompliance.Pdf15
.
getCompliance
in interface IPdfOptions
public void setCompliance(int value)
Desired conformance level for generated PDF document.
Read/write PdfCompliance
.
PdfCompliance.Pdf15
.
setCompliance
in interface IPdfOptions
public java.lang.String getPassword()
Setting user password to protect the PDF document.
Read/write String
.
getPassword
in interface IPdfOptions
public void setPassword(java.lang.String value)
Setting user password to protect the PDF document.
Read/write String
.
setPassword
in interface IPdfOptions
public boolean getSaveMetafilesAsPng()
True to convert all metafiles used in a presentation to the PNG images.
Read/write boolean
.
<b>true</b>
.
getSaveMetafilesAsPng
in interface IPdfOptions
public void setSaveMetafilesAsPng(boolean value)
True to convert all metafiles used in a presentation to the PNG images.
Read/write boolean
.
<b>true</b>
.
setSaveMetafilesAsPng
in interface IPdfOptions
public float getSufficientResolution()
Returns or sets a value determining resolution of images inside PDF document.
Read/write float
.
<p>Property affects on file size, time of export and image quality.</p>
<p>The default value is <b>96</b>.</p>
getSufficientResolution
in interface IPdfOptions
public void setSufficientResolution(float value)
Returns or sets a value determining resolution of images inside PDF document.
Read/write float
.
<p>Property affects on file size, time of export and image quality.</p>
<p>The default value is <b>96</b>.</p>
setSufficientResolution
in interface IPdfOptions
public final boolean getDrawSlidesFrame()
True to draw black frame around each slide.
Read/write bool
.
<b>false</b>
.
getDrawSlidesFrame
in interface IPdfOptions
public final void setDrawSlidesFrame(boolean value)
True to draw black frame around each slide.
Read/write bool
.
<b>false</b>
.
setDrawSlidesFrame
in interface IPdfOptions
|
||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |