Commit Graph
3381 Commits
Author SHA1 Message Date
Jean-Pierre Ledure fdd3941acf Access2Base - Bypass Basic IDE shortcoming
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-22 13:19:35 +01:00
Jean-Pierre Ledure 5ca8203ae7 Access2Base - FIX Manage case of form without DrawPage
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-22 12:53:49 +01:00
Jean-Pierre Ledure 43b7b2bb72 Access2Base - FIX EditMode property of Recordset class
EditMode must return an integer instead of a boolean
2018-03-18 14:42:14 +01:00
andreas kainz 61bfc53ee7 tdf#114817 new bitmap presets for Area Fill
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-18 14:38:41 +01:00
Jean-Pierre Ledure 585d43110c Access2Base - Nicer representation of booleans in OutputTo action
Replacement of True/False output characters
Addition of "false" class
2018-02-16 15:21:23 +01:00
Andrea Gelmini 556c62add4 Fix typo
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-14 12:19:24 +01:00
Andrea Gelmini fe47e5fdd3 Fix typos
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-12 15:36:33 +01:00
Xisco Fauli 2029a593f2 Removed unused code in python wizards
This code got unused after 5b3022860a

Change-Id: I6c198ab359f8468a9f4d9041b9bc4feb88eedd74
Reviewed-on: https://gerrit.libreoffice.org/49109
Tested-by: Jenkins <ci@libreoffice.org>
Reviewed-by: Xisco Faulí <xiscofauli@libreoffice.org>
2018-02-05 15:01:41 +01:00
Andrea Gelmini c101df2171 Fix typos
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-29 13:26:15 +01:00
Andrea Gelmini 624f84c07e Fix typos
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-16 12:40:51 +01:00
Andrea Gelmini a452643b43 Fix typos
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-14 16:31:26 +01:00
Gabor Kelemen 18b45de3f9 Fix HIDs in Java based Table/Query/Report wizards
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-14 13:09:30 +01:00
Stephan Bergmann 2f9aea0c1a tdf#114881: Re-introduce ConfigurationUpdateAccess
...which had accidentally been removed completely from this part of
cb25507503 "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-08 23:24:03 +01:00
Caolán McNamara 150267f9d1 Related: tdf#114873 if fallback returned as result, drop context
Change-Id: I82676e4a0b3dee33e248b3ba81e99f949ee9227a
2018-01-07 16:32:58 +00:00
Julien Nabet 1a029665ee tdf#114873: localize Letter, fax and agenda wizards
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 00657aef09

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>
2018-01-07 15:57:55 +01:00
Jean-Pierre Ledure 581640ac53 Access2Base - FIX getString() on LONGVARCHAR fields
When length > 64K
2017-12-14 11:39:32 +01:00
Lionel Elie Mamane fe95086edd Remove traces of Report Builder's former status as extension
Change-Id: I63730632933cbb1d6e655f70d222ffaaabd3fa08
Reviewed-on: https://gerrit.libreoffice.org/46361
Tested-by: Jenkins <ci@libreoffice.org>
Reviewed-by: Stephan Bergmann <sbergman@redhat.com>
2017-12-13 08:29:30 +01:00
Jean-Pierre Ledure 008673c23d Access2Base - FIX OutputStringToHtml
Remove useless ConvertToUrl function
2017-11-23 16:42:40 +01:00
Gabor Kelemen 67fd1ea445 Fix Java wizard HID list
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-22 10:22:37 +01:00
Andrea Gelmini 1d9eed341d Fix typo
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-22 09:10:42 +01:00
Jean-Pierre Ledure fa7f2ec536 Access2Base - FIX AllDialogs() should run when no active document
Stopped erroneously with error message "No active connection"
2017-11-16 16:15:05 +01:00
Jean-Pierre Ledure 180e69dca9 Access2Base - Insert Window argument in CommandBars collection
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-07 14:38:42 +01:00
Jean-Pierre Ledure 42d7a38898 Access2Base - Correct error in module parsing
Error occurs when an unclosed string is present in a comment
2017-11-03 12:37:20 +01:00
Jean-Pierre Ledure 6ceed2e47b Access2Base - Correct parsing error in Module
Error occurrs when function name starts with "REM"
2017-10-31 17:00:24 +01:00
Gabor Kelemen 3c2e060f11 Fix Wizard HIDs moved off by one
In commit b3f96d2ccb
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-31 10:03:17 +01:00
Jean-Pierre Ledure 64cfc7de65 Access2Base - Database events (2) 2017-10-27 17:25:04 +02:00
Jean-Pierre Ledure 86a773cd43 Access2Base - Database events
Introduce 21 database On... events returning the invoked scripts
Read-only
2017-10-26 13:28:15 +02:00
Adolfo Jayme Barrientos 6537fac179 Tone down excessive directional chars in Back/Next buttons
This tiny inconsistency with other software has annoyed me for too long.

Change-Id: Ieef8cdcf13f1cea0e414fbe086e45a4e05895467
2017-10-02 03:48:52 -05:00
Julien Nabet 05d5b6694b Fix regression for labels on Table wizard
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-10-02 07:03:35 +02:00
Jens Carl 3d0c0abea7 tdf#39468: Translate some random German comments and terms
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-26 11:57:30 +02:00
Johnny_M 510b9557c3 Translate German comments and debug strings (leftovers in dirs w... and x...)
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-18 12:08:40 +02:00
Stephan Bergmann cb25507503 Drop lazywrite property, which is silently ignored by configmgr anyway
...at least ever since the "new" configmgr reimplementation,
6b849a6aee "#i101955# initial work in progress of
a configmgr reimplementation (for now in an extra module 'configmgr2')" et al

Change-Id: I43430d991647fb2e26762463d51175247db0604b
2017-09-05 17:57:18 +02:00
Jean-Pierre Ledure 39a6524625 Access2Base - Dialog on event properties
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-08-05 15:52:00 +02:00
Caolán McNamara 00657aef09 migrate to boost::gettext
* 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-21 08:20:50 +01:00
Jean-Pierre Ledure 3cf9b74714 Access2Base - RecordSource property of SubForm class
Use Command property i.o. ActiveCommand
because Command is additionally valid when form opened in Design mode

Change-Id: I0c9e545419ec99d444ac15b20466c838d53f738f
2017-07-13 17:17:43 +02:00
Caolán McNamara d255fb191e Resolves: tdf#93745 gtk3 spinbuttons are wider than available space
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-13 14:02:52 +02:00
Jean-Pierre Ledure 6845c370a7 Access2Base - RecordSource property of Form class
Use Command instead of ActiveCommand
which delivers only SQL statements while expected
command type should be table, query or sql

Change-Id: I824a02cf5dab7b59f70b3a0ae9ba9f874e86733b
2017-07-03 18:16:22 +02:00
Jean-Pierre Ledure 6aef291fae Access2Base - Introduce support of embedded Firebird
Metadata array set for CopyObject command
Firebird implementation found very unstable ...

Change-Id: Ia0847e263cbedfba55a2a469b9e044b3134b66b8
2017-06-20 14:32:44 +02:00
Jean-Pierre Ledure cc6f5af107 Access2Base - Correct handling of empty arrays in UtilProperty
Avoid runtime error when storing an empty array
(undocumented API)

Change-Id: I3f8d31300dec365d7028dcd6bd9de2b24b2e0c4c
2017-06-11 17:42:11 +02:00
Noel Grandin 146033f5da spelling instanciate -> instantiate
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-06-05 10:11:33 +02:00
Jean-Pierre Ledure 4be228af5a Access2Base - Value property of DECIMAL fields
Avoid overflow on CLng function

Change-Id: I75dc25299cbfbc1fff9eeac4e2a8d2f3e8ed7d85
2017-05-25 18:07:56 +02:00
Caolán McNamara 021ff0c97f RID_DB_TABLE_WIZARD_START should be RID_TABLE now
Change-Id: Ibb15f7e4ee1429213f523b8fd8d3b12dc4881257
2017-05-25 14:53:07 +01:00
Caolán McNamara da543e4efb convert starbasic wizards to .properties for translations
Change-Id: I165f85ee993995b54163061c7d378eea90eb276a
2017-05-25 14:53:07 +01:00
Caolán McNamara 882435a2d6 unused 'Blabla' resource string
Change-Id: Ia4a7311d8b7e21d6bfab71f3d569953f44732c64
2017-05-25 13:09:32 +01:00
Caolán McNamara 734662f2ac missing RID_FORM + 70 resource not used
Change-Id: I9b131d2f6fcf7ac22734f0e7b5d4d38447b4820c
2017-05-25 12:53:00 +01:00
Caolán McNamara 70fe321f3c match GetStarOfficeLocale with NLPSolver.ResourceManager
for better or worse is another issue

Change-Id: I2019c7506b95eb97461afc9b1d41782e0a9b2504
2017-05-25 09:43:16 +01:00
Caolán McNamara 63e3a8b48a GetLocale is unused
Change-Id: I106caf2e32236eea5b5517171c277533c4957c0e
2017-05-25 09:36:31 +01:00
Caolán McNamara a95def1aed convert java wizards to .properties for translations
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-24 16:38:31 +02:00
Jean-Pierre Ledure 7959165dfd Access2Base - Class attribute in <span> tag
Replaces the style attribute

Change-Id: Id9366fc403fd0d3ab8c32a13d60b6c1c7ae74d43
2017-05-22 15:08:56 +02:00
Caolán McNamara ee79b9875c Resolves: tdf#107964 partially revert "unused basic dialog"
This reverts commit 062e7063a9.

see ScModule::Execute

case SID_CHOOSE_DESIGN: ...  Template.Samples.ShowStyles

for the caller of this

Change-Id: I95fb4e2999d8898f9425ea6a523187be3c3842af
Reviewed-on: https://gerrit.libreoffice.org/37882
Reviewed-by: Caolán McNamara <caolanm@redhat.com>
Tested-by: Caolán McNamara <caolanm@redhat.com>
2017-05-21 20:05:03 +02:00