Skip to content

rtl support in headers #387

@antonays

Description

@antonays

I am trying to figure out how to add rtl support in headers.
Following this post and explicitly defining a style on the header paragraph does work, but it seem to overwrite the header style.
So my question would probably be, how to apply two styles? or create a "hybrid" still that will be both rtl and keep the heading style.

Trying this
run = paragraph.add_run()
run.font.rtl=True

Does not have any effect, rtl seems to only work when setting the paragraph style.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions