First release
This commit is contained in:
commit
e3871d39e6
12 changed files with 112 additions and 0 deletions
14
Events.xcu
Normal file
14
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="OnLoad" oor:op="replace">
|
||||
<prop oor:name="BindingURL" oor:type="xs:string">
|
||||
<value>vnd.sun.star.script:docSettings.Events.execOnDocumentLoad?language=Basic&location=application</value>
|
||||
</prop>
|
||||
</node>
|
||||
</node>
|
||||
</node>
|
||||
</oor:component-data>
|
5
META-INF/manifest.xml
Normal file
5
META-INF/manifest.xml
Normal file
|
@ -0,0 +1,5 @@
|
|||
<?xml version="1.0" encoding="UTF-8"?>
|
||||
<manifest:manifest>
|
||||
<manifest:file-entry manifest:full-path="docSettings/" manifest:media-type="application/vnd.sun.star.basic-library"/>
|
||||
<manifest:file-entry manifest:full-path="Events.xcu" manifest:media-type="application/vnd.sun.star.configuration-data"/>
|
||||
</manifest:manifest>
|
13
build.gradle
Normal file
13
build.gradle
Normal file
|
@ -0,0 +1,13 @@
|
|||
task oxt(type: Zip) {
|
||||
from './'
|
||||
include '*'
|
||||
include '*/*'
|
||||
include '*/*/*'
|
||||
include '*/*/*/*'
|
||||
exclude 'docSettings.oxt'
|
||||
exclude '.*'
|
||||
exclude 'build.gradle'
|
||||
exclude 'translations.ods'
|
||||
exclude 'update.xml'
|
||||
archiveName 'docSettings.oxt'
|
||||
}
|
37
description.xml
Normal file
37
description.xml
Normal file
|
@ -0,0 +1,37 @@
|
|||
<?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.1"/>
|
||||
<platform value="all"/>
|
||||
<display-name>
|
||||
<name lang="ru">Исправление свойств документов</name>
|
||||
<name lang="en">Docement settings fix</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>
|
||||
</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
description/description_en.txt
Normal file
2
description/description_en.txt
Normal file
|
@ -0,0 +1,2 @@
|
|||
Extension for document settings configuration.
|
||||
For now consists of workaround for https://bugs.documentfoundation.org/show_bug.cgi?id=134782
|
2
description/description_ru.txt
Normal file
2
description/description_ru.txt
Normal file
|
@ -0,0 +1,2 @@
|
|||
Расширение исправления настроек документов
|
||||
В данный момент содержит только исправления для https://bugs.documentfoundation.org/show_bug.cgi?id=134782
|
12
docSettings/Events.xba
Normal file
12
docSettings/Events.xba
Normal file
|
@ -0,0 +1,12 @@
|
|||
<?xml version="1.0" encoding="UTF-8"?>
|
||||
<!DOCTYPE script:module PUBLIC "-//OpenOffice.org//DTD OfficeDocument 1.0//EN" "module.dtd">
|
||||
<script:module xmlns:script="http://openoffice.org/2000/script" script:name="Events" script:language="StarBasic" script:moduleType="normal">Sub execOnDocumentLoad
|
||||
Dim fixCompatibilityOption As Boolean
|
||||
fixCompatibilityOption = true
|
||||
If fixCompatibilityOption Then
|
||||
Dim oDocSettings As Object
|
||||
oDocSettings = ThisComponent.createInstance( "com.sun.star.document.Settings" )
|
||||
oDocSettings.setPropertyValue("AddParaSpacingToTableCells", false)
|
||||
EndIf
|
||||
End Sub
|
||||
</script:module>
|
4
docSettings/dialog.xlb
Normal file
4
docSettings/dialog.xlb
Normal file
|
@ -0,0 +1,4 @@
|
|||
<?xml version="1.0" encoding="UTF-8"?>
|
||||
<!DOCTYPE library:library PUBLIC "-//OpenOffice.org//DTD OfficeDocument 1.0//EN" "library.dtd">
|
||||
<library:library xmlns:library="http://openoffice.org/2000/library" library:name="docSettings" library:readonly="false" library:passwordprotected="false">
|
||||
</library:library>
|
5
docSettings/script.xlb
Normal file
5
docSettings/script.xlb
Normal file
|
@ -0,0 +1,5 @@
|
|||
<?xml version="1.0" encoding="UTF-8"?>
|
||||
<!DOCTYPE library:library PUBLIC "-//OpenOffice.org//DTD OfficeDocument 1.0//EN" "library.dtd">
|
||||
<library:library xmlns:library="http://openoffice.org/2000/library" library:name="docSettings" library:readonly="false" library:passwordprotected="false">
|
||||
<library:element library:name="Events"/>
|
||||
</library:library>
|
10
license_en.txt
Normal file
10
license_en.txt
Normal file
|
@ -0,0 +1,10 @@
|
|||
The author of this extension is:
|
||||
Georgy Litvinov (public@litvinovg.pro)
|
||||
Copyright 2020.
|
||||
|
||||
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
license_ru.txt
Normal file
7
license_ru.txt
Normal file
|
@ -0,0 +1,7 @@
|
|||
Автор расширения:
|
||||
Георгий Литвинов (public@litvinovg.pro)
|
||||
Copyright 2020.
|
||||
|
||||
Это расширение является свободным программным обеспечением, вы можете распространять и/или модифицировать его в соответствии с лицензией GNU Lesser General Public License версии 3.0, опубликованной Free Software Foundation.
|
||||
|
||||
Это расширение распространяется в надежде, что оно будет полезным, но БЕЗ КАКИХ-ЛИБО ГАРАНТИЙ; даже без подразумеваемых гарантий КОММЕРЧЕСКОЙ ЦЕННОСТИ или ПРИГОДНОСТИ ДЛЯ КОНКРЕТНОЙ ЦЕЛИ. См. GNU Lesser General Public License для более детальной информации: http://www.gnu.org/licenses/
|
1
releasenotes.txt
Normal file
1
releasenotes.txt
Normal file
|
@ -0,0 +1 @@
|
|||
0.0.1 First public release with workaround for https://bugs.documentfoundation.org/show_bug.cgi?id=134782
|
Loading…
Add table
Reference in a new issue