- DEV-4268: Fix namespace issues with Custom Properties raising Unreadable Content error for MS Word users
- change package name to
python-docx-bb
to avoid confusion with version numbers and pypi - DEV-3948: Merge in upstream through
python-openxml/python-docx:1.1.2
- DEV-3861: add Custom Properties support from
michael-koeller:feature/custom_properties
python-openxml | Changes |
---|---|
1.1.2 (2024-05-01) |
|
1.1.1 (2024-04-29) |
|
1.1.0 (2023-11-03) |
|
1.0.1 (2023-10-12) |
|
1.0.0 (2023-10-01) |
|
- DEV-2649: add
w:shd
tag toTcPr
for colored table cells - Fix "text" attr setter for
CT_DR
andCT_IR
- DEV-3177: get children anywhere for all_runs for
CT_IR
to support runs nested inside of deletes
- DEV-3195: wrap
int()
call infloat()
so we can read float vals of size attrs in e.g.w:spacing
tags
- DEV-2853: fix
all_runs
methods of Ins and Del objects
- DEV-1807: fix
text
property ofCT_IR
andCT_DR
- DEV-1907: remove self-added
br
property fromCT_R
- having it there seemed to remove methods added by
ZeroOrMore()
- having it there seemed to remove methods added by
- DEV-1907: remove self-added
- Adds attributes to access more information about formatting
- DEV-1405: Comments in edit transfer
- Adds all_runs property to
Ins
andDel
objects - Allows us to get comments that affect runs inside Ins and Del
- Adds all_runs property to
- changes
comments
property of Paragraph to useall_runs
instead ofruns
- allows us to get comments from Ins and Del runs
- changes
- Adds ability to get all runs from Ins and Del objects
- Allows us to get comments that affect runs inside Ins and Del
- Adds support for reading and inserting comments
- Commits from user BayooG also add basic support for footnotes
- Upgrade BlackBoiler fork of bb-docx to python-openxml v0.8.11
python-openxml | Changes |
---|---|
0.8.11 (2021-05-15) |
|
0.8.10 (2019-01-08) |
|
0.8.9 (2019-01-08) |
|
0.8.8 (2019-01-07) |
|
0.8.7 (2018-08-18) |
|
- Change versioning scheme to depart from official repo
- Add insert_paragraph_after capability to support inserting a paragraph after an existing paragraph
- Add several Blackboiler required capabilities - adding runs, styling
- Add #257: add Font.highlight_color
- Add #261: add ParagraphFormat.tab_stops
- Add #303: disallow XML entity expansion
- 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
- Fix #151: tests won't run on PyPI distribution
- Fix #124: default to inches on no TIFF resolution unit
- Add #121, #135, #139: feature: Font.color
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
.
- Fix #140: Warning triggered on Document.add_heading/table()
- 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.
- Add feature #69: Table.alignment
- Add feature #29: Document.core_properties
- Add feature #65: _Cell.merge()
- Add feature #45: _Cell.add_table()
- Add feature #76: _Cell.add_paragraph()
- Add _Cell.tables property (read-only)
- Add Table.autofit
- Add feature #46: _Cell.width
- Fix: Word does not interpret <w:cr/> as line feed
- Add feature #14: Run.add_picture()
- Add feature #68: Paragraph.insert_paragraph_before()
- Add feature #51: Paragraph.alignment (read/write)
- Add feature #61: Paragraph.text setter
- Add feature #58: Run.add_tab()
- Add feature #70: Run.clear()
- Add feature #60: Run.text setter
- Add feature #39: Run.text and Paragraph.text interpret 'n' and 't' chars
- Add feature #15: section page size
- Add feature #66: add section
- Add page margins and page orientation properties on Section
- Major refactoring of oxml layer
- Add feature #19: Run.underline property
- Add feature #17: character style
- Fix issue #23, Document.add_picture() raises ValueError when document contains VML drawing.
- Add 20 tri-state properties on Run, including all-caps, double-strike, hidden, shadow, small-caps, and 15 others.
- Advance from alpha to beta status.
- Add pure-python image header parsing; drop Pillow dependency
- Hotfix: issue #4, Document.add_picture() fails on second and subsequent images.
- Complete Python 3 support, tested on Python 3.3
- Fix setup.py error on some Windows installs
- Full object-oriented rewrite
- Feature-parity with prior version
- text: add paragraph, run, text, bold, italic
- table: add table, add row, add column
- styles: specify style for paragraph, table
- picture: add inline picture, auto-scaling
- breaks: add page break
- tests: full pytest and behave-based 2-layer test suite
- Round-trip .docx file, preserving all parts and relationships
- Load default "template" .docx on open with no filename
- Open from stream and save to stream (file-like object)
- Add paragraph at and of document