Skip to content

Commit 8323cde

Browse files
committed
new version 1.0.4
1 parent 782b57b commit 8323cde

File tree

7 files changed

+45
-11
lines changed

7 files changed

+45
-11
lines changed

JaybirdOOo.update.xml

+3-3
Original file line numberDiff line numberDiff line change
@@ -28,7 +28,7 @@
2828
xmlns="http://openoffice.org/extensions/update/2006"
2929
xmlns:xlink="http://www.w3.org/1999/xlink">
3030
<identifier value="io.github.prrvchr.JaybirdOOo"/>
31-
<version value="1.0.3"/>
31+
<version value="1.0.4"/>
3232
<update-download>
3333
<src xlink:href="https://github.com/prrvchr/JaybirdOOo/releases/latest/download/JaybirdOOo.oxt"/>
3434
</update-download>
@@ -40,7 +40,7 @@
4040
<name xlink:href="https://prrvchr.github.io/JaybirdOOo/README_fr" lang="fr">JaybirdOOo</name>
4141
</publisher>
4242
<release-notes>
43-
<src xlink:href="https://prrvchr.github.io/JaybirdOOo/#what-has-been-done-for-version-103" lang="en"/>
44-
<src xlink:href="https://prrvchr.github.io/JaybirdOOo/README_fr#ce-qui-a-%C3%A9t%C3%A9-fait-pour-la-version-103" lang="fr"/>
43+
<src xlink:href="https://prrvchr.github.io/JaybirdOOo/#what-has-been-done-for-version-104" lang="en"/>
44+
<src xlink:href="https://prrvchr.github.io/JaybirdOOo/README_fr#ce-qui-a-%C3%A9t%C3%A9-fait-pour-la-version-104" lang="fr"/>
4545
</release-notes>
4646
</description>

README.md

+8-3
Original file line numberDiff line numberDiff line change
@@ -29,7 +29,7 @@
2929

3030
**The use of this software subjects you to our [Terms Of Use][4].**
3131

32-
# version [1.0.3][5]
32+
# version [1.0.4][5]
3333

3434
## Introduction:
3535

@@ -164,7 +164,12 @@ ___
164164
- Changes to extension options that require a restart of LibreOffice will result in a message being displayed.
165165
- Support for LibreOffice version 24.8.x.
166166

167-
### What remains to be done for version 1.0.3:
167+
### What has been done for version 1.0.4:
168+
169+
- Requires the latest version of **jdbcDriverOOo 1.4.4**.
170+
- In the extension options it is possible to define the options: **View system tables**, **Use bookmarks** and **Force SQL mode** which will be specific to this driver.
171+
172+
### What remains to be done for version 1.0.4:
168173

169174
- Add new language for internationalization...
170175

@@ -191,7 +196,7 @@ ___
191196
[20]: <https://img.shields.io/github/v/tag/prrvchr/jdbcDriverOOo?label=latest#right>
192197
[21]: <img/JaybirdOOo.svg#middle>
193198
[22]: <https://github.com/prrvchr/JaybirdOOo/releases/latest/download/JaybirdOOo.oxt>
194-
[23]: <https://img.shields.io/github/downloads/prrvchr/JaybirdOOo/latest/total?label=v1.0.3#right>
199+
[23]: <https://img.shields.io/github/downloads/prrvchr/JaybirdOOo/latest/total?label=v1.0.4#right>
195200
[24]: <img/JaybirdOOo-1.png>
196201
[25]: <img/JaybirdOOo-2.png>
197202
[26]: <img/JaybirdOOo-3.png>

README_fr.md

+8-3
Original file line numberDiff line numberDiff line change
@@ -29,7 +29,7 @@
2929

3030
**L'utilisation de ce logiciel vous soumet à nos [Conditions d'utilisation][4].**
3131

32-
# version [1.0.3][5]
32+
# version [1.0.4][5]
3333

3434
## Introduction:
3535

@@ -164,7 +164,12 @@ ___
164164
- Les modifications apportées aux options de l'extension, qui nécessitent un redémarrage de LibreOffice, entraîneront l'affichage d'un message.
165165
- Support de LibreOffice version 24.8.x.
166166

167-
### Que reste-t-il à faire pour la version 1.0.3:
167+
### Ce qui a été fait pour la version 1.0.4:
168+
169+
- Nécessite la dernière version de **jdbcDriverOOo 1.4.4**.
170+
- Dans les options de l'extension il est possible de définir les options: **Afficher les tables système**, **Utiliser les signets** et **Forcer le mode SQL** qui seront spécifiques à ce pilote.
171+
172+
### Que reste-t-il à faire pour la version 1.0.4:
168173

169174
- Ajouter de nouvelles langue pour l'internationalisation...
170175

@@ -191,7 +196,7 @@ ___
191196
[20]: <https://img.shields.io/github/v/tag/prrvchr/jdbcDriverOOo?label=latest#right>
192197
[21]: <img/JaybirdOOo.svg#middle>
193198
[22]: <https://github.com/prrvchr/JaybirdOOo/releases/latest/download/JaybirdOOo.oxt>
194-
[23]: <https://img.shields.io/github/downloads/prrvchr/JaybirdOOo/latest/total?label=v1.0.3#right>
199+
[23]: <https://img.shields.io/github/downloads/prrvchr/JaybirdOOo/latest/total?label=v1.0.4#right>
195200
[24]: <img/JaybirdOOo-1_fr.png>
196201
[25]: <img/JaybirdOOo-2_fr.png>
197202
[26]: <img/JaybirdOOo-3_fr.png>

source/JaybirdOOo/Options.xcs

+3
Original file line numberDiff line numberDiff line change
@@ -34,5 +34,8 @@
3434
<component>
3535
<prop oor:name="DriverService" oor:type="xs:string"/>
3636
<prop oor:name="ConnectionService" oor:type="xs:string"/>
37+
<prop oor:name="ShowSystemTable" oor:type="xs:boolean"/>
38+
<prop oor:name="UseBookmark" oor:type="xs:boolean"/>
39+
<prop oor:name="SQLMode" oor:type="xs:boolean"/>
3740
</component>
3841
</oor:component-schema>

source/JaybirdOOo/Options.xcu

+9
Original file line numberDiff line numberDiff line change
@@ -37,4 +37,13 @@
3737
<prop oor:name="ConnectionService" oor:op="fuse">
3838
<value>com.sun.star.sdb.Connection</value>
3939
</prop>
40+
<prop oor:name="ShowSystemTable" oor:op="fuse">
41+
<value>false</value>
42+
</prop>
43+
<prop oor:name="UseBookmark" oor:op="fuse">
44+
<value>true</value>
45+
</prop>
46+
<prop oor:name="SQLMode" oor:op="fuse">
47+
<value>false</value>
48+
</prop>
4049
</oor:component-data>

source/JaybirdOOo/description.xml

+1-1
Original file line numberDiff line numberDiff line change
@@ -25,7 +25,7 @@
2525
╚════════════════════════════════════════════════════════════════════════════════════╝
2626
-->
2727
<description xmlns="http://openoffice.org/extensions/description/2006" xmlns:d="http://openoffice.org/extensions/description/2006" xmlns:xlink="http://www.w3.org/1999/xlink">
28-
<version value="1.0.3"/>
28+
<version value="1.0.4"/>
2929
<identifier value="io.github.prrvchr.JaybirdOOo"/>
3030
<platform value="all"/>
3131
<dependencies>

source/JaybirdOOo/service/OptionsHandler.py

+13-1
Original file line numberDiff line numberDiff line change
@@ -81,6 +81,15 @@ def callHandlerMethod(self, window, event, method):
8181
elif method == 'Level2':
8282
self._manager.setConnectionService(2)
8383
handled = True
84+
elif method == 'SystemTable':
85+
self._manager.setSystemTable(event.Source.State)
86+
handled = True
87+
elif method == 'UseBookmark':
88+
self._manager.setBookmark(event.Source.State)
89+
handled = True
90+
elif method == 'SQLMode':
91+
self._manager.setSQLMode(event.Source.State)
92+
handled = True
8493
return handled
8594
except Exception as e:
8695
print("ERROR: %s - %s" % (e, traceback.format_exc()))
@@ -91,7 +100,10 @@ def getSupportedMethodNames(self):
91100
'Enhanced',
92101
'Level0',
93102
'Level1',
94-
'Level2')
103+
'Level2',
104+
'SystemTable',
105+
'UseBookmark',
106+
'SQLMode')
95107

96108
# XServiceInfo
97109
def supportsService(self, service):

0 commit comments

Comments
 (0)