Skip to content

WD_TABLE_DIRECTION.RTL not working #1227

Open
@sinarchy

Description

@sinarchy

Dear friends,

I have been working on creating table using python-docx, however, I needed the table to be in a right-to-left orientation. As per documentation I implemented WD__TABLE_DIRECTION.RTL but it does not work. I mean there are no errors but the table is still lef-to-right. Any ideas?
The code:
my_table = doc.add_table(rows=1, cols=7) my_table.direction = WD_TABLE_DIRECTION.RTL
Regards

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions