python-docxan 0.0.1__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 (495) hide show
  1. python_docxan-0.0.1/LICENSE +20 -0
  2. python_docxan-0.0.1/MANIFEST.in +10 -0
  3. python_docxan-0.0.1/PKG-INFO +35 -0
  4. python_docxan-0.0.1/README.md +3 -0
  5. python_docxan-0.0.1/docs/Makefile +153 -0
  6. python_docxan-0.0.1/docs/_static/.gitignore +0 -0
  7. python_docxan-0.0.1/docs/_static/img/comment-parts.png +0 -0
  8. python_docxan-0.0.1/docs/_static/img/example-docx-01.png +0 -0
  9. python_docxan-0.0.1/docs/_static/img/hdrftr-01.png +0 -0
  10. python_docxan-0.0.1/docs/_static/img/hdrftr-02.png +0 -0
  11. python_docxan-0.0.1/docs/_templates/sidebarlinks.html +6 -0
  12. python_docxan-0.0.1/docs/_themes/armstrong/LICENSE +25 -0
  13. python_docxan-0.0.1/docs/_themes/armstrong/layout.html +48 -0
  14. python_docxan-0.0.1/docs/_themes/armstrong/rtd-themes.conf +65 -0
  15. python_docxan-0.0.1/docs/_themes/armstrong/static/rtd.css_t +781 -0
  16. python_docxan-0.0.1/docs/_themes/armstrong/theme.conf +65 -0
  17. python_docxan-0.0.1/docs/_themes/armstrong/theme.conf.orig +66 -0
  18. python_docxan-0.0.1/docs/api/comments.rst +27 -0
  19. python_docxan-0.0.1/docs/api/dml.rst +16 -0
  20. python_docxan-0.0.1/docs/api/document.rst +117 -0
  21. python_docxan-0.0.1/docs/api/enum/MsoColorType.rst +23 -0
  22. python_docxan-0.0.1/docs/api/enum/MsoThemeColorIndex.rst +71 -0
  23. python_docxan-0.0.1/docs/api/enum/WdAlignParagraph.rst +45 -0
  24. python_docxan-0.0.1/docs/api/enum/WdBuiltinStyle.rst +415 -0
  25. python_docxan-0.0.1/docs/api/enum/WdCellVerticalAlignment.rst +32 -0
  26. python_docxan-0.0.1/docs/api/enum/WdColorIndex.rst +62 -0
  27. python_docxan-0.0.1/docs/api/enum/WdLineSpacing.rst +36 -0
  28. python_docxan-0.0.1/docs/api/enum/WdOrientation.rst +23 -0
  29. python_docxan-0.0.1/docs/api/enum/WdRowAlignment.rst +24 -0
  30. python_docxan-0.0.1/docs/api/enum/WdRowHeightRule.rst +26 -0
  31. python_docxan-0.0.1/docs/api/enum/WdSectionStart.rst +32 -0
  32. python_docxan-0.0.1/docs/api/enum/WdStyleType.rst +29 -0
  33. python_docxan-0.0.1/docs/api/enum/WdTabAlignment.rst +38 -0
  34. python_docxan-0.0.1/docs/api/enum/WdTabLeader.rst +26 -0
  35. python_docxan-0.0.1/docs/api/enum/WdTableDirection.rst +24 -0
  36. python_docxan-0.0.1/docs/api/enum/WdUnderline.rst +69 -0
  37. python_docxan-0.0.1/docs/api/enum/index.rst +26 -0
  38. python_docxan-0.0.1/docs/api/section.rst +41 -0
  39. python_docxan-0.0.1/docs/api/settings.rst +13 -0
  40. python_docxan-0.0.1/docs/api/shape.rst +31 -0
  41. python_docxan-0.0.1/docs/api/shared.rst +59 -0
  42. python_docxan-0.0.1/docs/api/style.rst +97 -0
  43. python_docxan-0.0.1/docs/api/table.rst +55 -0
  44. python_docxan-0.0.1/docs/api/text.rst +63 -0
  45. python_docxan-0.0.1/docs/conf.py +393 -0
  46. python_docxan-0.0.1/docs/dev/analysis/features/comments.rst +419 -0
  47. python_docxan-0.0.1/docs/dev/analysis/features/coreprops.rst +199 -0
  48. python_docxan-0.0.1/docs/dev/analysis/features/header.rst +291 -0
  49. python_docxan-0.0.1/docs/dev/analysis/features/numbering.rst +55 -0
  50. python_docxan-0.0.1/docs/dev/analysis/features/sections.rst +311 -0
  51. python_docxan-0.0.1/docs/dev/analysis/features/settings.rst +196 -0
  52. python_docxan-0.0.1/docs/dev/analysis/features/shapes/index.rst +68 -0
  53. python_docxan-0.0.1/docs/dev/analysis/features/shapes/picture.rst +252 -0
  54. python_docxan-0.0.1/docs/dev/analysis/features/shapes/shapes-inline-size.rst +101 -0
  55. python_docxan-0.0.1/docs/dev/analysis/features/shapes/shapes-inline.rst +197 -0
  56. python_docxan-0.0.1/docs/dev/analysis/features/styles/character-style.rst +161 -0
  57. python_docxan-0.0.1/docs/dev/analysis/features/styles/index.rst +330 -0
  58. python_docxan-0.0.1/docs/dev/analysis/features/styles/latent-styles.rst +266 -0
  59. python_docxan-0.0.1/docs/dev/analysis/features/styles/paragraph-style.rst +142 -0
  60. python_docxan-0.0.1/docs/dev/analysis/features/styles/style.rst +501 -0
  61. python_docxan-0.0.1/docs/dev/analysis/features/styles/styles.rst +222 -0
  62. python_docxan-0.0.1/docs/dev/analysis/features/table/cell-merge.rst +572 -0
  63. python_docxan-0.0.1/docs/dev/analysis/features/table/index.rst +212 -0
  64. python_docxan-0.0.1/docs/dev/analysis/features/table/table-cell.rst +216 -0
  65. python_docxan-0.0.1/docs/dev/analysis/features/table/table-props.rst +251 -0
  66. python_docxan-0.0.1/docs/dev/analysis/features/table/table-row.rst +133 -0
  67. python_docxan-0.0.1/docs/dev/analysis/features/text/breaks.rst +269 -0
  68. python_docxan-0.0.1/docs/dev/analysis/features/text/font-color.rst +288 -0
  69. python_docxan-0.0.1/docs/dev/analysis/features/text/font-highlight-color.rst +177 -0
  70. python_docxan-0.0.1/docs/dev/analysis/features/text/font.rst +403 -0
  71. python_docxan-0.0.1/docs/dev/analysis/features/text/hyperlink.rst +383 -0
  72. python_docxan-0.0.1/docs/dev/analysis/features/text/index.rst +16 -0
  73. python_docxan-0.0.1/docs/dev/analysis/features/text/paragraph-format.rst +473 -0
  74. python_docxan-0.0.1/docs/dev/analysis/features/text/run-content.rst +77 -0
  75. python_docxan-0.0.1/docs/dev/analysis/features/text/tab-stops.rst +256 -0
  76. python_docxan-0.0.1/docs/dev/analysis/features/text/underline.rst +155 -0
  77. python_docxan-0.0.1/docs/dev/analysis/index.rst +36 -0
  78. python_docxan-0.0.1/docs/dev/analysis/schema/ct_body.rst +165 -0
  79. python_docxan-0.0.1/docs/dev/analysis/schema/ct_document.rst +109 -0
  80. python_docxan-0.0.1/docs/dev/analysis/schema/ct_p.rst +133 -0
  81. python_docxan-0.0.1/docs/index.rst +113 -0
  82. python_docxan-0.0.1/docs/user/api-concepts.rst +31 -0
  83. python_docxan-0.0.1/docs/user/comments.rst +168 -0
  84. python_docxan-0.0.1/docs/user/documents.rst +94 -0
  85. python_docxan-0.0.1/docs/user/hdrftr.rst +166 -0
  86. python_docxan-0.0.1/docs/user/install.rst +38 -0
  87. python_docxan-0.0.1/docs/user/quickstart.rst +328 -0
  88. python_docxan-0.0.1/docs/user/sections.rst +121 -0
  89. python_docxan-0.0.1/docs/user/shapes.rst +27 -0
  90. python_docxan-0.0.1/docs/user/styles-understanding.rst +382 -0
  91. python_docxan-0.0.1/docs/user/styles-using.rst +391 -0
  92. python_docxan-0.0.1/docs/user/tables.rst +202 -0
  93. python_docxan-0.0.1/docs/user/text.rst +389 -0
  94. python_docxan-0.0.1/features/api-open-document.feature +16 -0
  95. python_docxan-0.0.1/features/blk-add-paragraph.feature +12 -0
  96. python_docxan-0.0.1/features/blk-add-table.feature +13 -0
  97. python_docxan-0.0.1/features/blk-iter-inner-content.feature +24 -0
  98. python_docxan-0.0.1/features/cmt-mutations.feature +59 -0
  99. python_docxan-0.0.1/features/cmt-props.feature +35 -0
  100. python_docxan-0.0.1/features/doc-access-collections.feature +29 -0
  101. python_docxan-0.0.1/features/doc-access-sections.feature +11 -0
  102. python_docxan-0.0.1/features/doc-add-comment.feature +13 -0
  103. python_docxan-0.0.1/features/doc-add-heading.feature +25 -0
  104. python_docxan-0.0.1/features/doc-add-page-break.feature +10 -0
  105. python_docxan-0.0.1/features/doc-add-paragraph.feature +27 -0
  106. python_docxan-0.0.1/features/doc-add-picture.feature +30 -0
  107. python_docxan-0.0.1/features/doc-add-section.feature +24 -0
  108. python_docxan-0.0.1/features/doc-add-table.feature +20 -0
  109. python_docxan-0.0.1/features/doc-comments.feature +36 -0
  110. python_docxan-0.0.1/features/doc-coreprops.feature +22 -0
  111. python_docxan-0.0.1/features/doc-settings.feature +38 -0
  112. python_docxan-0.0.1/features/doc-styles.feature +17 -0
  113. python_docxan-0.0.1/features/environment.py +10 -0
  114. python_docxan-0.0.1/features/hdr-header-footer.feature +88 -0
  115. python_docxan-0.0.1/features/hlk-props.feature +54 -0
  116. python_docxan-0.0.1/features/img-characterize-image.feature +27 -0
  117. python_docxan-0.0.1/features/num-access-numbering-part.feature +10 -0
  118. python_docxan-0.0.1/features/par-access-inner-content.feature +49 -0
  119. python_docxan-0.0.1/features/par-access-parfmt.feature +9 -0
  120. python_docxan-0.0.1/features/par-add-run.feature +16 -0
  121. python_docxan-0.0.1/features/par-alignment-prop.feature +16 -0
  122. python_docxan-0.0.1/features/par-clear-paragraph.feature +11 -0
  123. python_docxan-0.0.1/features/par-insert-paragraph.feature +12 -0
  124. python_docxan-0.0.1/features/par-set-text.feature +11 -0
  125. python_docxan-0.0.1/features/par-style-prop.feature +27 -0
  126. python_docxan-0.0.1/features/pbk-split-para.feature +24 -0
  127. python_docxan-0.0.1/features/run-access-font.feature +9 -0
  128. python_docxan-0.0.1/features/run-access-inner-content.feature +25 -0
  129. python_docxan-0.0.1/features/run-add-content.feature +14 -0
  130. python_docxan-0.0.1/features/run-add-picture.feature +24 -0
  131. python_docxan-0.0.1/features/run-char-style.feature +29 -0
  132. python_docxan-0.0.1/features/run-clear-run.feature +11 -0
  133. python_docxan-0.0.1/features/run-enum-props.feature +35 -0
  134. python_docxan-0.0.1/features/sct-section.feature +150 -0
  135. python_docxan-0.0.1/features/shp-inline-shape-access.feature +24 -0
  136. python_docxan-0.0.1/features/shp-inline-shape-size.feature +13 -0
  137. python_docxan-0.0.1/features/steps/api.py +59 -0
  138. python_docxan-0.0.1/features/steps/block.py +100 -0
  139. python_docxan-0.0.1/features/steps/comments.py +284 -0
  140. python_docxan-0.0.1/features/steps/coreprops.py +117 -0
  141. python_docxan-0.0.1/features/steps/document.py +259 -0
  142. python_docxan-0.0.1/features/steps/font.py +227 -0
  143. python_docxan-0.0.1/features/steps/hdrftr.py +137 -0
  144. python_docxan-0.0.1/features/steps/helpers.py +34 -0
  145. python_docxan-0.0.1/features/steps/hyperlink.py +116 -0
  146. python_docxan-0.0.1/features/steps/image.py +74 -0
  147. python_docxan-0.0.1/features/steps/numbering.py +32 -0
  148. python_docxan-0.0.1/features/steps/pagebreak.py +135 -0
  149. python_docxan-0.0.1/features/steps/paragraph.py +256 -0
  150. python_docxan-0.0.1/features/steps/parfmt.py +210 -0
  151. python_docxan-0.0.1/features/steps/section.py +265 -0
  152. python_docxan-0.0.1/features/steps/settings.py +55 -0
  153. python_docxan-0.0.1/features/steps/shape.py +151 -0
  154. python_docxan-0.0.1/features/steps/shared.py +26 -0
  155. python_docxan-0.0.1/features/steps/styles.py +548 -0
  156. python_docxan-0.0.1/features/steps/table.py +558 -0
  157. python_docxan-0.0.1/features/steps/tabstops.py +141 -0
  158. python_docxan-0.0.1/features/steps/test_files/blk-containing-table.docx +0 -0
  159. python_docxan-0.0.1/features/steps/test_files/blk-paras-and-tables.docx +0 -0
  160. python_docxan-0.0.1/features/steps/test_files/comments-rich-para.docx +0 -0
  161. python_docxan-0.0.1/features/steps/test_files/court-exif.jpg +0 -0
  162. python_docxan-0.0.1/features/steps/test_files/doc-access-sections.docx +0 -0
  163. python_docxan-0.0.1/features/steps/test_files/doc-add-section.docx +0 -0
  164. python_docxan-0.0.1/features/steps/test_files/doc-coreprops.docx +0 -0
  165. python_docxan-0.0.1/features/steps/test_files/doc-default.docx +0 -0
  166. python_docxan-0.0.1/features/steps/test_files/doc-no-coreprops.docx +0 -0
  167. python_docxan-0.0.1/features/steps/test_files/doc-odd-even-hdrs.docx +0 -0
  168. python_docxan-0.0.1/features/steps/test_files/doc-word-default-blank.docx +0 -0
  169. python_docxan-0.0.1/features/steps/test_files/fnt-color.docx +0 -0
  170. python_docxan-0.0.1/features/steps/test_files/hdr-header-footer.docx +0 -0
  171. python_docxan-0.0.1/features/steps/test_files/jfif-300-dpi.jpg +0 -0
  172. python_docxan-0.0.1/features/steps/test_files/jpeg420exif.jpg +0 -0
  173. python_docxan-0.0.1/features/steps/test_files/lena.bmp +0 -0
  174. python_docxan-0.0.1/features/steps/test_files/lena.gif +0 -0
  175. python_docxan-0.0.1/features/steps/test_files/lena.tif +0 -0
  176. python_docxan-0.0.1/features/steps/test_files/lena_std.jpg +0 -0
  177. python_docxan-0.0.1/features/steps/test_files/monty-truth.png +0 -0
  178. python_docxan-0.0.1/features/steps/test_files/mountain.bmp +0 -0
  179. python_docxan-0.0.1/features/steps/test_files/num-having-numbering-part.docx +0 -0
  180. python_docxan-0.0.1/features/steps/test_files/par-alignment.docx +0 -0
  181. python_docxan-0.0.1/features/steps/test_files/par-hlink-frags.docx +0 -0
  182. python_docxan-0.0.1/features/steps/test_files/par-hyperlinks.docx +0 -0
  183. python_docxan-0.0.1/features/steps/test_files/par-known-paragraphs.docx +0 -0
  184. python_docxan-0.0.1/features/steps/test_files/par-known-styles.docx +0 -0
  185. python_docxan-0.0.1/features/steps/test_files/par-rendered-page-breaks.docx +0 -0
  186. python_docxan-0.0.1/features/steps/test_files/python-icon.jpeg +0 -0
  187. python_docxan-0.0.1/features/steps/test_files/run-char-style.docx +0 -0
  188. python_docxan-0.0.1/features/steps/test_files/run-enumerated-props.docx +0 -0
  189. python_docxan-0.0.1/features/steps/test_files/sample.tif +0 -0
  190. python_docxan-0.0.1/features/steps/test_files/sct-first-page-hdrftr.docx +0 -0
  191. python_docxan-0.0.1/features/steps/test_files/sct-inner-content.docx +0 -0
  192. python_docxan-0.0.1/features/steps/test_files/sct-section-props.docx +0 -0
  193. python_docxan-0.0.1/features/steps/test_files/set-no-settings-part.docx +0 -0
  194. python_docxan-0.0.1/features/steps/test_files/shp-inline-shape-access.docx +0 -0
  195. python_docxan-0.0.1/features/steps/test_files/sty-behav-props.docx +0 -0
  196. python_docxan-0.0.1/features/steps/test_files/sty-having-no-styles-part.docx +0 -0
  197. python_docxan-0.0.1/features/steps/test_files/sty-having-styles-part.docx +0 -0
  198. python_docxan-0.0.1/features/steps/test_files/sty-known-styles.docx +0 -0
  199. python_docxan-0.0.1/features/steps/test_files/tab-stops.docx +0 -0
  200. python_docxan-0.0.1/features/steps/test_files/tbl-2x2-table.docx +0 -0
  201. python_docxan-0.0.1/features/steps/test_files/tbl-cell-access.docx +0 -0
  202. python_docxan-0.0.1/features/steps/test_files/tbl-cell-props.docx +0 -0
  203. python_docxan-0.0.1/features/steps/test_files/tbl-col-props.docx +0 -0
  204. python_docxan-0.0.1/features/steps/test_files/tbl-having-applied-style.docx +0 -0
  205. python_docxan-0.0.1/features/steps/test_files/tbl-having-tables.docx +0 -0
  206. python_docxan-0.0.1/features/steps/test_files/tbl-on-off-props.docx +0 -0
  207. python_docxan-0.0.1/features/steps/test_files/tbl-props.docx +0 -0
  208. python_docxan-0.0.1/features/steps/test_files/test.png +0 -0
  209. python_docxan-0.0.1/features/steps/test_files/txt-font-highlight-color.docx +0 -0
  210. python_docxan-0.0.1/features/steps/test_files/txt-font-props.docx +0 -0
  211. python_docxan-0.0.1/features/steps/text.py +326 -0
  212. python_docxan-0.0.1/features/sty-access-font.feature +15 -0
  213. python_docxan-0.0.1/features/sty-access-latent-styles.feature +16 -0
  214. python_docxan-0.0.1/features/sty-access-parfmt.feature +14 -0
  215. python_docxan-0.0.1/features/sty-add-style.feature +20 -0
  216. python_docxan-0.0.1/features/sty-delete-style.feature +11 -0
  217. python_docxan-0.0.1/features/sty-latent-add-del.feature +18 -0
  218. python_docxan-0.0.1/features/sty-latent-props.feature +101 -0
  219. python_docxan-0.0.1/features/sty-style-props.feature +186 -0
  220. python_docxan-0.0.1/features/tab-access-tabs.feature +45 -0
  221. python_docxan-0.0.1/features/tab-tabstop-props.feature +68 -0
  222. python_docxan-0.0.1/features/tbl-add-row-or-col.feature +20 -0
  223. python_docxan-0.0.1/features/tbl-cell-access.feature +39 -0
  224. python_docxan-0.0.1/features/tbl-cell-add-table.feature +12 -0
  225. python_docxan-0.0.1/features/tbl-cell-props.feature +60 -0
  226. python_docxan-0.0.1/features/tbl-cell-text.feature +9 -0
  227. python_docxan-0.0.1/features/tbl-col-props.feature +28 -0
  228. python_docxan-0.0.1/features/tbl-item-access.feature +24 -0
  229. python_docxan-0.0.1/features/tbl-merge-cells.feature +53 -0
  230. python_docxan-0.0.1/features/tbl-props.feature +78 -0
  231. python_docxan-0.0.1/features/tbl-row-props.feature +74 -0
  232. python_docxan-0.0.1/features/tbl-style.feature +29 -0
  233. python_docxan-0.0.1/features/txt-add-break.feature +22 -0
  234. python_docxan-0.0.1/features/txt-font-color.feature +72 -0
  235. python_docxan-0.0.1/features/txt-font-props.feature +233 -0
  236. python_docxan-0.0.1/features/txt-parfmt-props.feature +174 -0
  237. python_docxan-0.0.1/pyproject.toml +127 -0
  238. python_docxan-0.0.1/requirements-dev.txt +7 -0
  239. python_docxan-0.0.1/requirements-docs.txt +5 -0
  240. python_docxan-0.0.1/requirements-test.txt +7 -0
  241. python_docxan-0.0.1/requirements.txt +2 -0
  242. python_docxan-0.0.1/setup.cfg +4 -0
  243. python_docxan-0.0.1/src/docx/__init__.py +66 -0
  244. python_docxan-0.0.1/src/docx/api.py +37 -0
  245. python_docxan-0.0.1/src/docx/blkcntnr.py +101 -0
  246. python_docxan-0.0.1/src/docx/comments.py +163 -0
  247. python_docxan-0.0.1/src/docx/dml/__init__.py +0 -0
  248. python_docxan-0.0.1/src/docx/dml/color.py +112 -0
  249. python_docxan-0.0.1/src/docx/document.py +265 -0
  250. python_docxan-0.0.1/src/docx/drawing/__init__.py +59 -0
  251. python_docxan-0.0.1/src/docx/enum/__init__.py +0 -0
  252. python_docxan-0.0.1/src/docx/enum/base.py +150 -0
  253. python_docxan-0.0.1/src/docx/enum/dml.py +103 -0
  254. python_docxan-0.0.1/src/docx/enum/section.py +86 -0
  255. python_docxan-0.0.1/src/docx/enum/shape.py +19 -0
  256. python_docxan-0.0.1/src/docx/enum/style.py +452 -0
  257. python_docxan-0.0.1/src/docx/enum/table.py +136 -0
  258. python_docxan-0.0.1/src/docx/enum/text.py +367 -0
  259. python_docxan-0.0.1/src/docx/exceptions.py +18 -0
  260. python_docxan-0.0.1/src/docx/extensions.py +2861 -0
  261. python_docxan-0.0.1/src/docx/image/__init__.py +23 -0
  262. python_docxan-0.0.1/src/docx/image/bmp.py +43 -0
  263. python_docxan-0.0.1/src/docx/image/constants.py +172 -0
  264. python_docxan-0.0.1/src/docx/image/exceptions.py +13 -0
  265. python_docxan-0.0.1/src/docx/image/gif.py +38 -0
  266. python_docxan-0.0.1/src/docx/image/helpers.py +86 -0
  267. python_docxan-0.0.1/src/docx/image/image.py +234 -0
  268. python_docxan-0.0.1/src/docx/image/jpeg.py +425 -0
  269. python_docxan-0.0.1/src/docx/image/png.py +253 -0
  270. python_docxan-0.0.1/src/docx/image/tiff.py +289 -0
  271. python_docxan-0.0.1/src/docx/opc/__init__.py +0 -0
  272. python_docxan-0.0.1/src/docx/opc/constants.py +306 -0
  273. python_docxan-0.0.1/src/docx/opc/coreprops.py +142 -0
  274. python_docxan-0.0.1/src/docx/opc/exceptions.py +12 -0
  275. python_docxan-0.0.1/src/docx/opc/oxml.py +247 -0
  276. python_docxan-0.0.1/src/docx/opc/package.py +219 -0
  277. python_docxan-0.0.1/src/docx/opc/packuri.py +109 -0
  278. python_docxan-0.0.1/src/docx/opc/part.py +247 -0
  279. python_docxan-0.0.1/src/docx/opc/parts/__init__.py +0 -0
  280. python_docxan-0.0.1/src/docx/opc/parts/coreprops.py +48 -0
  281. python_docxan-0.0.1/src/docx/opc/phys_pkg.py +119 -0
  282. python_docxan-0.0.1/src/docx/opc/pkgreader.py +254 -0
  283. python_docxan-0.0.1/src/docx/opc/pkgwriter.py +115 -0
  284. python_docxan-0.0.1/src/docx/opc/rel.py +153 -0
  285. python_docxan-0.0.1/src/docx/opc/shared.py +31 -0
  286. python_docxan-0.0.1/src/docx/opc/spec.py +24 -0
  287. python_docxan-0.0.1/src/docx/oxml/__init__.py +251 -0
  288. python_docxan-0.0.1/src/docx/oxml/comments.py +124 -0
  289. python_docxan-0.0.1/src/docx/oxml/coreprops.py +298 -0
  290. python_docxan-0.0.1/src/docx/oxml/document.py +88 -0
  291. python_docxan-0.0.1/src/docx/oxml/drawing.py +11 -0
  292. python_docxan-0.0.1/src/docx/oxml/exceptions.py +10 -0
  293. python_docxan-0.0.1/src/docx/oxml/ns.py +109 -0
  294. python_docxan-0.0.1/src/docx/oxml/numbering.py +109 -0
  295. python_docxan-0.0.1/src/docx/oxml/parser.py +62 -0
  296. python_docxan-0.0.1/src/docx/oxml/section.py +537 -0
  297. python_docxan-0.0.1/src/docx/oxml/settings.py +138 -0
  298. python_docxan-0.0.1/src/docx/oxml/shape.py +299 -0
  299. python_docxan-0.0.1/src/docx/oxml/shared.py +52 -0
  300. python_docxan-0.0.1/src/docx/oxml/simpletypes.py +434 -0
  301. python_docxan-0.0.1/src/docx/oxml/styles.py +320 -0
  302. python_docxan-0.0.1/src/docx/oxml/table.py +977 -0
  303. python_docxan-0.0.1/src/docx/oxml/text/__init__.py +0 -0
  304. python_docxan-0.0.1/src/docx/oxml/text/font.py +331 -0
  305. python_docxan-0.0.1/src/docx/oxml/text/hyperlink.py +45 -0
  306. python_docxan-0.0.1/src/docx/oxml/text/pagebreak.py +278 -0
  307. python_docxan-0.0.1/src/docx/oxml/text/paragraph.py +106 -0
  308. python_docxan-0.0.1/src/docx/oxml/text/parfmt.py +392 -0
  309. python_docxan-0.0.1/src/docx/oxml/text/run.py +307 -0
  310. python_docxan-0.0.1/src/docx/oxml/xmlchemy.py +696 -0
  311. python_docxan-0.0.1/src/docx/package.py +110 -0
  312. python_docxan-0.0.1/src/docx/parts/__init__.py +0 -0
  313. python_docxan-0.0.1/src/docx/parts/comments.py +51 -0
  314. python_docxan-0.0.1/src/docx/parts/document.py +169 -0
  315. python_docxan-0.0.1/src/docx/parts/hdrftr.py +53 -0
  316. python_docxan-0.0.1/src/docx/parts/image.py +80 -0
  317. python_docxan-0.0.1/src/docx/parts/numbering.py +32 -0
  318. python_docxan-0.0.1/src/docx/parts/settings.py +50 -0
  319. python_docxan-0.0.1/src/docx/parts/story.py +95 -0
  320. python_docxan-0.0.1/src/docx/parts/styles.py +42 -0
  321. python_docxan-0.0.1/src/docx/py.typed +0 -0
  322. python_docxan-0.0.1/src/docx/section.py +479 -0
  323. python_docxan-0.0.1/src/docx/settings.py +35 -0
  324. python_docxan-0.0.1/src/docx/shape.py +103 -0
  325. python_docxan-0.0.1/src/docx/shared.py +382 -0
  326. python_docxan-0.0.1/src/docx/styles/__init__.py +40 -0
  327. python_docxan-0.0.1/src/docx/styles/latent.py +198 -0
  328. python_docxan-0.0.1/src/docx/styles/style.py +254 -0
  329. python_docxan-0.0.1/src/docx/styles/styles.py +136 -0
  330. python_docxan-0.0.1/src/docx/table.py +537 -0
  331. python_docxan-0.0.1/src/docx/templates/default-comments.xml +12 -0
  332. python_docxan-0.0.1/src/docx/templates/default-docx-template/[Content_Types].xml +17 -0
  333. python_docxan-0.0.1/src/docx/templates/default-docx-template/_rels/.rels +7 -0
  334. python_docxan-0.0.1/src/docx/templates/default-docx-template/customXml/_rels/item1.xml.rels +4 -0
  335. python_docxan-0.0.1/src/docx/templates/default-docx-template/customXml/item1.xml +2 -0
  336. python_docxan-0.0.1/src/docx/templates/default-docx-template/customXml/itemProps1.xml +6 -0
  337. python_docxan-0.0.1/src/docx/templates/default-docx-template/docProps/app.xml +36 -0
  338. python_docxan-0.0.1/src/docx/templates/default-docx-template/docProps/core.xml +13 -0
  339. python_docxan-0.0.1/src/docx/templates/default-docx-template/docProps/thumbnail.jpeg +0 -0
  340. python_docxan-0.0.1/src/docx/templates/default-docx-template/word/_rels/document.xml.rels +11 -0
  341. python_docxan-0.0.1/src/docx/templates/default-docx-template/word/document.xml +11 -0
  342. python_docxan-0.0.1/src/docx/templates/default-docx-template/word/fontTable.xml +61 -0
  343. python_docxan-0.0.1/src/docx/templates/default-docx-template/word/numbering.xml +201 -0
  344. python_docxan-0.0.1/src/docx/templates/default-docx-template/word/settings.xml +53 -0
  345. python_docxan-0.0.1/src/docx/templates/default-docx-template/word/styles.xml +11844 -0
  346. python_docxan-0.0.1/src/docx/templates/default-docx-template/word/stylesWithEffects.xml +11800 -0
  347. python_docxan-0.0.1/src/docx/templates/default-docx-template/word/theme/theme1.xml +318 -0
  348. python_docxan-0.0.1/src/docx/templates/default-docx-template/word/webSettings.xml +5 -0
  349. python_docxan-0.0.1/src/docx/templates/default-footer.xml +27 -0
  350. python_docxan-0.0.1/src/docx/templates/default-header.xml +27 -0
  351. python_docxan-0.0.1/src/docx/templates/default-settings.xml +26 -0
  352. python_docxan-0.0.1/src/docx/templates/default-styles.xml +190 -0
  353. python_docxan-0.0.1/src/docx/templates/default.docx +0 -0
  354. python_docxan-0.0.1/src/docx/text/__init__.py +0 -0
  355. python_docxan-0.0.1/src/docx/text/font.py +428 -0
  356. python_docxan-0.0.1/src/docx/text/hyperlink.py +121 -0
  357. python_docxan-0.0.1/src/docx/text/pagebreak.py +104 -0
  358. python_docxan-0.0.1/src/docx/text/paragraph.py +173 -0
  359. python_docxan-0.0.1/src/docx/text/parfmt.py +286 -0
  360. python_docxan-0.0.1/src/docx/text/run.py +257 -0
  361. python_docxan-0.0.1/src/docx/text/tabstops.py +123 -0
  362. python_docxan-0.0.1/src/docx/types.py +34 -0
  363. python_docxan-0.0.1/src/python_docxan.egg-info/PKG-INFO +35 -0
  364. python_docxan-0.0.1/src/python_docxan.egg-info/SOURCES.txt +493 -0
  365. python_docxan-0.0.1/src/python_docxan.egg-info/dependency_links.txt +1 -0
  366. python_docxan-0.0.1/src/python_docxan.egg-info/requires.txt +2 -0
  367. python_docxan-0.0.1/src/python_docxan.egg-info/top_level.txt +1 -0
  368. python_docxan-0.0.1/tests/__init__.py +0 -0
  369. python_docxan-0.0.1/tests/conftest.py +21 -0
  370. python_docxan-0.0.1/tests/dml/__init__.py +0 -0
  371. python_docxan-0.0.1/tests/dml/test_color.py +132 -0
  372. python_docxan-0.0.1/tests/image/__init__.py +0 -0
  373. python_docxan-0.0.1/tests/image/test_bmp.py +39 -0
  374. python_docxan-0.0.1/tests/image/test_gif.py +36 -0
  375. python_docxan-0.0.1/tests/image/test_helpers.py +46 -0
  376. python_docxan-0.0.1/tests/image/test_image.py +320 -0
  377. python_docxan-0.0.1/tests/image/test_jpeg.py +629 -0
  378. python_docxan-0.0.1/tests/image/test_png.py +426 -0
  379. python_docxan-0.0.1/tests/image/test_tiff.py +442 -0
  380. python_docxan-0.0.1/tests/opc/__init__.py +0 -0
  381. python_docxan-0.0.1/tests/opc/parts/__init__.py +0 -0
  382. python_docxan-0.0.1/tests/opc/parts/test_coreprops.py +53 -0
  383. python_docxan-0.0.1/tests/opc/test_coreprops.py +188 -0
  384. python_docxan-0.0.1/tests/opc/test_oxml.py +132 -0
  385. python_docxan-0.0.1/tests/opc/test_package.py +456 -0
  386. python_docxan-0.0.1/tests/opc/test_packuri.py +89 -0
  387. python_docxan-0.0.1/tests/opc/test_part.py +423 -0
  388. python_docxan-0.0.1/tests/opc/test_phys_pkg.py +182 -0
  389. python_docxan-0.0.1/tests/opc/test_pkgreader.py +494 -0
  390. python_docxan-0.0.1/tests/opc/test_pkgwriter.py +194 -0
  391. python_docxan-0.0.1/tests/opc/test_rel.py +260 -0
  392. python_docxan-0.0.1/tests/opc/unitdata/__init__.py +0 -0
  393. python_docxan-0.0.1/tests/opc/unitdata/rels.py +302 -0
  394. python_docxan-0.0.1/tests/opc/unitdata/types.py +39 -0
  395. python_docxan-0.0.1/tests/oxml/__init__.py +0 -0
  396. python_docxan-0.0.1/tests/oxml/parts/__init__.py +0 -0
  397. python_docxan-0.0.1/tests/oxml/parts/test_document.py +43 -0
  398. python_docxan-0.0.1/tests/oxml/parts/unitdata/__init__.py +0 -0
  399. python_docxan-0.0.1/tests/oxml/parts/unitdata/document.py +23 -0
  400. python_docxan-0.0.1/tests/oxml/test__init__.py +108 -0
  401. python_docxan-0.0.1/tests/oxml/test_comments.py +31 -0
  402. python_docxan-0.0.1/tests/oxml/test_document.py +19 -0
  403. python_docxan-0.0.1/tests/oxml/test_ns.py +53 -0
  404. python_docxan-0.0.1/tests/oxml/test_section.py +19 -0
  405. python_docxan-0.0.1/tests/oxml/test_styles.py +42 -0
  406. python_docxan-0.0.1/tests/oxml/test_table.py +388 -0
  407. python_docxan-0.0.1/tests/oxml/test_xmlchemy.py +826 -0
  408. python_docxan-0.0.1/tests/oxml/text/__init__.py +0 -0
  409. python_docxan-0.0.1/tests/oxml/text/test_hyperlink.py +45 -0
  410. python_docxan-0.0.1/tests/oxml/text/test_run.py +41 -0
  411. python_docxan-0.0.1/tests/oxml/unitdata/__init__.py +0 -0
  412. python_docxan-0.0.1/tests/oxml/unitdata/numbering.py +23 -0
  413. python_docxan-0.0.1/tests/oxml/unitdata/section.py +51 -0
  414. python_docxan-0.0.1/tests/oxml/unitdata/shared.py +29 -0
  415. python_docxan-0.0.1/tests/oxml/unitdata/styles.py +23 -0
  416. python_docxan-0.0.1/tests/oxml/unitdata/text.py +203 -0
  417. python_docxan-0.0.1/tests/parts/__init__.py +0 -0
  418. python_docxan-0.0.1/tests/parts/test_comments.py +87 -0
  419. python_docxan-0.0.1/tests/parts/test_document.py +441 -0
  420. python_docxan-0.0.1/tests/parts/test_hdrftr.py +144 -0
  421. python_docxan-0.0.1/tests/parts/test_image.py +107 -0
  422. python_docxan-0.0.1/tests/parts/test_numbering.py +70 -0
  423. python_docxan-0.0.1/tests/parts/test_settings.py +70 -0
  424. python_docxan-0.0.1/tests/parts/test_story.py +144 -0
  425. python_docxan-0.0.1/tests/parts/test_styles.py +49 -0
  426. python_docxan-0.0.1/tests/styles/__init__.py +0 -0
  427. python_docxan-0.0.1/tests/styles/test_latent.py +363 -0
  428. python_docxan-0.0.1/tests/styles/test_style.py +553 -0
  429. python_docxan-0.0.1/tests/styles/test_styles.py +401 -0
  430. python_docxan-0.0.1/tests/test_api.py +56 -0
  431. python_docxan-0.0.1/tests/test_blkcntnr.py +151 -0
  432. python_docxan-0.0.1/tests/test_comments.py +275 -0
  433. python_docxan-0.0.1/tests/test_document.py +423 -0
  434. python_docxan-0.0.1/tests/test_drawing.py +74 -0
  435. python_docxan-0.0.1/tests/test_enum.py +92 -0
  436. python_docxan-0.0.1/tests/test_files/150-dpi.png +0 -0
  437. python_docxan-0.0.1/tests/test_files/300-dpi.TIF +0 -0
  438. python_docxan-0.0.1/tests/test_files/300-dpi.jpg +0 -0
  439. python_docxan-0.0.1/tests/test_files/300-dpi.png +0 -0
  440. python_docxan-0.0.1/tests/test_files/72-dpi.tiff +0 -0
  441. python_docxan-0.0.1/tests/test_files/CVS_LOGO.WMF +0 -0
  442. python_docxan-0.0.1/tests/test_files/blk-inner-content.docx +0 -0
  443. python_docxan-0.0.1/tests/test_files/exif-420-dpi.jpg +0 -0
  444. python_docxan-0.0.1/tests/test_files/expanded_docx/[Content_Types].xml +2 -0
  445. python_docxan-0.0.1/tests/test_files/expanded_docx/_rels/.rels +2 -0
  446. python_docxan-0.0.1/tests/test_files/expanded_docx/customXml/_rels/item1.xml.rels +2 -0
  447. python_docxan-0.0.1/tests/test_files/expanded_docx/customXml/item1.xml +1 -0
  448. python_docxan-0.0.1/tests/test_files/expanded_docx/customXml/itemProps1.xml +2 -0
  449. python_docxan-0.0.1/tests/test_files/expanded_docx/docProps/app.xml +2 -0
  450. python_docxan-0.0.1/tests/test_files/expanded_docx/docProps/core.xml +2 -0
  451. python_docxan-0.0.1/tests/test_files/expanded_docx/docProps/thumbnail.jpeg +0 -0
  452. python_docxan-0.0.1/tests/test_files/expanded_docx/word/_rels/document.xml.rels +2 -0
  453. python_docxan-0.0.1/tests/test_files/expanded_docx/word/document.xml +2 -0
  454. python_docxan-0.0.1/tests/test_files/expanded_docx/word/fontTable.xml +2 -0
  455. python_docxan-0.0.1/tests/test_files/expanded_docx/word/numbering.xml +2 -0
  456. python_docxan-0.0.1/tests/test_files/expanded_docx/word/settings.xml +2 -0
  457. python_docxan-0.0.1/tests/test_files/expanded_docx/word/styles.xml +2 -0
  458. python_docxan-0.0.1/tests/test_files/expanded_docx/word/stylesWithEffects.xml +2 -0
  459. python_docxan-0.0.1/tests/test_files/expanded_docx/word/theme/theme1.xml +2 -0
  460. python_docxan-0.0.1/tests/test_files/expanded_docx/word/webSettings.xml +2 -0
  461. python_docxan-0.0.1/tests/test_files/having-images.docx +0 -0
  462. python_docxan-0.0.1/tests/test_files/jfif-iguana.jpg +0 -0
  463. python_docxan-0.0.1/tests/test_files/little-endian.tif +0 -0
  464. python_docxan-0.0.1/tests/test_files/monty-truth.png +0 -0
  465. python_docxan-0.0.1/tests/test_files/python-icon.jpeg +0 -0
  466. python_docxan-0.0.1/tests/test_files/python-icon.png +0 -0
  467. python_docxan-0.0.1/tests/test_files/python-powered.png +0 -0
  468. python_docxan-0.0.1/tests/test_files/python.bmp +0 -0
  469. python_docxan-0.0.1/tests/test_files/sct-inner-content.docx +0 -0
  470. python_docxan-0.0.1/tests/test_files/snippets/add-row-col.txt +143 -0
  471. python_docxan-0.0.1/tests/test_files/snippets/inline.txt +30 -0
  472. python_docxan-0.0.1/tests/test_files/snippets/new-tbl.txt +81 -0
  473. python_docxan-0.0.1/tests/test_files/snippets/tbl-cells.txt +289 -0
  474. python_docxan-0.0.1/tests/test_files/sonic.gif +0 -0
  475. python_docxan-0.0.1/tests/test_files/test.docx +0 -0
  476. python_docxan-0.0.1/tests/test_package.py +175 -0
  477. python_docxan-0.0.1/tests/test_section.py +877 -0
  478. python_docxan-0.0.1/tests/test_settings.py +48 -0
  479. python_docxan-0.0.1/tests/test_shape.py +129 -0
  480. python_docxan-0.0.1/tests/test_shared.py +121 -0
  481. python_docxan-0.0.1/tests/test_table.py +920 -0
  482. python_docxan-0.0.1/tests/text/__init__.py +0 -0
  483. python_docxan-0.0.1/tests/text/test_font.py +425 -0
  484. python_docxan-0.0.1/tests/text/test_hyperlink.py +149 -0
  485. python_docxan-0.0.1/tests/text/test_pagebreak.py +141 -0
  486. python_docxan-0.0.1/tests/text/test_paragraph.py +400 -0
  487. python_docxan-0.0.1/tests/text/test_parfmt.py +486 -0
  488. python_docxan-0.0.1/tests/text/test_run.py +408 -0
  489. python_docxan-0.0.1/tests/text/test_tabstops.py +329 -0
  490. python_docxan-0.0.1/tests/unitdata.py +136 -0
  491. python_docxan-0.0.1/tests/unitutil/__init__.py +0 -0
  492. python_docxan-0.0.1/tests/unitutil/cxml.py +272 -0
  493. python_docxan-0.0.1/tests/unitutil/file.py +56 -0
  494. python_docxan-0.0.1/tests/unitutil/mock.py +160 -0
  495. python_docxan-0.0.1/tox.ini +9 -0
@@ -0,0 +1,20 @@
1
+ The MIT License (MIT)
2
+ Copyright (c) 2013 Dan Studios
3
+
4
+ Permission is hereby granted, free of charge, to any person obtaining a copy
5
+ of this software and associated documentation files (the "Software"), to deal
6
+ in the Software without restriction, including without limitation the rights
7
+ to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
8
+ copies of the Software, and to permit persons to whom the Software is
9
+ furnished to do so, subject to the following conditions:
10
+
11
+ The above copyright notice and this permission notice shall be included in
12
+ all copies or substantial portions of the Software.
13
+
14
+ THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
15
+ IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
16
+ FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
17
+ AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
18
+ LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
19
+ OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN
20
+ THE SOFTWARE.
@@ -0,0 +1,10 @@
1
+ include HISTORY.rst LICENSE README.rst tox.ini
2
+ include requirements*.txt
3
+ graft src/docx/templates
4
+ graft features
5
+ graft tests
6
+ graft docs
7
+ prune docs/.build
8
+ global-exclude .DS_Store
9
+ global-exclude __pycache__
10
+ global-exclude *.py[co]
@@ -0,0 +1,35 @@
1
+ Metadata-Version: 2.4
2
+ Name: python-docxan
3
+ Version: 0.0.1
4
+ Summary: Create, read, and update Microsoft Word .docx files.
5
+ Author-email: Dan Studios <jangalacharansaisri963@gmail.com>
6
+ License: MIT
7
+ Project-URL: Changelog, https://github.com/python-openxml/python-docx/blob/master/HISTORY.rst
8
+ Project-URL: Documentation, https://python-docx.readthedocs.org/en/latest/
9
+ Project-URL: Homepage, https://github.com/python-openxml/python-docx
10
+ Project-URL: Repository, https://github.com/python-openxml/python-docx
11
+ Keywords: docx,office,openxml,word
12
+ Classifier: Development Status :: 5 - Production/Stable
13
+ Classifier: Environment :: Console
14
+ Classifier: Intended Audience :: Developers
15
+ Classifier: License :: OSI Approved :: MIT License
16
+ Classifier: Operating System :: OS Independent
17
+ Classifier: Programming Language :: Python
18
+ Classifier: Programming Language :: Python :: 3
19
+ Classifier: Programming Language :: Python :: 3.7
20
+ Classifier: Programming Language :: Python :: 3.8
21
+ Classifier: Programming Language :: Python :: 3.9
22
+ Classifier: Programming Language :: Python :: 3.10
23
+ Classifier: Programming Language :: Python :: 3.11
24
+ Classifier: Topic :: Office/Business :: Office Suites
25
+ Classifier: Topic :: Software Development :: Libraries
26
+ Requires-Python: >=3.9
27
+ Description-Content-Type: text/markdown
28
+ License-File: LICENSE
29
+ Requires-Dist: lxml>=3.1.0
30
+ Requires-Dist: typing_extensions>=4.9.0
31
+ Dynamic: license-file
32
+
33
+ # python_docxan
34
+ A Python package for processing docx files.
35
+
@@ -0,0 +1,3 @@
1
+ # python_docxan
2
+ A Python package for processing docx files.
3
+
@@ -0,0 +1,153 @@
1
+ # Makefile for Sphinx documentation
2
+ #
3
+
4
+ # You can set these variables from the command line.
5
+ SPHINXOPTS =
6
+ SPHINXBUILD = sphinx-build
7
+ PAPER =
8
+ BUILDDIR = .build
9
+
10
+ # Internal variables.
11
+ PAPEROPT_a4 = -D latex_paper_size=a4
12
+ PAPEROPT_letter = -D latex_paper_size=letter
13
+ ALLSPHINXOPTS = -d $(BUILDDIR)/doctrees $(PAPEROPT_$(PAPER)) $(SPHINXOPTS) .
14
+ # the i18n builder cannot share the environment and doctrees with the others
15
+ I18NSPHINXOPTS = $(PAPEROPT_$(PAPER)) $(SPHINXOPTS) .
16
+
17
+ .PHONY: help clean html dirhtml singlehtml pickle json htmlhelp qthelp devhelp epub latex latexpdf text man changes linkcheck doctest gettext
18
+
19
+ html:
20
+ $(SPHINXBUILD) -b html $(ALLSPHINXOPTS) $(BUILDDIR)/html
21
+ @echo
22
+ @echo "Build finished. The HTML pages are in $(BUILDDIR)/html."
23
+
24
+ help:
25
+ @echo "Please use \`make <target>' where <target> is one of"
26
+ @echo " html to make standalone HTML files"
27
+ @echo " dirhtml to make HTML files named index.html in directories"
28
+ @echo " singlehtml to make a single large HTML file"
29
+ @echo " pickle to make pickle files"
30
+ @echo " json to make JSON files"
31
+ @echo " htmlhelp to make HTML files and a HTML help project"
32
+ @echo " qthelp to make HTML files and a qthelp project"
33
+ @echo " devhelp to make HTML files and a Devhelp project"
34
+ @echo " epub to make an epub"
35
+ @echo " latex to make LaTeX files, you can set PAPER=a4 or PAPER=letter"
36
+ @echo " latexpdf to make LaTeX files and run them through pdflatex"
37
+ @echo " text to make text files"
38
+ @echo " man to make manual pages"
39
+ @echo " texinfo to make Texinfo files"
40
+ @echo " info to make Texinfo files and run them through makeinfo"
41
+ @echo " gettext to make PO message catalogs"
42
+ @echo " changes to make an overview of all changed/added/deprecated items"
43
+ @echo " linkcheck to check all external links for integrity"
44
+ @echo " doctest to run all doctests embedded in the documentation (if enabled)"
45
+
46
+ clean:
47
+ -rm -rf $(BUILDDIR)/*
48
+
49
+ dirhtml:
50
+ $(SPHINXBUILD) -b dirhtml $(ALLSPHINXOPTS) $(BUILDDIR)/dirhtml
51
+ @echo
52
+ @echo "Build finished. The HTML pages are in $(BUILDDIR)/dirhtml."
53
+
54
+ singlehtml:
55
+ $(SPHINXBUILD) -b singlehtml $(ALLSPHINXOPTS) $(BUILDDIR)/singlehtml
56
+ @echo
57
+ @echo "Build finished. The HTML page is in $(BUILDDIR)/singlehtml."
58
+
59
+ pickle:
60
+ $(SPHINXBUILD) -b pickle $(ALLSPHINXOPTS) $(BUILDDIR)/pickle
61
+ @echo
62
+ @echo "Build finished; now you can process the pickle files."
63
+
64
+ json:
65
+ $(SPHINXBUILD) -b json $(ALLSPHINXOPTS) $(BUILDDIR)/json
66
+ @echo
67
+ @echo "Build finished; now you can process the JSON files."
68
+
69
+ htmlhelp:
70
+ $(SPHINXBUILD) -b htmlhelp $(ALLSPHINXOPTS) $(BUILDDIR)/htmlhelp
71
+ @echo
72
+ @echo "Build finished; now you can run HTML Help Workshop with the" \
73
+ ".hhp project file in $(BUILDDIR)/htmlhelp."
74
+
75
+ qthelp:
76
+ $(SPHINXBUILD) -b qthelp $(ALLSPHINXOPTS) $(BUILDDIR)/qthelp
77
+ @echo
78
+ @echo "Build finished; now you can run "qcollectiongenerator" with the" \
79
+ ".qhcp project file in $(BUILDDIR)/qthelp, like this:"
80
+ @echo "# qcollectiongenerator $(BUILDDIR)/qthelp/python-opc.qhcp"
81
+ @echo "To view the help file:"
82
+ @echo "# assistant -collectionFile $(BUILDDIR)/qthelp/python-opc.qhc"
83
+
84
+ devhelp:
85
+ $(SPHINXBUILD) -b devhelp $(ALLSPHINXOPTS) $(BUILDDIR)/devhelp
86
+ @echo
87
+ @echo "Build finished."
88
+ @echo "To view the help file:"
89
+ @echo "# mkdir -p $$HOME/.local/share/devhelp/python-opc"
90
+ @echo "# ln -s $(BUILDDIR)/devhelp $$HOME/.local/share/devhelp/python-opc"
91
+ @echo "# devhelp"
92
+
93
+ epub:
94
+ $(SPHINXBUILD) -b epub $(ALLSPHINXOPTS) $(BUILDDIR)/epub
95
+ @echo
96
+ @echo "Build finished. The epub file is in $(BUILDDIR)/epub."
97
+
98
+ latex:
99
+ $(SPHINXBUILD) -b latex $(ALLSPHINXOPTS) $(BUILDDIR)/latex
100
+ @echo
101
+ @echo "Build finished; the LaTeX files are in $(BUILDDIR)/latex."
102
+ @echo "Run \`make' in that directory to run these through (pdf)latex" \
103
+ "(use \`make latexpdf' here to do that automatically)."
104
+
105
+ latexpdf:
106
+ $(SPHINXBUILD) -b latex $(ALLSPHINXOPTS) $(BUILDDIR)/latex
107
+ @echo "Running LaTeX files through pdflatex..."
108
+ $(MAKE) -C $(BUILDDIR)/latex all-pdf
109
+ @echo "pdflatex finished; the PDF files are in $(BUILDDIR)/latex."
110
+
111
+ text:
112
+ $(SPHINXBUILD) -b text $(ALLSPHINXOPTS) $(BUILDDIR)/text
113
+ @echo
114
+ @echo "Build finished. The text files are in $(BUILDDIR)/text."
115
+
116
+ man:
117
+ $(SPHINXBUILD) -b man $(ALLSPHINXOPTS) $(BUILDDIR)/man
118
+ @echo
119
+ @echo "Build finished. The manual pages are in $(BUILDDIR)/man."
120
+
121
+ texinfo:
122
+ $(SPHINXBUILD) -b texinfo $(ALLSPHINXOPTS) $(BUILDDIR)/texinfo
123
+ @echo
124
+ @echo "Build finished. The Texinfo files are in $(BUILDDIR)/texinfo."
125
+ @echo "Run \`make' in that directory to run these through makeinfo" \
126
+ "(use \`make info' here to do that automatically)."
127
+
128
+ info:
129
+ $(SPHINXBUILD) -b texinfo $(ALLSPHINXOPTS) $(BUILDDIR)/texinfo
130
+ @echo "Running Texinfo files through makeinfo..."
131
+ make -C $(BUILDDIR)/texinfo info
132
+ @echo "makeinfo finished; the Info files are in $(BUILDDIR)/texinfo."
133
+
134
+ gettext:
135
+ $(SPHINXBUILD) -b gettext $(I18NSPHINXOPTS) $(BUILDDIR)/locale
136
+ @echo
137
+ @echo "Build finished. The message catalogs are in $(BUILDDIR)/locale."
138
+
139
+ changes:
140
+ $(SPHINXBUILD) -b changes $(ALLSPHINXOPTS) $(BUILDDIR)/changes
141
+ @echo
142
+ @echo "The overview file is in $(BUILDDIR)/changes."
143
+
144
+ linkcheck:
145
+ $(SPHINXBUILD) -b linkcheck $(ALLSPHINXOPTS) $(BUILDDIR)/linkcheck
146
+ @echo
147
+ @echo "Link check complete; look for any errors in the above output " \
148
+ "or in $(BUILDDIR)/linkcheck/output.txt."
149
+
150
+ doctest:
151
+ $(SPHINXBUILD) -b doctest $(ALLSPHINXOPTS) $(BUILDDIR)/doctest
152
+ @echo "Testing of doctests in the sources finished, look at the " \
153
+ "results in $(BUILDDIR)/doctest/output.txt."
File without changes
@@ -0,0 +1,6 @@
1
+ <h3>Useful Links</h3>
2
+ <ul>
3
+ <li><a href="http://github.com/python-openxml/python-docx">python-docx @ GitHub</a></li>
4
+ <li><a href="http://pypi.python.org/pypi/python-docx">python-docx @ PyPI</a></li>
5
+ <li><a href="http://github.com/python-openxml/python-docx/issues">Issue Tracker</a></li>
6
+ </ul>
@@ -0,0 +1,25 @@
1
+ Copyright (c) 2011 Bay Citizen & Texas Tribune
2
+
3
+ Original ReadTheDocs.org code
4
+ Copyright (c) 2010 Charles Leifer, Eric Holscher, Bobby Grace
5
+
6
+ Permission is hereby granted, free of charge, to any person
7
+ obtaining a copy of this software and associated documentation
8
+ files (the "Software"), to deal in the Software without
9
+ restriction, including without limitation the rights to use,
10
+ copy, modify, merge, publish, distribute, sublicense, and/or sell
11
+ copies of the Software, and to permit persons to whom the
12
+ Software is furnished to do so, subject to the following
13
+ conditions:
14
+
15
+ The above copyright notice and this permission notice shall be
16
+ included in all copies or substantial portions of the Software.
17
+
18
+ THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND,
19
+ EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES
20
+ OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND
21
+ NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT
22
+ HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY,
23
+ WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING
24
+ FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR
25
+ OTHER DEALINGS IN THE SOFTWARE.
@@ -0,0 +1,48 @@
1
+ {% extends "basic/layout.html" %}
2
+
3
+ {% set script_files = script_files + [pathto("_static/searchtools.js", 1)] %}
4
+
5
+ {% block htmltitle %}
6
+ {{ super() }}
7
+
8
+ <meta name="viewport" content="width=device-width; initial-scale=1.0; maximum-scale=1.0; user-scalable=0;"/>
9
+
10
+ {% endblock %}
11
+
12
+ {% block footer %}
13
+ <div class="footer">
14
+ {%- if show_copyright %}
15
+ {%- if hasdoc('copyright') %}
16
+ {% trans path=pathto('copyright'), copyright=copyright|e %}&copy; <a href="{{ path }}">Copyright</a> {{ copyright }}.{% endtrans %}
17
+ {%- else %}
18
+ {% trans copyright=copyright|e %}&copy; Copyright {{ copyright }}.{% endtrans %}
19
+ {%- endif %}
20
+ {%- endif %}
21
+ {%- if last_updated %}
22
+ {% trans last_updated=last_updated|e %}Last updated on {{ last_updated }}.{% endtrans %}
23
+ {%- endif %}
24
+ {%- if show_sphinx %}
25
+ {% trans sphinx_version=sphinx_version|e %}Created using <a href="http://sphinx.pocoo.org/">Sphinx</a> {{ sphinx_version }}.{% endtrans %}
26
+ {%- endif %}
27
+ {%- if theme_show_rtd %}
28
+ {% trans %}<br />Theme based on <a href="http://readthedocs.org/">Read The Docs</a>{% endtrans %}
29
+ {% endif %}
30
+ </div>
31
+
32
+
33
+ {% if theme_analytics_code %}
34
+ <!-- Google Analytics Code -->
35
+ <script type="text/javascript">
36
+ var _gaq = _gaq || [];
37
+ _gaq.push(['_setAccount', '{{ theme_analytics_code }}']);
38
+ _gaq.push(['_trackPageview']);
39
+
40
+ (function() {
41
+ var ga = document.createElement('script'); ga.type = 'text/javascript'; ga.async = true;
42
+ ga.src = ('https:' == document.location.protocol ? 'https://ssl' : 'http://www') + '.google-analytics.com/ga.js';
43
+ var s = document.getElementsByTagName('script')[0]; s.parentNode.insertBefore(ga, s);
44
+ })();
45
+ </script>
46
+ {% endif %}
47
+
48
+ {% endblock %}
@@ -0,0 +1,65 @@
1
+ [theme]
2
+ inherit = default
3
+ stylesheet = rtd.css
4
+ pygment_style = default
5
+ show_sphinx = False
6
+
7
+ [options]
8
+ show_rtd = True
9
+
10
+ white = #ffffff
11
+ almost_white = #f8f8f8
12
+ barely_white = #f2f2f2
13
+ dirty_white = #eeeeee
14
+ almost_dirty_white = #e6e6e6
15
+ dirtier_white = #dddddd
16
+ lighter_gray = #cccccc
17
+ gray_a = #aaaaaa
18
+ gray_9 = #999999
19
+ light_gray = #888888
20
+ gray_7 = #777777
21
+ gray = #666666
22
+ dark_gray = #444444
23
+ gray_2 = #222222
24
+ black = #111111
25
+ light_color = #e8ecef
26
+ light_medium_color = #DDEAF0
27
+ medium_color = #8ca1af
28
+ medium_color_link = #86989b
29
+ medium_color_link_hover = #a6b8bb
30
+ dark_color = #465158
31
+
32
+ h1 = #000000
33
+ h2 = #465158
34
+ h3 = #6c818f
35
+
36
+ link_color = #444444
37
+ link_color_decoration = #CCCCCC
38
+
39
+ medium_color_hover = #697983
40
+ green_highlight = #8ecc4c
41
+
42
+
43
+ positive_dark = #609060
44
+ positive_medium = #70a070
45
+ positive_light = #e9ffe9
46
+
47
+ negative_dark = #900000
48
+ negative_medium = #b04040
49
+ negative_light = #ffe9e9
50
+ negative_text = #c60f0f
51
+
52
+ ruler = #abc
53
+
54
+ viewcode_bg = #f4debf
55
+ viewcode_border = #ac9
56
+
57
+ highlight = #ffe080
58
+
59
+ code_background = #eeeeee
60
+
61
+ background = #465158
62
+ background_link = #ffffff
63
+ background_link_half = #ffffff
64
+ background_text = #eeeeee
65
+ background_text_link = #86989b