Aspose.Tasks for C++
|
Allows to specify additional options when rendering project pages to PDF. More...
#include <PdfSaveOptions.h>
Inherits Aspose::Tasks::Saving::SaveOptions, Aspose::Tasks::Saving::SaveOptions::IReduceBottomGap, Aspose::Tasks::Saving::SaveOptions::IFontCallbacks, and Aspose::Tasks::Saving::ICloneableSaveOptions.
Public Member Functions | |
bool | get_ReduceFooterGap () override |
Gets a value indicating whether a gap between last task and the footer must be reduced. More... | |
void | set_ReduceFooterGap (bool value) |
Sets a value indicating whether a gap between last task and the footer must be reduced. More... | |
PdfCompliance | get_Compliance () const |
Gets a desired compliance level for generated PDF document. Default is PdfCompliance::Pdf15. More... | |
void | set_Compliance (PdfCompliance value) |
Sets a desired compliance level for generated PDF document. Default is PdfCompliance::Pdf15. More... | |
System::SharedPtr< PdfEncryptionDetails > | get_EncryptionDetails () const |
Gets a encryption details. If not set, then no encryption will be performed. More... | |
void | set_EncryptionDetails (const System::SharedPtr< PdfEncryptionDetails > &value) |
Sets a encryption details. If not set, then no encryption will be performed. More... | |
PdfTextCompression | get_TextCompression () const |
Gets a compression type to be used for all content streams except images. Default is PdfTextCompression::Flate. More... | |
void | set_TextCompression (PdfTextCompression value) |
Sets a compression type to be used for all content streams except images. Default is PdfTextCompression::Flate. More... | |
System::SharedPtr< PdfDigitalSignatureDetails > | get_DigitalSignatureDetails () const |
Gets a digital signature details. If not set, then no signing will be performed. More... | |
void | set_DigitalSignatureDetails (const System::SharedPtr< PdfDigitalSignatureDetails > &value) |
Sets a digital signature details. If not set, then no signing will be performed. More... | |
bool | get_SaveToSeparateFiles () const |
Gets a value indicating whether to save project pages to separate files. More... | |
void | set_SaveToSeparateFiles (bool value) |
Sets a value indicating whether to save project pages to separate files. More... | |
const System::SharedPtr< IPageSavingCallback > & | get_PageSavingCallback () const |
Gets a user-defined callback which is used to get an output stream for each rendered page. Is applicable when SaveToSeparateFiles option is used. More... | |
void | set_PageSavingCallback (const System::SharedPtr< IPageSavingCallback > &value) |
Sets a user-defined callback which is used to get an output stream for each rendered page. Is applicable when SaveToSeparateFiles option is used. More... | |
System::SharedPtr< System::Collections::Generic::List< int32_t > > | get_Pages () |
Gets the list of pages numbers to save when saving project layout to separate files. More... | |
void | set_Pages (const System::SharedPtr< System::Collections::Generic::List< int32_t >> &value) |
Sets the list of pages numbers to save when saving project layout to separate files. More... | |
System::SharedPtr< Aspose::Tasks::FontSettings > | get_FontSettings () override |
Specifies font settings used when rendering project's view. More... | |
PdfSaveOptions () | |
Initializes a new instance of the PdfSaveOptions class that can be used to save a document in the PDF format. More... | |
Public Member Functions inherited from Aspose::Tasks::Saving::SaveOptions | |
const System::SharedPtr< System::Collections::Generic::List< System::SharedPtr< Aspose::Tasks::Visualization::BarStyle > > > & | get_BarStyles () const |
Gets the list of the instances of the BarStyle class that appear in project view. More... | |
void | set_BarStyles (const System::SharedPtr< System::Collections::Generic::List< System::SharedPtr< Aspose::Tasks::Visualization::BarStyle >>> &value) |
Sets the list of the instances of the BarStyle class that appear in project view. More... | |
bool | get_DrawNonWorkingTime () const |
Gets a value indicating whether non-working time should be drawn (Default value is TRUE). More... | |
void | set_DrawNonWorkingTime (bool value) |
Sets a value indicating whether non-working time should be drawn (Default value is TRUE). More... | |
System::DateTime | get_EndDate () const |
Gets a date to finish rendering to. More... | |
void | set_EndDate (System::DateTime value) |
Sets a date to finish rendering to. More... | |
bool | get_FitTimescaleToEndOfPage () const |
Gets whether a calendar section of a view should be rendered to the end (right side) of the last page. If value is false, calendar section is rendered exactly to EndDate, even there is an empty space on a page. More... | |
void | set_FitTimescaleToEndOfPage (bool value) |
Sets whether a calendar section of a view should be rendered to the end (right side) of the last page. If value is false, calendar section is rendered exactly to EndDate, even there is an empty space on a page. More... | |
bool | get_FitContent () const |
Gets a value indicating whether row height should be increased to fit its content. More... | |
void | set_FitContent (bool value) |
Sets a value indicating whether row height should be increased to fit its content. More... | |
const System::SharedPtr< System::Collections::Generic::List< System::SharedPtr< Aspose::Tasks::Visualization::Gridline > > > & | get_Gridlines () const |
Gets a list of Gridline that appear in project view. More... | |
void | set_Gridlines (const System::SharedPtr< System::Collections::Generic::List< System::SharedPtr< Aspose::Tasks::Visualization::Gridline >>> &value) |
Sets a list of Gridline that appear in project view. More... | |
bool | get_LegendOnEachPage () |
Gets a value indicating whether legend should be shown on each page (Default value is TRUE). More... | |
void | set_LegendOnEachPage (bool value) |
Sets a value indicating whether legend should be shown on each page (Default value is TRUE). More... | |
Aspose::Tasks::Saving::LegendDrawingOptions | get_LegendDrawingOptions () const |
Gets a value which define how to render a legend. Default value is LegendDrawingOptions.OnEveryPage. More... | |
void | set_LegendDrawingOptions (Aspose::Tasks::Saving::LegendDrawingOptions value) |
Sets a value which define how to render a legend. Default value is LegendDrawingOptions.OnEveryPage. More... | |
bool | get_MarkCriticalTasks () const |
Gets a value indicating whether critical tasks should be displayed in red color (Default value is FALSE). More... | |
void | set_MarkCriticalTasks (bool value) |
Sets a value indicating whether critical tasks should be displayed in red color (Default value is FALSE). More... | |
System::Drawing::Color | get_NonWorkingTimeColor () |
Gets the non-working time color. More... | |
void | set_NonWorkingTimeColor (System::Drawing::Color value) |
Sets the non-working time color. More... | |
int32_t | get_PageCount () const |
Gets the number of pages of project. More... | |
Aspose::Tasks::Visualization::PageSize | get_PageSize () const |
Gets the size of page to be rendered (Default value is PageSize.A4). More... | |
void | set_PageSize (Aspose::Tasks::Visualization::PageSize value) |
Sets the size of page to be rendered (Default value is PageSize.A4). More... | |
bool | get_IsPortrait () const |
Gets a value indicating whether the page orientation is portrait; returns false if the page orientation is landscape. More... | |
void | set_IsPortrait (bool value) |
Sets a value indicating whether the page orientation is portrait; returns false if the page orientation is landscape. More... | |
Aspose::Tasks::Visualization::PresentationFormat | get_PresentationFormat () const |
Gets the PresentationFormat in which the document will be saved. More... | |
void | set_PresentationFormat (Aspose::Tasks::Visualization::PresentationFormat value) |
Sets the PresentationFormat in which the document will be saved. More... | |
bool | get_RollUpGanttBars () const |
Gets a value indicating whether subtasks on the summary task bar should be marked. For subtasks, the Rollup field indicates whether information on the subtask Gantt bars will be rolled up to the summary task bar. For summary tasks, the Rollup field indicates whether the summary task bar displays rolled up bars. You must have the Rollup field for summary tasks set to Yes for any subtasks to roll up to them. More... | |
void | set_RollUpGanttBars (bool value) |
Sets a value indicating whether subtasks on the summary task bar should be marked. For subtasks, the Rollup field indicates whether information on the subtask Gantt bars will be rolled up to the summary task bar. For summary tasks, the Rollup field indicates whether the summary task bar displays rolled up bars. You must have the Rollup field for summary tasks set to Yes for any subtasks to roll up to them. More... | |
System::DateTime | get_StartDate () const |
Gets the date to start rendering from. More... | |
void | set_StartDate (System::DateTime value) |
Sets the date to start rendering from. More... | |
const System::SharedPtr< System::Collections::Generic::List< System::SharedPtr< Aspose::Tasks::Visualization::TextStyle > > > & | get_TextStyles () const |
Gets the list of the instances of the TextStyle class that appear in project view. More... | |
void | set_TextStyles (const System::SharedPtr< System::Collections::Generic::List< System::SharedPtr< Aspose::Tasks::Visualization::TextStyle >>> &value) |
Sets the list of the instances of the TextStyle class that appear in project view. More... | |
Aspose::Tasks::Visualization::Timescale | get_Timescale () const |
Gets the Timescale value which is used to control how timescale (if present) is rendered when project is saved to graphical format. More... | |
void | set_Timescale (Aspose::Tasks::Visualization::Timescale value) |
Sets the Timescale value which is used to control how timescale (if present) is rendered when project is saved to graphical format. More... | |
virtual bool | get_UseGradientBrush () |
Gets a value indicating whether gradient brush should be used when rendering Gantt Chart. More... | |
virtual void | set_UseGradientBrush (bool value) |
Sets a value indicating whether gradient brush should be used when rendering Gantt Chart. More... | |
System::SharedPtr< Aspose::Tasks::Visualization::ProjectView > | get_View () |
Gets a list of the view columns to render (GanttChartColumn). If not set then task ids, task names, start and finish are rendered only. If both View and ViewSettings properties are set, columns from View overrides columns from ViewSettings. More... | |
void | set_View (const System::SharedPtr< Aspose::Tasks::Visualization::ProjectView > &value) |
Sets a list of the view columns to render (GanttChartColumn). If not set then task ids, task names, start and finish are rendered only. If both View and ViewSettings properties are set, columns from View overrides columns from ViewSettings. More... | |
System::SharedPtr< Aspose::Tasks::View > | get_ViewSettings () const |
Gets a view (View) to render. You can use this options to explicitly specify which view should be saved to PDF, HTML or Image formats. If this property is set, Visualization::PresentationFormat property is ignored when project is saved. View should be from one of the following screen ((Aspose::Tasks::View::Screen)): (Gantt, TaskSheet, TaskUsage, ResourceSheet, ResourceUsage) More... | |
void | set_ViewSettings (const System::SharedPtr< Aspose::Tasks::View > &value) |
Sets a view (View) to render. You can use this options to explicitly specify which view should be saved to PDF, HTML or Image formats. If this property is set, Visualization::PresentationFormat property is ignored when project is saved. View should be from one of the following screen ((Aspose::Tasks::View::Screen)): (Gantt, TaskSheet, TaskUsage, ResourceSheet, ResourceUsage) More... | |
System::Drawing::SizeF | get_CustomPageSize () const |
Gets the custom page size in points (1 point = 1/72 of inch). More... | |
void | set_CustomPageSize (System::Drawing::SizeF value) |
Sets the custom page size in points (1 point = 1/72 of inch). More... | |
bool | get_RenderToSinglePage () const |
Gets a value indicating whether a project should be rendered to a single page when project is saved in graphical format. The page size will be changed so the rendered project can be fit on one page. More... | |
void | set_RenderToSinglePage (bool value) |
Sets a value indicating whether a project should be rendered to a single page when project is saved in graphical format. The page size will be changed so the rendered project can be fit on one page. More... | |
Public Member Functions inherited from Aspose::Tasks::Saving::SimpleSaveOptions | |
SaveFileFormat | get_SaveFormat () const |
Gets the format in which the document will be saved if this save options object is used. More... | |
const System::SharedPtr< System::Collections::Generic::IComparer< System::SharedPtr< Task > > > & | get_TasksComparer () const |
Gets the comparer to sort tasks on Gantt chart and Task Sheet chart. More... | |
void | set_TasksComparer (const System::SharedPtr< System::Collections::Generic::IComparer< System::SharedPtr< Task >>> &value) |
Sets the comparer to sort tasks on Gantt chart and Task Sheet chart. More... | |
const System::SharedPtr< Aspose::Tasks::Util::ICondition< System::SharedPtr< Task > > > & | get_TasksFilter () const |
Gets the condition which is used to filter tasks rendered on Gantt, Task Sheet and Task Usage charts. More... | |
void | set_TasksFilter (const System::SharedPtr< Aspose::Tasks::Util::ICondition< System::SharedPtr< Task >>> &value) |
Sets the condition which is used to filter tasks rendered on Gantt, Task Sheet and Task Usage charts. More... | |
Allows to specify additional options when rendering project pages to PDF.
Aspose::Tasks::Saving::PdfSaveOptions::PdfSaveOptions | ( | ) |
Initializes a new instance of the PdfSaveOptions class that can be used to save a document in the PDF format.
PdfCompliance Aspose::Tasks::Saving::PdfSaveOptions::get_Compliance | ( | ) | const |
Gets a desired compliance level for generated PDF document. Default is PdfCompliance::Pdf15.
System::SharedPtr<PdfDigitalSignatureDetails> Aspose::Tasks::Saving::PdfSaveOptions::get_DigitalSignatureDetails | ( | ) | const |
Gets a digital signature details. If not set, then no signing will be performed.
System::SharedPtr<PdfEncryptionDetails> Aspose::Tasks::Saving::PdfSaveOptions::get_EncryptionDetails | ( | ) | const |
Gets a encryption details. If not set, then no encryption will be performed.
|
override |
Specifies font settings used when rendering project's view.
System::SharedPtr<System::Collections::Generic::List<int32_t> > Aspose::Tasks::Saving::PdfSaveOptions::get_Pages | ( | ) |
Gets the list of pages numbers to save when saving project layout to separate files.
All pages will be saved if this list is empty.
const System::SharedPtr<IPageSavingCallback>& Aspose::Tasks::Saving::PdfSaveOptions::get_PageSavingCallback | ( | ) | const |
Gets a user-defined callback which is used to get an output stream for each rendered page. Is applicable when SaveToSeparateFiles option is used.
|
override |
Gets a value indicating whether a gap between last task and the footer must be reduced.
bool Aspose::Tasks::Saving::PdfSaveOptions::get_SaveToSeparateFiles | ( | ) | const |
Gets a value indicating whether to save project pages to separate files.
PdfTextCompression Aspose::Tasks::Saving::PdfSaveOptions::get_TextCompression | ( | ) | const |
Gets a compression type to be used for all content streams except images. Default is PdfTextCompression::Flate.
void Aspose::Tasks::Saving::PdfSaveOptions::set_Compliance | ( | PdfCompliance | value | ) |
Sets a desired compliance level for generated PDF document. Default is PdfCompliance::Pdf15.
void Aspose::Tasks::Saving::PdfSaveOptions::set_DigitalSignatureDetails | ( | const System::SharedPtr< PdfDigitalSignatureDetails > & | value | ) |
Sets a digital signature details. If not set, then no signing will be performed.
void Aspose::Tasks::Saving::PdfSaveOptions::set_EncryptionDetails | ( | const System::SharedPtr< PdfEncryptionDetails > & | value | ) |
Sets a encryption details. If not set, then no encryption will be performed.
void Aspose::Tasks::Saving::PdfSaveOptions::set_Pages | ( | const System::SharedPtr< System::Collections::Generic::List< int32_t >> & | value | ) |
Sets the list of pages numbers to save when saving project layout to separate files.
All pages will be saved if this list is empty.
void Aspose::Tasks::Saving::PdfSaveOptions::set_PageSavingCallback | ( | const System::SharedPtr< IPageSavingCallback > & | value | ) |
Sets a user-defined callback which is used to get an output stream for each rendered page. Is applicable when SaveToSeparateFiles option is used.
void Aspose::Tasks::Saving::PdfSaveOptions::set_ReduceFooterGap | ( | bool | value | ) |
Sets a value indicating whether a gap between last task and the footer must be reduced.
void Aspose::Tasks::Saving::PdfSaveOptions::set_SaveToSeparateFiles | ( | bool | value | ) |
Sets a value indicating whether to save project pages to separate files.
void Aspose::Tasks::Saving::PdfSaveOptions::set_TextCompression | ( | PdfTextCompression | value | ) |
Sets a compression type to be used for all content streams except images. Default is PdfTextCompression::Flate.