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.
|
PdfEncryptionDetails |
getEncryptionDetails()
Gets an encryption details.
|
List<Integer> |
getPages()
List of pages numbers to save when saving project layout to separate files.
|
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.
|
void |
setCompliance(int value)
Sets desired conformance level for generated PDF document.
|
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 |
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.
|
getBarStyles, getDrawNonWorkingTime, getEndDate, getFitContent, getGridlines, getLegendOnEachPage, getMarkCriticalTasks, getNonWorkingTimeColor, getPageCount, getPageSize, getPresentationFormat, getRollUpGanttBars, getSaveFormat, getShowProjectSummaryTask, getStartDate, getTasksComparer, getTextStyles, getTimescale, getUseGradientBrush, getView, setBarStyles, setDrawNonWorkingTime, setEndDate, setFitContent, setGridlines, setLegendOnEachPage, setMarkCriticalTasks, setNonWorkingTimeColor, setPageSize, setPresentationFormat, setRollUpGanttBars, setShowProjectSummaryTask, setStartDate, setTasksComparer, setTextStyles, setTimescale, 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 PdfEncryptionDetails getEncryptionDetails()
Gets an encryption details. If not setInternal, then no encryption will be performed.
public void setEncryptionDetails(PdfEncryptionDetails value)
Sets an encryption details. If not setInternal, then no encryption will be performed.
value
- encryption details.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 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 List<Integer> getPages()
List of pages numbers to save when saving project layout to separate files. All pages will be saved if this list is empty.
Copyright (c) 2008-2015 Aspose Pty Ltd. All Rights Reserved.