Initialized project
This commit is contained in:
parent
072e974320
commit
11341e4b14
53 changed files with 2868 additions and 46 deletions
46
oxt/Addons.xcu
Normal file
46
oxt/Addons.xcu
Normal file
|
@ -0,0 +1,46 @@
|
|||
<?xml version='1.0' encoding='UTF-8'?>
|
||||
<oor:component-data oor:package="org.openoffice.Office" oor:name="Addons"
|
||||
xmlns:oor="http://openoffice.org/2001/registry" xmlns:xs="http://www.w3.org/2001/XMLSchema">
|
||||
<node oor:name="AddonUI">
|
||||
|
||||
<node oor:name="Images">
|
||||
<node oor:name="pro.litvinovg.docsettings.openGUIImage" oor:op="replace">
|
||||
<prop oor:name="URL" oor:type="xs:string">
|
||||
<value>service:pro.litvinovg.libreoffice.DocSettings?openGUI</value>
|
||||
</prop>
|
||||
<node oor:name="UserDefinedImages">
|
||||
<prop oor:name="ImageBigURL">
|
||||
<value>vnd.sun.star.extension://pro.litvinovg.libreoffice.docsettings/icons/button_icon.png</value>
|
||||
</prop>
|
||||
</node>
|
||||
</node>
|
||||
</node>
|
||||
|
||||
<node oor:name="OfficeToolBar">
|
||||
<node oor:name="pro.litvinovg.libreoffice.docsettings.toolbar" oor:op="replace">
|
||||
<prop oor:name="Title" oor:type="xs:string">
|
||||
<value>Document settings panel</value>
|
||||
</prop>
|
||||
<prop oor:name="Docked" oor:op="fuse"><value>true</value></prop>
|
||||
<node oor:name="t01" oor:op="replace">
|
||||
<prop oor:name="URL" oor:type="xs:string">
|
||||
<value>service:pro.litvinovg.libreoffice.DocSettings?openGUI</value>
|
||||
</prop>
|
||||
<prop oor:name="Target" oor:type="xs:string">
|
||||
<value>_self</value>
|
||||
</prop>
|
||||
<prop oor:name="Context" oor:type="xs:string">
|
||||
<value>com.sun.star.text.TextDocument</value>
|
||||
</prop>
|
||||
<prop oor:name="Title" oor:type="xs:string">
|
||||
<value xml:lang="en-US">Open document settings</value>
|
||||
<value xml:lang="ru-RU">Открыть настройки документа</value>
|
||||
</prop>
|
||||
</node>
|
||||
</node>
|
||||
</node>
|
||||
|
||||
|
||||
|
||||
</node>
|
||||
</oor:component-data>
|
14
oxt/Events.xcu
Normal file
14
oxt/Events.xcu
Normal file
|
@ -0,0 +1,14 @@
|
|||
<?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="Events"
|
||||
oor:package="org.openoffice.Office">
|
||||
<node oor:name="ApplicationEvents">
|
||||
<node oor:name="Bindings">
|
||||
<node oor:name="OnLoadFinished" oor:op="replace">
|
||||
<prop oor:name="BindingURL" oor:type="xs:string">
|
||||
<value>service:pro.litvinovg.libreoffice.DocSettings?onLoad</value>
|
||||
</prop>
|
||||
</node>
|
||||
</node>
|
||||
</node>
|
||||
</oor:component-data>
|
8
oxt/META-INF/manifest.xml
Normal file
8
oxt/META-INF/manifest.xml
Normal file
|
@ -0,0 +1,8 @@
|
|||
<?xml version="1.0" encoding="UTF-8"?>
|
||||
<manifest:manifest xmlns:manifest="http://openoffice.org/2001/manifest">
|
||||
<manifest:file-entry manifest:full-path="Events.xcu" manifest:media-type="application/vnd.sun.star.configuration-data"/>
|
||||
<manifest:file-entry manifest:full-path="Addons.xcu" manifest:media-type="application/vnd.sun.star.configuration-data"/>
|
||||
<manifest:file-entry manifest:full-path="docsettings_oxt.jar" manifest:media-type="application/vnd.sun.star.uno-component;type=Java"/>
|
||||
<manifest:file-entry manifest:full-path="WriterWindowState.xcu" manifest:media-type="application/vnd.sun.star.configuration-data"/>
|
||||
|
||||
</manifest:manifest>
|
27
oxt/WriterWindowState.xcu
Normal file
27
oxt/WriterWindowState.xcu
Normal file
|
@ -0,0 +1,27 @@
|
|||
<?xml version="1.0" encoding="UTF-8"?>
|
||||
<oor:component-data oor:package="org.openoffice.Office.UI" oor:name="WriterWindowState"
|
||||
xmlns:install="http://openoffice.org/2004/installation" xmlns:oor="http://openoffice.org/2001/registry" xmlns:xs="http://www.w3.org/2001/XMLSchema"
|
||||
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance">
|
||||
|
||||
<node oor:name="UIElements">
|
||||
<node oor:name="States">
|
||||
<!-- Used to dock the toolbar in the first toolbar row (by default it's floating) -->
|
||||
<node oor:name="private:resource/toolbar/addon_pro.litvinovg.libreoffice.docsettings.toolbar" oor:op="replace">
|
||||
<prop oor:name="UIName" oor:type="xs:string">
|
||||
<value xml:lang="en">Document settings</value>
|
||||
<value xml:lang="ru">Настройки документа</value>
|
||||
</prop>
|
||||
<prop oor:name="DockPos" oor:type="xs:string">
|
||||
<value>10,0</value>
|
||||
</prop>
|
||||
<prop oor:name="Docked" oor:type="xs:boolean">
|
||||
<value>true</value>
|
||||
</prop>
|
||||
<prop oor:name="DockingArea" oor:type="xs:int">
|
||||
<value>0</value>
|
||||
</prop>
|
||||
</node>
|
||||
</node>
|
||||
</node>
|
||||
|
||||
</oor:component-data>
|
38
oxt/description.xml
Normal file
38
oxt/description.xml
Normal file
|
@ -0,0 +1,38 @@
|
|||
<?xml version="1.0" encoding="UTF-8" standalone="no"?>
|
||||
<description xmlns="http://openoffice.org/extensions/description/2006" xmlns:dep="http://openoffice.org/extensions/description/2006" xmlns:xlink="http://www.w3.org/1999/xlink">
|
||||
<identifier value="pro.litvinovg.libreoffice.docsettings"/>
|
||||
<version value="0.0.6"/>
|
||||
<platform value="all"/>
|
||||
<display-name>
|
||||
<name lang="ru">Управление настройками документов</name>
|
||||
<name lang="en">Docement settings management</name>
|
||||
</display-name>
|
||||
<registration>
|
||||
<simple-license accept-by="admin" suppress-if-required="true" suppress-on-update="true">
|
||||
<license-text lang="en" xlink:href="license_en.txt"/>
|
||||
<license-text lang="ru" xlink:href="license_ru.txt"/>
|
||||
</simple-license>
|
||||
</registration>
|
||||
<dependencies>
|
||||
<OpenOffice.org-minimal-version dep:name="OpenOffice.org, LibreOffice 4.1 or later" value="4.1"/>
|
||||
</dependencies>
|
||||
<update-information>
|
||||
<src xlink:href="https://dev.litvinovg.pro/litvinovg/docsettings/-/raw/master/update.xml"/>
|
||||
</update-information>
|
||||
<publisher>
|
||||
<name lang="en" xlink:href="mailto:public@litvinovg.pro">Georgy Litvinov</name>
|
||||
<name lang="ru" xlink:href="mailto:public@litvinovg.pro">Георгий Литвинов</name>
|
||||
</publisher>
|
||||
<release-notes>
|
||||
<src lang="en" xlink:href="releasenotes.txt"/>
|
||||
</release-notes>
|
||||
<extension-description>
|
||||
<src lang="ru" xlink:href="description/description_ru.txt"/>
|
||||
<src lang="en" xlink:href="description/description_en.txt"/>
|
||||
</extension-description>
|
||||
|
||||
<icon>
|
||||
<default xlink:href="icons/addon_icon.png"/>
|
||||
<high-contrast xlink:href="icons/addon_icon.png"/>
|
||||
</icon>
|
||||
</description>
|
2
oxt/description/description_en.txt
Normal file
2
oxt/description/description_en.txt
Normal file
|
@ -0,0 +1,2 @@
|
|||
Extension for document settings configuration.
|
||||
Provides a way to create setttings backups and restore from it.
|
2
oxt/description/description_ru.txt
Normal file
2
oxt/description/description_ru.txt
Normal file
|
@ -0,0 +1,2 @@
|
|||
Расширение для управления настройками документов
|
||||
Предоставляет возможность создания резервных копий настроек и восстановления из них.
|
BIN
oxt/icons/addon_icon.png
Normal file
BIN
oxt/icons/addon_icon.png
Normal file
Binary file not shown.
After Width: | Height: | Size: 13 KiB |
BIN
oxt/icons/button_icon.png
Normal file
BIN
oxt/icons/button_icon.png
Normal file
Binary file not shown.
After Width: | Height: | Size: 13 KiB |
10
oxt/license_en.txt
Normal file
10
oxt/license_en.txt
Normal file
|
@ -0,0 +1,10 @@
|
|||
The author of this extension is:
|
||||
Georgy Litvinov (public@litvinovg.pro)
|
||||
Copyright 2021.
|
||||
|
||||
This library is free software: you can redistribute it and/or modify it under the terms of the GNU Lesser General Public License as published by the Free Software Foundation, version 3 of the License.
|
||||
|
||||
This library is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU Lesser General Public License for more details.
|
||||
|
||||
You should have received a copy of the GNU Lesser General Public License along with this library. If not, see <http://www.gnu.org/licenses/>.
|
||||
|
7
oxt/license_ru.txt
Normal file
7
oxt/license_ru.txt
Normal file
|
@ -0,0 +1,7 @@
|
|||
Автор расширения:
|
||||
Георгий Литвинов (public@litvinovg.pro)
|
||||
Copyright 2021.
|
||||
|
||||
Это расширение является свободным программным обеспечением, вы можете распространять и/или модифицировать его в соответствии с лицензией GNU Lesser General Public License версии 3.0, опубликованной Free Software Foundation.
|
||||
|
||||
Это расширение распространяется в надежде, что оно будет полезным, но БЕЗ КАКИХ-ЛИБО ГАРАНТИЙ; даже без подразумеваемых гарантий КОММЕРЧЕСКОЙ ЦЕННОСТИ или ПРИГОДНОСТИ ДЛЯ КОНКРЕТНОЙ ЦЕЛИ. См. GNU Lesser General Public License для более детальной информации: http://www.gnu.org/licenses/
|
4
oxt/releasenotes.txt
Normal file
4
oxt/releasenotes.txt
Normal file
|
@ -0,0 +1,4 @@
|
|||
0.0.6 Added settings backup and restore options
|
||||
0.0.5 Removed obsoleted workaround
|
||||
0.0.3 Apply only to writer documents
|
||||
0.0.1 First public release with workaround for https://bugs.documentfoundation.org/show_bug.cgi?id=134782
|
Loading…
Add table
Add a link
Reference in a new issue