CSL4LibreOffice - A [GSoC '24]#11477
Conversation
…tead of index, basis for preferences)
This one seems slightly more complex. Planning on a separate PR for this. |
You can use the "Global Search window" as an example for this. Instead of creating a new dialog every time, you can create one dialog show and hide it. This approach will prevent losing the selection state. checkout: jabref/src/main/java/org/jabref/gui/search/GlobalSearchBar.java Lines 295 to 304 in 0e7c1ff |
Nice. After restart of JabRef, the style should also be selected. I assume that that style to be used is stored in the preferences? Is it stored in LibreOffice only? I would put it into the preferences and based on that lookup it the table. (Haven't looked into the code itself. Just assumptions. If I looked in the code I would search for: Where is the reference of the current style held. Where does the dialog put it? Can the dialog also read it from there? If not, where can it be persisted?) |
|
Current selected style should be stored in Open Office Preferences |
|
Follow-up PR: |
koppor
left a comment
There was a problem hiding this comment.
DevCall: This is OK to go through, JavaDoc for the OO thing is very optional (it was existing before). Let's focus on
a) the architecture (subhramit#7) and
b) preferences (should be done in the next days)
Refinement for future reference: OO thing refers to possible tests of |
More context: The preferences storage feature subhramit#6 (b) is currently dependent on the architecture (a), so both of the above are coupled, hence we'll try to finish them both together [PR - B of the project]. |
* upstream/main: Fix NPE when saving preferences (JabRef#11509) Switch to stream-based loading (JabRef#11479) Save unlinked local files dialog prefs (JabRef#11493) Add minimal support for biblatex data annotations (JabRef#11506) Fix handling of relative-file storage and auto linking (JabRef#11492) New Crowdin updates (JabRef#11504) Add missing issue numbers CSL4LibreOffice - A [GSoC '24] (JabRef#11477) Bump src/main/resources/csl-styles from `b2be5ae` to `fd6cb3e` (JabRef#11501) Bump gittools/actions from 1.1.1 to 1.2.0 (JabRef#11500) Bump com.kohlschutter.junixsocket:junixsocket-core from 2.9.1 to 2.10.0 (JabRef#11498) Bump commons-logging:commons-logging from 1.3.2 to 1.3.3 (JabRef#11499) Bump org.jsoup:jsoup from 1.17.2 to 1.18.1 (JabRef#11497) Bump com.kohlschutter.junixsocket:junixsocket-mysql from 2.9.1 to 2.10.0 (JabRef#11496) Bump org.openrewrite.recipe:rewrite-recipe-bom from 2.14.0 to 2.15.0 (JabRef#11495) FAQ updates (JabRef#11486) Update Gradle Wrapper from 8.8 to 8.9. Fix Chocolate.bib (JabRef#11491) # Conflicts: # src/main/java/org/jabref/gui/openoffice/OOBibBase.java # src/main/java/org/jabref/gui/openoffice/OpenOfficePanel.java # src/main/java/org/jabref/gui/openoffice/StyleSelectDialogView.java # src/main/java/org/jabref/gui/openoffice/StyleSelectDialogViewModel.java # src/main/java/org/jabref/preferences/JabRefPreferences.java
|
Follow-up PR: #11521 |
|
Pending ADR based on comment #12784 (comment), behind the introduction of |
Functionality to use CSL Style citations in OO/LO
Closes #8893
Closes #2146
[PR-A of the GSoC '24 CSL4LibreOffice Project]
Summary:
OOTextIntoOO#write].To insert a CSL Style Citation into the document:
Follow-up: #11521
Mandatory checks
CHANGELOG.mddescribed in a way that is understandable for the average user (if applicable)