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

Show zotero addon in LibreOffice NotebookBar #51

Open
wants to merge 1 commit into
base: 6.0
Choose a base branch
from
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
83 changes: 82 additions & 1 deletion build/oxt/Addons.xcu
Original file line number Diff line number Diff line change
@@ -1,7 +1,88 @@
<?xml version="1.0" encoding="UTF-8"?>
<oor:component-data xmlns:oor="http://openoffice.org/2001/registry" xmlns:xs="http://www.w3.org/2001/XMLSchema" oor:name="Addons" oor:package="org.openoffice.Office">
<node oor:name="AddonUI">

<node oor:name="OfficeNotebookBar">
<node oor:name="Zotero.OfficeToolBar" oor:op="replace">
<node oor:name="m1" oor:op="replace">
<prop oor:name="Context" oor:type="xs:string">
<value>com.sun.star.text.TextDocument, com.sun.star.text.GlobalDocument</value>
</prop>
<prop oor:name="URL" oor:type="xs:string">
<value>service:org.zotero.integration.ooo.ZoteroOpenOfficeIntegration?addEditCitation</value>
</prop>
<prop oor:name="Title" oor:type="xs:string">
<value>Add/Edit Citation</value>
</prop>
<prop oor:name="Target" oor:type="xs:string">
<value>_self</value>
</prop>
</node>
<node oor:name="m3" oor:op="replace">
<prop oor:name="Context" oor:type="xs:string">
<value>com.sun.star.text.TextDocument, com.sun.star.text.GlobalDocument</value>
</prop>
<prop oor:name="URL" oor:type="xs:string">
<value>service:org.zotero.integration.ooo.ZoteroOpenOfficeIntegration?addEditBibliography</value>
</prop>
<prop oor:name="Title" oor:type="xs:string">
<value>Add/Edit Bibliography</value>
</prop>
<prop oor:name="Target" oor:type="xs:string">
<value>_self</value>
</prop>
</node>
<node oor:name="m5" oor:op="replace">
<prop oor:name="Context" oor:type="xs:string">
<value>com.sun.star.text.TextDocument, com.sun.star.text.GlobalDocument</value>
</prop>
<prop oor:name="URL" oor:type="xs:string">
<value>private:separator</value>
</prop>
</node>
<node oor:name="m6" oor:op="replace">
<prop oor:name="Context" oor:type="xs:string">
<value>com.sun.star.text.TextDocument, com.sun.star.text.GlobalDocument</value>
</prop>
<prop oor:name="URL" oor:type="xs:string">
<value>service:org.zotero.integration.ooo.ZoteroOpenOfficeIntegration?refresh</value>
</prop>
<prop oor:name="Title" oor:type="xs:string">
<value>Refresh</value>
</prop>
<prop oor:name="Target" oor:type="xs:string">
<value>_self</value>
</prop>
</node>
<node oor:name="m7" oor:op="replace">
<prop oor:name="Context" oor:type="xs:string">
<value>com.sun.star.text.TextDocument, com.sun.star.text.GlobalDocument</value>
</prop>
<prop oor:name="URL" oor:type="xs:string">
<value>service:org.zotero.integration.ooo.ZoteroOpenOfficeIntegration?setDocPrefs</value>
</prop>
<prop oor:name="Title" oor:type="xs:string">
<value>Set Document Preferences</value>
</prop>
<prop oor:name="Target" oor:type="xs:string">
<value>_self</value>
</prop>
</node>
<node oor:name="m8" oor:op="replace">
<prop oor:name="Context" oor:type="xs:string">
<value>com.sun.star.text.TextDocument, com.sun.star.text.GlobalDocument</value>
</prop>
<prop oor:name="URL" oor:type="xs:string">
<value>service:org.zotero.integration.ooo.ZoteroOpenOfficeIntegration?removeCodes</value>
</prop>
<prop oor:name="Title" oor:type="xs:string">
<value>Unlink Citations</value>
</prop>
<prop oor:name="Target" oor:type="xs:string">
<value>_self</value>
</prop>
</node>
</node>
</node>
<node oor:name="OfficeToolBar">
<node oor:name="Zotero.OfficeToolBar" oor:op="replace">
<prop oor:name="Title" oor:type="xs:string">
Expand Down