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

Allows to specify additional options when saving project to Primavera xml format. More...

#include <PrimaveraXmlSaveOptions.h>

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

Public Member Functions

bool get_SaveRootTask () const
 Gets a value indicating whether to save a root task or not. More...
 
void set_SaveRootTask (bool value)
 Sets a value indicating whether to save a root task or not. More...
 
bool get_SkipSummaryAssignments () const
 Gets a value indicating whether assignments of resources to summary tasks should be skipped during export. More...
 
void set_SkipSummaryAssignments (bool value)
 Sets a value indicating whether assignments of resources to summary tasks should be skipped during export. More...
 
 PrimaveraXmlSaveOptions ()
 Initializes a new instance of the PrimaveraXmlSaveOptions 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 to Primavera xml format.

Constructor & Destructor Documentation

◆ PrimaveraXmlSaveOptions()

Aspose::Tasks::Saving::PrimaveraXmlSaveOptions::PrimaveraXmlSaveOptions ( )

Initializes a new instance of the PrimaveraXmlSaveOptions class.

Member Function Documentation

◆ get_SaveRootTask()

bool Aspose::Tasks::Saving::PrimaveraXmlSaveOptions::get_SaveRootTask ( ) const

Gets a value indicating whether to save a root task or not.

◆ get_SkipSummaryAssignments()

bool Aspose::Tasks::Saving::PrimaveraXmlSaveOptions::get_SkipSummaryAssignments ( ) const

Gets a value indicating whether assignments of resources to summary tasks should be skipped during export.

Primavera software doesn't support assignments of resources to summary (WBS) tasks. Thus, export of such assignments can result in an invalid file according to Primavera's model. If true, assignments to summary tasks are skipped during export. If false (the default value), an exception will be thrown if assignment to a summary task is encountered during export.

◆ set_SaveRootTask()

void Aspose::Tasks::Saving::PrimaveraXmlSaveOptions::set_SaveRootTask ( bool  value)

Sets a value indicating whether to save a root task or not.

◆ set_SkipSummaryAssignments()

void Aspose::Tasks::Saving::PrimaveraXmlSaveOptions::set_SkipSummaryAssignments ( bool  value)

Sets a value indicating whether assignments of resources to summary tasks should be skipped during export.

Primavera software doesn't support assignments of resources to summary (WBS) tasks. Thus, export of such assignments can result in an invalid file according to Primavera's model. If true, assignments to summary tasks are skipped during export. If false (the default value), an exception will be thrown if assignment to a summary task is encountered during export.