summaryrefslogtreecommitdiff
path: root/wizards
AgeCommit message (Collapse)Author
2019-04-26Access2Base - Error handling extendedJean-Pierre Ledure
Error code is captured and made available from outside the access2base library
2019-04-24tdf#124197 Improve "Unexpected error" user-visible error message wordingDarkByt31
Change-Id: I11c2ac4855a5fec2d26255ec3ab14ffe50e0fbbe Reviewed-on: https://gerrit.libreoffice.org/71066 Tested-by: Jenkins Reviewed-by: Mike Kaganski <mike.kaganski@collabora.com>
2019-04-21Access2Base - Align version number on LibreOffice versionJean-Pierre Ledure
2019-04-18Don't set LANG env var by accidentStephan Bergmann
...as 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: https://gerrit.libreoffice.org/70929 Tested-by: Jenkins Reviewed-by: Stephan Bergmann <sbergman@redhat.com>
2019-04-13Access2Base - FIX Display dlgTrace dialog tooltip in user languageJean-Pierre Ledure
Labels were present for each language in L10N module but applied nowhere.
2019-03-29tdf#108523 Removed @author annotationsJaromir Wysoglad
Change-Id: I5905dd94843595b229046c0b4a0f16181c16fd9e Reviewed-on: https://gerrit.libreoffice.org/69869 Reviewed-by: Samuel Mehrbrodt <Samuel.Mehrbrodt@cib.de> Tested-by: Samuel Mehrbrodt <Samuel.Mehrbrodt@cib.de>
2019-03-14tdf#112411 Remove all that remains of the More controls toolbarsRoman Kuznetsov
Change-Id: I82a348c7be067e777dced15dd014b8139cc9b1dc Reviewed-on: https://gerrit.libreoffice.org/69224 Tested-by: Jenkins Reviewed-by: Samuel Mehrbrodt <Samuel.Mehrbrodt@cib.de>
2019-03-13tdf#40966: convert last used BMPs to PNG; cleanup unusedMike Kaganski
Change-Id: Id92fcd2fd33500cc9c60645c627c2fedf2378fb9 Reviewed-on: https://gerrit.libreoffice.org/69158 Tested-by: Jenkins Reviewed-by: Mike Kaganski <mike.kaganski@collabora.com>
2019-03-13Fix wizards/NumberFormatter.javaJulien Nabet
Create a brand new odb file (embedded HSQLDB) Create a simple table in it Launch Query wizard, you'll see these on console: ... at com.sun.proxy.$Proxy69.addNew(Unknown Source) at com.sun.star.wizards.common.NumberFormatter.defineNumberFormat(NumberFormatter.java:96) at com.sun.star.wizards.ui.FilterComponent.addNumberFormats(FilterComponent.java:504) at com.sun.star.wizards.query.QueryWizard.buildSteps(QueryWizard.java:233) ... ... at com.sun.proxy.$Proxy69.addNew(Unknown Source) at com.sun.star.wizards.common.NumberFormatter.defineNumberFormat(NumberFormatter.java:96) at com.sun.star.wizards.ui.FilterComponent.addNumberFormats(FilterComponent.java:506) at com.sun.star.wizards.query.QueryWizard.buildSteps(QueryWizard.java:233) ... Root cause is FilterComponent.java uses "YYYY-MM-DD" and "YYYY-MM-DD HH:MM:SS" (lines 504 and 506) If it's ok for English locales, xNumberFormats.queryKey calls fail at least for French locales. Use addNewConverted instead of addNew method to take into account the difference of locales and avoid these stacktraces Change-Id: I5ef6325b8a213ae6758e378c4d3b8560c117042f Reviewed-on: https://gerrit.libreoffice.org/69131 Tested-by: Jenkins Reviewed-by: Lionel Elie Mamane <lionel@mamane.lu>
2019-03-12Remove unused python codeXisco Fauli
This code was automatically converted from Java to Python. It might be used at some point if the remaining java wizards are converted to python, however that's not the case as per today, thus this code is unused. Let's get rid of it as it might create confusion Change-Id: Ic58ade24b10f7a0654b3e8ae39f6afa712589c3d Reviewed-on: https://gerrit.libreoffice.org/67868 Tested-by: Jenkins Reviewed-by: Xisco Faulí <xiscofauli@libreoffice.org>
2019-02-19tdf#120361 Store Berend_Ilko_Tom_Stella_Volker.stc as temporaryTakeshi Abe
... 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>
2019-02-07complete the univerbation of E-mail to Email in the uiCaolán McNamara
it now looks old-fashioned hyphenated Change-Id: I5b2b905277356c1b986f97de29f82ac1c21b1709 Reviewed-on: https://gerrit.libreoffice.org/66796 Tested-by: Jenkins Reviewed-by: Adolfo Jayme Barrientos <fitojb@ubuntu.com>
2018-12-10Cleaning up Document Converter wizard, moving graphics from bmp to pngMatthias Seidel
(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>
2018-12-10Cleaning up Euro Converter wizard, moving graphics from bmp to pngMatthias Seidel
(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>
2018-12-10Small changes to Euro Converter dialogMatthias Seidel
(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>
2018-12-10Cleaning up FormWizard, moving graphics from bmp to pngMatthias Seidel
(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>
2018-11-22Related: tdf#121340: Do wizards steps Title CaseSabri Unal
Change-Id: I4ac17e520a93678a1a0e8dfd5fd849eaf276219d Reviewed-on: https://gerrit.libreoffice.org/63776 Reviewed-by: Heiko Tietze <tietze.heiko@gmail.com> Tested-by: Heiko Tietze <tietze.heiko@gmail.com>
2018-11-20Center graphicMatthias Seidel
(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>
2018-11-13Access2Base - tdf#121342 Increase number of recordsetsJean-Pierre Ledure
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
2018-11-06tdf#121188 form controls should have InputRequired false by defaultLionel Elie Mamane
Unless the underlying column is not nullable and has no default value this is only a guess, form designer can change it Change-Id: Ifa403e00b21fdaf86aef383503d54879b25ac62b Reviewed-on: https://gerrit.libreoffice.org/62969 Reviewed-by: Lionel Elie Mamane <lionel@mamane.lu> Tested-by: Lionel Elie Mamane <lionel@mamane.lu>
2018-09-27Fix typosAndrea Gelmini
Change-Id: Icfe120db02a70d43e4120d1f4cbb2704640d3990 Reviewed-on: https://gerrit.libreoffice.org/59470 Tested-by: Jenkins Reviewed-by: Julien Nabet <serval2412@yahoo.fr>
2018-09-08Fix typosAndrea Gelmini
Change-Id: I75692373028a64ba71899a4fd8c240fa4f2f1c02 Reviewed-on: https://gerrit.libreoffice.org/60172 Reviewed-by: Julien Nabet <serval2412@yahoo.fr> Tested-by: Jenkins
2018-09-01Access2Base - Add Location property to Database object (2)Jean-Pierre Ledure
Addition of Location property in OpenConnection sub Change-Id: I58c278b3ff60290709df2e00ee48a05010813f4d
2018-08-25Access2Base - Add Location to Database objectJean-Pierre Ledure
File location is known by URL property for non-registered databases Effective Location now available for all databases Change-Id: If1551f2644c82dbb4a4128c647810aa6a755f1ab
2018-08-25Access2Base - Fix typoJean-Pierre Ledure
Typo error in commit f903dd5e21265e0b520c312bc41cd65a1ab74851 Change-Id: I3c770296d1d4063c6bd3190eb90df0389ecf8f26
2018-08-25Access2Base - Fix flush method when closing databaseJean-Pierre Ledure
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
2018-08-24Access2Base - Fix OutputTo of null stringJean-Pierre Ledure
Basic builtin function IsDate returns True for a null-length string. Intercepted to avoid conversion to date giving "00:00:00" Change-Id: Ie917574043ea743e43cd79c5d95d023c8ccab38a
2018-08-22Deleted whitespace, fixed typos and spelling errorsMatthias Seidel
(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>
2018-08-21Access2Base - Fix index out of array range when no formsJean-Pierre Ledure
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
2018-08-21Deleted whitespace, fixed missing paranthesisMatthias Seidel
(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>
2018-08-14Fix typosAndrea Gelmini
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
2018-08-13Access2Base - Support hierarchical form namesJean-Pierre Ledure
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
2018-08-12Fix typosAndrea Gelmini
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
2018-08-02Access2Base - Fix undeclared variableJean-Pierre Ledure
CloseConnection: error handling is switched off Error was not user visible but left connection(s) unclosed.
2018-08-01Access2Base - Firebird 3.0 field equivalencesJean-Pierre Ledure
Review in LoadMetadata the field types array for Firebird
2018-07-29Access2Base - FIX: flush external connectionsJean-Pierre Ledure
Connections opened with DoCmd.OpenDatabase were not flushed when closed explicitly. Risk of data loss.
2018-07-19Access2Base - tdf#118767 Fix DLookup for FirebirdJean-Pierre Ledure
Firebird requires SELECT FIRST 1 ... syntax, while HSQLDB and other RDBMS use SELECT TOP 1 Additionally the Value property for monoselect listboxes has been reworked
2018-07-19Related: rhbz#1602589 null_check: 'xComponent'Caolán McNamara
Change-Id: I591f9fa611c0ad0d1631d179b7263f83613badfb Reviewed-on: https://gerrit.libreoffice.org/57640 Tested-by: Jenkins Reviewed-by: Caolán McNamara <caolanm@redhat.com> Tested-by: Caolán McNamara <caolanm@redhat.com>
2018-07-18Related: rhbz#1602589 null_check 'guiRow'Caolán McNamara
Change-Id: I0c93e6a721646363e5b71ec0e9db6199e7cce006 Reviewed-on: https://gerrit.libreoffice.org/57641 Tested-by: Jenkins Reviewed-by: Caolán McNamara <caolanm@redhat.com> Tested-by: Caolán McNamara <caolanm@redhat.com>
2018-07-18Access2Base - tdf#118680 Fix VARCHAR_IGNORECASE errorJean-Pierre Ledure
Precision property of com.sun.star.sdbcx.Column service is set to the maximum length for VARCHAR database fields while it remains at 0 for VARCHAR_IGNORECASE fields. Access2Base reported erroneously an overflow error.
2018-07-17Access2Base - FIX Empty line on top of each moduleJean-Pierre Ledure
Closing ">" had disappeared in xml headers ?? Force newline after xml headers
2018-07-05Fix for commit ae412b4Andrea Gelmini
In commit ae412b486e02aa5890769bebcfc46e485a72103c I missed a '>', to close tag. Change-Id: Id60b88b5b2a38ede2a2c0680abcc8af32f900586 Reviewed-on: https://gerrit.libreoffice.org/57007 Tested-by: Jenkins Reviewed-by: Julien Nabet <serval2412@yahoo.fr>
2018-06-30Fix missing newlineAndrea Gelmini
To complete previous commit Change-Id: I21f7e530848d022456bda17a86d42bc14a921efd Reviewed-on: https://gerrit.libreoffice.org/53896 Tested-by: Jenkins Reviewed-by: Thorsten Behrens <Thorsten.Behrens@CIB.de>
2018-05-13Access2Base - FIX Sql errors when apostrophe in table namesJean-Pierre Ledure
Correct replacement of square brackets by quoting string
2018-05-08Access2Base - Remove useless trailing blank linesJean-Pierre Ledure
Keep exactly 1 line feed at the end of each Basic module
2018-05-06Fix missing newlineAndrea Gelmini
Change-Id: Ib57478c008b733bde6e9480e80ec59142a107861 Reviewed-on: https://gerrit.libreoffice.org/53889 Tested-by: Jenkins <ci@libreoffice.org> Reviewed-by: Julien Nabet <serval2412@yahoo.fr>
2018-04-24Access2Base - German translationJean-Pierre Ledure
All labels located in the L10N module receive their german counterpart. Thanks to Gisbert Friege.
2018-04-22Access2Base - Support of forms collectionsJean-Pierre Ledure
In LO forms as known in the Base UI may have more than 1 main forms, all belonging to a forms collection. MSAccess does not have that feature. So far, only forms with 1 main form - from far the majority of cases - were fully supported by Access2Base. For other forms, the exploration of controls in additional main forms was not implemented. Current limitation: some form properties (e.g. RecordSource) are still limited to the firt member of the forms collection.
2018-04-17Fix typosAndrea Gelmini
Change-Id: If89ec640901253121529c09aef4537c6b13cee1d Reviewed-on: https://gerrit.libreoffice.org/52280 Reviewed-by: Julien Nabet <serval2412@yahoo.fr> Tested-by: Jenkins <ci@libreoffice.org>
2018-04-12Access2Base - Correct typo in L10N labelJean-Pierre Ledure
COMMANDBAR i.o. COMAMANDBAR