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

View file

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