Skip to content
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

Microsoft Word Integration simliar to LibreOffice #6904

Open
Siedlerchr opened this issue Sep 12, 2020 · 13 comments
Open

Microsoft Word Integration simliar to LibreOffice #6904

Siedlerchr opened this issue Sep 12, 2020 · 13 comments
Labels
microsoft office status: depends-on-external A bug or issue that depends on an update of an external library type: feature

Comments

@Siedlerchr
Copy link
Member

A longstanding wish by many users.
It should be possible to enter citations into Word directly from JabRef, simliar to the Open/LibreOffice functionality.
Currently JabRef only supports exporting to the word XML file format used by internal citation manager in Word.

https://discourse.jabref.org/t/microsoft-word-and-cls-bibliography-styles-integration/2133

It should be invesitgated, if this is possible to do this with Apache POI for if we need a kind of word extension.
Ideally the code for the LibreOffice and Word insertion should be abstracted/unified by a common interface.

@koppor
Copy link
Member

koppor commented Sep 15, 2020

Initial code: https://github.com/JabRef/JabRef4Word - this is based on Docear4Word.

@tobiasdiez
Copy link
Member

Another idea would be to fork Zotero's word plugin: https://github.com/zotero/zotero-word-for-windows-integration
This would reduce the maintenance cost in the future, for both JabRef and Zotoro. In the long term this may lead to one open source word plugin that can communicate to several bibliographic managers, instead of that each one has there own plugin.

@tobiasdiez
Copy link
Member

tobiasdiez commented Sep 16, 2020

On a second look, the zotero plugin still uses the old C++ interface while Microsoft is hard pushing the new Javascript-based Office Addons: https://docs.microsoft.com/en-us/office/dev/add-ins/word/?view=word-js-preview
They work on Windows as well as on Mac (and web). So it seems they are the future-oriented technology.

Still, I think we should coordinate with the Zotero team. In particular, it should be compatible with the zotero format of inserting references, which is described here: https://github.com/rmzelle/ref-extractor/wiki. Example document: https://github.com/GVogeler/DHd2018/blob/1c2ff2f52eba09229a294658512e4251aeb78430/input/xml/BURGHARDT_Manuel_Digital_Dylan___Computergest_tzte_Analyse_d.xml

@sfsharapov
Copy link

I can try to create Office Add-in with Visual Studio according to the instructions from here: https://docs.microsoft.com/en-us/office/dev/add-ins/develop/develop-add-ins-visual-studio. Initially, it is planned to have simple user interface written in plain HTML, CSS, Javascript.

I have downloaded initial code JabRef4Word to try it out. I need some time to familiarise with zotero format. I would like to develop it in C#, if it is possible.

@tobiasdiez
Copy link
Member

Thanks for your interest @sfsharapov!

I share your preference for C#. However, it would be good if you could do a small research about what Microsoft is recommending for a new Add-in. Last time, I had the strong impression they were pushing strongly for Javascript/Typescript. For example, I don't think it is possible to integrate C# add-ins with Word Online (Browser version). Thus I got the impression the JS path is more future-proof.

@Siedlerchr
Copy link
Member Author

For those looking into the issue: As the JS Api runs in a browser context, you obvioulsy can't access the file system. So you would need to use some kind of (web) sockets to connect to JabRef.

@tobiasdiez
Copy link
Member

For every one interested in working on this for GSoC: In your project proposal, you can mostly ignore the issue of how to get the data from JabRef. For this, we are currently adding an API at https://github.com/JabRef/JabRefOnline, and other forms (e.g Websocket) are also in preparation. Instead, please focus on use cases and user interaction.

@koppor
Copy link
Member

koppor commented Sep 22, 2021

Workaround: YouTube video showing how a solution works by exporting all references to Word: https://www.youtube.com/watch?v=Q62nO-KDDZw

@Siedlerchr
Copy link
Member Author

We need to create the connection to Jabref online to use the new developed Word add-on from Mohit

@koppor
Copy link
Member

koppor commented Nov 14, 2021

We could have JabRef offering a GraphQL interface so that the word add in can connect to it. Thus, no online hosting is necessary when working in a protected environment.

@iandol
Copy link

iandol commented Aug 26, 2022

Please note @Siedlerchr that a Microsoft rep has just replied to the forums regarding some support for a JabRef JS add-in for Word, very encouraging!

https://discourse.jabref.org/t/incorporate-docear4word-into-jabref-4/619/10

@claell
Copy link
Contributor

claell commented Dec 9, 2022

I'd really like to see this, as it's a crucial feature when promoting JabRef and also in general to use it productively with Word.

Not having this functionality was the main reason to decide for Citavi in a collaborative project, recently.

@HoussemNasri HoussemNasri self-assigned this Mar 22, 2023
@koppor koppor added the status: depends-on-external A bug or issue that depends on an update of an external library label Apr 25, 2023
@koppor
Copy link
Member

koppor commented Apr 25, 2023

Depends on fix for JDK-8240567: "MethodTooLargeException thrown while creating a jlink image".

@HoussemNasri HoussemNasri removed their assignment Apr 25, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
microsoft office status: depends-on-external A bug or issue that depends on an update of an external library type: feature
Projects
None yet
Development

No branches or pull requests

8 participants