ps-python-pptx 1.1.0__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 (516) hide show
  1. ps_python_pptx-1.1.0/FORK.md +45 -0
  2. ps_python_pptx-1.1.0/HISTORY.rst +550 -0
  3. ps_python_pptx-1.1.0/LICENSE +20 -0
  4. ps_python_pptx-1.1.0/MANIFEST.in +7 -0
  5. ps_python_pptx-1.1.0/PKG-INFO +75 -0
  6. ps_python_pptx-1.1.0/README.rst +41 -0
  7. ps_python_pptx-1.1.0/features/act-action.feature +88 -0
  8. ps_python_pptx-1.1.0/features/act-hyperlink.feature +53 -0
  9. ps_python_pptx-1.1.0/features/cht-axis-props.feature +187 -0
  10. ps_python_pptx-1.1.0/features/cht-axistitle-props.feature +44 -0
  11. ps_python_pptx-1.1.0/features/cht-category-access.feature +72 -0
  12. ps_python_pptx-1.1.0/features/cht-category-props.feature +24 -0
  13. ps_python_pptx-1.1.0/features/cht-chart.feature +108 -0
  14. ps_python_pptx-1.1.0/features/cht-charttitle-props.feature +44 -0
  15. ps_python_pptx-1.1.0/features/cht-data-props.feature +107 -0
  16. ps_python_pptx-1.1.0/features/cht-datalabels.feature +208 -0
  17. ps_python_pptx-1.1.0/features/cht-gridlines-props.feature +11 -0
  18. ps_python_pptx-1.1.0/features/cht-legend-access.feature +31 -0
  19. ps_python_pptx-1.1.0/features/cht-legend-props.feature +82 -0
  20. ps_python_pptx-1.1.0/features/cht-marker-props.feature +59 -0
  21. ps_python_pptx-1.1.0/features/cht-plot-props.feature +121 -0
  22. ps_python_pptx-1.1.0/features/cht-point-access.feature +37 -0
  23. ps_python_pptx-1.1.0/features/cht-point-props.feature +21 -0
  24. ps_python_pptx-1.1.0/features/cht-replace-data.feature +40 -0
  25. ps_python_pptx-1.1.0/features/cht-series.feature +144 -0
  26. ps_python_pptx-1.1.0/features/cht-ticklabels-props.feature +26 -0
  27. ps_python_pptx-1.1.0/features/dml-color.feature +22 -0
  28. ps_python_pptx-1.1.0/features/dml-effect.feature +29 -0
  29. ps_python_pptx-1.1.0/features/dml-fill.feature +106 -0
  30. ps_python_pptx-1.1.0/features/dml-line.feature +62 -0
  31. ps_python_pptx-1.1.0/features/environment.py +24 -0
  32. ps_python_pptx-1.1.0/features/ph-inherit-props.feature +33 -0
  33. ps_python_pptx-1.1.0/features/ph-insert-shape.feature +33 -0
  34. ps_python_pptx-1.1.0/features/ph-phfmt-props.feature +25 -0
  35. ps_python_pptx-1.1.0/features/ph-placeholder-props.feature +53 -0
  36. ps_python_pptx-1.1.0/features/prs-coreprops.feature +20 -0
  37. ps_python_pptx-1.1.0/features/prs-default-template.feature +9 -0
  38. ps_python_pptx-1.1.0/features/prs-open-save.feature +39 -0
  39. ps_python_pptx-1.1.0/features/prs-presentation-props.feature +38 -0
  40. ps_python_pptx-1.1.0/features/shp-alt-text.feature +32 -0
  41. ps_python_pptx-1.1.0/features/shp-autoshape.feature +26 -0
  42. ps_python_pptx-1.1.0/features/shp-connector.feature +83 -0
  43. ps_python_pptx-1.1.0/features/shp-freeform.feature +45 -0
  44. ps_python_pptx-1.1.0/features/shp-graphicframe.feature +50 -0
  45. ps_python_pptx-1.1.0/features/shp-groupshape.feature +46 -0
  46. ps_python_pptx-1.1.0/features/shp-movie-props.feature +24 -0
  47. ps_python_pptx-1.1.0/features/shp-picture.feature +73 -0
  48. ps_python_pptx-1.1.0/features/shp-placeholder.feature +16 -0
  49. ps_python_pptx-1.1.0/features/shp-shapes.feature +384 -0
  50. ps_python_pptx-1.1.0/features/shp-shared.feature +211 -0
  51. ps_python_pptx-1.1.0/features/sld-background.feature +15 -0
  52. ps_python_pptx-1.1.0/features/sld-slide.feature +142 -0
  53. ps_python_pptx-1.1.0/features/sld-slides.feature +78 -0
  54. ps_python_pptx-1.1.0/features/steps/action.py +105 -0
  55. ps_python_pptx-1.1.0/features/steps/axis.py +303 -0
  56. ps_python_pptx-1.1.0/features/steps/background.py +27 -0
  57. ps_python_pptx-1.1.0/features/steps/category.py +157 -0
  58. ps_python_pptx-1.1.0/features/steps/chart.py +380 -0
  59. ps_python_pptx-1.1.0/features/steps/chartdata.py +210 -0
  60. ps_python_pptx-1.1.0/features/steps/color.py +70 -0
  61. ps_python_pptx-1.1.0/features/steps/coreprops.py +73 -0
  62. ps_python_pptx-1.1.0/features/steps/datalabel.py +195 -0
  63. ps_python_pptx-1.1.0/features/steps/effect.py +35 -0
  64. ps_python_pptx-1.1.0/features/steps/fill.py +156 -0
  65. ps_python_pptx-1.1.0/features/steps/font.py +150 -0
  66. ps_python_pptx-1.1.0/features/steps/font_color.py +94 -0
  67. ps_python_pptx-1.1.0/features/steps/helpers.py +51 -0
  68. ps_python_pptx-1.1.0/features/steps/legend.py +90 -0
  69. ps_python_pptx-1.1.0/features/steps/line.py +99 -0
  70. ps_python_pptx-1.1.0/features/steps/picture.py +77 -0
  71. ps_python_pptx-1.1.0/features/steps/placeholder.py +312 -0
  72. ps_python_pptx-1.1.0/features/steps/plot.py +135 -0
  73. ps_python_pptx-1.1.0/features/steps/presentation.py +222 -0
  74. ps_python_pptx-1.1.0/features/steps/series.py +345 -0
  75. ps_python_pptx-1.1.0/features/steps/shape.py +671 -0
  76. ps_python_pptx-1.1.0/features/steps/shapes.py +387 -0
  77. ps_python_pptx-1.1.0/features/steps/slide.py +206 -0
  78. ps_python_pptx-1.1.0/features/steps/slides.py +142 -0
  79. ps_python_pptx-1.1.0/features/steps/table.py +305 -0
  80. ps_python_pptx-1.1.0/features/steps/test_files/72-dpi.tiff +0 -0
  81. ps_python_pptx-1.1.0/features/steps/test_files/CVS_LOGO.WMF +0 -0
  82. ps_python_pptx-1.1.0/features/steps/test_files/act-props.pptm +0 -0
  83. ps_python_pptx-1.1.0/features/steps/test_files/calibriz.ttf +0 -0
  84. ps_python_pptx-1.1.0/features/steps/test_files/cht-axis-props.pptx +0 -0
  85. ps_python_pptx-1.1.0/features/steps/test_files/cht-category-access.pptx +0 -0
  86. ps_python_pptx-1.1.0/features/steps/test_files/cht-chart-props.pptx +0 -0
  87. ps_python_pptx-1.1.0/features/steps/test_files/cht-chart-type.pptx +0 -0
  88. ps_python_pptx-1.1.0/features/steps/test_files/cht-charts.pptx +0 -0
  89. ps_python_pptx-1.1.0/features/steps/test_files/cht-datalabels.pptx +0 -0
  90. ps_python_pptx-1.1.0/features/steps/test_files/cht-gridlines-props.pptx +0 -0
  91. ps_python_pptx-1.1.0/features/steps/test_files/cht-legend-props.pptx +0 -0
  92. ps_python_pptx-1.1.0/features/steps/test_files/cht-legend.pptx +0 -0
  93. ps_python_pptx-1.1.0/features/steps/test_files/cht-marker-props.pptx +0 -0
  94. ps_python_pptx-1.1.0/features/steps/test_files/cht-plot-props.pptx +0 -0
  95. ps_python_pptx-1.1.0/features/steps/test_files/cht-point-access.pptx +0 -0
  96. ps_python_pptx-1.1.0/features/steps/test_files/cht-point-props.pptx +0 -0
  97. ps_python_pptx-1.1.0/features/steps/test_files/cht-replace-data.pptx +0 -0
  98. ps_python_pptx-1.1.0/features/steps/test_files/cht-series.pptx +0 -0
  99. ps_python_pptx-1.1.0/features/steps/test_files/cht-ticklabels-props.pptx +0 -0
  100. ps_python_pptx-1.1.0/features/steps/test_files/dml-effect.pptx +0 -0
  101. ps_python_pptx-1.1.0/features/steps/test_files/dml-fill.pptx +0 -0
  102. ps_python_pptx-1.1.0/features/steps/test_files/dml-line.pptx +0 -0
  103. ps_python_pptx-1.1.0/features/steps/test_files/ext-rels.pptx +0 -0
  104. ps_python_pptx-1.1.0/features/steps/test_files/extracted-pptx/[Content_Types].xml +27 -0
  105. ps_python_pptx-1.1.0/features/steps/test_files/extracted-pptx/_rels/.rels +7 -0
  106. ps_python_pptx-1.1.0/features/steps/test_files/extracted-pptx/docProps/app.xml +42 -0
  107. ps_python_pptx-1.1.0/features/steps/test_files/extracted-pptx/docProps/core.xml +13 -0
  108. ps_python_pptx-1.1.0/features/steps/test_files/extracted-pptx/docProps/thumbnail.jpeg +0 -0
  109. ps_python_pptx-1.1.0/features/steps/test_files/extracted-pptx/ppt/_rels/presentation.xml.rels +10 -0
  110. ps_python_pptx-1.1.0/features/steps/test_files/extracted-pptx/ppt/presProps.xml +11 -0
  111. ps_python_pptx-1.1.0/features/steps/test_files/extracted-pptx/ppt/presentation.xml +106 -0
  112. ps_python_pptx-1.1.0/features/steps/test_files/extracted-pptx/ppt/printerSettings/printerSettings1.bin +0 -0
  113. ps_python_pptx-1.1.0/features/steps/test_files/extracted-pptx/ppt/slideLayouts/_rels/slideLayout1.xml.rels +4 -0
  114. ps_python_pptx-1.1.0/features/steps/test_files/extracted-pptx/ppt/slideLayouts/_rels/slideLayout10.xml.rels +4 -0
  115. ps_python_pptx-1.1.0/features/steps/test_files/extracted-pptx/ppt/slideLayouts/_rels/slideLayout11.xml.rels +4 -0
  116. ps_python_pptx-1.1.0/features/steps/test_files/extracted-pptx/ppt/slideLayouts/_rels/slideLayout2.xml.rels +4 -0
  117. ps_python_pptx-1.1.0/features/steps/test_files/extracted-pptx/ppt/slideLayouts/_rels/slideLayout3.xml.rels +4 -0
  118. ps_python_pptx-1.1.0/features/steps/test_files/extracted-pptx/ppt/slideLayouts/_rels/slideLayout4.xml.rels +4 -0
  119. ps_python_pptx-1.1.0/features/steps/test_files/extracted-pptx/ppt/slideLayouts/_rels/slideLayout5.xml.rels +4 -0
  120. ps_python_pptx-1.1.0/features/steps/test_files/extracted-pptx/ppt/slideLayouts/_rels/slideLayout6.xml.rels +4 -0
  121. ps_python_pptx-1.1.0/features/steps/test_files/extracted-pptx/ppt/slideLayouts/_rels/slideLayout7.xml.rels +4 -0
  122. ps_python_pptx-1.1.0/features/steps/test_files/extracted-pptx/ppt/slideLayouts/_rels/slideLayout8.xml.rels +4 -0
  123. ps_python_pptx-1.1.0/features/steps/test_files/extracted-pptx/ppt/slideLayouts/_rels/slideLayout9.xml.rels +4 -0
  124. ps_python_pptx-1.1.0/features/steps/test_files/extracted-pptx/ppt/slideLayouts/slideLayout1.xml +237 -0
  125. ps_python_pptx-1.1.0/features/steps/test_files/extracted-pptx/ppt/slideLayouts/slideLayout10.xml +165 -0
  126. ps_python_pptx-1.1.0/features/steps/test_files/extracted-pptx/ppt/slideLayouts/slideLayout11.xml +175 -0
  127. ps_python_pptx-1.1.0/features/steps/test_files/extracted-pptx/ppt/slideLayouts/slideLayout2.xml +165 -0
  128. ps_python_pptx-1.1.0/features/steps/test_files/extracted-pptx/ppt/slideLayouts/slideLayout3.xml +241 -0
  129. ps_python_pptx-1.1.0/features/steps/test_files/extracted-pptx/ppt/slideLayouts/slideLayout4.xml +283 -0
  130. ps_python_pptx-1.1.0/features/steps/test_files/extracted-pptx/ppt/slideLayouts/slideLayout5.xml +417 -0
  131. ps_python_pptx-1.1.0/features/steps/test_files/extracted-pptx/ppt/slideLayouts/slideLayout6.xml +113 -0
  132. ps_python_pptx-1.1.0/features/steps/test_files/extracted-pptx/ppt/slideLayouts/slideLayout7.xml +90 -0
  133. ps_python_pptx-1.1.0/features/steps/test_files/extracted-pptx/ppt/slideLayouts/slideLayout8.xml +272 -0
  134. ps_python_pptx-1.1.0/features/steps/test_files/extracted-pptx/ppt/slideLayouts/slideLayout9.xml +248 -0
  135. ps_python_pptx-1.1.0/features/steps/test_files/extracted-pptx/ppt/slideMasters/_rels/slideMaster1.xml.rels +15 -0
  136. ps_python_pptx-1.1.0/features/steps/test_files/extracted-pptx/ppt/slideMasters/slideMaster1.xml +505 -0
  137. ps_python_pptx-1.1.0/features/steps/test_files/extracted-pptx/ppt/slides/_rels/slide1.xml.rels +4 -0
  138. ps_python_pptx-1.1.0/features/steps/test_files/extracted-pptx/ppt/slides/slide1.xml +74 -0
  139. ps_python_pptx-1.1.0/features/steps/test_files/extracted-pptx/ppt/tableStyles.xml +2 -0
  140. ps_python_pptx-1.1.0/features/steps/test_files/extracted-pptx/ppt/theme/theme1.xml +281 -0
  141. ps_python_pptx-1.1.0/features/steps/test_files/extracted-pptx/ppt/viewProps.xml +32 -0
  142. ps_python_pptx-1.1.0/features/steps/test_files/font-color.pptx +0 -0
  143. ps_python_pptx-1.1.0/features/steps/test_files/just-two-mice.mp4 +0 -0
  144. ps_python_pptx-1.1.0/features/steps/test_files/just-two-mice.png +0 -0
  145. ps_python_pptx-1.1.0/features/steps/test_files/lyt-shapes.pptx +0 -0
  146. ps_python_pptx-1.1.0/features/steps/test_files/minimal.pptx +0 -0
  147. ps_python_pptx-1.1.0/features/steps/test_files/monty-truth.png +0 -0
  148. ps_python_pptx-1.1.0/features/steps/test_files/mst-placeholders.pptx +0 -0
  149. ps_python_pptx-1.1.0/features/steps/test_files/mst-shapes.pptx +0 -0
  150. ps_python_pptx-1.1.0/features/steps/test_files/mst-slide-layouts.pptx +0 -0
  151. ps_python_pptx-1.1.0/features/steps/test_files/ph-inherit-props.pptx +0 -0
  152. ps_python_pptx-1.1.0/features/steps/test_files/ph-populated-placeholders.pptx +0 -0
  153. ps_python_pptx-1.1.0/features/steps/test_files/ph-unpopulated-placeholders.pptx +0 -0
  154. ps_python_pptx-1.1.0/features/steps/test_files/pic.emf +0 -0
  155. ps_python_pptx-1.1.0/features/steps/test_files/prs-add-slide.pptx +0 -0
  156. ps_python_pptx-1.1.0/features/steps/test_files/prs-notes.pptx +0 -0
  157. ps_python_pptx-1.1.0/features/steps/test_files/prs-properties.pptx +0 -0
  158. ps_python_pptx-1.1.0/features/steps/test_files/prs-slide-masters.pptx +0 -0
  159. ps_python_pptx-1.1.0/features/steps/test_files/python-icon.jpeg +0 -0
  160. ps_python_pptx-1.1.0/features/steps/test_files/python-powered.png +0 -0
  161. ps_python_pptx-1.1.0/features/steps/test_files/python.bmp +0 -0
  162. ps_python_pptx-1.1.0/features/steps/test_files/shp-access-chart.pptx +0 -0
  163. ps_python_pptx-1.1.0/features/steps/test_files/shp-access-ole-object.pptx +0 -0
  164. ps_python_pptx-1.1.0/features/steps/test_files/shp-autoshape-adjustments.pptx +0 -0
  165. ps_python_pptx-1.1.0/features/steps/test_files/shp-autoshape-props.pptx +0 -0
  166. ps_python_pptx-1.1.0/features/steps/test_files/shp-common-props.pptx +0 -0
  167. ps_python_pptx-1.1.0/features/steps/test_files/shp-connector-props.pptx +0 -0
  168. ps_python_pptx-1.1.0/features/steps/test_files/shp-embedded-docx.docx +0 -0
  169. ps_python_pptx-1.1.0/features/steps/test_files/shp-embedded-pptx.pptx +0 -0
  170. ps_python_pptx-1.1.0/features/steps/test_files/shp-embedded-xlsx.xlsx +0 -0
  171. ps_python_pptx-1.1.0/features/steps/test_files/shp-freeform.pptx +0 -0
  172. ps_python_pptx-1.1.0/features/steps/test_files/shp-groupshape.pptx +0 -0
  173. ps_python_pptx-1.1.0/features/steps/test_files/shp-movie-props.pptx +0 -0
  174. ps_python_pptx-1.1.0/features/steps/test_files/shp-picture.pptx +0 -0
  175. ps_python_pptx-1.1.0/features/steps/test_files/shp-pos-and-size.pptx +0 -0
  176. ps_python_pptx-1.1.0/features/steps/test_files/shp-shapes.pptx +0 -0
  177. ps_python_pptx-1.1.0/features/steps/test_files/sld-background.pptx +0 -0
  178. ps_python_pptx-1.1.0/features/steps/test_files/sld-blank.pptx +0 -0
  179. ps_python_pptx-1.1.0/features/steps/test_files/sld-notes.pptx +0 -0
  180. ps_python_pptx-1.1.0/features/steps/test_files/sld-slide.pptx +0 -0
  181. ps_python_pptx-1.1.0/features/steps/test_files/sld-slides.pptx +0 -0
  182. ps_python_pptx-1.1.0/features/steps/test_files/sonic.gif +0 -0
  183. ps_python_pptx-1.1.0/features/steps/test_files/tbl-cell.pptx +0 -0
  184. ps_python_pptx-1.1.0/features/steps/test_files/test-image-jpg-mime.pptx +0 -0
  185. ps_python_pptx-1.1.0/features/steps/test_files/test.pptx +0 -0
  186. ps_python_pptx-1.1.0/features/steps/test_files/txt-fit-text.pptx +0 -0
  187. ps_python_pptx-1.1.0/features/steps/test_files/txt-font-props.pptx +0 -0
  188. ps_python_pptx-1.1.0/features/steps/test_files/txt-font-typeface.pptx +0 -0
  189. ps_python_pptx-1.1.0/features/steps/test_files/txt-paragraph-spacing.pptx +0 -0
  190. ps_python_pptx-1.1.0/features/steps/test_files/txt-text-frame.pptx +0 -0
  191. ps_python_pptx-1.1.0/features/steps/test_files/txt-text.pptx +0 -0
  192. ps_python_pptx-1.1.0/features/steps/text.py +272 -0
  193. ps_python_pptx-1.1.0/features/steps/text_frame.py +129 -0
  194. ps_python_pptx-1.1.0/features/tbl-cell.feature +113 -0
  195. ps_python_pptx-1.1.0/features/tbl-column.feature +10 -0
  196. ps_python_pptx-1.1.0/features/tbl-table.feature +60 -0
  197. ps_python_pptx-1.1.0/features/txt-fit-text.feature +11 -0
  198. ps_python_pptx-1.1.0/features/txt-font-color.feature +55 -0
  199. ps_python_pptx-1.1.0/features/txt-font-props.feature +149 -0
  200. ps_python_pptx-1.1.0/features/txt-paragraph.feature +108 -0
  201. ps_python_pptx-1.1.0/features/txt-text.feature +23 -0
  202. ps_python_pptx-1.1.0/features/txt-textframe.feature +75 -0
  203. ps_python_pptx-1.1.0/pyproject.toml +145 -0
  204. ps_python_pptx-1.1.0/setup.cfg +4 -0
  205. ps_python_pptx-1.1.0/src/pptx/__init__.py +84 -0
  206. ps_python_pptx-1.1.0/src/pptx/action.py +270 -0
  207. ps_python_pptx-1.1.0/src/pptx/api.py +49 -0
  208. ps_python_pptx-1.1.0/src/pptx/chart/__init__.py +0 -0
  209. ps_python_pptx-1.1.0/src/pptx/chart/axis.py +523 -0
  210. ps_python_pptx-1.1.0/src/pptx/chart/category.py +200 -0
  211. ps_python_pptx-1.1.0/src/pptx/chart/chart.py +280 -0
  212. ps_python_pptx-1.1.0/src/pptx/chart/data.py +864 -0
  213. ps_python_pptx-1.1.0/src/pptx/chart/datalabel.py +288 -0
  214. ps_python_pptx-1.1.0/src/pptx/chart/legend.py +79 -0
  215. ps_python_pptx-1.1.0/src/pptx/chart/marker.py +70 -0
  216. ps_python_pptx-1.1.0/src/pptx/chart/plot.py +412 -0
  217. ps_python_pptx-1.1.0/src/pptx/chart/point.py +101 -0
  218. ps_python_pptx-1.1.0/src/pptx/chart/series.py +258 -0
  219. ps_python_pptx-1.1.0/src/pptx/chart/xlsx.py +272 -0
  220. ps_python_pptx-1.1.0/src/pptx/chart/xmlwriter.py +1840 -0
  221. ps_python_pptx-1.1.0/src/pptx/dml/__init__.py +0 -0
  222. ps_python_pptx-1.1.0/src/pptx/dml/chtfmt.py +40 -0
  223. ps_python_pptx-1.1.0/src/pptx/dml/color.py +301 -0
  224. ps_python_pptx-1.1.0/src/pptx/dml/effect.py +41 -0
  225. ps_python_pptx-1.1.0/src/pptx/dml/fill.py +468 -0
  226. ps_python_pptx-1.1.0/src/pptx/dml/line.py +100 -0
  227. ps_python_pptx-1.1.0/src/pptx/enum/__init__.py +0 -0
  228. ps_python_pptx-1.1.0/src/pptx/enum/action.py +71 -0
  229. ps_python_pptx-1.1.0/src/pptx/enum/base.py +175 -0
  230. ps_python_pptx-1.1.0/src/pptx/enum/chart.py +492 -0
  231. ps_python_pptx-1.1.0/src/pptx/enum/dml.py +405 -0
  232. ps_python_pptx-1.1.0/src/pptx/enum/lang.py +685 -0
  233. ps_python_pptx-1.1.0/src/pptx/enum/shapes.py +1029 -0
  234. ps_python_pptx-1.1.0/src/pptx/enum/text.py +371 -0
  235. ps_python_pptx-1.1.0/src/pptx/exc.py +23 -0
  236. ps_python_pptx-1.1.0/src/pptx/media.py +197 -0
  237. ps_python_pptx-1.1.0/src/pptx/opc/__init__.py +0 -0
  238. ps_python_pptx-1.1.0/src/pptx/opc/constants.py +331 -0
  239. ps_python_pptx-1.1.0/src/pptx/opc/oxml.py +188 -0
  240. ps_python_pptx-1.1.0/src/pptx/opc/package.py +762 -0
  241. ps_python_pptx-1.1.0/src/pptx/opc/packuri.py +109 -0
  242. ps_python_pptx-1.1.0/src/pptx/opc/serialized.py +296 -0
  243. ps_python_pptx-1.1.0/src/pptx/opc/shared.py +20 -0
  244. ps_python_pptx-1.1.0/src/pptx/opc/spec.py +44 -0
  245. ps_python_pptx-1.1.0/src/pptx/oxml/__init__.py +492 -0
  246. ps_python_pptx-1.1.0/src/pptx/oxml/action.py +53 -0
  247. ps_python_pptx-1.1.0/src/pptx/oxml/chart/__init__.py +0 -0
  248. ps_python_pptx-1.1.0/src/pptx/oxml/chart/axis.py +297 -0
  249. ps_python_pptx-1.1.0/src/pptx/oxml/chart/chart.py +282 -0
  250. ps_python_pptx-1.1.0/src/pptx/oxml/chart/datalabel.py +252 -0
  251. ps_python_pptx-1.1.0/src/pptx/oxml/chart/legend.py +72 -0
  252. ps_python_pptx-1.1.0/src/pptx/oxml/chart/marker.py +61 -0
  253. ps_python_pptx-1.1.0/src/pptx/oxml/chart/plot.py +345 -0
  254. ps_python_pptx-1.1.0/src/pptx/oxml/chart/series.py +254 -0
  255. ps_python_pptx-1.1.0/src/pptx/oxml/chart/shared.py +219 -0
  256. ps_python_pptx-1.1.0/src/pptx/oxml/coreprops.py +288 -0
  257. ps_python_pptx-1.1.0/src/pptx/oxml/dml/__init__.py +0 -0
  258. ps_python_pptx-1.1.0/src/pptx/oxml/dml/color.py +111 -0
  259. ps_python_pptx-1.1.0/src/pptx/oxml/dml/fill.py +197 -0
  260. ps_python_pptx-1.1.0/src/pptx/oxml/dml/line.py +12 -0
  261. ps_python_pptx-1.1.0/src/pptx/oxml/ns.py +129 -0
  262. ps_python_pptx-1.1.0/src/pptx/oxml/presentation.py +130 -0
  263. ps_python_pptx-1.1.0/src/pptx/oxml/shapes/__init__.py +19 -0
  264. ps_python_pptx-1.1.0/src/pptx/oxml/shapes/autoshape.py +455 -0
  265. ps_python_pptx-1.1.0/src/pptx/oxml/shapes/connector.py +107 -0
  266. ps_python_pptx-1.1.0/src/pptx/oxml/shapes/graphfrm.py +342 -0
  267. ps_python_pptx-1.1.0/src/pptx/oxml/shapes/groupshape.py +280 -0
  268. ps_python_pptx-1.1.0/src/pptx/oxml/shapes/picture.py +270 -0
  269. ps_python_pptx-1.1.0/src/pptx/oxml/shapes/shared.py +523 -0
  270. ps_python_pptx-1.1.0/src/pptx/oxml/simpletypes.py +740 -0
  271. ps_python_pptx-1.1.0/src/pptx/oxml/slide.py +347 -0
  272. ps_python_pptx-1.1.0/src/pptx/oxml/table.py +588 -0
  273. ps_python_pptx-1.1.0/src/pptx/oxml/text.py +748 -0
  274. ps_python_pptx-1.1.0/src/pptx/oxml/theme.py +29 -0
  275. ps_python_pptx-1.1.0/src/pptx/oxml/xmlchemy.py +717 -0
  276. ps_python_pptx-1.1.0/src/pptx/package.py +222 -0
  277. ps_python_pptx-1.1.0/src/pptx/parts/__init__.py +0 -0
  278. ps_python_pptx-1.1.0/src/pptx/parts/chart.py +95 -0
  279. ps_python_pptx-1.1.0/src/pptx/parts/coreprops.py +167 -0
  280. ps_python_pptx-1.1.0/src/pptx/parts/embeddedpackage.py +93 -0
  281. ps_python_pptx-1.1.0/src/pptx/parts/image.py +275 -0
  282. ps_python_pptx-1.1.0/src/pptx/parts/media.py +37 -0
  283. ps_python_pptx-1.1.0/src/pptx/parts/presentation.py +126 -0
  284. ps_python_pptx-1.1.0/src/pptx/parts/slide.py +297 -0
  285. ps_python_pptx-1.1.0/src/pptx/parts/theme.py +13 -0
  286. ps_python_pptx-1.1.0/src/pptx/presentation.py +113 -0
  287. ps_python_pptx-1.1.0/src/pptx/py.typed +0 -0
  288. ps_python_pptx-1.1.0/src/pptx/shapes/__init__.py +26 -0
  289. ps_python_pptx-1.1.0/src/pptx/shapes/autoshape.py +355 -0
  290. ps_python_pptx-1.1.0/src/pptx/shapes/base.py +293 -0
  291. ps_python_pptx-1.1.0/src/pptx/shapes/connector.py +297 -0
  292. ps_python_pptx-1.1.0/src/pptx/shapes/freeform.py +337 -0
  293. ps_python_pptx-1.1.0/src/pptx/shapes/graphfrm.py +166 -0
  294. ps_python_pptx-1.1.0/src/pptx/shapes/group.py +69 -0
  295. ps_python_pptx-1.1.0/src/pptx/shapes/picture.py +203 -0
  296. ps_python_pptx-1.1.0/src/pptx/shapes/placeholder.py +407 -0
  297. ps_python_pptx-1.1.0/src/pptx/shapes/shapetree.py +1190 -0
  298. ps_python_pptx-1.1.0/src/pptx/shared.py +82 -0
  299. ps_python_pptx-1.1.0/src/pptx/slide.py +577 -0
  300. ps_python_pptx-1.1.0/src/pptx/spec.py +632 -0
  301. ps_python_pptx-1.1.0/src/pptx/table.py +520 -0
  302. ps_python_pptx-1.1.0/src/pptx/templates/default.pptx +0 -0
  303. ps_python_pptx-1.1.0/src/pptx/templates/docx-icon.emf +0 -0
  304. ps_python_pptx-1.1.0/src/pptx/templates/generic-icon.emf +0 -0
  305. ps_python_pptx-1.1.0/src/pptx/templates/notes.xml +23 -0
  306. ps_python_pptx-1.1.0/src/pptx/templates/notesMaster.xml +352 -0
  307. ps_python_pptx-1.1.0/src/pptx/templates/pptx-icon.emf +0 -0
  308. ps_python_pptx-1.1.0/src/pptx/templates/theme.xml +321 -0
  309. ps_python_pptx-1.1.0/src/pptx/templates/xlsx-icon.emf +0 -0
  310. ps_python_pptx-1.1.0/src/pptx/text/__init__.py +0 -0
  311. ps_python_pptx-1.1.0/src/pptx/text/fonts.py +399 -0
  312. ps_python_pptx-1.1.0/src/pptx/text/layout.py +325 -0
  313. ps_python_pptx-1.1.0/src/pptx/text/text.py +770 -0
  314. ps_python_pptx-1.1.0/src/pptx/theme.py +135 -0
  315. ps_python_pptx-1.1.0/src/pptx/types.py +36 -0
  316. ps_python_pptx-1.1.0/src/pptx/util.py +284 -0
  317. ps_python_pptx-1.1.0/src/ps_python_pptx.egg-info/PKG-INFO +75 -0
  318. ps_python_pptx-1.1.0/src/ps_python_pptx.egg-info/SOURCES.txt +514 -0
  319. ps_python_pptx-1.1.0/src/ps_python_pptx.egg-info/dependency_links.txt +1 -0
  320. ps_python_pptx-1.1.0/src/ps_python_pptx.egg-info/requires.txt +4 -0
  321. ps_python_pptx-1.1.0/src/ps_python_pptx.egg-info/top_level.txt +1 -0
  322. ps_python_pptx-1.1.0/tests/__init__.py +0 -0
  323. ps_python_pptx-1.1.0/tests/chart/__init__.py +0 -0
  324. ps_python_pptx-1.1.0/tests/chart/test_axis.py +1219 -0
  325. ps_python_pptx-1.1.0/tests/chart/test_category.py +249 -0
  326. ps_python_pptx-1.1.0/tests/chart/test_chart.py +587 -0
  327. ps_python_pptx-1.1.0/tests/chart/test_data.py +893 -0
  328. ps_python_pptx-1.1.0/tests/chart/test_datalabel.py +663 -0
  329. ps_python_pptx-1.1.0/tests/chart/test_legend.py +176 -0
  330. ps_python_pptx-1.1.0/tests/chart/test_marker.py +134 -0
  331. ps_python_pptx-1.1.0/tests/chart/test_plot.py +471 -0
  332. ps_python_pptx-1.1.0/tests/chart/test_point.py +221 -0
  333. ps_python_pptx-1.1.0/tests/chart/test_series.py +551 -0
  334. ps_python_pptx-1.1.0/tests/chart/test_xlsx.py +425 -0
  335. ps_python_pptx-1.1.0/tests/chart/test_xmlwriter.py +726 -0
  336. ps_python_pptx-1.1.0/tests/dml/__init__.py +0 -0
  337. ps_python_pptx-1.1.0/tests/dml/test_chtfmt.py +87 -0
  338. ps_python_pptx-1.1.0/tests/dml/test_color.py +280 -0
  339. ps_python_pptx-1.1.0/tests/dml/test_effect.py +54 -0
  340. ps_python_pptx-1.1.0/tests/dml/test_fill.py +737 -0
  341. ps_python_pptx-1.1.0/tests/dml/test_line.py +168 -0
  342. ps_python_pptx-1.1.0/tests/enum/__init__.py +0 -0
  343. ps_python_pptx-1.1.0/tests/enum/test_base.py +73 -0
  344. ps_python_pptx-1.1.0/tests/enum/test_shapes.py +46 -0
  345. ps_python_pptx-1.1.0/tests/fork_wheel_smoke.py +39 -0
  346. ps_python_pptx-1.1.0/tests/opc/__init__.py +0 -0
  347. ps_python_pptx-1.1.0/tests/opc/test_oxml.py +211 -0
  348. ps_python_pptx-1.1.0/tests/opc/test_package.py +1031 -0
  349. ps_python_pptx-1.1.0/tests/opc/test_packuri.py +94 -0
  350. ps_python_pptx-1.1.0/tests/opc/test_serialized.py +410 -0
  351. ps_python_pptx-1.1.0/tests/oxml/__init__.py +0 -0
  352. ps_python_pptx-1.1.0/tests/oxml/shapes/__init__.py +0 -0
  353. ps_python_pptx-1.1.0/tests/oxml/shapes/test_autoshape.py +266 -0
  354. ps_python_pptx-1.1.0/tests/oxml/shapes/test_graphfrm.py +80 -0
  355. ps_python_pptx-1.1.0/tests/oxml/shapes/test_groupshape.py +297 -0
  356. ps_python_pptx-1.1.0/tests/oxml/shapes/test_picture.py +107 -0
  357. ps_python_pptx-1.1.0/tests/oxml/test___init__.py +105 -0
  358. ps_python_pptx-1.1.0/tests/oxml/test_dml.py +152 -0
  359. ps_python_pptx-1.1.0/tests/oxml/test_ns.py +94 -0
  360. ps_python_pptx-1.1.0/tests/oxml/test_presentation.py +63 -0
  361. ps_python_pptx-1.1.0/tests/oxml/test_simpletypes.py +283 -0
  362. ps_python_pptx-1.1.0/tests/oxml/test_slide.py +23 -0
  363. ps_python_pptx-1.1.0/tests/oxml/test_table.py +255 -0
  364. ps_python_pptx-1.1.0/tests/oxml/test_theme.py +23 -0
  365. ps_python_pptx-1.1.0/tests/oxml/test_xmlchemy.py +604 -0
  366. ps_python_pptx-1.1.0/tests/oxml/unitdata/__init__.py +0 -0
  367. ps_python_pptx-1.1.0/tests/oxml/unitdata/dml.py +102 -0
  368. ps_python_pptx-1.1.0/tests/oxml/unitdata/shape.py +215 -0
  369. ps_python_pptx-1.1.0/tests/oxml/unitdata/text.py +85 -0
  370. ps_python_pptx-1.1.0/tests/parts/__init__.py +0 -0
  371. ps_python_pptx-1.1.0/tests/parts/test_chart.py +152 -0
  372. ps_python_pptx-1.1.0/tests/parts/test_coreprops.py +198 -0
  373. ps_python_pptx-1.1.0/tests/parts/test_embeddedpackage.py +74 -0
  374. ps_python_pptx-1.1.0/tests/parts/test_image.py +246 -0
  375. ps_python_pptx-1.1.0/tests/parts/test_media.py +33 -0
  376. ps_python_pptx-1.1.0/tests/parts/test_presentation.py +225 -0
  377. ps_python_pptx-1.1.0/tests/parts/test_slide.py +587 -0
  378. ps_python_pptx-1.1.0/tests/shapes/__init__.py +0 -0
  379. ps_python_pptx-1.1.0/tests/shapes/test_autoshape.py +491 -0
  380. ps_python_pptx-1.1.0/tests/shapes/test_base.py +723 -0
  381. ps_python_pptx-1.1.0/tests/shapes/test_connector.py +427 -0
  382. ps_python_pptx-1.1.0/tests/shapes/test_freeform.py +565 -0
  383. ps_python_pptx-1.1.0/tests/shapes/test_graphfrm.py +168 -0
  384. ps_python_pptx-1.1.0/tests/shapes/test_group.py +73 -0
  385. ps_python_pptx-1.1.0/tests/shapes/test_picture.py +306 -0
  386. ps_python_pptx-1.1.0/tests/shapes/test_placeholder.py +564 -0
  387. ps_python_pptx-1.1.0/tests/shapes/test_shapetree.py +2365 -0
  388. ps_python_pptx-1.1.0/tests/test_action.py +373 -0
  389. ps_python_pptx-1.1.0/tests/test_alternative_text_roundtrip.py +34 -0
  390. ps_python_pptx-1.1.0/tests/test_api.py +48 -0
  391. ps_python_pptx-1.1.0/tests/test_background_authoring_roundtrip.py +54 -0
  392. ps_python_pptx-1.1.0/tests/test_character_formatting_roundtrip.py +32 -0
  393. ps_python_pptx-1.1.0/tests/test_files/calibriz.ttf +0 -0
  394. ps_python_pptx-1.1.0/tests/test_files/cdw-logo.eps +420 -0
  395. ps_python_pptx-1.1.0/tests/test_files/dummy.mp4 +1 -0
  396. ps_python_pptx-1.1.0/tests/test_files/expanded_pptx/[Content_Types].xml +27 -0
  397. ps_python_pptx-1.1.0/tests/test_files/expanded_pptx/_rels/.rels +7 -0
  398. ps_python_pptx-1.1.0/tests/test_files/expanded_pptx/docProps/app.xml +41 -0
  399. ps_python_pptx-1.1.0/tests/test_files/expanded_pptx/docProps/core.xml +13 -0
  400. ps_python_pptx-1.1.0/tests/test_files/expanded_pptx/docProps/thumbnail.jpeg +0 -0
  401. ps_python_pptx-1.1.0/tests/test_files/expanded_pptx/ppt/_rels/presentation.xml.rels +10 -0
  402. ps_python_pptx-1.1.0/tests/test_files/expanded_pptx/ppt/presProps.xml +4 -0
  403. ps_python_pptx-1.1.0/tests/test_files/expanded_pptx/ppt/presentation.xml +109 -0
  404. ps_python_pptx-1.1.0/tests/test_files/expanded_pptx/ppt/printerSettings/printerSettings1.bin +0 -0
  405. ps_python_pptx-1.1.0/tests/test_files/expanded_pptx/ppt/slideLayouts/_rels/slideLayout1.xml.rels +4 -0
  406. ps_python_pptx-1.1.0/tests/test_files/expanded_pptx/ppt/slideLayouts/_rels/slideLayout10.xml.rels +4 -0
  407. ps_python_pptx-1.1.0/tests/test_files/expanded_pptx/ppt/slideLayouts/_rels/slideLayout11.xml.rels +4 -0
  408. ps_python_pptx-1.1.0/tests/test_files/expanded_pptx/ppt/slideLayouts/_rels/slideLayout2.xml.rels +4 -0
  409. ps_python_pptx-1.1.0/tests/test_files/expanded_pptx/ppt/slideLayouts/_rels/slideLayout3.xml.rels +4 -0
  410. ps_python_pptx-1.1.0/tests/test_files/expanded_pptx/ppt/slideLayouts/_rels/slideLayout4.xml.rels +4 -0
  411. ps_python_pptx-1.1.0/tests/test_files/expanded_pptx/ppt/slideLayouts/_rels/slideLayout5.xml.rels +4 -0
  412. ps_python_pptx-1.1.0/tests/test_files/expanded_pptx/ppt/slideLayouts/_rels/slideLayout6.xml.rels +4 -0
  413. ps_python_pptx-1.1.0/tests/test_files/expanded_pptx/ppt/slideLayouts/_rels/slideLayout7.xml.rels +4 -0
  414. ps_python_pptx-1.1.0/tests/test_files/expanded_pptx/ppt/slideLayouts/_rels/slideLayout8.xml.rels +4 -0
  415. ps_python_pptx-1.1.0/tests/test_files/expanded_pptx/ppt/slideLayouts/_rels/slideLayout9.xml.rels +4 -0
  416. ps_python_pptx-1.1.0/tests/test_files/expanded_pptx/ppt/slideLayouts/slideLayout1.xml +242 -0
  417. ps_python_pptx-1.1.0/tests/test_files/expanded_pptx/ppt/slideLayouts/slideLayout10.xml +165 -0
  418. ps_python_pptx-1.1.0/tests/test_files/expanded_pptx/ppt/slideLayouts/slideLayout11.xml +175 -0
  419. ps_python_pptx-1.1.0/tests/test_files/expanded_pptx/ppt/slideLayouts/slideLayout2.xml +170 -0
  420. ps_python_pptx-1.1.0/tests/test_files/expanded_pptx/ppt/slideLayouts/slideLayout3.xml +246 -0
  421. ps_python_pptx-1.1.0/tests/test_files/expanded_pptx/ppt/slideLayouts/slideLayout4.xml +288 -0
  422. ps_python_pptx-1.1.0/tests/test_files/expanded_pptx/ppt/slideLayouts/slideLayout5.xml +422 -0
  423. ps_python_pptx-1.1.0/tests/test_files/expanded_pptx/ppt/slideLayouts/slideLayout6.xml +118 -0
  424. ps_python_pptx-1.1.0/tests/test_files/expanded_pptx/ppt/slideLayouts/slideLayout7.xml +95 -0
  425. ps_python_pptx-1.1.0/tests/test_files/expanded_pptx/ppt/slideLayouts/slideLayout8.xml +277 -0
  426. ps_python_pptx-1.1.0/tests/test_files/expanded_pptx/ppt/slideLayouts/slideLayout9.xml +253 -0
  427. ps_python_pptx-1.1.0/tests/test_files/expanded_pptx/ppt/slideMasters/_rels/slideMaster1.xml.rels +15 -0
  428. ps_python_pptx-1.1.0/tests/test_files/expanded_pptx/ppt/slideMasters/slideMaster1.xml +507 -0
  429. ps_python_pptx-1.1.0/tests/test_files/expanded_pptx/ppt/slides/_rels/slide1.xml.rels +4 -0
  430. ps_python_pptx-1.1.0/tests/test_files/expanded_pptx/ppt/slides/slide1.xml +76 -0
  431. ps_python_pptx-1.1.0/tests/test_files/expanded_pptx/ppt/tableStyles.xml +2 -0
  432. ps_python_pptx-1.1.0/tests/test_files/expanded_pptx/ppt/theme/theme1.xml +281 -0
  433. ps_python_pptx-1.1.0/tests/test_files/expanded_pptx/ppt/viewProps.xml +34 -0
  434. ps_python_pptx-1.1.0/tests/test_files/minimal.pptx +0 -0
  435. ps_python_pptx-1.1.0/tests/test_files/minimal_slide.xml +15 -0
  436. ps_python_pptx-1.1.0/tests/test_files/missing_rels_item.pptx +0 -0
  437. ps_python_pptx-1.1.0/tests/test_files/monty-truth.png +0 -0
  438. ps_python_pptx-1.1.0/tests/test_files/no-core-props.pptx +0 -0
  439. ps_python_pptx-1.1.0/tests/test_files/no-slides.pptx +0 -0
  440. ps_python_pptx-1.1.0/tests/test_files/presentation.xml +109 -0
  441. ps_python_pptx-1.1.0/tests/test_files/python-icon.jpeg +0 -0
  442. ps_python_pptx-1.1.0/tests/test_files/python-powered.png +0 -0
  443. ps_python_pptx-1.1.0/tests/test_files/python.bmp +0 -0
  444. ps_python_pptx-1.1.0/tests/test_files/slideLayout1.xml +265 -0
  445. ps_python_pptx-1.1.0/tests/test_files/snippets/2x2-area-date.txt +166 -0
  446. ps_python_pptx-1.1.0/tests/test_files/snippets/2x2-area-float.txt +167 -0
  447. ps_python_pptx-1.1.0/tests/test_files/snippets/2x2-area-stacked-100.txt +165 -0
  448. ps_python_pptx-1.1.0/tests/test_files/snippets/2x2-area-stacked.txt +165 -0
  449. ps_python_pptx-1.1.0/tests/test_files/snippets/2x2-area.txt +165 -0
  450. ps_python_pptx-1.1.0/tests/test_files/snippets/2x2-bar-clustered-date.txt +145 -0
  451. ps_python_pptx-1.1.0/tests/test_files/snippets/2x2-bar-clustered-float.txt +145 -0
  452. ps_python_pptx-1.1.0/tests/test_files/snippets/2x2-bar-clustered.txt +143 -0
  453. ps_python_pptx-1.1.0/tests/test_files/snippets/2x2-bar-stacked-100.txt +144 -0
  454. ps_python_pptx-1.1.0/tests/test_files/snippets/2x2-bar-stacked.txt +144 -0
  455. ps_python_pptx-1.1.0/tests/test_files/snippets/2x2-column-clustered.txt +143 -0
  456. ps_python_pptx-1.1.0/tests/test_files/snippets/2x2-column-stacked-100.txt +144 -0
  457. ps_python_pptx-1.1.0/tests/test_files/snippets/2x2-column-stacked.txt +144 -0
  458. ps_python_pptx-1.1.0/tests/test_files/snippets/2x2-line-date.txt +162 -0
  459. ps_python_pptx-1.1.0/tests/test_files/snippets/2x2-line-float.txt +162 -0
  460. ps_python_pptx-1.1.0/tests/test_files/snippets/2x2-line-markers-stacked-100.txt +154 -0
  461. ps_python_pptx-1.1.0/tests/test_files/snippets/2x2-line-markers-stacked.txt +154 -0
  462. ps_python_pptx-1.1.0/tests/test_files/snippets/2x2-line-markers.txt +154 -0
  463. ps_python_pptx-1.1.0/tests/test_files/snippets/2x2-line-stacked-100.txt +160 -0
  464. ps_python_pptx-1.1.0/tests/test_files/snippets/2x2-line-stacked.txt +160 -0
  465. ps_python_pptx-1.1.0/tests/test_files/snippets/2x2-line.txt +160 -0
  466. ps_python_pptx-1.1.0/tests/test_files/snippets/2x3-bubble-3d.txt +215 -0
  467. ps_python_pptx-1.1.0/tests/test_files/snippets/2x3-bubble.txt +215 -0
  468. ps_python_pptx-1.1.0/tests/test_files/snippets/2x3-xy-lines-no-markers.txt +172 -0
  469. ps_python_pptx-1.1.0/tests/test_files/snippets/2x3-xy-lines.txt +166 -0
  470. ps_python_pptx-1.1.0/tests/test_files/snippets/2x3-xy-smooth-no-markers.txt +172 -0
  471. ps_python_pptx-1.1.0/tests/test_files/snippets/2x3-xy-smooth.txt +166 -0
  472. ps_python_pptx-1.1.0/tests/test_files/snippets/2x3-xy.txt +176 -0
  473. ps_python_pptx-1.1.0/tests/test_files/snippets/2x5-radar.txt +205 -0
  474. ps_python_pptx-1.1.0/tests/test_files/snippets/3x1-pie-exploded.txt +73 -0
  475. ps_python_pptx-1.1.0/tests/test_files/snippets/3x1-pie.txt +72 -0
  476. ps_python_pptx-1.1.0/tests/test_files/snippets/3x2-doughnut-exploded.txt +145 -0
  477. ps_python_pptx-1.1.0/tests/test_files/snippets/3x2-doughnut.txt +143 -0
  478. ps_python_pptx-1.1.0/tests/test_files/snippets/4x2-multi-cat-bar.txt +181 -0
  479. ps_python_pptx-1.1.0/tests/test_files/snippets/adjust-ser-count.txt +157 -0
  480. ps_python_pptx-1.1.0/tests/test_files/snippets/cat-labels.txt +146 -0
  481. ps_python_pptx-1.1.0/tests/test_files/snippets/content-types-xml.txt +9 -0
  482. ps_python_pptx-1.1.0/tests/test_files/snippets/default-notes.txt +22 -0
  483. ps_python_pptx-1.1.0/tests/test_files/snippets/default-notesMaster.txt +347 -0
  484. ps_python_pptx-1.1.0/tests/test_files/snippets/default-theme.txt +317 -0
  485. ps_python_pptx-1.1.0/tests/test_files/snippets/freeform.txt +44 -0
  486. ps_python_pptx-1.1.0/tests/test_files/snippets/package-rels-xml.txt +7 -0
  487. ps_python_pptx-1.1.0/tests/test_files/snippets/placeholders.txt +54 -0
  488. ps_python_pptx-1.1.0/tests/test_files/snippets/presentation-rels-xml.txt +6 -0
  489. ps_python_pptx-1.1.0/tests/test_files/snippets/relationships.txt +2 -0
  490. ps_python_pptx-1.1.0/tests/test_files/snippets/rels-load-from-xml.txt +6 -0
  491. ps_python_pptx-1.1.0/tests/test_files/snippets/rewrite-ser.txt +488 -0
  492. ps_python_pptx-1.1.0/tests/test_files/snippets/timing.txt +101 -0
  493. ps_python_pptx-1.1.0/tests/test_files/test.pptx +0 -0
  494. ps_python_pptx-1.1.0/tests/test_files/test_slides.pptx +0 -0
  495. ps_python_pptx-1.1.0/tests/test_media.py +134 -0
  496. ps_python_pptx-1.1.0/tests/test_package.py +377 -0
  497. ps_python_pptx-1.1.0/tests/test_paragraph_formatting_roundtrip.py +51 -0
  498. ps_python_pptx-1.1.0/tests/test_presentation.py +231 -0
  499. ps_python_pptx-1.1.0/tests/test_shared.py +83 -0
  500. ps_python_pptx-1.1.0/tests/test_slide.py +1040 -0
  501. ps_python_pptx-1.1.0/tests/test_slide_management_roundtrip.py +30 -0
  502. ps_python_pptx-1.1.0/tests/test_stacking_order_roundtrip.py +38 -0
  503. ps_python_pptx-1.1.0/tests/test_table.py +800 -0
  504. ps_python_pptx-1.1.0/tests/test_table_style_roundtrip.py +31 -0
  505. ps_python_pptx-1.1.0/tests/test_theme_authoring_roundtrip.py +53 -0
  506. ps_python_pptx-1.1.0/tests/test_util.py +52 -0
  507. ps_python_pptx-1.1.0/tests/text/__init__.py +0 -0
  508. ps_python_pptx-1.1.0/tests/text/test_fonts.py +702 -0
  509. ps_python_pptx-1.1.0/tests/text/test_layout.py +245 -0
  510. ps_python_pptx-1.1.0/tests/text/test_text.py +1265 -0
  511. ps_python_pptx-1.1.0/tests/unitdata.py +120 -0
  512. ps_python_pptx-1.1.0/tests/unitutil/__init__.py +13 -0
  513. ps_python_pptx-1.1.0/tests/unitutil/cxml.py +283 -0
  514. ps_python_pptx-1.1.0/tests/unitutil/file.py +57 -0
  515. ps_python_pptx-1.1.0/tests/unitutil/mock.py +130 -0
  516. ps_python_pptx-1.1.0/tox.ini +9 -0
@@ -0,0 +1,45 @@
1
+ # ps-python-pptx
2
+
3
+ This fork retains the `pptx` import namespace. It is based on upstream master
4
+ at `278b47b1` and is distributed separately as `ps-python-pptx`.
5
+
6
+ ## Upstream contribution structure
7
+
8
+ Feature branches are based on upstream master or an existing upstream proposal.
9
+ Fork naming, versioning, release automation, and integration formatting are
10
+ separate commits. No upstream pull requests are automatically submitted.
11
+
12
+ | Branch | Scope | Related upstream work |
13
+ | --- | --- | --- |
14
+ | `codex/portable-test-fixtures` | Current dependencies, Windows fixtures, isolated mocks | Test maintenance |
15
+ | `codex/shape-alternative-text` | Descriptions, titles, and removal semantics | Builds on #1097 by Huan Di |
16
+ | `codex/shape-stacking-order` | Send to back and bring to front | Independent |
17
+ | `codex/table-style-reference` | Validated table style GUIDs | Independent |
18
+ | `codex/font-character-formatting` | Baseline and strikethrough | Related to #1046, independent implementation |
19
+ | `codex/paragraph-list-formatting` | Bullet styles, starts, indents, paragraph marks | Builds on #1060 by Thomas Vakili |
20
+ | `codex/theme-authoring` | Native theme editing and font references | Independent |
21
+ | `codex/slide-management` | Clear slides and master graphics visibility | Related to #1029, independent implementation |
22
+ | `codex/background-authoring` | Explicit gradients and embedded backgrounds | Independent |
23
+
24
+ The original commits from #1097 and #1060 retain their authorship. Coordinate
25
+ with those existing proposals when preparing upstream contributions. Integration
26
+ merges combine overlapping APIs. Include relevant formatting changes when
27
+ preparing a focused upstream patch. Do not include fork packaging commits.
28
+
29
+ ## Public API documentation
30
+
31
+ API details are in `docs/api/shapes.rst`, `text.rst`, `table.rst`, `slides.rst`,
32
+ `dml.rst`, and `theme.rst`. Round-trip tests cover saving and reopening files.
33
+ Theme edits preserve unmodified theme data. Shared themes affect all masters
34
+ that reference them. Master text style access reads explicit defaults without
35
+ resolving the complete inheritance hierarchy.
36
+
37
+ ## Releases
38
+
39
+ Create a GitHub release tagged `v` followed by the package version. The
40
+ `publish-pypi.yml` workflow runs CI, builds and checks distributions, then uses
41
+ PyPI Trusted Publishing with the `pypi` GitHub environment. No PyPI token is used.
42
+
43
+ Pending publisher settings are project `ps-python-pptx`, owner `pseudosavant`,
44
+ repository `python-pptx`, workflow `publish-pypi.yml`, and environment `pypi`.
45
+ The first fork release is 1.1.0. The upstream base remains identifiable in Git.
@@ -0,0 +1,550 @@
1
+ .. :changelog:
2
+
3
+ Release History
4
+ ---------------
5
+
6
+ 1.0.2 (2024-08-07)
7
+ ++++++++++++++++++
8
+
9
+ - fix: #1003 restore read-only enum members
10
+
11
+ 1.0.1 (2024-08-05)
12
+ ++++++++++++++++++
13
+
14
+ - fix: #1000 add py.typed
15
+
16
+
17
+ 1.0.0 (2024-08-03)
18
+ ++++++++++++++++++
19
+
20
+ - fix: #929 raises on JPEG with image/jpg MIME-type
21
+ - fix: #943 remove mention of a Px Length subtype
22
+ - fix: #972 next-slide-id fails in rare cases
23
+ - fix: #990 do not require strict timestamps for Zip
24
+ - Add type annotations
25
+
26
+
27
+ 0.6.23 (2023-11-02)
28
+ +++++++++++++++++++
29
+
30
+ - fix: #912 Pillow<=9.5 constraint entails security vulnerability
31
+
32
+
33
+ 0.6.22 (2023-08-28)
34
+ +++++++++++++++++++
35
+
36
+ - Add #909 Add imgW, imgH params to `shapes.add_ole_object()`
37
+ - fix: #754 _Relationships.items() raises
38
+ - fix: #758 quote in autoshape name must be escaped
39
+ - fix: #746 update Python 3.x support in docs
40
+ - fix: #748 setup's `license` should be short string
41
+ - fix: #762 AttributeError: module 'collections' has no attribute 'abc'
42
+ (Windows Python 3.10+)
43
+
44
+
45
+ 0.6.21 (2021-09-20)
46
+ +++++++++++++++++++
47
+
48
+ - Fix #741 _DirPkgReader must implement .__contains__()
49
+
50
+
51
+ 0.6.20 (2021-09-14)
52
+ +++++++++++++++++++
53
+
54
+ - Fix #206 accommodate NULL target-references in relationships.
55
+ - Fix #223 escape image filename that appears as literal in XML.
56
+ - Fix #517 option to display chart categories/values in reverse order.
57
+ - Major refactoring of ancient package loading code.
58
+
59
+
60
+ 0.6.19 (2021-05-17)
61
+ +++++++++++++++++++
62
+
63
+ - Add shapes.add_ole_object(), allowing arbitrary Excel or other binary file to be
64
+ embedded as a shape on a slide. The OLE object is represented as an icon.
65
+
66
+
67
+ 0.6.18 (2019-05-02)
68
+ +++++++++++++++++++
69
+
70
+ - .text property getters encode line-break as a vertical-tab (VT, '\v', ASCII 11/x0B).
71
+ This is consistent with PowerPoint's copy/paste behavior and allows like-breaks (soft
72
+ carriage-return) to be distinguished from paragraph boundary. Previously, a line-break
73
+ was encoded as a newline ('\n') and was not distinguishable from a paragraph boundary.
74
+
75
+ .text properties include Shape.text, _Cell.text, TextFrame.text, _Paragraph.text and
76
+ _Run.text.
77
+
78
+ - .text property setters accept vertical-tab character and place a line-break element in
79
+ that location. All other control characters other than horizontal-tab ('\t') and
80
+ newline ('\n') in range \x00-\x1F are accepted and escaped with plain-text like
81
+ "_x001B" for ESC (ASCII 27).
82
+
83
+ Previously a control character other than tab or newline in an assigned string would
84
+ trigger an exception related to invalid XML character.
85
+
86
+
87
+ 0.6.17 (2018-12-16)
88
+ +++++++++++++++++++
89
+
90
+ - Add SlideLayouts.remove() - Delete unused slide-layout
91
+ - Add SlideLayout.used_by_slides - Get slides based on this slide-layout
92
+ - Add SlideLayouts.index() - Get index of slide-layout in master
93
+ - Add SlideLayouts.get_by_name() - Get slide-layout by its str name
94
+
95
+
96
+ 0.6.16 (2018-11-09)
97
+ +++++++++++++++++++
98
+
99
+ - Feature #395 DataLabels.show_* properties, e.g. .show_percentage
100
+ - Feature #453 Chart data tolerates None for labels
101
+
102
+
103
+ 0.6.15 (2018-09-24)
104
+ +++++++++++++++++++
105
+
106
+ - Fix #436 ValueAxis._cross_xAx fails on c:dateAxis
107
+
108
+
109
+ 0.6.14 (2018-09-24)
110
+ +++++++++++++++++++
111
+
112
+ - Add _Cell.merge()
113
+ - Add _Cell.split()
114
+ - Add _Cell.__eq__()
115
+ - Add _Cell.is_merge_origin
116
+ - Add _Cell.is_spanned
117
+ - Add _Cell.span_height
118
+ - Add _Cell.span_width
119
+ - Add _Cell.text getter
120
+ - Add Table.iter_cells()
121
+ - Move pptx.shapes.table module to pptx.table
122
+ - Add user documentation 'Working with tables'
123
+
124
+
125
+ 0.6.13 (2018-09-10)
126
+ +++++++++++++++++++
127
+
128
+ - Add Chart.font
129
+ - Fix #293 Can't hide title of single-series Chart
130
+ - Fix shape.width value is not type Emu
131
+ - Fix add a:defRPr with c:rich (fixes some font inheritance breakage)
132
+
133
+
134
+ 0.6.12 (2018-08-11)
135
+ +++++++++++++++++++
136
+
137
+ - Add Picture.auto_shape_type
138
+ - Remove Python 2.6 testing from build
139
+ - Update dependencies to avoid vulnerable Pillow version
140
+ - Fix #260, #301, #382, #401
141
+ - Add _Paragraph.add_line_break()
142
+ - Add Connector.line
143
+
144
+
145
+ 0.6.11 (2018-07-25)
146
+ +++++++++++++++++++
147
+
148
+ - Add gradient fill.
149
+ - Add experimental "turbo-add" option for producing large shape-count slides.
150
+
151
+
152
+ 0.6.10 (2018-06-11)
153
+ +++++++++++++++++++
154
+
155
+ - Add `shape.shadow` property to autoshape, connector, picture, and group
156
+ shape, returning a `ShadowFormat` object.
157
+ - Add `ShadowFormat` object with read/write (boolean) `.inherit` property.
158
+ - Fix #328 add support for 26+ series in a chart
159
+
160
+
161
+ 0.6.9 (2018-05-08)
162
+ ++++++++++++++++++
163
+
164
+ - Add `Picture.crop_x` setters, allowing picture cropping values to be set,
165
+ in addition to interrogated.
166
+ - Add `Slide.background` and `SlideMaster.background`, allowing the
167
+ background fill to be set for an individual slide or for all slides based
168
+ on a slide master.
169
+ - Add option `shapes` parameter to `Shapes.add_group_shape`, allowing a group
170
+ shape to be formed from a number of existing shapes.
171
+ - Improve efficiency of `Shapes._next_shape_id` property to improve
172
+ performance on high shape-count slides.
173
+
174
+
175
+ 0.6.8 (2018-04-18)
176
+ ++++++++++++++++++
177
+
178
+ - Add `GroupShape`, providing properties specific to a group shape, including
179
+ its `shapes` property.
180
+ - Add `GroupShapes`, providing access to shapes contained in a group shape.
181
+ - Add `SlideShapes.add_group_shape()`, allowing a group shape to be added to
182
+ a slide.
183
+ - Add `GroupShapes.add_group_shape()`, allowing a group shape to be added to
184
+ a group shape, enabling recursive, multi-level groups.
185
+ - Add support for adding jump-to-named-slide behavior to shape and run
186
+ hyperlinks.
187
+
188
+
189
+ 0.6.7 (2017-10-30)
190
+ ++++++++++++++++++
191
+
192
+ - Add `SlideShapes.build_freeform()`, allowing freeform shapes (such as maps)
193
+ to be specified and added to a slide.
194
+ - Add support for patterned fills.
195
+ - Add `LineFormat.dash_style` to allow interrogation and setting of dashed
196
+ line styles.
197
+
198
+
199
+ 0.6.6 (2017-06-17)
200
+ ++++++++++++++++++
201
+
202
+ - Add `SlideShapes.add_movie()`, allowing video media to be added to a slide.
203
+
204
+ - fix #190 Accommodate non-conforming part names having '00' index segment.
205
+ - fix #273 Accommodate non-conforming part names having no index segment.
206
+ - fix #277 ASCII/Unicode error on non-ASCII multi-level category names
207
+ - fix #279 BaseShape.id warning appearing on placeholder access.
208
+
209
+
210
+ 0.6.5 (2017-03-21)
211
+ ++++++++++++++++++
212
+
213
+ - #267 compensate for non-conforming PowerPoint behavior on c:overlay element
214
+
215
+ - compensate for non-conforming (to spec) PowerPoint behavior related to
216
+ c:dLbl/c:tx that results in "can't save" error when explicit data labels
217
+ are added to bubbles on a bubble chart.
218
+
219
+
220
+ 0.6.4 (2017-03-17)
221
+ ++++++++++++++++++
222
+
223
+ - add Chart.chart_title and ChartTitle object
224
+ - #263 Use Number type to test for numeric category
225
+
226
+
227
+ 0.6.3 (2017-02-28)
228
+ ++++++++++++++++++
229
+
230
+ - add DataLabel.font
231
+ - add Axis.axis_title
232
+
233
+
234
+ 0.6.2 (2017-01-03)
235
+ ++++++++++++++++++
236
+
237
+ - add support for NotesSlide (slide notes, aka. notes page)
238
+ - add support for arbitrary series ordering in XML
239
+ - add Plot.categories providing access to hierarchical categories in an
240
+ existing chart.
241
+ - add support for date axes on category charts, including writing a dateAx
242
+ element for the category axis when ChartData categories are date or
243
+ datetime.
244
+
245
+ **BACKWARD INCOMPATIBILITIES:**
246
+
247
+ Some changes were made to the boilerplate XML used to create new charts. This
248
+ was done to more closely adhere to the settings PowerPoint uses when creating
249
+ a chart using the UI. This may result in some appearance changes in charts
250
+ after upgrading. In particular:
251
+
252
+ * Chart.has_legend now defaults to True for Line charts.
253
+ * Plot.vary_by_categories now defaults to False for Line charts.
254
+
255
+
256
+ 0.6.1 (2016-10-09)
257
+ ++++++++++++++++++
258
+
259
+ - add Connector shape type
260
+
261
+
262
+ 0.6.0 (2016-08-18)
263
+ ++++++++++++++++++
264
+
265
+ - add XY chart types
266
+ - add Bubble chart types
267
+ - add Radar chart types
268
+ - add Area chart types
269
+ - add Doughnut chart types
270
+ - add Series.points and Point
271
+ - add Point.data_label
272
+ - add DataLabel.text_frame
273
+ - add DataLabel.position
274
+ - add Axis.major_gridlines
275
+ - add ChartFormat with .fill and .line
276
+ - add Axis.format (fill and line formatting)
277
+ - add ValueAxis.crosses and .crosses_at
278
+ - add Point.format (fill and line formatting)
279
+ - add Slide.slide_id
280
+ - add Slides.get() (by slide id)
281
+ - add Font.language_id
282
+ - support blank (None) data points in created charts
283
+ - add Series.marker
284
+ - add Point.marker
285
+ - add Marker.format, .style, and .size
286
+
287
+
288
+ 0.5.8 (2015-11-27)
289
+ ++++++++++++++++++
290
+
291
+ - add Shape.click_action (hyperlink on shape)
292
+ - fix: #128 Chart cat and ser names not escaped
293
+ - fix: #153 shapes.title raises on no title shape
294
+ - fix: #170 remove seek(0) from Image.from_file()
295
+
296
+
297
+ 0.5.7 (2015-01-17)
298
+ ++++++++++++++++++
299
+
300
+ - add PicturePlaceholder with .insert_picture() method
301
+ - add TablePlaceholder with .insert_table() method
302
+ - add ChartPlaceholder with .insert_chart() method
303
+ - add Picture.image property, returning Image object
304
+ - add Picture.crop_left, .crop_top, .crop_right, and .crop_bottom
305
+ - add Shape.placeholder_format and PlaceholderFormat object
306
+
307
+ **BACKWARD INCOMPATIBILITIES:**
308
+
309
+ Shape.shape_type is now unconditionally `MSO_SHAPE_TYPE.PLACEHOLDER` for all
310
+ placeholder shapes. Previously, some placeholder shapes reported
311
+ `MSO_SHAPE_TYPE.AUTO_SHAPE`, `MSO_SHAPE_TYPE.CHART`,
312
+ `MSO_SHAPE_TYPE.PICTURE`, or `MSO_SHAPE_TYPE.TABLE` for that property.
313
+
314
+
315
+ 0.5.6 (2014-12-06)
316
+ ++++++++++++++++++
317
+
318
+ - fix #138 - UnicodeDecodeError in setup.py on Windows 7 Python 3.4
319
+
320
+
321
+ 0.5.5 (2014-11-17)
322
+ ++++++++++++++++++
323
+
324
+ - feature #51 - add Python 3 support
325
+
326
+
327
+ 0.5.4 (2014-11-15)
328
+ ++++++++++++++++++
329
+
330
+ - feature #43 - image native size in shapes.add_picture() is now calculated
331
+ based on DPI attribute in image file, if present, defaulting to 72 dpi.
332
+ - feature #113 - Add Paragraph.space_before, Paragraph.space_after, and
333
+ Paragraph.line_spacing
334
+
335
+
336
+ 0.5.3 (2014-11-09)
337
+ ++++++++++++++++++
338
+
339
+ - add experimental feature TextFrame.fit_text()
340
+
341
+
342
+ 0.5.2 (2014-10-26)
343
+ ++++++++++++++++++
344
+
345
+ - fix #127 - Shape.text_frame fails on shape having no txBody
346
+
347
+
348
+ 0.5.1 (2014-09-22)
349
+ ++++++++++++++++++
350
+
351
+ - feature #120 - add Shape.rotation
352
+ - feature #97 - add Font.underline
353
+ - issue #117 - add BMP image support
354
+ - issue #95 - add BaseShape.name setter
355
+ - issue #107 - all .text properties should return unicode, not str
356
+ - feature #106 - add .text getters to Shape, TextFrame, and Paragraph
357
+
358
+ - Rename Shape.textframe to Shape.text_frame.
359
+ **Shape.textframe property (by that name) is deprecated.**
360
+
361
+
362
+ 0.5.0 (2014-09-13)
363
+ ++++++++++++++++++
364
+
365
+ - Add support for creating and manipulating bar, column, line, and pie charts
366
+ - Major refactoring of XML layer (oxml)
367
+ - Rationalized graphical object shape access
368
+ **Note backward incompatibilities below**
369
+
370
+ **BACKWARD INCOMPATIBILITIES:**
371
+
372
+ A table is no longer treated as a shape. Rather it is a graphical object
373
+ contained in a GraphicFrame shape, as are Chart and SmartArt objects.
374
+
375
+ Example::
376
+
377
+ table = shapes.add_table(...)
378
+
379
+ # becomes
380
+
381
+ graphic_frame = shapes.add_table(...)
382
+ table = graphic_frame.table
383
+
384
+ # or
385
+
386
+ table = shapes.add_table(...).table
387
+
388
+ As the enclosing shape, the id, name, shape type, position, and size are
389
+ attributes of the enclosing GraphicFrame object.
390
+
391
+ The contents of a GraphicFrame shape can be identified using three available
392
+ properties on a shape: has_table, has_chart, and has_smart_art. The enclosed
393
+ graphical object is obtained using the properties GraphicFrame.table and
394
+ GraphicFrame.chart. SmartArt is not yet supported. Accessing one of these
395
+ properties on a GraphicFrame not containing the corresponding object raises
396
+ an exception.
397
+
398
+
399
+ 0.4.2 (2014-04-29)
400
+ ++++++++++++++++++
401
+
402
+ - fix: issue #88 -- raises on supported image file having uppercase extension
403
+ - fix: issue #89 -- raises on add_slide() where non-contiguous existing ids
404
+
405
+
406
+ 0.4.1 (2014-04-29)
407
+ ++++++++++++++++++
408
+
409
+ - Rename Presentation.slidemasters to Presentation.slide_masters.
410
+ Presentation.slidemasters property is deprecated.
411
+ - Rename Presentation.slidelayouts to Presentation.slide_layouts.
412
+ Presentation.slidelayouts property is deprecated.
413
+ - Rename SlideMaster.slidelayouts to SlideMaster.slide_layouts.
414
+ SlideMaster.slidelayouts property is deprecated.
415
+ - Rename SlideLayout.slidemaster to SlideLayout.slide_master.
416
+ SlideLayout.slidemaster property is deprecated.
417
+ - Rename Slide.slidelayout to Slide.slide_layout. Slide.slidelayout property
418
+ is deprecated.
419
+ - Add SlideMaster.shapes to access shapes on slide master.
420
+ - Add SlideMaster.placeholders to access placeholder shapes on slide master.
421
+ - Add _MasterPlaceholder class.
422
+ - Add _LayoutPlaceholder class with position and size inheritable from master
423
+ placeholder.
424
+ - Add _SlidePlaceholder class with position and size inheritable from layout
425
+ placeholder.
426
+ - Add Table.left, top, width, and height read/write properties.
427
+ - Add rudimentary GroupShape with left, top, width, and height properties.
428
+ - Add rudimentary Connector with left, top, width, and height properties.
429
+ - Add TextFrame.auto_size property.
430
+ - Add Presentation.slide_width and .slide_height read/write properties.
431
+ - Add LineFormat class providing access to read and change line color and
432
+ width.
433
+ - Add AutoShape.line
434
+ - Add Picture.line
435
+
436
+ - Rationalize enumerations. **Note backward incompatibilities below**
437
+
438
+ **BACKWARD INCOMPATIBILITIES:**
439
+
440
+ The following enumerations were moved/renamed during the rationalization of
441
+ enumerations:
442
+
443
+ - ``pptx.enum.MSO_COLOR_TYPE`` --> ``pptx.enum.dml.MSO_COLOR_TYPE``
444
+ - ``pptx.enum.MSO_FILL`` --> ``pptx.enum.dml.MSO_FILL``
445
+ - ``pptx.enum.MSO_THEME_COLOR`` --> ``pptx.enum.dml.MSO_THEME_COLOR``
446
+ - ``pptx.constants.MSO.ANCHOR_*`` --> ``pptx.enum.text.MSO_ANCHOR.*``
447
+ - ``pptx.constants.MSO_SHAPE`` --> ``pptx.enum.shapes.MSO_SHAPE``
448
+ - ``pptx.constants.PP.ALIGN_*`` --> ``pptx.enum.text.PP_ALIGN.*``
449
+ - ``pptx.constants.MSO.{SHAPE_TYPES}`` -->
450
+ ``pptx.enum.shapes.MSO_SHAPE_TYPE.*``
451
+
452
+ Documentation for all enumerations is available in the Enumerations section
453
+ of the User Guide.
454
+
455
+
456
+ 0.3.2 (2014-02-07)
457
+ ++++++++++++++++++
458
+
459
+ - Hotfix: issue #80 generated presentations fail to load in Keynote and other
460
+ Apple applications
461
+
462
+
463
+ 0.3.1 (2014-01-10)
464
+ ++++++++++++++++++
465
+
466
+ - Hotfix: failed to load certain presentations containing images with
467
+ uppercase extension
468
+
469
+
470
+ 0.3.0 (2013-12-12)
471
+ ++++++++++++++++++
472
+
473
+ - Add read/write font color property supporting RGB, theme color, and inherit
474
+ color types
475
+ - Add font typeface and italic support
476
+ - Add text frame margins and word-wrap
477
+ - Add support for external relationships, e.g. linked spreadsheet
478
+ - Add hyperlink support for text run in shape and table cell
479
+ - Add fill color and brightness for shape and table cell, fill can also be set
480
+ to transparent (no fill)
481
+ - Add read/write position and size properties to shape and picture
482
+ - Replace PIL dependency with Pillow
483
+ - Restructure modules to better suit size of library
484
+
485
+
486
+ 0.2.6 (2013-06-22)
487
+ ++++++++++++++++++
488
+
489
+ - Add read/write access to core document properties
490
+ - Hotfix to accomodate connector shapes in _AutoShapeType
491
+ - Hotfix to allow customXml parts to load when present
492
+
493
+
494
+ 0.2.5 (2013-06-11)
495
+ ++++++++++++++++++
496
+
497
+ - Add paragraph alignment property (left, right, centered, etc.)
498
+ - Add vertical alignment within table cell (top, middle, bottom)
499
+ - Add table cell margin properties
500
+ - Add table boolean properties: first column (row header), first row (column
501
+ headings), last row (for e.g. totals row), last column (for e.g. row
502
+ totals), horizontal banding, and vertical banding.
503
+ - Add support for auto shape adjustment values, e.g. change radius of corner
504
+ rounding on rounded rectangle, position of callout arrow, etc.
505
+
506
+
507
+ 0.2.4 (2013-05-16)
508
+ ++++++++++++++++++
509
+
510
+ - Add support for auto shapes (e.g. polygons, flowchart symbols, etc.)
511
+
512
+
513
+ 0.2.3 (2013-05-05)
514
+ ++++++++++++++++++
515
+
516
+ - Add support for table shapes
517
+ - Add indentation support to textbox shapes, enabling multi-level bullets on
518
+ bullet slides.
519
+
520
+
521
+ 0.2.2 (2013-03-25)
522
+ ++++++++++++++++++
523
+
524
+ - Add support for opening and saving a presentation from/to a file-like
525
+ object.
526
+ - Refactor XML handling to use lxml objectify
527
+
528
+
529
+ 0.2.1 (2013-02-25)
530
+ ++++++++++++++++++
531
+
532
+ - Add support for Python 2.6
533
+ - Add images from a stream (e.g. StringIO) in addition to a path, allowing
534
+ images retrieved from a database or network resource to be inserted without
535
+ saving first.
536
+ - Expand text methods to accept unicode and UTF-8 encoded 8-bit strings.
537
+ - Fix potential install bug triggered by importing ``__version__`` from
538
+ package ``__init__.py`` file.
539
+
540
+
541
+ 0.2.0 (2013-02-10)
542
+ ++++++++++++++++++
543
+
544
+ First non-alpha release with basic capabilities:
545
+
546
+ - open presentation/template or use built-in default template
547
+ - add slide
548
+ - set placeholder text (e.g. bullet slides)
549
+ - add picture
550
+ - add text box
@@ -0,0 +1,20 @@
1
+ The MIT License (MIT)
2
+ Copyright (c) 2013 Steve Canny, https://github.com/scanny
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,7 @@
1
+ include HISTORY.rst LICENSE README.rst tox.ini
2
+ recursive-include features *
3
+ recursive-include src/pptx/templates *
4
+ recursive-include tests *.py
5
+ recursive-include tests/test_files *
6
+
7
+ include FORK.md
@@ -0,0 +1,75 @@
1
+ Metadata-Version: 2.4
2
+ Name: ps-python-pptx
3
+ Version: 1.1.0
4
+ Summary: Python-pptx fork with public APIs for themes, backgrounds, lists, and rich text.
5
+ Author-email: Steve Canny <stcanny@gmail.com>
6
+ License: MIT
7
+ Project-URL: Changelog, https://github.com/pseudosavant/python-pptx/blob/master/HISTORY.rst
8
+ Project-URL: Documentation, https://python-pptx.readthedocs.io/en/latest/
9
+ Project-URL: Homepage, https://github.com/pseudosavant/python-pptx
10
+ Project-URL: Repository, https://github.com/pseudosavant/python-pptx
11
+ Keywords: powerpoint,ppt,pptx,openxml,office
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.8
20
+ Classifier: Programming Language :: Python :: 3.9
21
+ Classifier: Programming Language :: Python :: 3.10
22
+ Classifier: Programming Language :: Python :: 3.11
23
+ Classifier: Programming Language :: Python :: 3.12
24
+ Classifier: Topic :: Office/Business :: Office Suites
25
+ Classifier: Topic :: Software Development :: Libraries
26
+ Requires-Python: >=3.8
27
+ Description-Content-Type: text/x-rst
28
+ License-File: LICENSE
29
+ Requires-Dist: Pillow>=3.3.2
30
+ Requires-Dist: XlsxWriter>=0.5.7
31
+ Requires-Dist: lxml>=3.1.0
32
+ Requires-Dist: typing_extensions>=4.9.0
33
+ Dynamic: license-file
34
+
35
+ ps-python-pptx
36
+ ==============
37
+
38
+ This is the pseudosavant fork of python-pptx, published as ps-python-pptx.
39
+ It retains the pptx import package and the upstream MIT license and attribution.
40
+
41
+ Install with pip install ps-python-pptx. Use a fresh environment when switching
42
+ from python-pptx because both distributions provide the same import package.
43
+
44
+ Version 1.1.0 adds public APIs for alternative text and titles, shape stacking,
45
+ table styles, baseline shifts, strikethrough, paragraph bullets and indents,
46
+ theme colors and fonts, slide clearing, and explicit gradient/picture backgrounds.
47
+ See FORK.md for feature branches, upstream proposals, and release conventions.
48
+
49
+ Upstream project documentation follows.
50
+
51
+ *python-pptx* is a Python library for creating, reading, and updating PowerPoint (.pptx)
52
+ files.
53
+
54
+ A typical use would be generating a PowerPoint presentation from dynamic content such as
55
+ a database query, analytics output, or a JSON payload, perhaps in response to an HTTP
56
+ request and downloading the generated PPTX file in response. It runs on any Python
57
+ capable platform, including macOS and Linux, and does not require the PowerPoint
58
+ application to be installed or licensed.
59
+
60
+ It can also be used to analyze PowerPoint files from a corpus, perhaps to extract search
61
+ indexing text and images.
62
+
63
+ In can also be used to simply automate the production of a slide or two that would be
64
+ tedious to get right by hand, which is how this all got started.
65
+
66
+ More information is available in the `python-pptx documentation`_.
67
+
68
+ Browse `examples with screenshots`_ to get a quick idea what you can do with
69
+ python-pptx.
70
+
71
+ .. _`python-pptx documentation`:
72
+ https://python-pptx.readthedocs.org/en/latest/
73
+
74
+ .. _`examples with screenshots`:
75
+ https://python-pptx.readthedocs.org/en/latest/user/quickstart.html