summaryrefslogtreecommitdiff
path: root/offapi
AgeCommit message (Collapse)AuthorFilesLines
2012-09-27Improvements on previous commitStephan Bergmann1-1/+3
* Made XDatabaseContext inherit XDatabaseRegistrations non-optionally, adapted call-sites to just use XDatabaseContext w/o querying. (The previous commit had inadvertantly effectively removed support for XDatabaseRegistrations from the ODatabaseContext implementation, as an optional UNO super-interface does not lead to a super-class in the corresponding C++ class hierarchy, but making the super-interface non-optional fixes that anyway.) * Adapted some more call-sites to just use XDatabaseContext w/o querying. * Added @since tag. * 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: I68d09f2dbe651629f79ed21cd40cdb6d6b32c624
2012-09-27fdo#46808, Adapt sdb::DatabaseContext UNO service to new styleNoel Grandin7-58/+87
Create a merged XDatabaseContext interface for this service to implement. Which is backwards-compatible, but does not require creating a new service. Quite a few IDL files had to be marked as published for this to work. Change-Id: Ie9a0da88d8c33cc83fc9d2334ff83ab2744c222f
2012-09-27re-base on ALv2 code. Includes:Michael Meeks1182-27422/+17811
linecap: Reintegrating finished LineCap feature Work contributed by Regina Henschel http://svn.apache.org/viewvc?view=revision&revision=1232507 i118815 - Deprecate service due to removed implementation Patch contributed by Ariel Constenla-Haile http://svn.apache.org/viewvc?view=revision&revision=1233320 i118814 - Allow set timeout in Mail API Patch contributed by Ariel Constenla-Haile http://svn.apache.org/viewvc?view=revision&revision=1235679 included in the Apache baseline: dr80: #i117511# remove some assertions in xlsx/xlsb import filters Patch contributed by Daniel Rentz
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 Grandin3-15/+59
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úš Kukan2-0/+83
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úš Kukan2-83/+0
Implementation is gone since b2d7ede98716806cc4b3ea8547247175d5f04d18 Change-Id: I3986ca99748f0010d80d2c788723a42a1725e83c
2012-09-20unusedcode: FastSaxSerializer is not used through UNOMatúš Kukan2-166/+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 bridge::BridgeFactory UNO service to new styleNoel Grandin1-0/+0
Create a merged XBridgeFactory2 interface for this service to implement. Which is backwards-compatible, but does not require creating a new service. Change-Id: I7309f4d30f0e772bc203c701eb3407b920ffafcc
2012-09-17fdo#46808, Adapt i18n::LocaleData UNO service to new styleNoel Grandin3-9/+2
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 Grandin4-118/+159
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 Thiebaud7-113/+47
- 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-12targetted VBA re-work.Noel Power1-1/+0
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 Grandin3-10/+49
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 Grandin4-21/+59
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 Stahl2-4/+4
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 Grandin3-22/+61
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 Grandin3-13/+2
No client code is using the XComponent interface, so drop it. Change-Id: Id8f6da1248da641dcc0a3cb6d0a70e3bf29e5c99
2012-09-04Some clean up of previous commitStephan Bergmann1-3/+1
Change-Id: I0ea6d6439f97fcf74162c19671483aaa17b5a6cb
2012-09-04fdo#46808, Adapt DocumentDigitalSignatures UNO service to new styleNoel Grandin2-5/+19
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 Grandin4-19/+54
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 Grandin19-144/+24
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 io::Pipe UNO service to new styleNoel Grandin1-0/+0
Create a merged XPipe interface for this service to implement. Which is backwards-compatible, but does not require creating a new service. Change-Id: I682633c6252aab503eb2469c9bd2ba771f10bc4b
2012-09-03fdo#46808, Adapt xml::dom::DocumentBuilder UNO service to new styleNoel Grandin2-5/+9
Change-Id: I577fbc7f990be9ec1f7b7eea53218b7daaccb2a1
2012-09-03fdo#46808, Adapt UICommandDescription UNO service to new styleNoel Grandin2-16/+11
Change-Id: Ibca112904f137ff981ae9be3e5bd56aa11aec352
2012-09-03fdo#46808, Adapt ModuleUIConfigurationManagerSupplier UNO service to new styleNoel Grandin2-17/+13
Change-Id: I58b17349474b974edd24aa17ec08ffa848a92ae9
2012-08-27fdo#46808, Use BreakIterator ::create methodNoel Grandin1-1/+3
Change-Id: Iff603ebe772cfcd34ed3669ce46bc9112ba902ae
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 Grandin55-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 Bergmann6-40/+13
Change-Id: I930603bfcee8084eae0a086d3ce02182b8b13541
2012-08-14Applied fdo#46808 to offapi/auth moduleJean-Tiare LE BIGOT4-17/+13
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-14Tool to ease rdb file update to work on fdo#46808Jean-Tiare LE BIGOT2-1/+33
Add a simple shell script to ease the regeneration of types.rdb. This is a bit tricky to do and error prone. I hope it will encourage people to work on fdo#46808. Signed-off-by: Stephan Bergmann <sbergman@redhat.com> with additional changes: * Moved offapi/update-rdb.sh to offapi/type_reference/update-rdb.sh, to make clear that it is all about offapi/type_reference only. * Changed update-rdb.sh to take a list of idl files, so that a single instance of the script works for both offapi and udkapi. * Some more simplifications/clean up of update-rdb.sh. * Removed the udkapi/update-rdb.sh symlink (to avoid potential problems with symlinks checked into the git repo, like on Windows). * Undid accidental(?) changes to typelibrary_history.txt, added a note about update-rdb.sh. Change-Id: Ic1923e2b2b3af64251019b619b33c728a05b4a14
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