Python-docx-ng

Latest version: v0.9.7

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

Scan your dependencies

Page 2 of 6

0.8.6

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

- Add 257: add Font.highlight_color
- Add 261: add ParagraphFormat.tab_stops
- Add 303: disallow XML entity expansion

0.8.5

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

- Fix 149: KeyError on Document.add_table()
- Fix 78: feature: add_table() sets cell widths
- Add 106: feature: Table.direction (i.e. right-to-left)
- Add 102: feature: add CT_Row.trPr

0.8.4

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

- Fix 151: tests won't run on PyPI distribution
- Fix 124: default to inches on no TIFF resolution unit

0.8.3

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

- Add 121, 135, 139: feature: Font.color

0.8.2

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

- Fix 94: picture prints at wrong size when scaled
- Extract `docx.document.Document` object from `DocumentPart`

Refactor `docx.Document` from an object into a factory function for new
`docx.document.Document object`. Extract methods from prior `docx.Document`
and `docx.parts.document.DocumentPart` to form the new API class and retire
`docx.Document` class.

- Migrate `Document.numbering_part` to `DocumentPart.numbering_part`. The
`numbering_part` property is not part of the published API and is an
interim internal feature to be replaced in a future release, perhaps with
something like `Document.numbering_definitions`. In the meantime, it can
now be accessed using ``Document.part.numbering_part``.

0.8.1

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

- Fix 140: Warning triggered on Document.add_heading/table()

Page 2 of 6

© 2025 Safety CLI Cybersecurity Inc. All Rights Reserved.