Iroin-python-pptx

Latest version: v0.6.20

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

Scan your dependencies

Page 1 of 7

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.

0.6.17

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

- Add SlideLayouts.remove() - Delete unused slide-layout
- Add SlideLayout.used_by_slides - Get slides based on this slide-layout
- Add SlideLayouts.index() - Get index of slide-layout in master
- Add SlideLayouts.get_by_name() - Get slide-layout by its str name

0.6.16

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

- Feature 395 DataLabels.show_* properties, e.g. .show_percentage
- Feature 453 Chart data tolerates None for labels

0.6.15

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

- Fix 436 ValueAxis._cross_xAx fails on c:dateAxis

0.6.14

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

- Add _Cell.merge()
- Add _Cell.split()
- Add _Cell.__eq__()
- Add _Cell.is_merge_origin
- Add _Cell.is_spanned
- Add _Cell.span_height
- Add _Cell.span_width
- Add _Cell.text getter
- Add Table.iter_cells()
- Move pptx.shapes.table module to pptx.table
- Add user documentation 'Working with tables'

Page 1 of 7

© 2024 Safety CLI Cybersecurity Inc. All Rights Reserved.