Skip to content

Commit 0c35926

Browse files
committed
python net v24.12
1 parent 9339072 commit 0c35926

File tree

1,031 files changed

+3131
-1212
lines changed

Some content is hidden

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

1,031 files changed

+3131
-1212
lines changed

english/aspose.cells.drawing/picture/signature_line/_index.md

Lines changed: 28 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -12,6 +12,34 @@ is_root: false
1212

1313

1414
Gets and sets the signature line
15+
16+
### Example
17+
18+
19+
```python
20+
from aspose import pycore
21+
from aspose.cells import Workbook
22+
from aspose.cells.drawing import SignatureLine
23+
import str
24+
25+
# Instantiating a Workbook object
26+
workbook = Workbook()
27+
worksheet = workbook.worksheets[0]
28+
# Adding a picture at the location of a cell whose row and column indices are 1 in the worksheet. It is "B2" cell
29+
imgIndex = worksheet.pictures.add(1, 1, pycore.cast(str, None))
30+
# Get the inserted picture object
31+
pic = worksheet.pictures[imgIndex]
32+
# Create signature line object
33+
s = SignatureLine()
34+
s.signer = "Simon"
35+
s.title = "Development"
36+
s.email = "simon@aspose.com"
37+
# Assign the signature line object to Picture.
38+
pic.signature_line = s
39+
# Save the excel file.
40+
workbook.save("result.xlsx")
41+
42+
```
1543
### Definition:
1644
```python
1745
@property

english/aspose.cells.drawing/shapecollection/add_signature_line/_index.md

Lines changed: 19 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -31,6 +31,25 @@ def add_signature_line(self, upper_left_row, upper_left_column, signature_line):
3131
| upper_left_column | int | Upper left column index. |
3232
| signature_line | [`SignatureLine`](/cells/python-net/aspose.cells.drawing/signatureline) | Represents a signature line object. |
3333

34+
### Example
35+
36+
37+
```python
38+
from aspose.cells.drawing import SignatureLine
39+
40+
wSignatureLine = SignatureLine()
41+
wSignatureLine.allow_comments = True
42+
wSignatureLine.email = "example@example.com"
43+
wSignatureLine.instructions = "Sign to confirm the excel content."
44+
wSignatureLine.is_line = True
45+
wSignatureLine.show_signed_date = True
46+
wSignatureLine.signer = "User"
47+
wSignatureLine.title = "tester"
48+
# wSignatureLine.SignatureLineType = SignatureType.Stamp;
49+
signatureLine1 = shapes.add_signature_line(0, 0, wSignatureLine)
50+
51+
```
52+
3453

3554

3655
### See Also

english/aspose.cells.drawing/shapecollection/copy_comments_in_range/_index.md

Lines changed: 26 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -27,6 +27,32 @@ def copy_comments_in_range(self, shapes, ca, dest_row, dest_column):
2727
| dest_row | int | The dest range start row. |
2828
| dest_column | int | The dest range start column. |
2929

30+
### Example
31+
32+
33+
```python
34+
from aspose.cells import CellArea
35+
36+
comments = workbook.worksheets[0].comments
37+
# Add comment to cell A1
38+
commentIndex = comments.add(0, 0)
39+
comment = comments[commentIndex]
40+
comment.note = "First note."
41+
comment.font.name = "Times New Roman"
42+
# Add comment to cell B2
43+
comments.add("B2")
44+
comment = comments.get("B2")
45+
comment.note = "Second note."
46+
area1 = CellArea()
47+
area1.start_column = 1
48+
area1.start_row = 1
49+
area1.end_column = 5
50+
area1.end_row = 4
51+
# copy
52+
shapes.copy_comments_in_range(shapes, area1, 5, 1)
53+
54+
```
55+
3056

3157

3258
### See Also

english/aspose.cells.drawing/signatureline/_index.md

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -50,9 +50,9 @@ workbook = Workbook()
5050
worksheet = workbook.worksheets[0]
5151
# Create signature line object
5252
s = SignatureLine()
53-
s.signer = "Simon Zhao"
54-
s.title = "Development Lead"
55-
s.email = "Simon.Zhao@aspose.com"
53+
s.signer = "Simon"
54+
s.title = "Development"
55+
s.email = "simon@aspose.com"
5656
s.instructions = "Sign to confirm the excel content."
5757
# Adds a Signature Line to the worksheet.
5858
signatureLine = worksheet.shapes.add_signature_line(0, 0, s)

english/aspose.cells.pivot/pivotfield/_index.md

Lines changed: 9 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -23,8 +23,10 @@ The PivotField type exposes the following members:
2323
| [range](/cells/python-net/aspose.cells.pivot/pivotfield/range) | Gets the group range of the pivot field |
2424
| [group_settings](/cells/python-net/aspose.cells.pivot/pivotfield/group_settings) | Gets the group settings of the pivot field. |
2525
| [is_calculated_field](/cells/python-net/aspose.cells.pivot/pivotfield/is_calculated_field) | Indicates whether the specified PivotTable field is calculated field. |
26+
| [is_value_fields](/cells/python-net/aspose.cells.pivot/pivotfield/is_value_fields) | Indicates whether this field represents values fields. |
2627
| [base_index](/cells/python-net/aspose.cells.pivot/pivotfield/base_index) | Represents the PivotField index in the base PivotFields. |
2728
| [position](/cells/python-net/aspose.cells.pivot/pivotfield/position) | Represents the index of [`PivotField`](/cells/python-net/aspose.cells.pivot/pivotfield) in the region. |
29+
| [region_type](/cells/python-net/aspose.cells.pivot/pivotfield/region_type) | Specifies the region of the PivotTable that this field is displayed. |
2830
| [name](/cells/python-net/aspose.cells.pivot/pivotfield/name) | Represents the name of PivotField. |
2931
| [display_name](/cells/python-net/aspose.cells.pivot/pivotfield/display_name) | Represents the PivotField display name. |
3032
| [is_auto_subtotals](/cells/python-net/aspose.cells.pivot/pivotfield/is_auto_subtotals) | Indicates whether the specified field shows automatic subtotals. Default is true. |
@@ -76,11 +78,16 @@ The PivotField type exposes the following members:
7678
| [sort_by](/cells/python-net/aspose.cells.pivot/pivotfield/sort_by/#aspose.cells.SortOrder-int-aspose.cells.pivot.PivotLineType-str) | Sorts this pivot field. |
7779
| [hide_item](/cells/python-net/aspose.cells.pivot/pivotfield/hide_item/#int-bool) | Sets whether the specific PivotItem in a data field is hidden. |
7880
| [hide_item](/cells/python-net/aspose.cells.pivot/pivotfield/hide_item/#str-bool) | Sets whether the specific PivotItem in a data field is hidden. |
81+
| [init_pivot_items](/cells/python-net/aspose.cells.pivot/pivotfield/init_pivot_items/#) | Init the pivot items of the pivot field |
82+
| [ungroup](/cells/python-net/aspose.cells.pivot/pivotfield/ungroup/#) | Ungroup the pivot field. |
7983
| [get_pivot_filter_by_type](/cells/python-net/aspose.cells.pivot/pivotfield/get_pivot_filter_by_type/#aspose.cells.pivot.PivotFilterType) | Gets the pivot filter of the pivot field by type |
8084
| [get_pivot_filters](/cells/python-net/aspose.cells.pivot/pivotfield/get_pivot_filters/#) | Gets the pivot filters of the pivot field |
8185
| [get_filters](/cells/python-net/aspose.cells.pivot/pivotfield/get_filters/#) | Gets all pivot filters of this pivot field. |
82-
| [init_pivot_items](/cells/python-net/aspose.cells.pivot/pivotfield/init_pivot_items/#) | Init the pivot items of the pivot field |
83-
| [ungroup](/cells/python-net/aspose.cells.pivot/pivotfield/ungroup/#) | Ungroup the pivot field. |
86+
| [clear_filter](/cells/python-net/aspose.cells.pivot/pivotfield/clear_filter/#) | Clears filter setting on this pivot field. |
87+
| [filter_top10](/cells/python-net/aspose.cells.pivot/pivotfield/filter_top10/#int-aspose.cells.pivot.PivotFilterType-bool-int) | Filters by values of data pivot field. |
88+
| [filter_by_value](/cells/python-net/aspose.cells.pivot/pivotfield/filter_by_value/#int-aspose.cells.pivot.PivotFilterType-float-float) | Filters by values of data pivot field. |
89+
| [filter_by_label](/cells/python-net/aspose.cells.pivot/pivotfield/filter_by_label/#aspose.cells.pivot.PivotFilterType-str-str) | Filters by captions of row or column pivot field. |
90+
| [filter_by_date](/cells/python-net/aspose.cells.pivot/pivotfield/filter_by_date/#aspose.cells.pivot.PivotFilterType-DateTime-DateTime) | Filters by date setting of row or column pivot field. |
8491
| [get_calculated_field_formula](/cells/python-net/aspose.cells.pivot/pivotfield/get_calculated_field_formula/#) | Get the formula string of the specified calculated field . |
8592
| [get_formula](/cells/python-net/aspose.cells.pivot/pivotfield/get_formula/#) | Gets formula of the calculated field . |
8693
| [set_subtotals](/cells/python-net/aspose.cells.pivot/pivotfield/set_subtotals/#aspose.cells.pivot.PivotFieldSubtotalType-bool) | Sets whether the specified field shows that subtotals. |

english/aspose.cells.pivot/pivotfield/auto_show_count/_index.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@ title: auto_show_count property
33
second_title: Aspose.Cells for Python via .NET API References
44
description:
55
type: docs
6-
weight: 210
6+
weight: 260
77
url: /aspose.cells.pivot/pivotfield/auto_show_count/
88
is_root: false
99
---

english/aspose.cells.pivot/pivotfield/auto_show_field/_index.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@ title: auto_show_field property
33
second_title: Aspose.Cells for Python via .NET API References
44
description:
55
type: docs
6-
weight: 220
6+
weight: 270
77
url: /aspose.cells.pivot/pivotfield/auto_show_field/
88
is_root: false
99
---

english/aspose.cells.pivot/pivotfield/auto_sort_field/_index.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@ title: auto_sort_field property
33
second_title: Aspose.Cells for Python via .NET API References
44
description:
55
type: docs
6-
weight: 230
6+
weight: 280
77
url: /aspose.cells.pivot/pivotfield/auto_sort_field/
88
is_root: false
99
---

english/aspose.cells.pivot/pivotfield/base_field_index/_index.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@ title: base_field_index property
33
second_title: Aspose.Cells for Python via .NET API References
44
description:
55
type: docs
6-
weight: 240
6+
weight: 290
77
url: /aspose.cells.pivot/pivotfield/base_field_index/
88
is_root: false
99
---

english/aspose.cells.pivot/pivotfield/base_index/_index.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@ title: base_index property
33
second_title: Aspose.Cells for Python via .NET API References
44
description:
55
type: docs
6-
weight: 250
6+
weight: 300
77
url: /aspose.cells.pivot/pivotfield/base_index/
88
is_root: false
99
---

0 commit comments

Comments
 (0)