summaryrefslogtreecommitdiff
path: root/sfx2/source/dialog
AgeCommit message (Collapse)AuthorFilesLines
2014-08-08Fixed the menu button resizingfeature/template_manager_improvements2Efe Gürkan YALAMAN1-2/+3
Menu button size requests are changed to fit with the other buttons. Change-Id: Ibe7d850f08b37a971f97d0f28c6bffa8e73b0e21
2014-08-08Fixed the Templates buttonEfe Gürkan YALAMAN2-53/+6
It works as a button. When clicked the triangle works as dropdown. Change-Id: Ib4e3b6a1832efef3382e7bd01b06d2ff8d4e7543
2014-08-08All templates option addedEfe Gürkan YALAMAN1-5/+9
Change-Id: I622d5d6fd7fa7be474fa56abf67a1a62fddbcf60
2014-08-08Some code cleanupEfe Gürkan YALAMAN2-24/+32
SetupButton function overloaded for MenuButton type. Change-Id: Ib171c7590a59ad360dd8ebab1039d3eba5d565ef
2014-08-08Template Filtering ImplementationEfe Gürkan YALAMAN2-15/+33
Change-Id: I9270136afeaadbbe16c408e6e7d2fbde5b53d324
2014-08-08Start of filtering implementationEfe Gürkan YALAMAN2-1/+31
Change-Id: Iebf71deb4739703d87b944300cbc1b8ee2daacc5
2014-08-08Code CleanupEfe Gürkan YALAMAN2-312/+22
Some unneccesary code cleaned up. Change-Id: Iebc43ddc8276d5865c640b7fa955152a3361eb36
2014-08-08Selecting and opening templates implemented.Efe Gürkan YALAMAN2-57/+113
All editing related code commented out. Code needs to be cleaned up. Change-Id: Ibe901684d8747552b8ebeeea848c8f5e050ae726
2014-08-08Initial TemplateBar moved from TemplateManagerEfe Gürkan YALAMAN2-2/+41
Change-Id: I335e69de31bd64e7c4504a58d7652f755491af33
2014-08-08Some folder features moved to backingwindowEfe Gürkan YALAMAN2-8/+63
Create new folder and delete a folder moved from template manager dialog to startcenter. Change-Id: If89b9fd7ee499f7fccda08d3ac989728148a24a0
2014-08-08selection function movedEfe Gürkan YALAMAN1-1/+17
The localview is not causing crash now. Change-Id: Iea2fe607555d2d3c955f8f198240a2b2d1e26788
2014-08-08Some handlers and buttons movedEfe Gürkan YALAMAN2-8/+221
Some more handlers and buttons moved. Still not usable mostly. Change-Id: I19c9c36a490030369b4e8d84b41f6d2962665426
2014-08-08ViewBar moved to Start CenterEfe Gürkan YALAMAN2-0/+32
View bar moved to the start center without handlers. Visible but useless ATM. Change-Id: I1cb64faa1ee86b19ecbb793351c8c11362ef799e
2014-08-08Default filter noneEfe Gürkan YALAMAN1-0/+1
Small fix to add default filter. Which is none, it shows all. Change-Id: I49cf222b2909972f1800cd029f2ba97556aa955a
2014-08-08Moving TemplateLocalView to the StartCenterEfe Gürkan YALAMAN2-1/+18
Added TemplateLocalView to the StartCenter. "Templates" Button will hide RecentDocs and show TemplateLocal view. Change-Id: I34fc7f6ed0d819cf0c29dd89ee154408c5d8434f
2014-08-07Resolves: fdo#82043 use a bold font for the start-center buttonsCaolán McNamara1-0/+2
Change-Id: I4d947060815559f68cd200d8103868014ea6ac2d
2014-08-07rhbz#1079672: FileDialogHelper: don't hand out stale preview GraphicMichael Stahl1-13/+10
The maGraphic is updated from a timer, and if you double-click on a file then the dialog may exit with the previous file still previewed in maGraphic, so the wrong image is returned by the dialog. Change-Id: I99094d85d8d68d5c8a842f52e7039dbbbf095995
2014-07-29WaE: 'initializing' : truncation from 'double' to 'float'Tor Lillqvist1-1/+1
Change-Id: Ie61d007857a62facac9d4e21ec494195041eeffb
2014-07-28sfx2: -Werror=parenthesesMichael Stahl1-4/+4
Change-Id: I94973343bb3ec4a055d9a46ca7ac800dd08406ad
2014-07-28Some properties in File->Properties->General Tab are not set for remote docsMihai Varga1-0/+49
This patch handles the case in which no meta information could be extracted from the file, so CMIS properties are displayed instead, if it is a CMIS document. Size and creation/modification dates are handled here. Change-Id: I97f920172b15a76297d78a33ac3a07a8333ef8a6 Reviewed-on: https://gerrit.libreoffice.org/10511 Reviewed-by: Bosdonnat Cedric <cedric.bosdonnat@free.fr> Tested-by: Bosdonnat Cedric <cedric.bosdonnat@free.fr>
2014-07-24Resolves: fdo#80476 Start Center sidebar button are too largeCaolán McNamara1-5/+6
Change-Id: Iedf67b5591d84963e1caf3e8d9d17d42175bb604
2014-07-24Related: fdo#81641 create new styles with an initial nameCaolán McNamara2-10/+15
instead of creating with a blank name and changing it later this way undo of a style creation is initialized with its name and so create a style followed by deleting a style and undoing all those steps doesn't crash Change-Id: Ida7a34410d5d7b05edcb86950aabb3c672b82c8f
2014-07-24style category listbox depends on being unsortedCaolán McNamara1-1/+3
regression from commit 6ecfbf153a7c11c63d208630ac6a27064058099d Author: Caolán McNamara <caolanm@redhat.com> Date: Wed Mar 13 15:10:25 2013 +0000 drop unused resources and toggle label to activate replacement widget Change-Id: I65ca8ec58ed984120f3c2e7ba68507cbf8acf089
2014-07-24Related: fdo#81641 exclude 'all styles' category from organizer pageCaolán McNamara1-0/+1
it doesn't make sense to be able to assign a style to 'all styles' Change-Id: I632c62f293b553e436ceb8da0baf2bb39941fd39
2014-07-22Related: fdo#81457 quadratic time required when setting a11y nameCaolán McNamara1-19/+44
when calling SetAccessibleName GetAccessibleName is called in order to send a name changed a11y event. Getting an Accessible Name is very slow in a non-layout aware widget because it scans for a "nearby" label and there is none in this widget, but it has a huge pile of other widgets to iterate over. call add_mnemonic_label before hand to cut off that entire branch. While we're at it, only call InitControl to adjust to a new width if the new width is different from the old width Change-Id: Ie4ba1276127226e49442278e46447b84bbeb1cde
2014-07-17fix spelling structur -> structureNoel Grandin1-1/+1
Change-Id: I7aa4a9bf72732db95a67cee368f3a83a0d71bb9c
2014-07-13SfxModelessDialog ResId ctor bites the dustCaolán McNamara1-13/+1
Change-Id: Ia1bc255de0f38c058a3ab622d87af8b346a2075f
2014-07-11Convert DLG_TEMPLATE_INFORMATION to .uiPalenik Mihály3-61/+9
Change-Id: I66469c17a46c1157b8e3801c0dc2b252c569a4bd Reviewed-on: https://gerrit.libreoffice.org/10213 Reviewed-by: Caolán McNamara <caolanm@redhat.com> Tested-by: Caolán McNamara <caolanm@redhat.com>
2014-07-06coverity#706056 Unintended sign extensionCaolán McNamara1-3/+4
Change-Id: Iafb36f8135893186710ae3a939e50596a372d065
2014-07-06coverity#706055 Unintended sign extensionCaolán McNamara1-2/+3
Change-Id: Ie917cfd5f41a6f5e58a4c629a6a5b800e2e0b42f
2014-06-29Typo: beeing->beingJulien Nabet3-5/+5
Change-Id: I34937e400ac8576154d33e1e11b80690222f532c
2014-06-27remove SFX_APP() macro that was a mer wrapper for SfxGetApp()Norbert Thiebaud4-12/+12
Change-Id: I480a789c767dd671775c9d70d96bf71908f21f5b
2014-06-26clang: Branch condition evaluates to a garbage valueCaolán McNamara1-1/+1
Change-Id: I522f9e9178dbda466a355bc84d97f5458005e131
2014-06-17coverity#706054 Unintended sign extensionCaolán McNamara1-1/+1
Change-Id: I69df0aa6091263cbb6e500a5015915c6678764ec
2014-06-17improve the inlinesimplememberfunctions clang pluginNoel Grandin1-4/+0
Change-Id: I6d5a952901648e01904ef5c37f953c517304d31e
2014-06-13loplugin:staticcallStephan Bergmann1-1/+1
Change-Id: Ie5e9e21f4c592c58094afc954f1de54512719fd5
2014-06-11Change SfxTabPage ctor SfxItemSet param from ref to pointerStephan Bergmann6-28/+28
...and also corresponding param of CreateTabPage function type and corresponding Craete functions. There were some call sites that passed undefined "null pointer references" and SfxTabPage internally uses a pointer member pSet that is checked for null anyway. Change-Id: I4eb3636155eac46c9c9d26e6e6e842e85d7e95af
2014-06-11Change SfxTabPage::Reset param from ref to pointerStephan Bergmann8-27/+27
...there was a call site that passed undefined "null pointer reference" (apparently in a case where the passed argument was actually unused) Change-Id: I663d4264b7a84f44ca69c732f3bc502f614b2b2a
2014-06-10Change SfxTabPage::FillItemSet param from ref to pointerStephan Bergmann7-26/+26
...there were a number of call sites that passed undefined "null pointer references" (apparently in cases where the passed argument was actually unused) Change-Id: I19799e90f0cd8e98367782441a5ea9df27b59830
2014-06-09loplugin: inlinesimplememberfunctionsNoel Grandin1-8/+0
Change-Id: I42119f656ca528286fb25d2d36c0af54b7d04a6b
2014-06-04fdo#79597 Password UI: correct typo for 1 characterLaurent Balland-Poirier1-3/+9
Display a different string in case of 1 character for minimum length Change-Id: Iba2fbbb7d4101718def7c79ce5354debf5d97041 Reviewed-on: https://gerrit.libreoffice.org/9631 Reviewed-by: Caolán McNamara <caolanm@redhat.com> Tested-by: Caolán McNamara <caolanm@redhat.com>
2014-05-30coverity#1202815 Missing break in switchCaolán McNamara1-7/+8
Change-Id: Ic18a984c4c05367ac1a863a27620c83391d5bac5
2014-05-30Resolves: fdo#79360 impress hangs on using sidebar new styleCaolán McNamara1-18/+19
because those styles are "pseudo-styles" and a new one cannot be added. The possibility is supposed to be disabled, and it is disabled in the floating stylelist. The old code assumes there can only be one of these stylelists and when a stylelist queries if the "new" should be disabled the callback asks the stylelist what family is selected, but only asks the floating one. So, floating closed, sidebar open, the new is not disabled. Implement the ancient TODO now that we have to. Instead of asking the stylelist what family is selected, query the frame for what is the current SID_STYLE_FAMILY as set by whatever is the active stylelist. What's disturbing is the SID_STYLE_FAMILY values are not SfxStyleFamily, but indexes that have to be mapped to SfxStyleFamily. I bet there are a pile of bugs around that, especially with little islands of different conversion codesites Change-Id: I85c8032d7c26ae6eea245685748f89b2a860e767
2014-05-29convert from NId to FamilyId instead of FamilyId to NIdCaolán McNamara1-2/+2
should be equivalent for comparison purposes Change-Id: I45ed21ee3b45425b5e1ca39e0774c6d34cd2ee76
2014-05-28Related: fdo#79142 make SetName default to ReindexingCaolán McNamara1-11/+3
Change-Id: I408042bc7bf1a5a955203d65d2c68ebf9527b9b5
2014-05-28Resolves: fdo#79142 When Creating Styles - The 2nd One Always Replaces the 1stCaolán McNamara1-3/+11
regression from 0c17ccc493d0c7a80f37600dae76a09a119bef78 I think it might actually make more sense for SetName to always Reindex and have another SetNameNoReindex for selective use where its known safe to get away with it Change-Id: I6bf7e1f45130f741954ab525b838f3ac5ff61a89
2014-05-26coverity#704795 Unchecked dynamic_castCaolán McNamara1-1/+1
Change-Id: I8526944acfb319f3e8e1e1927e94ea44eb59f5d6
2014-05-20Prefer cppu::UnoType<T>::get() to ::getCppuType((T*)0) part18Julien Nabet1-7/+7
Change-Id: Ibf958dbfbf7cdbe6ad31d390138be8d4d468c225
2014-05-20enhance pass-by-ref plugin to detect large argumentsNoel Grandin1-1/+1
Detect arguments larger than 64 chars passed by value. Change-Id: I9b0ea9ccb99d115984a26eab67c9cf6afd5f6cae Signed-off-by: Stephan Bergmann <sbergman@redhat.com>
2014-05-19fdo#78536: sfx2: remove (likely) accidentally duplicated callMichael Stahl1-3/+0
It looks like commit dda842bec338efb06457551136678340d0718807 wanted to #ifdef this Execute_Impl() call but somehow duplicated it. Change-Id: I745e16cb0be19cf38eb70dd261204c879aa6986e