-
-
Notifications
You must be signed in to change notification settings - Fork 2.8k
CSL4LibreOffice - F [Real-time switching of CSL Styles] #12472
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Conversation
PR #12309 can be merged independent of this. |
@calixtus Architecture violation is due to the One thought was instead of constructor injection for the adapter, we could obtain the databases in Making a new instance of the adapter (and passing latest databases via constructor) every time we add or remove a new library would be the architecturally correct solution, but it didn't make sense. |
You could maybe add a supplier callback to be able to get the state manager's list of database from a UI context |
The real question is, why in logic (business logic, alternating bibentries and so on) one has to get an observable list of currently open databases? The failing architecture test is just telling us, that thre is stuff that does not belong there. I need to take a deeper look. I can probably look tomorrow at it. |
That's because there is no method in
Sure! |
@subhramit please mark the review comments that you handled as resolved. |
Real-time switching of CSL Styles
Follow-up to #11712 and #12309
Closes #12309 (comment)
Closes https://github.com/JabRef/jabref-issue-melting-pot/issues/772 (internal)
Summary
CSLCitationOOAdapter
are no longer created for each cite action. Only one instance throughout for a LibreOffice document connection.<sup>5</sup>
used to be lost due to direct UNOsetText
calls in the number reassignment feature. Now,OOTextIntoOO.write
is used, which properly parses those tags to apply formatting.Limitations
Mandatory checks
CHANGELOG.md
described in a way that is understandable for the average user (if change is visible to the user)