-
-
Notifications
You must be signed in to change notification settings - Fork 3.5k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
DOCX Reader to support DOCX table custom style #9603
Labels
Comments
+1 Support for table styling would be super useful. |
For consistency it would be good to implement this also for docx output (and ODT). But maybe okay to start with reader support. |
Oh, it looks like the docx writer already supports custom-style on tables. (Not documented.) |
Very cool that is now supported. Thank you for adding this so quickly. |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Microsoft Word allows user to define custom style for tables.
Would be great if the DOCX reader would support table custom style as it support paragraph custom style.
Minimal Working Example
mwe-table-custom-style.docx
XML structure
DOCX reader would have to read the value of
w:val
in<w:tblStyle />
that is a child of<w:tblPr>
which is a child of<w:tbl>
.Expected Output
<table>
has attributedata-custom-style
. For example,pandoc --from docx+styles --to html mwe-table-custom-style.docx
would returnObserved Output
pandoc --version
returns<table>
is missing the attributedata-custom-style
. For example,pandoc --from docx+styles --to html mwe-table-custom-style.docx
returnsThe text was updated successfully, but these errors were encountered: