Skip to content

Commit 4e31a66

Browse files
committed
fix(deps): update docx to 9.6.1 and regenerate snapshots
1 parent d632f2e commit 4e31a66

8 files changed

Lines changed: 735 additions & 14 deletions

File tree

packages/xl-docx-exporter/package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -60,7 +60,7 @@
6060
"@blocknote/core": "0.48.1",
6161
"@blocknote/xl-multi-column": "0.48.1",
6262
"buffer": "^6.0.3",
63-
"docx": "^9.5.1",
63+
"docx": "^9.6.1",
6464
"image-meta": "^0.2.2"
6565
},
6666
"devDependencies": {

packages/xl-docx-exporter/src/docx/__snapshots__/basic/document.xml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -386,7 +386,7 @@
386386
</pic:cNvPicPr>
387387
</pic:nvPicPr>
388388
<pic:blipFill>
389-
<a:blip r:embed="rId6" cstate="none"/>
389+
<a:blip r:embed="rId7" cstate="none"/>
390390
<a:srcRect/>
391391
<a:stretch>
392392
<a:fillRect/>
@@ -439,7 +439,7 @@
439439
</pic:cNvPicPr>
440440
</pic:nvPicPr>
441441
<pic:blipFill>
442-
<a:blip r:embed="rId6" cstate="none"/>
442+
<a:blip r:embed="rId7" cstate="none"/>
443443
<a:srcRect/>
444444
<a:stretch>
445445
<a:fillRect/>

packages/xl-docx-exporter/src/docx/__snapshots__/basic/styles.xml

Lines changed: 175 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,180 @@
11
<?xml version="1.0" encoding="UTF-8" standalone="yes"?>
22
<w:styles xmlns:mc="http://schemas.openxmlformats.org/markup-compatibility/2006" xmlns:r="http://schemas.openxmlformats.org/officeDocument/2006/relationships" xmlns:w="http://schemas.openxmlformats.org/wordprocessingml/2006/main" xmlns:w14="http://schemas.microsoft.com/office/word/2010/wordml" xmlns:w15="http://schemas.microsoft.com/office/word/2012/wordml" xmlns:w16cex="http://schemas.microsoft.com/office/word/2018/wordml/cex" xmlns:w16cid="http://schemas.microsoft.com/office/word/2016/wordml/cid" xmlns:w16="http://schemas.microsoft.com/office/word/2018/wordml" xmlns:w16du="http://schemas.microsoft.com/office/word/2023/wordml/word16du" xmlns:w16sdtdh="http://schemas.microsoft.com/office/word/2020/wordml/sdtdatahash" xmlns:w16se="http://schemas.microsoft.com/office/word/2015/wordml/symex" mc:Ignorable="w14 w15 w16se w16cid w16 w16cex w16sdtdh w16du">
3+
<w:docDefaults>
4+
<w:rPrDefault/>
5+
<w:pPrDefault/>
6+
</w:docDefaults>
7+
<w:style w:type="paragraph" w:styleId="Title">
8+
<w:name w:val="Title"/>
9+
<w:basedOn w:val="Normal"/>
10+
<w:next w:val="Normal"/>
11+
<w:qFormat/>
12+
<w:rPr>
13+
<w:sz w:val="56"/>
14+
<w:szCs w:val="56"/>
15+
</w:rPr>
16+
</w:style>
17+
<w:style w:type="paragraph" w:styleId="Heading1">
18+
<w:name w:val="Heading 1"/>
19+
<w:basedOn w:val="Normal"/>
20+
<w:next w:val="Normal"/>
21+
<w:qFormat/>
22+
<w:rPr>
23+
<w:color w:val="2E74B5"/>
24+
<w:sz w:val="32"/>
25+
<w:szCs w:val="32"/>
26+
</w:rPr>
27+
</w:style>
28+
<w:style w:type="paragraph" w:styleId="Heading2">
29+
<w:name w:val="Heading 2"/>
30+
<w:basedOn w:val="Normal"/>
31+
<w:next w:val="Normal"/>
32+
<w:qFormat/>
33+
<w:rPr>
34+
<w:color w:val="2E74B5"/>
35+
<w:sz w:val="26"/>
36+
<w:szCs w:val="26"/>
37+
</w:rPr>
38+
</w:style>
39+
<w:style w:type="paragraph" w:styleId="Heading3">
40+
<w:name w:val="Heading 3"/>
41+
<w:basedOn w:val="Normal"/>
42+
<w:next w:val="Normal"/>
43+
<w:qFormat/>
44+
<w:rPr>
45+
<w:color w:val="1F4D78"/>
46+
<w:sz w:val="24"/>
47+
<w:szCs w:val="24"/>
48+
</w:rPr>
49+
</w:style>
50+
<w:style w:type="paragraph" w:styleId="Heading4">
51+
<w:name w:val="Heading 4"/>
52+
<w:basedOn w:val="Normal"/>
53+
<w:next w:val="Normal"/>
54+
<w:qFormat/>
55+
<w:rPr>
56+
<w:i/>
57+
<w:iCs/>
58+
<w:color w:val="2E74B5"/>
59+
</w:rPr>
60+
</w:style>
61+
<w:style w:type="paragraph" w:styleId="Heading5">
62+
<w:name w:val="Heading 5"/>
63+
<w:basedOn w:val="Normal"/>
64+
<w:next w:val="Normal"/>
65+
<w:qFormat/>
66+
<w:rPr>
67+
<w:color w:val="2E74B5"/>
68+
</w:rPr>
69+
</w:style>
70+
<w:style w:type="paragraph" w:styleId="Heading6">
71+
<w:name w:val="Heading 6"/>
72+
<w:basedOn w:val="Normal"/>
73+
<w:next w:val="Normal"/>
74+
<w:qFormat/>
75+
<w:rPr>
76+
<w:color w:val="1F4D78"/>
77+
</w:rPr>
78+
</w:style>
79+
<w:style w:type="paragraph" w:styleId="Strong">
80+
<w:name w:val="Strong"/>
81+
<w:basedOn w:val="Normal"/>
82+
<w:next w:val="Normal"/>
83+
<w:qFormat/>
84+
<w:rPr>
85+
<w:b/>
86+
<w:bCs/>
87+
</w:rPr>
88+
</w:style>
89+
<w:style w:type="paragraph" w:styleId="ListParagraph">
90+
<w:name w:val="List Paragraph"/>
91+
<w:basedOn w:val="Normal"/>
92+
<w:qFormat/>
93+
</w:style>
94+
<w:style w:type="character" w:styleId="Hyperlink">
95+
<w:name w:val="Hyperlink"/>
96+
<w:basedOn w:val="DefaultParagraphFont"/>
97+
<w:uiPriority w:val="99"/>
98+
<w:unhideWhenUsed/>
99+
<w:rPr>
100+
<w:color w:val="0563C1"/>
101+
<w:u w:val="single"/>
102+
</w:rPr>
103+
</w:style>
104+
<w:style w:type="character" w:styleId="FootnoteReference">
105+
<w:name w:val="footnote reference"/>
106+
<w:basedOn w:val="DefaultParagraphFont"/>
107+
<w:uiPriority w:val="99"/>
108+
<w:semiHidden/>
109+
<w:unhideWhenUsed/>
110+
<w:rPr>
111+
<w:vertAlign w:val="superscript"/>
112+
</w:rPr>
113+
</w:style>
114+
<w:style w:type="paragraph" w:styleId="FootnoteText">
115+
<w:name w:val="footnote text"/>
116+
<w:basedOn w:val="Normal"/>
117+
<w:link w:val="FootnoteTextChar"/>
118+
<w:uiPriority w:val="99"/>
119+
<w:semiHidden/>
120+
<w:unhideWhenUsed/>
121+
<w:pPr>
122+
<w:spacing w:after="0" w:line="240" w:lineRule="auto"/>
123+
</w:pPr>
124+
<w:rPr>
125+
<w:sz w:val="20"/>
126+
<w:szCs w:val="20"/>
127+
</w:rPr>
128+
</w:style>
129+
<w:style w:type="character" w:styleId="FootnoteTextChar">
130+
<w:name w:val="Footnote Text Char"/>
131+
<w:basedOn w:val="DefaultParagraphFont"/>
132+
<w:link w:val="FootnoteText"/>
133+
<w:uiPriority w:val="99"/>
134+
<w:semiHidden/>
135+
<w:unhideWhenUsed/>
136+
<w:rPr>
137+
<w:sz w:val="20"/>
138+
<w:szCs w:val="20"/>
139+
</w:rPr>
140+
</w:style>
141+
<w:style w:type="character" w:styleId="EndnoteReference">
142+
<w:name w:val="endnote reference"/>
143+
<w:basedOn w:val="DefaultParagraphFont"/>
144+
<w:uiPriority w:val="99"/>
145+
<w:semiHidden/>
146+
<w:unhideWhenUsed/>
147+
<w:rPr>
148+
<w:vertAlign w:val="superscript"/>
149+
</w:rPr>
150+
</w:style>
151+
<w:style w:type="paragraph" w:styleId="EndnoteText">
152+
<w:name w:val="endnote text"/>
153+
<w:basedOn w:val="Normal"/>
154+
<w:link w:val="EndnoteTextChar"/>
155+
<w:uiPriority w:val="99"/>
156+
<w:semiHidden/>
157+
<w:unhideWhenUsed/>
158+
<w:pPr>
159+
<w:spacing w:after="0" w:line="240" w:lineRule="auto"/>
160+
</w:pPr>
161+
<w:rPr>
162+
<w:sz w:val="20"/>
163+
<w:szCs w:val="20"/>
164+
</w:rPr>
165+
</w:style>
166+
<w:style w:type="character" w:styleId="EndnoteTextChar">
167+
<w:name w:val="Endnote Text Char"/>
168+
<w:basedOn w:val="DefaultParagraphFont"/>
169+
<w:link w:val="EndnoteText"/>
170+
<w:uiPriority w:val="99"/>
171+
<w:semiHidden/>
172+
<w:unhideWhenUsed/>
173+
<w:rPr>
174+
<w:sz w:val="20"/>
175+
<w:szCs w:val="20"/>
176+
</w:rPr>
177+
</w:style>
3178
<w:docDefaults>
4179
<w:rPrDefault>
5180
<w:rPr>

packages/xl-docx-exporter/src/docx/__snapshots__/noLocale/styles.xml

Lines changed: 175 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,180 @@
11
<?xml version="1.0" encoding="UTF-8" standalone="yes"?>
22
<w:styles xmlns:mc="http://schemas.openxmlformats.org/markup-compatibility/2006" xmlns:r="http://schemas.openxmlformats.org/officeDocument/2006/relationships" xmlns:w="http://schemas.openxmlformats.org/wordprocessingml/2006/main" xmlns:w14="http://schemas.microsoft.com/office/word/2010/wordml" xmlns:w15="http://schemas.microsoft.com/office/word/2012/wordml" xmlns:w16cex="http://schemas.microsoft.com/office/word/2018/wordml/cex" xmlns:w16cid="http://schemas.microsoft.com/office/word/2016/wordml/cid" xmlns:w16="http://schemas.microsoft.com/office/word/2018/wordml" xmlns:w16du="http://schemas.microsoft.com/office/word/2023/wordml/word16du" xmlns:w16sdtdh="http://schemas.microsoft.com/office/word/2020/wordml/sdtdatahash" xmlns:w16se="http://schemas.microsoft.com/office/word/2015/wordml/symex" mc:Ignorable="w14 w15 w16se w16cid w16 w16cex w16sdtdh w16du">
3+
<w:docDefaults>
4+
<w:rPrDefault/>
5+
<w:pPrDefault/>
6+
</w:docDefaults>
7+
<w:style w:type="paragraph" w:styleId="Title">
8+
<w:name w:val="Title"/>
9+
<w:basedOn w:val="Normal"/>
10+
<w:next w:val="Normal"/>
11+
<w:qFormat/>
12+
<w:rPr>
13+
<w:sz w:val="56"/>
14+
<w:szCs w:val="56"/>
15+
</w:rPr>
16+
</w:style>
17+
<w:style w:type="paragraph" w:styleId="Heading1">
18+
<w:name w:val="Heading 1"/>
19+
<w:basedOn w:val="Normal"/>
20+
<w:next w:val="Normal"/>
21+
<w:qFormat/>
22+
<w:rPr>
23+
<w:color w:val="2E74B5"/>
24+
<w:sz w:val="32"/>
25+
<w:szCs w:val="32"/>
26+
</w:rPr>
27+
</w:style>
28+
<w:style w:type="paragraph" w:styleId="Heading2">
29+
<w:name w:val="Heading 2"/>
30+
<w:basedOn w:val="Normal"/>
31+
<w:next w:val="Normal"/>
32+
<w:qFormat/>
33+
<w:rPr>
34+
<w:color w:val="2E74B5"/>
35+
<w:sz w:val="26"/>
36+
<w:szCs w:val="26"/>
37+
</w:rPr>
38+
</w:style>
39+
<w:style w:type="paragraph" w:styleId="Heading3">
40+
<w:name w:val="Heading 3"/>
41+
<w:basedOn w:val="Normal"/>
42+
<w:next w:val="Normal"/>
43+
<w:qFormat/>
44+
<w:rPr>
45+
<w:color w:val="1F4D78"/>
46+
<w:sz w:val="24"/>
47+
<w:szCs w:val="24"/>
48+
</w:rPr>
49+
</w:style>
50+
<w:style w:type="paragraph" w:styleId="Heading4">
51+
<w:name w:val="Heading 4"/>
52+
<w:basedOn w:val="Normal"/>
53+
<w:next w:val="Normal"/>
54+
<w:qFormat/>
55+
<w:rPr>
56+
<w:i/>
57+
<w:iCs/>
58+
<w:color w:val="2E74B5"/>
59+
</w:rPr>
60+
</w:style>
61+
<w:style w:type="paragraph" w:styleId="Heading5">
62+
<w:name w:val="Heading 5"/>
63+
<w:basedOn w:val="Normal"/>
64+
<w:next w:val="Normal"/>
65+
<w:qFormat/>
66+
<w:rPr>
67+
<w:color w:val="2E74B5"/>
68+
</w:rPr>
69+
</w:style>
70+
<w:style w:type="paragraph" w:styleId="Heading6">
71+
<w:name w:val="Heading 6"/>
72+
<w:basedOn w:val="Normal"/>
73+
<w:next w:val="Normal"/>
74+
<w:qFormat/>
75+
<w:rPr>
76+
<w:color w:val="1F4D78"/>
77+
</w:rPr>
78+
</w:style>
79+
<w:style w:type="paragraph" w:styleId="Strong">
80+
<w:name w:val="Strong"/>
81+
<w:basedOn w:val="Normal"/>
82+
<w:next w:val="Normal"/>
83+
<w:qFormat/>
84+
<w:rPr>
85+
<w:b/>
86+
<w:bCs/>
87+
</w:rPr>
88+
</w:style>
89+
<w:style w:type="paragraph" w:styleId="ListParagraph">
90+
<w:name w:val="List Paragraph"/>
91+
<w:basedOn w:val="Normal"/>
92+
<w:qFormat/>
93+
</w:style>
94+
<w:style w:type="character" w:styleId="Hyperlink">
95+
<w:name w:val="Hyperlink"/>
96+
<w:basedOn w:val="DefaultParagraphFont"/>
97+
<w:uiPriority w:val="99"/>
98+
<w:unhideWhenUsed/>
99+
<w:rPr>
100+
<w:color w:val="0563C1"/>
101+
<w:u w:val="single"/>
102+
</w:rPr>
103+
</w:style>
104+
<w:style w:type="character" w:styleId="FootnoteReference">
105+
<w:name w:val="footnote reference"/>
106+
<w:basedOn w:val="DefaultParagraphFont"/>
107+
<w:uiPriority w:val="99"/>
108+
<w:semiHidden/>
109+
<w:unhideWhenUsed/>
110+
<w:rPr>
111+
<w:vertAlign w:val="superscript"/>
112+
</w:rPr>
113+
</w:style>
114+
<w:style w:type="paragraph" w:styleId="FootnoteText">
115+
<w:name w:val="footnote text"/>
116+
<w:basedOn w:val="Normal"/>
117+
<w:link w:val="FootnoteTextChar"/>
118+
<w:uiPriority w:val="99"/>
119+
<w:semiHidden/>
120+
<w:unhideWhenUsed/>
121+
<w:pPr>
122+
<w:spacing w:after="0" w:line="240" w:lineRule="auto"/>
123+
</w:pPr>
124+
<w:rPr>
125+
<w:sz w:val="20"/>
126+
<w:szCs w:val="20"/>
127+
</w:rPr>
128+
</w:style>
129+
<w:style w:type="character" w:styleId="FootnoteTextChar">
130+
<w:name w:val="Footnote Text Char"/>
131+
<w:basedOn w:val="DefaultParagraphFont"/>
132+
<w:link w:val="FootnoteText"/>
133+
<w:uiPriority w:val="99"/>
134+
<w:semiHidden/>
135+
<w:unhideWhenUsed/>
136+
<w:rPr>
137+
<w:sz w:val="20"/>
138+
<w:szCs w:val="20"/>
139+
</w:rPr>
140+
</w:style>
141+
<w:style w:type="character" w:styleId="EndnoteReference">
142+
<w:name w:val="endnote reference"/>
143+
<w:basedOn w:val="DefaultParagraphFont"/>
144+
<w:uiPriority w:val="99"/>
145+
<w:semiHidden/>
146+
<w:unhideWhenUsed/>
147+
<w:rPr>
148+
<w:vertAlign w:val="superscript"/>
149+
</w:rPr>
150+
</w:style>
151+
<w:style w:type="paragraph" w:styleId="EndnoteText">
152+
<w:name w:val="endnote text"/>
153+
<w:basedOn w:val="Normal"/>
154+
<w:link w:val="EndnoteTextChar"/>
155+
<w:uiPriority w:val="99"/>
156+
<w:semiHidden/>
157+
<w:unhideWhenUsed/>
158+
<w:pPr>
159+
<w:spacing w:after="0" w:line="240" w:lineRule="auto"/>
160+
</w:pPr>
161+
<w:rPr>
162+
<w:sz w:val="20"/>
163+
<w:szCs w:val="20"/>
164+
</w:rPr>
165+
</w:style>
166+
<w:style w:type="character" w:styleId="EndnoteTextChar">
167+
<w:name w:val="Endnote Text Char"/>
168+
<w:basedOn w:val="DefaultParagraphFont"/>
169+
<w:link w:val="EndnoteText"/>
170+
<w:uiPriority w:val="99"/>
171+
<w:semiHidden/>
172+
<w:unhideWhenUsed/>
173+
<w:rPr>
174+
<w:sz w:val="20"/>
175+
<w:szCs w:val="20"/>
176+
</w:rPr>
177+
</w:style>
3178
<w:docDefaults>
4179
<w:rPrDefault>
5180
<w:rPr>

packages/xl-docx-exporter/src/docx/__snapshots__/withCustomOptions/document.xml.rels

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -3,6 +3,7 @@
33
<Relationship Id="FAKE-ID" Type="http://schemas.openxmlformats.org/officeDocument/2006/relationships/styles" Target="styles.xml"/>
44
<Relationship Id="FAKE-ID" Type="http://schemas.openxmlformats.org/officeDocument/2006/relationships/numbering" Target="numbering.xml"/>
55
<Relationship Id="FAKE-ID" Type="http://schemas.openxmlformats.org/officeDocument/2006/relationships/footnotes" Target="footnotes.xml"/>
6+
<Relationship Id="FAKE-ID" Type="http://schemas.openxmlformats.org/officeDocument/2006/relationships/endnotes" Target="endnotes.xml"/>
67
<Relationship Id="FAKE-ID" Type="http://schemas.openxmlformats.org/officeDocument/2006/relationships/settings" Target="settings.xml"/>
78
<Relationship Id="FAKE-ID" Type="http://schemas.openxmlformats.org/officeDocument/2006/relationships/comments" Target="comments.xml"/>
89
<Relationship Id="FAKE-ID" Type="http://schemas.openxmlformats.org/officeDocument/2006/relationships/header" Target="header1.xml"/>

0 commit comments

Comments
 (0)