CSL4LibreOffice - J [Respect database preference, miscellaneous refactoring] - #16484
Conversation
Signed-off-by: subhramit <subhramit.bb@live.in>
Signed-off-by: subhramit <subhramit.bb@live.in>
Signed-off-by: subhramit <subhramit.bb@live.in>
Signed-off-by: subhramit <subhramit.bb@live.in>
Signed-off-by: subhramit <subhramit.bb@live.in>
Signed-off-by: subhramit <subhramit.bb@live.in>
Signed-off-by: subhramit <subhramit.bb@live.in>
Signed-off-by: subhramit <subhramit.bb@live.in>
PR Summary by QodoLibreOffice CSL: respect active-tab lookup preference; simplify scope handling
AI Description
Diagram
High-Level Assessment
Files changed (9)
|
Code Review by Qodo
1.
|
Signed-off-by: subhramit <subhramit.bb@live.in>
Signed-off-by: subhramit <subhramit.bb@live.in>
Signed-off-by: subhramit <subhramit.bb@live.in>
Signed-off-by: subhramit <subhramit.bb@live.in>
Signed-off-by: subhramit <subhramit.bb@live.in>
Signed-off-by: subhramit <subhramit.bb@live.in>
|
LGTM, just tiny nitpicks |
Signed-off-by: subhramit <subhramit.bb@live.in>
Summary
This is a priming step for #11829 and #16380.
JStyle and BST respect the preference of "Look up BibTeX entries in the active tab only". CSL did not.
This causes an issue found by @pluto-han wherein he had the same entry open in two different libraries - thus our citation key generator would not resolve their citation keys to be distinct (a and b), but since during generation of bibliography all databases were always considered, they resulted in two different bibliography entries (which were same in content) in the references list.
This PR
makes CSL respect the preference (if enabled)
removes its complement option from the UI " (just ticked/unticked on one was enough)


Before:
After:
refactors CSL style method signatures to simplify code (e.g. gets rid of the supplier introduced in CSL4LibreOffice - F [Real-time switching of CSL Styles] #12472), get rid of redundant parameters
OpenOfficePanel)/StateManagerconcerns from the backend (OOBibBase).Steps to test
pr_J.mp4
Related issues and pull requests
Closes NA
AI usage
🧠 + [Zed + GPT 5 (manually driven)] + quite a bit of handwritten code
Checklist
CHANGELOG.mdin a way that can be understood by the average user (if change is visible to the user)