Skip to content

Paragraph Spacing - lineRule options #598

@DKWoods

Description

@DKWoods

I recently discovered some DOCx files that specify the paragraph spacing a bit differently. Instead of <w:spacing w:line="240" w:lineRule="exact"/>, it uses <w:spacing w:line="240" w:lineRule="exactly"/>, using a different value for the lineRule parameter.

My copy of Word 2010 uses 'lineRule="exact"', as does python-docx. I have not been able to find any documentation online that specifies allowable values for this parameter. Does anyone know where I can find out if "exactly" is a synonym, perhaps used by a later version of Word? The only other possibility I can think of is that the program producing these DOCx files is doing it wrong, but that's not really something I have control over.

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