paper-docxAPI referenceenum.table
WD_TABLE_DIRECTION
paper-docx 0.2.0 API reference
Specifies the direction in which an application orders cells in the specified table or row.
Example::
from docx.enum.table import WD_TABLE_DIRECTION
table = document.add_table(3, 3) table.direction = WD_TABLE_DIRECTION.RTL
MS API name: WdTableDirection
http://msdn.microsoft.com/en-us/library/ff835141.aspx
Attributes
LTR
attributeLTR= (0, 'The table or row is arranged with the first column in the leftmost position.')The table or row is arranged with the first column in the leftmost position.
RTL
attributeRTL= (1, 'The table or row is arranged with the first column in the rightmost position.')The table or row is arranged with the first column in the rightmost position.