Toolbars...

This commit is contained in:
Georgy Litvinov 2020-03-16 17:05:58 +01:00
parent ba3aa83516
commit 0fff36fa88
2 changed files with 88 additions and 161 deletions

View file

@ -1,153 +1,87 @@
<?xml version='1.0' encoding='UTF-8'?>
<?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="OfficeToolBar">
<node oor:name="pro.litvinovg.ePublishing.panel" oor:op="replace">
<prop oor:name="Title" oor:type="xs:string">
<value xml:lang="en-US">ePublishing panel</value>
<value xml:lang="ru">Панель ePublishing</value>
</prop>
<prop oor:name="Docked" oor:op="fuse">
<value>true</value>
</prop>
<prop oor:name="HideFromToolbarMenu" oor:op="fuse"><value>false</value></prop>
<prop oor:name="Locked" oor:op="fuse"><value>false</value></prop>
<node oor:name="ToolBarItems">
<node oor:name="buttonReplaceParaStyle" oor:op="replace">
<prop oor:name="Context" oor:type="xs:string">
<value>com.sun.star.text.TextDocument,com.sun.star.text.WebDocument</value>
</prop>
<prop oor:name="Title" oor:type="xs:string">
<value xml:lang="en-US">ePublishing panel</value>
<value xml:lang="ru">Панель ePublishing</value>
</prop>
<prop oor:name="URL" oor:type="xs:string">
<value>macro:///ePublishing.Archive.replaceParaStyle</value>
</prop>
<prop oor:name="Target" oor:type="xs:string">
<value>_self</value>
</prop>
</node>
<node oor:name="buttonBidirectLinks" oor:op="replace">
<prop oor:name="Context" oor:type="xs:string">
<value>com.sun.star.text.TextDocument,com.sun.star.text.WebDocument</value>
</prop>
<prop oor:name="Title" oor:type="xs:string">
<value xml:lang="en-US">ePublishing panel</value>
<value xml:lang="ru">Панель ePublishing</value>
</prop>
<prop oor:name="URL" oor:type="xs:string">
<value>macro:///ePublishing.Archive.createBidirectLink</value>
</prop>
<prop oor:name="Target" oor:type="xs:string">
<value>_self</value>
</prop>
</node>
<node oor:name="buttonShrinkText" oor:op="replace">
<prop oor:name="Context" oor:type="xs:string">
<value>com.sun.star.text.TextDocument,com.sun.star.text.WebDocument</value>
</prop>
<prop oor:name="Title" oor:type="xs:string">
<value xml:lang="en-US">ePublishing panel</value>
<value xml:lang="ru">Панель ePublishing</value>
</prop>
<prop oor:name="URL" oor:type="xs:string">
<value>macro:///ePublishing.Archive.shrinkPageContent</value>
</prop>
<prop oor:name="Target" oor:type="xs:string">
<value>_self</value>
</prop>
</node>
</node>
<node oor:name="buttonShrinkText" oor:op="replace">
<prop oor:name="Context" oor:type="xs:string">
<value>com.sun.star.text.TextDocument,com.sun.star.text.WebDocument</value>
</prop>
<prop oor:name="Title" oor:type="xs:string">
<value xml:lang="ru">Сжать текст</value>
<value xml:lang="en">Shrink text</value>
</prop>
<prop oor:name="URL" oor:type="xs:string">
<value>macro:///ePublishing.Archive.shrinkPageContent</value>
</prop>
<prop oor:name="Target" oor:type="xs:string">
<value>_self</value>
</prop>
</node>
<node oor:name="buttonReplaceParaStyle" oor:op="replace">
<prop oor:name="Context" oor:type="xs:string">
<value>com.sun.star.text.TextDocument,com.sun.star.text.WebDocument</value>
</prop>
<prop oor:name="Title" oor:type="xs:string">
<value xml:lang="ru">ЗаменитьСтильПараграфа</value>
<value xml:lang="en">ReplaceParaStyle</value>
</prop>
<prop oor:name="URL" oor:type="xs:string">
<value>macro:///ePublishing.Archive.replaceParaStyle</value>
</prop>
<prop oor:name="Target" oor:type="xs:string">
<value>_self</value>
</prop>
</node>
<node oor:name="buttonBidirectLinks" oor:op="replace">
<prop oor:name="Context" oor:type="xs:string">
<value>com.sun.star.text.TextDocument,com.sun.star.text.WebDocument</value>
</prop>
<prop oor:name="Title" oor:type="xs:string">
<value xml:lang="ru">СоздатьСвязанныеСсылки</value>
<value xml:lang="en">CreateBidirectLinks</value>
</prop>
<prop oor:name="URL" oor:type="xs:string">
<value>macro:///ePublishing.Archive.createBidirectLink</value>
</prop>
<prop oor:name="Target" oor:type="xs:string">
<value>_self</value>
</prop>
</node>
</node>
<node oor:name="AddonUI">
<node oor:name="OfficeToolBar">
<node oor:name="pro.litvinovg.ePublishing.panel" oor:op="replace">
<node oor:name="buttonShrinkText" oor:op="replace">
<prop oor:name="Context" oor:type="xs:string">
<value>com.sun.star.text.TextDocument,com.sun.star.text.WebDocument</value>
</prop>
<prop oor:name="Title" oor:type="xs:string">
<value xml:lang="ru">Сжать текст</value>
<value xml:lang="en">Shrink text</value>
</prop>
<prop oor:name="URL" oor:type="xs:string">
<value>macro:///ePublishing.Archive.shrinkPageContent</value>
</prop>
<prop oor:name="Target" oor:type="xs:string">
<value>_self</value>
</prop>
</node>
<node oor:name="Images">
<node oor:name="replace-para-button" oor:op="replace">
<prop oor:name="URL" oor:type="xs:string">
<value>macro:///ePublishing.Archive.replaceParaStyle</value>
</prop>
<node oor:name="UserDefinedImages">
<prop oor:name="ImageBigURL">
<value>%origin%/icons/validate.png</value>
</prop>
</node>
</node>
<node oor:name="create-bidirect-links-button" oor:op="replace">
<prop oor:name="URL" oor:type="xs:string">
<value>macro:///ePublishing.Archive.createBidirectLink</value>
</prop>
<node oor:name="UserDefinedImages">
<prop oor:name="ImageBigURL">
<value>%origin%/icons/validate.png</value>
</prop>
</node>
</node>
<node oor:name="shrink-text-button" oor:op="replace">
<prop oor:name="URL" oor:type="xs:string">
<value>macro:///ePublishing.Archive.shrinkPageContent</value>
</prop>
<node oor:name="UserDefinedImages">
<prop oor:name="ImageBigURL">
<value>%origin%/icons/validate.png</value>
</prop>
</node>
</node>
</node>
<node oor:name="buttonReplaceParaStyle" oor:op="replace">
<prop oor:name="Context" oor:type="xs:string">
<value>com.sun.star.text.TextDocument,com.sun.star.text.WebDocument</value>
</prop>
<prop oor:name="Title" oor:type="xs:string">
<value xml:lang="ru">ЗаменитьСтильПараграфа</value>
<value xml:lang="en">ReplaceParaStyle</value>
</prop>
<prop oor:name="URL" oor:type="xs:string">
<value>macro:///ePublishing.Archive.replaceParaStyle</value>
</prop>
<prop oor:name="Target" oor:type="xs:string">
<value>_self</value>
</prop>
</node>
<node oor:name="buttonBidirectLinks" oor:op="replace">
<prop oor:name="Context" oor:type="xs:string">
<value>com.sun.star.text.TextDocument,com.sun.star.text.WebDocument</value>
</prop>
<prop oor:name="Title" oor:type="xs:string">
<value xml:lang="ru">СоздатьСвязанныеСсылки</value>
<value xml:lang="en">CreateBidirectLinks</value>
</prop>
<prop oor:name="URL" oor:type="xs:string">
<value>macro:///ePublishing.Archive.createBidirectLink</value>
</prop>
<prop oor:name="Target" oor:type="xs:string">
<value>_self</value>
</prop>
</node>
</node>
</node>
<node oor:name="Images">
<node oor:name="replace-para-button" oor:op="replace">
<prop oor:name="URL" oor:type="xs:string">
<value>macro:///ePublishing.Archive.replaceParaStyle</value>
</prop>
<node oor:name="UserDefinedImages">
<prop oor:name="ImageBigURL">
<value>%origin%/icons/validate.png</value>
</prop>
</node>
</node>
<node oor:name="create-bidirect-links-button" oor:op="replace">
<prop oor:name="URL" oor:type="xs:string">
<value>macro:///ePublishing.Archive.createBidirectLink</value>
</prop>
<node oor:name="UserDefinedImages">
<prop oor:name="ImageBigURL">
<value>%origin%/icons/validate.png</value>
</prop>
</node>
</node>
<node oor:name="shrink-text-button" oor:op="replace">
<prop oor:name="URL" oor:type="xs:string">
<value>macro:///ePublishing.Archive.shrinkPageContent</value>
</prop>
<node oor:name="UserDefinedImages">
<prop oor:name="ImageBigURL">
<value>%origin%/icons/validate.png</value>
</prop>
</node>
</node>
</node>
<node oor:name="OfficeMenuBar">
<node oor:name="pro.litvinovg.epublishing.menu" oor:op="replace">
<prop oor:name="Context" oor:type="xs:string">
@ -156,7 +90,7 @@
<prop oor:name="Title" oor:type="xs:string">
<value xml:lang="en">ePublishing</value>
</prop>
<node oor:name="Submenu">
<node oor:name="Submenu">
<node oor:name="journalsMenu" oor:op="replace">
<prop oor:name="Title" oor:type="xs:string">
<value xml:lang="en">Journals</value>
@ -314,7 +248,6 @@
<value>_self</value>
</prop>
</node>
<node oor:name="TOCLinks" oor:op="replace">
<prop oor:name="Context" oor:type="xs:string">
<value>com.sun.star.text.TextDocument,com.sun.star.text.WebDocument</value>
@ -324,7 +257,7 @@
<value xml:lang="ru">Создать в ссылки в оглавлении</value>
</prop>
<prop oor:name="URL" oor:type="xs:string">
<value>macro:///ePublishing.TOCLinks.makeOutlineLinks</value>
<value>macro:///ePublishing.TOCLinks.makeOutlineLinks</value>
</prop>
<prop oor:name="Target" oor:type="xs:string">
<value>_self</value>
@ -339,20 +272,14 @@
<value xml:lang="ru">Повернуть страницу</value>
</prop>
<prop oor:name="URL" oor:type="xs:string">
<value>macro:///ePublishing.Album.rotatePageButton</value>
<value>macro:///ePublishing.Album.rotatePageButton</value>
</prop>
<prop oor:name="Target" oor:type="xs:string">
<value>_self</value>
</prop>
</node>
</node>
</node>
</node>
</node>
</node>
</oor:component-data>

View file

@ -4,8 +4,8 @@
<node oor:name="States">
<node oor:name="private:resource/toolbar/addon_pro.litvinovg.ePublishing.panel" oor:op="replace">
<prop oor:name="UIName" oor:type="xs:string">
<value xml:lang="en">XXXXXXXXXXXXXXX</value>
<value xml:lang="ru">YYYYYYYYYYYYYYYYYY</value>
<value xml:lang="en">ePublishing main panel</value>
<value xml:lang="ru">Основная панель ePublishing</value>
</prop>
</node>
</node>