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 1 of 8

1.0.1

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

- Fix module 'collections' has no attribute 'Container' for latest python 3.10

1.0.0

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

- Release of a new version of the project
- Add setter for font in Run

0.6.21

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

- Fix 741 _DirPkgReader must implement .__contains__()

0.6.20

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

- Fix 206 accommodate NULL target-references in relationships.
- Fix 223 escape image filename that appears as literal in XML.
- Fix 517 option to display chart categories/values in reverse order.
- Major refactoring of ancient package loading code.

0.6.19

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

- Add shapes.add_ole_object(), allowing arbitrary Excel or other binary file to be
embedded as a shape on a slide. The OLE object is represented as an icon.

0.6.18

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

- .text property getters encode line-break as a vertical-tab (VT, '\v', ASCII 11/x0B).
This is consistent with PowerPoint's copy/paste behavior and allows like-breaks (soft
carriage-return) to be distinguished from paragraph boundary. Previously, a line-break
was encoded as a newline ('\n') and was not distinguishable from a paragraph boundary.

.text properties include Shape.text, _Cell.text, TextFrame.text, _Paragraph.text and
_Run.text.

- .text property setters accept vertical-tab character and place a line-break element in
that location. All other control characters other than horizontal-tab ('\t') and
newline ('\n') in range \x00-\x1F are accepted and escaped with plain-text like
"_x001B" for ESC (ASCII 27).

Previously a control character other than tab or newline in an assigned string would
trigger an exception related to invalid XML character.

Page 1 of 8

© 2024 Safety CLI Cybersecurity Inc. All Rights Reserved.