summaryrefslogtreecommitdiff
path: root/sfx2
AgeCommit message (Collapse)Author
2012-10-12lcl_createTemplate declared but not definedCaolán McNamara
Change-Id: I755853c326c5e3dbeae18e3fdb9f7b5607aac874
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: I1a0e436051d48e7f6224d6f0fc602347df2d4df1
2012-10-11Merged SvTreeListBox and SvLBox.Kohei Yoshida
There is no reason to keep SvLBox separate. Change-Id: I0b34aa8f8ca539d4f4f0f9cea9fa9b8faec241e8
2012-10-11CMIS: Implemented the CheckOut button of the InfoBarCédric Bosdonnat
Implementing it needed: + Adding XCmisDocument::checkOut method and implement it in SfxBaseModel + Moving the CMIS properties loading into a SfxBaseModel private method to factorize code. + Adding the SfxInfoBarContainerChild registration in all modules Change-Id: I35bcb53cd2feff354aa5d9245897d0631cc924a0
2012-10-11CMIS: Show an infobar when the document isn't checked outCédric Bosdonnat
Telling the user that the document isn't checked out is pretty important as it may cause troubles for the Save operation later (depending on the server policy) Change-Id: Ia101d37cc6266170914ae2cbd90accea1f377f60
2012-10-11CMIS: Provide the CMIS properties in the UNO API of documentsCédric Bosdonnat
Change-Id: Ieb48f615a80e1fa2d49b4efada1f8f9fc4349c29
2012-10-11InfoBars: first implementationCédric Bosdonnat
Change-Id: I4b18f19f5cf13d648a8d10cc31c63bb330a86b6f
2012-10-11import password echo char settingCaolán McNamara
Change-Id: I36a82a8bb915e72a191787a2e44f9bd814271ea1
2012-10-11Revert "More clash avoidance for DISABLE_DYNLOADING in general, not just iOS"Tor Lillqvist
Not needed after all, at least for DISABLE_DYNLOADING on Android, instead let's use the weak attribute for the problematic data. This reverts commit 769f3957c5c72f2952d6b8d0d1d811a6b19226ad.
2012-10-11More clash avoidance for DISABLE_DYNLOADING in general, not just iOSTor Lillqvist
Change-Id: I1995d68a654a7eb56a46241ffa8946ce1e52761a
2012-10-09fix blank dialogs: now need to explicitly call show on containersCaolán McNamara
Change-Id: I803f808e7049777ec5a46dc2fce00a3943321ffa
2012-10-07Some cppcheck cleaningJulien Nabet
Change-Id: I9ce4af18d1cdbf694093309a026fd6c738590b82
2012-10-07DISABLE_DYNLOADING fixes and minor cleanupTor Lillqvist
Change-Id: I08ce3523f259b1ace7c2a1a58b091b43a44a7d92
2012-10-07add needed libraries to sfx2_metadatatablePeter Foley
Change-Id: I83aaa7170f59f89e4f1e7715295edceca3a9bef4
2012-10-07Handle lack of module loading/unloading API when DISABLE_DYNLOADINGTor Lillqvist
There are basicically two classes of cases: 1) Where the code is for obscure historical reasons or what I see as misguided "optimization" split into a more libraries than necessary, and these then are loaded at run-time. Instead, just use direct linking. 2) Where dynamic loading is part of the functionality offered to some upper (scripting etc) layer, or where some system-specific non-LO library is loaded dynamically, as it is not necessarily present on end-user machines. Can't have such in the DISABLE_DYNLOADING case. Change-Id: I9eceac5fb635245def2f4f3320821447bb7cd8c0
2012-10-05convert password dialog to .uiCaolán McNamara
Change-Id: Ib2e9c5a72239fc0fa3a54ac3717d90fe1b779d63
2012-10-05fdo#46071: Do not hide windows based on nil "Visible" propertyStephan Bergmann
This appears to be messy: The /org.openoffice.Office.Views/WindowType configuration group template has both a nilable bool "Visible" property and a UserData/Data string property that encodes various things like geometry---but also visibility---in a string. Now, likely due to the problem that has meanwhile been fixed through f3f79cc9e6c265baf48955d53f7e888205e0b3e0 "Resolves fdo#46074: Fix Partial::contains for paths that go past a leaf node," some registrymodification.xcu files in the wild contain such WindowType entries in "default" state, without a UserData/Data string and with a nil "Visible" property. The way SfxChildWindow::InitializeChildWinFactory_Impl and SvtViewOptions::IsVisible are implemented, they will always lead to an invisible window for such broken registrymodification.xcu data (as IsVisible unhelpfully returns false for a nil value, and InitializeChildWinFactory_Impl uses that value when there is no UserData/Data string). For the Math formula editor window (ID 30378) this means that it can disappear from the UI completely, as there appears to be no UI trigger for the user to show it in case it is hidden. The fix is to introdue SvtViewOptions::HasVisible (which only returns true if the property is not nil) and change InitializeChidlWinFactory_Impl to only use the value of IsVisible() if HasVisible() returns true. This makes the code even more baroque, but this is a rather central, generic piece of code for all sorts of windows, so I do not want to break any other uses by e.g. changing IsVisible to return true for a nil property. Change-Id: Iae40075a7116a8aabd2d25aa9334709522e23d8f
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-10-03rename THIRDPARTYLICENSEREADME.html to LICENSE.htmlAndras Timar
Change-Id: Idff5f43190f75f4ac8fee8fa989948ca35ca6095
2012-10-03n#782597: Allow adding external templatesCédric Bosdonnat
Change-Id: I56d5a716795b7303a77194964a612c550f25eeec
2012-10-02XubString->OUStringCaolán McNamara
Change-Id: I49d2d41ad4d5ee4ececf5a57eae070898e33075f
2012-10-02XubString->OUStringCaolán McNamara
Change-Id: Id64cdd70c2877ff71c5bc90286fab6b3d8ab7ad4
2012-10-01Replace usage of rtl_*Memory with equivalent from string.hArnaud Versini
Change-Id: I50ffc10f007f03c3252ef0196b59b881429cc159 Reviewed-on: https://gerrit.libreoffice.org/734 Reviewed-by: Norbert Thiebaud <nthiebaud@gmail.com> Tested-by: Norbert Thiebaud <nthiebaud@gmail.com>
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