Skip to content

Releases: jdum/odfdo

v3.17.0

11 Oct 10:29

Choose a tag to compare

  • Add Python 3.14 to the test suite, remove support for Python 3.9.
  • Add some tests for NamedRange, Row and styles functions.

v3.16.8

05 Oct 11:01

Choose a tag to compare

  • Add dedicated style classes and modules for container classes OfficeMasterStyles, OfficeAutomaticStyles and related style elements.
  • Refactor style classes in several modules (utils, defaults, properties).
  • Small refactoring of code.

v3.16.7

20 Sep 10:56

Choose a tag to compare

  • Refactor style classes to make it easier to manage page styles in the future.
  • Add dedicated style classes and modules for Master Page and related style elements.

v3.16.6

13 Sep 10:26

Choose a tag to compare

  • NamedRange can now be used locally on a table, not only at a global document level, as required by ODF standard.
  • Refactor of some functions and methods, including Element.xpath(), Element.get_office_names().
  • Fix style detection for TabStopStyle.
  • Refactor and add tests for Element, element_strip.py, Image, NamedRange, Annotation for better coverage.

v3.16.5

06 Sep 13:46

Choose a tag to compare

  • Add new recipe define_margins_and_position_for_a_table_in_a_text_document.py for positioning a table in a text document.
  • Add two scripts odfdo-from-csv and odfdo-to-csv for import/export CSV files (minimal implementation based on Python CSV module).
  • Refactor some internal functions and methods using Xpath and matching parts of ODF elements.

v3.16.4

30 Aug 10:38

Choose a tag to compare

  • Add new recipes add_an_image_to_a_table_inside_text_document.py and add_an_image_to_a_table_inside_spreadsheet.py to explain how to place an image in a table cell, either in a spreadsheet or in a text document.
  • Add deprecation warning on buggy Table.set_cell_image() method (issue #58).
  • Refactor and add tests for the element and styles module for better coverage and clarity.
  • Include lxml v6.0.1 in test suite.

v3.16.3

16 Aug 09:17

Choose a tag to compare

  • Small improvements to metadata handling such as loading metadata from dictionaries.
  • Add test for the Styles module for better coverage.

v3.16.2

15 Aug 12:04

Choose a tag to compare

Code refactoring for type hints and improved test coverage.

v3.16.1

09 Aug 10:24

Choose a tag to compare

  • Add a new recipe: how_to_change_default_language.py showing the use of the document.language property.
  • Refactor of code (type hints).
  • Migrate to the uv_build build system.

v3.16.0

02 Aug 15:47

Choose a tag to compare

  • Added methods to set the default document language, both in the default styles (the value used by LibreOffice) and in the metadata. In short: using the new property Document.language = "en-US" will make Document.language value to "en-US", both the default styles and meta fields now have this value.
  • Small fixes in the Style properties management.