public class PdfSaveOptions extends SaveOptions
Allows to specify additional options when rendering project pages to PDF.
Constructor and Description |
---|
PdfSaveOptions()
Initializes a new instance of class that can be used to save a document in the
SaveFileFormatPdf format. |
Modifier and Type | Method and Description |
---|---|
int |
getCompliance()
Returns desired conformance level for generated PDF document.
|
String |
getDefaultFontName()
Gets the default font for rendering.
|
PdfEncryptionDetails |
getEncryptionDetails()
Gets an encryption details.
|
List<Integer> |
getPages()
List of pages numbers to save when saving project layout to separate files.
|
boolean |
getReduceFooterGap()
Gets a value indicating whether a gap between last task and the footer must be reduced.
|
boolean |
getSaveToSeparateFiles()
Determines whether to save project pages to separate files.
|
int |
getTextCompression()
Returns compression type to be used for all content streams except images.
|
boolean |
getUseProjectDefaultFont()
Gets a value indicating whether the default font must be used for rendering.
|
void |
setCompliance(int value)
Sets desired conformance level for generated PDF document.
|
void |
setDefaultFontName(String value)
Sets the default font for rendering.
|
void |
setEncryptionDetails(PdfEncryptionDetails value)
Sets an encryption details.
|
void |
setPages(List<Integer> value)
List of pages numbers to save when saving project layout to separate files.
|
void |
setReduceFooterGap(boolean value)
Sets a value indicating whether a gap between last task and the footer must be reduced.
|
void |
setSaveToSeparateFiles(boolean value)
Determines whether to save project pages to separate files.
|
void |
setTextCompression(int value)
Sets compression type to be used for all content streams except images.
|
void |
setUseProjectDefaultFont(boolean value)
Sets a value indicating whether the default font must be used for rendering.
|
getBarStyles, getDrawNonWorkingTime, getEndDate, getFitContent, getGridlines, getLegendOnEachPage, getMarkCriticalTasks, getNonWorkingTimeColor, getPageCount, getPageSize, getPresentationFormat, getRollUpGanttBars, getSaveFormat, getShowProjectSummaryTask, getStartDate, getTasksComparer, getTextStyles, getTimescale, getTimescaleTier, getUseGradientBrush, getView, setBarStyles, setDrawNonWorkingTime, setEndDate, setFitContent, setGridlines, setLegendOnEachPage, setMarkCriticalTasks, setNonWorkingTimeColor, setPageSize, setPresentationFormat, setRollUpGanttBars, setShowProjectSummaryTask, setStartDate, setTasksComparer, setTextStyles, setTimescale, setTimescaleTier, setUseGradientBrush, setView
public PdfSaveOptions()
Initializes a new instance of class that can be used to save a document in the SaveFileFormatPdf
format.
public int getCompliance()
Returns desired conformance level for generated PDF document.
Default is PdfCompliance.Pdf15
.
PdfCompliance
).public void setCompliance(int value)
Sets desired conformance level for generated PDF document.
Default is PdfCompliance.Pdf15
.
value
- conformance level (PdfCompliance
).public String getDefaultFontName()
public void setDefaultFontName(String value)
value
- default font for rendering.public PdfEncryptionDetails getEncryptionDetails()
public void setEncryptionDetails(PdfEncryptionDetails value)
value
- encryption details.public List<Integer> getPages()
public void setPages(List<Integer> value)
value
- List of pages numbers to save.public boolean getReduceFooterGap()
public void setReduceFooterGap(boolean value)
value
- value indicating whether a gap between last task and the footer must be reduced.public boolean getSaveToSeparateFiles()
Determines whether to save project pages to separate files.
public void setSaveToSeparateFiles(boolean value)
value
- true if project is to be saved to separate image files; otherwise, false.public int getTextCompression()
Returns compression type to be used for all content streams except images.
Default is PdfTextCompression.Flate
.
PdfTextCompression
) .public void setTextCompression(int value)
Sets compression type to be used for all content streams except images.
Default is PdfTextCompression.Flate
.
value
- text compression (PdfTextCompression
) .public boolean getUseProjectDefaultFont()
public void setUseProjectDefaultFont(boolean value)
value
- a value indicating whether the default font must be used for rendering.Copyright (c) 2008-2018 Aspose Pty Ltd. All Rights Reserved.