summaryrefslogtreecommitdiff
path: root/wizards/com
AgeCommit message (Collapse)Author
2022-06-07use more complex scheme on newer Python (>=3.7) to avoid DeprecationWarningNoel Grandin
similiar to commit 069f0eb13f7d26ce4b854160bbb9592c25609b38 Change-Id: I08577ced705df620d99781da53b6085398f52821 Reviewed-on: https://gerrit.libreoffice.org/c/core/+/135450 Tested-by: Jenkins Reviewed-by: Noel Grandin <noel.grandin@collabora.co.uk>
2021-09-12Typo: bIsSuccessfull->bIsSuccessfulJulien Nabet
Change-Id: Ib811f39fea5c0e78405f805f6c278b4b529b17d8 Reviewed-on: https://gerrit.libreoffice.org/c/core/+/121964 Tested-by: Jenkins Reviewed-by: Julien Nabet <serval2412@yahoo.fr>
2021-05-03clean up some Java warningsNoel Grandin
Change-Id: Id54e8fd6803c3a6c0d924338d1781679ed0b1bfd Reviewed-on: https://gerrit.libreoffice.org/c/core/+/115025 Tested-by: Jenkins Reviewed-by: Noel Grandin <noel.grandin@collabora.co.uk>
2020-09-01Fix typo in codeAndrea Gelmini
It passed "make check" on Linux Change-Id: I937be6f80272db668fff7fb77e5f7f2dd402c23e Reviewed-on: https://gerrit.libreoffice.org/c/core/+/101780 Tested-by: Jenkins Reviewed-by: Julien Nabet <serval2412@yahoo.fr>
2020-08-23Fix typosAndrea Gelmini
Change-Id: I6e3e5df63adc7acdac7f41adc1988a734580b084 Reviewed-on: https://gerrit.libreoffice.org/c/core/+/101219 Tested-by: Julien Nabet <serval2412@yahoo.fr> Reviewed-by: Julien Nabet <serval2412@yahoo.fr>
2020-08-21Fix typo in codeAndrea Gelmini
Change-Id: Ic3dd9e648d8006c68eb31f9577ad74e6dcbb1b1e Reviewed-on: https://gerrit.libreoffice.org/c/core/+/101102 Tested-by: Jenkins Reviewed-by: Julien Nabet <serval2412@yahoo.fr>
2020-08-18Fix typosAndrea Gelmini
Change-Id: I85a91d24943430b42217ac91611f182059d8ec69 Reviewed-on: https://gerrit.libreoffice.org/c/core/+/100919 Tested-by: Jenkins Reviewed-by: Julien Nabet <serval2412@yahoo.fr>
2020-08-12imp is deprecated since Python v.3.4Mike Kaganski
This avoid Python warnings about this during checks Change-Id: I6647d9c93f3c2fbc1af475f8bc45e03300ee8b79 Reviewed-on: https://gerrit.libreoffice.org/c/core/+/100518 Tested-by: Jenkins Reviewed-by: Mike Kaganski <mike.kaganski@collabora.com>
2020-05-08pyflakes3: fix some reports on wizardsJulien Nabet
Change-Id: I0fef17ccc8f110d1d8bf629737807f1bcc618b76 Reviewed-on: https://gerrit.libreoffice.org/c/core/+/93685 Tested-by: Jenkins Reviewed-by: Noel Grandin <noel.grandin@collabora.co.uk>
2020-05-06pyflakes3: replace IllegalArgumentException by Exception (wizards)Julien Nabet
IllegalArgumentException doesn't exist Change-Id: Ifea6f56d19fb58136ac5d992107ab7179ac943b8 Reviewed-on: https://gerrit.libreoffice.org/c/core/+/93524 Tested-by: Jenkins Reviewed-by: Xisco Faulí <xiscofauli@libreoffice.org>
2020-03-30Related: tdf#131576 overlapping windows, move bottom one down a littleCaolán McNamara
Change-Id: I28c890740a92f183db72ab997627d564cba49ec0 Reviewed-on: https://gerrit.libreoffice.org/c/core/+/91361 Tested-by: Jenkins Reviewed-by: Caolán McNamara <caolanm@redhat.com>
2020-03-28tdf#131576: fix "Field information" in table wizard, step 2Julien Nabet
Change-Id: I8a0dfa9f483f32bc5858e628ff4bb9cb79c9c6a6 Reviewed-on: https://gerrit.libreoffice.org/c/core/+/91236 Tested-by: Jenkins Reviewed-by: Julien Nabet <serval2412@yahoo.fr>
2020-02-09Fix typoAndrea Gelmini
Change-Id: I0f58bc3253cbd5d7341eddf9be7bda3d6c245f9c Reviewed-on: https://gerrit.libreoffice.org/c/core/+/88326 Tested-by: Julien Nabet <serval2412@yahoo.fr> Reviewed-by: Julien Nabet <serval2412@yahoo.fr>
2019-11-18Fix 'is' operator for comparisonJens Carl
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 https://bugs.python.org/issue34850). Change-Id: Ifabe22e4ae3b9e1d3bfd5a663f39500e381cfa6e Reviewed-on: https://gerrit.libreoffice.org/83034 Tested-by: Jenkins Reviewed-by: Xisco Faulí <xiscofauli@libreoffice.org>
2019-09-10Fix typosAndrea Gelmini
Change-Id: Id62178a1a8b2e05d13c47f1ac4798578f140dbae Reviewed-on: https://gerrit.libreoffice.org/78794 Reviewed-by: Julien Nabet <serval2412@yahoo.fr> Tested-by: Jenkins
2019-09-06Fixing '....' and '..'Andrea Gelmini
Change-Id: I926069d6c1f2712e5020d930f7ff6c62fd00e912 Reviewed-on: https://gerrit.libreoffice.org/78667 Tested-by: Jenkins Reviewed-by: Julien Nabet <serval2412@yahoo.fr>
2019-09-01Fix '..'Andrea Gelmini
To complete this: https://gerrit.libreoffice.org/#/c/78312/ This is a massive replace for lines ending with ".." instead of "..." It passed "make check" on Linux. Change-Id: I07fa7b2e30ba9ea17a1f9a5e21c57216ba958efe Reviewed-on: https://gerrit.libreoffice.org/78356 Reviewed-by: Julien Nabet <serval2412@yahoo.fr> Tested-by: Jenkins
2019-07-27Fix typoAndrea Gelmini
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>
2019-07-23cid#1448373 UC: Useless codeCaolán McNamara
Change-Id: Ie7555620655b890b9790300e2f19c40b3b55d381 Reviewed-on: https://gerrit.libreoffice.org/76138 Tested-by: Jenkins Reviewed-by: Caolán McNamara <caolanm@redhat.com> Tested-by: Caolán McNamara <caolanm@redhat.com>
2019-07-22cid#1448328 UC: Useless codeCaolán McNamara
Change-Id: Ie6a64927bff7536ce34cc802341e13046d655ab4 Reviewed-on: https://gerrit.libreoffice.org/76141 Tested-by: Jenkins Reviewed-by: Caolán McNamara <caolanm@redhat.com> Tested-by: Caolán McNamara <caolanm@redhat.com>
2019-07-03tdf#125953: take CLOB into account in form wizardJulien Nabet
Change-Id: Ie08b47c2892b7da8e516447b868067a6231279c2 Reviewed-on: https://gerrit.libreoffice.org/74927 Tested-by: Jenkins Reviewed-by: Julien Nabet <serval2412@yahoo.fr>
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-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-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-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-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-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-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-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-02-12Fix typosAndrea Gelmini
Change-Id: I9ecf648960ddd131aa3d961bf86c2f1d3389355f Reviewed-on: https://gerrit.libreoffice.org/49584 Tested-by: Jenkins <ci@libreoffice.org> Reviewed-by: Julien Nabet <serval2412@yahoo.fr>
2018-02-05Removed unused code in python wizardsXisco Fauli
This code got unused after 5b3022860abfe7eefd2e25b60b5b2a563b42b3c0 Change-Id: I6c198ab359f8468a9f4d9041b9bc4feb88eedd74 Reviewed-on: https://gerrit.libreoffice.org/49109 Tested-by: Jenkins <ci@libreoffice.org> Reviewed-by: Xisco Faulí <xiscofauli@libreoffice.org>
2018-01-29Fix typosAndrea Gelmini
Change-Id: Iedd82d035454c940d76a94c7e910c81827c1389c Reviewed-on: https://gerrit.libreoffice.org/48828 Reviewed-by: Julien Nabet <serval2412@yahoo.fr> Tested-by: Julien Nabet <serval2412@yahoo.fr>
2018-01-16Fix typosAndrea Gelmini
Change-Id: I078626eaa3155cc429320cc8c1532003b382b22a Reviewed-on: https://gerrit.libreoffice.org/47855 Tested-by: Jenkins <ci@libreoffice.org> Reviewed-by: Julien Nabet <serval2412@yahoo.fr>
2018-01-14Fix typosAndrea Gelmini
Change-Id: I2b4988e1d81fe60f7699362480cd739d2620c053 Reviewed-on: https://gerrit.libreoffice.org/47856 Tested-by: Jenkins <ci@libreoffice.org> Reviewed-by: Julien Nabet <serval2412@yahoo.fr>
2018-01-14Fix HIDs in Java based Table/Query/Report wizardsGabor Kelemen
Some HIDs were a bit off in these wizards - Report Wizard 'Grouping' page - Table Wizard 'Set primary key' page - Query Wizard 'Grouping' page All these contain a subclass of a FieldSelection. Due to the implementation of HID handling there, we need 4 consecutive HIDs in HelpIds.java for the buttons cmdMoveSelected, cmdMoveAll, cmdRemoveSelected and cmdRemoveAll. Above pages contain subclasses without the MoveAll and RemoveAll buttons so we need empty placeholders in their places to cater for the assumptions of the parent class. This also means that HID numbers must be adjusted a bit, and in ReportWizard.java we need to shift the base HID number of the Sorting page that follows the Grouping page. Change-Id: I944dd4f781aff2c0b0cfd99c3386001506c01440 Reviewed-on: https://gerrit.libreoffice.org/46270 Tested-by: Jenkins <ci@libreoffice.org> Reviewed-by: Andras Timar <andras.timar@collabora.com>
2018-01-08tdf#114881: Re-introduce ConfigurationUpdateAccessStephan Bergmann
...which had accidentally been removed completely from this part of cb2550750386f51ef7a46a8a664a4ab9de614f8d "Drop lazywrite property, which is silently ignored by configmgr anyway" Change-Id: Ibacacc7b04bbd0a0cc819530594dd042329b366f Reviewed-on: https://gerrit.libreoffice.org/47600 Reviewed-by: Julien Nabet <serval2412@yahoo.fr> Tested-by: Jenkins <ci@libreoffice.org>
2018-01-07Related: tdf#114873 if fallback returned as result, drop contextCaolán McNamara
Change-Id: I82676e4a0b3dee33e248b3ba81e99f949ee9227a
2018-01-07tdf#114873: localize Letter, fax and agenda wizardsJulien Nabet
Since we use contextual messages, we need to concatenate: - context - EOT character - the message itself see https://www.gnu.org/software/gettext/manual/html_node/MO-Files.html A priori, regression from 00657aef09d854c74fb426a935a3e8b1fc390bb0 Change-Id: Ie3e781e30ce09f0121afff2f0eb0769b1fbd2114 Reviewed-on: https://gerrit.libreoffice.org/47521 Tested-by: Jenkins <ci@libreoffice.org> Reviewed-by: Jean-Baptiste Faure <jbfaure@libreoffice.org> Reviewed-by: Caolán McNamara <caolanm@redhat.com> Tested-by: Caolán McNamara <caolanm@redhat.com>
2017-12-13Remove traces of Report Builder's former status as extensionLionel Elie Mamane
Change-Id: I63730632933cbb1d6e655f70d222ffaaabd3fa08 Reviewed-on: https://gerrit.libreoffice.org/46361 Tested-by: Jenkins <ci@libreoffice.org> Reviewed-by: Stephan Bergmann <sbergman@redhat.com>
2017-11-22Fix Java wizard HID listGabor Kelemen
A still actively used HID was accidentally removed in commit: https://cgit.freedesktop.org/libreoffice/core/commit/wizards/com/sun/star/wizards/common/HelpIds.java?id=82d863b4a410fa78120d2efc41bd2b3b61f21cee This caused some HIDs in the Form wizard to slide off by one Change-Id: I0142a150f1c65456ba9affe5d997ddabe37d1b3e Reviewed-on: https://gerrit.libreoffice.org/45057 Tested-by: Jenkins <ci@libreoffice.org> Reviewed-by: Katarina Behrens <Katarina.Behrens@cib.de>
2017-11-22Fix typoAndrea Gelmini
Change-Id: I591214b246f7702e52f71b95cdc2255bc296224b Reviewed-on: https://gerrit.libreoffice.org/45063 Reviewed-by: Julien Nabet <serval2412@yahoo.fr> Tested-by: Julien Nabet <serval2412@yahoo.fr>
2017-10-31Fix Wizard HIDs moved off by oneGabor Kelemen
In commit b3f96d2ccba362a2898bc3a4d365ce7c4d0698e2 I made a mistake that caused a lot of Wizard HIDS go off by one i.e. they were attached to the next UI item. I noticed this in the Fax wizard. Adding one more empty array item seems to fix this. Problem was caused by the replacement of this line with an empty item: "", "HID:WIZARDS_HID_IS_BTN_NONE", # HID:41002 Change-Id: Id7df502ac843ab0e572ca59a046f5bacdda7e9bc Reviewed-on: https://gerrit.libreoffice.org/44075 Tested-by: Jenkins <ci@libreoffice.org> Reviewed-by: Andras Timar <andras.timar@collabora.com>
2017-10-02Fix regression for labels on Table wizardJulien Nabet
Since https://cgit.freedesktop.org/libreoffice/core/commit/?id=a95def1aed681bbb664ff24470e0da7c5a5530ac Change-Id: I9104ab6c68b55f1405297182cba087d668947b0f Reviewed-on: https://gerrit.libreoffice.org/43011 Tested-by: Jenkins <ci@libreoffice.org> Reviewed-by: Julien Nabet <serval2412@yahoo.fr>
2017-09-26tdf#39468: Translate some random German comments and termsJens Carl
Change-Id: I5499676506a7570482388eb153f4667785b016ed Reviewed-on: https://gerrit.libreoffice.org/42770 Reviewed-by: Michael Stahl <mstahl@redhat.com> Tested-by: Michael Stahl <mstahl@redhat.com>
2017-09-18Translate German comments and debug strings (leftovers in dirs w... and x...)Johnny_M
Translates leftovers found using a custom regex in directories beginning with "w" and "x". Additionally: - A few corrections of previous translations Change-Id: Ic30cf6792748a6bea8782a9a3711fa468b80bdaf Reviewed-on: https://gerrit.libreoffice.org/42378 Tested-by: Jenkins <ci@libreoffice.org> Reviewed-by: Michael Stahl <mstahl@redhat.com>
2017-09-05Drop lazywrite property, which is silently ignored by configmgr anywayStephan Bergmann
...at least ever since the "new" configmgr reimplementation, 6b849a6aeeb9ea8b1e25e28d5a8be390e425f84e "#i101955# initial work in progress of a configmgr reimplementation (for now in an extra module 'configmgr2')" et al Change-Id: I43430d991647fb2e26762463d51175247db0604b