Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
29 changes: 29 additions & 0 deletions english/net/aspose.tasks/globalizationsettings/_index.md
Original file line number Diff line number Diff line change
Expand Up @@ -32,6 +32,35 @@ public class GlobalizationSettings

The recommended way is to use culture-invariant literals or formats throughout the project. However, if a project uses culture-specific literals, this class can be used to help the formula-calculation engine parse those literals.

## Examples

Shows how set project's language-specific settings.

```csharp
var project = new Project();

var attribute = ExtendedAttributeDefinition.CreateTaskDefinition(ExtendedAttributeTask.Number1, "Number");
attribute.Formula = "IIf(ProjDateValue('n.a.')=[Date1];100;200)";

project.ExtendedAttributes.Add(attribute);

var task = project.RootTask.Children.Add("Task");

// Create extended attribute
var extendedAttribute = attribute.CreateExtendedAttribute();
task.ExtendedAttributes.Add(extendedAttribute);

var attributeDate = ExtendedAttributeDefinition.CreateTaskDefinition(ExtendedAttributeTask.Date1, "Date");

task.ExtendedAttributes.Add(attributeDate.CreateExtendedAttribute(DateTime.MinValue));

Console.WriteLine(extendedAttribute.NumericValue);

project.GlobalizationSettings = new MyGlobalizationSettings();

Console.WriteLine(extendedAttribute.NumericValue);
```

### See Also

* namespace [Aspose.Tasks](../../aspose.tasks/)
Expand Down
1 change: 1 addition & 0 deletions english/net/aspose.tasks/primaverataskproperties/_index.md
Original file line number Diff line number Diff line change
Expand Up @@ -36,6 +36,7 @@ public sealed class PrimaveraTaskProperties
| [DurationType](../../aspose.tasks/primaverataskproperties/durationtype/) { get; } | Gets the value of 'Duration Type' field of the activity. |
| [PercentCompleteType](../../aspose.tasks/primaverataskproperties/percentcompletetype/) { get; } | Gets the value of '% Complete Type' field of the activity. |
| [PhysicalPercentComplete](../../aspose.tasks/primaverataskproperties/physicalpercentcomplete/) { get; } | Gets the value of Physical Percent Complete. |
| [PlannedDuration](../../aspose.tasks/primaverataskproperties/plannedduration/) { get; } | Gets the original or planned duration -- the total working time from the task planned start date to the planned finish date.. |
| [PrimaryConstraintDate](../../aspose.tasks/primaverataskproperties/primaryconstraintdate/) { get; } | Gets the date of primary constraint. |
| [PrimaryConstraintType](../../aspose.tasks/primaverataskproperties/primaryconstrainttype/) { get; } | Gets a type of primary constraint. |
| [RawActivityType](../../aspose.tasks/primaverataskproperties/rawactivitytype/) { get; } | Gets raw text representation (as in source file) of 'Activity Type' field of the activity. |
Expand Down
Original file line number Diff line number Diff line change
@@ -0,0 +1,24 @@
---
title: PrimaveraTaskProperties.PlannedDuration
second_title: Aspose.Tasks for .NET API Reference
description: PrimaveraTaskProperties property. Gets the original or planned duration the total working time from the task planned start date to the planned finish date
type: docs
weight: 190
url: /net/aspose.tasks/primaverataskproperties/plannedduration/
---
## PrimaveraTaskProperties.PlannedDuration property

Gets the original or planned duration -- the total working time from the task planned start date to the planned finish date..

```csharp
public Duration PlannedDuration { get; }
```

### See Also

* struct [Duration](../../duration/)
* class [PrimaveraTaskProperties](../)
* namespace [Aspose.Tasks](../../primaverataskproperties/)
* assembly [Aspose.Tasks](../../../)


Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@ title: PrimaveraTaskProperties.PrimaryConstraintDate
second_title: Aspose.Tasks for .NET API Reference
description: PrimaveraTaskProperties property. Gets the date of primary constraint
type: docs
weight: 190
weight: 200
url: /net/aspose.tasks/primaverataskproperties/primaryconstraintdate/
---
## PrimaveraTaskProperties.PrimaryConstraintDate property
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@ title: PrimaveraTaskProperties.PrimaryConstraintType
second_title: Aspose.Tasks for .NET API Reference
description: PrimaveraTaskProperties property. Gets a type of primary constraint
type: docs
weight: 200
weight: 210
url: /net/aspose.tasks/primaverataskproperties/primaryconstrainttype/
---
## PrimaveraTaskProperties.PrimaryConstraintType property
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@ title: PrimaveraTaskProperties.RawActivityType
second_title: Aspose.Tasks for .NET API Reference
description: PrimaveraTaskProperties property. Gets raw text representation as in source file of Activity Type field of the activity
type: docs
weight: 210
weight: 220
url: /net/aspose.tasks/primaverataskproperties/rawactivitytype/
---
## PrimaveraTaskProperties.RawActivityType property
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@ title: PrimaveraTaskProperties.RawCompletePercentType
second_title: Aspose.Tasks for .NET API Reference
description: PrimaveraTaskProperties property. Gets raw text representation as in source file of Complete Type field of the activity
type: docs
weight: 220
weight: 230
url: /net/aspose.tasks/primaverataskproperties/rawcompletepercenttype/
---
## PrimaveraTaskProperties.RawCompletePercentType property
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@ title: PrimaveraTaskProperties.RawDurationType
second_title: Aspose.Tasks for .NET API Reference
description: PrimaveraTaskProperties property. Gets raw text representation as in source file of Duration Type field of the activity
type: docs
weight: 230
weight: 240
url: /net/aspose.tasks/primaverataskproperties/rawdurationtype/
---
## PrimaveraTaskProperties.RawDurationType property
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@ title: PrimaveraTaskProperties.RawStatus
second_title: Aspose.Tasks for .NET API Reference
description: PrimaveraTaskProperties property. Gets raw text representation as in source file of Status field of the activity
type: docs
weight: 240
weight: 250
url: /net/aspose.tasks/primaverataskproperties/rawstatus/
---
## PrimaveraTaskProperties.RawStatus property
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@ title: PrimaveraTaskProperties.RemainingEarlyFinish
second_title: Aspose.Tasks for .NET API Reference
description: PrimaveraTaskProperties property. Gets remaining early finish date the date when the remaining work for the activity is scheduled to be finished
type: docs
weight: 250
weight: 260
url: /net/aspose.tasks/primaverataskproperties/remainingearlyfinish/
---
## PrimaveraTaskProperties.RemainingEarlyFinish property
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@ title: PrimaveraTaskProperties.RemainingEarlyStart
second_title: Aspose.Tasks for .NET API Reference
description: PrimaveraTaskProperties property. Gets remaining early start date the date when the remaining work for the activity is scheduled to begin
type: docs
weight: 260
weight: 270
url: /net/aspose.tasks/primaverataskproperties/remainingearlystart/
---
## PrimaveraTaskProperties.RemainingEarlyStart property
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@ title: PrimaveraTaskProperties.RemainingExpenseCost
second_title: Aspose.Tasks for .NET API Reference
description: PrimaveraTaskProperties property. Gets the value of remaining expense cost
type: docs
weight: 270
weight: 280
url: /net/aspose.tasks/primaverataskproperties/remainingexpensecost/
---
## PrimaveraTaskProperties.RemainingExpenseCost property
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@ title: PrimaveraTaskProperties.RemainingLaborUnits
second_title: Aspose.Tasks for .NET API Reference
description: PrimaveraTaskProperties property. Gets the value of remaining labor units
type: docs
weight: 280
weight: 290
url: /net/aspose.tasks/primaverataskproperties/remaininglaborunits/
---
## PrimaveraTaskProperties.RemainingLaborUnits property
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@ title: PrimaveraTaskProperties.RemainingLateFinish
second_title: Aspose.Tasks for .NET API Reference
description: PrimaveraTaskProperties property. Gets remaining late finish date
type: docs
weight: 290
weight: 300
url: /net/aspose.tasks/primaverataskproperties/remaininglatefinish/
---
## PrimaveraTaskProperties.RemainingLateFinish property
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@ title: PrimaveraTaskProperties.RemainingLateStart
second_title: Aspose.Tasks for .NET API Reference
description: PrimaveraTaskProperties property. Gets remaining late start date
type: docs
weight: 300
weight: 310
url: /net/aspose.tasks/primaverataskproperties/remaininglatestart/
---
## PrimaveraTaskProperties.RemainingLateStart property
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@ title: PrimaveraTaskProperties.RemainingNonLaborUnits
second_title: Aspose.Tasks for .NET API Reference
description: PrimaveraTaskProperties property. Gets the value of remaining non labor units
type: docs
weight: 310
weight: 320
url: /net/aspose.tasks/primaverataskproperties/remainingnonlaborunits/
---
## PrimaveraTaskProperties.RemainingNonLaborUnits property
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@ title: PrimaveraTaskProperties.SecondaryConstraintDate
second_title: Aspose.Tasks for .NET API Reference
description: PrimaveraTaskProperties property. Gets the date of secondary constraint
type: docs
weight: 320
weight: 330
url: /net/aspose.tasks/primaverataskproperties/secondaryconstraintdate/
---
## PrimaveraTaskProperties.SecondaryConstraintDate property
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@ title: PrimaveraTaskProperties.SecondaryConstraintType
second_title: Aspose.Tasks for .NET API Reference
description: PrimaveraTaskProperties property. Gets a type of secondary constraint
type: docs
weight: 330
weight: 340
url: /net/aspose.tasks/primaverataskproperties/secondaryconstrainttype/
---
## PrimaveraTaskProperties.SecondaryConstraintType property
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@ title: PrimaveraTaskProperties.SequenceNumber
second_title: Aspose.Tasks for .NET API Reference
description: PrimaveraTaskProperties property. Gets or sets the sequence number of the WBS item summary tasks. It is used to sort summary tasks in Primavera
type: docs
weight: 340
weight: 350
url: /net/aspose.tasks/primaverataskproperties/sequencenumber/
---
## PrimaveraTaskProperties.SequenceNumber property
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@ title: PrimaveraTaskProperties.UnitsPercentComplete
second_title: Aspose.Tasks for .NET API Reference
description: PrimaveraTaskProperties property. Gets the value of units percent complete
type: docs
weight: 350
weight: 360
url: /net/aspose.tasks/primaverataskproperties/unitspercentcomplete/
---
## PrimaveraTaskProperties.UnitsPercentComplete property
Expand Down
1 change: 0 additions & 1 deletion english/net/aspose.tasks/project/_index.md
Original file line number Diff line number Diff line change
Expand Up @@ -172,7 +172,6 @@ public class Project
| [Recalculate](../../aspose.tasks/project/recalculate/#recalculate)() | Reschedules all project tasks ids, outline levels, start/finish dates, sets early/late dates, calculates slacks, work and cost fields. |
| [Recalculate](../../aspose.tasks/project/recalculate/#recalculate_1)(bool) | Reschedules all project tasks ids, outline levels, start/finish dates, sets early/late dates, calculates slacks, work and cost fields with optional validation. |
| [RecalculateResourceFields](../../aspose.tasks/project/recalculateresourcefields/)() | Recalculates Id, Start and Finish of resources. |
| [RecalculateResourceStartFinish](../../aspose.tasks/project/recalculateresourcestartfinish/)() | Recalculates Start and Finish of resources. |
| [RemoveInvalidResourceAssignments](../../aspose.tasks/project/removeinvalidresourceassignments/)() | Eliminates invalid resource assignments from the project resource assignments list. |
| [RenumberWBSCode](../../aspose.tasks/project/renumberwbscode/#renumberwbscode)() | Renumber WBS code of all tasks. |
| [RenumberWBSCode](../../aspose.tasks/project/renumberwbscode/#renumberwbscode_1)(List<int>) | Renumber WBS code of passed tasks. |
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@ title: Project.GetProjectFileInfo
second_title: Aspose.Tasks for .NET API Reference
description: Project method. Read project file info from the file
type: docs
weight: 1290
weight: 1280
url: /net/aspose.tasks/project/getprojectfileinfo/
---
## GetProjectFileInfo(string) {#getprojectfileinfo_1}
Expand Down
29 changes: 29 additions & 0 deletions english/net/aspose.tasks/project/globalizationsettings/_index.md
Original file line number Diff line number Diff line change
Expand Up @@ -18,6 +18,35 @@ public GlobalizationSettings GlobalizationSettings { get; set; }

The recommended way is to use culture-invariant literals or formats throughout the project. However, if a project uses culture-specific literals, this class can be used to help the calculation engine parse those literals.

## Examples

Shows how set project's language-specific settings.

```csharp
var project = new Project();

var attribute = ExtendedAttributeDefinition.CreateTaskDefinition(ExtendedAttributeTask.Number1, "Number");
attribute.Formula = "IIf(ProjDateValue('n.a.')=[Date1];100;200)";

project.ExtendedAttributes.Add(attribute);

var task = project.RootTask.Children.Add("Task");

// Create extended attribute
var extendedAttribute = attribute.CreateExtendedAttribute();
task.ExtendedAttributes.Add(extendedAttribute);

var attributeDate = ExtendedAttributeDefinition.CreateTaskDefinition(ExtendedAttributeTask.Date1, "Date");

task.ExtendedAttributes.Add(attributeDate.CreateExtendedAttribute(DateTime.MinValue));

Console.WriteLine(extendedAttribute.NumericValue);

project.GlobalizationSettings = new MyGlobalizationSettings();

Console.WriteLine(extendedAttribute.NumericValue);
```

### See Also

* class [GlobalizationSettings](../../globalizationsettings/)
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@ title: Project.RemoveInvalidResourceAssignments
second_title: Aspose.Tasks for .NET API Reference
description: Project method. Eliminates invalid resource assignments from the project resource assignments list
type: docs
weight: 1180
weight: 1170
url: /net/aspose.tasks/project/removeinvalidresourceassignments/
---
## Project.RemoveInvalidResourceAssignments method
Expand Down
2 changes: 1 addition & 1 deletion english/net/aspose.tasks/project/renumberwbscode/_index.md
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@ title: Project.RenumberWBSCode
second_title: Aspose.Tasks for .NET API Reference
description: Project method. Renumber WBS code of all tasks
type: docs
weight: 1190
weight: 1180
url: /net/aspose.tasks/project/renumberwbscode/
---
## RenumberWBSCode() {#renumberwbscode}
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@ title: Project.RescheduleUncompletedWorkToStartAfter
second_title: Aspose.Tasks for .NET API Reference
description: Project method. Reschedules uncompleted project work to start after a specified date
type: docs
weight: 1200
weight: 1190
url: /net/aspose.tasks/project/rescheduleuncompletedworktostartafter/
---
## RescheduleUncompletedWorkToStartAfter(DateTime) {#rescheduleuncompletedworktostartafter}
Expand Down
2 changes: 1 addition & 1 deletion english/net/aspose.tasks/project/save/_index.md
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@ title: Project.Save
second_title: Aspose.Tasks for .NET API Reference
description: Project method. Saves the document to a file using the specified save options
type: docs
weight: 1210
weight: 1200
url: /net/aspose.tasks/project/save/
---
## Save(string, SimpleSaveOptions) {#save_4}
Expand Down
2 changes: 1 addition & 1 deletion english/net/aspose.tasks/project/saveastemplate/_index.md
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@ title: Project.SaveAsTemplate
second_title: Aspose.Tasks for .NET API Reference
description: Project method. Saves the project as a template
type: docs
weight: 1220
weight: 1210
url: /net/aspose.tasks/project/saveastemplate/
---
## SaveAsTemplate(string, SaveTemplateOptions) {#saveastemplate_3}
Expand Down
2 changes: 1 addition & 1 deletion english/net/aspose.tasks/project/savereport/_index.md
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@ title: Project.SaveReport
second_title: Aspose.Tasks for .NET API Reference
description: Project method. Saves the project overview report to the stream
type: docs
weight: 1230
weight: 1220
url: /net/aspose.tasks/project/savereport/
---
## SaveReport(Stream) {#savereport}
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@ title: Project.SelectAllChildTasks
second_title: Aspose.Tasks for .NET API Reference
description: Project method. Recursively collects all child tasks of the root task
type: docs
weight: 1240
weight: 1230
url: /net/aspose.tasks/project/selectallchildtasks/
---
## Project.SelectAllChildTasks method
Expand Down
2 changes: 1 addition & 1 deletion english/net/aspose.tasks/project/set/_index.md
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@ title: Project.Set
second_title: Aspose.Tasks for .NET API Reference
description: Project method. Maps the specified property to the specified value in this container
type: docs
weight: 1250
weight: 1240
url: /net/aspose.tasks/project/set/
---
## Set<T>(Key<T, PrjKey>, T) {#set_1}
Expand Down
2 changes: 1 addition & 1 deletion english/net/aspose.tasks/project/setbaseline/_index.md
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@ title: Project.SetBaseline
second_title: Aspose.Tasks for .NET API Reference
description: Project method. Saves baseline fields to the specified baseline for the entire project
type: docs
weight: 1260
weight: 1250
url: /net/aspose.tasks/project/setbaseline/
---
## SetBaseline(BaselineType) {#setbaseline}
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@ title: Project.SetBaselineSaveTime
second_title: Aspose.Tasks for .NET API Reference
description: Project method. Sets the baseline save time
type: docs
weight: 1270
weight: 1260
url: /net/aspose.tasks/project/setbaselinesavetime/
---
## Project.SetBaselineSaveTime method
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@ title: Project.UpdateProjectWorkAsComplete
second_title: Aspose.Tasks for .NET API Reference
description: Project method. Updates all work as complete through a specified date for the entire project
type: docs
weight: 1280
weight: 1270
url: /net/aspose.tasks/project/updateprojectworkascomplete/
---
## UpdateProjectWorkAsComplete(DateTime, bool) {#updateprojectworkascomplete}
Expand Down
Loading