summaryrefslogtreecommitdiff
path: root/offapi
AgeCommit message (Collapse)Author
2012-10-05offapi: move LineCap, enum generates headersMichael Stahl
Change-Id: I0fada447af361c319851360d04a94948148e5a26
2012-10-04fdo#46808, Adapt xml::sax::XParser UNO service to new styleNoel Grandin
The xml.sax.Parser service already existed, it just did not have a new-style service to create it. Change-Id: I6f145a7504ff9e149c802f723991954a2801cbc9
2012-10-04Fixes/improvements on previous commitStephan Bergmann
* UUIInteractionHandler still needs to implement XInitialization. * Moved ambiguating InteractionHandler typedef out of the way. * Removed InteractionHandler.createDefault, as it was originally stated that "it is strongly recommended that [the "Parent"] property is supplied." * Added back documentation about Parent and Context. * Simplified some call-sites to directly use XInteractionHandler2. Change-Id: I1029b8f3cf079171c75920cafaaa44b5bbada883
2012-10-04fdo#46808, Adapt task::InteractionHandler UNO service to new styleNoel Grandin
Since we don't need to expose XInitialisation, we can make the new-style service implement XInteractionHandler2. Change-Id: Ib27beed1c12df17592c6472d6f58c233d2c41558
2012-09-27Improvements on previous commitStephan Bergmann
* 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 Grandin
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 Meeks
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 Bergmann
* 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 Grandin
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 Yoshida
Change-Id: I2a0e7fe8812d666b7668129b4ae9ce10a7d17d98
2012-09-20Revert "remove remnants of ProductRegistration"Matúš Kukan
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úš Kukan
Implementation is gone since b2d7ede98716806cc4b3ea8547247175d5f04d18 Change-Id: I3986ca99748f0010d80d2c788723a42a1725e83c
2012-09-20unusedcode: FastSaxSerializer is not used through UNOMatúš Kukan
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 Doulik
- 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 Grandin
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 Grandin
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 Bergmann
* 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 Grandin
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 Grandin
Change-Id: Ib351d92d071f6e93ec5eac93c0ab964cef7e7e2f
2012-09-14gridfixes: ensure removal of a column in grid control adjusts the cursorNorbert Thiebaud
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 Thiebaud
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 Thiebaud
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 Thiebaud
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]
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 Thiebaud
- 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 Power
2012-09-12Improvement on previous commitStephan Bergmann
Change-Id: I51226f78ca60c32ebb908bcf4f74d38d0750eb00
2012-09-12fdo#46808, Adapt xml::dom::SAXDocumentBuilderr UNO service to new styleNoel Grandin
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 Bergmann
Change-Id: I10984b6ac4128ad46f512dade0f4e0084d0b9348
2012-09-11fdo#46808, Adapt task::PasswordContainer UNO service to new styleNoel Grandin
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 Bergmann
Change-Id: I756b89012bc1cdef3a9b4612d9b2195fbe1f5f16
2012-09-06read support for docx w:embedTrueTypeFonts/w:embedSystemFontsLuboš Luňák
No write support yet. Change-Id: Ia10239acc77cf9ebc4f511e30c007da36abf43cb
2012-09-06offapi: move css.ui.UICommandDescription to css.frame.UICommandDescription:Michael Stahl
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 Grandin
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 Grandin
No client code is using the XComponent interface, so drop it. Change-Id: Id8f6da1248da641dcc0a3cb6d0a70e3bf29e5c99
2012-09-04Some clean up of previous commitStephan Bergmann
Change-Id: I0ea6d6439f97fcf74162c19671483aaa17b5a6cb
2012-09-04fdo#46808, Adapt DocumentDigitalSignatures UNO service to new styleNoel Grandin
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 Grandin
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 Grandin
Change-Id: I7f18b528c9660890fe8da18da173ee69f1e1390e
2012-09-03Remove unnecessary XTypeProvider from IDLNoel Grandin
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 Grandin
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 Grandin
Change-Id: I577fbc7f990be9ec1f7b7eea53218b7daaccb2a1
2012-09-03fdo#46808, Adapt UICommandDescription UNO service to new styleNoel Grandin
Change-Id: Ibca112904f137ff981ae9be3e5bd56aa11aec352
2012-09-03fdo#46808, Adapt ModuleUIConfigurationManagerSupplier UNO service to new styleNoel Grandin
Change-Id: I58b17349474b974edd24aa17ec08ffa848a92ae9
2012-08-27fdo#46808, Use BreakIterator ::create methodNoel Grandin
Change-Id: Iff603ebe772cfcd34ed3669ce46bc9112ba902ae
2012-08-24fdo#53968 etc.: Fix more "doesn't start after upgrade" problemsStephan Bergmann
* 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 Grandin
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 Bergmann
Change-Id: I930603bfcee8084eae0a086d3ce02182b8b13541
2012-08-14Applied fdo#46808 to offapi/auth moduleJean-Tiare LE BIGOT
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 BIGOT
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