Age | Commit message (Collapse) | Author |
|
Change-Id: Ia35bd38c40ec65025ab4f43bea71745f15a548c8
Reviewed-on: https://gerrit.libreoffice.org/84915
Reviewed-by: Julien Nabet <serval2412@yahoo.fr>
Tested-by: Julien Nabet <serval2412@yahoo.fr>
|
|
com.sun.star.util.PathSubstitution service provides
a "$(username)" variable since LO 5.2
This technique replaces the use of environment variables
Change-Id: Icca82d88a123312031874d355655d26718fb215b
|
|
So far, AllDialogs found only dialogs stored in
Base (.odb) documents.
From now on, dialogs in ThisComponent atr considered as well.
Change-Id: I4977b09140c673ad7aca379c1a67a2d731384782
|
|
Changed the type of the function GetLastUsedRow from int to long
in order to avoid overflows.
Change-Id: Ia0d789611f732eecdfdbe557b751dbead5748c45
Reviewed-on: https://gerrit.libreoffice.org/79586
Tested-by: Jenkins
Reviewed-by: Mike Kaganski <mike.kaganski@collabora.com>
|
|
Avoid confusion between Null, Empty and missing arguments
by creating a "missing" symbolic constants
and use it as argument when appropriate
Adapt Basic wrapper accordingly
Change-Id: Iede8a66ac348a041b984f124948cd65032946d7d
|
|
6.4 i.o. 6.3
Change-Id: I0a03de3ad6b67373f809433cd3dba6c2a7a461b3
|
|
Find and ProcOfLine are methods of the MODULE class
They return a value (as usual) but also parameters
passed by reference, which is not supported by Python
As a workaround, specific properties are set after
their execution
Change-Id: I70ed3646a6d701a4853d071d4ca6eb213276d5e9
|
|
Functions moved from module PropertiesGet to Application
No effect in Basic
Compliant with Python rules where module/class name is mandatory
Change-Id: I970825590cbce86a9178bd750ffdb23ce87ae282
|
|
Display basic objects
Change-Id: I45c5718d364c09d71bb6cd47171d0621fb4a00e7
|
|
Properties changed to methods when having arguments
Methods Find and ProcOfLine not supported
because they require passing arguments by reference
(not available in Python)
Change-Id: I92044e8ea4a07e2093b23699bf28b9d1ac0fe695
|
|
access2base.py is to be imported, not executed directly
URL to documentation corrected (space i.o. underscore)
Error messages aligned with documentation
Change-Id: Ia5dc662d1cfd4d08971ede8abd87da2c511595af
|
|
there's only a python3 here
Change-Id: I60213e22ec366d1891aebeaa0a8f3d17ac61f6d4
|
|
access2base.py if the Python wrapper to be imported
in user scripts.
Make file adapted to copy access2base.py in $INSTDIR/program directory
File can be found by user scripts on PYTHONPATH
Change-Id: Icb62f76d6e9df1110b70471178127c60a4dd46d0
|
|
Change-Id: Ic2f53e1bacaf49727347df5378f0e11443d57bf6
Reviewed-on: https://gerrit.libreoffice.org/77226
Reviewed-by: Julien Nabet <serval2412@yahoo.fr>
Tested-by: Julien Nabet <serval2412@yahoo.fr>
|
|
Change-Id: I78358348bf29cd4d63ec8bdad0d3e3ead5136c9e
Reviewed-on: https://gerrit.libreoffice.org/77227
Tested-by: Jenkins
Reviewed-by: Julien Nabet <serval2412@yahoo.fr>
|
|
Insert Python wrappers for object properties and methods
Insert Python helper functions
Change-Id: I9717c46ff8d3ab0d143c5861b928cbb57233812e
|
|
Change-Id: If96e8768d32d63d98b74dac92d42692243a5f531
|
|
... into Python.xba to host Python wrappers
Change-Id: Ic6824db883c6592067e482446258f60473ef4638
|
|
Change-Id: I309ce0b4aade85a510836be0d04bf66c916a464a
Reviewed-on: https://gerrit.libreoffice.org/75507
Reviewed-by: Julien Nabet <serval2412@yahoo.fr>
Tested-by: Jenkins
Reviewed-by: Andrea Gelmini <andrea.gelmini@gelma.net>
|
|
https://forum.openoffice.org/en/forum/viewtopic.php?
f=47&t=61447&sid=a91a30f8f02fe6dd656b2940a26d8c5c&start=30#p473874
Precise module name in call to _getResult...
|
|
To get faster access to parents from controls
Top classes (form, dialog and commandbar) should return Parent = Nothing
|
|
+ argument check on RunSQL
|
|
Convenient functions to be called from Python
|
|
... to workaround the limitation of Basic on Property Let
+ SetFocus i.o. setFocus (typo)
+ Tabstop i.o. TabStop (typo)
|
|
Introduce _This property in all classes and _Parent property where relevant
Accelerate processing of Item method in Collections
Enhance introspection
|
|
Addition of _This address in every Basic object
Default parameters reviewed when ambiguous
Typo's corrections
|
|
Error code is captured and made available from outside
the access2base library
|
|
Change-Id: I11c2ac4855a5fec2d26255ec3ab14ffe50e0fbbe
Reviewed-on: https://gerrit.libreoffice.org/71066
Tested-by: Jenkins
Reviewed-by: Mike Kaganski <mike.kaganski@collabora.com>
|
|
|
|
Labels were present for each language in L10N module but applied nowhere.
|
|
Change-Id: I82a348c7be067e777dced15dd014b8139cc9b1dc
Reviewed-on: https://gerrit.libreoffice.org/69224
Tested-by: Jenkins
Reviewed-by: Samuel Mehrbrodt <Samuel.Mehrbrodt@cib.de>
|
|
Change-Id: Id92fcd2fd33500cc9c60645c627c2fedf2378fb9
Reviewed-on: https://gerrit.libreoffice.org/69158
Tested-by: Jenkins
Reviewed-by: Mike Kaganski <mike.kaganski@collabora.com>
|
|
... at invoking uno:ChooseDesign, instead of saving it into user's
working directory.
Change-Id: I899b259faca7fbc6ba2f5cc4ac8638f34e5febc6
Reviewed-on: https://gerrit.libreoffice.org/66672
Tested-by: Jenkins
Reviewed-by: Michael Stahl <Michael.Stahl@cib.de>
|
|
(cherry picked from commit ab017c683002df7f76a792e369c00fd10e1024f0)
Change-Id: I1904652b60d49d7c2c79e8fda5803a2f0932f61d
Reviewed-on: https://gerrit.libreoffice.org/64865
Tested-by: Jenkins
Reviewed-by: Caolán McNamara <caolanm@redhat.com>
Tested-by: Caolán McNamara <caolanm@redhat.com>
|
|
(cherry picked from commit 7364f1749a8e25959aa580d7a4c2bc710a52ccbe)
Change-Id: I2821ceaf00735fde1903fce27a01fda390b3a926
Reviewed-on: https://gerrit.libreoffice.org/64864
Reviewed-by: Caolán McNamara <caolanm@redhat.com>
Tested-by: Caolán McNamara <caolanm@redhat.com>
|
|
(cherry picked from commit 3a4bcd943f772f1c284cdd01d5865df47886900b)
Change-Id: Icf7e775256dd3349ef774381b03b091a7a7d3d4f
Reviewed-on: https://gerrit.libreoffice.org/64863
Reviewed-by: Caolán McNamara <caolanm@redhat.com>
Tested-by: Caolán McNamara <caolanm@redhat.com>
|
|
(cherry picked from commit 6e5c06d0fe430c9e71c6705c14b160c950fc2c59)
Change-Id: Ib805072d371a6a57d7406d955a173d7d7f5ab626
Reviewed-on: https://gerrit.libreoffice.org/64851
Reviewed-by: Caolán McNamara <caolanm@redhat.com>
Tested-by: Caolán McNamara <caolanm@redhat.com>
|
|
(cherry picked from commit 58a04e692ad903a9a16e258afc7f80a37fa188cf)
Change-Id: I3004f9607d9551e9c8bce1bedcfe8426ed392170
Reviewed-on: https://gerrit.libreoffice.org/63609
Tested-by: Jenkins
Reviewed-by: Caolán McNamara <caolanm@redhat.com>
Tested-by: Caolán McNamara <caolanm@redhat.com>
|
|
RecordsetMax attribute of Database object is increased by 1
at each Recordset opening.
It is reset to zero at each database opening.
While the database remains open it is increased without limit.
Make it a Long type i.o. an Integer one.
Change-Id: Ifc9854cddc1917e4336c0c0c5aa1048623de2a49
|
|
Addition of Location property in OpenConnection sub
Change-Id: I58c278b3ff60290709df2e00ee48a05010813f4d
|
|
File location is known by URL property for non-registered databases
Effective Location now available for all databases
Change-Id: If1551f2644c82dbb4a4128c647810aa6a755f1ab
|
|
Typo error in commit f903dd5e21265e0b520c312bc41cd65a1ab74851
Change-Id: I3c770296d1d4063c6bd3190eb90df0389ecf8f26
|
|
The "flush" method is not always present in
com.sun.star.sdbc.drivers.OConnectionWrapper or
com.sun.star.sdbc.XConnection
objects.
=> Test presence before executing Connection.flush
Change-Id: I5ab4968ba6fdd0e23352e0cfe18907260c46b7b0
|
|
Basic builtin function IsDate
returns True for a null-length string.
Intercepted to avoid conversion to date giving "00:00:00"
Change-Id: Ie917574043ea743e43cd79c5d95d023c8ccab38a
|
|
(cherry picked from commit 16c6c9fbce5112869d554ca1f346f7c8f1bcc024)
Change-Id: I61f469100dc49fe9c00171b59c3390834bb3af78
Reviewed-on: https://gerrit.libreoffice.org/59425
Tested-by: Jenkins
Reviewed-by: Caolán McNamara <caolanm@redhat.com>
Tested-by: Caolán McNamara <caolanm@redhat.com>
|
|
In AllForms the manes and persistent names lists
must be stored in a fixed size array of strings
When # of forms = 0 lists array was left empty.
Change-Id: I9b98673688994730715bb7aeccce43a9ed4fa23d
|
|
(cherry picked from commit 3d3594a2c542fef7c78936f8528eba4595f2768e)
Change-Id: I5fc099b7b2677a3615f92aff738ae6958744e64b
Reviewed-on: https://gerrit.libreoffice.org/59381
Tested-by: Jenkins
Reviewed-by: Caolán McNamara <caolanm@redhat.com>
Tested-by: Caolán McNamara <caolanm@redhat.com>
|
|
Change-Id: Ia717a116056bddc7968a3e451058a94cb2bbbd29
Reviewed-on: https://gerrit.libreoffice.org/59003
Reviewed-by: Jean-Pierre Ledure <jp@ledure.be>
Tested-by: Jean-Pierre Ledure <jp@ledure.be>
Tested-by: Jenkins
|
|
So far, only a flat list of form names was implemented (by far the majority of cases).
Now, hierarchical form names (like "Folder1/Folder2/myForm") are accepted.
Impacts:
- on AllForms() and Forms() collections:
- insertion of _GetAllHierarchicalNames() to make list of names
- insertion of _CollectNames(): recursive function to walk thru folders
- insertion of _GetHierarchicalName(persistent name) to establist correspondence
- on OpenForm action
- on SelectObject action: form windows are not identified by title anymore
- on form and control events
- on arguments check when argument is a form object
Change-Id: I2da73ac3d4fe2d90b2e526fe510207c0f8ec8386
|
|
Change-Id: I673b9121968ff79e6313e4019bc02a3364b4737f
Reviewed-on: https://gerrit.libreoffice.org/58901
Reviewed-by: Jean-Pierre Ledure <jp@ledure.be>
Tested-by: Jean-Pierre Ledure <jp@ledure.be>
Tested-by: Jenkins
|