Python-docx-ng

Latest version: v0.9.7

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

Scan your dependencies

Page 3 of 6

0.8.0

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

- Add styles. Provides general capability to access and manipulate paragraph,
character, and table styles.

- Add ParagraphFormat object, accessible on Paragraph.paragraph_format, and
providing the following paragraph formatting properties:

+ paragraph alignment (justfification)
+ space before and after paragraph
+ line spacing
+ indentation
+ keep together, keep with next, page break before, and widow control

- Add Font object, accessible on Run.font, providing character-level
formatting including:

+ typeface (e.g. 'Arial')
+ point size
+ underline
+ italic
+ bold
+ superscript and subscript

The following issues were retired:

- Add feature 56: superscript/subscript
- Add feature 67: lookup style by UI name
- Add feature 98: Paragraph indentation
- Add feature 120: Document.styles

**Backward incompatibilities**

Paragraph.style now returns a Style object. Previously it returned the style
name as a string. The name can now be retrieved using the Style.name
property, for example, `paragraph.style.name`.

0.7.6

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

- Add feature 69: Table.alignment
- Add feature 29: Document.core_properties

0.7.5

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

- Add feature 65: _Cell.merge()

0.7.4

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

- Add feature 45: _Cell.add_table()
- Add feature 76: _Cell.add_paragraph()
- Add _Cell.tables property (read-only)

0.7.3

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

- Add Table.autofit
- Add feature 46: _Cell.width

0.7.2

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

- Fix: Word does not interpret <w:cr/> as line feed

Page 3 of 6

© 2024 Safety CLI Cybersecurity Inc. All Rights Reserved.