Skip to content

v24.11 #19

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
Nov 15, 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
  •  
  •  
  •  
1 change: 1 addition & 0 deletions english/_index.md
Original file line number Diff line number Diff line change
Expand Up @@ -13,6 +13,7 @@ is_root: true
| :- | :- |
| [`aspose.cells`](/cells/python-net/aspose.cells) | The **Aspose.Cells** namespace provides fundamental and base classes for generating, converting, modifying, rendering and printing Spreadsheets without utilizing Microsoft Excel.<br/>For example, [`Workbook`](/cells/python-net/aspose.cells/workbook) class is the main entry to create or load and then manipulate a spreadsheet file,<br/>[`Cells`](/cells/python-net/aspose.cells/cells) class is the main class to manipulate all data and properties in a sheet, ...etc. |
| [`aspose.cells.charts`](/cells/python-net/aspose.cells.charts) | The **Aspose.Cells.Charts** namespace provides classes that allow to access and drawing charts and sparkline in Microsoft Excel spreadsheets. |
| [`aspose.cells.datamodels`](/cells/python-net/aspose.cells.datamodels) | The **Aspose.Cells.DataModels** namespace provides classes to access and update data models of the workbook. |
| [`aspose.cells.digitalsignatures`](/cells/python-net/aspose.cells.digitalsignatures) | The **Aspose.Cells.DigitalSignatures** namespace provides classes to sign documents and verify signatures. |
| [`aspose.cells.drawing`](/cells/python-net/aspose.cells.drawing) | The **Aspose.Cells.Drawing** namespace provides classes that allow to create and modify drawing shapes, form controls, and more advanced drawing objects. |
| [`aspose.cells.drawing.activexcontrols`](/cells/python-net/aspose.cells.drawing.activexcontrols) | The **Aspose.Cells.Drawing.ActiveXControls** namespace provides classes that allow to draw and access ActiveXControl. |
Expand Down
22 changes: 22 additions & 0 deletions english/aspose.cells.datamodels/_index.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,22 @@
---
title: aspose.cells.datamodels
second_title: Aspose.Cells for Python via .NET API References
description:
type: docs
weight: 10
url: /aspose.cells.datamodels/
is_root: false
---

The **Aspose.Cells.DataModels** namespace provides classes to access and update data models of the workbook.

### Classes
| Class | Description |
| :- | :- |
| [`DataModel`](/cells/python-net/aspose.cells.datamodels/datamodel) | Represents the data model. |
| [`DataModelRelationship`](/cells/python-net/aspose.cells.datamodels/datamodelrelationship) | Represents a single relationship in the spreadsheet data model. |
| [`DataModelRelationshipCollection`](/cells/python-net/aspose.cells.datamodels/datamodelrelationshipcollection) | Represents the relationships. |
| [`DataModelTable`](/cells/python-net/aspose.cells.datamodels/datamodeltable) | Represents properties of a single table in spreadsheet data model. |
| [`DataModelTableCollection`](/cells/python-net/aspose.cells.datamodels/datamodeltablecollection) | Represents the list of the data model table. |


28 changes: 28 additions & 0 deletions english/aspose.cells.datamodels/datamodel/_index.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,28 @@
---
title: DataModel class
second_title: Aspose.Cells for Python via .NET API References
description:
type: docs
weight: 10
url: /aspose.cells.datamodels/datamodel/
is_root: false
---

## DataModel class

Represents the data model.



The DataModel type exposes the following members:

### Properties
| Property | Description |
| :- | :- |
| [relationships](/cells/python-net/aspose.cells.datamodels/datamodel/relationships) | Gets all relationships of the tables in the data model. |
| [tables](/cells/python-net/aspose.cells.datamodels/datamodel/tables) | Gets all tables in the data model. |



### See Also
* module [`aspose.cells.datamodels`](..)
25 changes: 25 additions & 0 deletions english/aspose.cells.datamodels/datamodel/relationships/_index.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,25 @@
---
title: relationships property
second_title: Aspose.Cells for Python via .NET API References
description:
type: docs
weight: 30
url: /aspose.cells.datamodels/datamodel/relationships/
is_root: false
---

## relationships property


Gets all relationships of the tables in the data model.
### Definition:
```python
@property
def relationships(self):
...
```

### See Also
* module [`aspose.cells.datamodels`](../../)
* class [`DataModel`](/cells/python-net/aspose.cells.datamodels/datamodel)
* class [`DataModelRelationshipCollection`](/cells/python-net/aspose.cells.datamodels/datamodelrelationshipcollection)
25 changes: 25 additions & 0 deletions english/aspose.cells.datamodels/datamodel/tables/_index.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,25 @@
---
title: tables property
second_title: Aspose.Cells for Python via .NET API References
description:
type: docs
weight: 40
url: /aspose.cells.datamodels/datamodel/tables/
is_root: false
---

## tables property


Gets all tables in the data model.
### Definition:
```python
@property
def tables(self):
...
```

### See Also
* module [`aspose.cells.datamodels`](../../)
* class [`DataModel`](/cells/python-net/aspose.cells.datamodels/datamodel)
* class [`DataModelTableCollection`](/cells/python-net/aspose.cells.datamodels/datamodeltablecollection)
30 changes: 30 additions & 0 deletions english/aspose.cells.datamodels/datamodelrelationship/_index.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,30 @@
---
title: DataModelRelationship class
second_title: Aspose.Cells for Python via .NET API References
description:
type: docs
weight: 20
url: /aspose.cells.datamodels/datamodelrelationship/
is_root: false
---

## DataModelRelationship class

Represents a single relationship in the spreadsheet data model.



The DataModelRelationship type exposes the following members:

### Properties
| Property | Description |
| :- | :- |
| [foreign_key_table](/cells/python-net/aspose.cells.datamodels/datamodelrelationship/foreign_key_table) | Gets the name of the foreign key table for this relationship. |
| [primary_key_table](/cells/python-net/aspose.cells.datamodels/datamodelrelationship/primary_key_table) | Gets the name of the primary key table for this relationship. |
| [foreign_key_column](/cells/python-net/aspose.cells.datamodels/datamodelrelationship/foreign_key_column) | Gets the name of the foreign key table column for this relationship. |
| [primary_key_column](/cells/python-net/aspose.cells.datamodels/datamodelrelationship/primary_key_column) | Gets the name of the primary key table column for this relationship. |



### See Also
* module [`aspose.cells.datamodels`](..)
Original file line number Diff line number Diff line change
@@ -0,0 +1,24 @@
---
title: foreign_key_column property
second_title: Aspose.Cells for Python via .NET API References
description:
type: docs
weight: 30
url: /aspose.cells.datamodels/datamodelrelationship/foreign_key_column/
is_root: false
---

## foreign_key_column property


Gets the name of the foreign key table column for this relationship.
### Definition:
```python
@property
def foreign_key_column(self):
...
```

### See Also
* module [`aspose.cells.datamodels`](../../)
* class [`DataModelRelationship`](/cells/python-net/aspose.cells.datamodels/datamodelrelationship)
Original file line number Diff line number Diff line change
@@ -0,0 +1,24 @@
---
title: foreign_key_table property
second_title: Aspose.Cells for Python via .NET API References
description:
type: docs
weight: 40
url: /aspose.cells.datamodels/datamodelrelationship/foreign_key_table/
is_root: false
---

## foreign_key_table property


Gets the name of the foreign key table for this relationship.
### Definition:
```python
@property
def foreign_key_table(self):
...
```

### See Also
* module [`aspose.cells.datamodels`](../../)
* class [`DataModelRelationship`](/cells/python-net/aspose.cells.datamodels/datamodelrelationship)
Original file line number Diff line number Diff line change
@@ -0,0 +1,24 @@
---
title: primary_key_column property
second_title: Aspose.Cells for Python via .NET API References
description:
type: docs
weight: 50
url: /aspose.cells.datamodels/datamodelrelationship/primary_key_column/
is_root: false
---

## primary_key_column property


Gets the name of the primary key table column for this relationship.
### Definition:
```python
@property
def primary_key_column(self):
...
```

### See Also
* module [`aspose.cells.datamodels`](../../)
* class [`DataModelRelationship`](/cells/python-net/aspose.cells.datamodels/datamodelrelationship)
Original file line number Diff line number Diff line change
@@ -0,0 +1,24 @@
---
title: primary_key_table property
second_title: Aspose.Cells for Python via .NET API References
description:
type: docs
weight: 60
url: /aspose.cells.datamodels/datamodelrelationship/primary_key_table/
is_root: false
---

## primary_key_table property


Gets the name of the primary key table for this relationship.
### Definition:
```python
@property
def primary_key_table(self):
...
```

### See Also
* module [`aspose.cells.datamodels`](../../)
* class [`DataModelRelationship`](/cells/python-net/aspose.cells.datamodels/datamodelrelationship)
Original file line number Diff line number Diff line change
@@ -0,0 +1,40 @@
---
title: DataModelRelationshipCollection class
second_title: Aspose.Cells for Python via .NET API References
description:
type: docs
weight: 30
url: /aspose.cells.datamodels/datamodelrelationshipcollection/
is_root: false
---

## DataModelRelationshipCollection class

Represents the relationships.



The DataModelRelationshipCollection type exposes the following members:

### Properties
| Property | Description |
| :- | :- |
| [capacity](/cells/python-net/aspose.cells.datamodels/datamodelrelationshipcollection/capacity) | Gets or sets the number of elements that the array list can contain. |


### Methods
| Method | Description |
| :- | :- |
| [copy_to](/cells/python-net/aspose.cells.datamodels/datamodelrelationshipcollection/copy_to/#list) | Copies the entire array list to a compatible one-dimensional array list, starting at the beginning of the target array list. |
| [copy_to](/cells/python-net/aspose.cells.datamodels/datamodelrelationshipcollection/copy_to/#int-list-int-int) | Copies a range of elements from the array list to a compatible one-dimensional array list, starting at the specified index of the target array list. |
| [index_of](/cells/python-net/aspose.cells.datamodels/datamodelrelationshipcollection/index_of/#aspose.cells.datamodels.DataModelRelationship-int) | Searches for the specified object and returns the zero-based index of the first occurrence within the range of elements in the array list that extends from the specified index to the last element. |
| [index_of](/cells/python-net/aspose.cells.datamodels/datamodelrelationshipcollection/index_of/#aspose.cells.datamodels.DataModelRelationship-int-int) | Searches for the specified object and returns the zero-based index of the first occurrence within the range of elements in the array list that starts at the specified index and contains the specified number of elements. |
| [last_index_of](/cells/python-net/aspose.cells.datamodels/datamodelrelationshipcollection/last_index_of/#aspose.cells.datamodels.DataModelRelationship) | Searches for the specified object and returns the zero-based index of the last occurrence within the entire array list. |
| [last_index_of](/cells/python-net/aspose.cells.datamodels/datamodelrelationshipcollection/last_index_of/#aspose.cells.datamodels.DataModelRelationship-int) | Searches for the specified object and returns the zero-based index of the last occurrence within the range of elements in the array list that extends from the first element to the specified index. |
| [last_index_of](/cells/python-net/aspose.cells.datamodels/datamodelrelationshipcollection/last_index_of/#aspose.cells.datamodels.DataModelRelationship-int-int) | Searches for the specified object and returns the zero-based index of the last occurrence within the range of elements in the array list that contains the specified number of elements and ends at the specified index. |
| [binary_search](/cells/python-net/aspose.cells.datamodels/datamodelrelationshipcollection/binary_search/#aspose.cells.datamodels.DataModelRelationship) | Searches the entire sorted array list for an element using the default comparer and returns the zero-based index of the element. |



### See Also
* module [`aspose.cells.datamodels`](..)
Original file line number Diff line number Diff line change
@@ -0,0 +1,36 @@
---
title: binary_search method
second_title: Aspose.Cells for Python via .NET API References
description:
type: docs
weight: 20
url: /aspose.cells.datamodels/datamodelrelationshipcollection/binary_search/
is_root: false
---

## binary_search {#aspose.cells.datamodels.DataModelRelationship}

Searches the entire sorted array list for an element using the default comparer and returns the zero-based index of the element.


### Returns


The zero-based index of value in the sorted array list, if item is found; otherwise, a negative number, which is the bitwise complement of the index of the next element that is larger than value or, if there is no larger element, the bitwise complement of array list Count.


```python
def binary_search(self, item):
...
```


| Parameter | Type | Description |
| :- | :- | :- |
| item | [`DataModelRelationship`](/cells/python-net/aspose.cells.datamodels/datamodelrelationship) | The System.Object to locate. The value can be null. |



### See Also
* module [`aspose.cells.datamodels`](../../)
* class [`DataModelRelationshipCollection`](/cells/python-net/aspose.cells.datamodels/datamodelrelationshipcollection)
Original file line number Diff line number Diff line change
@@ -0,0 +1,25 @@
---
title: capacity property
second_title: Aspose.Cells for Python via .NET API References
description:
type: docs
weight: 70
url: /aspose.cells.datamodels/datamodelrelationshipcollection/capacity/
is_root: false
---

## capacity property

### Definition:
```python
@property
def capacity(self):
...
@capacity.setter
def capacity(self, value):
...
```

### See Also
* module [`aspose.cells.datamodels`](../../)
* class [`DataModelRelationshipCollection`](/cells/python-net/aspose.cells.datamodels/datamodelrelationshipcollection)
Original file line number Diff line number Diff line change
@@ -0,0 +1,51 @@
---
title: copy_to method
second_title: Aspose.Cells for Python via .NET API References
description:
type: docs
weight: 30
url: /aspose.cells.datamodels/datamodelrelationshipcollection/copy_to/
is_root: false
---

## copy_to {#list}

Copies the entire array list to a compatible one-dimensional array list, starting at the beginning of the target array list.



```python
def copy_to(self, array):
...
```


| Parameter | Type | Description |
| :- | :- | :- |
| array | list | The one-dimensional array list that is the destination of the elements copied array list. The array list must have zero-based indexing. |


## copy_to {#int-list-int-int}

Copies a range of elements from the array list to a compatible one-dimensional array list, starting at the specified index of the target array list.



```python
def copy_to(self, index, array, array_index, count):
...
```


| Parameter | Type | Description |
| :- | :- | :- |
| index | int | The zero-based index in the source array list at which copying begins. |
| array | list | The one-dimensional array list that is the destination of the elements copied from array list. The array list must have zero-based indexing. |
| array_index | int | The zero-based index in array list at which copying begins. |
| count | int | The number of elements to copy. |



### See Also
* module [`aspose.cells.datamodels`](../../)
* class [`DataModelRelationshipCollection`](/cells/python-net/aspose.cells.datamodels/datamodelrelationshipcollection)
Loading