__init__ constructor
Leave feedback
On this page
Initializes a new DocumentTableSet loading all tables from a document using default DocumentTableOptions.
def __init__(self, document_path):
...
| Parameter | Type | Description |
|---|---|---|
| document_path | str |
The path to a document containing tables to be accessed. |
Initializes a new DocumentTableSet.
def __init__(self, document_path, load_handler):
...
| Parameter | Type | Description |
|---|---|---|
| document_path | str |
The path to a document containing tables to be accessed. |
| load_handler | IDocumentTableLoadHandler |
An implementation controlling how document tables are loaded. |
from groupdocs.assembly.data import DocumentTableSet, DocumentTableOptions
def load_table(args):
options = DocumentTableOptions()
options.first_row_contains_column_names = True
args.options = options
tables = DocumentTableSet("multiple-tables.docx", load_table)
Initializes a new DocumentTableSet loading all tables from a document using default DocumentTableOptions.
def __init__(self, document_stream):
...
| Parameter | Type | Description |
|---|---|---|
| document_stream | io.RawIOBase |
The stream containing a document with tables to be accessed. |
Initializes a new DocumentTableSet instance.
def __init__(self, document_stream, load_handler):
...
| Parameter | Type | Description |
|---|---|---|
| document_stream | io.RawIOBase |
The stream containing a document with tables to be accessed. |
| load_handler | IDocumentTableLoadHandler |
An implementation controlling how document tables are loaded. |
- class
DocumentTableSet
Was this page helpful?
Any additional feedback you'd like to share with us?
Please tell us how we can improve this page.
Thank you for your feedback!
We value your opinion. Your feedback will help us improve our documentation.