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

Icon toolbars #42 #47

Open
wants to merge 4 commits into
base: master
Choose a base branch
from
Open
Show file tree
Hide file tree
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
132 changes: 110 additions & 22 deletions MendeleyEmptyExtension.oxt/Addons.xcu
Original file line number Diff line number Diff line change
Expand Up @@ -7,16 +7,16 @@
<node oor:name="AddonUI">
<node oor:name="OfficeToolBar">
<node oor:name="Mendeley.OfficeToolBar" oor:op="replace">
<prop oor:name="Title" oor:type="xs:string">
<value>Mendeley</value>
</prop>
<node oor:name="m3" oor:op="replace">
<prop oor:name="Context" oor:type="xs:string">
<value>com.sun.star.text.TextDocument</value>
<value>com.sun.star.text.TextDocument, com.sun.star.text.GlobalDocument</value>
</prop>
<prop oor:name="URL" oor:type="xs:string">
<value>macro:///Mendeley.mendeleyMain.insertCitation</value>
</prop>
<prop oor:name="ImageIdentifier" oor:type="xs:string">
<value>%origin%/icons/insertCitation</value>
</prop>
<prop oor:name="Title" oor:type="xs:string">
<value>Insert Citation</value>
</prop>
Expand All @@ -26,14 +26,11 @@
</node>
<node oor:name="m4" oor:op="replace">
<prop oor:name="Context" oor:type="xs:string">
<value>com.sun.star.text.TextDocument</value>
<value>com.sun.star.text.TextDocument, com.sun.star.text.GlobalDocument</value>
</prop>
<prop oor:name="URL" oor:type="xs:string">
<value>macro:///Mendeley.mendeleyMain.undoEdit</value>
</prop>
<prop oor:name="ImageIdentifier" oor:type="xs:string">
<value>%origin%/icons/undoEdit</value>
</prop>
<prop oor:name="Title" oor:type="xs:string">
<value>Undo Edit</value>
</prop>
Expand All @@ -43,14 +40,11 @@
</node>
<node oor:name="m5" oor:op="replace">
<prop oor:name="Context" oor:type="xs:string">
<value>com.sun.star.text.TextDocument</value>
<value>com.sun.star.text.TextDocument, com.sun.star.text.GlobalDocument</value>
</prop>
<prop oor:name="URL" oor:type="xs:string">
<value>macro:///Mendeley.mendeleyMain.mergeCitations</value>
</prop>
<prop oor:name="ImageIdentifier" oor:type="xs:string">
<value>%origin%/icons/mergeCitations</value>
</prop>
<prop oor:name="Title" oor:type="xs:string">
<value>Merge Citations</value>
</prop>
Expand All @@ -60,14 +54,11 @@
</node>
<node oor:name="m6" oor:op="replace">
<prop oor:name="Context" oor:type="xs:string">
<value>com.sun.star.text.TextDocument</value>
<value>com.sun.star.text.TextDocument, com.sun.star.text.GlobalDocument</value>
</prop>
<prop oor:name="URL" oor:type="xs:string">
<value>macro:///Mendeley.mendeleyMain.insertBibliography</value>
</prop>
<prop oor:name="ImageIdentifier" oor:type="xs:string">
<value>%origin%/icons/insertBibliography</value>
</prop>
<prop oor:name="Title" oor:type="xs:string">
<value>Insert Bibliography</value>
</prop>
Expand All @@ -77,14 +68,11 @@
</node>
<node oor:name="m7" oor:op="replace">
<prop oor:name="Context" oor:type="xs:string">
<value>com.sun.star.text.TextDocument</value>
<value>com.sun.star.text.TextDocument, com.sun.star.text.GlobalDocument</value>
</prop>
<prop oor:name="URL" oor:type="xs:string">
<value>macro:///Mendeley.mendeleyMain.refresh</value>
</prop>
<prop oor:name="ImageIdentifier" oor:type="xs:string">
<value>%origin%/icons/refresh</value>
</prop>
<prop oor:name="Title" oor:type="xs:string">
<value>Refresh</value>
</prop>
Expand All @@ -94,7 +82,7 @@
</node>
<node oor:name="m8" oor:op="replace">
<prop oor:name="Context" oor:type="xs:string">
<value>com.sun.star.text.TextDocument</value>
<value>com.sun.star.text.TextDocument, com.sun.star.text.GlobalDocument</value>
</prop>
<prop oor:name="URL" oor:type="xs:string">
<value>macro:///Mendeley.mendeleyMain.chooseCitationStyle</value>
Expand All @@ -108,7 +96,7 @@
</node>
<node oor:name="m9" oor:op="replace">
<prop oor:name="Context" oor:type="xs:string">
<value>com.sun.star.text.TextDocument</value>
<value>com.sun.star.text.TextDocument, com.sun.star.text.GlobalDocument</value>
</prop>
<prop oor:name="URL" oor:type="xs:string">
<value>macro:///Mendeley.mendeleyMain.exportCompatibleMSWord</value>
Expand All @@ -122,5 +110,105 @@
</node>
</node>
</node>


<node oor:name="Images">
<node oor:name="Mendeley.Images.insertCitation" oor:op="replace">
<prop oor:name="URL" oor:type="xs:string">
<value>macro:///Mendeley.mendeleyMain.insertCitation</value>
</prop>
<node oor:name="UserDefinedImages">
<prop oor:name="ImageSmallURL">
<value>%origin%/icons/mendeley-insert-16.png</value>
</prop>
<prop oor:name="ImageBigURL">
<value>%origin%/icons/mendeley-insert-24.png</value>
</prop>
</node>
</node>
<node oor:name="Mendeley.Images.undoEdit" oor:op="replace">
<prop oor:name="URL" oor:type="xs:string">
<value>macro:///Mendeley.mendeleyMain.undoEdit</value>
</prop>
<node oor:name="UserDefinedImages">
<prop oor:name="ImageSmallURL">
<value>%origin%/icons/mendeley-undo-16.png</value>
</prop>
<prop oor:name="ImageBigURL">
<value>%origin%/icons/mendeley-undo-24.png</value>
</prop>
</node>
</node>
<node oor:name="Mendeley.Images.mergeCitations" oor:op="replace">
<prop oor:name="URL" oor:type="xs:string">
<value>macro:///Mendeley.mendeleyMain.mergeCitations</value>
</prop>
<node oor:name="UserDefinedImages">
<prop oor:name="ImageSmallURL">
<value>%origin%/icons/mendeley-merge-16.png</value>
</prop>
<prop oor:name="ImageBigURL">
<value>%origin%/icons/mendeley-merge-24.png</value>
</prop>
</node>
</node>

<node oor:name="Mendeley.Images.insertBibliography" oor:op="replace">
<prop oor:name="URL" oor:type="xs:string">
<value>macro:///Mendeley.mendeleyMain.insertBibliography</value>
</prop>
<node oor:name="UserDefinedImages">
<prop oor:name="ImageSmallURL">
<value>%origin%/icons/mendeley-bib-16.png</value>
</prop>
<prop oor:name="ImageBigURL">
<value>%origin%/icons/mendeley-bib-24.png</value>
</prop>
</node>
</node>



<node oor:name="Mendeley.Images.chooseCitationStyle" oor:op="replace">
<prop oor:name="URL" oor:type="xs:string">
<value>macro:///Mendeley.mendeleyMain.chooseCitationStyle</value>
</prop>
<node oor:name="UserDefinedImages">
<prop oor:name="ImageSmallURL">
<value>%origin%/icons/mendeley-prop-16.png</value>
</prop>
<prop oor:name="ImageBigURL">
<value>%origin%/icons/mendeley-prop-24.png</value>
</prop>
</node>
</node>
<node oor:name="Mendeley.Images.refresh" oor:op="replace">
<prop oor:name="URL" oor:type="xs:string">
<value>macro:///Mendeley.mendeleyMain.refresh</value>
</prop>
<node oor:name="UserDefinedImages">
<prop oor:name="ImageSmallURL">
<value>%origin%/icons/mendely-refresh-16.png</value>
</prop>
<prop oor:name="ImageBigURL">
<value>%origin%/icons/mendeley-refresh-24.png</value>
</prop>
</node>
</node>
<node oor:name="Mendeley.Images.exportCompatibleMSWord" oor:op="replace">
<prop oor:name="URL" oor:type="xs:string">
<value>macro:///Mendeley.mendeleyMain.exportCompatibleMSWord</value>
</prop>
<node oor:name="UserDefinedImages">
<prop oor:name="ImageSmallURL">
<value>%origin%/icons/mendeley-export-16.png</value>
</prop>
<prop oor:name="ImageBigURL">
<value>%origin%/icons/mendeley-export-24.png</value>
</prop>
</node>
</node>
</node>

</node>
</oor:component-data>
3 changes: 0 additions & 3 deletions MendeleyEmptyExtension.oxt/Office/UI/WriterWindowState.xcu
Original file line number Diff line number Diff line change
Expand Up @@ -9,9 +9,6 @@
<prop oor:name="UIName" oor:type="xs:string">
<value xml:lang="en-US">Mendeley</value>
</prop>
<prop oor:name="Style" oor:type="xs:int">
<value>2</value>
</prop>
</node>
</node>
</node>
Expand Down
Binary file not shown.
Binary file removed MendeleyEmptyExtension.oxt/icons/insertCitation_16.bmp
Binary file not shown.
Binary file added MendeleyEmptyExtension.oxt/icons/mendeley-bib-16.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
15 changes: 15 additions & 0 deletions MendeleyEmptyExtension.oxt/icons/mendeley-bib-16.svg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added MendeleyEmptyExtension.oxt/icons/mendeley-bib-24.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
15 changes: 15 additions & 0 deletions MendeleyEmptyExtension.oxt/icons/mendeley-bib-24.svg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading