Skip to content

Commit

Permalink
Merge pull request #35 from aspose-tasks/main
Browse files Browse the repository at this point in the history
Aspose.Tasks for .NET v. 23.10.
  • Loading branch information
sva1000 authored Oct 16, 2023
2 parents 32e3eb4 + ffe3b43 commit 3728ea9
Show file tree
Hide file tree
Showing 523 changed files with 776 additions and 850 deletions.
1 change: 1 addition & 0 deletions english/net/aspose.tasks.saving/_index.md
Original file line number Diff line number Diff line change
Expand Up @@ -25,6 +25,7 @@ Contains classes for saving a project to different formats.
| [PrintOptions](./printoptions) | Allows to specify additional options when printing project. |
| [SaveOptions](./saveoptions) | This is an abstract base class for classes that allow the user to specify additional options when saving a project into a particular format. |
| [SaveTemplateOptions](./savetemplateoptions) | Allows to specify additional options when saving a project as a template. |
| [SimpleSaveOptions](./simplesaveoptions) | This is an abstract base class that allow the user to specify basic options when saving a project into a particular format. |
| [Spreadsheet2003SaveOptions](./spreadsheet2003saveoptions) | Allows to specify additional options when rendering project pages to Spreadsheet2003. |
| [SvgOptions](./svgoptions) | Allows to specify additional options when rendering project pages to SVG. |
| [XamlOptions](./xamloptions) | /// Allows to specify additional options when rendering project pages to XAML. |
Expand Down
32 changes: 6 additions & 26 deletions english/net/aspose.tasks.saving/csvoptions/_index.md
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@ url: /net/aspose.tasks.saving/csvoptions/
Allows to specify additional options when saving project to CSV.

```csharp
public class CsvOptions : SaveOptions
public class CsvOptions : SimpleSaveOptions
```

## Constructors
Expand All @@ -24,34 +24,14 @@ public class CsvOptions : SaveOptions

| Name | Description |
| --- | --- |
| [BarStyles](../../aspose.tasks.saving/saveoptions/barstyles) { get; set; } | Gets or sets the list of the instances of the [`BarStyle`](../../aspose.tasks.visualization/barstyle) class that appear in project view. |
| [CustomPageSize](../../aspose.tasks.saving/saveoptions/custompagesize) { get; set; } | Gets or sets the custom page size in points (1 point = 1/72 of inch). |
| [DataCategory](../../aspose.tasks.saving/csvoptions/datacategory) { get; set; } | Gets or sets a data category to be saved. |
| [DrawNonWorkingTime](../../aspose.tasks.saving/saveoptions/drawnonworkingtime) { getset; } | Gets or sets a value indicating whether non-working time should be drawn (Default value is TRUE). |
| [Encoding](../../aspose.tasks.saving/csvoptions/encoding) { getset; } | Gets or sets an encoding to save CSV with. |
| [EndDate](../../aspose.tasks.saving/saveoptions/enddate) { getset; } | Gets or sets a date to finish rendering to. |
| [FitContent](../../aspose.tasks.saving/saveoptions/fitcontent) { getset; } | Gets or sets a value indicating whether row height should be increased to fit its content. |
| [FitTimescaleToEndOfPage](../../aspose.tasks.saving/saveoptions/fittimescaletoendofpage) { getset; } | Gets or 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. |
| [Gridlines](../../aspose.tasks.saving/saveoptions/gridlines) { getset; } | Gets or sets a list of [`Gridline`](../../aspose.tasks.visualization/gridline) that appear in project view. |
| [IncludeHeaders](../../aspose.tasks.saving/csvoptions/includeheaders) { getset; } | Gets or sets a value indicating whether to include headers or not (default value is TRUE). |
| [LegendOnEachPage](../../aspose.tasks.saving/saveoptions/legendoneachpage) { getset; } | Gets or sets a value indicating whether legend should be shown on each page (Default value is TRUE). |
| [MarkCriticalTasks](../../aspose.tasks.saving/saveoptions/markcriticaltasks) { getset; } | Gets or sets a value indicating whether critical tasks should be displayed in red color (Default value is FALSE). |
| [NonWorkingTimeColor](../../aspose.tasks.saving/saveoptions/nonworkingtimecolor) { getset; } | Gets or sets the non-working time color. |
| [PageCount](../../aspose.tasks.saving/saveoptions/pagecount) { get; } | Gets or sets the number of pages of project. |
| [PageSize](../../aspose.tasks.saving/saveoptions/pagesize) { getset; } | Gets or sets the size of page to be rendered (Default value is PageSize.A4). |
| [PresentationFormat](../../aspose.tasks.saving/saveoptions/presentationformat) { getset; } | Gets or sets the [`PresentationFormat`](../saveoptions/presentationformat) in which the document will be saved. |
| [RenderToSinglePage](../../aspose.tasks.saving/saveoptions/rendertosinglepage) { getset; } | Gets or 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. |
| [RollUpGanttBars](../../aspose.tasks.saving/saveoptions/rollupganttbars) { getset; } | Gets or 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. |
| [SaveFormat](../../aspose.tasks.saving/saveoptions/saveformat) { get; } | Gets or sets the format in which the document will be saved if this save options object is used. |
| [StartDate](../../aspose.tasks.saving/saveoptions/startdate) { getset; } | Gets or sets the date to start rendering from. |
| [TasksComparer](../../aspose.tasks.saving/saveoptions/taskscomparer) { getset; } | Gets or sets the comparer to sort tasks on Gantt chart and Task Sheet chart. |
| [TasksFilter](../../aspose.tasks.saving/saveoptions/tasksfilter) { getset; } | Gets or sets the condition which is used to filter tasks rendered on Gantt, Task Sheet and Task Usage charts. |
| [SaveFormat](../../aspose.tasks.saving/simplesaveoptions/saveformat) { get; } | Gets or sets the format in which the document will be saved if this save options object is used. |
| [TasksComparer](../../aspose.tasks.saving/simplesaveoptions/taskscomparer) { getset; } | Gets or sets the comparer to sort tasks on Gantt chart and Task Sheet chart. |
| [TasksFilter](../../aspose.tasks.saving/simplesaveoptions/tasksfilter) { getset; } | Gets or sets the condition which is used to filter tasks rendered on Gantt, Task Sheet and Task Usage charts. |
| [TextDelimiter](../../aspose.tasks.saving/csvoptions/textdelimiter) { getset; } | Gets or sets a text delimiter. |
| [TextStyles](../../aspose.tasks.saving/saveoptions/textstyles) { getset; } | Gets or sets the list of the instances of the [`TextStyle`](../../aspose.tasks.visualization/textstyle) class that appear in project view. |
| [Timescale](../../aspose.tasks.saving/saveoptions/timescale) { get; set; } | Gets or sets the [`Timescale`](../saveoptions/timescale) value which is used to control how timescale (if present) is rendered when project is saved to graphical format. |
| virtual [UseGradientBrush](../../aspose.tasks.saving/saveoptions/usegradientbrush) { getset; } | Gets or sets a value indicating whether gradient brush should be used when rendering Gantt Chart. |
| [View](../../aspose.tasks.saving/saveoptions/view) { getset; } | Gets or sets a list of the view columns to render ([`GanttChartColumn`](../../aspose.tasks.visualization/ganttchartcolumn)). If not set then task ids, task names, start and finish are rendered only. If both View and [`ViewSettings`](../saveoptions/viewsettings) properties are set, columns from View overrides columns from ViewSettings. |
| [ViewSettings](../../aspose.tasks.saving/saveoptions/viewsettings) { getset; } | Gets or sets a view ([`View`](../saveoptions/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, [`PresentationFormat`](../../aspose.tasks.visualization/presentationformat) property is ignored when project is saved. View should be from one of the following screen (([`Screen`](../../aspose.tasks/view/screen))): (Gantt, TaskSheet, TaskUsage, ResourceSheet, ResourceUsage) |
| [View](../../aspose.tasks.saving/csvoptions/view) { getset; } | Gets or sets a list of the view columns ([`GanttChartColumn`](../../aspose.tasks.visualization/ganttchartcolumn)) to save to XLSX format. If not set then default columns are saved. |

### Examples

Expand All @@ -68,7 +48,7 @@ project.Save(OutDir + "WorkWithCsvOptions_out.csv", options);

### See Also

* class [SaveOptions](../saveoptions)
* class [SimpleSaveOptions](../simplesaveoptions)
* namespace [Aspose.Tasks.Saving](../../aspose.tasks.saving)
* assembly [Aspose.Tasks](../../)

Expand Down
6 changes: 3 additions & 3 deletions english/net/aspose.tasks.saving/htmlsaveoptions/_index.md
Original file line number Diff line number Diff line change
Expand Up @@ -53,10 +53,10 @@ public class HtmlSaveOptions : SaveOptions
| [ReduceFooterGap](../../aspose.tasks.saving/htmlsaveoptions/reducefootergap) { getset; } | Gets or sets a value indicating whether a gap between last task and the footer must be reduced. |
| [RenderToSinglePage](../../aspose.tasks.saving/saveoptions/rendertosinglepage) { getset; } | Gets or 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. |
| [RollUpGanttBars](../../aspose.tasks.saving/saveoptions/rollupganttbars) { getset; } | Gets or 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. |
| [SaveFormat](../../aspose.tasks.saving/saveoptions/saveformat) { get; } | Gets or sets the format in which the document will be saved if this save options object is used. |
| [SaveFormat](../../aspose.tasks.saving/simplesaveoptions/saveformat) { get; } | Gets or sets the format in which the document will be saved if this save options object is used. |
| [StartDate](../../aspose.tasks.saving/saveoptions/startdate) { getset; } | Gets or sets the date to start rendering from. |
| [TasksComparer](../../aspose.tasks.saving/saveoptions/taskscomparer) { getset; } | Gets or sets the comparer to sort tasks on Gantt chart and Task Sheet chart. |
| [TasksFilter](../../aspose.tasks.saving/saveoptions/tasksfilter) { getset; } | Gets or sets the condition which is used to filter tasks rendered on Gantt, Task Sheet and Task Usage charts. |
| [TasksComparer](../../aspose.tasks.saving/simplesaveoptions/taskscomparer) { getset; } | Gets or sets the comparer to sort tasks on Gantt chart and Task Sheet chart. |
| [TasksFilter](../../aspose.tasks.saving/simplesaveoptions/tasksfilter) { getset; } | Gets or sets the condition which is used to filter tasks rendered on Gantt, Task Sheet and Task Usage charts. |
| [TextStyles](../../aspose.tasks.saving/saveoptions/textstyles) { getset; } | Gets or sets the list of the instances of the [`TextStyle`](../../aspose.tasks.visualization/textstyle) class that appear in project view. |
| [Timescale](../../aspose.tasks.saving/saveoptions/timescale) { get; set; } | Gets or sets the [`Timescale`](../saveoptions/timescale) value which is used to control how timescale (if present) is rendered when project is saved to graphical format. |
| override [UseGradientBrush](../../aspose.tasks.saving/htmlsaveoptions/usegradientbrush) { getset; } | Gets or sets a value indicating whether to use gradient brush when rendering project layout. Currently using of gradient brush is not supported when rendering to HTML. |
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -24,10 +24,11 @@ var project = new Project(DataDir + "EstimatedMilestoneTasks.mpp");
var options = new HtmlSaveOptions
{
PresentationFormat = PresentationFormat.GanttChart,
FitContent = true,
UseProjectDefaultFont = false,
DefaultFontName = "Segoe UI Black"
FitContent = true
};

options.FontSettings.UseProjectDefaultFont = false;
options.FontSettings.DefaultFontName = "Segoe UI Black";
project.Save(OutDir + "AddDefaultFontDuringSavingAsHtml_out.html", options);
```

Expand Down
6 changes: 3 additions & 3 deletions english/net/aspose.tasks.saving/imagesaveoptions/_index.md
Original file line number Diff line number Diff line change
Expand Up @@ -46,10 +46,10 @@ public class ImageSaveOptions : SaveOptions
| [ReduceFooterGap](../../aspose.tasks.saving/imagesaveoptions/reducefootergap) { getset; } | Gets or sets a value indicating whether a gap between last task and the footer must be reduced. |
| [RenderToSinglePage](../../aspose.tasks.saving/saveoptions/rendertosinglepage) { getset; } | Gets or 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. |
| [RollUpGanttBars](../../aspose.tasks.saving/saveoptions/rollupganttbars) { getset; } | Gets or 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. |
| [SaveFormat](../../aspose.tasks.saving/saveoptions/saveformat) { get; } | Gets or sets the format in which the document will be saved if this save options object is used. |
| [SaveFormat](../../aspose.tasks.saving/simplesaveoptions/saveformat) { get; } | Gets or sets the format in which the document will be saved if this save options object is used. |
| [StartDate](../../aspose.tasks.saving/saveoptions/startdate) { getset; } | Gets or sets the date to start rendering from. |
| [TasksComparer](../../aspose.tasks.saving/saveoptions/taskscomparer) { getset; } | Gets or sets the comparer to sort tasks on Gantt chart and Task Sheet chart. |
| [TasksFilter](../../aspose.tasks.saving/saveoptions/tasksfilter) { getset; } | Gets or sets the condition which is used to filter tasks rendered on Gantt, Task Sheet and Task Usage charts. |
| [TasksComparer](../../aspose.tasks.saving/simplesaveoptions/taskscomparer) { getset; } | Gets or sets the comparer to sort tasks on Gantt chart and Task Sheet chart. |
| [TasksFilter](../../aspose.tasks.saving/simplesaveoptions/tasksfilter) { getset; } | Gets or sets the condition which is used to filter tasks rendered on Gantt, Task Sheet and Task Usage charts. |
| [TextStyles](../../aspose.tasks.saving/saveoptions/textstyles) { getset; } | Gets or sets the list of the instances of the [`TextStyle`](../../aspose.tasks.visualization/textstyle) class that appear in project view. |
| [TiffCompression](../../aspose.tasks.saving/imagesaveoptions/tiffcompression) { get; set; } | Gets or sets the type of compression to apply when saving generated images to the TIFF format. |
| [Timescale](../../aspose.tasks.saving/saveoptions/timescale) { getset; } | Gets or sets the [`Timescale`](../saveoptions/timescale) value which is used to control how timescale (if present) is rendered when project is saved to graphical format. |
Expand Down
8 changes: 6 additions & 2 deletions english/net/aspose.tasks.saving/mppsaveoptions/_index.md
Original file line number Diff line number Diff line change
Expand Up @@ -11,21 +11,24 @@ url: /net/aspose.tasks.saving/mppsaveoptions/
Allows to specify additional options when saving project data to MPP.

```csharp
public class MPPSaveOptions
public class MPPSaveOptions : SimpleSaveOptions
```

## Constructors

| Name | Description |
| --- | --- |
| [MPPSaveOptions](mppsaveoptions)() | The default constructor. |
| [MPPSaveOptions](mppsaveoptions)() | Initializes a new instance of the [`MPPSaveOptions`](../mppsaveoptions) class. |

## Properties

| Name | Description |
| --- | --- |
| [ProtectionPassword](../../aspose.tasks.saving/mppsaveoptions/protectionpassword) { get; set; } | Gets or 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. |
| [RemoveInvalidAssignments](../../aspose.tasks.saving/mppsaveoptions/removeinvalidassignments) { getset; } | Gets or 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. |
| [SaveFormat](../../aspose.tasks.saving/simplesaveoptions/saveformat) { get; } | Gets or sets the format in which the document will be saved if this save options object is used. |
| [TasksComparer](../../aspose.tasks.saving/simplesaveoptions/taskscomparer) { getset; } | Gets or sets the comparer to sort tasks on Gantt chart and Task Sheet chart. |
| [TasksFilter](../../aspose.tasks.saving/simplesaveoptions/tasksfilter) { getset; } | Gets or sets the condition which is used to filter tasks rendered on Gantt, Task Sheet and Task Usage charts. |
| [WriteViewData](../../aspose.tasks.saving/mppsaveoptions/writeviewdata) { getset; } | Gets or sets a value indicating whether to write view data when saving to MPP. View data includes Project.Views, Filters and Tables collections. |

### Examples
Expand All @@ -51,6 +54,7 @@ using (var stream = new FileStream(OutDir + "EmptyProjectSaveStream_out.xml", Fi

### See Also

* class [SimpleSaveOptions](../simplesaveoptions)
* namespace [Aspose.Tasks.Saving](../../aspose.tasks.saving)
* assembly [Aspose.Tasks](../../)

Expand Down
Original file line number Diff line number Diff line change
@@ -1,14 +1,14 @@
---
title: MPPSaveOptions
second_title: Aspose.Tasks for .NET API Reference
description: The default constructor.
description: Initializes a new instance of the MPPSaveOptionsaspose.tasks.saving/mppsaveoptions class.
type: docs
weight: 10
url: /net/aspose.tasks.saving/mppsaveoptions/mppsaveoptions/
---
## MPPSaveOptions constructor

The default constructor.
Initializes a new instance of the [`MPPSaveOptions`](../../mppsaveoptions) class.

```csharp
public MPPSaveOptions()
Expand Down
Loading

0 comments on commit 3728ea9

Please sign in to comment.