summaryrefslogtreecommitdiff
path: root/wizards
AgeCommit message (Collapse)Author
2019-07-05tdf#125953: take CLOB into account in form wizardJulien Nabet
Change-Id: Ie08b47c2892b7da8e516447b868067a6231279c2 Reviewed-on: https://gerrit.libreoffice.org/74927 (cherry picked from commit b59f4fe03a7843cde70a56a282b3a5d7a304f39d) Reviewed-on: https://gerrit.libreoffice.org/75056 Tested-by: Jenkins Reviewed-by: Xisco Faulí <xiscofauli@libreoffice.org> (cherry picked from commit 96d1b176f02f0396544e6c13c170f895b13fdfde) Reviewed-on: https://gerrit.libreoffice.org/75073 Reviewed-by: Michael Stahl <Michael.Stahl@cib.de>
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
2018-03-22Access2Base - Bypass Basic IDE shortcomingJean-Pierre Ledure
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 Ledure
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 Ledure
EditMode must return an integer instead of a boolean
2018-02-18tdf#114817 new bitmap presets for Area Fillandreas kainz
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 Ledure
Replacement of True/False output characters Addition of "false" class
2018-02-14Fix typoAndrea Gelmini
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 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-14Access2Base - FIX getString() on LONGVARCHAR fieldsJean-Pierre Ledure
When length > 64K
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>