TemplateTable constructor

init

Initializes a new instance of the TemplateTable class with the UPPER CASE name.

def __init__(self, layout, name):
    ...
Parameter Type Description
layout groupdocs.parser.templates.TemplateTableLayout The table layout.
name System.String The table name.

Example

Template table is set by table layout if the table can’t be detected automatically:

init

Initializes a new instance of the TemplateTable class.

def __init__(self, parameters, name):
    ...
Parameter Type Description
parameters groupdocs.parser.templates.TemplateTableParameters The parameters to detect the table in the automatic mode.
name System.String The table name.

Example

If a template table is set by detector parameters, the table is detected automatically:

init {#groupdocs.parser.templates.TemplateTableLayout-System.String-System.Nullable`1[[System.Double]]}

Constructs a new instance of TemplateTable

def __init__(self, layout, name, page_width):
    ...
Parameter Type Description
layout groupdocs.parser.templates.TemplateTableLayout
name System.String
page_width System.Nullable`1[[System.Double]]

init {#groupdocs.parser.templates.TemplateTableParameters-System.String-System.Nullable`1[[System.Double]]}

Constructs a new instance of TemplateTable

def __init__(self, parameters, name, page_width):
    ...
Parameter Type Description
parameters groupdocs.parser.templates.TemplateTableParameters
name System.String
page_width System.Nullable`1[[System.Double]]

init {#groupdocs.parser.templates.TemplateTableLayout-System.String-System.Nullable`1[[System.Double]]-bool}

Constructs a new instance of TemplateTable

def __init__(self, layout, name, page_width, use_upper_case_name):
    ...
Parameter Type Description
layout groupdocs.parser.templates.TemplateTableLayout
name System.String
page_width System.Nullable`1[[System.Double]]
use_upper_case_name bool

init {#groupdocs.parser.templates.TemplateTableParameters-System.String-System.Nullable`1[[System.Double]]-bool}

Constructs a new instance of TemplateTable

def __init__(self, parameters, name, page_width, use_upper_case_name):
    ...
Parameter Type Description
parameters groupdocs.parser.templates.TemplateTableParameters
name System.String
page_width System.Nullable`1[[System.Double]]
use_upper_case_name bool

See Also