Python-petpptx

Latest version: v1.0.1

Safety actively analyzes 681881 Python packages for vulnerabilities to keep your Python projects secure.

Scan your dependencies

Page 5 of 8

0.5.8

++++++++++++++++++

- add Shape.click_action (hyperlink on shape)
- fix: 128 Chart cat and ser names not escaped
- fix: 153 shapes.title raises on no title shape
- fix: 170 remove seek(0) from Image.from_file()

0.5.7

++++++++++++++++++

- add PicturePlaceholder with .insert_picture() method
- add TablePlaceholder with .insert_table() method
- add ChartPlaceholder with .insert_chart() method
- add Picture.image property, returning Image object
- add Picture.crop_left, .crop_top, .crop_right, and .crop_bottom
- add Shape.placeholder_format and PlaceholderFormat object

**BACKWARD INCOMPATIBILITIES:**

Shape.shape_type is now unconditionally `MSO_SHAPE_TYPE.PLACEHOLDER` for all
placeholder shapes. Previously, some placeholder shapes reported
`MSO_SHAPE_TYPE.AUTO_SHAPE`, `MSO_SHAPE_TYPE.CHART`,
`MSO_SHAPE_TYPE.PICTURE`, or `MSO_SHAPE_TYPE.TABLE` for that property.

0.5.6

++++++++++++++++++

- fix 138 - UnicodeDecodeError in setup.py on Windows 7 Python 3.4

0.5.5

++++++++++++++++++

- feature 51 - add Python 3 support

0.5.4

++++++++++++++++++

- feature 43 - image native size in shapes.add_picture() is now calculated
based on DPI attribute in image file, if present, defaulting to 72 dpi.
- feature 113 - Add Paragraph.space_before, Paragraph.space_after, and
Paragraph.line_spacing

0.5.3

++++++++++++++++++

- add experimental feature TextFrame.fit_text()

Page 5 of 8

© 2024 Safety CLI Cybersecurity Inc. All Rights Reserved.