summaryrefslogtreecommitdiff
path: root/sfx2/source/control/recentdocsview.cxx
AgeCommit message (Collapse)AuthorFilesLines
2015-08-28make PostUserEvent Link<> typedNoel Grandin1-2/+2
Change-Id: I13f10bda985d55d419a5bff481130a456ae2db8a
2015-07-09New branding for the 5.0.Jan Holesovsky1-3/+3
Change-Id: Ic20314a65739d769adf3331a77f36be813da22a3
2015-06-30tdf#90452: Templates should adhere to the recent docs colors too.Jan Holesovsky1-0/+1
Change-Id: I5df89581796eca4e48e0a305d4319e4674f8dd87
2015-06-30tdf#90452: The correct color for the message when there's no recent file yet.Jan Holesovsky1-1/+2
Change-Id: I5a990643903946ea339136fbc514ca8cb90fa34e
2015-06-30tdf#90452: Implement the new design of the startcenter.Jan Holesovsky1-1/+7
See the comment 45 in the bug for the agreed design. Change-Id: I428f339df48f530f606525434a4a2be8a79acaab
2015-06-11convert expressions like 'size() == 0' to 'empty()'Noel Grandin1-1/+1
Change-Id: Ia5c8c0f38a347f398d587970a22e03f29ffd37af
2015-05-20convert IMAGE_DRAW_ constants to scoped enumNoel Grandin1-1/+1
Change-Id: I75619eeb902af4953a5ac1525605cf3f0f15e2c0
2015-05-13loplugin:staticmethodsStephan Bergmann1-7/+12
Change-Id: Ic0557eabff8a323a4cbe7aa9845464d752c68685
2015-05-13refactor RecentDocsView to use RenderContextTomaž Vajngerl1-34/+33
Change-Id: I0fd6db7c7eb0481f99639ec7520dc01724fc0db8
2015-05-11tdf#91052 - more macros for 'make' constructors.Michael Meeks1-5/+2
Change-Id: Ic7ff127e2793993f9dcf1018f8d5ed4f2858a2c4
2015-05-10NOINSTANCE is implied now in IMPL_STATIC_LINK...Stephan Bergmann1-1/+1
Change-Id: Ifb032457d6c1b279c4183282ef2b271c706dd71a
2015-04-29replace Paint calls to Invalidate + fix compilationTomaž Vajngerl1-2/+2
Change-Id: Id716c47d56922ab6ce0c3adb3d426ea814980674
2015-04-29mass rewrite Paint(Rect&) to Paint(RenderContext&, Rect&)Tomaž Vajngerl1-1/+1
Change-Id: Ia1667246064d11827dbd149def15e5bf08b119b8
2015-04-09vcl: VclPtr conversion in sfx2Noel Grandin1-4/+0
Change-Id: I78ea3f4304ace27c6db0e3d0651bd65043dcbc68
2015-01-16Provide thumbnail size via constructor for RecentDocsViewItemTomaž Vajngerl1-1/+1
Change-Id: Ic206ebff28683da2b1daf23039820c2184788595
2015-01-07fdo#84938: convert STREAM_ #defines to 'enum class'Noel Grandin1-1/+1
Change-Id: Ibbf14c7e9a5c1883c1311d4c86f948f74f8e473e
2014-09-23fdo#82577: Handle WindowNoel Grandin1-2/+2
Put the VCL Window class in the vcl namespace. Avoids clash with the X11 Window typedef. Change-Id: Ib1beb7ab4ad75562a42aeb252732a073d25eff1a
2014-09-18fdo#82577: Handle FontNoel Grandin1-4/+4
Put the VCL Font class in the vcl namespace. Avoids clash with the X11 Font typedef. Change-Id: I1a84f7cad8b31697b9860a3418f7dff794ff6537
2014-09-11create a master document template typeCaolán McNamara1-1/+1
of application/vnd.oasis.opendocument.text-master-template with suffic otm https://lists.oasis-open.org/archives/office-comment/201002/msg00042.html desktop/icons/oasis-master-document-template.icns is just a copy of desktop/icons/oasis-master-document.icns because I can't draw Change-Id: I0d18c79c4c893e97505052884ee8be97d0f117a1 Reviewed-on: https://gerrit.libreoffice.org/11350 Reviewed-by: Caolán McNamara <caolanm@redhat.com> Tested-by: Caolán McNamara <caolanm@redhat.com>
2014-08-01hidpi, startcenter: Don't set fixed font heigt in the startcenter.Jan Holesovsky1-12/+13
Change-Id: I68efbd08d21b514ab1659cd6bddfc2c4788c4a74
2014-06-09loplugin: inlinesimplememberfunctionsNoel Grandin1-4/+0
Change-Id: I42119f656ca528286fb25d2d36c0af54b7d04a6b
2014-05-17fdo#78782 startcenter: open document on enter keyMaxim Monastirsky1-1/+7
Change-Id: I501dbd6a0f4e5323a003afbb19707aad67897cd0
2014-05-17Correct common misspellings, and remove some ASCII art along the way.Chris Laplante1-1/+1
Change-Id: I42787db31769e8bde984c5f4f0aa90335e889b1c Reviewed-on: https://gerrit.libreoffice.org/9356 Reviewed-by: Thomas Arnhold <thomas@arnhold.org> Tested-by: LibreOffice gerrit bot <gerrit@libreoffice.org>
2014-05-14Fix warningMaxim Monastirsky1-1/+1
Change-Id: I90187024bc599f66bb99295ed342e106080adeb7
2014-05-14fix buildMaxim Monastirsky1-0/+1
Change-Id: I40b7f9388388e05ab5b034ac81861aa34a23d2a8
2014-05-14startcenter: another attempt to fix mouse up issuesMaxim Monastirsky1-3/+7
see commits 1a2a961c1e7cdef648c28e211433e8de6e8a831b 4a902e0c59b0dd01e6459c226268bdee4f15489a Change-Id: I94b90dfc5db779317d4dda1171aeceeac6373548
2014-05-14Revert "startcenter: react on mouse down instead"Maxim Monastirsky1-4/+12
This reverts commit 1a2a961c1e7cdef648c28e211433e8de6e8a831b. As suggested by Kendy, opening with a single click by mouse up is more natural. We need to find a better solution for the bug mentioned in the above commit.
2014-05-05startcenter: react on mouse down insteadMaxim Monastirsky1-12/+4
There is a good reason for that: File lists of some file pickers handle double click event on mouse down. So if a start center thumbnail is exactly behind the file on which the user double- clicked, it will receive the mouse up event, and will also open. Change-Id: I9fc9ceff0874d0486d5b568c9b35143c8d8aabf8
2014-04-27startcenter: Add possibility to selectively remove recent documents.Jan Holesovsky1-61/+15
Change-Id: Id0c20de6dc3375e64dd3dbef34dcd6eb77f02340
2014-04-07sfx2: sal_Bool->boolNoel Grandin1-1/+1
Change-Id: I48ae51781f64e60deb0c03352087100729c8c3cd
2014-03-07Fix deselection problems of template viewZolnai Tamás1-0/+7
deselectItems() were added to make recent docs view work, but it is unneccessary to affect template view too. Change-Id: I0c805774321939991e308e9c8c669604e81dbad5
2014-02-28remove unused code RecentDocsView::SetThumbnailSize(long)Noel Grandin1-6/+0
Change-Id: I9a898fda8e494693f48d7611c07bd65e86c22bdf
2014-02-10coverity#1130368 Unchecked dynamic_castCaolán McNamara1-2/+4
Change-Id: Ib4ae0ce1647e15bf1b9d7fe8e2d3bcfcb8ec1466
2014-02-04startcenter: fdo#72469: Thumbnails also for other file types than ODF.Jan Holesovsky1-5/+21
Change-Id: If905b2f3e51adf7e64df9385ede74368acd11771
2014-02-03fdo#72338: startcenter: Show busy mouse pointer when starting apps.Jan Holesovsky1-0/+3
Change-Id: I8f254419ea7bb4e3e9835bd9fab8229ed89cd0e9
2014-02-03startcenter: Don't cut off the thumbnails.Jan Holesovsky1-1/+1
Change-Id: Ie5ad5f5be48aa873df94a31e980aaabc4ac24868
2014-01-25Related fdo#65826: Set StartCenter's min width to display one column of docsZolnai Tamás1-8/+27
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-01-21fdo#65826 and fdo#73605: set a minimum size to start centerZolnai Tamás1-0/+8
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-10Startcenter: ignore repeated clicks inside recent docs viewZolnai Tamás1-1/+1
Change-Id: Ia433adb26e820b89c4d207d018d0daf42654b4a0
2014-01-09Startcenter: when screen is small make doc thumbails smaller, v.2Zolnai Tamás1-1/+3
Change-Id: I2ff45c5455e747ea3726b17b6384111db2699fa9
2014-01-09Startcenter: double click opens file only onceZolnai Tamás1-0/+3
Change-Id: I0d99a905cc8c94d39bfe802b2c597275c81f0b4f
2014-01-09Startcenter: when screen is small make doc thumbails smallerZolnai Tamás1-2/+2
Change-Id: If4fbb66992318221a687710afa77fc98e4f111c3
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 Holesovsky1-7/+16
Change-Id: I23d6a4bf8d9c3b2531dd95e4ea293ce7225bf8f1
2013-12-13startcenter: Full thumbnail size (256px), upscale if necessary.Jan Holesovsky1-1/+1
Change-Id: I8ae72249853a03b1dfca0ecd10eef47e9aa7cbfe
2013-11-11startcenter: Don't create the Image with every paint.Jan Holesovsky1-6/+9
Change-Id: I90fa5aff94de38d950a78811dad301b91ced89f3
2013-11-11startcenter: Paint either the welcome, or the recent docs.Jan Holesovsky1-1/+2
Otherwise the background will paint over the graphics... Change-Id: Ic62c563026daa9c4173148cd68652d8aba608089
2013-11-11startcenter: Start center shows a welcome text when recent doc list is emptyRodolfo Ribeiro Gomes1-0/+27
The image I got from TDF wiki. I tried to show the text semitransparent also, but set font color with any alpha degree (eg. setTransparency(254) ) made it invisible. Maybe just a gray shade? Change-Id: Iaf7efb8433e9db03862825148ed2013588a5468f Signed-off-by: Rodolfo Ribeiro Gomes <rodolforg@gmail.com>
2013-11-10ThumbnailView: item found by mouse pos is always visibleRodolfo Ribeiro Gomes1-7/+3
-- so it does not need to check it again Change-Id: Id6fc2732bde8dd7f6011828b6bc29d7947bf6312 Signed-off-by: Rodolfo Ribeiro Gomes <rodolforg@gmail.com> Reviewed-on: https://gerrit.libreoffice.org/6629 Reviewed-by: Jan Holesovsky <kendy@collabora.com> Tested-by: Jan Holesovsky <kendy@collabora.com>
2013-11-08Unwind SFX_REFERER_USERStephan Bergmann1-3/+1
...and remove remaining unused content of sfx2/source/inc/referers.hxx. Change-Id: I5c533f63e13da930f6944af0e85d4b061c30e5b0