Feature: Get and set table properties In order to format a table to my requirements As a developer using python-docx I need a way to get and set a table's properties Scenario Outline: Get table alignment Given a table having alignment Then table.alignment is Examples: table alignment settings | alignment | value | | inherited | None | | left | WD_TABLE_ALIGNMENT.LEFT | | right | WD_TABLE_ALIGNMENT.RIGHT | | center | WD_TABLE_ALIGNMENT.CENTER | Scenario Outline: Set table alignment Given a table having alignment When I assign to table.alignment Then table.alignment is Examples: results of assignment to table.alignment | alignment | value | | inherited | WD_TABLE_ALIGNMENT.LEFT | | left | WD_TABLE_ALIGNMENT.RIGHT | | right | WD_TABLE_ALIGNMENT.CENTER | | center | None | Scenario Outline: Get autofit layout setting Given a table having an autofit layout of Then the reported autofit setting is Examples: table autofit settings | autofit-setting | reported-autofit | | no explicit setting | autofit | | autofit | autofit | | fixed | fixed | Scenario Outline: Set autofit layout setting Given a table having an autofit layout of When I set the table autofit to Then the reported autofit setting is Examples: table column width values | autofit-setting | new-setting | reported-autofit | | no explicit setting | autofit | autofit | | no explicit setting | fixed | fixed | | fixed | autofit | autofit | | autofit | autofit | autofit | | fixed | fixed | fixed | | autofit | fixed | fixed | Scenario Outline: Get table direction Given a table having table direction set Then table.table_direction is Examples: Table on/off property values | setting | value | | to inherit | None | | right-to-left | RTL | | left-to-right | LTR | Scenario Outline: Set table direction Given a table having table direction set When I assign to table.table_direction Then table.table_direction is Examples: Results of assignment to Table.table_direction | setting | new-value | value | | to inherit | RTL | RTL | | right-to-left | LTR | LTR | | left-to-right | None | None |