Releases: jdum/odfdo
Releases · jdum/odfdo
v3.15.1
v3.15.0
- For concept clarity, rename iterator methods
Table.traverse()toTable.iter_rows(),Table.traverse_columns()toTable.iter_columns(),Row.traverse()toRow.iter_cells(), maintaining compatibility with aliases on previous names. - Add alias names for
Body.get_table(),tables,get_table():get_sheets(),sheets,get_sheet(). - Add the
Meta.strip()method to clean all metadata from a document and a recipe showing how it works. - Improve the
remove_tree()utility function (used in recipes) by adding thekeep_childrenargument. - Optimize access to columns in tables.
- Refactor of code (type hints) and improvement of the tests coverage.
v3.14.10
- Improve documentation and docstrings.
- Move classes
Column,Annotation,user fields,Spacer,Tab,Spacer,LineBreak, andSpanto their own module (compatibilty maintained with previous versions). - Minor fixes on classes
odfdo.variable.VarSetandodfdo.variable.VarTime. - Refactor of code and improvement of the tests coverage.
v3.14.9
v3.14.8
- Publish documentation on https://jdum.github.io/odfdo/
- The previous ./doc directory is removed, documentation can be generated locally, see README.md
v3.14.7
- Fixes for rare situations on table of contents without title, creation of
Annotation, emptyTablesoptimization. - Cosmetic improvement of Markdown export of small tables.
- Added the
util.remove_tree()function, used in a few recipes, to recursively remove a tag
v3.14.6
- Add support for the
lxmllibrary version 6.0.0. - Fix a slowness of
odfdo-showon big tables. - Technical updates: refactor internal cache for
TableandRow, add tests forRowclass, improve typing and doc strings on moduleodfdo.element, improve test suite speed.
v3.14.5
- Improve CVS conversion: refactor
Table.to_csv(),import_from_csv(), add classmethodTable.from_csv(), and add recipesexport_tables_to_csv_formatandimport_csv_content_into_a_table. - Add recipe
how_to_add_a_right_aligned_picture_to_a_text_document. - Technical updates: refactoring of Table iterators and some recipes' code, configure
mypycode analysis and refactoring.
v3.14.4
v3.14.3
- The rarely used
RowGroupclass is moved to a dedicated module and tests are added for this class. A new propertyTable.row_groupsreturning the list of row groups of the table is available. - A new recipe explains how to add a page footer by using the method
Style.set_page_footer().