path: root/wizards
AgeCommit message (Collapse)AuthorFilesLines
35 hoursimp is deprecated since Python v.3.4Mike Kaganski5-10/+50
This avoid Python warnings about this during checks Change-Id: I6647d9c93f3c2fbc1af475f8bc45e03300ee8b79 Reviewed-on: Tested-by: Jenkins Reviewed-by: Mike Kaganski <>
2020-05-08pyflakes3: fix some reports on wizardsJulien Nabet8-20/+19
Change-Id: I0fef17ccc8f110d1d8bf629737807f1bcc618b76 Reviewed-on: Tested-by: Jenkins Reviewed-by: Noel Grandin <>
2020-05-06pyflakes3: replace IllegalArgumentException by Exception (wizards)Julien Nabet5-5/+5
IllegalArgumentException doesn't exist Change-Id: Ifea6f56d19fb58136ac5d992107ab7179ac943b8 Reviewed-on: Tested-by: Jenkins Reviewed-by: Xisco Faulí <>
2020-05-06Move all public Java classes to libreoffice.jarSamuel Mehrbrodt6-12/+6
This moves the classes from juh.jar and ridl.jar to libreoffice.jar The goal is to have one single jar (and Java module, will be added later) which developers can include to work with LO. juh.jar and ridl.jar are kept as basically empty jars with libreoffice.jar on its classpath to keep backwards compatibility. This is a continuation of ae855bf48163ff64d94cfc34aff8e37abdb5518d and a preparation to have Java 9 module support. Change-Id: Ifbbfb97f60373d14256e62ae3122913bd17d5bbb Reviewed-on: Tested-by: Jenkins Reviewed-by: Stephan Bergmann <>
2020-05-06Access2Base - Version number 7.0Jean-Pierre Ledure3-2/+4
Change-Id: Ia75b4e02bd6def84d66ae89c1c4a688e8a027c23
2020-05-06pyflakes3: fix undefined name 'self' (wizards/access2base)Julien Nabet1-1/+1
Change-Id: I12083c0e85d9e9a63843b26648c4b5c8580efc7b Reviewed-on: Tested-by: Jenkins Tested-by: Jean-Pierre Ledure <> Reviewed-by: Jean-Pierre Ledure <>
2020-04-09pyuno,*: kill Python 2 support with fireMichael Stahl1-2/+0
Python 2 support was retained for use with --enable-python=system on RHEL7 and SLES. The time has arrived to remove it. Some .py files that were imported from third parties are not changed to enable easier replacement with updated versions if necessary. solenv/gdb should continue to support Python 2. bin/get-bugzilla-attachments-by-mimetype requires Python 2 to access Launchpad. Change-Id: I26414ae8e9f8402c90336af82020135685694217 Reviewed-on: Tested-by: Jenkins Reviewed-by: Michael Stahl <>
2020-03-30Related: tdf#131576 overlapping windows, move bottom one down a littleCaolán McNamara1-1/+1
Change-Id: I28c890740a92f183db72ab997627d564cba49ec0 Reviewed-on: Tested-by: Jenkins Reviewed-by: Caolán McNamara <>
2020-03-28tdf#131576: fix "Field information" in table wizard, step 2Julien Nabet1-1/+1
Change-Id: I8a0dfa9f483f32bc5858e628ff4bb9cb79c9c6a6 Reviewed-on: Tested-by: Jenkins Reviewed-by: Julien Nabet <>
2020-02-16GBUILD_TRACE, support for finding out where the build time is spentLuboš Luňák2-0/+4
See instructions in solenv/gbuild/ . This generates a file than can be viewed e.g. in the Chromium tracing view. Change-Id: I5f90647c58ca729375525b6daed2d4918adc8188 Reviewed-on: Tested-by: Jenkins Reviewed-by: Luboš Luňák <>
2020-02-09Fix typoAndrea Gelmini1-1/+1
Change-Id: I0f58bc3253cbd5d7341eddf9be7bda3d6c245f9c Reviewed-on: Tested-by: Julien Nabet <> Reviewed-by: Julien Nabet <>
2020-02-04tdf#117331 Merge jurt and unoil into ridlSamuel Mehrbrodt6-12/+0
jurt.jar and unoil.jar are kept as effectively empty jars, each with a Class-Path: ridl.jar in their meta-inf/, so that 3rd-party code loading them (with or without also loading ridl.jar) will still have access to their content. Conceptually, the UNOIDL entities in unoil.jar (corresponding to module offapi) are not part of the URE, but are now made available by URE's ridl.jar. This should probably not cause problems in practice. At least for now, we seal exactly those packages in ridl.jar that were originally sealed in jurt.jar. Ideally, all of ridl.jar could be sealed now, but that would be mildly incompatible, as it would prevent 3rd-party code from introducing additional UNOIDL entities in the relevant namespaces (even if that is something we do not want 3rd-party code to do anyway). However, some JunitTest_jurt_* define classes in those sealed packages. In the past they got away with that by using gb_JunitTest_use_jar_classset,*,jurt. Instead they now need to gb_JunitTest_use_jar_classset,*,ridl and drop the gb_JunitTest_use_jar,*,ridl. But the former only makes available the classes that are specified in ridljar/ with gb_Jar_add_sourcefiles, not the UNOIDL entities specified via gb_Jar_add_packagedirs. But the tests need the udkapi UNOIDL entities, so introduce gb_JunitTest_add_classpath to let the tests get them explicitly. (Curiously, JunitTest_jurt_uno and JnitTest_jurt_util use gb_JunitTest_use_jar_classset,*,jurt but don't seem to acutally need it; lets leave that for a follow-up clean up.) As a follow-up clean up, relevant files could be moved from jurt/ to ridljar/. Change-Id: I836f4e7bb47fb41f1306e3f223da90dba988eb9a Co-authored-by: Stephan Bergmann <> Reviewed-on: Tested-by: Jenkins Reviewed-by: Stephan Bergmann <>
2019-12-11Fix typoAndrea Gelmini1-2/+2
Change-Id: Ia35bd38c40ec65025ab4f43bea71745f15a548c8 Reviewed-on: Reviewed-by: Julien Nabet <> Tested-by: Julien Nabet <>
2019-11-18Fix 'is' operator for comparisonJens Carl1-1/+1
The 'is' operator should not be used for comparison on some types of literals. In CPython this works by accident and CPython 3.8 introduced a SyntaxWarning (see Change-Id: Ifabe22e4ae3b9e1d3bfd5a663f39500e381cfa6e Reviewed-on: Tested-by: Jenkins Reviewed-by: Xisco Faulí <>
2019-10-10Access2Base - CurrentUser based in PathSubstitutionJean-Pierre Ledure1-10/+5 service provides a "$(username)" variable since LO 5.2 This technique replaces the use of environment variables Change-Id: Icca82d88a123312031874d355655d26718fb215b
2019-10-09Access2Base - Support dialogs owned by non-Base docsJean-Pierre Ledure1-3/+8
So far, AllDialogs found only dialogs stored in Base (.odb) documents. From now on, dialogs in ThisComponent atr considered as well. Change-Id: I4977b09140c673ad7aca379c1a67a2d731384782
2019-09-27tdf#50846 - Wrong type of function GetLastUsedRowAndreas Heinisch2-6/+6
Changed the type of the function GetLastUsedRow from int to long in order to avoid overflows. Change-Id: Ia0d789611f732eecdfdbe557b751dbead5748c45 Reviewed-on: Tested-by: Jenkins Reviewed-by: Mike Kaganski <>
2019-09-10Fix typosAndrea Gelmini1-2/+2
Change-Id: Id62178a1a8b2e05d13c47f1ac4798578f140dbae Reviewed-on: Reviewed-by: Julien Nabet <> Tested-by: Jenkins
2019-09-06Fixing '....' and '..'Andrea Gelmini1-1/+1
Change-Id: I926069d6c1f2712e5020d930f7ff6c62fd00e912 Reviewed-on: Tested-by: Jenkins Reviewed-by: Julien Nabet <>
2019-09-01Fix '..'Andrea Gelmini2-2/+2
To complete this: This is a massive replace for lines ending with ".." instead of "..." It passed "make check" on Linux. Change-Id: I07fa7b2e30ba9ea17a1f9a5e21c57216ba958efe Reviewed-on: Reviewed-by: Julien Nabet <> Tested-by: Jenkins
2019-08-23Access2Base - (Python) Explicit missing argumentsJean-Pierre Ledure2-33/+30
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
2019-08-23Access2Base - Change version numberJean-Pierre Ledure1-1/+1
6.4 i.o. 6.3 Change-Id: I0a03de3ad6b67373f809433cd3dba6c2a7a461b3
2019-08-23Access2Base - Implement Find and ProcOfLineJean-Pierre Ledure2-13/+41
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
2019-08-20Access2Base - Move getObject, getValue and setValueJean-Pierre Ledure4-123/+123
Functions moved from module PropertiesGet to Application No effect in Basic Compliant with Python rules where module/class name is mandatory Change-Id: I970825590cbce86a9178bd750ffdb23ce87ae282
2019-08-17Access2Base - fix DebugPrintJean-Pierre Ledure1-1/+2
Display basic objects Change-Id: I45c5718d364c09d71bb6cd47171d0621fb4a00e7
2019-08-17Access2Base - fix module classJean-Pierre Ledure1-6/+15
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
2019-08-14Access2Base - Remove shebangJean-Pierre Ledure1-5/+4 is to be imported, not executed directly URL to documentation corrected (space i.o. underscore) Error messages aligned with documentation Change-Id: Ia5dc662d1cfd4d08971ede8abd87da2c511595af
2019-08-13fix shebang of wizards/source/access2base/access2base.pyRene Engelhard1-1/+1
there's only a python3 here Change-Id: I60213e22ec366d1891aebeaa0a8f3d17ac61f6d4
2019-08-13Access2Base - Support API from PythonJean-Pierre Ledure2-0/+1452 if the Python wrapper to be imported in user scripts. Make file adapted to copy in $INSTDIR/program directory File can be found by user scripts on PYTHONPATH Change-Id: Icb62f76d6e9df1110b70471178127c60a4dd46d0
2019-08-10Fix typosAndrea Gelmini1-3/+3
Change-Id: Ic2f53e1bacaf49727347df5378f0e11443d57bf6 Reviewed-on: Reviewed-by: Julien Nabet <> Tested-by: Julien Nabet <>
2019-08-10Change FR to US language for external URLAndrea Gelmini1-1/+1
Change-Id: I78358348bf29cd4d63ec8bdad0d3e3ead5136c9e Reviewed-on: Tested-by: Jenkins Reviewed-by: Julien Nabet <>
2019-08-09Access2Base - Python module - Basic sideJean-Pierre Ledure3-56/+560
Insert Python wrappers for object properties and methods Insert Python helper functions Change-Id: I9717c46ff8d3ab0d143c5861b928cbb57233812e
2019-08-09Access2Base - Mention Python.xba in script.xlbJean-Pierre Ledure2-3/+3
Change-Id: If96e8768d32d63d98b74dac92d42692243a5f531
2019-08-09Access2Base - Rename Compatible.xbaJean-Pierre Ledure2-1/+1
... into Python.xba to host Python wrappers Change-Id: Ic6824db883c6592067e482446258f60473ef4638
2019-07-27Fix typoAndrea Gelmini19-26/+26
Change-Id: I309ce0b4aade85a510836be0d04bf66c916a464a Reviewed-on: Reviewed-by: Julien Nabet <> Tested-by: Jenkins Reviewed-by: Andrea Gelmini <>
2019-07-23cid#1448373 UC: Useless codeCaolán McNamara1-2/+0
Change-Id: Ie7555620655b890b9790300e2f19c40b3b55d381 Reviewed-on: Tested-by: Jenkins Reviewed-by: Caolán McNamara <> Tested-by: Caolán McNamara <>
2019-07-22cid#1448328 UC: Useless codeCaolán McNamara1-3/+0
Change-Id: Ie6a64927bff7536ce34cc802341e13046d655ab4 Reviewed-on: Tested-by: Jenkins Reviewed-by: Caolán McNamara <> Tested-by: Caolán McNamara <>
2019-07-22Access2Base - FIX GetRows abortJean-Pierre Ledure1-1/+1 f=47&t=61447&sid=a91a30f8f02fe6dd656b2940a26d8c5c&start=30#p473874 Precise module name in call to _getResult...
2019-07-13Access2Base - Set Parent property in all classesJean-Pierre Ledure14-5/+54
To get faster access to parents from controls Top classes (form, dialog and commandbar) should return Parent = Nothing
2019-07-06Access2Base - Make OptionGroups valid CollectionsJean-Pierre Ledure3-8/+4
+ argument check on RunSQL
2019-07-03tdf#125953: take CLOB into account in form wizardJulien Nabet1-2/+3
Change-Id: Ie08b47c2892b7da8e516447b868067a6231279c2 Reviewed-on: Tested-by: Jenkins Reviewed-by: Julien Nabet <>
2019-07-02Access2Base - MsgBox and InputBox methodsJean-Pierre Ledure1-0/+53
Convenient functions to be called from Python
2019-07-02Access2Base - Addition of SetSelected method in Control classJean-Pierre Ledure1-8/+21
... to workaround the limitation of Basic on Property Let + SetFocus i.o. setFocus (typo) + Tabstop i.o. TabStop (typo)
2019-06-29Access2Base - Consolidate classes processingJean-Pierre Ledure20-158/+84
Introduce _This property in all classes and _Parent property where relevant Accelerate processing of Item method in Collections Enhance introspection
2019-06-13Access2Base - Robustness changesJean-Pierre Ledure21-32/+125
Addition of _This address in every Basic object Default parameters reviewed when ambiguous Typo's corrections
2019-04-26Access2Base - Error handling extendedJean-Pierre Ledure3-7/+44
Error code is captured and made available from outside the access2base library
2019-04-24tdf#124197 Improve "Unexpected error" user-visible error message wordingDarkByt312-3/+3
Change-Id: I11c2ac4855a5fec2d26255ec3ab14ffe50e0fbbe Reviewed-on: Tested-by: Jenkins Reviewed-by: Mike Kaganski <>
2019-04-21Access2Base - Align version number on LibreOffice versionJean-Pierre Ledure1-1/+1
2019-04-18Don't set LANG env var by accidentStephan Bergmann1-4/+4 setting a GNU Make LANG var exports it to recipes as an env var, and see e.g. 56bc0b1a376f62570a7287e9bb4193e00360c978 "Don't set locale env vars on macOS" for potential problems caused by that. This is the core half of a change spanning the core and help repos. Change-Id: Ib7ae3b6edcef0b70e211a01aad4b3bd5c8905e06 Reviewed-on: Tested-by: Jenkins Reviewed-by: Stephan Bergmann <>
2019-04-13Access2Base - FIX Display dlgTrace dialog tooltip in user languageJean-Pierre Ledure1-2/+3
Labels were present for each language in L10N module but applied nowhere.