summaryrefslogtreecommitdiff
path: root/sfx2/source/control
AgeCommit message (Collapse)Author
2013-04-07mass removal of rtl:: prefixes for O(U)String*Luboš Luňák
Modules sal, salhelper, cppu, cppuhelper, codemaker (selectively) and odk have kept them, in order not to break external API (the automatic using declaration is LO-internal). Change-Id: I588fc9e0c45b914f824f91c0376980621d730f09
2013-04-05[WaE] Fix signed/unsigned comparison.Rafael Dominguez
Change-Id: I79ee42e8e2480cb57f0d136bf96201e80fdf4f28
2013-04-05fdo#61390 - Thumbnail navigation by shift-click and shift-keyboard.Rafael Dominguez
Change-Id: Ia63b2a39df1c2aa76bb288e032b35d95bb0ff439
2013-04-05Avoid generating filter list several times.Rafael Dominguez
- Only generate the list after applying a new filter function. - Append item directly to the filtered list if its allowed when appending a new item to the thumbnailview. Change-Id: I804533e2a1751abb0cbc3082093aef2cb9093fb0
2013-04-05Drop jvmaccess and jvmfwk when no SOLAR_JAVATor Lillqvist
Just sprinkle #ifdef SOLAR_JAVA into the code instead. In the source for jvmaccess and jvmfwk such ifdefs can be removed as it isn't compiled unless SOLAR_JAVA. Change-Id: Ia8614f8bd6d833582d3b79b5fb75f9153fa79606
2013-04-02Get rid of the slots.cfg mechanismTor Lillqvist
I very much doubt anybody is using it. It has never been documented as far as I can see for OpenOffice.org and even less for LibreOffice. I only found it mentioned in the "StarOffice 6.0 Software Administration Guide". Change-Id: I03f272427ef6717e3e3ff957f32ffe1f696d93c9 Reviewed-on: https://gerrit.libreoffice.org/3118 Reviewed-by: Michael Stahl <mstahl@redhat.com> Tested-by: Michael Stahl <mstahl@redhat.com>
2013-03-30Prefer prefix ++/-- operators for non-primitive typesJulien Nabet
Change-Id: I2e0459426323555ca78ed38c0749690269fdc3d1
2013-03-28fdo#60844 Remember last open folder and filter in Template Manager.Rafael Dominguez
Change-Id: I81982af9a540c9966df8c0474b6527c5d08ed6f3
2013-03-28Dont reload template information after saving.Rafael Dominguez
Change-Id: Id4170e500d92dc912087eac137f38d243c3c1372
2013-03-28Display empty folders in Template Manager.Rafael Dominguez
Change-Id: I5924fabd911d1b9bfb70cd7611fd1fe7a1a44dce
2013-03-28Calculate template thumbnail subtitle position to fit drawing area.Rafael Dominguez
Change-Id: I8dc7d5dd055c9ef722279754381208d684686934
2013-03-28Position correctly widgets in Template Manager.Rafael Dominguez
Change-Id: I2bb16913f20fcc093acaec9de8b07d27a692056b
2013-03-28fdo#60581 Import templates into current directory.Rafael Dominguez
Change-Id: I965586748ab51ddb6face485e0db292c4c7b5274
2013-03-28fdo#60581 Display import templates only when its allowed.Rafael Dominguez
Change-Id: I004b50118b1b261de4807660012b55eeecff41a3
2013-03-28Display create template folder only when its allowed.Rafael Dominguez
Change-Id: Ie2acd2246694ce792f628a7057df5c30dac5db32
2013-03-27Delete the correct template from the selected search results.Rafael Dominguez
Change-Id: I2fe82b20e9b4a78abbbb3e8e587a5720054f845d Reviewed-on: https://gerrit.libreoffice.org/3077 Reviewed-by: Bosdonnat Cedric <cedric.bosdonnat@free.fr> Tested-by: Bosdonnat Cedric <cedric.bosdonnat@free.fr>
2013-03-27Separate template region ids from thumbnail ids.Rafael Dominguez
- Update all actions to use the new system. Change-Id: I22da25a4bbba4604f5df42f440e6532076d39457 Reviewed-on: https://gerrit.libreoffice.org/3075 Reviewed-by: Bosdonnat Cedric <cedric.bosdonnat@free.fr> Tested-by: Bosdonnat Cedric <cedric.bosdonnat@free.fr>
2013-03-27MSC fixesStephan Bergmann
Change-Id: I5ea1e75a637e8f4fc51ff31321213267669f8bc9
2013-03-27-Wunused-macrosStephan Bergmann
Change-Id: Ifaa1637122d6f9cae1e29b77ac36ca5d1f220aed
2013-03-26Syncronize thumbnails ids with SfxDocumentTemplates when moving.Rafael Dominguez
Change-Id: I9ee17e00f769ca16f566b1397d09b76a09273912
2013-03-26Fix template manager item selection behaviour with mouse.Rafael Dominguez
Change-Id: Icf63454973b4044443eea1cc583fce3a78c5594d
2013-03-26Deselect thumbnailview items when clearing the view.Rafael Dominguez
Change-Id: I8aa3f61d3ec7a8bf6195c5480b82d1dc1ecabc34
2013-03-26Merge TemplateView into TemplateAbstractView class.Rafael Dominguez
Refactor TemplateView class into TemplateAbstractView so we only have one class that display template thumbnails and not a separate for folders and another for files. This will let us in the future be able to display file system hierarchies in case of the remote repositories and simplify the view handing logic. Change-Id: Iafc246eeff4c50c12ac9ebec9fe95dcc84991e9e
2013-03-25fdo#62659: only select items in ThumbnailView on TabStopCédric Bosdonnat
Change-Id: I024df8520f0daf2cc2e9e5f041e1ff18cb3689ec
2013-03-25fdo#61390: allow arrow keys to show hidden thumbnail itemsCédric Bosdonnat
Change-Id: I70924b4c9578122a1c5a5b6c8a67889d6d003a2e
2013-03-25Bin a fairly useless OSL_TRACETor Lillqvist
Change-Id: Iab2500d60869ff7cad97601b7af72f76972ccc53
2013-03-22coverity#440784 Logically dead code + cleanupJulien Nabet
Change-Id: Ib620de7cf05d0c84efd933a141f3ab0a6c1c2fd5
2013-03-22fdo#61390: Fixed the tabstop in the TemplateView.Cédric Bosdonnat
Change-Id: I887b11646efb9a839da11cd3e20cdf7e532caf3e
2013-03-22-Werror,-Wparentheses-equalityStephan Bergmann
Change-Id: I69fd94447718e23ed88af28fed7ba2957559dc5b
2013-03-22fdo#61390: simple keybard support in TemplateManagerCédric Bosdonnat
Adds support for the UP, DOWN, LEFT, RIGHT and RETURN keys in the thumbnails view but doesn't handle the modifiers yet. There are still some problems with the focus and key input outside the top level Change-Id: I5ba67583c835bcc00b075071411c0d6590a07f9a
2013-03-22Template Manager: removed some dead selection codeCédric Bosdonnat
Change-Id: Ib5ebcd928e77a115f4f62a50724656c33ae13c61
2013-03-20Template Manager: select first item when getting focus if no selectionCédric Bosdonnat
Change-Id: Ie012e010ca92728725535345c76fc9f5eb31a254
2013-03-19automated removal of RTL_CONSTASCII_USTRINGPARAM for quoted OUStringsThomas Arnhold
Done with a perl regex: s/OUString\s*\(\s*RTL_CONSTASCII_USTRINGPARAM\s*\((\s*"[^")]*?"\s*)\)\s*\)/OUString\($1\)/gms Change-Id: Idf28320817cdcbea6d0f7ec06a9bf51bd2c3b3ec Reviewed-on: https://gerrit.libreoffice.org/2832 Reviewed-by: Thomas Arnhold <thomas@arnhold.org> Tested-by: Thomas Arnhold <thomas@arnhold.org>
2013-03-15Template manager: moved the controls into a proper TabPage to avoid problemsCédric Bosdonnat
Change-Id: Ibff35bf24873a38c9a09d71fb3630a57e06f1a3c
2013-03-13Add a button to create a new empty folder in template manager.Rafael Dominguez
Change-Id: I13f77790f26c972bd74dac08c0cb8fd77b049dbf Reviewed-on: https://gerrit.libreoffice.org/2704 Reviewed-by: Fridrich Strba <fridrich@documentfoundation.org> Tested-by: Fridrich Strba <fridrich@documentfoundation.org>
2013-03-09Remove unused functions (callcatcher)Julien Nabet
ThumbnailView::deselectItem(unsigned short) XclExpPivotCache::GetFieldAcc(rtl::OUString const&) Change-Id: I88d79c7c1eede9544a4232e467a54629e4976798
2013-03-08fdo#60691 add modelines to *.src and *.hrc filesBorim
use solenv/bin/add-modulelines script for the task and remove all UTF bom from *.src and *.hrc files svx/source/dialog/hdft.src Change-Id: I745d4f0fe9b05436a142a03f8512970f91c41bd4
2013-03-07fdo#46808, small cleanupsNoel Grandin
Change-Id: I8d34bfca5009a4a44444b19a39c6f8338614e4c4
2013-03-06fdo#60148 Clean up warnings from the Clang compiler pluginnccuong
Change-Id: I08d755677c46c476710ecbd067ed9f7e2f54a671 loplugin: clean warnings: unused variables, incorrect indentation and log area. Reviewed-on: https://gerrit.libreoffice.org/2544 Reviewed-by: Eike Rathke <erack@redhat.com> Tested-by: Eike Rathke <erack@redhat.com>
2013-03-05Remove unused nTotalItemsJulien Nabet
See http://nabble.documentfoundation.org/Cppcheck-nTotalItems-is-assigned-a-value-never-used-sfx2-part-td4036724.html Change-Id: I8c752dc7bede7cbf5e450d62500a227458b8dc25
2013-03-04remove unused and commented out codeThomas Arnhold
This code gets never called. Change-Id: I59228cba1444b7b09f74eb5cf8da9b755c7c32f7
2013-03-03Related to fdo#60724: correct spellingThomas Arnhold
Using the autocorrect list of LibreOffice extras/source/autotext/lang/en-US/acor/DocumentList.xml Change-Id: I8b93969bc0742c2e95b8b7db3c4c37691e8d3657 Script: http://pastebin.ca/2327716
2013-02-27Remove unused parts and simplifyJulien Nabet
See http://nabble.documentfoundation.org/Cppcheck-quot-bContainsDate-quot-not-read-in-templateremoteview-cxx-sfx2-td4032416.html Change-Id: I2369d728e431d5e802871fc0a173aacc90079798
2013-02-27fdo#39446 - Bloat Removal. Removing uncallable code with callcatcherJean-Noël Rouvignac
Removed several unused methods. Could not remove ScVbaFormat<ooo::vba::excel::XStyle>::getAddIndent() and ScVbaFormat<ooo::vba::excel::XStyle>::setAddIndent(com::sun::star::uno::Any const&) because it breaks compilation (they are implementing pure virtual methods). Should Test::test1Table1Page() really be removed? (test class) Conflicts: unusedcode.easy Change-Id: I98a761f66f28e3a82661c10a5fa1dc7e109fff2f
2013-02-22s/the the/the/Tor Lillqvist
Change-Id: Iadacffaad832c6ff06757e8567e24f929f24a4c3
2013-02-14Removed several useless macros: UNISTRING, USTR, USTR_ASCII, ASCII_STR, ↵Jean-Noël Rouvignac
ASCII_STRING, CONST_ASCII, ASCSTR, ASCII, DEFINE_CONST_UNICODE, DEFINE_CONST_OUSTRING Change-Id: I96d690bf9f9b319e9eeafcf218ec5ce87f21215f Reviewed-on: https://gerrit.libreoffice.org/1954 Reviewed-by: Tor Lillqvist <tml@iki.fi> Tested-by: Tor Lillqvist <tml@iki.fi>
2013-02-13Some cppcheck cleaningJulien Nabet
Change-Id: I3d515fabc272e5c14f2e2779da1c43f92514f290
2013-02-12Remove commented linesJulien Nabet
Change-Id: Iaf07d9f4bc0a133c1127d93bf635b6653fe1479a
2013-02-12Templates Manager: if the title can't be edited, don't update it in UICédric Bosdonnat
Conflicts: sfx2/inc/sfx2/templatelocalview.hxx sfx2/source/control/templatelocalview.cxx sfx2/source/control/templateview.cxx Change-Id: Id16431fb3517c831a5e81ff72fafaa8569f99ef1
2013-02-11Templates Manager: UI for renaming templates and folders, fdo#60579Cédric Bosdonnat
After thinking this was a feature regression, I finally discovered that the old template manager couldn't rename templates. This commit is bringing back some previously unused code dropped in an ealier commit. Even though this is a UI change, no new string is added by this commit.