summaryrefslogtreecommitdiff
path: root/wizards
AgeCommit message (Collapse)AuthorFilesLines
2018-08-16Access2Base - Fix Filter arg not applied in OpenFormJean-Pierre Ledure1-1/+3
The Filter argument was not applied in the OpenForm command (was simply ignored and could be worked around by user). Fixed by retrieval of internal DatabaseForm. Change-Id: Iefa697425bb5859979b07cca8ab38f6fe604f92d Reviewed-on: https://gerrit.libreoffice.org/58915 Tested-by: Jenkins Reviewed-by: Caolán McNamara <caolanm@redhat.com> Tested-by: Caolán McNamara <caolanm@redhat.com>
2018-05-13Access2Base - FIX Sql errors when apostrophe in table namesJean-Pierre Ledure1-1/+1
Correct replacement of square brackets by quoting string
2018-05-08Access2Base - Remove useless trailing blank linesJean-Pierre Ledure26-9/+23
Keep exactly 1 line feed at the end of each Basic module
2018-05-06Fix missing newlineAndrea Gelmini1-3/+5
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 Ledure2-14/+130
All labels located in the L10N module receive their german counterpart. Thanks to Gisbert Friege.
2018-04-22Access2Base - Support of forms collectionsJean-Pierre Ledure7-96/+167
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 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-04-12Access2Base - Correct typo in L10N labelJean-Pierre Ledure1-3/+3
COMMANDBAR i.o. COMAMANDBAR
2018-03-22Access2Base - Bypass Basic IDE shortcomingJean-Pierre Ledure1-1/+2
When using an If statement with a continuation character after Then, sometimes breakpoints are desynchronized. Suppress continuation character and add an explicit End If
2018-03-22Access2Base - FIX Manage case of form without DrawPageJean-Pierre Ledure2-41/+65
When a database form is not related to data and has no control, then the DatabaseForm object is Null. The Null value must be intercepted in many places.
2018-03-18Access2Base - FIX EditMode property of Recordset classJean-Pierre Ledure1-1/+1
EditMode must return an integer instead of a boolean
2018-02-18tdf#114817 new bitmap presets for Area Fillandreas kainz1-10/+10
Change-Id: Icc48efc2f6c085ccf0754620dc1cbf5132a7f824 Reviewed-on: https://gerrit.libreoffice.org/49551 Tested-by: Jenkins <ci@libreoffice.org> Reviewed-by: Heiko Tietze <tietze.heiko@gmail.com>
2018-02-16Access2Base - Nicer representation of booleans in OutputTo actionJean-Pierre Ledure2-2/+3
Replacement of True/False output characters Addition of "false" class
2018-02-14Fix typoAndrea Gelmini1-1/+1
Change-Id: I31e8d775d10d374ef4670a3b8d9a0e9628e8e2c8 Reviewed-on: https://gerrit.libreoffice.org/49710 Reviewed-by: Julien Nabet <serval2412@yahoo.fr> Tested-by: Julien Nabet <serval2412@yahoo.fr>
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 Fauli26-739/+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-14Access2Base - FIX getString() on LONGVARCHAR fieldsJean-Pierre Ledure1-1/+1
When length > 64K
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-23Access2Base - FIX OutputStringToHtmlJean-Pierre Ledure1-1/+1
Remove useless ConvertToUrl function
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-11-16Access2Base - FIX AllDialogs() should run when no active documentJean-Pierre Ledure2-3/+10
Stopped erroneously with error message "No active connection"
2017-11-07Access2Base - Insert Window argument in CommandBars collectionJean-Pierre Ledure1-4/+5
Window argument forces the determination of the window in which toolbars are searched for. This argument is not part of the standard MSAccess API => Unpublished
2017-11-03Access2Base - Correct error in module parsingJean-Pierre Ledure1-1/+1
Error occurs when an unclosed string is present in a comment
2017-10-31Access2Base - Correct parsing error in ModuleJean-Pierre Ledure1-2/+2
Error occurrs when function name starts with "REM"
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-27Access2Base - Database events (2)Jean-Pierre Ledure1-1/+4
2017-10-26Access2Base - Database eventsJean-Pierre Ledure1-1/+138
Introduce 21 database On... events returning the invoked scripts Read-only
2017-10-02Tone down excessive directional chars in Back/Next buttonsAdolfo Jayme Barrientos1-6/+6
This tiny inconsistency with other software has annoyed me for too long. Change-Id: Ieef8cdcf13f1cea0e414fbe086e45a4e05895467
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_M9-13/+13
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-08-05Access2Base - Dialog on event propertiesJean-Pierre Ledure5-32/+97
Forms and dialogs events are stored differently. New code manages correctly dialog events. Additionally performance improvement in Control class: the list of properties is buffered in a private variable Change-Id: I9d3e2cf3853f8caa043fc4a84c67d323cea44ffe
2017-07-21migrate to boost::gettextCaolán McNamara18-2008/+615
* 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-13Access2Base - RecordSource property of SubForm classJean-Pierre Ledure1-6/+6
Use Command property i.o. ActiveCommand because Command is additionally valid when form opened in Design mode Change-Id: I0c9e545419ec99d444ac15b20466c838d53f738f
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-07-03Access2Base - RecordSource property of Form classJean-Pierre Ledure1-1/+1
Use Command instead of ActiveCommand which delivers only SQL statements while expected command type should be table, query or sql Change-Id: I824a02cf5dab7b59f70b3a0ae9ba9f874e86733b
2017-06-20Access2Base - Introduce support of embedded FirebirdJean-Pierre Ledure2-2/+8
Metadata array set for CopyObject command Firebird implementation found very unstable ... Change-Id: Ia0847e263cbedfba55a2a469b9e044b3134b66b8
2017-06-11Access2Base - Correct handling of empty arrays in UtilPropertyJean-Pierre Ledure1-4/+11
Avoid runtime error when storing an empty array (undocumented API) Change-Id: I3f8d31300dec365d7028dcd6bd9de2b24b2e0c4c
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-25Access2Base - Value property of DECIMAL fieldsJean-Pierre Ledure1-3/+10
Avoid overflow on CLng function Change-Id: I75dc25299cbfbc1fff9eeac4e2a8d2f3e8ed7d85
2017-05-25RID_DB_TABLE_WIZARD_START should be RID_TABLE nowCaolán McNamara1-47/+47
Change-Id: Ibb15f7e4ee1429213f523b8fd8d3b12dc4881257