summaryrefslogtreecommitdiff
path: root/wizards/com/sun/star/wizards
AgeCommit message (Collapse)AuthorFilesLines
2019-07-27Fix typoAndrea Gelmini13-18/+18
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 McNamara1-2/+0
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 McNamara1-3/+0
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 Nabet1-2/+3
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 wordingDarkByt311-2/+2
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 Wysoglad6-6/+0
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 Nabet1-1/+2
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 Fauli11-524/+2
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 McNamara1-1/+1
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 Unal1-18/+18
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 Mamane2-0/+7
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 Gelmini2-2/+2
Change-Id: Icfe120db02a70d43e4120d1f4cbb2704640d3990 Reviewed-on: https://gerrit.libreoffice.org/59470 Tested-by: Jenkins Reviewed-by: Julien Nabet <serval2412@yahoo.fr>
2018-09-08Fix typosAndrea Gelmini1-1/+1
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 McNamara1-1/+0
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 McNamara1-2/+4
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 Gelmini2-2/+2
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 Gelmini1-1/+1
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 Fauli25-734/+28
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 Gelmini1-1/+1
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 Gelmini1-1/+1
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 Gelmini2-2/+2
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 Kelemen2-35/+37
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 Bergmann1-1/+4
...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 McNamara1-1/+4
Change-Id: I82676e4a0b3dee33e248b3ba81e99f949ee9227a
2018-01-07tdf#114873: localize Letter, fax and agenda wizardsJulien Nabet1-1/+4
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 Mamane2-2/+2
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 Kelemen1-0/+1
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 Gelmini1-1/+1
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 Kelemen1-0/+1
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 Nabet1-1/+1
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 Carl1-1/+1
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_M5-6/+6
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 Bergmann2-20/+3
...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
2017-07-21migrate to boost::gettextCaolán McNamara12-622/+599
* all .ui files go from <interface> to <interface domain="MODULE"> e.g. vcl * all .src files go away and the english source strings folded into the .hrc as NC_("context", "source string") * ResMgr is dropped in favour of std::locale imbued by boost::locale::generator pointed at matching MODULE .mo files * UIConfig translations are folded into the module .mo, so e.g. UIConfig_cui goes from l10n target to normal one, so the res/lang.zips of UI files go away * translation via Translation::get(hrc-define-key, imbued-std::locale) * python can now be translated with its inbuilt gettext support (we keep the name strings.hrc there to keep finding the .hrc file uniform) so magic numbers can go away there * java and starbasic components can be translated via the pre-existing css.resource.StringResourceWithLocation mechanism * en-US res files go away, their strings are now the .hrc keys in the source code * remaining .res files are replaced by .mo files * in .res/.ui-lang-zip files, the old scheme missing translations of strings results in inserting the english original so something can be found, now the standard fallback of using the english original from the source key is used, so partial translations shrink dramatically in size * extract .hrc strings with hrcex which backs onto xgettext -C --add-comments --keyword=NC_:1c,2 --from-code=UTF-8 --no-wrap * extract .ui strings with uiex which backs onto xgettext --add-comments --no-wrap * qtz for gettext translations is generated at runtime as ascii-ified crc32 of content + "|" + msgid * [API CHANGE] remove deprecated binary .res resouce loader related uno apis com::sun::star::resource::OfficeResourceLoader com::sun::star::resource::XResourceBundleLoader com::sun::star::resource::XResourceBundle when translating strings via uno apis com.sun.star.resource.StringResourceWithLocation can continue to be used Change-Id: Ia2594a2672b7301d9c3421fdf31b6cfe7f3f8d0a
2017-07-13Resolves: tdf#93745 gtk3 spinbuttons are wider than available spaceCaolán McNamara1-16/+16
make dialog 40 pixels wider and allocate 20 extra pixels per spinbutton and shift labels accordingly Change-Id: Ic7e5dd662e01207abcbcbb9043f927eceb5b2bd0 Reviewed-on: https://gerrit.libreoffice.org/39903 Reviewed-by: Caolán McNamara <caolanm@redhat.com> Tested-by: Caolán McNamara <caolanm@redhat.com>
2017-06-05spelling instanciate -> instantiateNoel Grandin2-2/+2
Change-Id: Ic1393da64328c0dc7e2860334b204139bf537d81 Reviewed-on: https://gerrit.libreoffice.org/38401 Reviewed-by: Noel Grandin <noel.grandin@collabora.co.uk> Tested-by: Noel Grandin <noel.grandin@collabora.co.uk>
2017-05-24convert java wizards to .properties for translationsCaolán McNamara50-369/+354
like LibreOffice java extensions, and nlpsolver and librelogo, do, removes the magic number problem Change-Id: I561249ccebe41c787cd8cdaa80e1d035f27052cc Reviewed-on: https://gerrit.libreoffice.org/37986 Tested-by: Jenkins <ci@libreoffice.org> Reviewed-by: Caolán McNamara <caolanm@redhat.com> Tested-by: Caolán McNamara <caolanm@redhat.com>
2017-05-21expand and drop python getResArrayCaolán McNamara4-26/+42
Change-Id: Ie81495a15376b01b0e87ee84628b8c6945897a3d Reviewed-on: https://gerrit.libreoffice.org/37877 Tested-by: Jenkins <ci@libreoffice.org> Reviewed-by: Caolán McNamara <caolanm@redhat.com> Tested-by: Caolán McNamara <caolanm@redhat.com>
2017-05-07tdf#107668: fix form wizardJulien Nabet1-11/+25
Regression from https://cgit.freedesktop.org/libreoffice/core/commit/?id=fcf9c22e00db0107391775f51fac53555711b951 Use an hashmap to find the right helpText Change-Id: Ie3389406525fb068fb24262a40b8e6af4c744100 Reviewed-on: https://gerrit.libreoffice.org/37334 Reviewed-by: Caolán McNamara <caolanm@redhat.com> Tested-by: Caolán McNamara <caolanm@redhat.com>
2017-04-30coverity#1405739 Explicit null dereferencedCaolán McNamara1-2/+7
Change-Id: If12d46d49936af3a91b2d50ca8fca43596eb4ae5
2017-04-27ImageList python thing unused since WebWizard dropCaolán McNamara1-520/+0
Change-Id: Id4961341def8cc4c242736580154411b5b137885
2017-04-27remove wizards bitmaps from .src filesCaolán McNamara10-106/+27
Change-Id: I4e334ac88e1e060bc07af9b174b9b8fb1401fc80
2017-04-12enum spelling: throught -> throughJustin Luth1-2/+2
git grep -l "[ _\.]THROUGHT" | xargs sed -i 's/THROUGHT/THROUGH/g' git grep -l -i "[ _\.]THROUGHT" | xargs sed -i 's/throught/through/g' In ENUMs: THROUGHT = THROUGH (preserved as valid alternate spelling) In ooxmlexport8 - unit test confirms THROUGH = THROUGHT Change-Id: Iae0fef9a8adcb96761989f38903a24ffb1b91e77 Reviewed-on: https://gerrit.libreoffice.org/35998 Tested-by: Jenkins <ci@libreoffice.org> Reviewed-by: Stephan Bergmann <sbergman@redhat.com>
2017-04-07tdf#99967 (related) Drop Web Wizard HIDsGabor Kelemen2-126/+126
These were used on the recently dropped help pages Change-Id: I391c881b43c49000c37cbe53b111f686eaa64843 Reviewed-on: https://gerrit.libreoffice.org/36093 Tested-by: Jenkins <ci@libreoffice.org> Reviewed-by: Samuel Mehrbrodt <Samuel.Mehrbrodt@cib.de>
2017-03-25Fix typosAndrea Gelmini5-6/+6
Change-Id: I80b6d080aa31ff8b9d043b983993f4d26d8dc87c Reviewed-on: https://gerrit.libreoffice.org/35662 Tested-by: Jenkins <ci@libreoffice.org> Reviewed-by: Julien Nabet <serval2412@yahoo.fr>
2017-03-19Fix typos + some German translationsAndrea Gelmini1-1/+1
Change-Id: I1c5bb725ffdf72363279436ad9bbb88064228253 Reviewed-on: https://gerrit.libreoffice.org/35406 Reviewed-by: Julien Nabet <serval2412@yahoo.fr> Tested-by: Julien Nabet <serval2412@yahoo.fr>
2017-03-02Fix typosAndrea Gelmini2-2/+2
Change-Id: Ibc81246e615d7c68c93e01b84584e78a79bece16 Reviewed-on: https://gerrit.libreoffice.org/34779 Reviewed-by: Samuel Mehrbrodt <Samuel.Mehrbrodt@cib.de> Tested-by: Samuel Mehrbrodt <Samuel.Mehrbrodt@cib.de>
2017-02-22Revert "Fix typos"jan iversen1-1/+1
This reverts commit ffd7f8fcfc2b551509e9cb31c0920e0f64292ea7. Caused some problems, need to be broken down. Change-Id: Iee816a266c32e7cebe623d36300c13d079e77c52 Reviewed-on: https://gerrit.libreoffice.org/34534 Reviewed-by: jan iversen <jani@libreoffice.org> Tested-by: jan iversen <jani@libreoffice.org>
2017-02-22Fix typosAndrea Gelmini1-1/+1
Change-Id: I61764094dd6f8e13f29ca554373d30d1d5def447 Reviewed-on: https://gerrit.libreoffice.org/34476 Reviewed-by: jan iversen <jani@libreoffice.org> Tested-by: jan iversen <jani@libreoffice.org>
2017-02-20Import UIConsts to use INFOIMAGEURLJulien Nabet1-1/+1
Regression from https://cgit.freedesktop.org/libreoffice/core/commit/?id=8911c7e177dcc2e9b5a9efcc308395081855b21f Change-Id: I4f25b5df6a657ad22080b039eaa1746ce4b82b9a Reviewed-on: https://gerrit.libreoffice.org/34495 Reviewed-by: Julien Nabet <serval2412@yahoo.fr> Tested-by: Julien Nabet <serval2412@yahoo.fr>