summaryrefslogtreecommitdiff
path: root/sfx2
AgeCommit message (Collapse)Author
2012-09-29Use comphelper::getComponentContextStephan Bergmann
...and some further clean up. Change-Id: Id294c0f38fe0041646fc86cacbd2e19734c746a9
2012-09-28gbuild: invert handling of standard system libraries:Michael Stahl
Always link in gb_STDLIBS, except when the library explicitly opts out with gb_LinkTarget_disable_standard_system_libs. Change-Id: I489a99114fbfa46d0421a27cf6c7b899dc268a4a
2012-09-28gbuild: gb_Library_PLAINLIBS_NONE cleanup for WNT:Michael Stahl
add a new gb_LinkTarget_use_system_win32_libs to abstract different linker options on MSVC and GCC. Change-Id: Ic9bf2545f59bf7871e6fc06b290c486ddfbec03d
2012-09-28gbuild: clean up Mac OS X framework handling:Michael Stahl
There are currently 3 different mechanisms being used for frameworks, which is of course intolerable so we invent a 4th one and standardize on it: gb_LinkTarget_use_darwin_frameworks (This doesn't mean using add_libs or externals was wrong, it was just inconsistent... and i don't see an obvious benefit of using externals here) Change-Id: I5de9020402c87e7236c6a358c47f02fa56642d3d
2012-09-28gbuild: replace direct gb_STDLIBS use with ...Michael Stahl
... new gb_LinkTarget_add_standard_system_libs Change-Id: Ib2bc843098db3d8c6822b45a3d21724e67f57d69
2012-09-28gbuild: split uwinapi out of gb_STDLIBSMichael Stahl
Change-Id: I53316e0b9369d806197bccb42cf22d3497af43e7
2012-09-28fdo#54744: Fix broken logic of string comparisonStephan Bergmann
d1cc007108442056f50d3a6d1212b2b4cfdc4c14 "sal_Bool to bool, String to OUString, in SfxMedium." changed !aLogicName.CompareToAscii( "private:stream", 14 ) == COMPARE_EQUAL // (a) where that suspicious ! made it effectively behave as aLogicName.CompareToAscii( "private:stream", 14 ) != COMPARE_EQUAL // (b) to (aLogicName.compareToAscii("private:stream", 14) == 0) // (c) where (c) corresponds to (a), but the intended behavior was apparently (b): Exporting to hybrid PDF now causes the embedded ODF stream (which is saved to a private:stream URL) to be empty, as (c) is erroneously satisfied now, causing the following lines to erroneously clear SID_OUTPUTSTREAM. Change-Id: Ia2c1a69db7b4da07bfe01f52c3f6759301358a84
2012-09-28adapt ThumbnailView::ImplInitScrollBarCaolán McNamara
Change-Id: I6b675874fd683f1c9311322c4662f33380f9c113
2012-09-28move layout diagnostics to vcl.layout channelCaolán McNamara
Change-Id: Ib33d91ea56219036182d30fdd3dc2159ce32a48c
2012-09-28convert hard-coded layout of two-lines tabpage to .uiCaolán McNamara
Change-Id: I87da59af50420993303111dae0ec4456ae15cc20
2012-09-28convert writer, draw, impress, calc and starmath printer dialogsCaolán McNamara
to new-style widget layout mostly described in .ui format Change-Id: I8ead53a246a8ac3e2d446d158f06d7e2e436ce60
2012-09-28enable SfxModelessDialog to load from .ui as wellCaolán McNamara
Change-Id: I31c93091778b9fd51521699c955df8834b9168ff
2012-09-28get_by_name -> get and pretty up widget type castingCaolán McNamara
Like Noel G points out, it's not like there any other way to get a widget other than "by_name" Change-Id: Iefe2a16472e2916dbeba1ba3c0c115cc6416ab5b
2012-09-28ditch over complex property bucketsCaolán McNamara
A fairly small fixed number of properties are needed, so simplify Change-Id: Iedce02264816666dbac53d7ad3cfb64be8e1c8bb
2012-09-28fix merge conflictCaolán McNamara
Change-Id: I48aedf99459f632e2e94db20be44b0bc5d166805
2012-09-28put apply button into button action areaCaolán McNamara
2012-09-28tweak SfxTabDialog so that it can use VclBuilder provided 'internal' widgetsCaolán McNamara
2012-09-28dynamically create SfxTabDialog widgetsCaolán McNamara
so we can easily implement creating them vs reusing builder-provided ones.
2012-09-28move dialog-contained widget builder into dialog baseclassCaolán McNamara
2012-09-28put the cui zoom dialog into the right placeCaolán McNamara
2012-09-28Implement conversion scheme for dialogs without changing their codeCaolán McNamara
This supports a scheme where we can change over a dialog to GtkBuilder xml without touching its code by the presence of a .ui file in the right place e.g. share/config/soffice.cfg/cui/10000.ui for the zoom dialog
2012-09-28implement sucking in the padding from the themeCaolán McNamara
pretty up dialogs, centralize adding the borders into VclContainer, reduce default space between buttons
2012-09-28park VclBuilder integration into SfxModalDialog for the momentCaolán McNamara
2012-09-28retro-fit dialog child traversal with nextLogicalChildOfParentCaolán McNamara
retro-fit the logic that search dialog's children for keyboard short cuts and default focus widgets etc
2012-09-28force all tabs to exist when layout enabledCaolán McNamara
2012-09-28drop spewCaolán McNamara
2012-09-28make SfxTabDialog layout buttons with button-boxCaolán McNamara
2012-09-28find parent dialog, rather than assume where it isCaolán McNamara
2012-09-27useless sTEST and side-effect-less methd callCaolán McNamara
Change-Id: I0b3fd9f951c286fbd6be7d9e5b404d37b7573a68
2012-09-27UniString::Fill->padToLength(OUStringBufferCaolán McNamara
Change-Id: I61a562982af75fd3141b4b5d55840c0ebc94306c
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-25replace remaining InterlockedCount() with inlined versionNorbert Thiebaud
Change-Id: Ifcfa48fc87f905a91470a5b0fd597b02f220784c Reviewed-on: https://gerrit.libreoffice.org/671 Tested-by: Norbert Thiebaud <nthiebaud@gmail.com> Reviewed-by: Norbert Thiebaud <nthiebaud@gmail.com>
2012-09-24callcatcher: update unused code listsCaolán McNamara
Change-Id: I58bad0806354eff2e91370ab3395199fa8691764
2012-09-21fdo#49819 - allow slightly inconsistent docx files to be repairedMichael Meeks
2012-09-21package: convert internal ZIP handling data-types to 64bitMichael Meeks
Prepare for a ZIP64 implementation. Audit all "Size" property fetches through Anys. Audit all uses of nSize, nCompressedSize, nOffset through the code. Add FIXME64: comments to all points requiring future work.
2012-09-19ComponentContext::getUnoContext -> getComponentContext simplificationStephan Bergmann
...and some further clean-up. Change-Id: If5dce53e382b56390c502d0d0d93fc06cbfe33ea
2012-09-18deprecate oustringostreaminserter.hxxNorbert Thiebaud
the intent of this header has canged over time. now it is already systematically included with ustring.hxx and the operator overload it provide fit nicely there... Just to be safe, since that include as been added to the api during the 3.5 timeframe and therefore is already in 'production' the header remain and simply attempt to include ustring.hxx but a warning is issued indicating that this header should not be used anymore... in a couple of major release we will thenr emove it completely All internal users of that header are converted. Change-Id: I8934c55f089e29d78c0f5649b7c87b2ecf024bad Reviewed-on: https://gerrit.libreoffice.org/634 Tested-by: Norbert Thiebaud <nthiebaud@gmail.com> Reviewed-by: Norbert Thiebaud <nthiebaud@gmail.com>
2012-09-18Adapt Windows-only code to changed ucbhelper::ContentStephan Bergmann
Change-Id: I1ed4a59b7eef5f841754bc616ad94cbd82227ad0
2012-09-14sfx2: DocumentInfo test should use a private temp dirMichael Stahl
At least it failed on me once trying to store to its temp file, maybe the predictable file name was the problem... Change-Id: I78918ada1615c8337e4c8692d34aa285010bc820
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-12Unused #includesStephan Bergmann
Change-Id: If5c8ee05ef84c03a9cec6ef428256e17b33f073e
2012-09-12targetted VBA re-work.Noel Power
2012-09-11missing part of fix for fdo#54721Noel Power
commit id cea414bfe8fe356793778bdf09f5ca3b3a42daa0 for "fix vba not tracking currently selected doc correctly" was missing necessary change in sfx2 Change-Id: I1697c005374b3d26dc63c78702a46c6d9879adaa
2012-09-07Make it more generic.Kohei Yoshida
Change-Id: I3d3ddec1a8313bb58f5ae6bbc3edc1f273e25f94
2012-09-07I'll agree with the comment, and remove this line.Kohei Yoshida
Change-Id: Ieff30d8df8128488910b75603d2499102b529c3b
2012-09-07First cut on integrating liborcus into libreoffice tree....Kohei Yoshida
It introduces the 'FilterProvider' property in the media descriptor to optionally bypass the normal loading process and let the external filter provider to handle the loading. For now I'm overwriting the csv import filter just to see how this could work just as an experiment. Orcus still needs a lot of work, and it crashes very often at the moment. Change-Id: I11b34572c71073144804a7d0dd5176c8067d8deb
2012-09-06Java cleanup, remove unnecessary importsNoel Grandin
Change-Id: Iacfcb2e16cb0e3c25a4cd0678a374fe5111284f7
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-05remove some obsolete boilerplate Test.javaMichael Stahl
Change-Id: I694cff583fddb713a59e5d6b8e15ea06a2be63b6