path: root/sfx2
AgeCommit message (Collapse)AuthorFilesLines
2014-02-04fdo#72338: startcenter: Show busy mouse pointer when starting apps.Jan Holesovsky1-0/+3
Change-Id: I8f254419ea7bb4e3e9835bd9fab8229ed89cd0e9 Reviewed-on: Reviewed-by: Joren De Cuyper <> Reviewed-by: Caolán McNamara <> Tested-by: Caolán McNamara <>
2014-02-04startcenter: Don't cut off the thumbnails.Jan Holesovsky1-1/+1
Change-Id: Ie5ad5f5be48aa873df94a31e980aaabc4ac24868 Reviewed-on: Reviewed-by: Caolán McNamara <> Tested-by: Caolán McNamara <>
2014-02-03Related fdo#65826: Set StartCenter's min width to display one column of docsZolnai Tamás3-8/+40
If there is document to display. Otherwise set minimum to the width of greating background text. Updating minimum size is needed only when the list is cleared. Change-Id: Ic089571fd21d5ab9ded0f4cde7e1aa72fd508d32
2014-02-03fdo#65826 and fdo#73605: set a minimum size to start centerZolnai Tamás3-1/+25
This minimum size calculated like this: width: sidebar optimal width + width of text appearing in the thumbnail view when no recent document is available. height: menu width + optimal width of GtkBox containing buttons. Change-Id: Ic1fd6e33a1ec93e61318af02c09ee88909a76cf4 Reviewed-on: Reviewed-by: Caolán McNamara <> Tested-by: Caolán McNamara <>
2014-01-21Fix bogus mass-conversion equalsAsciiL -> startsWithStephan Bergmann6-22/+22
3af99e4d59d89c343965a928681a30f36b1007d2 "convert equalsAsciiL calls to startsWith calls" should rather have converted to oprator ==. (cherry picked from commit a3f32769fc4bb23c64168b412dd10ec769a3854d) Conflicts: sc/source/ui/unoobj/nameuno.cxx sc/source/ui/unoobj/styleuno.cxx sfx2/source/appl/sfxhelp.cxx stoc/source/security/permissions.cxx sw/source/core/unocore/unocrsrhelper.cxx (None of those bogus startsWith calls seem problematic enough to warrant backporting also to libreoffice-4-2-0.) Change-Id: Id4a8836c5d6d570e54661c40be7214632e202b21 Reviewed-on: Reviewed-by: Caolán McNamara <> Tested-by: Caolán McNamara <>
2014-01-21fdo#72639: send proper ACTIVE_DESCENDANT_CHANGED eventsJacobo Aragunde Pérez3-3/+52
At ThumbnailView::SelectItem the piece of code in charge of the accessible events related to selection change was mistakenly using the accessibility helper class ThumbnailViewAcc instead of ThumbnailViewItemAcc which is the proper one for managing the events related to ThumbnailViewItem objects. The methods FireAccessibleEvent and static getImplementation had to be added to ThumbnailViewItemAcc to provide the full functionality required. Change-Id: Ia5ffb24c920f3c48854021700819be683c979411 Reviewed-on: Reviewed-by: Caolán McNamara <> Tested-by: Caolán McNamara <> (cherry picked from commit 01a9f7b2fb6b3445ba9a93a4278ffa3821f7d04b)
2014-01-13fdo#72420 Startcenter: help button point to local/wiki help, ui partZolnai Tamás2-4/+2
Not handle clicking help button manually but use the default gtk-help button which will point to the corresponding help files depend on helpids. (cherry picked from commit 55fcca64a7d006f8cb10268fd2e1e09b1618a800) Change-Id: I7ac4b51868d1a5828c810b1ac629d5a56ffb6f50 Reviewed-on: Reviewed-by: Caolán McNamara <> Tested-by: Caolán McNamara <>
2014-01-10fdo#72947 Startcenter: handle file urls and non-file urls on a different wayZolnai Tamás1-1/+6
Thanks Stephan Bergmann for the idea. Change-Id: Ifdde1b7eaaefd30a176c47385bc9bfec48d5b86c (cherry picked from commit 340e70e248824a3a4959fa1dee90c5650f257ae8) Reviewed-on: Reviewed-by: Eike Rathke <> Tested-by: Eike Rathke <>
2014-01-10Startcenter: ignore repeated clicks inside recent docs viewZolnai Tamás1-1/+1
Change-Id: Ia433adb26e820b89c4d207d018d0daf42654b4a0 (cherry picked from commit 264fc270a73de32a7a4d86442c06d14acdd14ef2) Reviewed-on: Reviewed-by: Eike Rathke <> Tested-by: Eike Rathke <>
2014-01-10fdo#72947 Startcenter: display more userfriendly file urls in tooltipsZolnai Tamás1-3/+3
Use INetURLObject to get a readable url (it displayes special characters too). It is a side effect that 'file:///' prefix disappear which seems a good thing. Plus some cleanup: remove second INetURLObject. Change-Id: I4aab5e2546ae70e5a3d85b12e26e021bfa244999 (cherry picked from commit 31dfeee42e9b08ed7031b6c50d0c674122d5245c) Reviewed-on: Reviewed-by: Jan Holesovsky <> Tested-by: Jan Holesovsky <>
2014-01-09Startcenter: use PAPER_SCREEN_4_3 as default paper for presentationsZolnai Tamás1-3/+18
Remove static to able to construct items with different paper info. (cherry picked from commit 5ab1fb926e984780380665ae185646b603292a6e) Change-Id: Ifba44675f6126ebfccf26f53f226214bed92352c Reviewed-on: Reviewed-by: Jan Holesovsky <> Tested-by: Jan Holesovsky <>
2014-01-09fdo#71628 Startcenter: remove thumbnail selection when focus is moved awayZolnai Tamás1-33/+2
mnHighItemId is never assaigned with a valid value and there is no sense to store one selected element's index anyway, because there can be more. The bMove parameter of ImplGetItem is never used and doesn' work so remove it. Change-Id: I91d6bc3fd13a2b44e6961fea66d02702a8f31c2b (cherry picked from commit 0314034d8b23d5b69399cfcdf6b2f2add73f9f47) Reviewed-on: Reviewed-by: Jan Holesovsky <> Tested-by: Jan Holesovsky <>
2014-01-09Remove unused private member: pAccExecZolnai Tamás2-4/+1
Change-Id: Ie21f8a62213954da7f66c1fbe890ba9dee93cf77
2014-01-09plenty of space in the empty cell that can be usedCaolán McNamara1-15/+4
Change-Id: Ia156ab622f52b7161f29bbf968fd3d71cdc89e8b (cherry picked from commit 037cd59fe5494baa6cba1bd76f19026fe4cbbb5a)
2014-01-09Startcenter: Refresh RecentDocsView when select 'Clear list' menu optionZolnai Tamás5-3/+72
Change-Id: I9cbe647563699b9b610661003084d2cd16093f9a (cherry picked from commit d930cefbe65d8b7f21100fcbf2ddcd977dd15cb1) Reviewed-on: Reviewed-by: Jan Holesovsky <> Tested-by: Jan Holesovsky <>
2014-01-09Startcenter: when screen is small make doc thumbails smallerZolnai Tamás1-2/+3
(cherry picked from commit 42c1463b8914cf51dd778ff4b22c56e57a935ccf) Change-Id: If4fbb66992318221a687710afa77fc98e4f111c3 Reviewed-on: Reviewed-by: Jan Holesovsky <> Tested-by: Jan Holesovsky <>
2014-01-09Startcenter: double click opens file only onceZolnai Tamás1-0/+3
Change-Id: I0d99a905cc8c94d39bfe802b2c597275c81f0b4f (cherry picked from commit c22f8faa7103a8a49b6a872293104b50f9c5d951) Reviewed-on: Reviewed-by: Jan Holesovsky <> Tested-by: Jan Holesovsky <>
2014-01-08swap button order in ui to match typical realityCaolán McNamara1-9/+9
This has no effect on the rendering of this .ui as native button ordering is active. But it means that under the typical editing-under-GNOME that ones head is wrecked from the cognitive impedance of the editor and viewer not matching in order Change-Id: I8888d4263f05bcecff72496f4cf0ae67345dc644 (cherry picked from commit bce7c9b0688c6f6f73311cc87ac094831489eedb)
2014-01-08tweak button order for alien warn dialogCaolán McNamara2-3/+4
Change-Id: I6e51951df3bff0d1829bff8e2a436e4030247baf (cherry picked from commit 2e8a1e1121bc23d442bf7be27e2ae6c15d101980)
2014-01-06Startcenter: add icons for 'Open Files' and 'Templates'Zolnai Tamás1-0/+12
Change-Id: Ic9e584f63e374e977ce18115173d18083d2e44a3 (cherry picked from commit 28b8f43d071fb62fe4205648daa33f80c1b4b4a8)
2013-12-17Fixed the update to working copy and back after (cancel) checkout: fdo#64533Cédric Bosdonnat2-9/+8
After Checkout, simply set medium name and update the medium: at least we are sure it works in more situations than the other function we used. After cancel checkout, call SID_RELOAD to actually revert any local change. Change-Id: I3dc296a74726770c4f47d9653c382108f7baccad (cherry picked from commit a68e0e334df02c1ca47601575523b23c6db13470) Reviewed-on: Reviewed-by: Miklos Vajna <> Tested-by: Miklos Vajna <>
2013-12-16initial install-package-foo target for partial installsBjoern Michaelsen1-1/+1
make packageinfo target add uiconfig file translations add missing l10n config files add missing help files in packageinfo Reviewed-on: Reviewed-by: Björn Michaelsen <> Tested-by: Björn Michaelsen <> Conflicts: helpcontent2 translations a2498a118e729276a78ef3a4eb43b5d0b302d326 9bb39bdd677af4be0da621370c51eb9e22ecc33f a7e654cdeffd832f51016ff51aa180fe3924ff4e 4ee41fdb600cb3a89da387dffe64e6a30192761c 349fb24a388775c58be7a326832b3fc0ec38180f 8a2ca73c02fd6b04ce60e7701c51d2362ef7ec06 Change-Id: Id5f6f5c1f3e46df2d9033ccd5bbf2af6ab38a9e8 Reviewed-on: Reviewed-by: Björn Michaelsen <> Tested-by: Björn Michaelsen <>
2013-12-13thumbnails: Create nice antialiased thumbnails when saving ODF.Jan Holesovsky1-3/+11
Change-Id: I3dc3289b4ac3423b3a5006dbb7ee895bc25ec50a
2013-12-13Targetted text updates, with seasonable changes before l10n freeze.Michael Meeks2-6/+6
Change-Id: If37ef9f68711da3a0aa9a3ba59b111a8a23421df
2013-12-13startcenter: A little more space between the picture & welcome text.Jan Holesovsky1-3/+2
Change-Id: I093fecd1fb5c052c85cf84f131845258a5fd2284
2013-12-13startcenter: The welcome text was too long, split it to 2 lines.Jan Holesovsky3-11/+26
Change-Id: I23d6a4bf8d9c3b2531dd95e4ea293ce7225bf8f1
2013-12-13startcenter: Move the 'Create' under the separator & add a colon.Jan Holesovsky2-15/+20
Change-Id: Ie8a1ce8628fa0f31ae6d6a3f1303342c145e33aa
2013-12-13startcenter: Tooltip should show the full URL.Jan Holesovsky3-1/+11
Change-Id: Ia8e071ebe00fb8c72973614077e778aef55fb1ab
2013-12-13startcenter: Implement mouse over effect.Jan Holesovsky2-15/+37
Change-Id: I9beea6119dbb1c12ff053e5776f15d40a3389a8b
2013-12-13fdo#72650: Get thumbnails only from the local documents.Jan Holesovsky1-2/+5
No point in connecting to eg. ftp to get a thumbnail ;-) Change-Id: I017c59196c294242366f2254eeacd9056455c1bc
2013-12-13Small cleanup of initialization.Jan Holesovsky1-8/+5
Change-Id: I62c0479414ab6748039498e1bc2b3bc9d7c4ef05
2013-12-13startcenter: Full thumbnail size (256px), upscale if necessary.Jan Holesovsky2-4/+1
Change-Id: I8ae72249853a03b1dfca0ecd10eef47e9aa7cbfe
2013-12-13startcenter: Make the default icons appear as on a piece of paper.Jan Holesovsky2-1/+24
So that the frame around the picture is similar to the previews; otherwise looks disturbing. Change-Id: Ie7f973e15c29a34c0f368b5e0f5a152d5cead39f
2013-12-13startcenter: Bigger & nicer document icons for recent documents.Jan Holesovsky1-7/+7
Change-Id: If61aefc1d27d7bca2e8242b404db685a503bcf0e
2013-12-13template view: Simplify code.Jan Holesovsky1-20/+11
Change-Id: I48fc6fa86a9953db87e59a83714d4d7b0ff8d64a
2013-12-12startcenter: Smaller frame around the entire start center area (6 -> 1px).Jan Holesovsky1-16/+16
Based on Mirek's suggestion; looks better. Change-Id: I3468450ee4c8ba27cd26a40c7ed11f0b4df9c42d
2013-12-12Start center: Use the welcome text that was agreed by UX / design team.Jan Holesovsky1-1/+1
Change-Id: I1af05f68ef7c2a10209f138e59a9245d3d1ac081
2013-12-12startcenter: Update the button descriptions to the UX team decision.Jan Holesovsky1-6/+6
Change-Id: Ie0813e8faa1cc97aa77fc89659b829226d0e5736
2013-12-10Fix another string conversion regression.Matúš Kukan1-1/+1
Change-Id: I8297fd60b7db057504260a2304ccce6358bb9776 (cherry picked from commit a3f3fd00e4fb6beb70284902791ef9cbc3318659)
2013-12-10fdo#72037: Fix comparison of indexOf values after string conversion.Matúš Kukan1-1/+1
regression from 9daa4f31944e1b9510b092ab9fdd433984c85d10 Change-Id: I369a9a342984084f5269bcd9d829c42de9ac4a23 (cherry picked from commit 088756cb2d67442f7d422ca064ab1dcdb410411f)
2013-12-09fix equalsAscii conversion. Noticed in fdo#72391Noel Grandin1-5/+5
In commit 363cc397172f2b0a94d9c4dc44fc8d95072795a3 "convert equalsAsciiL calls to startWith calls where possible" I incorrectly converted equalsAsciiL calls to startsWith calls. This commit fixes those places to use the == OUString operator. Change-Id: If76993baf73e3d8fb3bbcf6e8314e59fdc1207b6 Reviewed-on: Reviewed-by: Caolán McNamara <> Tested-by: Caolán McNamara <>
2013-12-05fdo#68724: sw: fix crash on Insert->File with Hybrid PDFMichael Stahl1-15/+45
This is an unfortunate combination of 2 special cases: - the Hybrid PDF has its own XFilter implementation to extract the embedded ODF document - Writer needs to create a SwReader with SwPaM for Insert Since the PDF XFilter uses a special service in sfx2 to implement the import, handling this requires a new method in SfxObjectShell that calls back into Writer to create the properly setup SwReader. Change-Id: Ie85f3bfa322bfe883c479e1cb198a8bf0cbbac23 (cherry picked from commit c5138cad87575283cdf0670355f2b2cddae93fc8)
2013-11-30make some .ui strings translatableAndras Timar1-1/+1
Conflicts: svx/uiconfig/ui/linkwarndialog.ui Change-Id: I3e2a93ac7521b4b484a96da22efac0b4cb52b333
2013-11-20Resolves: fdo#70703 guard against FlushImpl inside FlushImplCaolán McNamara1-35/+37
where the inner one deletes Shells that the outer one is still processing. Push the candidates onto a stack and let inner FlushImpl modify them to inform outer FlushImpl's that an entry has been deleted Change-Id: I1db8546d53e24cc96c72f2cd5cbec57b6cecaff5
2013-11-20Revert "remove RTL_CONSTASCII_STRINGPARAM in OString::equalsL calls"Noel Grandin1-5/+5
This reverts commit acebbee971136e6ee0a7bc75bd57d937d6e1c295. I mistakenly converted OUString::equalsL calls to OUString::startsWith calls.
2013-11-20Windows: Require at least Windows XP SP2Thomas Arnhold1-3/+0
* Windows XP SP2 is 0x0502, see * If a module changes the Windows SDK version setting, this is done module wide now. So the overall behavior is as before. This seems to be the best compromise for now. * We need at least SP2 because of the bluetooth stuff used in sd/source/ui/remotecontrol. * Now, we require at least Internet Explorer 7.0. IE6 has been outdated for a long time. * Leave StdAfx.h file definitions, as those are Microsoft project specific precompiled header files. * All local definitions of WINVER are removed, because the global WINVER setting makes them obsolete now. To the relation of the three macros: Setting _WIN32_WINNT sets WINVER and NTDDI_VERSION automatically to the same value as _WIN32_WINNT. WINVER and NTDDI_VERSION can be set idenpendently each for itself. Change-Id: Ibcc12493aae4fcaf7bcfda88be99c1b61bc326cb Reviewed-on: Reviewed-by: Thorsten Behrens <> Tested-by: Thorsten Behrens <>
2013-11-20remove RTL_CONSTASCII_STRINGPARAM in OUString::matchAsciiL callsNoel Grandin1-1/+1
Convert code like: defaultValue.matchAsciiL( RTL_CONSTASCII_STRINGPARAM( "nextval(" ) ); to: defaultValue.startsWith( "nextval(" ); Change-Id: I77bdcbf46bec6ded3c16a8248634b1424a1eb4f0
2013-11-20remove RTL_CONSTASCII_STRINGPARAM in OString::equalsL callsNoel Grandin1-5/+5
Convert code like: if (aByteStr.equalsL(RTL_CONSTASCII_STRINGPARAM("rem"))) to: if (aByteStr.startsWith("rem")) Change-Id: I09e40b3fdc87d59a8176c2a5f39cc6aa5cf5a576
2013-11-20remove RTL_CONSTASCII_STRINGPARAM in OStringBuffer constructorNoel Grandin5-22/+15
Convert code like: OStringBuffer aKeyName(RTL_CONSTASCII_STRINGPARAM("NDX")); to: OStringBuffer aKeyName("NDX"); which compiles down to the same code Change-Id: If9c96a290bc18cc8285fb733f27be58c6958b63c
2013-11-20Fix incorrect passing of a char pointer which gets converted to boolTor Lillqvist1-1/+1
Revealed by a warning from our Clang plug-in: "pointer 'const char *' implicitly converted to bool [loplugin]" I love --enable-werror and loplugin. Change-Id: Iece0bda4325cd1e5d1333affffef12396e5dfb7d