From a711276911f39073c95764c55b4d9b2db969f20e Mon Sep 17 00:00:00 2001 From: Aleksey Chevyrov Date: Sun, 22 Jun 2025 07:49:21 -0500 Subject: [PATCH] Updated API for Aspose.Tasks for Python via .NET 25.6.0 --- .../mppsaveoptions/_index.md | 1 + english/python-net/aspose.tasks/_index.md | 1 + .../aspose.tasks/ivbamodule/_index.md | 2 +- .../aspose.tasks/vbamodule/_index.md | 10 +++++-- .../vbamodulecollection/_index.md | 6 ++++- .../aspose.tasks/vbamoduletype/_index.md | 26 +++++++++++++++++++ .../aspose.tasks/viewscreen/_index.md | 2 +- .../aspose.tasks/wbssequence/_index.md | 2 +- .../aspose.tasks/weekdaytype/_index.md | 2 +- .../aspose.tasks/weeklabeldisplay/_index.md | 2 +- .../aspose.tasks/workcontourtype/_index.md | 2 +- .../aspose.tasks/workgrouptype/_index.md | 2 +- .../aspose.tasks/yearlabeldisplay/_index.md | 2 +- 13 files changed, 49 insertions(+), 11 deletions(-) create mode 100644 english/python-net/aspose.tasks/vbamoduletype/_index.md diff --git a/english/python-net/aspose.tasks.saving/mppsaveoptions/_index.md b/english/python-net/aspose.tasks.saving/mppsaveoptions/_index.md index 72b9ee074..41a6b0def 100644 --- a/english/python-net/aspose.tasks.saving/mppsaveoptions/_index.md +++ b/english/python-net/aspose.tasks.saving/mppsaveoptions/_index.md @@ -25,6 +25,7 @@ The MPPSaveOptions type exposes the following members: |write_filters|Gets or sets a value indicating whether to write filter data when saving a project to MPP for format.| |write_groups|Gets or sets a value indicating whether to write groups data when saving a project to MPP for format.| |clear_vba|Gets or sets a value indicating whether to remove existing VBA macros data when saving a project to MPP format.| +|write_vba|Gets or sets a value indicating whether to update existing VBA macros data in MPP file.
Currently writing of VbaModule.SourceCode is supported.| |protection_password|Gets or sets a password which is used to protect a resulting MPP file. Currently is supported for MS Project 2010 and newer formats.| ### See Also diff --git a/english/python-net/aspose.tasks/_index.md b/english/python-net/aspose.tasks/_index.md index f7f76ca2d..790fcadbd 100644 --- a/english/python-net/aspose.tasks/_index.md +++ b/english/python-net/aspose.tasks/_index.md @@ -226,6 +226,7 @@ Contains classes for work with Microsoft Project documents without utilizing Mic |[TimeUnitType](/tasks/python-net/aspose.tasks/timeunittype/)|Specifies the type of a time unit.| |[TimephasedDataType](/tasks/python-net/aspose.tasks/timephaseddatatype/)|Specifies the type of time phased data.| |[UndefinedConstraintHandlingBehavior](/tasks/python-net/aspose.tasks/undefinedconstrainthandlingbehavior/)|Specifies the behavior used to handle tasks with undefined constraints.| +|[VbaModuleType](/tasks/python-net/aspose.tasks/vbamoduletype/)|Specifies the type of a module in a VBA project.| |[ViewScreen](/tasks/python-net/aspose.tasks/viewscreen/)|Specifies the screen type for a view.| |[WBSSequence](/tasks/python-net/aspose.tasks/wbssequence/)|Specifies sequence for WBSCodeMask| |[WeekLabelDisplay](/tasks/python-net/aspose.tasks/weeklabeldisplay/)|Specifies how the week label displays.| diff --git a/english/python-net/aspose.tasks/ivbamodule/_index.md b/english/python-net/aspose.tasks/ivbamodule/_index.md index 21b012814..a59f188de 100644 --- a/english/python-net/aspose.tasks/ivbamodule/_index.md +++ b/english/python-net/aspose.tasks/ivbamodule/_index.md @@ -17,7 +17,7 @@ The IVbaModule type exposes the following members: | :- | :- | |attributes|Gets a collection of [VbaModuleAttributeCollection](/tasks/python-net/aspose.tasks/vbamoduleattributecollection/)| |name|Gets a name of the VBA module| -|source_code|Gets a source Code of the VBA module| +|source_code|Gets a source code of the VBA module| ### See Also diff --git a/english/python-net/aspose.tasks/vbamodule/_index.md b/english/python-net/aspose.tasks/vbamodule/_index.md index 58f0d2317..ff6436f97 100644 --- a/english/python-net/aspose.tasks/vbamodule/_index.md +++ b/english/python-net/aspose.tasks/vbamodule/_index.md @@ -15,9 +15,15 @@ The VbaModule type exposes the following members: ## Properties | Name | Description | | :- | :- | -|attributes|Gets a collection of [VbaModuleAttributeCollection](/tasks/python-net/aspose.tasks/vbamoduleattributecollection/)| +|attributes|Gets a collection of the module's attributes.| |name|Gets a name of the VBA module| -|source_code|Gets a source Code of the VBA module| +|type|Gets the type of the module.| +|source_code|Gets or sets a source code of the VBA module| +## Methods +| Name | Description | +| :- | :- | +|create_procedural_module(name)|Creates an instance of [VbaModule](/tasks/python-net/aspose.tasks/vbamodule/) with VbaModuleType.ProceduralModule type.| +|create_class_module(name)|Creates an instance of [VbaModule](/tasks/python-net/aspose.tasks/vbamodule/) with VbaModuleType.ClassModule type.| ### See Also diff --git a/english/python-net/aspose.tasks/vbamodulecollection/_index.md b/english/python-net/aspose.tasks/vbamodulecollection/_index.md index b48bc4e76..4a1a0039a 100644 --- a/english/python-net/aspose.tasks/vbamodulecollection/_index.md +++ b/english/python-net/aspose.tasks/vbamodulecollection/_index.md @@ -12,10 +12,14 @@ url: /python-net/aspose.tasks/vbamodulecollection/ Represents a collection of [VbaModule](/tasks/python-net/aspose.tasks/vbamodule/) objects. The VbaModuleCollection type exposes the following members: +## Indexer +| Name | Description | +| :- | :- | +|[index]|Gets the module at the specified index.| ## Methods | Name | Description | | :- | :- | -|to_list()| | +|to_list()|Converts the collection object to a list of [VbaModule](/tasks/python-net/aspose.tasks/vbamodule/) objects.| ### See Also diff --git a/english/python-net/aspose.tasks/vbamoduletype/_index.md b/english/python-net/aspose.tasks/vbamoduletype/_index.md new file mode 100644 index 000000000..f08dc6da7 --- /dev/null +++ b/english/python-net/aspose.tasks/vbamoduletype/_index.md @@ -0,0 +1,26 @@ +--- +title: VbaModuleType +second_title: Aspose.Tasks for Python via .NET API Reference +description: +type: docs +weight: 2820 +url: /python-net/aspose.tasks/vbamoduletype/ +--- + +## VbaModuleType enumeration + +Specifies the type of a module in a VBA project. + +## Members +| Member name | Description | +| :- | :- | +|DOCUMENT_MODULE|A type of VBA project item that specifies a module for embedded macros and programmatic access operations that are associated with a document.| +|PROCEDURAL_MODULE|A module containing collection of subroutines and functions.| +|CLASS_MODULE|A module that contains the definition for a new object. Each instance of a class creates a new object, and procedures that are defined in the module become properties and methods of the object.| +|DESIGNER_MODULE|A module that extends the methods and properties of an ActiveX control that has been registered with the project.| + +### See Also + +* namespace [aspose.tasks](/tasks/python-net/aspose.tasks/) +* assembly [Aspose.Tasks](/tasks/python-net/) + diff --git a/english/python-net/aspose.tasks/viewscreen/_index.md b/english/python-net/aspose.tasks/viewscreen/_index.md index 071bd7630..112d4de25 100644 --- a/english/python-net/aspose.tasks/viewscreen/_index.md +++ b/english/python-net/aspose.tasks/viewscreen/_index.md @@ -3,7 +3,7 @@ title: ViewScreen second_title: Aspose.Tasks for Python via .NET API Reference description: type: docs -weight: 2820 +weight: 2830 url: /python-net/aspose.tasks/viewscreen/ --- diff --git a/english/python-net/aspose.tasks/wbssequence/_index.md b/english/python-net/aspose.tasks/wbssequence/_index.md index 99902ec8e..bf3c7c08e 100644 --- a/english/python-net/aspose.tasks/wbssequence/_index.md +++ b/english/python-net/aspose.tasks/wbssequence/_index.md @@ -3,7 +3,7 @@ title: WBSSequence second_title: Aspose.Tasks for Python via .NET API Reference description: type: docs -weight: 2830 +weight: 2840 url: /python-net/aspose.tasks/wbssequence/ --- diff --git a/english/python-net/aspose.tasks/weekdaytype/_index.md b/english/python-net/aspose.tasks/weekdaytype/_index.md index e50761f60..aa54cbebf 100644 --- a/english/python-net/aspose.tasks/weekdaytype/_index.md +++ b/english/python-net/aspose.tasks/weekdaytype/_index.md @@ -3,7 +3,7 @@ title: WeekdayType second_title: Aspose.Tasks for Python via .NET API Reference description: type: docs -weight: 2850 +weight: 2860 url: /python-net/aspose.tasks/weekdaytype/ --- diff --git a/english/python-net/aspose.tasks/weeklabeldisplay/_index.md b/english/python-net/aspose.tasks/weeklabeldisplay/_index.md index 44a85ee17..78ab6eabb 100644 --- a/english/python-net/aspose.tasks/weeklabeldisplay/_index.md +++ b/english/python-net/aspose.tasks/weeklabeldisplay/_index.md @@ -3,7 +3,7 @@ title: WeekLabelDisplay second_title: Aspose.Tasks for Python via .NET API Reference description: type: docs -weight: 2840 +weight: 2850 url: /python-net/aspose.tasks/weeklabeldisplay/ --- diff --git a/english/python-net/aspose.tasks/workcontourtype/_index.md b/english/python-net/aspose.tasks/workcontourtype/_index.md index a3386144c..e4aec704b 100644 --- a/english/python-net/aspose.tasks/workcontourtype/_index.md +++ b/english/python-net/aspose.tasks/workcontourtype/_index.md @@ -3,7 +3,7 @@ title: WorkContourType second_title: Aspose.Tasks for Python via .NET API Reference description: type: docs -weight: 2860 +weight: 2870 url: /python-net/aspose.tasks/workcontourtype/ --- diff --git a/english/python-net/aspose.tasks/workgrouptype/_index.md b/english/python-net/aspose.tasks/workgrouptype/_index.md index 6de638da1..05a4de833 100644 --- a/english/python-net/aspose.tasks/workgrouptype/_index.md +++ b/english/python-net/aspose.tasks/workgrouptype/_index.md @@ -3,7 +3,7 @@ title: WorkGroupType second_title: Aspose.Tasks for Python via .NET API Reference description: type: docs -weight: 2870 +weight: 2880 url: /python-net/aspose.tasks/workgrouptype/ --- diff --git a/english/python-net/aspose.tasks/yearlabeldisplay/_index.md b/english/python-net/aspose.tasks/yearlabeldisplay/_index.md index 36df9535b..0a01ff2eb 100644 --- a/english/python-net/aspose.tasks/yearlabeldisplay/_index.md +++ b/english/python-net/aspose.tasks/yearlabeldisplay/_index.md @@ -3,7 +3,7 @@ title: YearLabelDisplay second_title: Aspose.Tasks for Python via .NET API Reference description: type: docs -weight: 2880 +weight: 2890 url: /python-net/aspose.tasks/yearlabeldisplay/ ---