Skip to content

Commit 04d975c

Browse files
authored
Merge pull request #115 from aspose-tasks/main
Updated to Aspose.Tasks for .NET 25.7.
2 parents 94c93e6 + 85a1a65 commit 04d975c

File tree

172 files changed

+958
-268
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

172 files changed

+958
-268
lines changed

english/net/aspose.tasks.leveling/levelingoptions/_index.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@ title: Class LevelingOptions
33
second_title: Aspose.Tasks for .NET API Reference
44
description: Aspose.Tasks.Leveling.LevelingOptions class. Allows to specify parameters of resource leveling
55
type: docs
6-
weight: 930
6+
weight: 920
77
url: /net/aspose.tasks.leveling/levelingoptions/
88
---
99
## LevelingOptions class

english/net/aspose.tasks.leveling/levelingorder/_index.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@ title: Enum LevelingOrder
33
second_title: Aspose.Tasks for .NET API Reference
44
description: Aspose.Tasks.Leveling.LevelingOrder enum. Defines the possible values of leveling order
55
type: docs
6-
weight: 940
6+
weight: 930
77
url: /net/aspose.tasks.leveling/levelingorder/
88
---
99
## LevelingOrder enumeration

english/net/aspose.tasks.leveling/levelingresult/_index.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@ title: Class LevelingResult
33
second_title: Aspose.Tasks for .NET API Reference
44
description: Aspose.Tasks.Leveling.LevelingResult class. Represents the results of resource leveling
55
type: docs
6-
weight: 950
6+
weight: 940
77
url: /net/aspose.tasks.leveling/levelingresult/
88
---
99
## LevelingResult class

english/net/aspose.tasks.leveling/resourceleveler/_index.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@ title: Class ResourceLeveler
33
second_title: Aspose.Tasks for .NET API Reference
44
description: Aspose.Tasks.Leveling.ResourceLeveler class. Contains resource leveling methods
55
type: docs
6-
weight: 960
6+
weight: 950
77
url: /net/aspose.tasks.leveling/resourceleveler/
88
---
99
## ResourceLeveler class

english/net/aspose.tasks.primavera/_index.md

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -18,6 +18,7 @@ Contains classes necessary to work with Primavera-specific formats (XER, Primave
1818
| Enumeration | Description |
1919
| --- | --- |
2020
| [PrimaveraActivityType](./primaveraactivitytype/) | Specifies type of Primavera activity. |
21+
| [PrimaveraConstraintType](./primaveraconstrainttype/) | Specifies a type of activity's constraint. |
2122
| [PrimaveraDurationType](./primaveradurationtype/) | Specifies duration type of Primavera activity. |
2223
| [PrimaveraPercentCompleteType](./primaverapercentcompletetype/) | Specifies value of '% Complete Type' field for Primavera activities. |
2324
| [PrimaveraRelationshipLagCalendar](./primaverarelationshiplagcalendar/) | Specifies which calendar to use for scheduling Relationship Lag in Primavera projects. |

english/net/aspose.tasks.primavera/primaveraactivitytype/_index.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@ title: Enum PrimaveraActivityType
33
second_title: Aspose.Tasks for .NET API Reference
44
description: Aspose.Tasks.Primavera.PrimaveraActivityType enum. Specifies type of Primavera activity
55
type: docs
6-
weight: 1250
6+
weight: 1240
77
url: /net/aspose.tasks.primavera/primaveraactivitytype/
88
---
99
## PrimaveraActivityType enumeration
Lines changed: 37 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,37 @@
1+
---
2+
title: Enum PrimaveraConstraintType
3+
second_title: Aspose.Tasks for .NET API Reference
4+
description: Aspose.Tasks.Primavera.PrimaveraConstraintType enum. Specifies a type of activitys constraint
5+
type: docs
6+
weight: 1250
7+
url: /net/aspose.tasks.primavera/primaveraconstrainttype/
8+
---
9+
## PrimaveraConstraintType enumeration
10+
11+
Specifies a type of activity's constraint.
12+
13+
```csharp
14+
public enum PrimaveraConstraintType
15+
```
16+
17+
### Values
18+
19+
| Name | Value | Description |
20+
| --- | --- | --- |
21+
| None | `0` | Not specified or not applicable. |
22+
| FinishOn | `1` | 'Finish On' type |
23+
| FinishOnOrAfter | `2` | 'Finish On or After' type |
24+
| FinishOnOrBefore | `3` | 'Finish On or Before' type |
25+
| MandatoryFinish | `4` | 'Mandatory Finish' type |
26+
| MandatoryStart | `5` | 'Mandatory Start' type |
27+
| StartOn | `6` | 'Start On' type |
28+
| StartOnOrAfter | `7` | 'Start On or After' type |
29+
| StartOnOrBefore | `8` | 'Start On or Before' type |
30+
| AsLateAsPossible | `9` | 'As Late As Possible' type |
31+
32+
### See Also
33+
34+
* namespace [Aspose.Tasks.Primavera](../../aspose.tasks.primavera/)
35+
* assembly [Aspose.Tasks](../../)
36+
37+

english/net/aspose.tasks.saving/mppsaveoptions/_index.md

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -32,6 +32,7 @@ public class MPPSaveOptions : SimpleSaveOptions
3232
| [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. |
3333
| [WriteFilters](../../aspose.tasks.saving/mppsaveoptions/writefilters/) { getset; } | Gets or sets a value indicating whether to write filter data when saving a project to MPP for format. Filter data includes Project.TaskFilters and Project.ResourceFilters collections. |
3434
| [WriteGroups](../../aspose.tasks.saving/mppsaveoptions/writegroups/) { getset; } | Gets or sets a value indicating whether to write groups data when saving a project to MPP for format. Group data includes Project.TaskGroups and Project.ResourceGroups collections. |
35+
| [WriteVba](../../aspose.tasks.saving/mppsaveoptions/writevba/) { getset; } | Gets or sets a value indicating whether to update existing VBA macros data in MPP file. Currently writing of VbaModule.SourceCode is supported. |
3536
| [WriteViewData](../../aspose.tasks.saving/mppsaveoptions/writeviewdata/) { getset; } | Gets or sets a value indicating whether to write view data when saving a project to MPP format. View data includes Project.Views, Filters and Tables collections. |
3637

3738
## Examples
Lines changed: 50 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,50 @@
1+
---
2+
title: MPPSaveOptions.WriteVba
3+
second_title: Aspose.Tasks for .NET API Reference
4+
description: MPPSaveOptions property. Gets or sets a value indicating whether to update existing VBA macros data in MPP file. Currently writing of VbaModule.SourceCode is supported
5+
type: docs
6+
weight: 70
7+
url: /net/aspose.tasks.saving/mppsaveoptions/writevba/
8+
---
9+
## MPPSaveOptions.WriteVba property
10+
11+
Gets or sets a value indicating whether to update existing VBA macros data in MPP file. Currently writing of VbaModule.SourceCode is supported.
12+
13+
```csharp
14+
public bool WriteVba { get; set; }
15+
```
16+
17+
## Examples
18+
19+
Shows how to add/delete VBA macros to/from the existing VbaProject in MPP file.
20+
21+
```csharp
22+
var project = new Project(DataDir + "VbaProject.mpp");
23+
24+
var newModule = VbaModule.CreateProceduralModule("Module20");
25+
newModule.SourceCode = @"Sub TestMacro()
26+
#If conUnicode Then
27+
Dim p As Project
28+
Set p = Application.ActiveProject
29+
MsgBox ""This is a message from a new macro. Current project: "" & p.Name
30+
#End If
31+
End Sub
32+
33+
Private Sub Project_BeforePrint(ByVal pj As Project)
34+
35+
End Sub";
36+
project.VbaProject.Modules.Add(newModule);
37+
38+
var moduleToDelete = project.VbaProject.Modules["EventCode"];
39+
project.VbaProject.Modules.Remove(moduleToDelete);
40+
41+
project.Save(OutDir + "VbaProject.AddedModule.mpp", new MPPSaveOptions() { WriteVba = true });
42+
```
43+
44+
### See Also
45+
46+
* class [MPPSaveOptions](../)
47+
* namespace [Aspose.Tasks.Saving](../../mppsaveoptions/)
48+
* assembly [Aspose.Tasks](../../../)
49+
50+

english/net/aspose.tasks.saving/mppsaveoptions/writeviewdata/_index.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@ title: MPPSaveOptions.WriteViewData
33
second_title: Aspose.Tasks for .NET API Reference
44
description: MPPSaveOptions property. Gets or sets a value indicating whether to write view data when saving a project to MPP format. View data includes Project.Views Filters and Tables collections
55
type: docs
6-
weight: 70
6+
weight: 80
77
url: /net/aspose.tasks.saving/mppsaveoptions/writeviewdata/
88
---
99
## MPPSaveOptions.WriteViewData property

0 commit comments

Comments
 (0)