Skip to content

ooxml ordering errors and fixes#882

Open
Xemptuous wants to merge 1 commit into
bokuweb:mainfrom
Xemptuous:ooxml-validation-fixes
Open

ooxml ordering errors and fixes#882
Xemptuous wants to merge 1 commit into
bokuweb:mainfrom
Xemptuous:ooxml-validation-fixes

Conversation

@Xemptuous
Copy link
Copy Markdown

What does this change?

Reorders items to conform to expected standards, otherwise docx can't open in many editors, notably microsoft word.

  • removed unnecessary empty <w:rPr> from styles
  • removed incorrect <w:type> from <w:gridCol>
  • reordered others to conform to expected ordering

Didn't update test suites as I don't have the time atm, might get to it eventually, just putting this up for visibility. Likely many more places the ordering is wrong. I just fixed what I use and that is likely the most common issues others will face.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant