summaryrefslogtreecommitdiff
path: root/vbahelper/source
AgeCommit message (Collapse)Author
2013-06-29remove OUString wrap for string literalsThomas Arnhold
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>
2013-05-09Parse workbook name correctly, don't fall over spaces etc.Noel Power
Change-Id: I26213e4202ea2f2d15014ca722ab7878aa09cbf1
2013-05-09support UserForm.Visible attributeNoel Power
Change-Id: I6e5a9d3e7908349a76a73a79b3b1319b44e1e3aa
2013-05-09support Shape.AlternativeNoel Power
Change-Id: I6d822ef0d06e222f454c1279be16e33bcaae0037
2013-05-09tweak combox to selectively fire change or click eventNoel Power
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
2013-05-09support api initiated change_event for combox & textboxNoel Power
Change-Id: Iff51a184792e9d12accb902df1772fc07589443b
2013-05-09fix contrast not increment to limit value between 0.0 & 1.0Noel Power
Change-Id: I1a8c08fb8f704e69ae1ae75d77784f07a1d99a12
2013-05-09Setting TEXT causes exception, don't do itNoel Power
Change-Id: Idc5614a80e6e45d12f1323ffa9843c7fa7f9576e
2013-05-09ListBox.MultiSelection takes fmMultiSelect enum not boolNoel Power
Change-Id: Ic9ea60feadc551b232b393faafea9760cc3b82f0
2013-05-09fix TextBox value error, MaxLength is long in vba but short in libreofficeNoel Power
Change-Id: I550fe6833f240d085fadf55ab8d9421947318eef
2013-05-09tweak vba Control implementation to aritificially fire events from apiNoel Power
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
2013-05-09create togglebutton class ( for togglebutton on sheet )Noel Power
Change-Id: If987eb6ed04d80e62b4b418e8f9de3a143ef68a7
2013-05-09handle bool value for checkbox, radiobutton, togglebutton consistentlyNoel Power
Change-Id: I1f9057e58fe3625e0b76a09d79c7c56e1838d98a
2013-04-16Revert "add missing include"Bjoern Michaelsen
This reverts commit 6b08209ae4cebe9c71fe5496499f2e9a4d42def3.
2013-04-16add missing includeBjoern Michaelsen
2013-04-16Add missing #include <rtl/tencinfo.h>Tor Lillqvist
Change-Id: Ic00146442a679c39d0af4a287cbcf759826f35cd
2013-04-08warning C4702: unreachable codeMichael Stahl
Change-Id: Id08a2e295d340095651daa1161efd7603947254a
2013-04-07mass removal of rtl:: prefixes for O(U)String*Luboš Luňák
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
2013-04-05fix selection change event firingNoel Power
Change-Id: I64e8b684dd5462e1a742ba47b5480951b4e3a4c4
2013-04-05fix 'Visible' property for XControlShape(s) Foreach support for CommandBarsNoel Power
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
2013-04-05Added and fixed various vba APINoel Power
Added OLEObject.LinkedCell Added ComboBox.LinkedCell Added Validation.Type Change-Id: I5ffc2212e689870d58ca99d1fbdfd7d101f8b50f
2013-04-03fdo#43157 - Clean up OSL_ASSERT, DBG_ASSERTRadu Ioan
- 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>
2013-03-27-Wunused-macrosStephan Bergmann
Change-Id: Ifaa1637122d6f9cae1e29b77ac36ca5d1f220aed
2013-03-08Assignment of function parameter has no effect outside the functionJulien Nabet
Change-Id: I5d869414a382e9b96ea403c645a9050372e5e39d
2013-02-24remove RTL_CONSTASCII_(U)STRINGPARAMChr. Rossmanith
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>
2013-02-20typo: allways -> alwaysAndras Timar
Change-Id: I48bd0161dd76c36eeaa39c45e9539584a4ef6841
2013-01-28fdo#46808, convert some code to use getProcessComponentContextNoel Grandin
these VBA services should be left alone, according to Noel Power. Change-Id: Iee394f73fa99c18d6b70892bff9b0e2122f67d69
2012-12-21fdo#46808, Convert frame::Desktop to new style service.Noel Grandin
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
2012-12-13fdo#46808, use service constructor for ui::WindowStateConfigurationNoel Grandin
Change-Id: I0b7f773a7db47049d7df4138d07e7fc38c657a65
2012-12-10callcatcher: remove unused rtf filter and associated methodsCaolán McNamara
update and remove newly unused code, mostly original rtf filter Change-Id: I2dd302851ee6fad62d79fbc81cb8a61a861396db
2012-12-04clean up more sbxToUnoValue declarationsMichael Stahl
Change-Id: Ieff54baaff53031712f737dab84f840adb3bb09a
2012-11-22convert users of XDocumentInfo to XDocumentPropertiesMichael Stahl
Change-Id: I10f395f90d554d0ec26fe9f2654ae839e21c7ee5
2012-11-03basic: String -> OUString in basicmanagerNorbert Thiebaud
Change-Id: I6607bfe8b6bf4d29ffd01cd88a19af5e53d616b5
2012-10-23fdo#46808, use service constructor for beans::IntrospectionNoel Grandin
Change-Id: Ieb49277020d31779979d8eb508391d6f8b97bf94
2012-10-12mark lcl_ functions static or rename them if they are not local at allLuboš Luňák
http://lists.freedesktop.org/archives/libreoffice/2012-October/039639.html Change-Id: I37b2c7b7acd31437f4be74b0163f4dac2279655b
2012-10-02Use prefixTor Lillqvist
Change-Id: Ic63d4b6403438fee2d6c70e329ee33d2cde7426b
2012-09-29Use comphelper::getComponentContextStephan Bergmann
...and some further clean up. Change-Id: Id294c0f38fe0041646fc86cacbd2e19734c746a9
2012-09-12targetted VBA re-work.Noel Power
2012-09-08OUString cleanup in vbahelper/msformsOlivier Hallot
Change-Id: I834c5f1f26f941a5db84b677f34ffa686e0c2544 Reviewed-on: https://gerrit.libreoffice.org/578 Reviewed-by: Olivier Hallot <olivier.hallot@alta.org.br> Tested-by: Olivier Hallot <olivier.hallot@alta.org.br>
2012-09-08More OUString cleanup in vbahelperOlivier Hallot
Change-Id: Ie9c650da762e9d5afea9018dd2c6496fcd14ca6f Reviewed-on: https://gerrit.libreoffice.org/577 Reviewed-by: Olivier Hallot <olivier.hallot@alta.org.br> Tested-by: Olivier Hallot <olivier.hallot@alta.org.br>
2012-09-08More OUString cleanup in vbahelperOlivier Hallot
Change-Id: Ibf1661c612486a3d5259d0e78dd03294d5eeef76 Reviewed-on: https://gerrit.libreoffice.org/576 Reviewed-by: Olivier Hallot <olivier.hallot@alta.org.br> Tested-by: Olivier Hallot <olivier.hallot@alta.org.br>
2012-09-08Some OUString cleanup in vbahelperOlivier Hallot
and RTL_CONSTASCII_USTRINGPARAM removal Change-Id: Ibc1411805fcf0a75ea9f660fd9ee8f5fdcda6b1d Reviewed-on: https://gerrit.libreoffice.org/574 Reviewed-by: Olivier Hallot <olivier.hallot@alta.org.br> Tested-by: Olivier Hallot <olivier.hallot@alta.org.br>
2012-09-07Requires explicit ctorStephan Bergmann
Change-Id: I9c3a8b7366cda75d25341afaf35da9e1ea7e4f9f
2012-09-07More OUString cleanup in vbahelperOlivier Hallot
Change-Id: Ie7e350698900f1c1cacb6ebc3fa6716ef03ab782 Reviewed-on: https://gerrit.libreoffice.org/575 Reviewed-by: Luboš Luňák <l.lunak@suse.cz> Tested-by: Luboš Luňák <l.lunak@suse.cz>
2012-09-04Some clean up of previous commitStephan Bergmann
Change-Id: I75a4b2be2fbaf47a2ddb3498dd4e46b1169d47cc
2012-09-04fdo#46808, Adapt drawing::ShapeCollection UNO service to new styleNoel Grandin
No client code is using the XComponent interface, so drop it. Change-Id: Id8f6da1248da641dcc0a3cb6d0a70e3bf29e5c99
2012-09-03fdo#46808, Adapt ModuleUIConfigurationManagerSupplier UNO service to new styleNoel Grandin
Change-Id: I58b17349474b974edd24aa17ec08ffa848a92ae9
2012-08-31-Werror,-Wunused-private-field (Clang towards 3.2)Stephan Bergmann
Change-Id: I2342c6fa614ffbd805c3606de20e080e677fce28
2012-08-27fdo#46808, Adapt script::Converter service code to new styleNoel Grandin
Change-Id: I19b3ba7c978e02ce865360f0411007525012149c
2012-08-26remove VBA_OOBUILD_HACK and friendsNoel Power
Change-Id: I5c21a407bcae1b668976b94a757d564120973b1a