summaryrefslogtreecommitdiff
path: root/offapi/com/sun/star
AgeCommit message (Collapse)AuthorFilesLines
2012-09-27Improvements on previous commitStephan Bergmann1-6/+8
* Made XGlobalEventBroadcaster inherit document::XDocumentEventBroadcaster/ Listener replacements for obsolete document::XEventBroadcaster/Listener. This means some client sides unfortunately still need to use UNO_QUERY_THROW to obtain the obsolete interfaces; those client sides should be cleaned up to use the replacement interfaces instead. * Added @since tag (even to unpublished entities, on "it doesn't hurt" grounds). * Made client sides use XGlobalEventBroadcaster directly instead of querying for its super-interfaces. * Replaced new uses of comphelper::ComponentContext::getUNOContext with comphelper::getComponentContext (see 03a9f139bd9ea1a4f9096fc982e6b326def58532 "ComponentContext::getUnoContext -> getComponentContext simplification;" I intend to get rid of comphelper/componentcontext.hxx much sooner than of comphelper/processfactory.hxx). Change-Id: I6d971ebdaea83d0c3fa9ba299fb6b37e58cdfe9b
2012-09-27fdo#46808, Adapt frame::GlobalEventBroadcaster UNO service to new styleNoel Grandin2-14/+57
Create a merged XGlobalEventBroadcaster interface for this service to implement. Which is backwards-compatible, but does not require creating a new service. Also add two interfaces to the IDL, which the service already implemented, and existing client code already used. Change-Id: Ib7a9a30c0e50146ef621f3fe5227f8aad3190516
2012-09-25This fixes Windows build. Without this the build fails in dbaccess.Kohei Yoshida1-2/+3
Change-Id: I2a0e7fe8812d666b7668129b4ae9ce10a7d17d98
2012-09-20Revert "remove remnants of ProductRegistration"Matúš Kukan1-0/+82
This reverts commit 1f77f1ac177521698ee7c978f218127cb5840046 and b590d87b380389371eca94ffb0e6f47f86d1c917. Do this again when we will know how to get rid of published service in offapi/type_reference/types.rdb.
2012-09-20remove remnants of ProductRegistrationMatúš Kukan1-82/+0
Implementation is gone since b2d7ede98716806cc4b3ea8547247175d5f04d18 Change-Id: I3986ca99748f0010d80d2c788723a42a1725e83c
2012-09-20unusedcode: FastSaxSerializer is not used through UNOMatúš Kukan1-165/+0
Change-Id: I07d7b78be200f5f4a0674361237ef45b2bd1e3e1 Reviewed-on: https://gerrit.libreoffice.org/651 Reviewed-by: Miklos Vajna <vmiklos@suse.cz> Tested-by: Miklos Vajna <vmiklos@suse.cz>
2012-09-18better pptx custom shape presets import/exportRadek Doulik1-0/+5
- sometimes we produced unreadable pptx document with custom shape presets - fixes part of n#760997 - before we rely on simple rule that adjustments were named adj1, adj2, ... in case of multiple adjustments and named adj in case there was only one. there are few exceptions though, so now we use exact adjustment names defined in presetShapeDefinitions.xml - TODO: there still might be problem when exporting custom shapes, which didn't originated in pptx import Change-Id: Ic9517a69145a295ba6f680ddc3cc30fc771db3fd
2012-09-17fdo#46808, Adapt i18n::LocaleData UNO service to new styleNoel Grandin1-8/+1
The implementation of the LocaleData implements the optional XLocaleData4, so rather than creating a new interface for the new-style service, we simply make the service implement XLocaleData4, which in turn implements XLocaleData3, XLocaleData2, XLocaleData. Change-Id: I3e9a48b031be6b2aa5e04b376b3940b942add85a
2012-09-14Improvement on previous commit, UCB clean upStephan Bergmann2-32/+29
* As UCB is only ever initialized with "Local"/"Office", remove this configuration vector completely. The "create" ctor creates an instance internally initialized with those "Local"/"Office" keys. Special (test) code can still instantiate an uninitialized one via plain createInstance. And for backwards compatilibity process startup still ensures to create an initialized instance early, in case there is still code out there (in extensions) that later calls plain createInstance and expects to get the already-initialized (single) instance. * XInitialization is an "implementation detail" of the UniversalContentBroker service, do not expose in XUniversalContentBroker. * ucbhelper/configurationkeys.hxx is no longer needed and is removed. * ucbhelper/contentbroker.hxx is an empty wrapper and is removed; however, that requires ucbhelper::Content constructors to take explicit XComponentContext arguments now. * The only remaining code in ucbhelper/source/client/contentbroker.cxx is Android-only InitUCBHelper. Is that relevant still? Change-Id: I3f7bddd0456bffbcd13590c66d9011915c760f28
2012-09-14fdo#46808, Adapt ucb::UniversalContentBroker UNO service to new styleNoel Grandin2-117/+157
Create a merged XUniversalContentBroker interface for this service to implement. Which is backwards-compatible, but does not require creating a new service. Change-Id: Id264387bf8af8bf211050e15b8801a1fde368167
2012-09-14fdo#46808, Add @since tags to new IDL interfacesNoel Grandin2-2/+7
Change-Id: Ib351d92d071f6e93ec5eac93c0ab964cef7e7e2f
2012-09-14gridfixes: ensure removal of a column in grid control adjusts the cursorNorbert Thiebaud1-0/+20
Change-Id: I99be214bf12d340cc5e9330d1c21046dd366b07a Reviewed-on: https://gerrit.libreoffice.org/554 Reviewed-by: Miklos Vajna <vmiklos@suse.cz> Tested-by: Miklos Vajna <vmiklos@suse.cz>
2012-09-14gridfixes: #i117549# finalize css.awt.tab APINorbert Thiebaud10-14/+31
Change-Id: Ia7a555fb2551675605414189174eae8f65c70db7 Reviewed-on: https://gerrit.libreoffice.org/547 Reviewed-by: Miklos Vajna <vmiklos@suse.cz> Tested-by: Miklos Vajna <vmiklos@suse.cz>
2012-09-14gridfixes: #i117398# XMutableGridDataModel:Norbert Thiebaud4-6/+38
allow inserting rows at arbitrary positions Change-Id: Ia5af125035979951c61d6c8cd9a916e8f81bb6c0 Reviewed-on: https://gerrit.libreoffice.org/545 Reviewed-by: Miklos Vajna <vmiklos@suse.cz> Tested-by: Miklos Vajna <vmiklos@suse.cz>
2012-09-14gridfixes: #i117398# allow to specify selection colors in table/gridNorbert Thiebaud7-19/+44
Conflicts: toolkit/inc/toolkit/helper/property.hxx toolkit/source/controls/grid/defaultgriddatamodel.cxx Change-Id: Ie863aa7cecb4c7bda230ab829e6090689518dab8
2012-09-14gridfixes: #i117398# added XGridDataModel::getRowDataFrank Schoenheit [fs]1-4/+18
Change-Id: Ic08c2d54a76f2a2821822ec4b275883e4445c70c Reviewed-on: https://gerrit.libreoffice.org/543 Reviewed-by: Miklos Vajna <vmiklos@suse.cz> Tested-by: Miklos Vajna <vmiklos@suse.cz>
2012-09-14gridfixes: #i117398# cleaned up the row selection APINorbert Thiebaud6-110/+45
- made explicit that it is about row selection, leaving room for a future selection of columns - some changes for consistency - do not derive XGridControl from XGrid(Row)Selection, those two are orthogonal - published involved UNO types Change-Id: Ie97de42a9ea70a0191657f898ca9d59706e23290 Reviewed-on: https://gerrit.libreoffice.org/542 Reviewed-by: Miklos Vajna <vmiklos@suse.cz> Tested-by: Miklos Vajna <vmiklos@suse.cz>
2012-09-12Improvement on previous commitStephan Bergmann1-0/+2
Change-Id: I51226f78ca60c32ebb908bcf4f74d38d0750eb00
2012-09-12fdo#46808, Adapt xml::dom::SAXDocumentBuilderr UNO service to new styleNoel Grandin2-7/+47
Create a merged XSAXDocumentBuilder2 interface for this service to implement. Which is backwards-compatible, but does not require creating a new service. Change-Id: Iaa96031a0b7c27e957d2edb0394e5eeaaa84cdca
2012-09-11Improvement on previous commitStephan Bergmann3-5/+9
Change-Id: I10984b6ac4128ad46f512dade0f4e0084d0b9348
2012-09-11fdo#46808, Adapt task::PasswordContainer UNO service to new styleNoel Grandin2-20/+57
Create a merged XPasswordContainer2 interface for this service to implement. Which is backwards-compatible, but does not require creating a new service. Change-Id: I245b566b43e4646f10914b0aee13b2a0b0e296ae
2012-09-11Unused includesStephan Bergmann1-4/+0
Change-Id: I756b89012bc1cdef3a9b4612d9b2195fbe1f5f16
2012-09-06read support for docx w:embedTrueTypeFonts/w:embedSystemFontsLuboš Luňák1-0/+15
No write support yet. Change-Id: Ia10239acc77cf9ebc4f511e30c007da36abf43cb
2012-09-06offapi: move css.ui.UICommandDescription to css.frame.UICommandDescription:Michael Stahl1-3/+3
The service implementation used "com.sun.star.frame.UICommandDescription" since forever, so the IDL file was essentially wrong documentation. But since 7a464263cc5c2ca2b7128734ff4860e02d662818 converted the service to new-style, it cannot be instantated any more and e.g. clicking on Tools->Customize crashes. (Adapting the implementation instead would be an incompatible change.) Change-Id: I564bddaf3836827f5b72360a2bde19d6158b7ba5
2012-09-05fdo#46808, Adapt frame::ModuleManager UNO service to new styleNoel Grandin2-21/+59
Create a merged XModuleManager2 interface for this service to implement. Which is backwards-compatible, but does not require creating a new service. Explicitly document the XNameReplace interface in the IDL, which is already implemented by the service, since there is code currently using it. Change-Id: Ib46349174b1ce495c240031e93c9427fc33d9853
2012-09-04fdo#46808, Adapt drawing::ShapeCollection UNO service to new styleNoel Grandin1-12/+1
No client code is using the XComponent interface, so drop it. Change-Id: Id8f6da1248da641dcc0a3cb6d0a70e3bf29e5c99
2012-09-04fdo#46808, Adapt DocumentDigitalSignatures UNO service to new styleNoel Grandin1-2/+16
Rename service from "Decryptor" to "DocumentDigitalSignatures" to be consistent with the other UNO services, and with it's own header file name. Add service constructor for passing in arguments. Change-Id: Iaca0c40bb2f1a1af2ef9ca29361bfd023ade2678
2012-09-03fdo#46808, Adapt util::NumberFormatter UNO service to new styleNoel Grandin2-18/+52
Create a merged XNumberFormatter2 interface for this service to implement. Which is backwards-compatible, but does not require creating a new service. Change-Id: I57f35cde0a9dbbe91c1d2c3d068cb3a97c7245e3
2012-09-03Remove some unnecessary includes from the IDL filesNoel Grandin3-3/+0
Change-Id: I7f18b528c9660890fe8da18da173ee69f1e1390e
2012-09-03Remove unnecessary XTypeProvider from IDLNoel Grandin17-136/+14
XTypeProvider does not need to be explicitly declared in interface or service definitions, it is handling automagically by the cppuhelpers. Along the way, convert service definitions that now only have one interface into new-style UNO service definitions. Change-Id: Id1706b5afdc2c49f89c583eef8cf0a8a0721713f
2012-09-03fdo#46808, Adapt xml::dom::DocumentBuilder UNO service to new styleNoel Grandin1-4/+6
Change-Id: I577fbc7f990be9ec1f7b7eea53218b7daaccb2a1
2012-09-03fdo#46808, Adapt UICommandDescription UNO service to new styleNoel Grandin1-15/+10
Change-Id: Ibca112904f137ff981ae9be3e5bd56aa11aec352
2012-09-03fdo#46808, Adapt ModuleUIConfigurationManagerSupplier UNO service to new styleNoel Grandin1-16/+12
Change-Id: I58b17349474b974edd24aa17ec08ffa848a92ae9
2012-08-24fdo#53968 etc.: Fix more "doesn't start after upgrade" problemsStephan Bergmann2-0/+8
* fdo#53968 revealed that multiple soffice.bin instances can run removeTree in parallel. Therefore, demoted failures from exceptions to SAL_WARNs. (And keeping fingers crossed.) * a8cdce148c76c93c5d41820610d6e6ac175e03a7 "fdo#53655: Ignore failure to remove directories (as happens on Windows XP)" was due to a forgotten osl::Directory::close before calling osl::Directory::remove after all. * UserInstallations have been seen in the wild where no extensions were installed per-user (any longer), but user/uno_packages/cache/registry/ com.sun.star.comp.deployment.component.PackageRegistryBackend/*.rdb files contained data nevertheless. To reliably clean out any old junk, refreshBundledExtensionsDir has been extended to cleanExtensionsCache which in tandem with an extended Desktop::SynchronizeExtensionRepositories now cleanly re-installs all bundled, shared, and per-user extensions after a LO upgrade. Change-Id: Ic6b5b6c1945d76eb3a65b6cd4512a657b7a835a0
2012-08-23fdo#46808, Remove unnecessary XServiceInfo lines in UNO IDLNoel Grandin54-221/+11
XServiceInfo does not need to be declared as a supported sub-interface for services, it is always implicitly there. Also, for those services that now only contain one interface, convert them to new-style service IDL declarations. Change-Id: I325c27f287a02de6bdfc8bb6e5bf6c2a4ae0a753 Signed-off-by: Stephan Bergmann <sbergman@redhat.com>
2012-08-14Remove SSOExceptions.idlStephan Bergmann5-37/+13
Change-Id: I930603bfcee8084eae0a086d3ce02182b8b13541
2012-08-14Applied fdo#46808 to offapi/auth moduleJean-Tiare LE BIGOT2-14/+8
For auth module, this is more like a cosmetic change :) Anyway, all the tests passes and this is one more module migrated. Signed-off-by: Stephan Bergmann <sbergman@redhat.com> with additional changes: * Kept the odd SSOExceptions as noheader instead of nohdl. Change-Id: Iaef3b4ab8c29526be8d0a388fc17e6af5d293c81
2012-08-12Remove comment art from offapi and udkapiJean-Tiare LE BIGOT3247-18706/+0
I used this "one-liner" to detect comment lines containing only spaces and '=' or '-' $ find . -name "*.*" -exec sed -i '/^\s*\/\/\s*[-=]*\s*$/d' {} \; Change-Id: Iac589765c8c2e7c3ad9c487d57e48b4fd4439f07
2012-08-10Related fdo#51252: No more prereg, no more unopkg syncStephan Bergmann1-20/+0
Now that 5c47e5f63a79a9e72ec4a100786b1bbf65137ed4 "fdo#51252 Disable copying share/prereg/bundled to avoid startup crashes" removed the use of share/prereg, there is no longer need to generate it in the first place (by calling "unopkg sync" at build or installation time), and so no need for the "unopkg sync" sub- command, either. This also allows to simplify some of the jvmfwk code that was only there so that "unopkg sync" (which can require a JVM) can work in "hostile" environments (during build and installation). Change-Id: I52657384f4561bf27948ba4f0f88f4498e90987f
2012-08-09fdo#53006: Remove user/extensions/bundled cache after upgradeStephan Bergmann2-15/+1
... to clean out all sorts of inconsitencies that can have accrued there over time apparently due to how the mechanism of copying share/prereg/bundled worked, and to work around stale $BUNDLED_EXTENSIONS_PREREG references in a better way than the previous 81fd6b084b0f3c0eb5a97c77592f5ceb21d2dfb1 "fdo#53006 Force reinstall of all bundled extensions on upgrade." See the comment on refreshBundledExtensionsDir for how, at least in theory, that functionality could be removed again in the future. This effectively reverts 2d2b19dea1ab401b1b4971ff5b12b87bb11fd666 "Force ExtensionManager resync when the implementation changes" and 81fd6b084b0f3c0eb5a97c77592f5ceb21d2dfb1 "fdo#53006 Force reinstall of all bundled extensions on upgrade" (the latter at least on master; it had never been cherry-picked to libreoffice-3-6), which it obsoletes. Change-Id: I8f80c07a06ec9d53b03813338eeff7d7757c9d4d
2012-08-07remove empty ascii boxes and stuff IIThomas Arnhold162-510/+0
Change-Id: I7fc113f8d59f7c82bae6acace7bf4230b4c2bbea
2012-08-07drop bogus eof linesThomas Arnhold1-2/+0
Change-Id: Idda2852c3e96ce15fde75d5a95369ec50a012410
2012-08-02fdo#53006 Force reinstall of all bundled extensions on upgradeStephan Bergmann2-1/+15
...as the per-user data about bundled extensions can otherwise contain stale $BUNDLED_EXTENSIONS_PREREG references if the old installation used share/prereg/bundled/, the new one does not (cf. the fixing for fdo#51252 "LO cannot start (reports runtime error with Visual C++ Runtime Library)"), and a bundled extension did not change version. It is safe to tie this behavior to the existing "force" parameter of dp_misc::syncRepositories, as the only place that calls it with force=true is the call to Desktop::SynchronizeExtensionRepositories(newInst) in Desktop::Main, where newInst=true is the relevant condition for this behavior, too. As stated in XExtensionManager.idl, "this [...] can go again once no exisiting UserInstallation's user/extensions/bundled/ data can contain any $BUNDLED_EXTENSIONS_PREREG references any longer." Change-Id: I630dec8f2d20282ee47c65ac61ed2c9b062448e1
2012-07-30udkapi, offapi: do not use #include "foo":Michael Stahl17-38/+38
Evidently on Windows, the newfangled ucpp handles #include "foo" differently from #include <foo> and treats it as a relative path, while the angle brackets always result in absolute paths. Since relative paths result in infinite rebuilds if make is invoked in a different directory, don't use #include "foo" in IDL files. Change-Id: Iedcda3a4be5542389a0be086f14541cda8dc5323
2012-07-27fdo#35973: XConfigurationController:Michael Stahl1-6/+0
Remove that horrible IsDisposing method, much easier to just put the call to SaveResourceState into the disposing() handler that is called anyway (well, should be called now, previously the ResourceManager wasn't registered...)) Change-Id: Ia81f6bf47602b195c0326f2151393542f5f8b9ec
2012-07-26fd0#35973 - [EasyHack] Remember the state of the sidebar pane in ImpressRob Snelders1-0/+6
Change-Id: Ie287bc1c545bd8986ee3509181c878bdcd0d1942
2012-07-25Make comphelper/configuration.hxx work for localized propertiesStephan Bergmann2-8/+22
See aebf5bf22304c73e121b16dc0b51f909c5f34c28 "fdo#52232 ConfigurationSet wrapper unusable for localized properties" for a discussion of the problems with the original design. 1 Redesigned configmgr's localized property access to understand ['*<locale>'] paths that select the best existing value match for the requested <locale>. Adapted ConfigurationWrapper::getLocalizedPropertyValue accordingly. 2 Redesigned ConfigurationChanges to fix the locale at instantiation time. That takes care of ConfigurationWrapper::setLocalizedPropertyValue, ConfigurationWrapper::getGroupReadWrite, and ConfigurationWrapper::getSetReadWrite. (This required an additional constructor parameter for the ReadWriteAccess service, to specify a locale at instantiation time.) 3 Redesigned ReadOnlyAccess to be a service that fixes the locale at instantiation time. That allows to take care of ConfigurationWrapper::getGroupReadOnly and ConfigurationWrapper::getSetReadOnly. Change-Id: I2ae7342b278b6f4222a0189a1deb2a53e204059f
2012-07-20SwPostItField: add aName memberMiklos Vajna1-0/+5
To handle roundtrip of office:name in ODF. Change-Id: I35dab189f7b9b8191ca92c647332e2271d4806f9
2012-07-16SwPostItField: added aInitials memberMiklos Vajna1-0/+5
Change-Id: I9cc8dcd2c8e1d9074b58195d37289a9b4cfe43cf
2012-07-14simplify include guardsThomas Arnhold25-25/+25
Change-Id: Id4210229b20a1d54b680ff1a2ccbcdd3684ecf5f