Giter Site home page Giter Site logo

rosmaninho / zotero-libreoffice-integration Goto Github PK

View Code? Open in Web Editor NEW

This project forked from zotero/zotero-libreoffice-integration

1.0 0.0 0.0 24.01 MB

Zotero LibreOffice/OpenOffice.org/NeoOffice integration

Home Page: http://www.zotero.org/support/word_processor_plugin_installation#openoffice_libreoffice_neooffice

License: Other

Shell 1.46% Java 67.90% JavaScript 30.64%

zotero-libreoffice-integration's Introduction

Zotero LibreOffice Integration with Tabbed UI support

Zotero LibreOffice Integration comprises extensions for LibreOffice/OpenOffice.org/NeoOffice and Zotero that communicate using local web servers. This fork supports the Tabbed UI from LibreOffice. Credit to Julakali (https://github.com/julakali)

Build Requirements

LibreOffice SDK is not required.

To build:

  1. Run scripts/symlink_sdk
  2. Open Eclipse and import this project into your workspace.
  3. Right-click the project in the Eclipse Package Explorer and select "Java Build Path." Click the libraries tab and ensure that all referenced files exist, or else correct the paths.
  4. Double-click Zotero.jardesc. Click "Finish" to build Zotero.jar.
  5. Run buildoxt.sh from within the build directory to build install/Zotero_OpenOffice_Integration.oxt
  6. Install Zotero_OpenOffice_Integration.oxt into LibreOffice, either by choosing "Reinstall Extension" from within the Zotero preferences, by installing it manually from within LibreOffice, or by using unopkg from the command line.

Development Starter's Guide

This extension is fairly straightforward. It consists of a LibreOffice UNO based java extension for LibreOffice. The UNO runtime allows various programming languages to interface with a running LibreOffice process. The extension code is initialized by LibreOffice and starts execution in ZoteroOpenOfficeIntegrationImpl.java.

Communication between Zotero and LibreOffice is mediated in zoteroOpenOfficeIntegration.js where a TCP socket is initialized and used for both sending and receiving messages. The complimentary socket connection on the LibreOffice extension end is found in CommServer.java.

The Java extension code can be debugged directly during runtime. Follow these instructions to enable debugging in LibreOffice. Attempt performing a Zotero action in LibreOffice, which will freeze the process until a debugging client connects. Create a remote debugging configuration in Eclipse and run it. LibreOffice will unfreeze. If you add breakpoints in Eclipse they will be triggered freezing the LibreOffice process and allowing you to inspect the execution environment. This technique can be used to debug on remote or virtual machines too.

zotero-libreoffice-integration's People

Contributors

adam3smith avatar adomasven avatar aurimasv avatar avram avatar dstillman avatar kalinjul avatar otjura avatar rosmaninho avatar simonster avatar

Stargazers

 avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.