aboutsummaryrefslogtreecommitdiff
path: root/data/docx/word/document.xml
diff options
context:
space:
mode:
authorEdwin Török <[email protected]>2023-12-17 15:58:47 +0000
committerJohn MacFarlane <[email protected]>2023-12-17 10:07:10 -0800
commitf48fa9ac17536f63d427045de4c48681ae105d62 (patch)
tree3567b76af7d974bc175c6596d5e5a10db0f4e168 /data/docx/word/document.xml
parent79204047a54a1864016864ffe0804fd4e2cb38ed (diff)
reference.docx: fix validation error on tblW
``` ./tmp/document-pretty.xml:260: element tblW: Schemas validity error : Element '{http://schemas.openxmlformats.org/wordprocessingml/2006/main}tblW', attribute '{http://schemas.openxmlformats.org/wordprocessingml/2006/main}w': '0.0' is not a valid value of the union type '{http://schemas.openxmlformats.org/wordprocessingml/2006/main}ST_MeasurementOrPercent'. ``` See http://officeopenxml.com/WPtableWidth.php, there is a disagreement here between standard versions on whether a `%` is required or not when type=`pct`, but the default is 0 when omitted, so just delete this entry. Signed-off-by: Edwin Török <[email protected]>
Diffstat (limited to 'data/docx/word/document.xml')
-rw-r--r--data/docx/word/document.xml1
1 files changed, 0 insertions, 1 deletions
diff --git a/data/docx/word/document.xml b/data/docx/word/document.xml
index cbb5203c6..41a77b93a 100644
--- a/data/docx/word/document.xml
+++ b/data/docx/word/document.xml
@@ -265,7 +265,6 @@ Table caption.
<w:tbl>
<w:tblPr>
<w:tblStyle w:val="Table" />
- <w:tblW w:type="pct" w:w="0.0" />
<w:tblLook w:firstRow="1" />
<w:tblCaption w:val="Table caption." />
</w:tblPr>