summaryrefslogtreecommitdiffstats
path: root/vbahelper
Commit message (Collapse)AuthorAgeFilesLines
* finish deprecation of O(U)String::valueOf()Luboš Luňák2013-08-214-11/+11
| | | | | | | Compiler plugin to replace with matching number(), boolean() or OUString ctor, ran it, few manual tweaks, mark as really deprecated. Change-Id: I4a79bdbcf4c460d21e73b635d2bd3725c22876b2
* remove OUString wrap for string literalsThomas Arnhold2013-06-294-6/+6
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | For some functions and all kinds of Exceptions. CannotConvertException CloseVetoException DisposedException EmptyUndoStackException ErrorCodeIOException Exception GridInvalidDataException GridInvalidModelException IOException IllegalAccessException IllegalArgumentException IllegalTypeException IndexOutOfBoundsException NoMasterException NoSuchElementException NoSupportException PropertyVetoException RuntimeException SAXException ScannerException StorageWrappedTargetException UnsupportedFlavorException VetoException WrappedTargetException ZipIOException throwGenericSQLException throwIllegallArgumentException createInstance createInstanceWithContext forName getByName getPackageManager getPropertyValue getUnpackedValueOrDefault getValueByName hasPropertyByName openKey setName setPropertyValue supportsService bash command: for i in `cat list`; do git grep "$i\s*(\s*OUString(\s*\"" -- '*.[hc]xx' | cut -d ':' -f1 | sort -u | xargs sed -i -e "s/\(\<$i\s*(\)\s*OUString(\s*\(\"[^\")\\]*\"\)\s*)\s*/\1\2/g" -e "s/\($i.*\)\"+ /\1\" + /g"; done Change-Id: Iaf8e641b0abf28c082906014f87a183517630535 Reviewed-on: https://gerrit.libreoffice.org/4624 Tested-by: LibreOffice gerrit bot <gerrit@libreoffice.org> Reviewed-by: Thomas Arnhold <thomas@arnhold.org> Tested-by: Thomas Arnhold <thomas@arnhold.org>
* re-base on ALv2 code. Includes:Michael Meeks2013-06-032-42/+24
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Patches contributed by Mathias Bauer gnumake4 work variously http://svn.apache.org/viewvc?view=revision&revision=1394707 http://svn.apache.org/viewvc?view=revision&revision=1394326 http://svn.apache.org/viewvc?view=revision&revision=1397337 http://svn.apache.org/viewvc?view=revision&revision=1397315 http://svn.apache.org/viewvc?view=revision&revision=1396797 Patches contributed by Andre Fischer Fixed getcsym.awk to handle #-comments that contain special regexp chars. http://svn.apache.org/viewvc?view=revision&revision=1230971 118778: Added ADDITIONAL_REPOSITORIES environment variable and its automatic setup in configure. http://svn.apache.org/viewvc?view=revision&revision=1232004 118160: Added external CoinMP library. http://svn.apache.org/viewvc?view=revision&revision=1233909 Patches contributed by Herbert Duerr #i119168# use generic LICENSE file for langpacks and sdks http://svn.apache.org/viewvc?view=revision&revision=1310178 macosxotoolhelper: need to quote perl regexp if it may contain regexp metachars http://svn.apache.org/viewvc?view=revision&revision=1183367 allow gbuild with empty sysroot on linux http://svn.apache.org/viewvc?view=revision&revision=1179186 Patches contributed by Ingo Schmidt native373: #164472# improvements for msi database http://svn.apache.org/viewvc?view=revision&revision=1167540 http://svn.apache.org/viewvc?view=revision&revision=1167539 Patches contributed by Jurgen Schmidt adapt setup package scripts to handle special DS_Store file for developer snapshot builds http://svn.apache.org/viewvc?view=revision&revision=1232430 imported patch extensions_i117681.patch http://svn.apache.org/viewvc?view=revision&revision=1172102 Patches contributed by Michael Stahl gbuild: RepositoryFixes.mk should be optional http://svn.apache.org/viewvc?view=revision&revision=1166123 xslt filter: remove the FLA horror wordml import filter: replace FLA usage with plain XSLT http://svn.apache.org/viewvc?view=revision&revision=1363727 Patch contributed by Oliver-Rainer Wittmann i#88652: applied patch, remove unicows deps http://svn.apache.org/viewvc?view=revision&revision=1177585 Remove lots of OS2 conditionals, re-extract Rhino Java, unwind cppunit pieces, cleanup Mac image bits, remove coin-mp and re-package lpsolve, Oxygen & Crystal, fixup qstart bits, expand MPLv2 subset checking. Change-Id: Iad5c8a76399620b892671633c0d8c29996db3564
* Parse workbook name correctly, don't fall over spaces etc.Noel Power2013-05-092-5/+11
| | | | Change-Id: I26213e4202ea2f2d15014ca722ab7878aa09cbf1
* support UserForm.Visible attributeNoel Power2013-05-092-0/+20
| | | | Change-Id: I6e5a9d3e7908349a76a73a79b3b1319b44e1e3aa
* support Shape.AlternativeNoel Power2013-05-091-0/+16
| | | | Change-Id: I6d822ef0d06e222f454c1279be16e33bcaae0037
* tweak combox to selectively fire change or click eventNoel Power2013-05-091-1/+9
| | | | | | | we need to fire a click event if just the item in the dropdown changed and a change event if the item we changed is really part of the list Change-Id: I19f950fca0857761d8f59a07513803f1f3ef135b
* support api initiated change_event for combox & textboxNoel Power2013-05-092-0/+7
| | | | Change-Id: Iff51a184792e9d12accb902df1772fc07589443b
* fix contrast not increment to limit value between 0.0 & 1.0Noel Power2013-05-091-5/+5
| | | | Change-Id: I1a8c08fb8f704e69ae1ae75d77784f07a1d99a12
* Setting TEXT causes exception, don't do itNoel Power2013-05-091-2/+1
| | | | Change-Id: Idc5614a80e6e45d12f1323ffa9843c7fa7f9576e
* ListBox.MultiSelection takes fmMultiSelect enum not boolNoel Power2013-05-092-6/+22
| | | | Change-Id: Ic9ea60feadc551b232b393faafea9760cc3b82f0
* fix TextBox value error, MaxLength is long in vba but short in libreofficeNoel Power2013-05-091-3/+4
| | | | Change-Id: I550fe6833f240d085fadf55ab8d9421947318eef
* tweak vba Control implementation to aritificially fire events from apiNoel Power2013-05-092-3/+6
| | | | | | | | Previouslly there were some internal methods to allow event handlers to be triggered. To test some functionality from the unit tests we now expose some of that functionality via uno. Change-Id: I11022226260d3dacd82f42ce89413102ce34cc13
* create togglebutton class ( for togglebutton on sheet )Noel Power2013-05-091-1/+8
| | | | Change-Id: If987eb6ed04d80e62b4b418e8f9de3a143ef68a7
* handle bool value for checkbox, radiobutton, togglebutton consistentlyNoel Power2013-05-093-18/+22
| | | | Change-Id: I1f9057e58fe3625e0b76a09d79c7c56e1838d98a
* gbuild: drop uses of removed packagesDavid Tardon2013-04-241-2/+0
| | | | | | | Change-Id: I400fad08c0ae7b6b34bad63693f54856867e4dac Reviewed-on: https://gerrit.libreoffice.org/3502 Reviewed-by: David Tardon <dtardon@redhat.com> Tested-by: David Tardon <dtardon@redhat.com>
* execute move of global headersBjoern Michaelsen2013-04-2323-2119/+0
| | | | | | | see https://gerrit.libreoffice.org/#/c/3367/ and Change-Id: I00c96fa77d04b33a6f8c8cd3490dfcd9bdc9e84a for details Change-Id: I199a75bc4042af20817265d5ef85b1134a96ff5a
* Revert "add missing include"Bjoern Michaelsen2013-04-161-1/+0
| | | | This reverts commit 6b08209ae4cebe9c71fe5496499f2e9a4d42def3.
* add missing includeBjoern Michaelsen2013-04-161-0/+1
|
* Add missing #include <rtl/tencinfo.h>Tor Lillqvist2013-04-161-0/+1
| | | | Change-Id: Ic00146442a679c39d0af4a287cbcf759826f35cd
* warning C4702: unreachable codeMichael Stahl2013-04-081-1/+0
| | | | Change-Id: Id08a2e295d340095651daa1161efd7603947254a
* mass removal of rtl:: prefixes for O(U)String*Luboš Luňák2013-04-0722-94/+94
| | | | | | | | Modules sal, salhelper, cppu, cppuhelper, codemaker (selectively) and odk have kept them, in order not to break external API (the automatic using declaration is LO-internal). Change-Id: I588fc9e0c45b914f824f91c0376980621d730f09
* fix selection change event firingNoel Power2013-04-051-0/+3
| | | | Change-Id: I64e8b684dd5462e1a742ba47b5480951b4e3a4c4
* fix 'Visible' property for XControlShape(s) Foreach support for CommandBarsNoel Power2013-04-052-1/+18
| | | | | | | | | | | Seems now we need to additionally set 'Visible' property for XControlShapes to ensure correct visibility Also we need allow 'For Each' syntax to with with CommandBar collection. Note: the implementation of the CommandBar enumeration seems wrong, I would have thought that it should match ( and share ) implementation details with normal index access ( it doesn't ) Change-Id: Ia5306b4c976f6dc9a5f82e245ca5440f204f5bab
* Added and fixed various vba APINoel Power2013-04-054-5/+64
| | | | | | | | Added OLEObject.LinkedCell Added ComboBox.LinkedCell Added Validation.Type Change-Id: I5ffc2212e689870d58ca99d1fbdfd7d101f8b50f
* fdo#43157 - Clean up OSL_ASSERT, DBG_ASSERTRadu Ioan2013-04-0311-26/+24
| | | | | | | | | | - replaced osl_trace with sal_info - added new log areas to log-area.dox Change-Id: I20f539bd9fa62bef2e9a2a82b59e0b15f4efdd48 Reviewed-on: https://gerrit.libreoffice.org/3179 Reviewed-by: Thomas Arnhold <thomas@arnhold.org> Tested-by: Thomas Arnhold <thomas@arnhold.org>
* Remove RTL_CONSTASCII_USTRINGPARAM in smoketest/sot/svl/toolkit/vbahelperChr. Rossmanith2013-04-011-1/+1
| | | | Change-Id: I0816631a1d0c68dcef9c640c91d00ac9942ded28
* -Wunused-macrosStephan Bergmann2013-03-271-5/+0
| | | | Change-Id: Ifaa1637122d6f9cae1e29b77ac36ca5d1f220aed
* remove legacy build.pl prj/build.lst files.Michael Meeks2013-03-141-3/+0
|
* Assignment of function parameter has no effect outside the functionJulien Nabet2013-03-081-1/+1
| | | | Change-Id: I5d869414a382e9b96ea403c645a9050372e5e39d
* remove all d.lstMichael Stahl2013-02-281-0/+0
| | | | Change-Id: Icba4218c5f9fe89d183d25ea82a8eae52881f885
* remove RTL_CONSTASCII_(U)STRINGPARAMChr. Rossmanith2013-02-242-16/+16
| | | | | | | Change-Id: Ica4dc859229c2ba0dc052a97ff23178895c25580 Reviewed-on: https://gerrit.libreoffice.org/2368 Reviewed-by: Norbert Thiebaud <nthiebaud@gmail.com> Tested-by: LibreOffice gerrit bot <gerrit@libreoffice.org>
* typo: allways -> alwaysAndras Timar2013-02-201-1/+1
| | | | Change-Id: I48bd0161dd76c36eeaa39c45e9539584a4ef6841
* fdo#46808, convert some code to use getProcessComponentContextNoel Grandin2013-01-281-4/+4
| | | | | | these VBA services should be left alone, according to Noel Power. Change-Id: Iee394f73fa99c18d6b70892bff9b0e2122f67d69
* gbuild: remove various pointless calls that don't add anythingMichael Stahl2013-01-262-10/+0
| | | | Change-Id: I7eccac4fa8890c2873c6bbd7f8f5bf5b0dd006d2
* gbuild: do not copy boost headers aroundMichael Stahl2013-01-262-0/+4
| | | | | | | | | - do not use gb_UnpackedTarball_copy_header_files for boost - adapt the optimization in concat-deps.c for new path - use boost_headers in all LinkTargets that require it - add explicit include paths to mysqlc, mysqlcppconn, libvisio, liborcus Change-Id: I0c43e73ed43cc9d2e6bce8faf55e992d655a0bb9
* fdo#46808, Convert frame::Desktop to new style service.Noel Grandin2012-12-211-16/+5
| | | | | | | | | | | | | | | | | | | | | | | | | I had to drop XEventBroadcaster from the merged interface because it introduced method name conflicts (addEventListener). Shouldn't be an issue since it was scheduled to be dropped anyhow, and the service implementation still implements it, so existing clients will be fine. I dropped the interface XPropertySet from the combined IDL because nobody seems to be using it, and it's primary purpose appears to be to set weird flags. I dropped the optional interfaces XStatusIndicatorFactory XDispatchInformationProvider from the combined IDL because the service does not implement them, and nobody seems to be using them. I suspect they were mistakenly copied from XFrame. I also did not convert the Title, UserDefinedAttributes and LayoutManager properties to attributes, again because no-one is using them. Change-Id: I678a00006ed2cca2d6c37c4e39465811442c33af
* fdo#46808, use service constructor for ui::WindowStateConfigurationNoel Grandin2012-12-131-3/+2
| | | | Change-Id: I0b7f773a7db47049d7df4138d07e7fc38c657a65
* callcatcher: remove unused rtf filter and associated methodsCaolán McNamara2012-12-102-5/+0
| | | | | | update and remove newly unused code, mostly original rtf filter Change-Id: I2dd302851ee6fad62d79fbc81cb8a61a861396db
* clean up more sbxToUnoValue declarationsMichael Stahl2012-12-041-4/+1
| | | | Change-Id: Ieff54baaff53031712f737dab84f840adb3bb09a
* c++ API: use css alias in generated headers, adds global css declThorsten Behrens2012-11-302-2/+1
| | | | | | | | | | | | This changes all generated API headers (.hpp and .hdl) to use a namespace alias 'css' instead of the pointlessly long com::sun::star Makes the change in cppumaker & associated tools, adds a global namespace alias definition in sal/types.h, and removes a kiloton of local, now pointless-to-harmful versions of that alias from all over the code. Change-Id: Ice5a644a6b971a981f01dc0589d48f5add31cc0f
* convert users of XDocumentInfo to XDocumentPropertiesMichael Stahl2012-11-221-1/+0
| | | | Change-Id: I10f395f90d554d0ec26fe9f2654ae839e21c7ee5
* add a README filesAlia Almusaireae2012-11-051-0/+1
| | | | | | | Change-Id: I4bd9a7d00df220e2a3deae3cc1b7b0f4a1098e24 Reviewed-on: https://gerrit.libreoffice.org/989 Reviewed-by: Michael Meeks <michael.meeks@suse.com> Tested-by: Michael Meeks <michael.meeks@suse.com>
* basic: String -> OUString in basicmanagerNorbert Thiebaud2012-11-031-1/+1
| | | | Change-Id: I6607bfe8b6bf4d29ffd01cd88a19af5e53d616b5
* fdo#46808, use service constructor for beans::IntrospectionNoel Grandin2012-10-231-3/+3
| | | | Change-Id: Ieb49277020d31779979d8eb508391d6f8b97bf94
* mark lcl_ functions static or rename them if they are not local at allLuboš Luňák2012-10-122-3/+3
| | | | | | http://lists.freedesktop.org/archives/libreoffice/2012-October/039639.html Change-Id: I37b2c7b7acd31437f4be74b0163f4dac2279655b
* Use prefixTor Lillqvist2012-10-022-2/+2
| | | | Change-Id: Ic63d4b6403438fee2d6c70e329ee33d2cde7426b
* Use comphelper::getComponentContextStephan Bergmann2012-09-291-10/+2
| | | | | | ...and some further clean up. Change-Id: Id294c0f38fe0041646fc86cacbd2e19734c746a9
* gbuild: invert handling of standard system libraries:Michael Stahl2012-09-282-4/+0
| | | | | | | Always link in gb_STDLIBS, except when the library explicitly opts out with gb_LinkTarget_disable_standard_system_libs. Change-Id: I489a99114fbfa46d0421a27cf6c7b899dc268a4a
* gbuild: replace direct gb_STDLIBS use with ...Michael Stahl2012-09-282-2/+4
| | | | | | ... new gb_LinkTarget_add_standard_system_libs Change-Id: Ib2bc843098db3d8c6822b45a3d21724e67f57d69