Commit graph

9887 commits

Author SHA1 Message Date
Noel Grandin
4b41b87e52 Convert SV_DECL_PTRARR_SORT(_SfxObjectList) to o3tl::sorted_vector
Change-Id: I663f03c2fdafe994b609572aa3a8b6bf2354b444
2012-07-17 15:33:40 +02:00
Takeshi Abe
2aecedd79e removed unused forward declarations of class
Change-Id: I9762e198825fbc697f4049a7da5755d72c14e481
2012-07-17 21:27:12 +09:00
Jan Holesovsky
3e3a6a799d Fix MinGW build.
Change-Id: I48bad55cc982fba6fb48a921746801de9993bff1
2012-07-17 10:35:50 +02:00
Andras Timar
34ebc821d9 fdo#52143 use Unicode functions for QuickStarter tooltip
Change-Id: Ic9c7ed84925ea5b4ce324a98a1089102dcda24b8
2012-07-16 15:03:46 +02:00
Christophe JAILLET
df645a2bd8 There is not need to allocate memory just for getting the 'indexOf'
a literal within a OUString.

Change-Id: I01ca30c68228f81b3d313dfca5b975448f3c4fc7
2012-07-16 11:33:05 +01:00
Matúš Kukan
a5ae5d95f4 PRECOMPILED_HEADERS not defined
Change-Id: I9292f45585243ef0244b75df030421111e1ca0ae
2012-07-16 07:28:31 +02:00
Julien Nabet
c64e33efb0 Possible inefficient checking for <var> emptiness
Change-Id: I049ebd41756ffdd73f534c3bf34f81106f8549a9
2012-07-15 15:26:06 +02:00
Julien Nabet
602445c1aa Prefer prefix ++/-- operators for non-primitive types
Change-Id: I6cfaf9f4623c67fcf9383426f04b32e095acbf42
2012-07-15 15:24:09 +02:00
Rafael Dominguez
cbdfab6e43 Keep track of the current view and close it when we click close icon.
Change-Id: I63faf58203ac43b4216a57d8ad5fbfe8d9f0bfff
2012-07-15 08:15:26 -04:30
Rafael Dominguez
7d2e94d0f8 Move Populate and ShowOverlay as pure virtual functions.
Change-Id: I6544ec030646a2f9fb0e322c1c2032b78ff6390c
2012-07-15 08:15:25 -04:30
Rafael Dominguez
0703d55933 Move some methods to TemplateAbstractView.
Change-Id: Ie65d5c9c91a1c55c792bf19a9f2ffdb6bb56bb2a
2012-07-15 08:15:25 -04:30
Rafael Dominguez
5a22ac8fdd Move overlay attribute from subclasses to TemplateAbstractView.
Change-Id: Ia64c226f481a24c06bb3e248f4441fbbca5ad085
2012-07-15 08:15:24 -04:30
Rafael Dominguez
b2ed25b473 Remove SfxDocumentTemplates dependency from TemplateView.
Change-Id: I316d14303f3772fe2a3ea72b5b5a733f16b95e5a
2012-07-15 08:15:24 -04:30
Rafael Dominguez
29a0a916f4 Refactor setting TemplateView name through regionId.
Change-Id: I4c03c5d254e1552abf8c30fc1f3f5dfbf24c1c84
2012-07-15 08:15:23 -04:30
Rafael Dominguez
58a404ca3a Inherit from TemplateAbstractClass instead of ThumbnailView.
Change-Id: If48b413fc4a409fbbce7a0b8c7de99c6b9ce91ad
2012-07-15 08:15:22 -04:30
Rafael Dominguez
4cfb62a8a1 Create abstract class for template repositories.
Change-Id: Ie92c2241c468522439bccd7d9c18a2dbf9c27c38
2012-07-15 08:15:21 -04:30
Rafael Dominguez
65fa0fbb7e Fill overlay template list when opening an online repository.
Change-Id: I179f93ae76aff059cf069c54fe634eee49d4ed90
2012-07-15 08:15:21 -04:30
Rafael Dominguez
6876faeee8 Set online overlay dimensions the same as parent and set bg as white.
Change-Id: I40e84c1c10369a48544ccc1fcc9bb1821c8b3e23
2012-07-15 08:15:20 -04:30
Rafael Dominguez
836822522a Create overlay for online templates.
Change-Id: Ie09c91e23527d3e1389fc13bd13a8234bda080f3
2012-07-15 08:15:19 -04:30
Rafael Dominguez
e81b42750c Store item url in TemplateOnlineViewItem.
Change-Id: Icc825963591fbdee4e75fc9865333d5ea52d6301
2012-07-15 08:15:18 -04:30
Rafael Dominguez
02cf240b08 Load user saved repositories when loading dialog.
Change-Id: Id5ffb1d4addec43ba8c6fa5aecfa3d5683d6c3a0
2012-07-15 08:15:17 -04:30
Rafael Dominguez
86d59ae04e Set online view position, dimensions and item details.
Change-Id: I968eecdbc91b8998f3fb579afb5305554d6dab76
2012-07-15 08:15:17 -04:30
Rafael Dominguez
6c034219f3 Load repositories URLs and names from user settings.
Change-Id: Iad7f62660abc59383d9933b198a57ac317361f38
2012-07-15 08:15:16 -04:30
Rafael Dominguez
e64f770707 Switch main view between local/online repository.
Change-Id: If2f5f53991271fc05453c44fa422aba7c14d0e16
2012-07-15 08:15:15 -04:30
Rafael Dominguez
63cddab83b Create toolbox buttons to display local/online templates.
Change-Id: Ia1445813c0c049b3478c3873b9e1acf5ae8d67f6
2012-07-15 08:15:15 -04:30
Rafael Dominguez
7db5c56b9f Create a class to display online templates thumbnails.
Change-Id: Id1a2a18d5531a3425221adec84abb7c05228496c
2012-07-15 08:15:14 -04:30
Thomas Arnhold
abdaf7e5f8 Remove unused HIDs
Those were only listed in help_hid.lst

Change-Id: I491a037b375015db76c30c93a59b615a63fb1838
2012-07-14 20:05:38 +02:00
Bjoern Michaelsen
d24b518261 Revert "Some cppcheck cleaning"
This reverts commit b21661ce42.

this breaks with ../framework/source/lomenubar/MenuItemInfo.hxx:49:12: error: expected ‘;’ at end of member declaration
2012-07-14 16:07:39 +02:00
Thomas Arnhold
1340890ccd simplify include guards
Change-Id: Id4210229b20a1d54b680ff1a2ccbcdd3684ecf5f
2012-07-14 05:44:15 +02:00
Thomas Arnhold
5a7e8389f0 hrc cleanup: Remove include guards from src files
Change-Id: I7d52837f4058bab1bb5a0137788521d12834d519
2012-07-14 05:43:47 +02:00
Stephan Bergmann
023513fb71 Remove unused #includes
Change-Id: I041feabb7ee94b33caebb67a380b8f3694d09e82
2012-07-13 13:55:23 +02:00
Laurent Godard
0d2afe0845 change Exit menu entry to Exit %PRODUCTNAME fdo#51944
Some user do not understand that Exit is for exiting all libreoffice modules and not exiting the current window

Change-Id: If3a88a1e7f79c5c19f3011ba65dde3cda11462a4
2012-07-13 12:12:03 +01:00
Thomas Arnhold
cdaddecc5e java: printStackTrace always to stderr
like 3d3b3f656f

Change-Id: I6e80717de009e8a3a89ffc80cb945cc832917f8c
2012-07-13 12:45:57 +02:00
Thomas Arnhold
c26d4d3446 hrc cleanup: Remove unused Strings in sfx2
Change-Id: I412cd836ab248ed7c247e1125ff52dc3263604d2
2012-07-13 12:45:57 +02:00
Michael Stahl
765c7ddf2d warning C4305: truncation from 'double' to 'float'
Change-Id: I27110c810b1d4d3dd3541625eff861be3e058ef6
2012-07-12 20:50:29 +02:00
Michael Stahl
28d2bb7293 warning C4099: type name first seen using 'struct' now seen using 'class'
Change-Id: Ibbf92a0156cbb086901a59c6ed0fa950601570f5
2012-07-12 20:46:11 +02:00
Thomas Arnhold
efb74b5dfd hrc cleanup: Remove unused Strings in sfx2/source/doc/doc.hrc
Change-Id: I96f030fe55c40861faf249b1617606f0977f6295
2012-07-12 14:12:04 +02:00
Rafael Dominguez
802e3fa7e6 Draw thumbnail subtitle.
- In the case of the SearchViewItem will be Folders name and in the case
of TemplateViewItem it will be author.

Change-Id: I251a3db323f7f02d023c9673d0a7a8027456bda6
2012-07-11 14:36:53 -04:30
Rafael Dominguez
2ef58e5af9 Ignore case when searching for a template.
Change-Id: I47e35241a67892ff7c1d9aedf04cf2ab86c1371c
2012-07-11 14:36:53 -04:30
Rafael Dominguez
1bc6db06c4 Set SearchViewItem subtitle folder name.
Change-Id: I1fc3f69ed5ecdfa9d9adb4b2b69801f2bb01e7f7
2012-07-11 14:36:53 -04:30
Rafael Dominguez
665891eba1 Add subtitle attribute to TemplateViewItem.
Change-Id: I181a84b468cf10d7c80f84030890965fa0dc4ffa
2012-07-11 14:36:52 -04:30
Rafael Dominguez
a93e06c0c7 Rename ThumbnailViewItem maText attribute to maTitle.
Change-Id: Id253d06325ec05bb587c9759027ea07b65fe257f
2012-07-11 14:36:52 -04:30
Matteo Casalin
739e20ac58 Decrease header files dependencies
Change-Id: I654e71e56d60bf629625df09eb93b21c9ef670e8
2012-07-11 11:12:15 +05:30
Michael Stahl
185b8bfc67 warning C4018: singed/unsigned mismatch
Change-Id: I2f0899086f656f117849521c933cce4c23b8751c
2012-07-11 00:15:07 +02:00
Pierre-Eric Pelloux-Prayer
7d7b41cf12 solaris/intel: update .mk files to fix build errors
Change-Id: Iba306cde71eb5efeed29a4a44cefa19a47bac84b
2012-07-10 18:45:35 +02:00
Michael Stahl
54fbcc39a7 fdo#35663: enable UndoManager test, but disable failing Calc test
Change-Id: I7f399b6e8be0b04102ccbce168a468c1e49b67da
2012-07-09 17:35:22 +02:00
Michael Meeks
779a1acf6e re-disable UndoManager test 2012-07-09 14:23:26 +01:00
Caolán McNamara
104261010a some UniString->rtl::OUString
Change-Id: Ie69b30094da25df23a36baca2c7723d6a41f48c3
2012-07-09 12:16:56 +01:00
Rafael Dominguez
f8f2296a51 Change OnFolderSelected function name to OnItemSelected.
Change-Id: I9a7437e4a11db4c40a4be88c3a3270f0bc813a52
2012-07-08 19:57:56 -04:30
Rafael Dominguez
fa10ab03bb Add an option in toolbar to delete folders when you select them.
Change-Id: Iff10ff99340d9680b924c11956dc036a5f2dac4f
2012-07-08 19:57:56 -04:30