ooxpy 0.5.2__tar.gz

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.
Files changed (779) hide show
  1. ooxpy-0.5.2/.github/workflows/ci.yml +74 -0
  2. ooxpy-0.5.2/.github/workflows/office-check.yml +57 -0
  3. ooxpy-0.5.2/.github/workflows/release.yml +120 -0
  4. ooxpy-0.5.2/CHANGELOG.md +72 -0
  5. ooxpy-0.5.2/LICENSE +21 -0
  6. ooxpy-0.5.2/MANIFEST.in +11 -0
  7. ooxpy-0.5.2/NOTICE +34 -0
  8. ooxpy-0.5.2/PKG-INFO +155 -0
  9. ooxpy-0.5.2/README.md +111 -0
  10. ooxpy-0.5.2/docs/ARCHITECTURE.md +336 -0
  11. ooxpy-0.5.2/docs/ATTRIBUTIONS.md +72 -0
  12. ooxpy-0.5.2/docs/ODFPY_COMPAT.md +81 -0
  13. ooxpy-0.5.2/docs/ROADMAP.md +243 -0
  14. ooxpy-0.5.2/docs/STABILITY.md +81 -0
  15. ooxpy-0.5.2/docs/XSD_DIFF.md +114 -0
  16. ooxpy-0.5.2/docs/changelog.md +1 -0
  17. ooxpy-0.5.2/docs/cli.md +83 -0
  18. ooxpy-0.5.2/docs/concepts.md +164 -0
  19. ooxpy-0.5.2/docs/cookbook.md +206 -0
  20. ooxpy-0.5.2/docs/faq.md +59 -0
  21. ooxpy-0.5.2/docs/getting-started.md +123 -0
  22. ooxpy-0.5.2/docs/guide/charts.md +117 -0
  23. ooxpy-0.5.2/docs/guide/excel.md +211 -0
  24. ooxpy-0.5.2/docs/guide/existing-files.md +143 -0
  25. ooxpy-0.5.2/docs/guide/powerpoint.md +156 -0
  26. ooxpy-0.5.2/docs/guide/validation.md +119 -0
  27. ooxpy-0.5.2/docs/guide/word.md +307 -0
  28. ooxpy-0.5.2/docs/index.md +61 -0
  29. ooxpy-0.5.2/docs/odfpy.md +82 -0
  30. ooxpy-0.5.2/docs/office.md +64 -0
  31. ooxpy-0.5.2/docs/reference/charts.md +134 -0
  32. ooxpy-0.5.2/docs/reference/documents.md +199 -0
  33. ooxpy-0.5.2/docs/reference/elements.md +304 -0
  34. ooxpy-0.5.2/docs/reference/excel.md +930 -0
  35. ooxpy-0.5.2/docs/reference/index.md +12 -0
  36. ooxpy-0.5.2/docs/reference/package.md +199 -0
  37. ooxpy-0.5.2/docs/reference/powerpoint.md +625 -0
  38. ooxpy-0.5.2/docs/reference/utilities.md +117 -0
  39. ooxpy-0.5.2/docs/reference/word.md +1258 -0
  40. ooxpy-0.5.2/docs/reports/xsd-diff.md +903 -0
  41. ooxpy-0.5.2/examples/charts.html +125 -0
  42. ooxpy-0.5.2/examples/charts.py +62 -0
  43. ooxpy-0.5.2/examples/edit_existing.html +107 -0
  44. ooxpy-0.5.2/examples/edit_existing.py +72 -0
  45. ooxpy-0.5.2/examples/excel_dashboard.html +75 -0
  46. ooxpy-0.5.2/examples/excel_dashboard.py +61 -0
  47. ooxpy-0.5.2/examples/excel_report.html +70 -0
  48. ooxpy-0.5.2/examples/excel_report.py +50 -0
  49. ooxpy-0.5.2/examples/forms_fields.html +90 -0
  50. ooxpy-0.5.2/examples/forms_fields.py +75 -0
  51. ooxpy-0.5.2/examples/hello.html +128 -0
  52. ooxpy-0.5.2/examples/hello.py +84 -0
  53. ooxpy-0.5.2/examples/index.html +32 -0
  54. ooxpy-0.5.2/examples/report.html +94 -0
  55. ooxpy-0.5.2/examples/report.py +60 -0
  56. ooxpy-0.5.2/examples/showcase.html +96 -0
  57. ooxpy-0.5.2/examples/showcase.py +98 -0
  58. ooxpy-0.5.2/examples/slides.html +133 -0
  59. ooxpy-0.5.2/examples/slides.py +64 -0
  60. ooxpy-0.5.2/examples/tables_review.html +81 -0
  61. ooxpy-0.5.2/examples/tables_review.py +77 -0
  62. ooxpy-0.5.2/mkdocs.yml +84 -0
  63. ooxpy-0.5.2/pyproject.toml +86 -0
  64. ooxpy-0.5.2/setup.cfg +4 -0
  65. ooxpy-0.5.2/src/oox/__init__.py +54 -0
  66. ooxpy-0.5.2/src/oox/__main__.py +186 -0
  67. ooxpy-0.5.2/src/oox/_generated/__init__.py +4 -0
  68. ooxpy-0.5.2/src/oox/_generated/enums.py +1047 -0
  69. ooxpy-0.5.2/src/oox/_generated/g_a.py +5520 -0
  70. ooxpy-0.5.2/src/oox/_generated/g_a14.py +376 -0
  71. ooxpy-0.5.2/src/oox/_generated/g_a15.py +45 -0
  72. ooxpy-0.5.2/src/oox/_generated/g_a16.py +30 -0
  73. ooxpy-0.5.2/src/oox/_generated/g_a1611.py +11 -0
  74. ooxpy-0.5.2/src/oox/_generated/g_a3danim.py +15 -0
  75. ooxpy-0.5.2/src/oox/_generated/g_aanim.py +31 -0
  76. ooxpy-0.5.2/src/oox/_generated/g_ac.py +13 -0
  77. ooxpy-0.5.2/src/oox/_generated/g_aclsh.py +8 -0
  78. ooxpy-0.5.2/src/oox/_generated/g_adec.py +6 -0
  79. ooxpy-0.5.2/src/oox/_generated/g_ahyp.py +7 -0
  80. ooxpy-0.5.2/src/oox/_generated/g_aif.py +6 -0
  81. ooxpy-0.5.2/src/oox/_generated/g_alf.py +37 -0
  82. ooxpy-0.5.2/src/oox/_generated/g_am3d.py +160 -0
  83. ooxpy-0.5.2/src/oox/_generated/g_aoe.py +9 -0
  84. ooxpy-0.5.2/src/oox/_generated/g_ap.py +41 -0
  85. ooxpy-0.5.2/src/oox/_generated/g_ask.py +33 -0
  86. ooxpy-0.5.2/src/oox/_generated/g_asl.py +8 -0
  87. ooxpy-0.5.2/src/oox/_generated/g_asvg.py +7 -0
  88. ooxpy-0.5.2/src/oox/_generated/g_ax.py +20 -0
  89. ooxpy-0.5.2/src/oox/_generated/g_b.py +183 -0
  90. ooxpy-0.5.2/src/oox/_generated/g_c.py +1641 -0
  91. ooxpy-0.5.2/src/oox/_generated/g_c14.py +51 -0
  92. ooxpy-0.5.2/src/oox/_generated/g_c15.py +83 -0
  93. ooxpy-0.5.2/src/oox/_generated/g_c16.py +63 -0
  94. ooxpy-0.5.2/src/oox/_generated/g_c16r3.py +14 -0
  95. ooxpy-0.5.2/src/oox/_generated/g_cdip.py +17 -0
  96. ooxpy-0.5.2/src/oox/_generated/g_cdr.py +117 -0
  97. ooxpy-0.5.2/src/oox/_generated/g_cdr14.py +27 -0
  98. ooxpy-0.5.2/src/oox/_generated/g_clbl.py +30 -0
  99. ooxpy-0.5.2/src/oox/_generated/g_com14.py +6 -0
  100. ooxpy-0.5.2/src/oox/_generated/g_comp.py +5 -0
  101. ooxpy-0.5.2/src/oox/_generated/g_cppr.py +18 -0
  102. ooxpy-0.5.2/src/oox/_generated/g_cs.py +695 -0
  103. ooxpy-0.5.2/src/oox/_generated/g_ct.py +18 -0
  104. ooxpy-0.5.2/src/oox/_generated/g_cx.py +591 -0
  105. ooxpy-0.5.2/src/oox/_generated/g_dgm.py +552 -0
  106. ooxpy-0.5.2/src/oox/_generated/g_dgm14.py +6 -0
  107. ooxpy-0.5.2/src/oox/_generated/g_dgm1611.py +23 -0
  108. ooxpy-0.5.2/src/oox/_generated/g_ds.py +17 -0
  109. ooxpy-0.5.2/src/oox/_generated/g_dsp.py +60 -0
  110. ooxpy-0.5.2/src/oox/_generated/g_emma.py +233 -0
  111. ooxpy-0.5.2/src/oox/_generated/g_inkml.py +208 -0
  112. ooxpy-0.5.2/src/oox/_generated/g_lp.py +7 -0
  113. ooxpy-0.5.2/src/oox/_generated/g_m.py +1040 -0
  114. ooxpy-0.5.2/src/oox/_generated/g_ma.py +26 -0
  115. ooxpy-0.5.2/src/oox/_generated/g_msink.py +91 -0
  116. ooxpy-0.5.2/src/oox/_generated/g_mso.py +1516 -0
  117. ooxpy-0.5.2/src/oox/_generated/g_mso14.py +2914 -0
  118. ooxpy-0.5.2/src/oox/_generated/g_ntns.py +9 -0
  119. ooxpy-0.5.2/src/oox/_generated/g_o.py +372 -0
  120. ooxpy-0.5.2/src/oox/_generated/g_oac.py +407 -0
  121. ooxpy-0.5.2/src/oox/_generated/g_oel.py +8 -0
  122. ooxpy-0.5.2/src/oox/_generated/g_op.py +48 -0
  123. ooxpy-0.5.2/src/oox/_generated/g_p.py +1312 -0
  124. ooxpy-0.5.2/src/oox/_generated/g_p14.py +219 -0
  125. ooxpy-0.5.2/src/oox/_generated/g_p15.py +50 -0
  126. ooxpy-0.5.2/src/oox/_generated/g_p16.py +6 -0
  127. ooxpy-0.5.2/src/oox/_generated/g_p1710.py +7 -0
  128. ooxpy-0.5.2/src/oox/_generated/g_p173.py +21 -0
  129. ooxpy-0.5.2/src/oox/_generated/g_p184.py +8 -0
  130. ooxpy-0.5.2/src/oox/_generated/g_p188.py +84 -0
  131. ooxpy-0.5.2/src/oox/_generated/g_p1912.py +91 -0
  132. ooxpy-0.5.2/src/oox/_generated/g_p202.py +18 -0
  133. ooxpy-0.5.2/src/oox/_generated/g_p216.py +90 -0
  134. ooxpy-0.5.2/src/oox/_generated/g_p223.py +16 -0
  135. ooxpy-0.5.2/src/oox/_generated/g_p228.py +77 -0
  136. ooxpy-0.5.2/src/oox/_generated/g_p232.py +11 -0
  137. ooxpy-0.5.2/src/oox/_generated/g_pRoam.py +7 -0
  138. ooxpy-0.5.2/src/oox/_generated/g_pc.py +36 -0
  139. ooxpy-0.5.2/src/oox/_generated/g_pc2.py +27 -0
  140. ooxpy-0.5.2/src/oox/_generated/g_pic.py +15 -0
  141. ooxpy-0.5.2/src/oox/_generated/g_pvml.py +5 -0
  142. ooxpy-0.5.2/src/oox/_generated/g_sl.py +10 -0
  143. ooxpy-0.5.2/src/oox/_generated/g_sle.py +6 -0
  144. ooxpy-0.5.2/src/oox/_generated/g_t.py +93 -0
  145. ooxpy-0.5.2/src/oox/_generated/g_thm15.py +36 -0
  146. ooxpy-0.5.2/src/oox/_generated/g_tsle.py +8 -0
  147. ooxpy-0.5.2/src/oox/_generated/g_v.py +983 -0
  148. ooxpy-0.5.2/src/oox/_generated/g_vt.py +102 -0
  149. ooxpy-0.5.2/src/oox/_generated/g_w.py +6238 -0
  150. ooxpy-0.5.2/src/oox/_generated/g_w10.py +38 -0
  151. ooxpy-0.5.2/src/oox/_generated/g_w14.py +337 -0
  152. ooxpy-0.5.2/src/oox/_generated/g_w15.py +38 -0
  153. ooxpy-0.5.2/src/oox/_generated/g_w16cex.py +20 -0
  154. ooxpy-0.5.2/src/oox/_generated/g_w16cid.py +13 -0
  155. ooxpy-0.5.2/src/oox/_generated/g_w16cur.py +10 -0
  156. ooxpy-0.5.2/src/oox/_generated/g_w16se.py +8 -0
  157. ooxpy-0.5.2/src/oox/_generated/g_we.py +55 -0
  158. ooxpy-0.5.2/src/oox/_generated/g_wetp.py +18 -0
  159. ooxpy-0.5.2/src/oox/_generated/g_wne.py +108 -0
  160. ooxpy-0.5.2/src/oox/_generated/g_woe.py +8 -0
  161. ooxpy-0.5.2/src/oox/_generated/g_wp.py +106 -0
  162. ooxpy-0.5.2/src/oox/_generated/g_wp14.py +15 -0
  163. ooxpy-0.5.2/src/oox/_generated/g_wp15.py +8 -0
  164. ooxpy-0.5.2/src/oox/_generated/g_wpc.py +20 -0
  165. ooxpy-0.5.2/src/oox/_generated/g_wpg.py +73 -0
  166. ooxpy-0.5.2/src/oox/_generated/g_wps.py +32 -0
  167. ooxpy-0.5.2/src/oox/_generated/g_x.py +3519 -0
  168. ooxpy-0.5.2/src/oox/_generated/g_x14.py +688 -0
  169. ooxpy-0.5.2/src/oox/_generated/g_x15.py +418 -0
  170. ooxpy-0.5.2/src/oox/_generated/g_x15ac.py +6 -0
  171. ooxpy-0.5.2/src/oox/_generated/g_x16.py +25 -0
  172. ooxpy-0.5.2/src/oox/_generated/g_xcalcf.py +10 -0
  173. ooxpy-0.5.2/src/oox/_generated/g_xda.py +11 -0
  174. ooxpy-0.5.2/src/oox/_generated/g_xdr.py +162 -0
  175. ooxpy-0.5.2/src/oox/_generated/g_xdr14.py +39 -0
  176. ooxpy-0.5.2/src/oox/_generated/g_xfpb.py +133 -0
  177. ooxpy-0.5.2/src/oox/_generated/g_xlecs.py +9 -0
  178. ooxpy-0.5.2/src/oox/_generated/g_xlecs2.py +14 -0
  179. ooxpy-0.5.2/src/oox/_generated/g_xlmsforms.py +19 -0
  180. ooxpy-0.5.2/src/oox/_generated/g_xlpcalc.py +52 -0
  181. ooxpy-0.5.2/src/oox/_generated/g_xlpda.py +7 -0
  182. ooxpy-0.5.2/src/oox/_generated/g_xlpds.py +9 -0
  183. ooxpy-0.5.2/src/oox/_generated/g_xlrd.py +32 -0
  184. ooxpy-0.5.2/src/oox/_generated/g_xlrd2.py +233 -0
  185. ooxpy-0.5.2/src/oox/_generated/g_xlrdwi.py +32 -0
  186. ooxpy-0.5.2/src/oox/_generated/g_xlrvr.py +15 -0
  187. ooxpy-0.5.2/src/oox/_generated/g_xlrvrel.py +12 -0
  188. ooxpy-0.5.2/src/oox/_generated/g_xltc.py +62 -0
  189. ooxpy-0.5.2/src/oox/_generated/g_xltc2.py +10 -0
  190. ooxpy-0.5.2/src/oox/_generated/g_xlwcv.py +7 -0
  191. ooxpy-0.5.2/src/oox/_generated/g_xne.py +32 -0
  192. ooxpy-0.5.2/src/oox/_generated/g_xnsv.py +62 -0
  193. ooxpy-0.5.2/src/oox/_generated/g_xpdl.py +11 -0
  194. ooxpy-0.5.2/src/oox/_generated/g_xprd.py +12 -0
  195. ooxpy-0.5.2/src/oox/_generated/g_xr.py +482 -0
  196. ooxpy-0.5.2/src/oox/_generated/g_xsd.py +157 -0
  197. ooxpy-0.5.2/src/oox/_generated/g_xvml.py +112 -0
  198. ooxpy-0.5.2/src/oox/_generated/g_xxdsv.py +11 -0
  199. ooxpy-0.5.2/src/oox/_generated/g_xxl21.py +21 -0
  200. ooxpy-0.5.2/src/oox/_generated/g_xxlnp.py +7 -0
  201. ooxpy-0.5.2/src/oox/_generated/g_xxpim.py +12 -0
  202. ooxpy-0.5.2/src/oox/_generated/g_xxpvi.py +15 -0
  203. ooxpy-0.5.2/src/oox/_generated/index.py +3826 -0
  204. ooxpy-0.5.2/src/oox/_generated/namespaces.py +196 -0
  205. ooxpy-0.5.2/src/oox/_generated/p_a.py +1961 -0
  206. ooxpy-0.5.2/src/oox/_generated/p_a14.py +56 -0
  207. ooxpy-0.5.2/src/oox/_generated/p_a3danim.py +6 -0
  208. ooxpy-0.5.2/src/oox/_generated/p_aanim.py +5 -0
  209. ooxpy-0.5.2/src/oox/_generated/p_ac.py +5 -0
  210. ooxpy-0.5.2/src/oox/_generated/p_alf.py +18 -0
  211. ooxpy-0.5.2/src/oox/_generated/p_am3d.py +49 -0
  212. ooxpy-0.5.2/src/oox/_generated/p_aoe.py +4 -0
  213. ooxpy-0.5.2/src/oox/_generated/p_ap.py +22 -0
  214. ooxpy-0.5.2/src/oox/_generated/p_ask.py +18 -0
  215. ooxpy-0.5.2/src/oox/_generated/p_asl.py +4 -0
  216. ooxpy-0.5.2/src/oox/_generated/p_ax.py +6 -0
  217. ooxpy-0.5.2/src/oox/_generated/p_b.py +64 -0
  218. ooxpy-0.5.2/src/oox/_generated/p_c.py +703 -0
  219. ooxpy-0.5.2/src/oox/_generated/p_c14.py +12 -0
  220. ooxpy-0.5.2/src/oox/_generated/p_c15.py +34 -0
  221. ooxpy-0.5.2/src/oox/_generated/p_c16.py +24 -0
  222. ooxpy-0.5.2/src/oox/_generated/p_c16r3.py +6 -0
  223. ooxpy-0.5.2/src/oox/_generated/p_cdip.py +11 -0
  224. ooxpy-0.5.2/src/oox/_generated/p_cdr.py +55 -0
  225. ooxpy-0.5.2/src/oox/_generated/p_cdr14.py +9 -0
  226. ooxpy-0.5.2/src/oox/_generated/p_clbl.py +8 -0
  227. ooxpy-0.5.2/src/oox/_generated/p_cppr.py +10 -0
  228. ooxpy-0.5.2/src/oox/_generated/p_cs.py +261 -0
  229. ooxpy-0.5.2/src/oox/_generated/p_ct.py +4 -0
  230. ooxpy-0.5.2/src/oox/_generated/p_cx.py +167 -0
  231. ooxpy-0.5.2/src/oox/_generated/p_dgm.py +146 -0
  232. ooxpy-0.5.2/src/oox/_generated/p_dgm1611.py +10 -0
  233. ooxpy-0.5.2/src/oox/_generated/p_ds.py +5 -0
  234. ooxpy-0.5.2/src/oox/_generated/p_dsp.py +18 -0
  235. ooxpy-0.5.2/src/oox/_generated/p_emma.py +42 -0
  236. ooxpy-0.5.2/src/oox/_generated/p_inkml.py +54 -0
  237. ooxpy-0.5.2/src/oox/_generated/p_lp.py +4 -0
  238. ooxpy-0.5.2/src/oox/_generated/p_m.py +906 -0
  239. ooxpy-0.5.2/src/oox/_generated/p_msink.py +6 -0
  240. ooxpy-0.5.2/src/oox/_generated/p_mso.py +144 -0
  241. ooxpy-0.5.2/src/oox/_generated/p_mso14.py +248 -0
  242. ooxpy-0.5.2/src/oox/_generated/p_ntns.py +6 -0
  243. ooxpy-0.5.2/src/oox/_generated/p_o.py +21 -0
  244. ooxpy-0.5.2/src/oox/_generated/p_oac.py +76 -0
  245. ooxpy-0.5.2/src/oox/_generated/p_oel.py +5 -0
  246. ooxpy-0.5.2/src/oox/_generated/p_op.py +17 -0
  247. ooxpy-0.5.2/src/oox/_generated/p_p.py +358 -0
  248. ooxpy-0.5.2/src/oox/_generated/p_p14.py +24 -0
  249. ooxpy-0.5.2/src/oox/_generated/p_p15.py +9 -0
  250. ooxpy-0.5.2/src/oox/_generated/p_p173.py +5 -0
  251. ooxpy-0.5.2/src/oox/_generated/p_p188.py +28 -0
  252. ooxpy-0.5.2/src/oox/_generated/p_p1912.py +17 -0
  253. ooxpy-0.5.2/src/oox/_generated/p_p202.py +7 -0
  254. ooxpy-0.5.2/src/oox/_generated/p_p216.py +17 -0
  255. ooxpy-0.5.2/src/oox/_generated/p_p223.py +6 -0
  256. ooxpy-0.5.2/src/oox/_generated/p_p228.py +15 -0
  257. ooxpy-0.5.2/src/oox/_generated/p_p232.py +7 -0
  258. ooxpy-0.5.2/src/oox/_generated/p_pRoam.py +4 -0
  259. ooxpy-0.5.2/src/oox/_generated/p_pc.py +26 -0
  260. ooxpy-0.5.2/src/oox/_generated/p_pc2.py +8 -0
  261. ooxpy-0.5.2/src/oox/_generated/p_pic.py +7 -0
  262. ooxpy-0.5.2/src/oox/_generated/p_sl.py +4 -0
  263. ooxpy-0.5.2/src/oox/_generated/p_sle.py +4 -0
  264. ooxpy-0.5.2/src/oox/_generated/p_t.py +18 -0
  265. ooxpy-0.5.2/src/oox/_generated/p_thm15.py +6 -0
  266. ooxpy-0.5.2/src/oox/_generated/p_tsle.py +4 -0
  267. ooxpy-0.5.2/src/oox/_generated/p_v.py +147 -0
  268. ooxpy-0.5.2/src/oox/_generated/p_vt.py +31 -0
  269. ooxpy-0.5.2/src/oox/_generated/p_w.py +3195 -0
  270. ooxpy-0.5.2/src/oox/_generated/p_w14.py +80 -0
  271. ooxpy-0.5.2/src/oox/_generated/p_w15.py +9 -0
  272. ooxpy-0.5.2/src/oox/_generated/p_w16cex.py +7 -0
  273. ooxpy-0.5.2/src/oox/_generated/p_w16cid.py +4 -0
  274. ooxpy-0.5.2/src/oox/_generated/p_w16cur.py +5 -0
  275. ooxpy-0.5.2/src/oox/_generated/p_we.py +13 -0
  276. ooxpy-0.5.2/src/oox/_generated/p_wetp.py +6 -0
  277. ooxpy-0.5.2/src/oox/_generated/p_wne.py +32 -0
  278. ooxpy-0.5.2/src/oox/_generated/p_wp.py +33 -0
  279. ooxpy-0.5.2/src/oox/_generated/p_wp14.py +5 -0
  280. ooxpy-0.5.2/src/oox/_generated/p_wpc.py +10 -0
  281. ooxpy-0.5.2/src/oox/_generated/p_wpg.py +27 -0
  282. ooxpy-0.5.2/src/oox/_generated/p_wps.py +14 -0
  283. ooxpy-0.5.2/src/oox/_generated/p_x.py +625 -0
  284. ooxpy-0.5.2/src/oox/_generated/p_x14.py +113 -0
  285. ooxpy-0.5.2/src/oox/_generated/p_x15.py +61 -0
  286. ooxpy-0.5.2/src/oox/_generated/p_x16.py +5 -0
  287. ooxpy-0.5.2/src/oox/_generated/p_xcalcf.py +4 -0
  288. ooxpy-0.5.2/src/oox/_generated/p_xda.py +4 -0
  289. ooxpy-0.5.2/src/oox/_generated/p_xdr.py +77 -0
  290. ooxpy-0.5.2/src/oox/_generated/p_xdr14.py +12 -0
  291. ooxpy-0.5.2/src/oox/_generated/p_xfpb.py +35 -0
  292. ooxpy-0.5.2/src/oox/_generated/p_xlmsforms.py +7 -0
  293. ooxpy-0.5.2/src/oox/_generated/p_xlpcalc.py +12 -0
  294. ooxpy-0.5.2/src/oox/_generated/p_xlpds.py +4 -0
  295. ooxpy-0.5.2/src/oox/_generated/p_xlrd.py +8 -0
  296. ooxpy-0.5.2/src/oox/_generated/p_xlrd2.py +51 -0
  297. ooxpy-0.5.2/src/oox/_generated/p_xlrdwi.py +10 -0
  298. ooxpy-0.5.2/src/oox/_generated/p_xlrvr.py +5 -0
  299. ooxpy-0.5.2/src/oox/_generated/p_xlrvrel.py +6 -0
  300. ooxpy-0.5.2/src/oox/_generated/p_xltc.py +13 -0
  301. ooxpy-0.5.2/src/oox/_generated/p_xltc2.py +4 -0
  302. ooxpy-0.5.2/src/oox/_generated/p_xne.py +8 -0
  303. ooxpy-0.5.2/src/oox/_generated/p_xnsv.py +21 -0
  304. ooxpy-0.5.2/src/oox/_generated/p_xr.py +43 -0
  305. ooxpy-0.5.2/src/oox/_generated/p_xvml.py +38 -0
  306. ooxpy-0.5.2/src/oox/_generated/p_xxdsv.py +7 -0
  307. ooxpy-0.5.2/src/oox/_generated/p_xxl21.py +6 -0
  308. ooxpy-0.5.2/src/oox/_generated/p_xxpvi.py +9 -0
  309. ooxpy-0.5.2/src/oox/_generated/parts.py +1446 -0
  310. ooxpy-0.5.2/src/oox/_odfdom.py +150 -0
  311. ooxpy-0.5.2/src/oox/attrconverters.py +114 -0
  312. ooxpy-0.5.2/src/oox/charts.py +744 -0
  313. ooxpy-0.5.2/src/oox/contentmodel.py +173 -0
  314. ooxpy-0.5.2/src/oox/controls.py +317 -0
  315. ooxpy-0.5.2/src/oox/document.py +1001 -0
  316. ooxpy-0.5.2/src/oox/drawing.py +108 -0
  317. ooxpy-0.5.2/src/oox/element.py +551 -0
  318. ooxpy-0.5.2/src/oox/errors.py +42 -0
  319. ooxpy-0.5.2/src/oox/fieldcalc.py +591 -0
  320. ooxpy-0.5.2/src/oox/fields.py +132 -0
  321. ooxpy-0.5.2/src/oox/floating.py +133 -0
  322. ooxpy-0.5.2/src/oox/formatting.py +348 -0
  323. ooxpy-0.5.2/src/oox/grammar.py +263 -0
  324. ooxpy-0.5.2/src/oox/images.py +247 -0
  325. ooxpy-0.5.2/src/oox/lexical.py +121 -0
  326. ooxpy-0.5.2/src/oox/notes.py +256 -0
  327. ooxpy-0.5.2/src/oox/ns/__init__.py +17 -0
  328. ooxpy-0.5.2/src/oox/ns/a.py +3150 -0
  329. ooxpy-0.5.2/src/oox/ns/a.pyi +4537 -0
  330. ooxpy-0.5.2/src/oox/ns/a14.py +480 -0
  331. ooxpy-0.5.2/src/oox/ns/a14.pyi +632 -0
  332. ooxpy-0.5.2/src/oox/ns/a15.py +58 -0
  333. ooxpy-0.5.2/src/oox/ns/a15.pyi +78 -0
  334. ooxpy-0.5.2/src/oox/ns/a16.py +68 -0
  335. ooxpy-0.5.2/src/oox/ns/a16.pyi +75 -0
  336. ooxpy-0.5.2/src/oox/ns/a1611.py +29 -0
  337. ooxpy-0.5.2/src/oox/ns/a1611.pyi +28 -0
  338. ooxpy-0.5.2/src/oox/ns/a3danim.py +57 -0
  339. ooxpy-0.5.2/src/oox/ns/a3danim.pyi +68 -0
  340. ooxpy-0.5.2/src/oox/ns/aanim.py +38 -0
  341. ooxpy-0.5.2/src/oox/ns/aanim.pyi +44 -0
  342. ooxpy-0.5.2/src/oox/ns/ac.py +37 -0
  343. ooxpy-0.5.2/src/oox/ns/ac.pyi +40 -0
  344. ooxpy-0.5.2/src/oox/ns/aclsh.py +29 -0
  345. ooxpy-0.5.2/src/oox/ns/aclsh.pyi +27 -0
  346. ooxpy-0.5.2/src/oox/ns/adec.py +28 -0
  347. ooxpy-0.5.2/src/oox/ns/adec.pyi +26 -0
  348. ooxpy-0.5.2/src/oox/ns/ahyp.py +29 -0
  349. ooxpy-0.5.2/src/oox/ns/ahyp.pyi +27 -0
  350. ooxpy-0.5.2/src/oox/ns/aif.py +28 -0
  351. ooxpy-0.5.2/src/oox/ns/aif.pyi +26 -0
  352. ooxpy-0.5.2/src/oox/ns/alf.py +82 -0
  353. ooxpy-0.5.2/src/oox/ns/alf.pyi +92 -0
  354. ooxpy-0.5.2/src/oox/ns/am3d.py +342 -0
  355. ooxpy-0.5.2/src/oox/ns/am3d.pyi +461 -0
  356. ooxpy-0.5.2/src/oox/ns/aoe.py +38 -0
  357. ooxpy-0.5.2/src/oox/ns/aoe.pyi +39 -0
  358. ooxpy-0.5.2/src/oox/ns/ap.py +249 -0
  359. ooxpy-0.5.2/src/oox/ns/ap.pyi +301 -0
  360. ooxpy-0.5.2/src/oox/ns/ask.py +92 -0
  361. ooxpy-0.5.2/src/oox/ns/ask.pyi +104 -0
  362. ooxpy-0.5.2/src/oox/ns/asl.py +37 -0
  363. ooxpy-0.5.2/src/oox/ns/asl.pyi +37 -0
  364. ooxpy-0.5.2/src/oox/ns/asvg.py +29 -0
  365. ooxpy-0.5.2/src/oox/ns/asvg.pyi +30 -0
  366. ooxpy-0.5.2/src/oox/ns/ax.py +59 -0
  367. ooxpy-0.5.2/src/oox/ns/ax.pyi +77 -0
  368. ooxpy-0.5.2/src/oox/ns/b.py +629 -0
  369. ooxpy-0.5.2/src/oox/ns/b.pyi +783 -0
  370. ooxpy-0.5.2/src/oox/ns/c.py +2378 -0
  371. ooxpy-0.5.2/src/oox/ns/c.pyi +3455 -0
  372. ooxpy-0.5.2/src/oox/ns/c14.py +127 -0
  373. ooxpy-0.5.2/src/oox/ns/c14.pyi +147 -0
  374. ooxpy-0.5.2/src/oox/ns/c15.py +400 -0
  375. ooxpy-0.5.2/src/oox/ns/c15.pyi +525 -0
  376. ooxpy-0.5.2/src/oox/ns/c16.py +211 -0
  377. ooxpy-0.5.2/src/oox/ns/c16.pyi +265 -0
  378. ooxpy-0.5.2/src/oox/ns/c16ac.py +28 -0
  379. ooxpy-0.5.2/src/oox/ns/c16ac.pyi +26 -0
  380. ooxpy-0.5.2/src/oox/ns/c16r3.py +37 -0
  381. ooxpy-0.5.2/src/oox/ns/c16r3.pyi +38 -0
  382. ooxpy-0.5.2/src/oox/ns/cdip.py +69 -0
  383. ooxpy-0.5.2/src/oox/ns/cdip.pyi +77 -0
  384. ooxpy-0.5.2/src/oox/ns/cdr.py +289 -0
  385. ooxpy-0.5.2/src/oox/ns/cdr.pyi +357 -0
  386. ooxpy-0.5.2/src/oox/ns/cdr14.py +86 -0
  387. ooxpy-0.5.2/src/oox/ns/cdr14.pyi +105 -0
  388. ooxpy-0.5.2/src/oox/ns/clbl.py +57 -0
  389. ooxpy-0.5.2/src/oox/ns/clbl.pyi +69 -0
  390. ooxpy-0.5.2/src/oox/ns/com14.py +29 -0
  391. ooxpy-0.5.2/src/oox/ns/com14.pyi +27 -0
  392. ooxpy-0.5.2/src/oox/ns/comp.py +28 -0
  393. ooxpy-0.5.2/src/oox/ns/comp.pyi +26 -0
  394. ooxpy-0.5.2/src/oox/ns/cppr.py +79 -0
  395. ooxpy-0.5.2/src/oox/ns/cppr.pyi +89 -0
  396. ooxpy-0.5.2/src/oox/ns/cs.py +479 -0
  397. ooxpy-0.5.2/src/oox/ns/cs.pyi +727 -0
  398. ooxpy-0.5.2/src/oox/ns/ct.py +28 -0
  399. ooxpy-0.5.2/src/oox/ns/ct.pyi +39 -0
  400. ooxpy-0.5.2/src/oox/ns/cx.py +1072 -0
  401. ooxpy-0.5.2/src/oox/ns/cx.pyi +1459 -0
  402. ooxpy-0.5.2/src/oox/ns/dgm.py +715 -0
  403. ooxpy-0.5.2/src/oox/ns/dgm.pyi +1087 -0
  404. ooxpy-0.5.2/src/oox/ns/dgm14.py +39 -0
  405. ooxpy-0.5.2/src/oox/ns/dgm14.pyi +43 -0
  406. ooxpy-0.5.2/src/oox/ns/dgm1611.py +48 -0
  407. ooxpy-0.5.2/src/oox/ns/dgm1611.pyi +52 -0
  408. ooxpy-0.5.2/src/oox/ns/dgm1612.py +38 -0
  409. ooxpy-0.5.2/src/oox/ns/dgm1612.pyi +38 -0
  410. ooxpy-0.5.2/src/oox/ns/ds.py +48 -0
  411. ooxpy-0.5.2/src/oox/ns/ds.pyi +52 -0
  412. ooxpy-0.5.2/src/oox/ns/dsp.py +169 -0
  413. ooxpy-0.5.2/src/oox/ns/dsp.pyi +204 -0
  414. ooxpy-0.5.2/src/oox/ns/emma.py +175 -0
  415. ooxpy-0.5.2/src/oox/ns/emma.pyi +447 -0
  416. ooxpy-0.5.2/src/oox/ns/inkml.py +261 -0
  417. ooxpy-0.5.2/src/oox/ns/inkml.pyi +386 -0
  418. ooxpy-0.5.2/src/oox/ns/lc.py +27 -0
  419. ooxpy-0.5.2/src/oox/ns/lc.pyi +25 -0
  420. ooxpy-0.5.2/src/oox/ns/lp.py +37 -0
  421. ooxpy-0.5.2/src/oox/ns/lp.pyi +37 -0
  422. ooxpy-0.5.2/src/oox/ns/m.py +1190 -0
  423. ooxpy-0.5.2/src/oox/ns/m.pyi +1502 -0
  424. ooxpy-0.5.2/src/oox/ns/ma.py +29 -0
  425. ooxpy-0.5.2/src/oox/ns/ma.pyi +43 -0
  426. ooxpy-0.5.2/src/oox/ns/msink.py +57 -0
  427. ooxpy-0.5.2/src/oox/ns/msink.pyi +83 -0
  428. ooxpy-0.5.2/src/oox/ns/mso.py +355 -0
  429. ooxpy-0.5.2/src/oox/ns/mso.pyi +1320 -0
  430. ooxpy-0.5.2/src/oox/ns/mso14.py +600 -0
  431. ooxpy-0.5.2/src/oox/ns/mso14.pyi +2296 -0
  432. ooxpy-0.5.2/src/oox/ns/ntns.py +61 -0
  433. ooxpy-0.5.2/src/oox/ns/ntns.pyi +67 -0
  434. ooxpy-0.5.2/src/oox/ns/o.py +313 -0
  435. ooxpy-0.5.2/src/oox/ns/o.pyi +664 -0
  436. ooxpy-0.5.2/src/oox/ns/oac.py +1001 -0
  437. ooxpy-0.5.2/src/oox/ns/oac.pyi +1577 -0
  438. ooxpy-0.5.2/src/oox/ns/oel.py +29 -0
  439. ooxpy-0.5.2/src/oox/ns/oel.pyi +27 -0
  440. ooxpy-0.5.2/src/oox/ns/op.py +37 -0
  441. ooxpy-0.5.2/src/oox/ns/op.pyi +40 -0
  442. ooxpy-0.5.2/src/oox/ns/p.py +2194 -0
  443. ooxpy-0.5.2/src/oox/ns/p.pyi +3160 -0
  444. ooxpy-0.5.2/src/oox/ns/p14.py +553 -0
  445. ooxpy-0.5.2/src/oox/ns/p14.pyi +712 -0
  446. ooxpy-0.5.2/src/oox/ns/p15.py +113 -0
  447. ooxpy-0.5.2/src/oox/ns/p15.pyi +137 -0
  448. ooxpy-0.5.2/src/oox/ns/p16.py +29 -0
  449. ooxpy-0.5.2/src/oox/ns/p16.pyi +27 -0
  450. ooxpy-0.5.2/src/oox/ns/p1710.py +28 -0
  451. ooxpy-0.5.2/src/oox/ns/p1710.pyi +26 -0
  452. ooxpy-0.5.2/src/oox/ns/p173.py +46 -0
  453. ooxpy-0.5.2/src/oox/ns/p173.pyi +54 -0
  454. ooxpy-0.5.2/src/oox/ns/p184.py +29 -0
  455. ooxpy-0.5.2/src/oox/ns/p184.pyi +27 -0
  456. ooxpy-0.5.2/src/oox/ns/p188.py +129 -0
  457. ooxpy-0.5.2/src/oox/ns/p188.pyi +181 -0
  458. ooxpy-0.5.2/src/oox/ns/p1912.py +182 -0
  459. ooxpy-0.5.2/src/oox/ns/p1912.pyi +214 -0
  460. ooxpy-0.5.2/src/oox/ns/p202.py +57 -0
  461. ooxpy-0.5.2/src/oox/ns/p202.pyi +62 -0
  462. ooxpy-0.5.2/src/oox/ns/p216.py +182 -0
  463. ooxpy-0.5.2/src/oox/ns/p216.pyi +214 -0
  464. ooxpy-0.5.2/src/oox/ns/p223.py +56 -0
  465. ooxpy-0.5.2/src/oox/ns/p223.pyi +61 -0
  466. ooxpy-0.5.2/src/oox/ns/p228.py +162 -0
  467. ooxpy-0.5.2/src/oox/ns/p228.pyi +191 -0
  468. ooxpy-0.5.2/src/oox/ns/p232.py +55 -0
  469. ooxpy-0.5.2/src/oox/ns/p232.pyi +59 -0
  470. ooxpy-0.5.2/src/oox/ns/pRoam.py +44 -0
  471. ooxpy-0.5.2/src/oox/ns/pRoam.pyi +46 -0
  472. ooxpy-0.5.2/src/oox/ns/pc.py +236 -0
  473. ooxpy-0.5.2/src/oox/ns/pc.pyi +281 -0
  474. ooxpy-0.5.2/src/oox/ns/pc2.py +57 -0
  475. ooxpy-0.5.2/src/oox/ns/pc2.pyi +61 -0
  476. ooxpy-0.5.2/src/oox/ns/pic.py +76 -0
  477. ooxpy-0.5.2/src/oox/ns/pic.pyi +89 -0
  478. ooxpy-0.5.2/src/oox/ns/pic14.py +37 -0
  479. ooxpy-0.5.2/src/oox/ns/pic14.pyi +37 -0
  480. ooxpy-0.5.2/src/oox/ns/pvml.py +38 -0
  481. ooxpy-0.5.2/src/oox/ns/pvml.pyi +38 -0
  482. ooxpy-0.5.2/src/oox/ns/sl.py +36 -0
  483. ooxpy-0.5.2/src/oox/ns/sl.pyi +41 -0
  484. ooxpy-0.5.2/src/oox/ns/sle.py +37 -0
  485. ooxpy-0.5.2/src/oox/ns/sle.pyi +37 -0
  486. ooxpy-0.5.2/src/oox/ns/t.py +199 -0
  487. ooxpy-0.5.2/src/oox/ns/t.pyi +241 -0
  488. ooxpy-0.5.2/src/oox/ns/thm15.py +55 -0
  489. ooxpy-0.5.2/src/oox/ns/thm15.pyi +66 -0
  490. ooxpy-0.5.2/src/oox/ns/tsle.py +38 -0
  491. ooxpy-0.5.2/src/oox/ns/tsle.pyi +38 -0
  492. ooxpy-0.5.2/src/oox/ns/v.py +234 -0
  493. ooxpy-0.5.2/src/oox/ns/v.pyi +1355 -0
  494. ooxpy-0.5.2/src/oox/ns/vt.py +337 -0
  495. ooxpy-0.5.2/src/oox/ns/vt.pyi +407 -0
  496. ooxpy-0.5.2/src/oox/ns/w.py +6054 -0
  497. ooxpy-0.5.2/src/oox/ns/w.pyi +9847 -0
  498. ooxpy-0.5.2/src/oox/ns/w10.py +78 -0
  499. ooxpy-0.5.2/src/oox/ns/w10.pyi +97 -0
  500. ooxpy-0.5.2/src/oox/ns/w14.py +650 -0
  501. ooxpy-0.5.2/src/oox/ns/w14.pyi +987 -0
  502. ooxpy-0.5.2/src/oox/ns/w15.py +181 -0
  503. ooxpy-0.5.2/src/oox/ns/w15.pyi +243 -0
  504. ooxpy-0.5.2/src/oox/ns/w16cex.py +45 -0
  505. ooxpy-0.5.2/src/oox/ns/w16cex.pyi +52 -0
  506. ooxpy-0.5.2/src/oox/ns/w16cid.py +36 -0
  507. ooxpy-0.5.2/src/oox/ns/w16cid.pyi +39 -0
  508. ooxpy-0.5.2/src/oox/ns/w16cur.py +29 -0
  509. ooxpy-0.5.2/src/oox/ns/w16cur.pyi +28 -0
  510. ooxpy-0.5.2/src/oox/ns/w16se.py +28 -0
  511. ooxpy-0.5.2/src/oox/ns/w16se.pyi +29 -0
  512. ooxpy-0.5.2/src/oox/ns/we.py +114 -0
  513. ooxpy-0.5.2/src/oox/ns/we.pyi +142 -0
  514. ooxpy-0.5.2/src/oox/ns/wetp.py +56 -0
  515. ooxpy-0.5.2/src/oox/ns/wetp.pyi +65 -0
  516. ooxpy-0.5.2/src/oox/ns/wne.py +346 -0
  517. ooxpy-0.5.2/src/oox/ns/wne.pyi +471 -0
  518. ooxpy-0.5.2/src/oox/ns/woe.py +29 -0
  519. ooxpy-0.5.2/src/oox/ns/woe.pyi +29 -0
  520. ooxpy-0.5.2/src/oox/ns/wp.py +202 -0
  521. ooxpy-0.5.2/src/oox/ns/wp.pyi +289 -0
  522. ooxpy-0.5.2/src/oox/ns/wp14.py +75 -0
  523. ooxpy-0.5.2/src/oox/ns/wp14.pyi +83 -0
  524. ooxpy-0.5.2/src/oox/ns/wp15.py +29 -0
  525. ooxpy-0.5.2/src/oox/ns/wp15.pyi +29 -0
  526. ooxpy-0.5.2/src/oox/ns/wpc.py +64 -0
  527. ooxpy-0.5.2/src/oox/ns/wpc.pyi +70 -0
  528. ooxpy-0.5.2/src/oox/ns/wpg.py +102 -0
  529. ooxpy-0.5.2/src/oox/ns/wpg.pyi +122 -0
  530. ooxpy-0.5.2/src/oox/ns/wps.py +116 -0
  531. ooxpy-0.5.2/src/oox/ns/wps.pyi +155 -0
  532. ooxpy-0.5.2/src/oox/ns/x.py +3828 -0
  533. ooxpy-0.5.2/src/oox/ns/x.pyi +6513 -0
  534. ooxpy-0.5.2/src/oox/ns/x12ac.py +27 -0
  535. ooxpy-0.5.2/src/oox/ns/x12ac.pyi +25 -0
  536. ooxpy-0.5.2/src/oox/ns/x14.py +1048 -0
  537. ooxpy-0.5.2/src/oox/ns/x14.pyi +1545 -0
  538. ooxpy-0.5.2/src/oox/ns/x15.py +686 -0
  539. ooxpy-0.5.2/src/oox/ns/x15.pyi +951 -0
  540. ooxpy-0.5.2/src/oox/ns/x15ac.py +29 -0
  541. ooxpy-0.5.2/src/oox/ns/x15ac.pyi +27 -0
  542. ooxpy-0.5.2/src/oox/ns/x16.py +45 -0
  543. ooxpy-0.5.2/src/oox/ns/x16.pyi +52 -0
  544. ooxpy-0.5.2/src/oox/ns/xcalcf.py +37 -0
  545. ooxpy-0.5.2/src/oox/ns/xcalcf.pyi +37 -0
  546. ooxpy-0.5.2/src/oox/ns/xda.py +37 -0
  547. ooxpy-0.5.2/src/oox/ns/xda.pyi +38 -0
  548. ooxpy-0.5.2/src/oox/ns/xdr.py +352 -0
  549. ooxpy-0.5.2/src/oox/ns/xdr.pyi +437 -0
  550. ooxpy-0.5.2/src/oox/ns/xdr14.py +86 -0
  551. ooxpy-0.5.2/src/oox/ns/xdr14.pyi +105 -0
  552. ooxpy-0.5.2/src/oox/ns/xfpb.py +295 -0
  553. ooxpy-0.5.2/src/oox/ns/xfpb.pyi +422 -0
  554. ooxpy-0.5.2/src/oox/ns/xlecs.py +28 -0
  555. ooxpy-0.5.2/src/oox/ns/xlecs.pyi +27 -0
  556. ooxpy-0.5.2/src/oox/ns/xlecs2.py +28 -0
  557. ooxpy-0.5.2/src/oox/ns/xlecs2.pyi +27 -0
  558. ooxpy-0.5.2/src/oox/ns/xlmsforms.py +54 -0
  559. ooxpy-0.5.2/src/oox/ns/xlmsforms.pyi +61 -0
  560. ooxpy-0.5.2/src/oox/ns/xlpar.py +28 -0
  561. ooxpy-0.5.2/src/oox/ns/xlpar.pyi +26 -0
  562. ooxpy-0.5.2/src/oox/ns/xlpcalc.py +90 -0
  563. ooxpy-0.5.2/src/oox/ns/xlpcalc.pyi +118 -0
  564. ooxpy-0.5.2/src/oox/ns/xlpda.py +28 -0
  565. ooxpy-0.5.2/src/oox/ns/xlpda.pyi +26 -0
  566. ooxpy-0.5.2/src/oox/ns/xlpds.py +28 -0
  567. ooxpy-0.5.2/src/oox/ns/xlpds.pyi +26 -0
  568. ooxpy-0.5.2/src/oox/ns/xlrd.py +107 -0
  569. ooxpy-0.5.2/src/oox/ns/xlrd.pyi +122 -0
  570. ooxpy-0.5.2/src/oox/ns/xlrd2.py +360 -0
  571. ooxpy-0.5.2/src/oox/ns/xlrd2.pyi +492 -0
  572. ooxpy-0.5.2/src/oox/ns/xlrdwi.py +76 -0
  573. ooxpy-0.5.2/src/oox/ns/xlrdwi.pyi +87 -0
  574. ooxpy-0.5.2/src/oox/ns/xlrvr.py +38 -0
  575. ooxpy-0.5.2/src/oox/ns/xlrvr.pyi +40 -0
  576. ooxpy-0.5.2/src/oox/ns/xlrvrel.py +46 -0
  577. ooxpy-0.5.2/src/oox/ns/xlrvrel.pyi +49 -0
  578. ooxpy-0.5.2/src/oox/ns/xltc.py +89 -0
  579. ooxpy-0.5.2/src/oox/ns/xltc.pyi +112 -0
  580. ooxpy-0.5.2/src/oox/ns/xltc2.py +47 -0
  581. ooxpy-0.5.2/src/oox/ns/xltc2.pyi +51 -0
  582. ooxpy-0.5.2/src/oox/ns/xlwcv.py +28 -0
  583. ooxpy-0.5.2/src/oox/ns/xlwcv.pyi +27 -0
  584. ooxpy-0.5.2/src/oox/ns/xne.py +92 -0
  585. ooxpy-0.5.2/src/oox/ns/xne.pyi +108 -0
  586. ooxpy-0.5.2/src/oox/ns/xnsv.py +118 -0
  587. ooxpy-0.5.2/src/oox/ns/xnsv.pyi +157 -0
  588. ooxpy-0.5.2/src/oox/ns/xpdl.py +28 -0
  589. ooxpy-0.5.2/src/oox/ns/xpdl.pyi +28 -0
  590. ooxpy-0.5.2/src/oox/ns/xprd.py +29 -0
  591. ooxpy-0.5.2/src/oox/ns/xprd.pyi +30 -0
  592. ooxpy-0.5.2/src/oox/ns/xr.py +481 -0
  593. ooxpy-0.5.2/src/oox/ns/xr.pyi +853 -0
  594. ooxpy-0.5.2/src/oox/ns/xvml.py +607 -0
  595. ooxpy-0.5.2/src/oox/ns/xvml.pyi +739 -0
  596. ooxpy-0.5.2/src/oox/ns/xxdsv.py +54 -0
  597. ooxpy-0.5.2/src/oox/ns/xxdsv.pyi +58 -0
  598. ooxpy-0.5.2/src/oox/ns/xxl21.py +49 -0
  599. ooxpy-0.5.2/src/oox/ns/xxl21.pyi +54 -0
  600. ooxpy-0.5.2/src/oox/ns/xxlnp.py +28 -0
  601. ooxpy-0.5.2/src/oox/ns/xxlnp.pyi +26 -0
  602. ooxpy-0.5.2/src/oox/ns/xxpim.py +47 -0
  603. ooxpy-0.5.2/src/oox/ns/xxpim.pyi +50 -0
  604. ooxpy-0.5.2/src/oox/ns/xxpvi.py +62 -0
  605. ooxpy-0.5.2/src/oox/ns/xxpvi.pyi +68 -0
  606. ooxpy-0.5.2/src/oox/numbering.py +296 -0
  607. ooxpy-0.5.2/src/oox/odfcompat.py +60 -0
  608. ooxpy-0.5.2/src/oox/opc.py +470 -0
  609. ooxpy-0.5.2/src/oox/presentation.py +590 -0
  610. ooxpy-0.5.2/src/oox/properties.py +337 -0
  611. ooxpy-0.5.2/src/oox/protection.py +242 -0
  612. ooxpy-0.5.2/src/oox/py.typed +0 -0
  613. ooxpy-0.5.2/src/oox/revisions.py +318 -0
  614. ooxpy-0.5.2/src/oox/sections.py +274 -0
  615. ooxpy-0.5.2/src/oox/sections_pml.py +121 -0
  616. ooxpy-0.5.2/src/oox/semantics.py +62 -0
  617. ooxpy-0.5.2/src/oox/slidelinks.py +213 -0
  618. ooxpy-0.5.2/src/oox/slides.py +459 -0
  619. ooxpy-0.5.2/src/oox/slidetable.py +419 -0
  620. ooxpy-0.5.2/src/oox/spreadsheet.py +1004 -0
  621. ooxpy-0.5.2/src/oox/strict.py +155 -0
  622. ooxpy-0.5.2/src/oox/tables.py +439 -0
  623. ooxpy-0.5.2/src/oox/teletype.py +99 -0
  624. ooxpy-0.5.2/src/oox/template.py +82 -0
  625. ooxpy-0.5.2/src/oox/textboxes.py +212 -0
  626. ooxpy-0.5.2/src/oox/units.py +44 -0
  627. ooxpy-0.5.2/src/oox/word_defaults.py +187 -0
  628. ooxpy-0.5.2/src/oox/xlcharts.py +262 -0
  629. ooxpy-0.5.2/src/oox/xlcond.py +205 -0
  630. ooxpy-0.5.2/src/oox/xlnotes.py +221 -0
  631. ooxpy-0.5.2/src/oox/xlprint.py +295 -0
  632. ooxpy-0.5.2/src/oox/xlsheet.py +419 -0
  633. ooxpy-0.5.2/src/oox/xlstyles.py +666 -0
  634. ooxpy-0.5.2/src/oox/xltables.py +184 -0
  635. ooxpy-0.5.2/src/ooxpy.egg-info/PKG-INFO +155 -0
  636. ooxpy-0.5.2/src/ooxpy.egg-info/SOURCES.txt +777 -0
  637. ooxpy-0.5.2/src/ooxpy.egg-info/dependency_links.txt +1 -0
  638. ooxpy-0.5.2/src/ooxpy.egg-info/entry_points.txt +2 -0
  639. ooxpy-0.5.2/src/ooxpy.egg-info/requires.txt +16 -0
  640. ooxpy-0.5.2/src/ooxpy.egg-info/top_level.txt +1 -0
  641. ooxpy-0.5.2/tests/api/public_api.txt +472 -0
  642. ooxpy-0.5.2/tests/test_charts.py +378 -0
  643. ooxpy-0.5.2/tests/test_cli.py +72 -0
  644. ooxpy-0.5.2/tests/test_contentmodel.py +64 -0
  645. ooxpy-0.5.2/tests/test_docs.py +96 -0
  646. ooxpy-0.5.2/tests/test_element.py +156 -0
  647. ooxpy-0.5.2/tests/test_examples.py +62 -0
  648. ooxpy-0.5.2/tests/test_excel_step2.py +254 -0
  649. ooxpy-0.5.2/tests/test_excel_styles_layout.py +224 -0
  650. ooxpy-0.5.2/tests/test_generator.py +112 -0
  651. ooxpy-0.5.2/tests/test_hostile.py +157 -0
  652. ooxpy-0.5.2/tests/test_interop.py +31 -0
  653. ooxpy-0.5.2/tests/test_lexical.py +63 -0
  654. ooxpy-0.5.2/tests/test_numbering.py +104 -0
  655. ooxpy-0.5.2/tests/test_odfcompat.py +109 -0
  656. ooxpy-0.5.2/tests/test_odfpy_examples.py +131 -0
  657. ooxpy-0.5.2/tests/test_officecheck.py +920 -0
  658. ooxpy-0.5.2/tests/test_package.py +131 -0
  659. ooxpy-0.5.2/tests/test_performance.py +140 -0
  660. ooxpy-0.5.2/tests/test_pictures.py +108 -0
  661. ooxpy-0.5.2/tests/test_presentation.py +117 -0
  662. ooxpy-0.5.2/tests/test_protection_textboxes.py +264 -0
  663. ooxpy-0.5.2/tests/test_public_api.py +37 -0
  664. ooxpy-0.5.2/tests/test_quality.py +59 -0
  665. ooxpy-0.5.2/tests/test_save_target.py +104 -0
  666. ooxpy-0.5.2/tests/test_slide_edit.py +301 -0
  667. ooxpy-0.5.2/tests/test_slides.py +142 -0
  668. ooxpy-0.5.2/tests/test_spreadsheet.py +156 -0
  669. ooxpy-0.5.2/tests/test_strict.py +84 -0
  670. ooxpy-0.5.2/tests/test_strict_values.py +91 -0
  671. ooxpy-0.5.2/tests/test_word_batch5.py +329 -0
  672. ooxpy-0.5.2/tests/test_word_defaults.py +110 -0
  673. ooxpy-0.5.2/tests/test_word_features.py +308 -0
  674. ooxpy-0.5.2/tests/test_word_tables_revisions.py +307 -0
  675. ooxpy-0.5.2/tests/test_writers.py +149 -0
  676. ooxpy-0.5.2/tests/test_xsd_frontend.py +205 -0
  677. ooxpy-0.5.2/tools/__init__.py +0 -0
  678. ooxpy-0.5.2/tools/api_surface.py +152 -0
  679. ooxpy-0.5.2/tools/apidocs.py +424 -0
  680. ooxpy-0.5.2/tools/bench.py +47 -0
  681. ooxpy-0.5.2/tools/gen/SDK_REVISION +1 -0
  682. ooxpy-0.5.2/tools/gen/__init__.py +1 -0
  683. ooxpy-0.5.2/tools/gen/__main__.py +42 -0
  684. ooxpy-0.5.2/tools/gen/emit.py +297 -0
  685. ooxpy-0.5.2/tools/gen/fetch_sdk.py +48 -0
  686. ooxpy-0.5.2/tools/gen/ir.py +100 -0
  687. ooxpy-0.5.2/tools/gen/irdiff.py +436 -0
  688. ooxpy-0.5.2/tools/gen/overrides.py +35 -0
  689. ooxpy-0.5.2/tools/gen/sdk_frontend.py +341 -0
  690. ooxpy-0.5.2/tools/gen/xsd_frontend.py +402 -0
  691. ooxpy-0.5.2/tools/interop.py +217 -0
  692. ooxpy-0.5.2/tools/officecheck/README.md +163 -0
  693. ooxpy-0.5.2/tools/officecheck/__init__.py +0 -0
  694. ooxpy-0.5.2/tools/officecheck/assets.py +204 -0
  695. ooxpy-0.5.2/tools/officecheck/check_libreoffice.py +670 -0
  696. ooxpy-0.5.2/tools/officecheck/check_office.py +1805 -0
  697. ooxpy-0.5.2/tools/officecheck/generate.py +2114 -0
  698. ooxpy-0.5.2/tools/officecheck/report.py +246 -0
  699. ooxpy-0.5.2/tools/officecheck/reports/2026-11-14-office2007-controls.md +37 -0
  700. ooxpy-0.5.2/tools/officecheck/reports/2026-11-14-office2007-excel-step1-rerun.md +94 -0
  701. ooxpy-0.5.2/tools/officecheck/reports/2026-11-14-office2007-excel-step1-rerun2.md +72 -0
  702. ooxpy-0.5.2/tools/officecheck/reports/2026-11-14-office2007-excel-step1-rerun3.md +62 -0
  703. ooxpy-0.5.2/tools/officecheck/reports/2026-11-14-office2007-excel-step1.md +80 -0
  704. ooxpy-0.5.2/tools/officecheck/reports/2026-11-14-office2007-lists.md +45 -0
  705. ooxpy-0.5.2/tools/officecheck/reports/2026-11-14-office2007-merged.md +39 -0
  706. ooxpy-0.5.2/tools/officecheck/reports/2026-11-14-office2007-observe.md +56 -0
  707. ooxpy-0.5.2/tools/officecheck/reports/2026-11-14-office2007-powerpoint-rerun.md +39 -0
  708. ooxpy-0.5.2/tools/officecheck/reports/2026-11-14-office2007-word-step1.md +44 -0
  709. ooxpy-0.5.2/tools/officecheck/reports/2026-11-14-office2007-word-step3.md +59 -0
  710. ooxpy-0.5.2/tools/officecheck/reports/2026-11-14-office2007-word-step4.md +67 -0
  711. ooxpy-0.5.2/tools/officecheck/reports/2026-11-14-office2007-word-step5.md +58 -0
  712. ooxpy-0.5.2/tools/officecheck/reports/2026-11-14-office2007-word15-rerun.md +52 -0
  713. ooxpy-0.5.2/tools/officecheck/reports/2026-11-14-office2007-word16-rerun.md +52 -0
  714. ooxpy-0.5.2/tools/officecheck/reports/2026-11-14-office2007.md +28 -0
  715. ooxpy-0.5.2/tools/officecheck/reports/2026-11-15-office2007-charts-ppt-observe.md +125 -0
  716. ooxpy-0.5.2/tools/officecheck/reports/2026-11-15-office2007-excel-step2.md +75 -0
  717. ooxpy-0.5.2/tools/officecheck/reports/2026-11-15-office2007-excel12-Rules.png +0 -0
  718. ooxpy-0.5.2/tools/officecheck/reports/2026-11-15-office2007-excel12-rerun.md +75 -0
  719. ooxpy-0.5.2/tools/officecheck/reports/2026-11-15-office2007-excel12-rerun2.md +75 -0
  720. ooxpy-0.5.2/tools/officecheck/reports/2026-11-15-office2007-excel12-rerun3.md +98 -0
  721. ooxpy-0.5.2/tools/officecheck/reports/2026-11-15-office2007-excel12-rerun4.md +93 -0
  722. ooxpy-0.5.2/tools/officecheck/reports/2026-11-15-office2007-excel12-screenshot.md +103 -0
  723. ooxpy-0.5.2/tools/officecheck/reports/2026-11-15-office2007-protection-textboxes.md +109 -0
  724. ooxpy-0.5.2/tools/officecheck/reports/2026-11-15-office2007-screens/excel-16-Points-chart1.png +0 -0
  725. ooxpy-0.5.2/tools/officecheck/reports/2026-11-15-office2007-screens/excel-16-Sales-chart1.png +0 -0
  726. ooxpy-0.5.2/tools/officecheck/reports/2026-11-15-office2007-screens/excel-16-Sales-chart2.png +0 -0
  727. ooxpy-0.5.2/tools/officecheck/reports/2026-11-15-office2007-screens/excel-16-Sales-chart3.png +0 -0
  728. ooxpy-0.5.2/tools/officecheck/reports/2026-11-15-office2007-screens/excel-16-Sales-chart4.png +0 -0
  729. ooxpy-0.5.2/tools/officecheck/reports/2026-11-15-office2007-screens/ppt-08-slide1.png +0 -0
  730. ooxpy-0.5.2/tools/officecheck/reports/2026-11-15-office2007-screens/ppt-08-slide2.png +0 -0
  731. ooxpy-0.5.2/tools/officecheck/reports/2026-11-15-office2007-screens/ppt-09-slide1.png +0 -0
  732. ooxpy-0.5.2/tools/officecheck/reports/2026-11-15-office2007-screens/ppt-09-slide2.png +0 -0
  733. ooxpy-0.5.2/tools/officecheck/reports/2026-11-15-office2007-screens/ppt-09-slide3.png +0 -0
  734. ooxpy-0.5.2/tools/officecheck/reports/2026-11-15-office2007-screens/ppt-09-slide4.png +0 -0
  735. ooxpy-0.5.2/tools/officecheck/reports/2026-11-15-office2007-screens/ppt-09-slide5.png +0 -0
  736. ooxpy-0.5.2/tools/officecheck/reports/2026-11-15-office2007-step2-charts-ppt.md +114 -0
  737. ooxpy-0.5.2/tools/officecheck/reports/2026-11-15-office2007-step2-rerun.md +104 -0
  738. ooxpy-0.5.2/tools/officecheck/reports/2026-11-15-office2007-step2-rerun2.md +89 -0
  739. ooxpy-0.5.2/tools/officecheck/reports/2026-11-15-office2007-step2-screens/excel-17-Combo-chart1.png +0 -0
  740. ooxpy-0.5.2/tools/officecheck/reports/2026-11-15-office2007-step2-screens/excel-17-Combo-chart2.png +0 -0
  741. ooxpy-0.5.2/tools/officecheck/reports/2026-11-15-office2007-step2-screens/excel-18-Data-chart2.png +0 -0
  742. ooxpy-0.5.2/tools/officecheck/reports/2026-11-15-office2007-step2-screens/ppt-03-slide1.png +0 -0
  743. ooxpy-0.5.2/tools/officecheck/reports/2026-11-15-office2007-step2-screens/ppt-07-slide1.png +0 -0
  744. ooxpy-0.5.2/tools/officecheck/reports/2026-11-15-office2007-step2-screens/ppt-09-slide1.png +0 -0
  745. ooxpy-0.5.2/tools/officecheck/reports/2026-11-15-office2007-step2-screens/ppt-09-slide2.png +0 -0
  746. ooxpy-0.5.2/tools/officecheck/reports/2026-11-15-office2007-step2-screens/ppt-09-slide3.png +0 -0
  747. ooxpy-0.5.2/tools/officecheck/reports/2026-11-15-office2007-step2-screens/ppt-09-slide4.png +0 -0
  748. ooxpy-0.5.2/tools/officecheck/reports/2026-11-15-office2007-step2-screens/ppt-09-slide5.png +0 -0
  749. ooxpy-0.5.2/tools/officecheck/reports/2026-11-15-office2007-step2-screens/ppt-10-slide1.png +0 -0
  750. ooxpy-0.5.2/tools/officecheck/reports/2026-11-15-office2007-step2-screens/ppt-10-slide2.png +0 -0
  751. ooxpy-0.5.2/tools/officecheck/reports/2026-11-15-office2007-step2-screens/ppt-10-slide3.png +0 -0
  752. ooxpy-0.5.2/tools/officecheck/reports/2026-11-15-office2007-step2-screens/ppt-11-slide1-proportional.png +0 -0
  753. ooxpy-0.5.2/tools/officecheck/reports/2026-11-15-office2007-step2-screens/ppt-11-slide1.png +0 -0
  754. ooxpy-0.5.2/tools/officecheck/reports/2026-11-16-office2016-rerun.md +132 -0
  755. ooxpy-0.5.2/tools/officecheck/reports/2026-11-16-office2016-screens/gregory_citadel-excel-16-charts-Points-chart1.png +0 -0
  756. ooxpy-0.5.2/tools/officecheck/reports/2026-11-16-office2016-screens/gregory_citadel-excel-16-charts-Sales-chart1.png +0 -0
  757. ooxpy-0.5.2/tools/officecheck/reports/2026-11-16-office2016-screens/gregory_citadel-excel-16-charts-Sales-chart2.png +0 -0
  758. ooxpy-0.5.2/tools/officecheck/reports/2026-11-16-office2016-screens/gregory_citadel-excel-16-charts-Sales-chart3.png +0 -0
  759. ooxpy-0.5.2/tools/officecheck/reports/2026-11-16-office2016-screens/gregory_citadel-excel-16-charts-Sales-chart4.png +0 -0
  760. ooxpy-0.5.2/tools/officecheck/reports/2026-11-16-office2016-screens/gregory_citadel-excel-17-combo-charts-Combo-chart1.png +0 -0
  761. ooxpy-0.5.2/tools/officecheck/reports/2026-11-16-office2016-screens/gregory_citadel-excel-17-combo-charts-Combo-chart2.png +0 -0
  762. ooxpy-0.5.2/tools/officecheck/reports/2026-11-16-office2016-screens/gregory_citadel-excel-18-edit-openpyxl-file-Data-chart2.png +0 -0
  763. ooxpy-0.5.2/tools/officecheck/reports/2026-11-16-office2016-screens/gregory_citadel-ppt-03-textboxes-pictures-slide1.png +0 -0
  764. ooxpy-0.5.2/tools/officecheck/reports/2026-11-16-office2016-screens/gregory_citadel-ppt-07-properties-images-slide1.png +0 -0
  765. ooxpy-0.5.2/tools/officecheck/reports/2026-11-16-office2016-screens/gregory_citadel-ppt-08-charts-slide1.png +0 -0
  766. ooxpy-0.5.2/tools/officecheck/reports/2026-11-16-office2016-screens/gregory_citadel-ppt-08-charts-slide2.png +0 -0
  767. ooxpy-0.5.2/tools/officecheck/reports/2026-11-16-office2016-screens/gregory_citadel-ppt-09-layouts-tables-notes-slide1.png +0 -0
  768. ooxpy-0.5.2/tools/officecheck/reports/2026-11-16-office2016-screens/gregory_citadel-ppt-09-layouts-tables-notes-slide2.png +0 -0
  769. ooxpy-0.5.2/tools/officecheck/reports/2026-11-16-office2016-screens/gregory_citadel-ppt-09-layouts-tables-notes-slide3.png +0 -0
  770. ooxpy-0.5.2/tools/officecheck/reports/2026-11-16-office2016-screens/gregory_citadel-ppt-09-layouts-tables-notes-slide4.png +0 -0
  771. ooxpy-0.5.2/tools/officecheck/reports/2026-11-16-office2016-screens/gregory_citadel-ppt-09-layouts-tables-notes-slide5.png +0 -0
  772. ooxpy-0.5.2/tools/officecheck/reports/2026-11-16-office2016-screens/gregory_citadel-ppt-10-links-table-edit-slide1.png +0 -0
  773. ooxpy-0.5.2/tools/officecheck/reports/2026-11-16-office2016-screens/gregory_citadel-ppt-10-links-table-edit-slide2.png +0 -0
  774. ooxpy-0.5.2/tools/officecheck/reports/2026-11-16-office2016-screens/gregory_citadel-ppt-10-links-table-edit-slide3.png +0 -0
  775. ooxpy-0.5.2/tools/officecheck/reports/2026-11-16-office2016-screens/gregory_citadel-ppt-11-edit-python-pptx-file-slide1.png +0 -0
  776. ooxpy-0.5.2/tools/officecheck/reports/2026-11-16-office2016-unactivated.md +302 -0
  777. ooxpy-0.5.2/tools/officecheck/reports/README.md +80 -0
  778. ooxpy-0.5.2/tools/smoke_install.py +95 -0
  779. ooxpy-0.5.2/tools/writers.py +324 -0
@@ -0,0 +1,74 @@
1
+ name: CI
2
+
3
+ on:
4
+ push:
5
+ pull_request:
6
+
7
+ permissions:
8
+ contents: read
9
+
10
+ jobs:
11
+ test:
12
+ name: tests (Python ${{ matrix.python }})
13
+ runs-on: ubuntu-latest
14
+ strategy:
15
+ fail-fast: false
16
+ matrix:
17
+ python: ["3.10", "3.11", "3.12", "3.13", "3.14"]
18
+ steps:
19
+ - uses: actions/checkout@v4
20
+ - uses: actions/setup-python@v5
21
+ with:
22
+ python-version: ${{ matrix.python }}
23
+ allow-prereleases: true
24
+ - run: python -m pip install -e ".[dev]" openpyxl python-pptx pillow
25
+ - run: python -m pytest
26
+
27
+ lint:
28
+ runs-on: ubuntu-latest
29
+ steps:
30
+ - uses: actions/checkout@v4
31
+ - uses: actions/setup-python@v5
32
+ with:
33
+ python-version: "3.13"
34
+ - run: python -m pip install -e ".[dev]"
35
+ - run: ruff check src tools tests examples
36
+ - run: pyright
37
+
38
+ docs:
39
+ # Every code block in the guides runs (tests/test_docs.py); the API reference
40
+ # matches the docstrings; the site builds with --strict.
41
+ runs-on: ubuntu-latest
42
+ steps:
43
+ - uses: actions/checkout@v4
44
+ - uses: actions/setup-python@v5
45
+ with:
46
+ python-version: "3.13"
47
+ - run: python -m pip install -e ".[dev,docs]"
48
+ - run: python -m pytest tests/test_docs.py tests/test_public_api.py -q
49
+ - run: mkdocs build --strict
50
+
51
+ generated-code:
52
+ # The committed generated code must equal a fresh generation from the
53
+ # pinned Open XML SDK revision (tools/gen/SDK_REVISION).
54
+ runs-on: ubuntu-latest
55
+ steps:
56
+ - uses: actions/checkout@v4
57
+ - uses: actions/setup-python@v5
58
+ with:
59
+ python-version: "3.13"
60
+ - run: python -m pip install -e ".[dev]"
61
+ - run: python -m tools.gen.fetch_sdk "$RUNNER_TEMP/sdk"
62
+ - run: OOX_SDK_DATA="$RUNNER_TEMP/sdk/data" python -m pytest tests/test_generator.py -q
63
+
64
+ libreoffice:
65
+ # Runs the Office-check corpus through LibreOffice (probes on what it reads back).
66
+ runs-on: ubuntu-latest
67
+ steps:
68
+ - uses: actions/checkout@v4
69
+ - uses: actions/setup-python@v5
70
+ with:
71
+ python-version: "3.13"
72
+ - run: sudo apt-get update && sudo apt-get install -y --no-install-recommends libreoffice-writer libreoffice-calc libreoffice-impress
73
+ - run: python -m pip install -e ".[dev]" python-pptx
74
+ - run: OOX_LIBREOFFICE=1 python -m pytest tests/test_officecheck.py -q
@@ -0,0 +1,57 @@
1
+ name: Office check
2
+
3
+ # Manual run of the Office compatibility corpus on self-hosted Windows machines
4
+ # with Microsoft Office. Register a runner on each machine with the labels
5
+ # below (e.g. "office2007", "office2016"); see tools/officecheck/README.md.
6
+
7
+ on:
8
+ workflow_dispatch:
9
+ inputs:
10
+ office:
11
+ description: "Runner label of the Office machine (e.g. office2016)"
12
+ required: true
13
+ default: office2016
14
+ only:
15
+ description: "Only cases whose id contains this text (empty = all)"
16
+ required: false
17
+ default: ""
18
+
19
+ permissions:
20
+ contents: read
21
+
22
+ jobs:
23
+ corpus:
24
+ runs-on: ubuntu-latest
25
+ steps:
26
+ - uses: actions/checkout@v4
27
+ - uses: actions/setup-python@v5
28
+ with:
29
+ python-version: "3.13"
30
+ - run: python -m pip install -e . python-docx python-pptx
31
+ - run: python -m tools.officecheck.generate corpus
32
+ - uses: actions/upload-artifact@v4
33
+ with:
34
+ name: officecheck-corpus
35
+ path: corpus
36
+
37
+ office:
38
+ needs: corpus
39
+ runs-on: [self-hosted, windows, "${{ inputs.office }}"]
40
+ steps:
41
+ - uses: actions/download-artifact@v4
42
+ with:
43
+ name: officecheck-corpus
44
+ path: corpus
45
+ - name: Run the corpus through Office
46
+ shell: cmd
47
+ run: py corpus\check_office.py corpus --only "${{ inputs.only }}"
48
+ continue-on-error: true # failures are the report's job; always upload results
49
+ - name: Report
50
+ shell: cmd
51
+ run: py corpus\report.py corpus
52
+ - uses: actions/upload-artifact@v4
53
+ with:
54
+ name: officecheck-results-${{ inputs.office }}
55
+ path: |
56
+ corpus/results-*.json
57
+ corpus/REPORT.md
@@ -0,0 +1,120 @@
1
+ name: Release
2
+
3
+ # Build once, test the built wheel on the oldest and newest supported Python,
4
+ # then publish with PyPI's trusted publishing (no API tokens stored anywhere).
5
+ # - Run manually ("Run workflow", target testpypi) to rehearse on TestPyPI.
6
+ # - Push a tag vX.Y.Z to publish to PyPI; the tag must equal oox.__version__.
7
+ # One-time setup on (Test)PyPI and in the repository: see RELEASING.md.
8
+
9
+ on:
10
+ push:
11
+ tags: ["v*"]
12
+ workflow_dispatch:
13
+ inputs:
14
+ target:
15
+ description: "Where to publish"
16
+ type: choice
17
+ options: [testpypi, none]
18
+ default: testpypi
19
+
20
+ permissions:
21
+ contents: read
22
+
23
+ jobs:
24
+ build:
25
+ runs-on: ubuntu-latest
26
+ steps:
27
+ - uses: actions/checkout@v4
28
+ - uses: actions/setup-python@v5
29
+ with:
30
+ python-version: "3.13"
31
+ - run: python -m pip install build twine
32
+ - run: python -m build
33
+ - run: python -m twine check --strict dist/*
34
+ - name: Tag matches the version
35
+ if: startsWith(github.ref, 'refs/tags/v')
36
+ run: |
37
+ version=$(python -c "import re,pathlib; print(re.search(r'__version__ = \"(.+?)\"', pathlib.Path('src/oox/__init__.py').read_text()).group(1))")
38
+ test "v$version" = "$GITHUB_REF_NAME" || { echo "tag $GITHUB_REF_NAME != version $version"; exit 1; }
39
+ - uses: actions/upload-artifact@v4
40
+ with:
41
+ name: dist
42
+ path: dist/
43
+
44
+ test-wheel:
45
+ needs: build
46
+ runs-on: ${{ matrix.os }}
47
+ strategy:
48
+ fail-fast: false
49
+ matrix:
50
+ os: [ubuntu-latest, windows-latest]
51
+ python: ["3.10", "3.14"]
52
+ steps:
53
+ - uses: actions/checkout@v4
54
+ with:
55
+ sparse-checkout: tools/smoke_install.py
56
+ sparse-checkout-cone-mode: false
57
+ - uses: actions/setup-python@v5
58
+ with:
59
+ python-version: ${{ matrix.python }}
60
+ allow-prereleases: true
61
+ - uses: actions/download-artifact@v4
62
+ with:
63
+ name: dist
64
+ path: dist
65
+ - name: Install the wheel (not the source tree)
66
+ shell: bash
67
+ run: python -m pip install dist/*.whl
68
+ - name: Smoke test from outside the repository
69
+ shell: bash
70
+ run: cd "$RUNNER_TEMP" && python "$GITHUB_WORKSPACE/tools/smoke_install.py"
71
+
72
+ test-sdist:
73
+ # The sdist carries the test suite, the tools it imports and the examples.
74
+ needs: build
75
+ runs-on: ubuntu-latest
76
+ steps:
77
+ - uses: actions/setup-python@v5
78
+ with:
79
+ python-version: "3.13"
80
+ - uses: actions/download-artifact@v4
81
+ with:
82
+ name: dist
83
+ path: dist
84
+ - run: |
85
+ mkdir sdist && tar -xzf dist/*.tar.gz -C sdist --strip-components=1
86
+ cd sdist && python -m pip install ".[dev]" pillow && python -m pytest -q
87
+
88
+ publish-testpypi:
89
+ needs: [test-wheel, test-sdist]
90
+ if: github.event_name == 'workflow_dispatch' && inputs.target == 'testpypi'
91
+ runs-on: ubuntu-latest
92
+ environment:
93
+ name: testpypi
94
+ url: https://test.pypi.org/p/ooxpy
95
+ permissions:
96
+ id-token: write
97
+ steps:
98
+ - uses: actions/download-artifact@v4
99
+ with:
100
+ name: dist
101
+ path: dist
102
+ - uses: pypa/gh-action-pypi-publish@release/v1
103
+ with:
104
+ repository-url: https://test.pypi.org/legacy/
105
+
106
+ publish-pypi:
107
+ needs: [test-wheel, test-sdist]
108
+ if: startsWith(github.ref, 'refs/tags/v')
109
+ runs-on: ubuntu-latest
110
+ environment:
111
+ name: pypi
112
+ url: https://pypi.org/p/ooxpy
113
+ permissions:
114
+ id-token: write
115
+ steps:
116
+ - uses: actions/download-artifact@v4
117
+ with:
118
+ name: dist
119
+ path: dist
120
+ - uses: pypa/gh-action-pypi-publish@release/v1
@@ -0,0 +1,72 @@
1
+ # Changelog
2
+
3
+ All notable changes to ooxpy. The format follows
4
+ [Keep a Changelog](https://keepachangelog.com/en/1.1.0/); versions follow
5
+ [semantic versioning](https://semver.org/) from 1.0 (see docs/STABILITY.md).
6
+
7
+ ## [0.5.0] — unreleased (first public release)
8
+
9
+ The first release on PyPI. It covers the roadmap's phases 0–4 and most of phase 3.
10
+ The Word, Excel and PowerPoint features below have cases in the Office check
11
+ corpus, all confirmed on Office 2007; Office 2016 opened every case without a
12
+ repair prompt (`tools/officecheck/reports/`). Strict-conformance files have been
13
+ checked with LibreOffice only.
14
+
15
+ ### Core
16
+
17
+ - One factory per element for the whole Open XML SDK vocabulary (Word, Excel,
18
+ PowerPoint, DrawingML, VML and Microsoft's extension namespaces), with typed
19
+ stubs for IDE completion.
20
+ - Validation on construction (attributes, values, children, order), `validate()`
21
+ reports at two levels (`level="full"` matches whole content models), and
22
+ `validate(target="Office2007")` / `save(target=..., strip=True)` for older Office.
23
+ - Lossless editing: untouched parts are written back byte for byte; saves are
24
+ deterministic.
25
+ - Strict-conformance files are read and written; untrusted files are bounded
26
+ (`Limits`: zip bombs, DTDs, legacy and encrypted files give a `PackageError`).
27
+ - odfpy-compatible names (`addElement`, `teletype`, `load`, `OpenDocumentText()` …).
28
+ - The `oox` command: `validate`, `info`, `text`, `downgrade`.
29
+
30
+ ### Word
31
+
32
+ - Default styles, settings, fonts, theme and page setup; headings, paragraphs,
33
+ runs with formatting, custom styles and effective formatting.
34
+ - Lists with Word's own numbering and the labels Word displays.
35
+ - Sections, headers and footers, page fields; hyperlinks, bookmarks, footnotes,
36
+ endnotes, comments; table of contents; find and replace across runs.
37
+ - Tables (merges, widths, header rows, cell formatting); inline and floating pictures
38
+ (PNG, JPEG, GIF, BMP, TIFF, EMF, WMF, SVG); text boxes.
39
+ - Tracked changes (suggest, list, accept, reject); fields (captions,
40
+ cross-references, document properties, dates) recomputed by oox; content
41
+ controls; document protection with Word's password hash.
42
+ - Charts with an embedded workbook.
43
+
44
+ ### Excel
45
+
46
+ - Typed cells, formulas with cached results, dates, shared strings; fast reads.
47
+ - Cell styles and number formats (with `display_text` as Excel renders them),
48
+ column widths, row heights, merges, frozen panes, filters, names, data validation.
49
+ - Conditional formatting, tables with totals rows, comments, hyperlinks, print
50
+ setup, sheet options, sheet and workbook protection.
51
+ - Charts from cell ranges (combinations, secondary axes) and chart sheets.
52
+
53
+ ### PowerPoint
54
+
55
+ - Office's eleven standard layouts; placeholders (text and pictures), text boxes,
56
+ shapes, pictures, tables (creating and editing), speaker notes, click links,
57
+ sections, charts.
58
+
59
+ ### Fixed since the last internal build
60
+
61
+ - Text extraction (`teletype.extractText`, `oox text`) counted a Word text box's
62
+ text twice: once from Word 2010's shape, once from the VML copy kept for Word
63
+ 2007. Fallback copies are now skipped, and `extractText(p, text_boxes=False)`
64
+ gives a paragraph's own text, as Word does.
65
+ - `TargetError` (raised by `save(target=...)`) is exported from `oox`.
66
+ - `oox.lenient()` now also accepts invalid attribute values when building elements, as
67
+ documented (it used to turn off only the checks for unknown attributes and children).
68
+ `validate()` reports such values whether or not it runs inside the block.
69
+ - A `Section` object taken before `add_section()` now keeps describing its own section
70
+ (it used to switch to the new one).
71
+ - `Section.set_margins` accepts EMU from `oox.units` (`left=Cm(2)`), as Word tables do;
72
+ plain numbers are still twips.
ooxpy-0.5.2/LICENSE ADDED
@@ -0,0 +1,21 @@
1
+ MIT License
2
+
3
+ Copyright (c) 2026 ooxpy contributors
4
+
5
+ Permission is hereby granted, free of charge, to any person obtaining a copy
6
+ of this software and associated documentation files (the "Software"), to deal
7
+ in the Software without restriction, including without limitation the rights
8
+ to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
9
+ copies of the Software, and to permit persons to whom the Software is
10
+ furnished to do so, subject to the following conditions:
11
+
12
+ The above copyright notice and this permission notice shall be included in all
13
+ copies or substantial portions of the Software.
14
+
15
+ THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
16
+ IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
17
+ FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
18
+ AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
19
+ LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
20
+ OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
21
+ SOFTWARE.
@@ -0,0 +1,11 @@
1
+ # The sdist carries what the test suite needs (tests import tools/ and run examples/)
2
+ # plus the documentation sources; the wheel stays the library alone.
3
+ include CHANGELOG.md RELEASING.md mkdocs.yml
4
+ graft tests
5
+ graft tools
6
+ graft examples
7
+ graft docs
8
+ graft .github
9
+ prune site
10
+ prune dist
11
+ global-exclude *.py[cod] __pycache__ .DS_Store
ooxpy-0.5.2/NOTICE ADDED
@@ -0,0 +1,34 @@
1
+ Generated files in src/oox/_generated and src/oox/ns are derived from the
2
+ Open XML SDK schema metadata (https://github.com/dotnet/Open-XML-SDK, data/),
3
+ pinned at 431ab05cf160248cc3885a4a766026d4f8243792 (2026-08-18).
4
+
5
+ The MIT License (MIT)
6
+
7
+ Copyright (c) .NET Foundation and Contributors
8
+
9
+ All rights reserved.
10
+
11
+ Permission is hereby granted, free of charge, to any person obtaining a copy
12
+ of this software and associated documentation files (the "Software"), to deal
13
+ in the Software without restriction, including without limitation the rights
14
+ to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
15
+ copies of the Software, and to permit persons to whom the Software is
16
+ furnished to do so, subject to the following conditions:
17
+
18
+ The above copyright notice and this permission notice shall be included in all
19
+ copies or substantial portions of the Software.
20
+
21
+ THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
22
+ IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
23
+ FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
24
+ AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
25
+ LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
26
+ OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
27
+ SOFTWARE.
28
+
29
+ ------------------------------------------------------------------------------
30
+ tests/test_odfpy_examples.py quotes and translates example scripts from odfpy
31
+ (https://github.com/eea/odfpy, examples/), used under the Apache License 2.0
32
+ (odfpy is licensed GPL-2.0-or-later OR Apache-2.0).
33
+
34
+ See docs/ATTRIBUTIONS.md for every source, library and specification used.
ooxpy-0.5.2/PKG-INFO ADDED
@@ -0,0 +1,155 @@
1
+ Metadata-Version: 2.4
2
+ Name: ooxpy
3
+ Version: 0.5.2
4
+ Summary: Office Open XML (docx, xlsx, pptx) the odfpy way: a factory per element, generated from the schemas, with validation
5
+ License-Expression: MIT
6
+ Project-URL: Homepage, https://github.com/grhpas/ooxpy
7
+ Project-URL: Documentation, https://grhpas.github.io/ooxpy/
8
+ Project-URL: Source, https://github.com/grhpas/ooxpy
9
+ Project-URL: Issues, https://github.com/grhpas/ooxpy/issues
10
+ Keywords: docx,xlsx,pptx,ooxml,office open xml,word,excel,powerpoint,odfpy,ecma-376
11
+ Classifier: Development Status :: 3 - Alpha
12
+ Classifier: Intended Audience :: Developers
13
+ Classifier: Operating System :: OS Independent
14
+ Classifier: Programming Language :: Python :: 3
15
+ Classifier: Programming Language :: Python :: 3 :: Only
16
+ Classifier: Programming Language :: Python :: 3.10
17
+ Classifier: Programming Language :: Python :: 3.11
18
+ Classifier: Programming Language :: Python :: 3.12
19
+ Classifier: Programming Language :: Python :: 3.13
20
+ Classifier: Programming Language :: Python :: 3.14
21
+ Classifier: Topic :: Office/Business :: Office Suites
22
+ Classifier: Topic :: Text Processing :: Markup :: XML
23
+ Classifier: Topic :: Software Development :: Libraries :: Python Modules
24
+ Classifier: Typing :: Typed
25
+ Requires-Python: >=3.10
26
+ Description-Content-Type: text/markdown
27
+ License-File: LICENSE
28
+ License-File: NOTICE
29
+ Requires-Dist: lxml>=5.0
30
+ Provides-Extra: dev
31
+ Requires-Dist: pytest>=8; extra == "dev"
32
+ Requires-Dist: python-docx>=1.1; extra == "dev"
33
+ Requires-Dist: python-pptx>=1.0; extra == "dev"
34
+ Requires-Dist: openpyxl>=3.1; extra == "dev"
35
+ Requires-Dist: XlsxWriter>=3.2; extra == "dev"
36
+ Requires-Dist: ruff; extra == "dev"
37
+ Requires-Dist: pyright; extra == "dev"
38
+ Requires-Dist: pyyaml; extra == "dev"
39
+ Provides-Extra: docs
40
+ Requires-Dist: mkdocs<2,>=1.6; extra == "docs"
41
+ Requires-Dist: mkdocs-material<10,>=9.5; extra == "docs"
42
+ Requires-Dist: pymdown-extensions>=10; extra == "docs"
43
+ Dynamic: license-file
44
+
45
+ # ooxpy (`import oox`)
46
+
47
+ A schema-driven, **odfpy-style** library for Office Open XML (.docx, .xlsx, .pptx).
48
+ It has one factory function per element, generated from the Open XML SDK's
49
+ schema metadata, plus a runtime that validates your markup and keeps children
50
+ in schema order.
51
+
52
+ ```python
53
+ from oox import WordprocessingDocument
54
+ from oox.ns import w
55
+
56
+ doc = WordprocessingDocument.new()
57
+ doc.body.add(
58
+ w.P(w.PPr(w.Jc(val="center")), # order is fixed for you
59
+ w.R(w.RPr(w.Sz(val=48), w.B()), w.T("Hello, OOXML"))),
60
+ )
61
+ doc.save("hello.docx")
62
+
63
+ w.Jc(val="middle") # InvalidAttributeValue: w:val='middle' is not one of: left, start, center, right, end, both, ...
64
+ # (and your IDE offers those values: every factory ships with typed stubs)
65
+ w.P(w.Tbl()) # InvalidChild: <w:tbl> is not allowed in <w:p>; allowed: ...
66
+ ```
67
+
68
+ Excel and PowerPoint work the same way:
69
+
70
+ ```python
71
+ from oox import SpreadsheetDocument, PresentationDocument
72
+ from oox.spreadsheet import Formula
73
+ from oox.units import Inches, Cm
74
+
75
+ book = SpreadsheetDocument.new("Sales")
76
+ book.append_row("Sales", ["Region", "Units", "Price", "Revenue"])
77
+ book.append_row("Sales", ["North", 120, 9.5, Formula("B2*C2")])
78
+ book.add_picture("Sales", "chart.png", anchor="F2", width=Cm(12))
79
+ book.save("sales.xlsx")
80
+
81
+ deck = PresentationDocument.new() # master, layout and theme included
82
+ slide = deck.add_slide()
83
+ deck.add_textbox(slide, Inches(1), Inches(0.5), Inches(11), Inches(1), "Regional sales", size=40)
84
+ deck.add_picture(slide, "chart.png", Inches(1), Inches(2), width=Inches(6))
85
+ deck.save("sales.pptx")
86
+ ```
87
+
88
+ Opening untrusted files is bounded (zip bombs, DTDs, legacy/encrypted files all give a
89
+ clear `PackageError`), Strict-conformance files are read and written, and
90
+ `doc.validate(target="Office2007")` checks a file against an older Office version.
91
+
92
+ Pictures (PNG, JPEG, GIF, BMP, TIFF, EMF, WMF, SVG) work in all three formats, and so
93
+ do charts (`book.add_chart("Sales", "column", "A1:D5")`, `doc.add_chart(...)`,
94
+ `deck.add_chart(...)`). `doc.save(path, target="Office2007")` refuses markup Office 2007
95
+ can't read; `strip=True` removes it.
96
+
97
+ From the command line:
98
+
99
+ ```bash
100
+ python -m oox validate report.docx --target Office2007 # problems per part; exit 1 if any
101
+ python -m oox info deck.pptx # kind, parts, sheets/slides, properties
102
+ python -m oox text book.xlsx # paragraphs / cells / slide texts and notes
103
+ python -m oox downgrade from-libreoffice.xlsx for-2007.xlsx
104
+ ```
105
+
106
+ **Coming from odfpy?** The same method names work (`addElement`, `childNodes`,
107
+ `getElementsByType`, `teletype`, `load`, `save(name, True)`). See
108
+ [docs/odfpy.md](docs/odfpy.md).
109
+
110
+ ## Install
111
+
112
+ ```bash
113
+ pip install ooxpy
114
+ ```
115
+
116
+ Python 3.10 or newer; the only dependency is [lxml](https://lxml.de/).
117
+
118
+ ## Documentation
119
+
120
+ The documentation lives in [`docs/`](docs/index.md): getting started, concepts, guides
121
+ for Word, Excel, PowerPoint and charts, a cookbook, the command line, migrating from
122
+ odfpy, Office compatibility and the API reference. Every code example in it runs in the
123
+ test suite. To read it as a site:
124
+
125
+ ```bash
126
+ pip install ".[docs]"
127
+ mkdocs serve
128
+ ```
129
+
130
+ The [`examples/`](examples/) folder has ten runnable scripts, each with a short HTML
131
+ tutorial next to it (`examples/index.html`).
132
+
133
+ **Status:** 0.5.0, the first public release (alpha): the API may still change before
134
+ 1.0 ([docs/STABILITY.md](docs/STABILITY.md)); changes are listed in
135
+ [CHANGELOG.md](CHANGELOG.md). The design and decision record is
136
+ [docs/ARCHITECTURE.md](docs/ARCHITECTURE.md), the plan [docs/ROADMAP.md](docs/ROADMAP.md).
137
+
138
+ ## Development
139
+
140
+ ```bash
141
+ pip install -e ".[dev,docs]"
142
+ pytest # includes the docs' examples and a strict site build
143
+ python -m tools.apidocs # after changing docstrings: regenerate docs/reference
144
+ python -m tools.api_surface --write # after a deliberate public API change
145
+
146
+ # regenerate the grammar from a pinned Open XML SDK checkout
147
+ git clone --depth 1 --filter=blob:none --sparse https://github.com/dotnet/Open-XML-SDK.git ../sdk
148
+ git -C ../sdk sparse-checkout set data
149
+ python -m tools.gen --sdk-data ../sdk/data
150
+ OOX_SDK_DATA=../sdk/data pytest # also checks committed code == regenerated code
151
+ ```
152
+
153
+ Generated code in `src/oox/_generated` and `src/oox/ns` comes from Open XML SDK
154
+ data (© .NET Foundation and Contributors, MIT). Every source, library and
155
+ specification we use is credited in [docs/ATTRIBUTIONS.md](docs/ATTRIBUTIONS.md).
ooxpy-0.5.2/README.md ADDED
@@ -0,0 +1,111 @@
1
+ # ooxpy (`import oox`)
2
+
3
+ A schema-driven, **odfpy-style** library for Office Open XML (.docx, .xlsx, .pptx).
4
+ It has one factory function per element, generated from the Open XML SDK's
5
+ schema metadata, plus a runtime that validates your markup and keeps children
6
+ in schema order.
7
+
8
+ ```python
9
+ from oox import WordprocessingDocument
10
+ from oox.ns import w
11
+
12
+ doc = WordprocessingDocument.new()
13
+ doc.body.add(
14
+ w.P(w.PPr(w.Jc(val="center")), # order is fixed for you
15
+ w.R(w.RPr(w.Sz(val=48), w.B()), w.T("Hello, OOXML"))),
16
+ )
17
+ doc.save("hello.docx")
18
+
19
+ w.Jc(val="middle") # InvalidAttributeValue: w:val='middle' is not one of: left, start, center, right, end, both, ...
20
+ # (and your IDE offers those values: every factory ships with typed stubs)
21
+ w.P(w.Tbl()) # InvalidChild: <w:tbl> is not allowed in <w:p>; allowed: ...
22
+ ```
23
+
24
+ Excel and PowerPoint work the same way:
25
+
26
+ ```python
27
+ from oox import SpreadsheetDocument, PresentationDocument
28
+ from oox.spreadsheet import Formula
29
+ from oox.units import Inches, Cm
30
+
31
+ book = SpreadsheetDocument.new("Sales")
32
+ book.append_row("Sales", ["Region", "Units", "Price", "Revenue"])
33
+ book.append_row("Sales", ["North", 120, 9.5, Formula("B2*C2")])
34
+ book.add_picture("Sales", "chart.png", anchor="F2", width=Cm(12))
35
+ book.save("sales.xlsx")
36
+
37
+ deck = PresentationDocument.new() # master, layout and theme included
38
+ slide = deck.add_slide()
39
+ deck.add_textbox(slide, Inches(1), Inches(0.5), Inches(11), Inches(1), "Regional sales", size=40)
40
+ deck.add_picture(slide, "chart.png", Inches(1), Inches(2), width=Inches(6))
41
+ deck.save("sales.pptx")
42
+ ```
43
+
44
+ Opening untrusted files is bounded (zip bombs, DTDs, legacy/encrypted files all give a
45
+ clear `PackageError`), Strict-conformance files are read and written, and
46
+ `doc.validate(target="Office2007")` checks a file against an older Office version.
47
+
48
+ Pictures (PNG, JPEG, GIF, BMP, TIFF, EMF, WMF, SVG) work in all three formats, and so
49
+ do charts (`book.add_chart("Sales", "column", "A1:D5")`, `doc.add_chart(...)`,
50
+ `deck.add_chart(...)`). `doc.save(path, target="Office2007")` refuses markup Office 2007
51
+ can't read; `strip=True` removes it.
52
+
53
+ From the command line:
54
+
55
+ ```bash
56
+ python -m oox validate report.docx --target Office2007 # problems per part; exit 1 if any
57
+ python -m oox info deck.pptx # kind, parts, sheets/slides, properties
58
+ python -m oox text book.xlsx # paragraphs / cells / slide texts and notes
59
+ python -m oox downgrade from-libreoffice.xlsx for-2007.xlsx
60
+ ```
61
+
62
+ **Coming from odfpy?** The same method names work (`addElement`, `childNodes`,
63
+ `getElementsByType`, `teletype`, `load`, `save(name, True)`). See
64
+ [docs/odfpy.md](docs/odfpy.md).
65
+
66
+ ## Install
67
+
68
+ ```bash
69
+ pip install ooxpy
70
+ ```
71
+
72
+ Python 3.10 or newer; the only dependency is [lxml](https://lxml.de/).
73
+
74
+ ## Documentation
75
+
76
+ The documentation lives in [`docs/`](docs/index.md): getting started, concepts, guides
77
+ for Word, Excel, PowerPoint and charts, a cookbook, the command line, migrating from
78
+ odfpy, Office compatibility and the API reference. Every code example in it runs in the
79
+ test suite. To read it as a site:
80
+
81
+ ```bash
82
+ pip install ".[docs]"
83
+ mkdocs serve
84
+ ```
85
+
86
+ The [`examples/`](examples/) folder has ten runnable scripts, each with a short HTML
87
+ tutorial next to it (`examples/index.html`).
88
+
89
+ **Status:** 0.5.0, the first public release (alpha): the API may still change before
90
+ 1.0 ([docs/STABILITY.md](docs/STABILITY.md)); changes are listed in
91
+ [CHANGELOG.md](CHANGELOG.md). The design and decision record is
92
+ [docs/ARCHITECTURE.md](docs/ARCHITECTURE.md), the plan [docs/ROADMAP.md](docs/ROADMAP.md).
93
+
94
+ ## Development
95
+
96
+ ```bash
97
+ pip install -e ".[dev,docs]"
98
+ pytest # includes the docs' examples and a strict site build
99
+ python -m tools.apidocs # after changing docstrings: regenerate docs/reference
100
+ python -m tools.api_surface --write # after a deliberate public API change
101
+
102
+ # regenerate the grammar from a pinned Open XML SDK checkout
103
+ git clone --depth 1 --filter=blob:none --sparse https://github.com/dotnet/Open-XML-SDK.git ../sdk
104
+ git -C ../sdk sparse-checkout set data
105
+ python -m tools.gen --sdk-data ../sdk/data
106
+ OOX_SDK_DATA=../sdk/data pytest # also checks committed code == regenerated code
107
+ ```
108
+
109
+ Generated code in `src/oox/_generated` and `src/oox/ns` comes from Open XML SDK
110
+ data (© .NET Foundation and Contributors, MIT). Every source, library and
111
+ specification we use is credited in [docs/ATTRIBUTIONS.md](docs/ATTRIBUTIONS.md).