Skip to content

python net v24.12 #20

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 1 commit into from
Dec 19, 2024
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
The table of contents is too big for display.
Diff view
Diff view
  •  
  •  
  •  
28 changes: 28 additions & 0 deletions english/aspose.cells.drawing/picture/signature_line/_index.md
Original file line number Diff line number Diff line change
Expand Up @@ -12,6 +12,34 @@ is_root: false


Gets and sets the signature line

### Example


```python
from aspose import pycore
from aspose.cells import Workbook
from aspose.cells.drawing import SignatureLine
import str

# Instantiating a Workbook object
workbook = Workbook()
worksheet = workbook.worksheets[0]
# Adding a picture at the location of a cell whose row and column indices are 1 in the worksheet. It is "B2" cell
imgIndex = worksheet.pictures.add(1, 1, pycore.cast(str, None))
# Get the inserted picture object
pic = worksheet.pictures[imgIndex]
# Create signature line object
s = SignatureLine()
s.signer = "Simon"
s.title = "Development"
s.email = "simon@aspose.com"
# Assign the signature line object to Picture.
pic.signature_line = s
# Save the excel file.
workbook.save("result.xlsx")

```
### Definition:
```python
@property
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -31,6 +31,25 @@ def add_signature_line(self, upper_left_row, upper_left_column, signature_line):
| upper_left_column | int | Upper left column index. |
| signature_line | [`SignatureLine`](/cells/python-net/aspose.cells.drawing/signatureline) | Represents a signature line object. |

### Example


```python
from aspose.cells.drawing import SignatureLine

wSignatureLine = SignatureLine()
wSignatureLine.allow_comments = True
wSignatureLine.email = "example@example.com"
wSignatureLine.instructions = "Sign to confirm the excel content."
wSignatureLine.is_line = True
wSignatureLine.show_signed_date = True
wSignatureLine.signer = "User"
wSignatureLine.title = "tester"
# wSignatureLine.SignatureLineType = SignatureType.Stamp;
signatureLine1 = shapes.add_signature_line(0, 0, wSignatureLine)

```



### See Also
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -27,6 +27,32 @@ def copy_comments_in_range(self, shapes, ca, dest_row, dest_column):
| dest_row | int | The dest range start row. |
| dest_column | int | The dest range start column. |

### Example


```python
from aspose.cells import CellArea

comments = workbook.worksheets[0].comments
# Add comment to cell A1
commentIndex = comments.add(0, 0)
comment = comments[commentIndex]
comment.note = "First note."
comment.font.name = "Times New Roman"
# Add comment to cell B2
comments.add("B2")
comment = comments.get("B2")
comment.note = "Second note."
area1 = CellArea()
area1.start_column = 1
area1.start_row = 1
area1.end_column = 5
area1.end_row = 4
# copy
shapes.copy_comments_in_range(shapes, area1, 5, 1)

```



### See Also
Expand Down
6 changes: 3 additions & 3 deletions english/aspose.cells.drawing/signatureline/_index.md
Original file line number Diff line number Diff line change
Expand Up @@ -50,9 +50,9 @@ workbook = Workbook()
worksheet = workbook.worksheets[0]
# Create signature line object
s = SignatureLine()
s.signer = "Simon Zhao"
s.title = "Development Lead"
s.email = "Simon.Zhao@aspose.com"
s.signer = "Simon"
s.title = "Development"
s.email = "simon@aspose.com"
s.instructions = "Sign to confirm the excel content."
# Adds a Signature Line to the worksheet.
signatureLine = worksheet.shapes.add_signature_line(0, 0, s)
Expand Down
11 changes: 9 additions & 2 deletions english/aspose.cells.pivot/pivotfield/_index.md
Original file line number Diff line number Diff line change
Expand Up @@ -23,8 +23,10 @@ The PivotField type exposes the following members:
| [range](/cells/python-net/aspose.cells.pivot/pivotfield/range) | Gets the group range of the pivot field |
| [group_settings](/cells/python-net/aspose.cells.pivot/pivotfield/group_settings) | Gets the group settings of the pivot field. |
| [is_calculated_field](/cells/python-net/aspose.cells.pivot/pivotfield/is_calculated_field) | Indicates whether the specified PivotTable field is calculated field. |
| [is_value_fields](/cells/python-net/aspose.cells.pivot/pivotfield/is_value_fields) | Indicates whether this field represents values fields. |
| [base_index](/cells/python-net/aspose.cells.pivot/pivotfield/base_index) | Represents the PivotField index in the base PivotFields. |
| [position](/cells/python-net/aspose.cells.pivot/pivotfield/position) | Represents the index of [`PivotField`](/cells/python-net/aspose.cells.pivot/pivotfield) in the region. |
| [region_type](/cells/python-net/aspose.cells.pivot/pivotfield/region_type) | Specifies the region of the PivotTable that this field is displayed. |
| [name](/cells/python-net/aspose.cells.pivot/pivotfield/name) | Represents the name of PivotField. |
| [display_name](/cells/python-net/aspose.cells.pivot/pivotfield/display_name) | Represents the PivotField display name. |
| [is_auto_subtotals](/cells/python-net/aspose.cells.pivot/pivotfield/is_auto_subtotals) | Indicates whether the specified field shows automatic subtotals. Default is true. |
Expand Down Expand Up @@ -76,11 +78,16 @@ The PivotField type exposes the following members:
| [sort_by](/cells/python-net/aspose.cells.pivot/pivotfield/sort_by/#aspose.cells.SortOrder-int-aspose.cells.pivot.PivotLineType-str) | Sorts this pivot field. |
| [hide_item](/cells/python-net/aspose.cells.pivot/pivotfield/hide_item/#int-bool) | Sets whether the specific PivotItem in a data field is hidden. |
| [hide_item](/cells/python-net/aspose.cells.pivot/pivotfield/hide_item/#str-bool) | Sets whether the specific PivotItem in a data field is hidden. |
| [init_pivot_items](/cells/python-net/aspose.cells.pivot/pivotfield/init_pivot_items/#) | Init the pivot items of the pivot field |
| [ungroup](/cells/python-net/aspose.cells.pivot/pivotfield/ungroup/#) | Ungroup the pivot field. |
| [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 |
| [get_pivot_filters](/cells/python-net/aspose.cells.pivot/pivotfield/get_pivot_filters/#) | Gets the pivot filters of the pivot field |
| [get_filters](/cells/python-net/aspose.cells.pivot/pivotfield/get_filters/#) | Gets all pivot filters of this pivot field. |
| [init_pivot_items](/cells/python-net/aspose.cells.pivot/pivotfield/init_pivot_items/#) | Init the pivot items of the pivot field |
| [ungroup](/cells/python-net/aspose.cells.pivot/pivotfield/ungroup/#) | Ungroup the pivot field. |
| [clear_filter](/cells/python-net/aspose.cells.pivot/pivotfield/clear_filter/#) | Clears filter setting on this pivot field. |
| [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. |
| [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. |
| [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. |
| [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. |
| [get_calculated_field_formula](/cells/python-net/aspose.cells.pivot/pivotfield/get_calculated_field_formula/#) | Get the formula string of the specified calculated field . |
| [get_formula](/cells/python-net/aspose.cells.pivot/pivotfield/get_formula/#) | Gets formula of the calculated field . |
| [set_subtotals](/cells/python-net/aspose.cells.pivot/pivotfield/set_subtotals/#aspose.cells.pivot.PivotFieldSubtotalType-bool) | Sets whether the specified field shows that subtotals. |
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@ title: auto_show_count property
second_title: Aspose.Cells for Python via .NET API References
description:
type: docs
weight: 210
weight: 260
url: /aspose.cells.pivot/pivotfield/auto_show_count/
is_root: false
---
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@ title: auto_show_field property
second_title: Aspose.Cells for Python via .NET API References
description:
type: docs
weight: 220
weight: 270
url: /aspose.cells.pivot/pivotfield/auto_show_field/
is_root: false
---
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@ title: auto_sort_field property
second_title: Aspose.Cells for Python via .NET API References
description:
type: docs
weight: 230
weight: 280
url: /aspose.cells.pivot/pivotfield/auto_sort_field/
is_root: false
---
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@ title: base_field_index property
second_title: Aspose.Cells for Python via .NET API References
description:
type: docs
weight: 240
weight: 290
url: /aspose.cells.pivot/pivotfield/base_field_index/
is_root: false
---
Expand Down
2 changes: 1 addition & 1 deletion english/aspose.cells.pivot/pivotfield/base_index/_index.md
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@ title: base_index property
second_title: Aspose.Cells for Python via .NET API References
description:
type: docs
weight: 250
weight: 300
url: /aspose.cells.pivot/pivotfield/base_index/
is_root: false
---
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@ title: base_item_index property
second_title: Aspose.Cells for Python via .NET API References
description:
type: docs
weight: 260
weight: 310
url: /aspose.cells.pivot/pivotfield/base_item_index/
is_root: false
---
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@ title: base_item_position property
second_title: Aspose.Cells for Python via .NET API References
description:
type: docs
weight: 270
weight: 320
url: /aspose.cells.pivot/pivotfield/base_item_position/
is_root: false
---
Expand Down
28 changes: 28 additions & 0 deletions english/aspose.cells.pivot/pivotfield/clear_filter/_index.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,28 @@
---
title: clear_filter method
second_title: Aspose.Cells for Python via .NET API References
description:
type: docs
weight: 30
url: /aspose.cells.pivot/pivotfield/clear_filter/
is_root: false
---

## clear_filter {#}

Clears filter setting on this pivot field.



```python
def clear_filter(self):
...
```





### See Also
* module [`aspose.cells.pivot`](../../)
* class [`PivotField`](/cells/python-net/aspose.cells.pivot/pivotfield)
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@ title: current_page_item property
second_title: Aspose.Cells for Python via .NET API References
description:
type: docs
weight: 280
weight: 330
url: /aspose.cells.pivot/pivotfield/current_page_item/
is_root: false
---
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@ title: data_display_format property
second_title: Aspose.Cells for Python via .NET API References
description:
type: docs
weight: 290
weight: 340
url: /aspose.cells.pivot/pivotfield/data_display_format/
is_root: false
---
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@ title: display_name property
second_title: Aspose.Cells for Python via .NET API References
description:
type: docs
weight: 300
weight: 350
url: /aspose.cells.pivot/pivotfield/display_name/
is_root: false
---
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@ title: drag_to_column property
second_title: Aspose.Cells for Python via .NET API References
description:
type: docs
weight: 310
weight: 360
url: /aspose.cells.pivot/pivotfield/drag_to_column/
is_root: false
---
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@ title: drag_to_data property
second_title: Aspose.Cells for Python via .NET API References
description:
type: docs
weight: 320
weight: 370
url: /aspose.cells.pivot/pivotfield/drag_to_data/
is_root: false
---
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@ title: drag_to_hide property
second_title: Aspose.Cells for Python via .NET API References
description:
type: docs
weight: 330
weight: 380
url: /aspose.cells.pivot/pivotfield/drag_to_hide/
is_root: false
---
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@ title: drag_to_page property
second_title: Aspose.Cells for Python via .NET API References
description:
type: docs
weight: 340
weight: 390
url: /aspose.cells.pivot/pivotfield/drag_to_page/
is_root: false
---
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@ title: drag_to_row property
second_title: Aspose.Cells for Python via .NET API References
description:
type: docs
weight: 350
weight: 400
url: /aspose.cells.pivot/pivotfield/drag_to_row/
is_root: false
---
Expand Down
33 changes: 33 additions & 0 deletions english/aspose.cells.pivot/pivotfield/filter_by_date/_index.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,33 @@
---
title: filter_by_date method
second_title: Aspose.Cells for Python via .NET API References
description:
type: docs
weight: 40
url: /aspose.cells.pivot/pivotfield/filter_by_date/
is_root: false
---

## filter_by_date {#aspose.cells.pivot.PivotFilterType-DateTime-DateTime}

Filters by date setting of row or column pivot field.



```python
def filter_by_date(self, type, date_time1, date_time2):
...
```


| Parameter | Type | Description |
| :- | :- | :- |
| type | [`PivotFilterType`](/cells/python-net/aspose.cells.pivot/pivotfiltertype) | The type of filtering data. |
| date_time1 | DateTime | The date label of filter condition |
| date_time2 | DateTime | The upper-bound date label of between filter condition |



### See Also
* module [`aspose.cells.pivot`](../../)
* class [`PivotField`](/cells/python-net/aspose.cells.pivot/pivotfield)
33 changes: 33 additions & 0 deletions english/aspose.cells.pivot/pivotfield/filter_by_label/_index.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,33 @@
---
title: filter_by_label method
second_title: Aspose.Cells for Python via .NET API References
description:
type: docs
weight: 50
url: /aspose.cells.pivot/pivotfield/filter_by_label/
is_root: false
---

## filter_by_label {#aspose.cells.pivot.PivotFilterType-str-str}

Filters by captions of row or column pivot field.



```python
def filter_by_label(self, type, label1, label2):
...
```


| Parameter | Type | Description |
| :- | :- | :- |
| type | [`PivotFilterType`](/cells/python-net/aspose.cells.pivot/pivotfiltertype) | The type of filtering data. |
| label1 | str | The label of filter condition |
| label2 | str | The upper-bound label of between filter condition |



### See Also
* module [`aspose.cells.pivot`](../../)
* class [`PivotField`](/cells/python-net/aspose.cells.pivot/pivotfield)
Loading
Loading