Skip to content

Develop#700

Merged
Amourspirit merged 126 commits into
mainfrom
develop
Mar 29, 2025
Merged

Develop#700
Amourspirit merged 126 commits into
mainfrom
develop

Conversation

@Amourspirit
Copy link
Copy Markdown
Owner

This pull request includes several changes to the ooodev library, mainly focusing on adding new classes, improving type annotations, and enhancing the documentation. The most important changes are summarized below:

Documentation Enhancements:

  • Added new sections and class documentation for ConnectCtx and Result in docs/src/conn/connect_ctx.rst and docs/src/utils/result.rst respectively. [1] [2]
  • Updated the version history in docs/version/version_hist.rst to include new features and changes introduced in version 0.53.0.

Codebase Improvements:

  • Introduced the ConnectCtx class in ooodev/conn/connect_ctx.py to manage connections to LibreOffice/OpenOffice.
  • Replaced the override import in multiple files to use ooodev.utils.typing.over.override for consistency. [1] [2]
  • Added type annotations to various methods in ooodev/conn/connect.py to improve type checking and code readability. [1] [2] [3] [4]

Loader Enhancements:

  • Added a force_reload option to Lo.Options to allow reloading the office connection, which is useful for extensions and testing. [1] [2]
  • Implemented the get_singleton method and _reset_all method in ooodev/loader/inst/lo_inst.py to manage office context and reset state. [1] [2]

Error Handling:

  • Improved error handling in the current_doc method of ooodev/loader/inst/lo_inst.py to return None if the document is not valid.

These changes collectively enhance the functionality, maintainability, and documentation of the ooodev library.

Amourspirit and others added 30 commits June 8, 2024 17:20
* Implement TheDictionaryPartial into many classes.

* from_obj methods
added doc custom properties and Json classes
added invoke_range_selection()
update for setting Lo current document and Logging
copy for RangeObj and CellObj
Amourspirit and others added 29 commits January 21, 2025 16:11
- Introduced LRUCache and TimeCache as singleton classes.
- Updated imports to reflect changes in cache structure.
- Added new documentation files for singleton cache classes.
- Deprecated PickleCache and updated references in the codebase.
update DotDict class to be generic and handle missing attributes
Add unique_id property to CalcCell for consistent cell identification
NULL_OBJ now is false in truthy check
Add DotDict class with enhanced functionality and documentation
@Amourspirit Amourspirit merged commit 9e8116d into main Mar 29, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant