python-docx-oss 0.0.3rc0__tar.gz → 0.0.4__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.

Potentially problematic release.


This version of python-docx-oss might be problematic. Click here for more details.

Files changed (469) hide show
  1. python-docx-oss-0.0.4/HISTORY.md +33 -0
  2. {python-docx-oss-0.0.3rc0 → python-docx-oss-0.0.4}/LICENSE +1 -0
  3. {python-docx-oss-0.0.3rc0 → python-docx-oss-0.0.4}/MANIFEST.in +1 -1
  4. {python-docx-oss-0.0.3rc0/python_docx_oss.egg-info → python-docx-oss-0.0.4}/PKG-INFO +38 -22
  5. python-docx-oss-0.0.4/README.md +21 -0
  6. python-docx-oss-0.0.4/docs/_templates/layout.html +8 -0
  7. python-docx-oss-0.0.4/docs/_templates/sidebarlinks.html +6 -0
  8. python-docx-oss-0.0.4/docs/conf.py +198 -0
  9. python-docx-oss-0.0.3rc0/docs/conf.py → python-docx-oss-0.0.4/docs/conf.py.bak +9 -9
  10. {python-docx-oss-0.0.3rc0 → python-docx-oss-0.0.4}/docs/dev/analysis/features/coreprops.rst +3 -3
  11. {python-docx-oss-0.0.3rc0 → python-docx-oss-0.0.4}/docs/index.rst +9 -5
  12. python-docx-oss-0.0.4/docs/requirements.txt +2 -0
  13. python-docx-oss-0.0.4/docs/user/custom-xml.rst +60 -0
  14. {python-docx-oss-0.0.3rc0 → python-docx-oss-0.0.4}/docs/user/hdrftr.rst +1 -1
  15. python-docx-oss-0.0.4/docs/user/install.rst +30 -0
  16. {python-docx-oss-0.0.3rc0 → python-docx-oss-0.0.4}/docx/__init__.py +1 -1
  17. {python-docx-oss-0.0.3rc0 → python-docx-oss-0.0.4}/docx/opc/rel.py +6 -0
  18. {python-docx-oss-0.0.3rc0 → python-docx-oss-0.0.4}/docx/parts/customxml.py +6 -0
  19. {python-docx-oss-0.0.3rc0 → python-docx-oss-0.0.4/python_docx_oss.egg-info}/PKG-INFO +38 -22
  20. {python-docx-oss-0.0.3rc0 → python-docx-oss-0.0.4}/python_docx_oss.egg-info/SOURCES.txt +6 -2
  21. {python-docx-oss-0.0.3rc0 → python-docx-oss-0.0.4}/setup.py +2 -1
  22. {python-docx-oss-0.0.3rc0 → python-docx-oss-0.0.4}/tests/opc/test_rel.py +16 -9
  23. {python-docx-oss-0.0.3rc0 → python-docx-oss-0.0.4}/tests/parts/test_customxml.py +6 -3
  24. python-docx-oss-0.0.3rc0/HISTORY.rst +0 -30
  25. python-docx-oss-0.0.3rc0/README.rst +0 -10
  26. python-docx-oss-0.0.3rc0/docs/_templates/sidebarlinks.html +0 -6
  27. python-docx-oss-0.0.3rc0/docs/user/install.rst +0 -38
  28. {python-docx-oss-0.0.3rc0 → python-docx-oss-0.0.4}/docs/Makefile +0 -0
  29. {python-docx-oss-0.0.3rc0 → python-docx-oss-0.0.4}/docs/_static/.gitignore +0 -0
  30. {python-docx-oss-0.0.3rc0 → python-docx-oss-0.0.4}/docs/_static/img/example-docx-01.png +0 -0
  31. {python-docx-oss-0.0.3rc0 → python-docx-oss-0.0.4}/docs/_static/img/hdrftr-01.png +0 -0
  32. {python-docx-oss-0.0.3rc0 → python-docx-oss-0.0.4}/docs/_static/img/hdrftr-02.png +0 -0
  33. {python-docx-oss-0.0.3rc0 → python-docx-oss-0.0.4}/docs/_themes/armstrong/LICENSE +0 -0
  34. {python-docx-oss-0.0.3rc0 → python-docx-oss-0.0.4}/docs/_themes/armstrong/layout.html +0 -0
  35. {python-docx-oss-0.0.3rc0 → python-docx-oss-0.0.4}/docs/_themes/armstrong/rtd-themes.conf +0 -0
  36. {python-docx-oss-0.0.3rc0 → python-docx-oss-0.0.4}/docs/_themes/armstrong/static/rtd.css_t +0 -0
  37. {python-docx-oss-0.0.3rc0 → python-docx-oss-0.0.4}/docs/_themes/armstrong/theme.conf +0 -0
  38. {python-docx-oss-0.0.3rc0 → python-docx-oss-0.0.4}/docs/_themes/armstrong/theme.conf.orig +0 -0
  39. {python-docx-oss-0.0.3rc0 → python-docx-oss-0.0.4}/docs/api/dml.rst +0 -0
  40. {python-docx-oss-0.0.3rc0 → python-docx-oss-0.0.4}/docs/api/document.rst +0 -0
  41. {python-docx-oss-0.0.3rc0 → python-docx-oss-0.0.4}/docs/api/enum/MsoColorType.rst +0 -0
  42. {python-docx-oss-0.0.3rc0 → python-docx-oss-0.0.4}/docs/api/enum/MsoThemeColorIndex.rst +0 -0
  43. {python-docx-oss-0.0.3rc0 → python-docx-oss-0.0.4}/docs/api/enum/WdAlignParagraph.rst +0 -0
  44. {python-docx-oss-0.0.3rc0 → python-docx-oss-0.0.4}/docs/api/enum/WdBuiltinStyle.rst +0 -0
  45. {python-docx-oss-0.0.3rc0 → python-docx-oss-0.0.4}/docs/api/enum/WdCellVerticalAlignment.rst +0 -0
  46. {python-docx-oss-0.0.3rc0 → python-docx-oss-0.0.4}/docs/api/enum/WdColorIndex.rst +0 -0
  47. {python-docx-oss-0.0.3rc0 → python-docx-oss-0.0.4}/docs/api/enum/WdLineSpacing.rst +0 -0
  48. {python-docx-oss-0.0.3rc0 → python-docx-oss-0.0.4}/docs/api/enum/WdOrientation.rst +0 -0
  49. {python-docx-oss-0.0.3rc0 → python-docx-oss-0.0.4}/docs/api/enum/WdRowAlignment.rst +0 -0
  50. {python-docx-oss-0.0.3rc0 → python-docx-oss-0.0.4}/docs/api/enum/WdRowHeightRule.rst +0 -0
  51. {python-docx-oss-0.0.3rc0 → python-docx-oss-0.0.4}/docs/api/enum/WdSectionStart.rst +0 -0
  52. {python-docx-oss-0.0.3rc0 → python-docx-oss-0.0.4}/docs/api/enum/WdStyleType.rst +0 -0
  53. {python-docx-oss-0.0.3rc0 → python-docx-oss-0.0.4}/docs/api/enum/WdTabAlignment.rst +0 -0
  54. {python-docx-oss-0.0.3rc0 → python-docx-oss-0.0.4}/docs/api/enum/WdTabLeader.rst +0 -0
  55. {python-docx-oss-0.0.3rc0 → python-docx-oss-0.0.4}/docs/api/enum/WdTableDirection.rst +0 -0
  56. {python-docx-oss-0.0.3rc0 → python-docx-oss-0.0.4}/docs/api/enum/WdUnderline.rst +0 -0
  57. {python-docx-oss-0.0.3rc0 → python-docx-oss-0.0.4}/docs/api/enum/index.rst +0 -0
  58. {python-docx-oss-0.0.3rc0 → python-docx-oss-0.0.4}/docs/api/section.rst +0 -0
  59. {python-docx-oss-0.0.3rc0 → python-docx-oss-0.0.4}/docs/api/settings.rst +0 -0
  60. {python-docx-oss-0.0.3rc0 → python-docx-oss-0.0.4}/docs/api/shape.rst +0 -0
  61. {python-docx-oss-0.0.3rc0 → python-docx-oss-0.0.4}/docs/api/shared.rst +0 -0
  62. {python-docx-oss-0.0.3rc0 → python-docx-oss-0.0.4}/docs/api/style.rst +0 -0
  63. {python-docx-oss-0.0.3rc0 → python-docx-oss-0.0.4}/docs/api/table.rst +0 -0
  64. {python-docx-oss-0.0.3rc0 → python-docx-oss-0.0.4}/docs/api/text.rst +0 -0
  65. {python-docx-oss-0.0.3rc0 → python-docx-oss-0.0.4}/docs/dev/analysis/features/header.rst +0 -0
  66. {python-docx-oss-0.0.3rc0 → python-docx-oss-0.0.4}/docs/dev/analysis/features/numbering.rst +0 -0
  67. {python-docx-oss-0.0.3rc0 → python-docx-oss-0.0.4}/docs/dev/analysis/features/sections.rst +0 -0
  68. {python-docx-oss-0.0.3rc0 → python-docx-oss-0.0.4}/docs/dev/analysis/features/settings.rst +0 -0
  69. {python-docx-oss-0.0.3rc0 → python-docx-oss-0.0.4}/docs/dev/analysis/features/shapes/index.rst +0 -0
  70. {python-docx-oss-0.0.3rc0 → python-docx-oss-0.0.4}/docs/dev/analysis/features/shapes/picture.rst +0 -0
  71. {python-docx-oss-0.0.3rc0 → python-docx-oss-0.0.4}/docs/dev/analysis/features/shapes/shapes-inline-size.rst +0 -0
  72. {python-docx-oss-0.0.3rc0 → python-docx-oss-0.0.4}/docs/dev/analysis/features/shapes/shapes-inline.rst +0 -0
  73. {python-docx-oss-0.0.3rc0 → python-docx-oss-0.0.4}/docs/dev/analysis/features/styles/character-style.rst +0 -0
  74. {python-docx-oss-0.0.3rc0 → python-docx-oss-0.0.4}/docs/dev/analysis/features/styles/index.rst +0 -0
  75. {python-docx-oss-0.0.3rc0 → python-docx-oss-0.0.4}/docs/dev/analysis/features/styles/latent-styles.rst +0 -0
  76. {python-docx-oss-0.0.3rc0 → python-docx-oss-0.0.4}/docs/dev/analysis/features/styles/paragraph-style.rst +0 -0
  77. {python-docx-oss-0.0.3rc0 → python-docx-oss-0.0.4}/docs/dev/analysis/features/styles/style.rst +0 -0
  78. {python-docx-oss-0.0.3rc0 → python-docx-oss-0.0.4}/docs/dev/analysis/features/styles/styles.rst +0 -0
  79. {python-docx-oss-0.0.3rc0 → python-docx-oss-0.0.4}/docs/dev/analysis/features/table/cell-merge.rst +0 -0
  80. {python-docx-oss-0.0.3rc0 → python-docx-oss-0.0.4}/docs/dev/analysis/features/table/index.rst +0 -0
  81. {python-docx-oss-0.0.3rc0 → python-docx-oss-0.0.4}/docs/dev/analysis/features/table/table-cell.rst +0 -0
  82. {python-docx-oss-0.0.3rc0 → python-docx-oss-0.0.4}/docs/dev/analysis/features/table/table-props.rst +0 -0
  83. {python-docx-oss-0.0.3rc0 → python-docx-oss-0.0.4}/docs/dev/analysis/features/table/table-row.rst +0 -0
  84. {python-docx-oss-0.0.3rc0 → python-docx-oss-0.0.4}/docs/dev/analysis/features/text/breaks.rst +0 -0
  85. {python-docx-oss-0.0.3rc0 → python-docx-oss-0.0.4}/docs/dev/analysis/features/text/font-color.rst +0 -0
  86. {python-docx-oss-0.0.3rc0 → python-docx-oss-0.0.4}/docs/dev/analysis/features/text/font-highlight-color.rst +0 -0
  87. {python-docx-oss-0.0.3rc0 → python-docx-oss-0.0.4}/docs/dev/analysis/features/text/font.rst +0 -0
  88. {python-docx-oss-0.0.3rc0 → python-docx-oss-0.0.4}/docs/dev/analysis/features/text/index.rst +0 -0
  89. {python-docx-oss-0.0.3rc0 → python-docx-oss-0.0.4}/docs/dev/analysis/features/text/paragraph-format.rst +0 -0
  90. {python-docx-oss-0.0.3rc0 → python-docx-oss-0.0.4}/docs/dev/analysis/features/text/run-content.rst +0 -0
  91. {python-docx-oss-0.0.3rc0 → python-docx-oss-0.0.4}/docs/dev/analysis/features/text/tab-stops.rst +0 -0
  92. {python-docx-oss-0.0.3rc0 → python-docx-oss-0.0.4}/docs/dev/analysis/features/text/underline.rst +0 -0
  93. {python-docx-oss-0.0.3rc0 → python-docx-oss-0.0.4}/docs/dev/analysis/index.rst +0 -0
  94. {python-docx-oss-0.0.3rc0 → python-docx-oss-0.0.4}/docs/dev/analysis/schema/ct_body.rst +0 -0
  95. {python-docx-oss-0.0.3rc0 → python-docx-oss-0.0.4}/docs/dev/analysis/schema/ct_document.rst +0 -0
  96. {python-docx-oss-0.0.3rc0 → python-docx-oss-0.0.4}/docs/dev/analysis/schema/ct_p.rst +0 -0
  97. {python-docx-oss-0.0.3rc0 → python-docx-oss-0.0.4}/docs/user/api-concepts.rst +0 -0
  98. {python-docx-oss-0.0.3rc0 → python-docx-oss-0.0.4}/docs/user/documents.rst +0 -0
  99. {python-docx-oss-0.0.3rc0 → python-docx-oss-0.0.4}/docs/user/quickstart.rst +0 -0
  100. {python-docx-oss-0.0.3rc0 → python-docx-oss-0.0.4}/docs/user/sections.rst +0 -0
  101. {python-docx-oss-0.0.3rc0 → python-docx-oss-0.0.4}/docs/user/shapes.rst +0 -0
  102. {python-docx-oss-0.0.3rc0 → python-docx-oss-0.0.4}/docs/user/styles-understanding.rst +0 -0
  103. {python-docx-oss-0.0.3rc0 → python-docx-oss-0.0.4}/docs/user/styles-using.rst +0 -0
  104. {python-docx-oss-0.0.3rc0 → python-docx-oss-0.0.4}/docs/user/text.rst +0 -0
  105. {python-docx-oss-0.0.3rc0 → python-docx-oss-0.0.4}/docx/api.py +0 -0
  106. {python-docx-oss-0.0.3rc0 → python-docx-oss-0.0.4}/docx/blkcntnr.py +0 -0
  107. {python-docx-oss-0.0.3rc0 → python-docx-oss-0.0.4}/docx/compat.py +0 -0
  108. {python-docx-oss-0.0.3rc0 → python-docx-oss-0.0.4}/docx/dml/__init__.py +0 -0
  109. {python-docx-oss-0.0.3rc0 → python-docx-oss-0.0.4}/docx/dml/color.py +0 -0
  110. {python-docx-oss-0.0.3rc0 → python-docx-oss-0.0.4}/docx/document.py +0 -0
  111. {python-docx-oss-0.0.3rc0 → python-docx-oss-0.0.4}/docx/enum/__init__.py +0 -0
  112. {python-docx-oss-0.0.3rc0 → python-docx-oss-0.0.4}/docx/enum/base.py +0 -0
  113. {python-docx-oss-0.0.3rc0 → python-docx-oss-0.0.4}/docx/enum/dml.py +0 -0
  114. {python-docx-oss-0.0.3rc0 → python-docx-oss-0.0.4}/docx/enum/section.py +0 -0
  115. {python-docx-oss-0.0.3rc0 → python-docx-oss-0.0.4}/docx/enum/shape.py +0 -0
  116. {python-docx-oss-0.0.3rc0 → python-docx-oss-0.0.4}/docx/enum/style.py +0 -0
  117. {python-docx-oss-0.0.3rc0 → python-docx-oss-0.0.4}/docx/enum/table.py +0 -0
  118. {python-docx-oss-0.0.3rc0 → python-docx-oss-0.0.4}/docx/enum/text.py +0 -0
  119. {python-docx-oss-0.0.3rc0 → python-docx-oss-0.0.4}/docx/exceptions.py +0 -0
  120. {python-docx-oss-0.0.3rc0 → python-docx-oss-0.0.4}/docx/image/__init__.py +0 -0
  121. {python-docx-oss-0.0.3rc0 → python-docx-oss-0.0.4}/docx/image/bmp.py +0 -0
  122. {python-docx-oss-0.0.3rc0 → python-docx-oss-0.0.4}/docx/image/constants.py +0 -0
  123. {python-docx-oss-0.0.3rc0 → python-docx-oss-0.0.4}/docx/image/exceptions.py +0 -0
  124. {python-docx-oss-0.0.3rc0 → python-docx-oss-0.0.4}/docx/image/gif.py +0 -0
  125. {python-docx-oss-0.0.3rc0 → python-docx-oss-0.0.4}/docx/image/helpers.py +0 -0
  126. {python-docx-oss-0.0.3rc0 → python-docx-oss-0.0.4}/docx/image/image.py +0 -0
  127. {python-docx-oss-0.0.3rc0 → python-docx-oss-0.0.4}/docx/image/jpeg.py +0 -0
  128. {python-docx-oss-0.0.3rc0 → python-docx-oss-0.0.4}/docx/image/png.py +0 -0
  129. {python-docx-oss-0.0.3rc0 → python-docx-oss-0.0.4}/docx/image/tiff.py +0 -0
  130. {python-docx-oss-0.0.3rc0 → python-docx-oss-0.0.4}/docx/opc/__init__.py +0 -0
  131. {python-docx-oss-0.0.3rc0 → python-docx-oss-0.0.4}/docx/opc/compat.py +0 -0
  132. {python-docx-oss-0.0.3rc0 → python-docx-oss-0.0.4}/docx/opc/constants.py +0 -0
  133. {python-docx-oss-0.0.3rc0 → python-docx-oss-0.0.4}/docx/opc/coreprops.py +0 -0
  134. {python-docx-oss-0.0.3rc0 → python-docx-oss-0.0.4}/docx/opc/customprops.py +0 -0
  135. {python-docx-oss-0.0.3rc0 → python-docx-oss-0.0.4}/docx/opc/exceptions.py +0 -0
  136. {python-docx-oss-0.0.3rc0 → python-docx-oss-0.0.4}/docx/opc/oxml.py +0 -0
  137. {python-docx-oss-0.0.3rc0 → python-docx-oss-0.0.4}/docx/opc/package.py +0 -0
  138. {python-docx-oss-0.0.3rc0 → python-docx-oss-0.0.4}/docx/opc/packuri.py +0 -0
  139. {python-docx-oss-0.0.3rc0 → python-docx-oss-0.0.4}/docx/opc/part.py +0 -0
  140. {python-docx-oss-0.0.3rc0 → python-docx-oss-0.0.4}/docx/opc/parts/__init__.py +0 -0
  141. {python-docx-oss-0.0.3rc0 → python-docx-oss-0.0.4}/docx/opc/parts/coreprops.py +0 -0
  142. {python-docx-oss-0.0.3rc0 → python-docx-oss-0.0.4}/docx/opc/parts/customprops.py +0 -0
  143. {python-docx-oss-0.0.3rc0 → python-docx-oss-0.0.4}/docx/opc/phys_pkg.py +0 -0
  144. {python-docx-oss-0.0.3rc0 → python-docx-oss-0.0.4}/docx/opc/pkgreader.py +0 -0
  145. {python-docx-oss-0.0.3rc0 → python-docx-oss-0.0.4}/docx/opc/pkgwriter.py +0 -0
  146. {python-docx-oss-0.0.3rc0 → python-docx-oss-0.0.4}/docx/opc/shared.py +0 -0
  147. {python-docx-oss-0.0.3rc0 → python-docx-oss-0.0.4}/docx/opc/spec.py +0 -0
  148. {python-docx-oss-0.0.3rc0 → python-docx-oss-0.0.4}/docx/oxml/__init__.py +0 -0
  149. {python-docx-oss-0.0.3rc0 → python-docx-oss-0.0.4}/docx/oxml/coreprops.py +0 -0
  150. {python-docx-oss-0.0.3rc0 → python-docx-oss-0.0.4}/docx/oxml/customprops.py +0 -0
  151. {python-docx-oss-0.0.3rc0 → python-docx-oss-0.0.4}/docx/oxml/document.py +0 -0
  152. {python-docx-oss-0.0.3rc0 → python-docx-oss-0.0.4}/docx/oxml/exceptions.py +0 -0
  153. {python-docx-oss-0.0.3rc0 → python-docx-oss-0.0.4}/docx/oxml/ns.py +0 -0
  154. {python-docx-oss-0.0.3rc0 → python-docx-oss-0.0.4}/docx/oxml/numbering.py +0 -0
  155. {python-docx-oss-0.0.3rc0 → python-docx-oss-0.0.4}/docx/oxml/section.py +0 -0
  156. {python-docx-oss-0.0.3rc0 → python-docx-oss-0.0.4}/docx/oxml/settings.py +0 -0
  157. {python-docx-oss-0.0.3rc0 → python-docx-oss-0.0.4}/docx/oxml/shape.py +0 -0
  158. {python-docx-oss-0.0.3rc0 → python-docx-oss-0.0.4}/docx/oxml/shared.py +0 -0
  159. {python-docx-oss-0.0.3rc0 → python-docx-oss-0.0.4}/docx/oxml/simpletypes.py +0 -0
  160. {python-docx-oss-0.0.3rc0 → python-docx-oss-0.0.4}/docx/oxml/styles.py +0 -0
  161. {python-docx-oss-0.0.3rc0 → python-docx-oss-0.0.4}/docx/oxml/table.py +0 -0
  162. {python-docx-oss-0.0.3rc0 → python-docx-oss-0.0.4}/docx/oxml/text/__init__.py +0 -0
  163. {python-docx-oss-0.0.3rc0 → python-docx-oss-0.0.4}/docx/oxml/text/font.py +0 -0
  164. {python-docx-oss-0.0.3rc0 → python-docx-oss-0.0.4}/docx/oxml/text/paragraph.py +0 -0
  165. {python-docx-oss-0.0.3rc0 → python-docx-oss-0.0.4}/docx/oxml/text/parfmt.py +0 -0
  166. {python-docx-oss-0.0.3rc0 → python-docx-oss-0.0.4}/docx/oxml/text/run.py +0 -0
  167. {python-docx-oss-0.0.3rc0 → python-docx-oss-0.0.4}/docx/oxml/xmlchemy.py +0 -0
  168. {python-docx-oss-0.0.3rc0 → python-docx-oss-0.0.4}/docx/package.py +0 -0
  169. {python-docx-oss-0.0.3rc0 → python-docx-oss-0.0.4}/docx/parts/__init__.py +0 -0
  170. {python-docx-oss-0.0.3rc0 → python-docx-oss-0.0.4}/docx/parts/document.py +0 -0
  171. {python-docx-oss-0.0.3rc0 → python-docx-oss-0.0.4}/docx/parts/hdrftr.py +0 -0
  172. {python-docx-oss-0.0.3rc0 → python-docx-oss-0.0.4}/docx/parts/image.py +0 -0
  173. {python-docx-oss-0.0.3rc0 → python-docx-oss-0.0.4}/docx/parts/numbering.py +0 -0
  174. {python-docx-oss-0.0.3rc0 → python-docx-oss-0.0.4}/docx/parts/settings.py +0 -0
  175. {python-docx-oss-0.0.3rc0 → python-docx-oss-0.0.4}/docx/parts/story.py +0 -0
  176. {python-docx-oss-0.0.3rc0 → python-docx-oss-0.0.4}/docx/parts/styles.py +0 -0
  177. {python-docx-oss-0.0.3rc0 → python-docx-oss-0.0.4}/docx/section.py +0 -0
  178. {python-docx-oss-0.0.3rc0 → python-docx-oss-0.0.4}/docx/settings.py +0 -0
  179. {python-docx-oss-0.0.3rc0 → python-docx-oss-0.0.4}/docx/shape.py +0 -0
  180. {python-docx-oss-0.0.3rc0 → python-docx-oss-0.0.4}/docx/shared.py +0 -0
  181. {python-docx-oss-0.0.3rc0 → python-docx-oss-0.0.4}/docx/styles/__init__.py +0 -0
  182. {python-docx-oss-0.0.3rc0 → python-docx-oss-0.0.4}/docx/styles/latent.py +0 -0
  183. {python-docx-oss-0.0.3rc0 → python-docx-oss-0.0.4}/docx/styles/style.py +0 -0
  184. {python-docx-oss-0.0.3rc0 → python-docx-oss-0.0.4}/docx/styles/styles.py +0 -0
  185. {python-docx-oss-0.0.3rc0 → python-docx-oss-0.0.4}/docx/table.py +0 -0
  186. {python-docx-oss-0.0.3rc0 → python-docx-oss-0.0.4}/docx/templates/default-docx-template/[Content_Types].xml +0 -0
  187. {python-docx-oss-0.0.3rc0 → python-docx-oss-0.0.4}/docx/templates/default-docx-template/_rels/.rels +0 -0
  188. {python-docx-oss-0.0.3rc0 → python-docx-oss-0.0.4}/docx/templates/default-docx-template/customXml/_rels/item1.xml.rels +0 -0
  189. {python-docx-oss-0.0.3rc0 → python-docx-oss-0.0.4}/docx/templates/default-docx-template/customXml/item1.xml +0 -0
  190. {python-docx-oss-0.0.3rc0 → python-docx-oss-0.0.4}/docx/templates/default-docx-template/customXml/itemProps1.xml +0 -0
  191. {python-docx-oss-0.0.3rc0 → python-docx-oss-0.0.4}/docx/templates/default-docx-template/docProps/app.xml +0 -0
  192. {python-docx-oss-0.0.3rc0 → python-docx-oss-0.0.4}/docx/templates/default-docx-template/docProps/core.xml +0 -0
  193. {python-docx-oss-0.0.3rc0 → python-docx-oss-0.0.4}/docx/templates/default-docx-template/docProps/thumbnail.jpeg +0 -0
  194. {python-docx-oss-0.0.3rc0 → python-docx-oss-0.0.4}/docx/templates/default-docx-template/word/_rels/document.xml.rels +0 -0
  195. {python-docx-oss-0.0.3rc0 → python-docx-oss-0.0.4}/docx/templates/default-docx-template/word/document.xml +0 -0
  196. {python-docx-oss-0.0.3rc0 → python-docx-oss-0.0.4}/docx/templates/default-docx-template/word/fontTable.xml +0 -0
  197. {python-docx-oss-0.0.3rc0 → python-docx-oss-0.0.4}/docx/templates/default-docx-template/word/numbering.xml +0 -0
  198. {python-docx-oss-0.0.3rc0 → python-docx-oss-0.0.4}/docx/templates/default-docx-template/word/settings.xml +0 -0
  199. {python-docx-oss-0.0.3rc0 → python-docx-oss-0.0.4}/docx/templates/default-docx-template/word/styles.xml +0 -0
  200. {python-docx-oss-0.0.3rc0 → python-docx-oss-0.0.4}/docx/templates/default-docx-template/word/stylesWithEffects.xml +0 -0
  201. {python-docx-oss-0.0.3rc0 → python-docx-oss-0.0.4}/docx/templates/default-docx-template/word/theme/theme1.xml +0 -0
  202. {python-docx-oss-0.0.3rc0 → python-docx-oss-0.0.4}/docx/templates/default-docx-template/word/webSettings.xml +0 -0
  203. {python-docx-oss-0.0.3rc0 → python-docx-oss-0.0.4}/docx/templates/default-footer.xml +0 -0
  204. {python-docx-oss-0.0.3rc0 → python-docx-oss-0.0.4}/docx/templates/default-header.xml +0 -0
  205. {python-docx-oss-0.0.3rc0 → python-docx-oss-0.0.4}/docx/templates/default-numbering.xml +0 -0
  206. {python-docx-oss-0.0.3rc0 → python-docx-oss-0.0.4}/docx/templates/default-settings.xml +0 -0
  207. {python-docx-oss-0.0.3rc0 → python-docx-oss-0.0.4}/docx/templates/default-styles.xml +0 -0
  208. {python-docx-oss-0.0.3rc0 → python-docx-oss-0.0.4}/docx/templates/default.docx +0 -0
  209. {python-docx-oss-0.0.3rc0 → python-docx-oss-0.0.4}/docx/text/__init__.py +0 -0
  210. {python-docx-oss-0.0.3rc0 → python-docx-oss-0.0.4}/docx/text/font.py +0 -0
  211. {python-docx-oss-0.0.3rc0 → python-docx-oss-0.0.4}/docx/text/paragraph.py +0 -0
  212. {python-docx-oss-0.0.3rc0 → python-docx-oss-0.0.4}/docx/text/parfmt.py +0 -0
  213. {python-docx-oss-0.0.3rc0 → python-docx-oss-0.0.4}/docx/text/run.py +0 -0
  214. {python-docx-oss-0.0.3rc0 → python-docx-oss-0.0.4}/docx/text/tabstops.py +0 -0
  215. {python-docx-oss-0.0.3rc0 → python-docx-oss-0.0.4}/features/_scratch/test_out.docx +0 -0
  216. {python-docx-oss-0.0.3rc0 → python-docx-oss-0.0.4}/features/api-open-document.feature +0 -0
  217. {python-docx-oss-0.0.3rc0 → python-docx-oss-0.0.4}/features/blk-add-paragraph.feature +0 -0
  218. {python-docx-oss-0.0.3rc0 → python-docx-oss-0.0.4}/features/blk-add-table.feature +0 -0
  219. {python-docx-oss-0.0.3rc0 → python-docx-oss-0.0.4}/features/cel-add-table.feature +0 -0
  220. {python-docx-oss-0.0.3rc0 → python-docx-oss-0.0.4}/features/cel-text.feature +0 -0
  221. {python-docx-oss-0.0.3rc0 → python-docx-oss-0.0.4}/features/doc-access-collections.feature +0 -0
  222. {python-docx-oss-0.0.3rc0 → python-docx-oss-0.0.4}/features/doc-access-sections.feature +0 -0
  223. {python-docx-oss-0.0.3rc0 → python-docx-oss-0.0.4}/features/doc-add-heading.feature +0 -0
  224. {python-docx-oss-0.0.3rc0 → python-docx-oss-0.0.4}/features/doc-add-page-break.feature +0 -0
  225. {python-docx-oss-0.0.3rc0 → python-docx-oss-0.0.4}/features/doc-add-paragraph.feature +0 -0
  226. {python-docx-oss-0.0.3rc0 → python-docx-oss-0.0.4}/features/doc-add-picture.feature +0 -0
  227. {python-docx-oss-0.0.3rc0 → python-docx-oss-0.0.4}/features/doc-add-section.feature +0 -0
  228. {python-docx-oss-0.0.3rc0 → python-docx-oss-0.0.4}/features/doc-add-table.feature +0 -0
  229. {python-docx-oss-0.0.3rc0 → python-docx-oss-0.0.4}/features/doc-coreprops.feature +0 -0
  230. {python-docx-oss-0.0.3rc0 → python-docx-oss-0.0.4}/features/doc-customprops.feature +0 -0
  231. {python-docx-oss-0.0.3rc0 → python-docx-oss-0.0.4}/features/doc-settings.feature +0 -0
  232. {python-docx-oss-0.0.3rc0 → python-docx-oss-0.0.4}/features/doc-styles.feature +0 -0
  233. {python-docx-oss-0.0.3rc0 → python-docx-oss-0.0.4}/features/environment.py +0 -0
  234. {python-docx-oss-0.0.3rc0 → python-docx-oss-0.0.4}/features/hdr-header-footer.feature +0 -0
  235. {python-docx-oss-0.0.3rc0 → python-docx-oss-0.0.4}/features/img-characterize-image.feature +0 -0
  236. {python-docx-oss-0.0.3rc0 → python-docx-oss-0.0.4}/features/num-access-numbering-part.feature +0 -0
  237. {python-docx-oss-0.0.3rc0 → python-docx-oss-0.0.4}/features/par-access-parfmt.feature +0 -0
  238. {python-docx-oss-0.0.3rc0 → python-docx-oss-0.0.4}/features/par-add-run.feature +0 -0
  239. {python-docx-oss-0.0.3rc0 → python-docx-oss-0.0.4}/features/par-alignment-prop.feature +0 -0
  240. {python-docx-oss-0.0.3rc0 → python-docx-oss-0.0.4}/features/par-clear-paragraph.feature +0 -0
  241. {python-docx-oss-0.0.3rc0 → python-docx-oss-0.0.4}/features/par-insert-paragraph.feature +0 -0
  242. {python-docx-oss-0.0.3rc0 → python-docx-oss-0.0.4}/features/par-set-text.feature +0 -0
  243. {python-docx-oss-0.0.3rc0 → python-docx-oss-0.0.4}/features/par-style-prop.feature +0 -0
  244. {python-docx-oss-0.0.3rc0 → python-docx-oss-0.0.4}/features/run-access-content.feature +0 -0
  245. {python-docx-oss-0.0.3rc0 → python-docx-oss-0.0.4}/features/run-access-font.feature +0 -0
  246. {python-docx-oss-0.0.3rc0 → python-docx-oss-0.0.4}/features/run-add-content.feature +0 -0
  247. {python-docx-oss-0.0.3rc0 → python-docx-oss-0.0.4}/features/run-add-picture.feature +0 -0
  248. {python-docx-oss-0.0.3rc0 → python-docx-oss-0.0.4}/features/run-char-style.feature +0 -0
  249. {python-docx-oss-0.0.3rc0 → python-docx-oss-0.0.4}/features/run-clear-run.feature +0 -0
  250. {python-docx-oss-0.0.3rc0 → python-docx-oss-0.0.4}/features/run-enum-props.feature +0 -0
  251. {python-docx-oss-0.0.3rc0 → python-docx-oss-0.0.4}/features/sct-section.feature +0 -0
  252. {python-docx-oss-0.0.3rc0 → python-docx-oss-0.0.4}/features/shp-inline-shape-access.feature +0 -0
  253. {python-docx-oss-0.0.3rc0 → python-docx-oss-0.0.4}/features/shp-inline-shape-size.feature +0 -0
  254. {python-docx-oss-0.0.3rc0 → python-docx-oss-0.0.4}/features/steps/api.py +0 -0
  255. {python-docx-oss-0.0.3rc0 → python-docx-oss-0.0.4}/features/steps/block.py +0 -0
  256. {python-docx-oss-0.0.3rc0 → python-docx-oss-0.0.4}/features/steps/cell.py +0 -0
  257. {python-docx-oss-0.0.3rc0 → python-docx-oss-0.0.4}/features/steps/coreprops.py +0 -0
  258. {python-docx-oss-0.0.3rc0 → python-docx-oss-0.0.4}/features/steps/customprops.py +0 -0
  259. {python-docx-oss-0.0.3rc0 → python-docx-oss-0.0.4}/features/steps/document.py +0 -0
  260. {python-docx-oss-0.0.3rc0 → python-docx-oss-0.0.4}/features/steps/font.py +0 -0
  261. {python-docx-oss-0.0.3rc0 → python-docx-oss-0.0.4}/features/steps/hdrftr.py +0 -0
  262. {python-docx-oss-0.0.3rc0 → python-docx-oss-0.0.4}/features/steps/helpers.py +0 -0
  263. {python-docx-oss-0.0.3rc0 → python-docx-oss-0.0.4}/features/steps/image.py +0 -0
  264. {python-docx-oss-0.0.3rc0 → python-docx-oss-0.0.4}/features/steps/numbering.py +0 -0
  265. {python-docx-oss-0.0.3rc0 → python-docx-oss-0.0.4}/features/steps/paragraph.py +0 -0
  266. {python-docx-oss-0.0.3rc0 → python-docx-oss-0.0.4}/features/steps/parfmt.py +0 -0
  267. {python-docx-oss-0.0.3rc0 → python-docx-oss-0.0.4}/features/steps/section.py +0 -0
  268. {python-docx-oss-0.0.3rc0 → python-docx-oss-0.0.4}/features/steps/settings.py +0 -0
  269. {python-docx-oss-0.0.3rc0 → python-docx-oss-0.0.4}/features/steps/shape.py +0 -0
  270. {python-docx-oss-0.0.3rc0 → python-docx-oss-0.0.4}/features/steps/shared.py +0 -0
  271. {python-docx-oss-0.0.3rc0 → python-docx-oss-0.0.4}/features/steps/styles.py +0 -0
  272. {python-docx-oss-0.0.3rc0 → python-docx-oss-0.0.4}/features/steps/table.py +0 -0
  273. {python-docx-oss-0.0.3rc0 → python-docx-oss-0.0.4}/features/steps/tabstops.py +0 -0
  274. {python-docx-oss-0.0.3rc0 → python-docx-oss-0.0.4}/features/steps/test_files/blk-containing-table.docx +0 -0
  275. {python-docx-oss-0.0.3rc0 → python-docx-oss-0.0.4}/features/steps/test_files/court-exif.jpg +0 -0
  276. {python-docx-oss-0.0.3rc0 → python-docx-oss-0.0.4}/features/steps/test_files/doc-access-sections.docx +0 -0
  277. {python-docx-oss-0.0.3rc0 → python-docx-oss-0.0.4}/features/steps/test_files/doc-add-section.docx +0 -0
  278. {python-docx-oss-0.0.3rc0 → python-docx-oss-0.0.4}/features/steps/test_files/doc-coreprops.docx +0 -0
  279. {python-docx-oss-0.0.3rc0 → python-docx-oss-0.0.4}/features/steps/test_files/doc-customprops.docx +0 -0
  280. {python-docx-oss-0.0.3rc0 → python-docx-oss-0.0.4}/features/steps/test_files/doc-default.docx +0 -0
  281. {python-docx-oss-0.0.3rc0 → python-docx-oss-0.0.4}/features/steps/test_files/doc-no-coreprops.docx +0 -0
  282. {python-docx-oss-0.0.3rc0 → python-docx-oss-0.0.4}/features/steps/test_files/doc-no-customprops.docx +0 -0
  283. {python-docx-oss-0.0.3rc0 → python-docx-oss-0.0.4}/features/steps/test_files/doc-odd-even-hdrs.docx +0 -0
  284. {python-docx-oss-0.0.3rc0 → python-docx-oss-0.0.4}/features/steps/test_files/doc-word-default-blank.docx +0 -0
  285. {python-docx-oss-0.0.3rc0 → python-docx-oss-0.0.4}/features/steps/test_files/fnt-color.docx +0 -0
  286. {python-docx-oss-0.0.3rc0 → python-docx-oss-0.0.4}/features/steps/test_files/hdr-header-footer.docx +0 -0
  287. {python-docx-oss-0.0.3rc0 → python-docx-oss-0.0.4}/features/steps/test_files/jfif-300-dpi.jpg +0 -0
  288. {python-docx-oss-0.0.3rc0 → python-docx-oss-0.0.4}/features/steps/test_files/jpeg420exif.jpg +0 -0
  289. {python-docx-oss-0.0.3rc0 → python-docx-oss-0.0.4}/features/steps/test_files/lena.bmp +0 -0
  290. {python-docx-oss-0.0.3rc0 → python-docx-oss-0.0.4}/features/steps/test_files/lena.gif +0 -0
  291. {python-docx-oss-0.0.3rc0 → python-docx-oss-0.0.4}/features/steps/test_files/lena.tif +0 -0
  292. {python-docx-oss-0.0.3rc0 → python-docx-oss-0.0.4}/features/steps/test_files/lena_std.jpg +0 -0
  293. {python-docx-oss-0.0.3rc0 → python-docx-oss-0.0.4}/features/steps/test_files/monty-truth.png +0 -0
  294. {python-docx-oss-0.0.3rc0 → python-docx-oss-0.0.4}/features/steps/test_files/mountain.bmp +0 -0
  295. {python-docx-oss-0.0.3rc0 → python-docx-oss-0.0.4}/features/steps/test_files/num-having-numbering-part.docx +0 -0
  296. {python-docx-oss-0.0.3rc0 → python-docx-oss-0.0.4}/features/steps/test_files/par-alignment.docx +0 -0
  297. {python-docx-oss-0.0.3rc0 → python-docx-oss-0.0.4}/features/steps/test_files/par-known-paragraphs.docx +0 -0
  298. {python-docx-oss-0.0.3rc0 → python-docx-oss-0.0.4}/features/steps/test_files/par-known-styles.docx +0 -0
  299. {python-docx-oss-0.0.3rc0 → python-docx-oss-0.0.4}/features/steps/test_files/python-icon.jpeg +0 -0
  300. {python-docx-oss-0.0.3rc0 → python-docx-oss-0.0.4}/features/steps/test_files/run-char-style.docx +0 -0
  301. {python-docx-oss-0.0.3rc0 → python-docx-oss-0.0.4}/features/steps/test_files/run-enumerated-props.docx +0 -0
  302. {python-docx-oss-0.0.3rc0 → python-docx-oss-0.0.4}/features/steps/test_files/sample.tif +0 -0
  303. {python-docx-oss-0.0.3rc0 → python-docx-oss-0.0.4}/features/steps/test_files/sct-first-page-hdrftr.docx +0 -0
  304. {python-docx-oss-0.0.3rc0 → python-docx-oss-0.0.4}/features/steps/test_files/sct-section-props.docx +0 -0
  305. {python-docx-oss-0.0.3rc0 → python-docx-oss-0.0.4}/features/steps/test_files/set-no-settings-part.docx +0 -0
  306. {python-docx-oss-0.0.3rc0 → python-docx-oss-0.0.4}/features/steps/test_files/shp-inline-shape-access.docx +0 -0
  307. {python-docx-oss-0.0.3rc0 → python-docx-oss-0.0.4}/features/steps/test_files/sty-behav-props.docx +0 -0
  308. {python-docx-oss-0.0.3rc0 → python-docx-oss-0.0.4}/features/steps/test_files/sty-having-no-styles-part.docx +0 -0
  309. {python-docx-oss-0.0.3rc0 → python-docx-oss-0.0.4}/features/steps/test_files/sty-having-styles-part.docx +0 -0
  310. {python-docx-oss-0.0.3rc0 → python-docx-oss-0.0.4}/features/steps/test_files/sty-known-styles.docx +0 -0
  311. {python-docx-oss-0.0.3rc0 → python-docx-oss-0.0.4}/features/steps/test_files/tab-stops.docx +0 -0
  312. {python-docx-oss-0.0.3rc0 → python-docx-oss-0.0.4}/features/steps/test_files/tbl-2x2-table.docx +0 -0
  313. {python-docx-oss-0.0.3rc0 → python-docx-oss-0.0.4}/features/steps/test_files/tbl-cell-access.docx +0 -0
  314. {python-docx-oss-0.0.3rc0 → python-docx-oss-0.0.4}/features/steps/test_files/tbl-col-props.docx +0 -0
  315. {python-docx-oss-0.0.3rc0 → python-docx-oss-0.0.4}/features/steps/test_files/tbl-having-applied-style.docx +0 -0
  316. {python-docx-oss-0.0.3rc0 → python-docx-oss-0.0.4}/features/steps/test_files/tbl-having-tables.docx +0 -0
  317. {python-docx-oss-0.0.3rc0 → python-docx-oss-0.0.4}/features/steps/test_files/tbl-on-off-props.docx +0 -0
  318. {python-docx-oss-0.0.3rc0 → python-docx-oss-0.0.4}/features/steps/test_files/tbl-props.docx +0 -0
  319. {python-docx-oss-0.0.3rc0 → python-docx-oss-0.0.4}/features/steps/test_files/test.png +0 -0
  320. {python-docx-oss-0.0.3rc0 → python-docx-oss-0.0.4}/features/steps/test_files/txt-font-highlight-color.docx +0 -0
  321. {python-docx-oss-0.0.3rc0 → python-docx-oss-0.0.4}/features/steps/test_files/txt-font-props.docx +0 -0
  322. {python-docx-oss-0.0.3rc0 → python-docx-oss-0.0.4}/features/steps/text.py +0 -0
  323. {python-docx-oss-0.0.3rc0 → python-docx-oss-0.0.4}/features/sty-access-font.feature +0 -0
  324. {python-docx-oss-0.0.3rc0 → python-docx-oss-0.0.4}/features/sty-access-latent-styles.feature +0 -0
  325. {python-docx-oss-0.0.3rc0 → python-docx-oss-0.0.4}/features/sty-access-parfmt.feature +0 -0
  326. {python-docx-oss-0.0.3rc0 → python-docx-oss-0.0.4}/features/sty-add-style.feature +0 -0
  327. {python-docx-oss-0.0.3rc0 → python-docx-oss-0.0.4}/features/sty-delete-style.feature +0 -0
  328. {python-docx-oss-0.0.3rc0 → python-docx-oss-0.0.4}/features/sty-latent-add-del.feature +0 -0
  329. {python-docx-oss-0.0.3rc0 → python-docx-oss-0.0.4}/features/sty-latent-props.feature +0 -0
  330. {python-docx-oss-0.0.3rc0 → python-docx-oss-0.0.4}/features/sty-style-props.feature +0 -0
  331. {python-docx-oss-0.0.3rc0 → python-docx-oss-0.0.4}/features/tab-access-tabs.feature +0 -0
  332. {python-docx-oss-0.0.3rc0 → python-docx-oss-0.0.4}/features/tab-tabstop-props.feature +0 -0
  333. {python-docx-oss-0.0.3rc0 → python-docx-oss-0.0.4}/features/tbl-add-row-or-col.feature +0 -0
  334. {python-docx-oss-0.0.3rc0 → python-docx-oss-0.0.4}/features/tbl-cell-access.feature +0 -0
  335. {python-docx-oss-0.0.3rc0 → python-docx-oss-0.0.4}/features/tbl-cell-props.feature +0 -0
  336. {python-docx-oss-0.0.3rc0 → python-docx-oss-0.0.4}/features/tbl-col-props.feature +0 -0
  337. {python-docx-oss-0.0.3rc0 → python-docx-oss-0.0.4}/features/tbl-item-access.feature +0 -0
  338. {python-docx-oss-0.0.3rc0 → python-docx-oss-0.0.4}/features/tbl-merge-cells.feature +0 -0
  339. {python-docx-oss-0.0.3rc0 → python-docx-oss-0.0.4}/features/tbl-props.feature +0 -0
  340. {python-docx-oss-0.0.3rc0 → python-docx-oss-0.0.4}/features/tbl-row-props.feature +0 -0
  341. {python-docx-oss-0.0.3rc0 → python-docx-oss-0.0.4}/features/tbl-style.feature +0 -0
  342. {python-docx-oss-0.0.3rc0 → python-docx-oss-0.0.4}/features/txt-add-break.feature +0 -0
  343. {python-docx-oss-0.0.3rc0 → python-docx-oss-0.0.4}/features/txt-font-color.feature +0 -0
  344. {python-docx-oss-0.0.3rc0 → python-docx-oss-0.0.4}/features/txt-font-props.feature +0 -0
  345. {python-docx-oss-0.0.3rc0 → python-docx-oss-0.0.4}/features/txt-parfmt-props.feature +0 -0
  346. {python-docx-oss-0.0.3rc0 → python-docx-oss-0.0.4}/python_docx_oss.egg-info/dependency_links.txt +0 -0
  347. {python-docx-oss-0.0.3rc0 → python-docx-oss-0.0.4}/python_docx_oss.egg-info/not-zip-safe +0 -0
  348. {python-docx-oss-0.0.3rc0 → python-docx-oss-0.0.4}/python_docx_oss.egg-info/requires.txt +0 -0
  349. {python-docx-oss-0.0.3rc0 → python-docx-oss-0.0.4}/python_docx_oss.egg-info/top_level.txt +0 -0
  350. {python-docx-oss-0.0.3rc0 → python-docx-oss-0.0.4}/setup.cfg +0 -0
  351. {python-docx-oss-0.0.3rc0 → python-docx-oss-0.0.4}/tests/__init__.py +0 -0
  352. {python-docx-oss-0.0.3rc0 → python-docx-oss-0.0.4}/tests/dml/__init__.py +0 -0
  353. {python-docx-oss-0.0.3rc0 → python-docx-oss-0.0.4}/tests/dml/test_color.py +0 -0
  354. {python-docx-oss-0.0.3rc0 → python-docx-oss-0.0.4}/tests/image/__init__.py +0 -0
  355. {python-docx-oss-0.0.3rc0 → python-docx-oss-0.0.4}/tests/image/test_bmp.py +0 -0
  356. {python-docx-oss-0.0.3rc0 → python-docx-oss-0.0.4}/tests/image/test_gif.py +0 -0
  357. {python-docx-oss-0.0.3rc0 → python-docx-oss-0.0.4}/tests/image/test_helpers.py +0 -0
  358. {python-docx-oss-0.0.3rc0 → python-docx-oss-0.0.4}/tests/image/test_image.py +0 -0
  359. {python-docx-oss-0.0.3rc0 → python-docx-oss-0.0.4}/tests/image/test_jpeg.py +0 -0
  360. {python-docx-oss-0.0.3rc0 → python-docx-oss-0.0.4}/tests/image/test_png.py +0 -0
  361. {python-docx-oss-0.0.3rc0 → python-docx-oss-0.0.4}/tests/image/test_tiff.py +0 -0
  362. {python-docx-oss-0.0.3rc0 → python-docx-oss-0.0.4}/tests/opc/__init__.py +0 -0
  363. {python-docx-oss-0.0.3rc0 → python-docx-oss-0.0.4}/tests/opc/parts/__init__.py +0 -0
  364. {python-docx-oss-0.0.3rc0 → python-docx-oss-0.0.4}/tests/opc/parts/test_coreprops.py +0 -0
  365. {python-docx-oss-0.0.3rc0 → python-docx-oss-0.0.4}/tests/opc/parts/test_customprops.py +0 -0
  366. {python-docx-oss-0.0.3rc0 → python-docx-oss-0.0.4}/tests/opc/test_coreprops.py +0 -0
  367. {python-docx-oss-0.0.3rc0 → python-docx-oss-0.0.4}/tests/opc/test_customprops.py +0 -0
  368. {python-docx-oss-0.0.3rc0 → python-docx-oss-0.0.4}/tests/opc/test_oxml.py +0 -0
  369. {python-docx-oss-0.0.3rc0 → python-docx-oss-0.0.4}/tests/opc/test_package.py +0 -0
  370. {python-docx-oss-0.0.3rc0 → python-docx-oss-0.0.4}/tests/opc/test_packuri.py +0 -0
  371. {python-docx-oss-0.0.3rc0 → python-docx-oss-0.0.4}/tests/opc/test_part.py +0 -0
  372. {python-docx-oss-0.0.3rc0 → python-docx-oss-0.0.4}/tests/opc/test_phys_pkg.py +0 -0
  373. {python-docx-oss-0.0.3rc0 → python-docx-oss-0.0.4}/tests/opc/test_pkgreader.py +0 -0
  374. {python-docx-oss-0.0.3rc0 → python-docx-oss-0.0.4}/tests/opc/test_pkgwriter.py +0 -0
  375. {python-docx-oss-0.0.3rc0 → python-docx-oss-0.0.4}/tests/opc/unitdata/__init__.py +0 -0
  376. {python-docx-oss-0.0.3rc0 → python-docx-oss-0.0.4}/tests/opc/unitdata/rels.py +0 -0
  377. {python-docx-oss-0.0.3rc0 → python-docx-oss-0.0.4}/tests/opc/unitdata/types.py +0 -0
  378. {python-docx-oss-0.0.3rc0 → python-docx-oss-0.0.4}/tests/oxml/__init__.py +0 -0
  379. {python-docx-oss-0.0.3rc0 → python-docx-oss-0.0.4}/tests/oxml/parts/__init__.py +0 -0
  380. {python-docx-oss-0.0.3rc0 → python-docx-oss-0.0.4}/tests/oxml/parts/test_document.py +0 -0
  381. {python-docx-oss-0.0.3rc0 → python-docx-oss-0.0.4}/tests/oxml/parts/unitdata/__init__.py +0 -0
  382. {python-docx-oss-0.0.3rc0 → python-docx-oss-0.0.4}/tests/oxml/parts/unitdata/document.py +0 -0
  383. {python-docx-oss-0.0.3rc0 → python-docx-oss-0.0.4}/tests/oxml/test__init__.py +0 -0
  384. {python-docx-oss-0.0.3rc0 → python-docx-oss-0.0.4}/tests/oxml/test_ns.py +0 -0
  385. {python-docx-oss-0.0.3rc0 → python-docx-oss-0.0.4}/tests/oxml/test_styles.py +0 -0
  386. {python-docx-oss-0.0.3rc0 → python-docx-oss-0.0.4}/tests/oxml/test_table.py +0 -0
  387. {python-docx-oss-0.0.3rc0 → python-docx-oss-0.0.4}/tests/oxml/test_xmlchemy.py +0 -0
  388. {python-docx-oss-0.0.3rc0 → python-docx-oss-0.0.4}/tests/oxml/text/__init__.py +0 -0
  389. {python-docx-oss-0.0.3rc0 → python-docx-oss-0.0.4}/tests/oxml/text/test_run.py +0 -0
  390. {python-docx-oss-0.0.3rc0 → python-docx-oss-0.0.4}/tests/oxml/unitdata/__init__.py +0 -0
  391. {python-docx-oss-0.0.3rc0 → python-docx-oss-0.0.4}/tests/oxml/unitdata/dml.py +0 -0
  392. {python-docx-oss-0.0.3rc0 → python-docx-oss-0.0.4}/tests/oxml/unitdata/numbering.py +0 -0
  393. {python-docx-oss-0.0.3rc0 → python-docx-oss-0.0.4}/tests/oxml/unitdata/section.py +0 -0
  394. {python-docx-oss-0.0.3rc0 → python-docx-oss-0.0.4}/tests/oxml/unitdata/shared.py +0 -0
  395. {python-docx-oss-0.0.3rc0 → python-docx-oss-0.0.4}/tests/oxml/unitdata/styles.py +0 -0
  396. {python-docx-oss-0.0.3rc0 → python-docx-oss-0.0.4}/tests/oxml/unitdata/table.py +0 -0
  397. {python-docx-oss-0.0.3rc0 → python-docx-oss-0.0.4}/tests/oxml/unitdata/text.py +0 -0
  398. {python-docx-oss-0.0.3rc0 → python-docx-oss-0.0.4}/tests/parts/__init__.py +0 -0
  399. {python-docx-oss-0.0.3rc0 → python-docx-oss-0.0.4}/tests/parts/test_document.py +0 -0
  400. {python-docx-oss-0.0.3rc0 → python-docx-oss-0.0.4}/tests/parts/test_hdrftr.py +0 -0
  401. {python-docx-oss-0.0.3rc0 → python-docx-oss-0.0.4}/tests/parts/test_image.py +0 -0
  402. {python-docx-oss-0.0.3rc0 → python-docx-oss-0.0.4}/tests/parts/test_numbering.py +0 -0
  403. {python-docx-oss-0.0.3rc0 → python-docx-oss-0.0.4}/tests/parts/test_settings.py +0 -0
  404. {python-docx-oss-0.0.3rc0 → python-docx-oss-0.0.4}/tests/parts/test_story.py +0 -0
  405. {python-docx-oss-0.0.3rc0 → python-docx-oss-0.0.4}/tests/parts/test_styles.py +0 -0
  406. {python-docx-oss-0.0.3rc0 → python-docx-oss-0.0.4}/tests/styles/__init__.py +0 -0
  407. {python-docx-oss-0.0.3rc0 → python-docx-oss-0.0.4}/tests/styles/test_latent.py +0 -0
  408. {python-docx-oss-0.0.3rc0 → python-docx-oss-0.0.4}/tests/styles/test_style.py +0 -0
  409. {python-docx-oss-0.0.3rc0 → python-docx-oss-0.0.4}/tests/styles/test_styles.py +0 -0
  410. {python-docx-oss-0.0.3rc0 → python-docx-oss-0.0.4}/tests/test_api.py +0 -0
  411. {python-docx-oss-0.0.3rc0 → python-docx-oss-0.0.4}/tests/test_blkcntnr.py +0 -0
  412. {python-docx-oss-0.0.3rc0 → python-docx-oss-0.0.4}/tests/test_document.py +0 -0
  413. {python-docx-oss-0.0.3rc0 → python-docx-oss-0.0.4}/tests/test_enum.py +0 -0
  414. {python-docx-oss-0.0.3rc0 → python-docx-oss-0.0.4}/tests/test_files/150-dpi.png +0 -0
  415. {python-docx-oss-0.0.3rc0 → python-docx-oss-0.0.4}/tests/test_files/300-dpi.TIF +0 -0
  416. {python-docx-oss-0.0.3rc0 → python-docx-oss-0.0.4}/tests/test_files/300-dpi.jpg +0 -0
  417. {python-docx-oss-0.0.3rc0 → python-docx-oss-0.0.4}/tests/test_files/300-dpi.png +0 -0
  418. {python-docx-oss-0.0.3rc0 → python-docx-oss-0.0.4}/tests/test_files/72-dpi.tiff +0 -0
  419. {python-docx-oss-0.0.3rc0 → python-docx-oss-0.0.4}/tests/test_files/CVS_LOGO.WMF +0 -0
  420. {python-docx-oss-0.0.3rc0 → python-docx-oss-0.0.4}/tests/test_files/exif-420-dpi.jpg +0 -0
  421. {python-docx-oss-0.0.3rc0 → python-docx-oss-0.0.4}/tests/test_files/expanded_docx/[Content_Types].xml +0 -0
  422. {python-docx-oss-0.0.3rc0 → python-docx-oss-0.0.4}/tests/test_files/expanded_docx/_rels/.rels +0 -0
  423. {python-docx-oss-0.0.3rc0 → python-docx-oss-0.0.4}/tests/test_files/expanded_docx/customXml/_rels/item1.xml.rels +0 -0
  424. {python-docx-oss-0.0.3rc0 → python-docx-oss-0.0.4}/tests/test_files/expanded_docx/customXml/item1.xml +0 -0
  425. {python-docx-oss-0.0.3rc0 → python-docx-oss-0.0.4}/tests/test_files/expanded_docx/customXml/itemProps1.xml +0 -0
  426. {python-docx-oss-0.0.3rc0 → python-docx-oss-0.0.4}/tests/test_files/expanded_docx/docProps/app.xml +0 -0
  427. {python-docx-oss-0.0.3rc0 → python-docx-oss-0.0.4}/tests/test_files/expanded_docx/docProps/core.xml +0 -0
  428. {python-docx-oss-0.0.3rc0 → python-docx-oss-0.0.4}/tests/test_files/expanded_docx/docProps/thumbnail.jpeg +0 -0
  429. {python-docx-oss-0.0.3rc0 → python-docx-oss-0.0.4}/tests/test_files/expanded_docx/word/_rels/document.xml.rels +0 -0
  430. {python-docx-oss-0.0.3rc0 → python-docx-oss-0.0.4}/tests/test_files/expanded_docx/word/document.xml +0 -0
  431. {python-docx-oss-0.0.3rc0 → python-docx-oss-0.0.4}/tests/test_files/expanded_docx/word/fontTable.xml +0 -0
  432. {python-docx-oss-0.0.3rc0 → python-docx-oss-0.0.4}/tests/test_files/expanded_docx/word/numbering.xml +0 -0
  433. {python-docx-oss-0.0.3rc0 → python-docx-oss-0.0.4}/tests/test_files/expanded_docx/word/settings.xml +0 -0
  434. {python-docx-oss-0.0.3rc0 → python-docx-oss-0.0.4}/tests/test_files/expanded_docx/word/styles.xml +0 -0
  435. {python-docx-oss-0.0.3rc0 → python-docx-oss-0.0.4}/tests/test_files/expanded_docx/word/stylesWithEffects.xml +0 -0
  436. {python-docx-oss-0.0.3rc0 → python-docx-oss-0.0.4}/tests/test_files/expanded_docx/word/theme/theme1.xml +0 -0
  437. {python-docx-oss-0.0.3rc0 → python-docx-oss-0.0.4}/tests/test_files/expanded_docx/word/webSettings.xml +0 -0
  438. {python-docx-oss-0.0.3rc0 → python-docx-oss-0.0.4}/tests/test_files/having-images.docx +0 -0
  439. {python-docx-oss-0.0.3rc0 → python-docx-oss-0.0.4}/tests/test_files/jfif-iguana.jpg +0 -0
  440. {python-docx-oss-0.0.3rc0 → python-docx-oss-0.0.4}/tests/test_files/little-endian.tif +0 -0
  441. {python-docx-oss-0.0.3rc0 → python-docx-oss-0.0.4}/tests/test_files/monty-truth.png +0 -0
  442. {python-docx-oss-0.0.3rc0 → python-docx-oss-0.0.4}/tests/test_files/python-icon.jpeg +0 -0
  443. {python-docx-oss-0.0.3rc0 → python-docx-oss-0.0.4}/tests/test_files/python-icon.png +0 -0
  444. {python-docx-oss-0.0.3rc0 → python-docx-oss-0.0.4}/tests/test_files/python-powered.png +0 -0
  445. {python-docx-oss-0.0.3rc0 → python-docx-oss-0.0.4}/tests/test_files/python.bmp +0 -0
  446. {python-docx-oss-0.0.3rc0 → python-docx-oss-0.0.4}/tests/test_files/snippets/add-row-col.txt +0 -0
  447. {python-docx-oss-0.0.3rc0 → python-docx-oss-0.0.4}/tests/test_files/snippets/inline.txt +0 -0
  448. {python-docx-oss-0.0.3rc0 → python-docx-oss-0.0.4}/tests/test_files/snippets/new-tbl.txt +0 -0
  449. {python-docx-oss-0.0.3rc0 → python-docx-oss-0.0.4}/tests/test_files/snippets/tbl-cells.txt +0 -0
  450. {python-docx-oss-0.0.3rc0 → python-docx-oss-0.0.4}/tests/test_files/sonic.gif +0 -0
  451. {python-docx-oss-0.0.3rc0 → python-docx-oss-0.0.4}/tests/test_files/test.docx +0 -0
  452. {python-docx-oss-0.0.3rc0 → python-docx-oss-0.0.4}/tests/test_package.py +0 -0
  453. {python-docx-oss-0.0.3rc0 → python-docx-oss-0.0.4}/tests/test_section.py +0 -0
  454. {python-docx-oss-0.0.3rc0 → python-docx-oss-0.0.4}/tests/test_settings.py +0 -0
  455. {python-docx-oss-0.0.3rc0 → python-docx-oss-0.0.4}/tests/test_shape.py +0 -0
  456. {python-docx-oss-0.0.3rc0 → python-docx-oss-0.0.4}/tests/test_shared.py +0 -0
  457. {python-docx-oss-0.0.3rc0 → python-docx-oss-0.0.4}/tests/test_table.py +0 -0
  458. {python-docx-oss-0.0.3rc0 → python-docx-oss-0.0.4}/tests/text/__init__.py +0 -0
  459. {python-docx-oss-0.0.3rc0 → python-docx-oss-0.0.4}/tests/text/test_font.py +0 -0
  460. {python-docx-oss-0.0.3rc0 → python-docx-oss-0.0.4}/tests/text/test_paragraph.py +0 -0
  461. {python-docx-oss-0.0.3rc0 → python-docx-oss-0.0.4}/tests/text/test_parfmt.py +0 -0
  462. {python-docx-oss-0.0.3rc0 → python-docx-oss-0.0.4}/tests/text/test_run.py +0 -0
  463. {python-docx-oss-0.0.3rc0 → python-docx-oss-0.0.4}/tests/text/test_tabstops.py +0 -0
  464. {python-docx-oss-0.0.3rc0 → python-docx-oss-0.0.4}/tests/unitdata.py +0 -0
  465. {python-docx-oss-0.0.3rc0 → python-docx-oss-0.0.4}/tests/unitutil/__init__.py +0 -0
  466. {python-docx-oss-0.0.3rc0 → python-docx-oss-0.0.4}/tests/unitutil/cxml.py +0 -0
  467. {python-docx-oss-0.0.3rc0 → python-docx-oss-0.0.4}/tests/unitutil/file.py +0 -0
  468. {python-docx-oss-0.0.3rc0 → python-docx-oss-0.0.4}/tests/unitutil/mock.py +0 -0
  469. {python-docx-oss-0.0.3rc0 → python-docx-oss-0.0.4}/tox.ini +0 -0
@@ -0,0 +1,33 @@
1
+ Release History
2
+ ---------------
3
+
4
+ **0.0.4 (2022-7-21)**
5
+
6
+ - public python-docx-oss docs @ readthedocs.
7
+ - add delete_item in CustomXmlPart. #17
8
+
9
+
10
+ **0.0.3 (2022-7-01)**
11
+
12
+ - Change method text to texts in CT_R. #14
13
+ - Add external target_ref setter. #15
14
+ - Blacken all Python files.
15
+
16
+
17
+ **0.0.2 (2022-06-24)**
18
+
19
+ - Add custom xml support. #10
20
+ - Add Part __eq__.
21
+ - Add Part element setter.
22
+ - Add Relationships parts_with_reltype.
23
+
24
+
25
+ **0.0.1 (2022-06-16)**
26
+
27
+ - Only support Python3.8, 3.9 and 3.10.
28
+ - Add custom properties support. #2
29
+ - Add drop_rels in Package. #5
30
+ - Add drop_rels in Part. #5
31
+ - Add default NumberingPart. #4
32
+ - Fix Python3.8+ __dict__ TypeError. #6
33
+ - Add some typehint.
@@ -1,5 +1,6 @@
1
1
  The MIT License (MIT)
2
2
  Copyright (c) 2013 Steve Canny, https://github.com/scanny
3
+ Copyright (c) 2022 Ethan St. Lee, https://github.com/lsaint
3
4
 
4
5
  Permission is hereby granted, free of charge, to any person obtaining a copy
5
6
  of this software and associated documentation files (the "Software"), to deal
@@ -1,4 +1,4 @@
1
- include HISTORY.rst LICENSE README.rst tox.ini
1
+ include HISTORY.md LICENSE README.md tox.ini
2
2
  graft docx/templates
3
3
  graft features
4
4
  graft tests
@@ -1,12 +1,13 @@
1
1
  Metadata-Version: 2.1
2
2
  Name: python-docx-oss
3
- Version: 0.0.3rc0
3
+ Version: 0.0.4
4
4
  Summary: Create and update Microsoft Word .docx files.
5
5
  Home-page: https://github.com/lsaint/python-docx-oss
6
6
  Author: Ethan St. Lee
7
7
  Author-email: ethan@ginolegaltech.cn
8
8
  License: The MIT License (MIT)
9
9
  Copyright (c) 2013 Steve Canny, https://github.com/scanny
10
+ Copyright (c) 2022 Ethan St. Lee, https://github.com/lsaint
10
11
 
11
12
  Permission is hereby granted, free of charge, to any person obtaining a copy
12
13
  of this software and associated documentation files (the "Software"), to deal
@@ -38,49 +39,64 @@ Classifier: Programming Language :: Python :: 3.9
38
39
  Classifier: Programming Language :: Python :: 3.10
39
40
  Classifier: Topic :: Office/Business :: Office Suites
40
41
  Classifier: Topic :: Software Development :: Libraries
42
+ Description-Content-Type: text/markdown
41
43
  License-File: LICENSE
42
44
 
43
- .. image:: https://travis-ci.org/python-openxml/python-docx.svg?branch=master
44
- :target: https://travis-ci.org/python-openxml/python-docx
45
+ **_python-docx-oss_** is a Python library for CRUD Microsoft Word (.docx) files.
45
46
 
46
- *python-docx* is a Python library for creating and updating Microsoft Word
47
- (.docx) files.
48
47
 
49
- More information is available in the `python-docx documentation`_.
48
+ <p>
49
+ <a href="https://pypi.org/project/python-docx-oss/"><img alt="PyPI" src="https://img.shields.io/pypi/v/python-docx-oss"></a>
50
+ <a href="https://pypi.org/project/python-docx-oss"> <img src="https://img.shields.io/pypi/pyversions/python-docx-oss.svg"/></a>
51
+ <a href="https://github.com/psf/black"><img alt="Code style: black" src="https://img.shields.io/badge/code%20style-black-000000.svg"></a>
52
+ <a href="https://github.com/lsaint/python-docx-oss/blob/master/LICENSE"><img alt="License: MIT" src="https://img.shields.io/badge/License-MIT-yellow.svg"></a>
53
+ </p>
50
54
 
51
- .. _`python-docx documentation`:
52
- https://python-docx.readthedocs.org/en/latest/
55
+ ---
53
56
 
57
+ ### FAQ
58
+
59
+ **Q: What's New?**
60
+
61
+ **A:** [HISTORY](https://github.com/lsaint/python-docx-oss/blob/master/HISTORY.md)
62
+
63
+ ---
64
+
65
+ More information is available in the [python-docx documentation](https://python-docx.readthedocs.org/en/latest/)
54
66
 
55
- .. :changelog:
56
67
 
57
68
  Release History
58
69
  ---------------
59
70
 
60
- 0.0.2 (2022-06-24)
61
- +++++++++++++++++++
71
+ **0.0.4 (2022-7-21)**
72
+
73
+ - public python-docx-oss docs @ readthedocs.
74
+ - add delete_item in CustomXmlPart. #17
75
+
76
+
77
+ **0.0.3 (2022-7-01)**
62
78
 
63
- - Change method text to texts in CT_R. PR-14
79
+ - Change method text to texts in CT_R. #14
80
+ - Add external target_ref setter. #15
81
+ - Blacken all Python files.
64
82
 
65
83
 
66
- 0.0.2 (2022-06-24)
67
- +++++++++++++++++++
84
+ **0.0.2 (2022-06-24)**
68
85
 
69
- - Add custom xml support. PR-10
86
+ - Add custom xml support. #10
70
87
  - Add Part __eq__.
71
88
  - Add Part element setter.
72
89
  - Add Relationships parts_with_reltype.
73
90
 
74
91
 
75
- 0.0.1 (2022-06-16)
76
- +++++++++++++++++++
92
+ **0.0.1 (2022-06-16)**
77
93
 
78
94
  - Only support Python3.8, 3.9 and 3.10.
79
- - Add custom properties support. PR-2
80
- - Add drop_rels in Package. PR-5
81
- - Add drop_rels in Part. PR-5
82
- - Add default NumberingPart. PR-4
83
- - Fix Python3.8+ __dict__ TypeError. PR-6
95
+ - Add custom properties support. #2
96
+ - Add drop_rels in Package. #5
97
+ - Add drop_rels in Part. #5
98
+ - Add default NumberingPart. #4
99
+ - Fix Python3.8+ __dict__ TypeError. #6
84
100
  - Add some typehint.
85
101
 
86
102
 
@@ -0,0 +1,21 @@
1
+ **_python-docx-oss_** is a Python library for CRUD Microsoft Word (.docx) files.
2
+
3
+
4
+ <p>
5
+ <a href="https://pypi.org/project/python-docx-oss/"><img alt="PyPI" src="https://img.shields.io/pypi/v/python-docx-oss"></a>
6
+ <a href="https://pypi.org/project/python-docx-oss"> <img src="https://img.shields.io/pypi/pyversions/python-docx-oss.svg"/></a>
7
+ <a href="https://github.com/psf/black"><img alt="Code style: black" src="https://img.shields.io/badge/code%20style-black-000000.svg"></a>
8
+ <a href="https://github.com/lsaint/python-docx-oss/blob/master/LICENSE"><img alt="License: MIT" src="https://img.shields.io/badge/License-MIT-yellow.svg"></a>
9
+ </p>
10
+
11
+ ---
12
+
13
+ ### FAQ
14
+
15
+ **Q: What's New?**
16
+
17
+ **A:** [HISTORY](https://github.com/lsaint/python-docx-oss/blob/master/HISTORY.md)
18
+
19
+ ---
20
+
21
+ More information is available in the [python-docx documentation](https://python-docx.readthedocs.org/en/latest/)
@@ -0,0 +1,8 @@
1
+ {% extends "!layout.html" %}
2
+ {% block footer %} {{ super() }}
3
+
4
+ <style>
5
+ .wy-nav-content { max-width: none; }
6
+ </style>
7
+
8
+ {% endblock %}
@@ -0,0 +1,6 @@
1
+ <h3>Useful Links</h3>
2
+ <ul>
3
+ <li><a href="http://github.com/lsaint/python-docx-oss">python-docx-oss @ GitHub</a></li>
4
+ <li><a href="http://pypi.python.org/pypi/python-docx-oss">python-docx-oss @ PyPI</a></li>
5
+ <li><a href="https://python-docx.readthedocs.io/en/latest/">python-docx documentation</a></li>
6
+ </ul>
@@ -0,0 +1,198 @@
1
+ # Configuration file for the Sphinx documentation builder.
2
+ #
3
+ # This file only contains a selection of the most common options. For a full
4
+ # list see the documentation:
5
+ # https://www.sphinx-doc.org/en/master/usage/configuration.html
6
+
7
+ # -- Path setup --------------------------------------------------------------
8
+
9
+ import os
10
+ import sys
11
+
12
+ # If extensions (or modules to document with autodoc) are in another directory,
13
+ # add these directories to sys.path here. If the directory is relative to the
14
+ # documentation root, use os.path.abspath to make it absolute, like shown here.
15
+ #
16
+ sys.path.insert(0, os.path.abspath(".."))
17
+
18
+ from docx import __version__ # noqa
19
+
20
+ # -- Project information -----------------------------------------------------
21
+
22
+ project = "python-docx-oss"
23
+ copyright = "2022, Ethan St. Lee"
24
+ author = "Ethan St. Lee"
25
+
26
+ # The full version, including alpha/beta/rc tags
27
+ release = __version__
28
+
29
+ # A string of reStructuredText that will be included at the end of every source
30
+ # file that is read. This is the right place to add substitutions that should
31
+ # be available in every file.
32
+ rst_epilog = """
33
+ .. |api-Document| replace:: :class:`docx.api.Document`
34
+
35
+ .. |AttributeError| replace:: :exc:`.AttributeError`
36
+
37
+ .. |BaseStyle| replace:: :class:`.BaseStyle`
38
+
39
+ .. |BlockItemContainer| replace:: :class:`.BlockItemContainer`
40
+
41
+ .. |_Body| replace:: :class:`._Body`
42
+
43
+ .. |_Cell| replace:: :class:`._Cell`
44
+
45
+ .. |_CharacterStyle| replace:: :class:`._CharacterStyle`
46
+
47
+ .. |Cm| replace:: :class:`.Cm`
48
+
49
+ .. |ColorFormat| replace:: :class:`.ColorFormat`
50
+
51
+ .. |_Column| replace:: :class:`._Column`
52
+
53
+ .. |_Columns| replace:: :class:`._Columns`
54
+
55
+ .. |CoreProperties| replace:: :class:`.CoreProperties`
56
+
57
+ .. |CustomProperties| replace:: :class:`.CustomProperties`
58
+
59
+ .. |datetime| replace:: :class:`.datetime.datetime`
60
+
61
+ .. |Document| replace:: :class:`.Document`
62
+
63
+ .. |DocumentPart| replace:: :class:`.DocumentPart`
64
+
65
+ .. |docx| replace:: ``python-docx-oss``
66
+
67
+ .. |Emu| replace:: :class:`.Emu`
68
+
69
+ .. |False| replace:: :class:`False`
70
+
71
+ .. |float| replace:: :class:`.float`
72
+
73
+ .. |Font| replace:: :class:`.Font`
74
+
75
+ .. |_Footer| replace:: :class:`._Footer`
76
+
77
+ .. |FooterPart| replace:: :class:`.FooterPart`
78
+
79
+ .. |_Header| replace:: :class:`._Header`
80
+
81
+ .. |HeaderPart| replace:: :class:`.HeaderPart`
82
+
83
+ .. |ImageParts| replace:: :class:`.ImageParts`
84
+
85
+ .. |Inches| replace:: :class:`.Inches`
86
+
87
+ .. |InlineShape| replace:: :class:`.InlineShape`
88
+
89
+ .. |InlineShapes| replace:: :class:`.InlineShapes`
90
+
91
+ .. |InvalidSpanError| replace:: :class:`.InvalidSpanError`
92
+
93
+ .. |int| replace:: :class:`.int`
94
+
95
+ .. |_LatentStyle| replace:: :class:`._LatentStyle`
96
+
97
+ .. |LatentStyles| replace:: :class:`.LatentStyles`
98
+
99
+ .. |Length| replace:: :class:`.Length`
100
+
101
+ .. |None| replace:: :class:`.None`
102
+
103
+ .. |NumberingPart| replace:: :class:`.NumberingPart`
104
+
105
+ .. |_NumberingStyle| replace:: :class:`._NumberingStyle`
106
+
107
+ .. |OpcPackage| replace:: :class:`.OpcPackage`
108
+
109
+ .. |Paragraph| replace:: :class:`.Paragraph`
110
+
111
+ .. |ParagraphFormat| replace:: :class:`.ParagraphFormat`
112
+
113
+ .. |_ParagraphStyle| replace:: :class:`._ParagraphStyle`
114
+
115
+ .. |Part| replace:: :class:`.Part`
116
+
117
+ .. |Pt| replace:: :class:`.Pt`
118
+
119
+ .. |_Relationship| replace:: :class:`._Relationship`
120
+
121
+ .. |Relationships| replace:: :class:`._Relationships`
122
+
123
+ .. |RGBColor| replace:: :class:`.RGBColor`
124
+
125
+ .. |_Row| replace:: :class:`._Row`
126
+
127
+ .. |_Rows| replace:: :class:`._Rows`
128
+
129
+ .. |Run| replace:: :class:`.Run`
130
+
131
+ .. |Section| replace:: :class:`.Section`
132
+
133
+ .. |Sections| replace:: :class:`.Sections`
134
+
135
+ .. |Settings| replace:: :class:`.Settings`
136
+
137
+ .. |str| replace:: :class:`.str`
138
+
139
+ .. |Styles| replace:: :class:`.Styles`
140
+
141
+ .. |StylesPart| replace:: :class:`.StylesPart`
142
+
143
+ .. |Table| replace:: :class:`.Table`
144
+
145
+ .. |_TableStyle| replace:: :class:`._TableStyle`
146
+
147
+ .. |TabStop| replace:: :class:`.TabStop`
148
+
149
+ .. |TabStops| replace:: :class:`.TabStops`
150
+
151
+ .. |_Text| replace:: :class:`._Text`
152
+
153
+ .. |True| replace:: :class:`True`
154
+
155
+ .. |ValueError| replace:: :class:`ValueError`
156
+ """
157
+
158
+ # -- General configuration ---------------------------------------------------
159
+
160
+ # Add any Sphinx extension module names here, as strings. They can be
161
+ # extensions coming with Sphinx (named 'sphinx.ext.*') or your custom
162
+ # ones.
163
+ extensions = [
164
+ "sphinx.ext.autodoc",
165
+ "sphinx.ext.intersphinx",
166
+ "sphinx.ext.todo",
167
+ "sphinx.ext.coverage",
168
+ "sphinx.ext.viewcode",
169
+ ]
170
+
171
+ # Add any paths that contain templates here, relative to this directory.
172
+ templates_path = ["_templates"]
173
+
174
+ # The root document.
175
+ root_doc = "index"
176
+
177
+ # List of patterns, relative to source directory, that match files and
178
+ # directories to ignore when looking for source files.
179
+ # This pattern also affects html_static_path and html_extra_path.
180
+ exclude_patterns = ["_build", "Thumbs.db", ".DS_Store", ".build"]
181
+
182
+
183
+ # -- Options for HTML output -------------------------------------------------
184
+
185
+ # The theme to use for HTML and HTML Help pages. See the documentation for
186
+ # a list of builtin themes.
187
+ #
188
+ html_theme = "sphinx_book_theme"
189
+
190
+ # Add any paths that contain custom static files (such as style sheets) here,
191
+ # relative to this directory. They are copied after the builtin static files,
192
+ # so a file named "default.css" will overwrite the builtin "default.css".
193
+ html_static_path = ["_static"]
194
+
195
+ # Custom sidebar templates, maps document names to template names.
196
+ html_sidebars = {
197
+ "**": ["searchbox.html", "globaltoc.html", "sidebarlinks.html"],
198
+ }
@@ -20,9 +20,9 @@ import sys
20
20
  # documentation root, use os.path.abspath to make it absolute, like shown here.
21
21
  sys.path.insert(0, os.path.abspath(".."))
22
22
 
23
+ import sphinx_rtd_theme
23
24
  from docx import __version__ # noqa
24
25
 
25
-
26
26
  # -- General configuration ---------------------------------------------------
27
27
 
28
28
  # If your documentation needs a minimal Sphinx version, state it here.
@@ -51,8 +51,8 @@ source_suffix = ".rst"
51
51
  master_doc = "index"
52
52
 
53
53
  # General information about the project.
54
- project = "python-docx"
55
- copyright = "2013, Steve Canny"
54
+ project = "python-docx-docx"
55
+ copyright = "2013, Steve Canny, 2022, Ethan St.Lee"
56
56
 
57
57
  # The version info for the project you're documenting, acts as replacement for
58
58
  # |version| and |release|, also used in various other places throughout the
@@ -91,6 +91,8 @@ rst_epilog = """
91
91
 
92
92
  .. |CoreProperties| replace:: :class:`.CoreProperties`
93
93
 
94
+ .. |CustomProperties| replace:: :class:`.CustomProperties`
95
+
94
96
  .. |datetime| replace:: :class:`.datetime.datetime`
95
97
 
96
98
  .. |Document| replace:: :class:`.Document`
@@ -221,7 +223,7 @@ pygments_style = "sphinx"
221
223
 
222
224
  # The theme to use for HTML and HTML Help pages. See the documentation for
223
225
  # a list of builtin themes.
224
- html_theme = "armstrong"
226
+ html_theme = "sphinx_rtd_theme"
225
227
 
226
228
  # Theme options are theme-specific and customize the look and feel of a theme
227
229
  # further. For a list of options available for each theme, see the
@@ -229,7 +231,7 @@ html_theme = "armstrong"
229
231
  # html_theme_options = {}
230
232
 
231
233
  # Add any paths that contain custom themes here, relative to this directory.
232
- html_theme_path = ["_themes"]
234
+ html_theme_path = [sphinx_rtd_theme.get_html_theme_path()]
233
235
 
234
236
  # The name for this set of Sphinx documents. If None, it defaults to
235
237
  # "<project> v<release> documentation".
@@ -262,9 +264,7 @@ html_static_path = ["_static"]
262
264
 
263
265
  # Custom sidebar templates, maps document names to template names.
264
266
  # html_sidebars = {}
265
- html_sidebars = {
266
- "**": ["localtoc.html", "relations.html", "sidebarlinks.html", "searchbox.html"]
267
- }
267
+ html_sidebars = {"**": ["localtoc.html", "relations.html", "sidebarlinks.html", "searchbox.html"]}
268
268
 
269
269
  # Additional templates that should be rendered to pages, maps page names to
270
270
  # template names.
@@ -297,7 +297,7 @@ html_sidebars = {
297
297
  # html_file_suffix = None
298
298
 
299
299
  # Output file base name for HTML help builder.
300
- htmlhelp_basename = "python-docxdoc"
300
+ htmlhelp_basename = "python-docx-oss_doc"
301
301
 
302
302
 
303
303
  # -- Options for LaTeX output -----------------------------------------------
@@ -25,10 +25,10 @@ Candidate Protocol
25
25
  >>> document = Document()
26
26
  >>> core_properties = document.core_properties
27
27
  >>> core_properties.author
28
- 'python-docx'
29
- >>> core_properties.author = 'Brian'
28
+ 'python-docx-oss'
29
+ >>> core_properties.author = 'lsaint'
30
30
  >>> core_properties.author
31
- 'Brian'
31
+ 'lsaint'
32
32
 
33
33
 
34
34
  Properties
@@ -1,11 +1,14 @@
1
+ .. python-docx-oss documentation master file, created by
2
+ sphinx-quickstart on Wed Jul 6 15:38:29 2022.
3
+ You can adapt this file completely to your liking, but it should at least
4
+ contain the root `toctree` directive.
1
5
 
2
- python-docx
3
- ===========
6
+ Welcome to python-docx-oss's documentation!
7
+ ===========================================
4
8
 
5
- Release v\ |version| (:ref:`Installation <install>`)
9
+ Release v\ |release| (:ref:`Installation <install>`)
6
10
 
7
- *python-docx* is a Python library for creating and updating Microsoft Word
8
- (.docx) files.
11
+ *python-docx-oss* is a Python library for CRUD Microsoft Word (.docx) files.
9
12
 
10
13
 
11
14
  What it can do
@@ -81,6 +84,7 @@ User Guide
81
84
  user/styles-understanding
82
85
  user/styles-using
83
86
  user/shapes
87
+ user/custom-xml
84
88
 
85
89
 
86
90
  API Documentation
@@ -0,0 +1,2 @@
1
+ lxml>=4.6.5
2
+ sphinx-book-theme
@@ -0,0 +1,60 @@
1
+ .. _custom-xml:
2
+
3
+ Working with customXml
4
+ =======================
5
+
6
+ As we know, Word documents are .zip files under the hook.
7
+ Can we add any file in a docx file? Literally yes.
8
+ After we unzip a docx file, We can add a ``customXml`` folder at the root of it,
9
+ which contains any XML files. Files in other formats and paths are invalid.
10
+ But it's enough for us to store custom data.
11
+ It can not be seen or modified in Word like ``CustomProperties``.
12
+
13
+ python-docx-oss will create a default XML file in the folder if there are not.
14
+ Then developer can add/delete/modify items in it.
15
+
16
+ eg::
17
+
18
+ from docx import Document
19
+
20
+ document = Document()
21
+ cx = document.part.custom_xml_parts[0]
22
+
23
+ cx.add_item("my_tag", "some_texts", foo="foo_attrib_value")
24
+ cx.add_item("your_tag", "a_word", bar="bar_attrib_value")
25
+
26
+ 2 new xml elements::
27
+
28
+ <my_tag foo="foo_attrib_value">some_texts</my_tag>
29
+ <your_tag bar1="value1" bar2="value2">a_word</your_tag>
30
+
31
+ will be add to ``customXml/item1.xml``
32
+
33
+ you can retrieve it::
34
+
35
+ >>> cx.items[0].tag
36
+ my_tag
37
+
38
+ >>> cx.items[0].text)
39
+ some_texts
40
+
41
+ >>> cx.items[0].attrib["foo"]
42
+ foo_attrib_value
43
+
44
+ >>> cx.items[1].tag
45
+ your_tag
46
+
47
+ >>> cx.items[1].text)
48
+ a_word
49
+
50
+ >>> cx.items[1].attrib["bar2"]
51
+ value2
52
+
53
+ or delete it::
54
+
55
+ >>> cx.delete_item(cx.items[0])
56
+
57
+ Be careful. Items are stored as a list, the index may change after deletion::
58
+
59
+ >>> cx.items[0].tag
60
+ your_tag
@@ -80,7 +80,7 @@ A header with multiple "zones" is often accomplished using carefully placed tab
80
80
 
81
81
  The required tab-stops for a center and right-aligned "zone" are part of the ``Header``
82
82
  and ``Footer`` styles in Word. If you're using a custom template rather than the
83
- `python-docx` default, it probably makes sense to define that style in your template.
83
+ `python-docx-oss` default, it probably makes sense to define that style in your template.
84
84
 
85
85
  Inserted tab characters (``"\t"``) are used to separate left, center, and right-aligned
86
86
  header content::
@@ -0,0 +1,30 @@
1
+ .. _install:
2
+
3
+ Installing
4
+ ==========
5
+
6
+ |docx| is hosted on `PyPI <https://pypi.org/project/python-docx-oss/>`_,
7
+ so installation is relatively simple, and just
8
+ depends on what installation utilities you have installed.
9
+
10
+ |docx| may be installed with ``pip`` if you have it available::
11
+
12
+ pip install python-docx-oss
13
+
14
+ It can be installed manually by downloading the distribution from PyPI, unpacking the tarball,
15
+ and running ``setup.py``::
16
+
17
+ tar xvzf python-docx-{version}.tar.gz
18
+ cd python-docx-oss-{version}
19
+ python setup.py install
20
+
21
+ |docx| depends on the ``lxml`` package.
22
+ ``pip`` will take care of satisfying those dependencies for you,
23
+ but if you use this last method you will need to install those yourself.
24
+
25
+
26
+ Dependencies
27
+ ------------
28
+
29
+ * Python 3.8, 3.9 or 3.10
30
+ * lxml >= 4.6.5
@@ -1,6 +1,6 @@
1
1
  from docx.api import Document # noqa
2
2
 
3
- __version__ = "0.0.3rc0"
3
+ __version__ = "0.0.4"
4
4
 
5
5
 
6
6
  # register custom Part classes with opc package reader
@@ -173,3 +173,9 @@ class _Relationship(object):
173
173
  return self._target
174
174
  else:
175
175
  return self._target.partname.relative_ref(self._baseURI)
176
+
177
+ @target_ref.setter
178
+ def target_ref(self, ref: str):
179
+ if not self._is_external:
180
+ raise ValueError("can not set internal target_ref")
181
+ self._target = ref
@@ -59,3 +59,9 @@ class CustomXmlPart(XmlPart):
59
59
  Add a child element to root.
60
60
  """
61
61
  etree.SubElement(self.element, tag, **attrib).text = text
62
+
63
+ def delete_item(self, item_element: etree._Element):
64
+ """
65
+ Delete a item element. other nodes index may change after deletion.
66
+ """
67
+ self.element.remove(item_element)