Skip to content

Commit f816b93

Browse files
Merge pull request #107 from aspose-tasks/tasks-python-api-25.5.0-200333
Updated API for Aspose.Tasks for Python via .NET 25.5.0
2 parents 7a3cf5a + 64fc47f commit f816b93

File tree

6 files changed

+30
-21
lines changed

6 files changed

+30
-21
lines changed

english/python-net/aspose.tasks.visualization/_index.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -20,7 +20,7 @@ Contains helper classes for rendering.
2020
|[GanttChartColumn](/tasks/python-net/aspose.tasks.visualization/ganttchartcolumn/)|Project's view class|
2121
|[Gridline](/tasks/python-net/aspose.tasks.visualization/gridline/)|The horizontal or vertical line that appears in the project view.|
2222
|[Gridlines](/tasks/python-net/aspose.tasks.visualization/gridlines/)|Represents gridlines that appear in a GanttChart view.|
23-
|[HeaderFooterInfo](/tasks/python-net/aspose.tasks.visualization/headerfooterinfo/)|Represents header or footer data which is present in views and used for printing.|
23+
|[HeaderFooterInfo](/tasks/python-net/aspose.tasks.visualization/headerfooterinfo/)|Represents visual content of the header, footer or legend which is used for printing \ rendering of views.|
2424
|[ITextStyleModificationCallback](/tasks/python-net/aspose.tasks.visualization/itextstylemodificationcallback/)|Represents a callback that is called before TextStyle is applied to a table cell.|
2525
|[PageInfo](/tasks/python-net/aspose.tasks.visualization/pageinfo/)|Represents page setup data which is present in MPP file format and used for printing.|
2626
|[PageLegend](/tasks/python-net/aspose.tasks.visualization/pagelegend/)|Represents a page legend which is used for project printing.|

english/python-net/aspose.tasks.visualization/headerfooterinfo/_index.md

Lines changed: 7 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,7 @@ url: /python-net/aspose.tasks.visualization/headerfooterinfo/
99

1010
## HeaderFooterInfo class
1111

12-
Represents header or footer data which is present in views and used for printing.
12+
Represents visual content of the header, footer or legend which is used for printing \ rendering of views.
1313

1414
The HeaderFooterInfo type exposes the following members:
1515
## Constructors
@@ -19,12 +19,12 @@ The HeaderFooterInfo type exposes the following members:
1919
## Properties
2020
| Name | Description |
2121
| :- | :- |
22-
|left_text|Gets or sets the left aligned text to display in the header or footer.|
23-
|centered_text|Gets or sets the centered text to display in the header or footer .|
24-
|right_text|Gets or sets the right aligned text to display in the header or footer.|
25-
|left_image|Gets or sets the left aligned image to be displayed in the header or footer.|
26-
|centered_image|Gets or sets the centered image to be displayed in the header or footer.|
27-
|right_image|Gets or sets the right aligned image to be displayed in the header or footer.|
22+
|left_text|Gets or sets the left aligned text to display in the parent element.|
23+
|centered_text|Gets or sets the centered text to display in the parent element.|
24+
|right_text|Gets or sets the right aligned text to display in the parent element.|
25+
|left_image|Gets or sets the left aligned image to be displayed in the parent element.|
26+
|centered_image|Gets or sets the centered image to be displayed in the parent element.|
27+
|right_image|Gets or sets the right aligned image to be displayed in the parent element.|
2828
|left_image_size|Gets or sets the displayed size of the left image.|
2929
|centered_image_size|Gets or sets the displayed size of the center image.|
3030
|right_image_size|Gets or sets the displayed size of the right image.|

english/python-net/aspose.tasks.visualization/pagelegend/_index.md

Lines changed: 10 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -19,14 +19,17 @@ The PageLegend type exposes the following members:
1919
## Properties
2020
| Name | Description |
2121
| :- | :- |
22-
|left_text|Gets or sets the left aligned text to display in the page legend.|
23-
|centered_text|Gets or sets the centered text to display in the page legend.|
24-
|right_text|Gets or sets the right aligned text to display in the page legend.|
22+
|left_text|Gets or sets the left aligned text to display in the parent element.|
23+
|centered_text|Gets or sets the centered text to display in the parent element.|
24+
|right_text|Gets or sets the right aligned text to display in the parent element.|
25+
|left_image|Gets or sets the left aligned image to be displayed in the parent element.|
26+
|centered_image|Gets or sets the centered image to be displayed in the parent element.|
27+
|right_image|Gets or sets the right aligned image to be displayed in the parent element.|
28+
|left_image_size|Gets or sets the displayed size of the left image.|
29+
|centered_image_size|Gets or sets the displayed size of the center image.|
30+
|right_image_size|Gets or sets the displayed size of the right image.|
2531
|legend_on|Gets or sets the pages on which the legend appears. Can be one of the values of the [Legend](/tasks/python-net/aspose.tasks.visualization/legend/) enumeration.|
26-
|width|Gets or sets the width of the legend.|
27-
|left_image|Gets or sets the left aligned image to be displayed in the page legend.|
28-
|centered_image|Gets or sets the centered image to be displayed in the page legend.|
29-
|right_image|Gets or sets the right aligned image to be displayed in the page legend.|
32+
|width|Gets or sets the width of the left part (containing project's name and date by default) of the legend in centimeters.|
3033

3134
### See Also
3235

english/python-net/aspose.tasks.visualization/pagemargins/_index.md

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -19,10 +19,10 @@ The PageMargins type exposes the following members:
1919
## Properties
2020
| Name | Description |
2121
| :- | :- |
22-
|top|Gets or sets the size of the top margin in inches or centimeters.|
23-
|bottom|Gets or sets the size of the bottom margin in inches or centimeters.|
24-
|left|Gets or sets the size of the left margin in inches or centimeters.|
25-
|right|Gets or sets the size of the right margin in inches or centimeters.|
22+
|top|Gets or sets the size of the top margin in centimeters.|
23+
|bottom|Gets or sets the size of the bottom margin in centimeters.|
24+
|left|Gets or sets the size of the left margin in centimeters.|
25+
|right|Gets or sets the size of the right margin in centimeters.|
2626
|borders|Gets or sets a position where to print borders. Can be one of the values of the [Border](/tasks/python-net/aspose.tasks.visualization/border/) enumeration.|
2727

2828
### See Also

english/python-net/aspose.tasks/calendar/_index.md

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -39,10 +39,13 @@ The Calendar type exposes the following members:
3939
|make_night_shift_calendar(calendar)|Makes a given Calendar as Night Shift Calendar.|
4040
|delete()|Removes calendar from project.|
4141
|is_day_working(dt)|Determines whether the specified day is a working day according to the calendar.|
42+
|get_working_hours_time_span(start, finish)|Returns amount of working hours between the specified dates.|
4243
|get_task_finish_date_from_duration(task, duration)|Calculates the task finish date and time from its start date, split parts and the work duration.|
4344
|get_working_times(dt)|Returns [WorkingTimeCollection](/tasks/python-net/aspose.tasks/workingtimecollection/) of working times for the specified date.|
4445
|get_previous_working_day_end(date)|Calculates the end of the previous working date from the specified date.|
4546
|get_next_working_day_start(date)|Calculates next working day start for the specified date.|
47+
|get_work_start(date)|Calculates next working time start beginning from the specified date and time.|
48+
|is_empty()|Returns whether the calendar doesn't have working hours defined.|
4649

4750
### See Also
4851

english/python-net/aspose.tasks/icalendar/_index.md

Lines changed: 5 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -17,15 +17,18 @@ The ICalendar type exposes the following members:
1717
| :- | :- |
1818
|get_start_date_from_finish_and_duration(finish, duration)|Returns start date based on the specified finish date and duration.|
1919
|get_start_date_from_finish_and_duration(finish, duration)|Returns start date based on specified finish date and duration.|
20-
|get_working_hours(start, finish)|Return WorkUnit - Start, Finish and Duration of working hours for the specified date time interval.|
21-
|get_working_hours(dt)|Return WorkUnit - Start, Finish and Duration of working hours for the specified date time interval.|
20+
|get_working_hours(start, finish)|Returns WorkUnit - Start, Finish and Duration of working hours for the specified date time interval.|
21+
|get_working_hours(dt)|Returns WorkUnit - Start, Finish and Duration of working hours for the specified date time interval.|
2222
|get_finish_date_by_start_and_work(start, work)|Calculates the date when the specified amount of work time will pass according to the calendar.|
2323
|get_finish_date_by_start_and_work(start, work)|Calculates the date when the specified amount of work time will pass according to the calendar.|
2424
|is_day_working(dt)|Determines whether the specified day is a working day according to the calendar.|
25+
|get_working_hours_time_span(start, finish)|Returns amount of working hours between the specified dates.|
2526
|get_task_finish_date_from_duration(task, duration)|Calculates the task finish date and time from its start date, split parts and the work duration.|
2627
|get_working_times(dt)|Returns [WorkingTimeCollection](/tasks/python-net/aspose.tasks/workingtimecollection/) of working times for the specified date.|
2728
|get_previous_working_day_end(date)|Calculates the end of the previous working date from the specified date.|
2829
|get_next_working_day_start(date)|Calculates next working day start for the specified date.|
30+
|get_work_start(date)|Calculates next working time start beginning from the specified date and time.|
31+
|is_empty()|Returns whether the calendar doesn't have working hours defined.|
2932

3033
### See Also
3134

0 commit comments

Comments
 (0)