Aspose.Tasks for C++
Aspose::Tasks::Saving::MPPSaveOptions Class Reference

Allows to specify additional options when saving project data to MPP. More...

#include <MPPSaveOptions.h>

Inherits Aspose::Tasks::Saving::SimpleSaveOptions.

Public Member Functions

bool get_RemoveInvalidAssignments () const
 Gets a value indicating whether to remove invalid resource assignments when saving to MPP. More...
 
void set_RemoveInvalidAssignments (bool value)
 Sets a value indicating whether to remove invalid resource assignments when saving to MPP. More...
 
bool get_WriteViewData () const
 Gets a value indicating whether to write view data when saving to MPP. More...
 
void set_WriteViewData (bool value)
 Sets a value indicating whether to write view data when saving to MPP. More...
 
bool get_WriteFilters () const
 Gets a value indicating whether to write filter data when saving to MPP. More...
 
void set_WriteFilters (bool value)
 Sets a value indicating whether to write filter data when saving to MPP. More...
 
System::String get_ProtectionPassword () const
 Gets a password which is used to protect a resulting MPP file. Currently is supported for MS Project 2010 and newer formats. More...
 
void set_ProtectionPassword (const System::String &value)
 Sets a password which is used to protect a resulting MPP file. Currently is supported for MS Project 2010 and newer formats. More...
 
 MPPSaveOptions ()
 Initializes a new instance of the MPPSaveOptions class. 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...
 

Detailed Description

Allows to specify additional options when saving project data to MPP.

Constructor & Destructor Documentation

◆ MPPSaveOptions()

Aspose::Tasks::Saving::MPPSaveOptions::MPPSaveOptions ( )

Initializes a new instance of the MPPSaveOptions class.

Member Function Documentation

◆ get_ProtectionPassword()

System::String Aspose::Tasks::Saving::MPPSaveOptions::get_ProtectionPassword ( ) const

Gets a password which is used to protect a resulting MPP file. Currently is supported for MS Project 2010 and newer formats.

Null value indicates that the project file is not protected.

◆ get_RemoveInvalidAssignments()

bool Aspose::Tasks::Saving::MPPSaveOptions::get_RemoveInvalidAssignments ( ) const

Gets a value indicating whether to remove invalid resource assignments when saving to MPP.

MS Project creates an empty resource assignment for each task. Set this flag to true to remove them on save.

◆ get_WriteFilters()

bool Aspose::Tasks::Saving::MPPSaveOptions::get_WriteFilters ( ) const

Gets a value indicating whether to write filter data when saving to MPP.

Filter data includes Project.TaskFilters and Project.ResourceFilters collections.

Currently supported for MSP 2010 or newer formats.

◆ get_WriteViewData()

bool Aspose::Tasks::Saving::MPPSaveOptions::get_WriteViewData ( ) const

Gets a value indicating whether to write view data when saving to MPP.

View data includes Project.Views, Filters and Tables collections.

◆ set_ProtectionPassword()

void Aspose::Tasks::Saving::MPPSaveOptions::set_ProtectionPassword ( const System::String &  value)

Sets a password which is used to protect a resulting MPP file. Currently is supported for MS Project 2010 and newer formats.

Null value indicates that the project file is not protected.

◆ set_RemoveInvalidAssignments()

void Aspose::Tasks::Saving::MPPSaveOptions::set_RemoveInvalidAssignments ( bool  value)

Sets a value indicating whether to remove invalid resource assignments when saving to MPP.

MS Project creates an empty resource assignment for each task. Set this flag to true to remove them on save.

◆ set_WriteFilters()

void Aspose::Tasks::Saving::MPPSaveOptions::set_WriteFilters ( bool  value)

Sets a value indicating whether to write filter data when saving to MPP.

Filter data includes Project.TaskFilters and Project.ResourceFilters collections.

Currently supported for MSP 2010 or newer formats.

◆ set_WriteViewData()

void Aspose::Tasks::Saving::MPPSaveOptions::set_WriteViewData ( bool  value)

Sets a value indicating whether to write view data when saving to MPP.

View data includes Project.Views, Filters and Tables collections.