@office-kit/pptx 0.22.0 → 0.24.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -0,0 +1,291 @@
1
+ # Third-party notices
2
+
3
+ @office-kit/pptx is MIT-licensed (see `LICENSE`). It also ships material
4
+ derived from the third-party work below, under that work's own license.
5
+
6
+ ## Dewiride PPTX Studio — PowerPoint's built-in table style definitions
7
+
8
+ - Source: Dewiride PPTX Studio, https://github.com/Dewiride-Open-Source/Dewiride-PPTX-Studio
9
+ - Commit: `875a825d156812dda5fd7a359599d69fe700c972`
10
+ - File: `packages/model/src/builtin/table-styles.ts` (the same 74 definitions
11
+ as `corpus/ground-truth/table-styles.json`)
12
+ - Copyright 2026 Dewiride Technologies. Licensed under the Apache License,
13
+ Version 2.0 (full text below).
14
+
15
+ What was derived: the `a:tblStyle` definitions of PowerPoint's 74 built-in
16
+ table styles (which Dewiride PPTX Studio records as PowerPoint's own
17
+ serialization), with their GUIDs and English names.
18
+
19
+ How it was modified: the 74 definitions were collected into
20
+ `test/fixtures/native/builtin-table-styles.xml` (a `tblStyleLst`, unchanged
21
+ markup). `scripts/generate-builtin-table-styles.mjs` compresses them into
22
+ `src/internal/presentationml/builtin-table-styles.generated.ts` (shipped in
23
+ `dist/`): the accent variants of each style family are stored once as a
24
+ template with `$A` / `$B` in place of the accent color, plus a per-style
25
+ table of GUID, name, gallery category and accents. Expanding a template
26
+ reproduces the original definition byte for byte.
27
+
28
+ ### NOTICE file of Dewiride PPTX Studio
29
+
30
+ ```
31
+ PPTX Studio
32
+ Copyright 2026 Dewiride Technologies
33
+
34
+ This product includes software developed at Dewiride Technologies
35
+ (https://github.com/Dewiride-Open-Source/Dewiride-PPTX-Studio).
36
+
37
+ --------------------------------------------------------------------------------
38
+ Third-party material redistributed in this repository
39
+ --------------------------------------------------------------------------------
40
+
41
+ Entries are added here at the moment the material lands, not at release time.
42
+
43
+ * Apache POI
44
+ Copyright The Apache Software Foundation
45
+ Licensed under the Apache License, Version 2.0.
46
+ https://poi.apache.org/
47
+
48
+ @pptx-studio/geometry contains the 187 DrawingML preset shape definitions,
49
+ transcoded at build time from POI's presetShapeDefinitions.xml by
50
+ tools/geometry-codegen. The transcoded form is a re-encoding of that file's
51
+ content and carries POI's copyright.
52
+
53
+ The file itself is not redistributed in this repository. The generated
54
+ modules in packages/geometry/src/presets record the SHA-256 of the exact
55
+ input they were produced from:
56
+
57
+ presetShapeDefinitions.xml, 538970 bytes
58
+ sha256 4a762444d8d85876881c02a5b1dedf6f73006fcd8acb7b4e393435615b37c780
59
+
60
+ * Microsoft PowerPoint output
61
+ Written by Microsoft PowerPoint, driven by this project's own scripts.
62
+
63
+ @pptx-studio/model contains PowerPoint's 74 built-in table styles: each is
64
+ the a:tblStyle element PowerPoint writes into ppt/tableStyles.xml, byte for
65
+ byte, enumerated through PowerPoint's Table Styles gallery and saved by
66
+ PowerPoint (LEGAL.md, ADR 0063). corpus/ground-truth/table-styles.json holds
67
+ the same 74.
68
+
69
+ The decks in corpus/authored are PowerPoint Blank Presentations, so each
70
+ carries the Microsoft-generated ppt/theme/theme1.xml and default layouts
71
+ PowerPoint writes into a new deck (ADR 0009).
72
+
73
+ --------------------------------------------------------------------------------
74
+ Attributions the plan commits us to, listed so the obligation is visible before
75
+ the code arrives
76
+ --------------------------------------------------------------------------------
77
+
78
+ * Metric-compatible substitute fonts ship in a separate package,
79
+ @pptx-studio/fonts-metric-compat, under SIL OFL 1.1 with its own
80
+ OFL.txt and reserved-font-name handling. They are deliberately kept out
81
+ of this Apache-2.0 tree so the licence boundary is a package boundary.
82
+
83
+ See LEGAL.md for the clean-room record and the reimplementation basis.
84
+ ```
85
+
86
+ ### Apache License, Version 2.0
87
+
88
+ ```
89
+
90
+ Apache License
91
+ Version 2.0, January 2004
92
+ http://www.apache.org/licenses/
93
+
94
+ TERMS AND CONDITIONS FOR USE, REPRODUCTION, AND DISTRIBUTION
95
+
96
+ 1. Definitions.
97
+
98
+ "License" shall mean the terms and conditions for use, reproduction,
99
+ and distribution as defined by Sections 1 through 9 of this document.
100
+
101
+ "Licensor" shall mean the copyright owner or entity authorized by
102
+ the copyright owner that is granting the License.
103
+
104
+ "Legal Entity" shall mean the union of the acting entity and all
105
+ other entities that control, are controlled by, or are under common
106
+ control with that entity. For the purposes of this definition,
107
+ "control" means (i) the power, direct or indirect, to cause the
108
+ direction or management of such entity, whether by contract or
109
+ otherwise, or (ii) ownership of fifty percent (50%) or more of the
110
+ outstanding shares, or (iii) beneficial ownership of such entity.
111
+
112
+ "You" (or "Your") shall mean an individual or Legal Entity
113
+ exercising permissions granted by this License.
114
+
115
+ "Source" form shall mean the preferred form for making modifications,
116
+ including but not limited to software source code, documentation
117
+ source, and configuration files.
118
+
119
+ "Object" form shall mean any form resulting from mechanical
120
+ transformation or translation of a Source form, including but
121
+ not limited to compiled object code, generated documentation,
122
+ and conversions to other media types.
123
+
124
+ "Work" shall mean the work of authorship, whether in Source or
125
+ Object form, made available under the License, as indicated by a
126
+ copyright notice that is included in or attached to the work
127
+ (an example is provided in the Appendix below).
128
+
129
+ "Derivative Works" shall mean any work, whether in Source or Object
130
+ form, that is based on (or derived from) the Work and for which the
131
+ editorial revisions, annotations, elaborations, or other modifications
132
+ represent, as a whole, an original work of authorship. For the purposes
133
+ of this License, Derivative Works shall not include works that remain
134
+ separable from, or merely link (or bind by name) to the interfaces of,
135
+ the Work and Derivative Works thereof.
136
+
137
+ "Contribution" shall mean any work of authorship, including
138
+ the original version of the Work and any modifications or additions
139
+ to that Work or Derivative Works thereof, that is intentionally
140
+ submitted to Licensor for inclusion in the Work by the copyright owner
141
+ or by an individual or Legal Entity authorized to submit on behalf of
142
+ the copyright owner. For the purposes of this definition, "submitted"
143
+ means any form of electronic, verbal, or written communication sent
144
+ to the Licensor or its representatives, including but not limited to
145
+ communication on electronic mailing lists, source code control systems,
146
+ and issue tracking systems that are managed by, or on behalf of, the
147
+ Licensor for the purpose of discussing and improving the Work, but
148
+ excluding communication that is conspicuously marked or otherwise
149
+ designated in writing by the copyright owner as "Not a Contribution."
150
+
151
+ "Contributor" shall mean Licensor and any individual or Legal Entity
152
+ on behalf of whom a Contribution has been received by Licensor and
153
+ subsequently incorporated within the Work.
154
+
155
+ 2. Grant of Copyright License. Subject to the terms and conditions of
156
+ this License, each Contributor hereby grants to You a perpetual,
157
+ worldwide, non-exclusive, no-charge, royalty-free, irrevocable
158
+ copyright license to reproduce, prepare Derivative Works of,
159
+ publicly display, publicly perform, sublicense, and distribute the
160
+ Work and such Derivative Works in Source or Object form.
161
+
162
+ 3. Grant of Patent License. Subject to the terms and conditions of
163
+ this License, each Contributor hereby grants to You a perpetual,
164
+ worldwide, non-exclusive, no-charge, royalty-free, irrevocable
165
+ (except as stated in this section) patent license to make, have made,
166
+ use, offer to sell, sell, import, and otherwise transfer the Work,
167
+ where such license applies only to those patent claims licensable
168
+ by such Contributor that are necessarily infringed by their
169
+ Contribution(s) alone or by combination of their Contribution(s)
170
+ with the Work to which such Contribution(s) was submitted. If You
171
+ institute patent litigation against any entity (including a
172
+ cross-claim or counterclaim in a lawsuit) alleging that the Work
173
+ or a Contribution incorporated within the Work constitutes direct
174
+ or contributory patent infringement, then any patent licenses
175
+ granted to You under this License for that Work shall terminate
176
+ as of the date such litigation is filed.
177
+
178
+ 4. Redistribution. You may reproduce and distribute copies of the
179
+ Work or Derivative Works thereof in any medium, with or without
180
+ modifications, and in Source or Object form, provided that You
181
+ meet the following conditions:
182
+
183
+ (a) You must give any other recipients of the Work or
184
+ Derivative Works a copy of this License; and
185
+
186
+ (b) You must cause any modified files to carry prominent notices
187
+ stating that You changed the files; and
188
+
189
+ (c) You must retain, in the Source form of any Derivative Works
190
+ that You distribute, all copyright, patent, trademark, and
191
+ attribution notices from the Source form of the Work,
192
+ excluding those notices that do not pertain to any part of
193
+ the Derivative Works; and
194
+
195
+ (d) If the Work includes a "NOTICE" text file as part of its
196
+ distribution, then any Derivative Works that You distribute must
197
+ include a readable copy of the attribution notices contained
198
+ within such NOTICE file, excluding those notices that do not
199
+ pertain to any part of the Derivative Works, in at least one
200
+ of the following places: within a NOTICE text file distributed
201
+ as part of the Derivative Works; within the Source form or
202
+ documentation, if provided along with the Derivative Works; or,
203
+ within a display generated by the Derivative Works, if and
204
+ wherever such third-party notices normally appear. The contents
205
+ of the NOTICE file are for informational purposes only and
206
+ do not modify the License. You may add Your own attribution
207
+ notices within Derivative Works that You distribute, alongside
208
+ or as an addendum to the NOTICE text from the Work, provided
209
+ that such additional attribution notices cannot be construed
210
+ as modifying the License.
211
+
212
+ You may add Your own copyright statement to Your modifications and
213
+ may provide additional or different license terms and conditions
214
+ for use, reproduction, or distribution of Your modifications, or
215
+ for any such Derivative Works as a whole, provided Your use,
216
+ reproduction, and distribution of the Work otherwise complies with
217
+ the conditions stated in this License.
218
+
219
+ 5. Submission of Contributions. Unless You explicitly state otherwise,
220
+ any Contribution intentionally submitted for inclusion in the Work
221
+ by You to the Licensor shall be under the terms and conditions of
222
+ this License, without any additional terms or conditions.
223
+ Notwithstanding the above, nothing herein shall supersede or modify
224
+ the terms of any separate license agreement you may have executed
225
+ with Licensor regarding such Contributions.
226
+
227
+ 6. Trademarks. This License does not grant permission to use the trade
228
+ names, trademarks, service marks, or product names of the Licensor,
229
+ except as required for reasonable and customary use in describing the
230
+ origin of the Work and reproducing the content of the NOTICE file.
231
+
232
+ 7. Disclaimer of Warranty. Unless required by applicable law or
233
+ agreed to in writing, Licensor provides the Work (and each
234
+ Contributor provides its Contributions) on an "AS IS" BASIS,
235
+ WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or
236
+ implied, including, without limitation, any warranties or conditions
237
+ of TITLE, NON-INFRINGEMENT, MERCHANTABILITY, or FITNESS FOR A
238
+ PARTICULAR PURPOSE. You are solely responsible for determining the
239
+ appropriateness of using or redistributing the Work and assume any
240
+ risks associated with Your exercise of permissions under this License.
241
+
242
+ 8. Limitation of Liability. In no event and under no legal theory,
243
+ whether in tort (including negligence), contract, or otherwise,
244
+ unless required by applicable law (such as deliberate and grossly
245
+ negligent acts) or agreed to in writing, shall any Contributor be
246
+ liable to You for damages, including any direct, indirect, special,
247
+ incidental, or consequential damages of any character arising as a
248
+ result of this License or out of the use or inability to use the
249
+ Work (including but not limited to damages for loss of goodwill,
250
+ work stoppage, computer failure or malfunction, or any and all
251
+ other commercial damages or losses), even if such Contributor
252
+ has been advised of the possibility of such damages.
253
+
254
+ 9. Accepting Warranty or Additional Liability. While redistributing
255
+ the Work or Derivative Works thereof, You may choose to offer,
256
+ and charge a fee for, acceptance of support, warranty, indemnity,
257
+ or other liability obligations and/or rights consistent with this
258
+ License. However, in accepting such obligations, You may act only
259
+ on Your own behalf and on Your sole responsibility, not on behalf
260
+ of any other Contributor, and only if You agree to indemnify,
261
+ defend, and hold each Contributor harmless for any liability
262
+ incurred by, or claims asserted against, such Contributor by reason
263
+ of your accepting any such warranty or additional liability.
264
+
265
+ END OF TERMS AND CONDITIONS
266
+
267
+ APPENDIX: How to apply the Apache License to your work.
268
+
269
+ To apply the Apache License to your work, attach the following
270
+ boilerplate notice, with the fields enclosed by brackets "[]"
271
+ replaced with your own identifying information. (Don't include
272
+ the brackets!) The text should be enclosed in the appropriate
273
+ comment syntax for the file format. We also recommend that a
274
+ file or class name and description of purpose be included on the
275
+ same "printed page" as the copyright notice for easier
276
+ identification within third-party archives.
277
+
278
+ Copyright 2026 Dewiride Technologies
279
+
280
+ Licensed under the Apache License, Version 2.0 (the "License");
281
+ you may not use this file except in compliance with the License.
282
+ You may obtain a copy of the License at
283
+
284
+ http://www.apache.org/licenses/LICENSE-2.0
285
+
286
+ Unless required by applicable law or agreed to in writing, software
287
+ distributed under the License is distributed on an "AS IS" BASIS,
288
+ WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
289
+ See the License for the specific language governing permissions and
290
+ limitations under the License.
291
+ ```