Odfdo

Latest version: v3.9.4

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

Scan your dependencies

Page 2 of 5

3.7.13

- Fix parsing of Date and Datetime for a better compliance with ISO8601.

Changed

- Updating dependency versions.

Fixed

- Fix datetime encoding/decoding for ISO8601 compliance and different Python versions.

- Move from strptime() to date.isoformat() for class Date and DateTime.

3.7.12

- Update dependencies and test suite, support of `lxml` version 5.3.0.

Changed

- Updating dependency versions.

Fixed

- Fix a type hint in element.py

- Fix missing .venv in gitconfig

3.7.11

- New script `odfdo-userfield` to show or set the user-field content in an ODF file.

Added

- Add script `odfdo-userfield`.

Changed

- Updating dependency versions.

3.7.10

- Refactor to add property getter for some common methods. Original get\_\*
method is still available and permits detailed requests with parameters.

- Body.tables -> Body.get_tables()
- Element.tocs -> Element.get_tocs()
- Element.toc -> Element.get_toc()
- Element.text_changes -> Element.get_text_changes()
- Element.tracked_changes -> Element.get_tracked_changes()
- Element.user_defined_list -> Element.get_user_defined_list()
- Element.images -> Element.get_images()
- Element.frames -> Element.get_frames()
- Element.lists -> Element.get_lists()
- Element.headers -> Element.get_headers()
- Element.spans -> Element.get_spans()
- Element.paragraphs -> Element.get_paragraphs()
- Element.sections -> Element.get_sections()
- Table.rows -> Table.get_rows()
- Table.cells -> Table.get_cells()
- Table.columns -> Table.get_columns()
- Row.cells -> Row.get_cells()
- Document.parts -> Document.get_parts()
- Container.parts -> Container.get_parts()

- Refactor to add property getter/setter for some common methods. Original get\_\*
and set\_\* methods are still available and permit detailed requests with parameters.

- Column.default_cell_style -> Column.get/set_default_cell_style()

Added

- Added `Body.tables`
- Added `Element.tocs`
- Added `Element.toc`
- Added `Element.text_changes`
- Added `Element.tracked_changes`
- Added `Element.images`
- Added `Element.frames`
- Added `Element.lists`
- Added `Element.headers`
- Added `Element.spans`
- Added `Element.paragraphs`
- Added `Element.sections`
- Added `Column.default_cell_style`
- Added `Table.rows`
- Added `Table.cells`
- Added `Table.columns`
- Added `Row.cells`
- Added `Document.parts`
- Added `Container.parts`

3.7.9

- Refactor the Body access methods, creating relevant a Body class and related sub-classes. Moved some access method from the Element class to relevant Body sub-classes.

- Refactor metadata methods to permit access throuh property (the legacy get\_\* and set\_\* methods are still available).

- Added a few metadata elements from the ODF standard (hyperlink-behaviour, auto-reload, template, print-dateprinted-by)

Added

- Added `MetaAutoReload` class
- Added `MetaHyperlinkBehaviour` class
- Added `MetaTemplate` class
- Added `DcCreatorMixin` class
- Added `DcDateMixin` class
- Added `Body` class
- Added `Chart` class
- Added `Database` class
- Added `Drawing` class
- Added `Image` class
- Added `Presentation` class
- Added `Spreadsheet` class
- Added `Text` class (renaming the previous internal `Text` class to `EText`)

3.7.8

Fix embedded chart analysis in documents, see recipe `change_values_of_a_chart_inside_a_document.py`.

Added

- Added `change_values_of_a_chart_inside_a_document.py` recipe

Changed

- The "pretty" setting when saving the file always defaults to False. This setting should only be used for debugging purposes

- `meta.generator` can be used via a property accessor

- (Internal change) move body() definition to xmlpart

- (Internal change) refactoring for future XML feature

Fixed

- Fix parsing of Table when parent uses "table:table-rows" kind of wrapper

- Fix a bug when a Cell contains the valid 'NaN' Decimal number

Page 2 of 5

© 2024 Safety CLI Cybersecurity Inc. All Rights Reserved.