summaryrefslogtreecommitdiff
path: root/sfx2
AgeCommit message (Collapse)AuthorFilesLines
2014-03-12hidpi: Sidebar, fontwork, autoformat and other improvements.Keith Curtis5-23/+55
This is a second batch of HiDPI changes. It fixes the following areas: Sidebar * Impress Master pages preview * deck title height * tab (icon) bar * valueset dropdown control * wider maximum width * Draw and other misc. buttons which didn't get fixed by earlier change to Toolbar.SetItemImage There are several more sidebar issues, but it is much improved. Other changes * Writer and Calc auto-format dialog text * file-properties document image * fontwork gallery preview size * Calc table border control Change-Id: I95a0169a3b011836b1c75b3dcacb2733c9567ef3 Reviewed-on: https://gerrit.libreoffice.org/8519 Reviewed-by: Norbert Thiebaud <nthiebaud@gmail.com> Tested-by: Norbert Thiebaud <nthiebaud@gmail.com>
2014-03-10fdo#75243: MSO export: save custom properties with empty valueTarun Kumar1-1/+1
LO removes empty properties while saving the doc. This is required in some business scenarios. bSkipEmpty is set to false by default to enable LibreOffice to save even empty properties. Change-Id: I7aafe0c0be02a98fa6e72d73e9e4348a015da61f (cherry picked from commit 3ba58a22bdd51cd4221547e0a0e95b6d2b987358) Signed-off-by: Michael Stahl <mstahl@redhat.com>
2014-03-07fdo#74787, rhbz#1072553: Fix deselection problems of template viewZolnai Tamás2-2/+7
deselectItems() were added to make recent docs view work, but it is unneccessary to affect template view too. (regression from 0314034d8b23d5b69399cfcdf6b2f2add73f9f47) Conflicts: sfx2/source/control/recentdocsview.cxx Change-Id: I0c805774321939991e308e9c8c669604e81dbad5 Reviewed-on: https://gerrit.libreoffice.org/8490 Tested-by: Michael Stahl <mstahl@redhat.com> Reviewed-by: Michael Stahl <mstahl@redhat.com>
2014-02-24fdo#73869 fix highlight RTL Problem at the StartCenter window.Faisal M. Al-Otaibi1-1/+1
Change-Id: I2fb5bf97941478781c0a77b55d4454acd00f903b Reviewed-on: https://gerrit.libreoffice.org/8199 Reviewed-by: Caolán McNamara <caolanm@redhat.com> Tested-by: Caolán McNamara <caolanm@redhat.com>
2014-02-21vcl: CUPS printing: notify user if spooling failedMichael Stahl1-0/+1
CUPS does not accept jobs for a printer that has been stopped; pop up an error message in this case instead of silently ignoring failure. Change-Id: I1bc9120c9c9f438e350c964ed7ef29924a72ce78 (cherry picked from commit cdb405f4e4b168d1e2f6dea9ac985df319a76015) Reviewed-on: https://gerrit.libreoffice.org/8115 Reviewed-by: Caolán McNamara <caolanm@redhat.com> Tested-by: Caolán McNamara <caolanm@redhat.com>
2014-02-17Resolves: fdo#72233 too long style names over-stretch dialogCaolán McNamara2-7/+8
Change-Id: Id6f102a3def1928ad8f6b4d27eb32f8c69bdba49 Reviewed-on: https://gerrit.libreoffice.org/8084 Tested-by: Kohei Yoshida <libreoffice@kohei.us> Reviewed-by: Kohei Yoshida <libreoffice@kohei.us>
2014-02-10related fdo#65430: forgot to 'unlink' setOpenTemplateHdlJoren De Cuyper1-0/+1
This was introduced in 96e7225260aac0815643a4043f4ddb4e6b5764a1 Conflicts: sfx2/source/doc/templatedlg.cxx Change-Id: I9bb8abbc9e9167b1e43bebf4477cf73010bf2d92 Reviewed-on: https://gerrit.libreoffice.org/7959 Reviewed-by: Caolán McNamara <caolanm@redhat.com> Tested-by: Caolán McNamara <caolanm@redhat.com>
2014-02-07fdo#74506 fdo#74291 -Template manager-store selection before calling dialogJoren De Cuyper1-6/+16
It looks like calling a dialog/querybox result in a deselection of the selected ThumbnailViewItem(s). Therefore lets save this selection first, before calling such dialog. Change-Id: I45a1da4307759ca6472f793fff29b1e2507fd5c9 Reviewed-on: https://gerrit.libreoffice.org/7902 Reviewed-by: Caolán McNamara <caolanm@redhat.com> Tested-by: Caolán McNamara <caolanm@redhat.com> (cherry picked from commit a411bf38da3668094698c06c8424aa9d68c85702) Reviewed-on: https://gerrit.libreoffice.org/7925
2014-02-07fdo#65430 add OnItemDblClicked and setOpenTemplateHdl in templateSearchViewJoren De Cuyper3-0/+19
Currently only templateAbstractView had such handler, which are templateLocalView and templateRemoteView are based on. Change-Id: I6694d0804a8b7e58abc0ddc970e811d053394d6f Reviewed-on: https://gerrit.libreoffice.org/7918 Reviewed-by: Caolán McNamara <caolanm@redhat.com> Tested-by: Caolán McNamara <caolanm@redhat.com> (cherry picked from commit 96e7225260aac0815643a4043f4ddb4e6b5764a1) Reviewed-on: https://gerrit.libreoffice.org/7923
2014-02-07fdo#74148: sfx2: fix crash when editing templateMichael Stahl1-1/+3
SfxTemplateManagerDlg::OnTemplateEdit() accesses invalid iterator because during loadComponentFromURL() it happens that ThumnailView::LoseFocus() is called and maSelTemplates is cleared. Change-Id: I074a70e5ce8bc89a38b720ddd0325c69c1d2b9ff (cherry picked from commit c8e206fdaab7490fb6e62bc7ab475888236179c2) Reviewed-on: https://gerrit.libreoffice.org/7904 Reviewed-by: Fridrich Strba <fridrich@documentfoundation.org> Tested-by: Fridrich Strba <fridrich@documentfoundation.org>
2014-02-04fdo#72338: startcenter: Show busy mouse pointer when starting apps.Jan Holesovsky1-0/+3
Change-Id: I8f254419ea7bb4e3e9835bd9fab8229ed89cd0e9 Reviewed-on: https://gerrit.libreoffice.org/7828 Reviewed-by: Joren De Cuyper <jorendc@libreoffice.org> Reviewed-by: Caolán McNamara <caolanm@redhat.com> Tested-by: Caolán McNamara <caolanm@redhat.com>
2014-02-04startcenter: Don't cut off the thumbnails.Jan Holesovsky1-1/+1
Change-Id: Ie5ad5f5be48aa873df94a31e980aaabc4ac24868 Reviewed-on: https://gerrit.libreoffice.org/7827 Reviewed-by: Caolán McNamara <caolanm@redhat.com> Tested-by: Caolán McNamara <caolanm@redhat.com>
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: https://gerrit.libreoffice.org/7505 Reviewed-by: Caolán McNamara <caolanm@redhat.com> Tested-by: Caolán McNamara <caolanm@redhat.com>
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: https://gerrit.libreoffice.org/7578 Reviewed-by: Caolán McNamara <caolanm@redhat.com> Tested-by: Caolán McNamara <caolanm@redhat.com>
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: https://gerrit.libreoffice.org/7551 Reviewed-by: Caolán McNamara <caolanm@redhat.com> Tested-by: Caolán McNamara <caolanm@redhat.com> (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: https://gerrit.libreoffice.org/7365 Reviewed-by: Caolán McNamara <caolanm@redhat.com> Tested-by: Caolán McNamara <caolanm@redhat.com>
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: https://gerrit.libreoffice.org/7377 Reviewed-by: Eike Rathke <erack@redhat.com> Tested-by: Eike Rathke <erack@redhat.com>
2014-01-10Startcenter: ignore repeated clicks inside recent docs viewZolnai Tamás1-1/+1
Change-Id: Ia433adb26e820b89c4d207d018d0daf42654b4a0 (cherry picked from commit 264fc270a73de32a7a4d86442c06d14acdd14ef2) Reviewed-on: https://gerrit.libreoffice.org/7374 Reviewed-by: Eike Rathke <erack@redhat.com> Tested-by: Eike Rathke <erack@redhat.com>
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: https://gerrit.libreoffice.org/7366 Reviewed-by: Jan Holesovsky <kendy@collabora.com> Tested-by: Jan Holesovsky <kendy@collabora.com>
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: https://gerrit.libreoffice.org/7339 Reviewed-by: Jan Holesovsky <kendy@collabora.com> Tested-by: Jan Holesovsky <kendy@collabora.com>
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: https://gerrit.libreoffice.org/7340 Reviewed-by: Jan Holesovsky <kendy@collabora.com> Tested-by: Jan Holesovsky <kendy@collabora.com>
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: https://gerrit.libreoffice.org/7304 Reviewed-by: Jan Holesovsky <kendy@collabora.com> Tested-by: Jan Holesovsky <kendy@collabora.com>
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: https://gerrit.libreoffice.org/7331 Reviewed-by: Jan Holesovsky <kendy@collabora.com> Tested-by: Jan Holesovsky <kendy@collabora.com>
2014-01-09Startcenter: double click opens file only onceZolnai Tamás1-0/+3
Change-Id: I0d99a905cc8c94d39bfe802b2c597275c81f0b4f (cherry picked from commit c22f8faa7103a8a49b6a872293104b50f9c5d951) Reviewed-on: https://gerrit.libreoffice.org/7332 Reviewed-by: Jan Holesovsky <kendy@collabora.com> Tested-by: Jan Holesovsky <kendy@collabora.com>
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: https://gerrit.libreoffice.org/7068 Reviewed-by: Miklos Vajna <vmiklos@collabora.co.uk> Tested-by: Miklos Vajna <vmiklos@collabora.co.uk>
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: https://gerrit.libreoffice.org/6754 Reviewed-by: Björn Michaelsen <bjoern.michaelsen@canonical.com> Tested-by: Björn Michaelsen <bjoern.michaelsen@canonical.com> Conflicts: helpcontent2 translations a2498a118e729276a78ef3a4eb43b5d0b302d326 9bb39bdd677af4be0da621370c51eb9e22ecc33f a7e654cdeffd832f51016ff51aa180fe3924ff4e 4ee41fdb600cb3a89da387dffe64e6a30192761c 349fb24a388775c58be7a326832b3fc0ec38180f 8a2ca73c02fd6b04ce60e7701c51d2362ef7ec06 Change-Id: Id5f6f5c1f3e46df2d9033ccd5bbf2af6ab38a9e8 Reviewed-on: https://gerrit.libreoffice.org/6982 Reviewed-by: Björn Michaelsen <bjoern.michaelsen@canonical.com> Tested-by: Björn Michaelsen <bjoern.michaelsen@canonical.com>
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)