LO/OO: Refresh citations before syncing bibliography#15352
Conversation
Signed-off-by: subhramit <subhramit.bb@live.in>
Signed-off-by: subhramit <subhramit.bb@live.in>
Review Summary by QodoRefresh citations before syncing bibliography in LibreOffice
WalkthroughsDescription• Refresh citations before syncing bibliography in OO/LO panel • Simplify exception handling by catching generic Exception • Add test case for LibreOffice extension citation format • Update changelog with CSL support improvements Diagramflowchart LR
A["Make/Sync Bibliography"] --> B["Refresh Citations"]
B --> C["Update Citation Styles"]
C --> D["Mark Manager Updates"]
D --> E["Generate Bibliography"]
File Changes1. jabgui/src/main/java/org/jabref/gui/openoffice/OOBibBase.java
|
Code Review by Qodo
1.
|
Signed-off-by: subhramit <subhramit.bb@live.in>
Signed-off-by: subhramit <subhramit.bb@live.in>
This comment has been minimized.
This comment has been minimized.
This comment has been minimized.
This comment has been minimized.
Signed-off-by: subhramit <subhramit.bb@live.in>
This comment has been minimized.
This comment has been minimized.
This comment has been minimized.
This comment has been minimized.
Signed-off-by: subhramit <subhramit.bb@live.in>
This comment has been minimized.
This comment has been minimized.
Signed-off-by: subhramit <subhramit.bb@live.in>
This comment has been minimized.
This comment has been minimized.
| /// The list is generated based on the existing citations, in-text citations and empty citations in the document. | ||
| public void insertBibliography(XTextCursor cursor, CitationStyle selectedStyle, List<BibEntry> entries, BibDatabaseContext bibDatabaseContext, BibEntryTypesManager bibEntryTypesManager) | ||
| throws WrappedTargetException, CreationException { | ||
| throws Exception, CreationException { |
Signed-off-by: subhramit <subhramit.bb@live.in>
This comment has been minimized.
This comment has been minimized.
✅ All tests passed ✅🏷️ Commit: 8ae559d Learn more about TestLens at testlens.app. |
* Refresh citations before syncing bibliography Signed-off-by: subhramit <subhramit.bb@live.in> * Add test Signed-off-by: subhramit <subhramit.bb@live.in> * Add comment to testcase Signed-off-by: subhramit <subhramit.bb@live.in> * Changelog Signed-off-by: subhramit <subhramit.bb@live.in> * Restore gap Signed-off-by: subhramit <subhramit.bb@live.in> * Better exception handling Signed-off-by: subhramit <subhramit.bb@live.in> * Take qodo suggestion Signed-off-by: subhramit <subhramit.bb@live.in> * l10n Signed-off-by: subhramit <subhramit.bb@live.in> * Change order of real time number update Signed-off-by: subhramit <subhramit.bb@live.in> * Change order of real time number update Signed-off-by: subhramit <subhramit.bb@live.in> * Better exception handling, use qualified names Signed-off-by: subhramit <subhramit.bb@live.in> --------- Signed-off-by: subhramit <subhramit.bb@live.in>
* Refresh citations before syncing bibliography Signed-off-by: subhramit <subhramit.bb@live.in> * Add test Signed-off-by: subhramit <subhramit.bb@live.in> * Add comment to testcase Signed-off-by: subhramit <subhramit.bb@live.in> * Changelog Signed-off-by: subhramit <subhramit.bb@live.in> * Restore gap Signed-off-by: subhramit <subhramit.bb@live.in> * Better exception handling Signed-off-by: subhramit <subhramit.bb@live.in> * Take qodo suggestion Signed-off-by: subhramit <subhramit.bb@live.in> * l10n Signed-off-by: subhramit <subhramit.bb@live.in> * Change order of real time number update Signed-off-by: subhramit <subhramit.bb@live.in> * Change order of real time number update Signed-off-by: subhramit <subhramit.bb@live.in> * Better exception handling, use qualified names Signed-off-by: subhramit <subhramit.bb@live.in> --------- Signed-off-by: subhramit <subhramit.bb@live.in>
Closes #14387
Make CSL citations inserted using JabRef LO Converter extension recognizable by "Make/Sync bibliography" out of the box.
Convert using JabRef_LibreOffice_Extension to CSL

Open JabRef, refresh bibliography

Checklist
CHANGELOG.mdin a way that can be understood by the average user (if change is visible to the user)