Commit Graph

10542 Commits

Author SHA1 Message Date
724b48d877 extent .ui loading to SfxFloatingWindows
Change-Id: I3e16ef8455b35faf14838509f315cb2f70e7cb9a
2014-09-02 12:14:43 +01:00
4e4ae20ab2 Revert "fdo#83302 don't display read-only infobar for Base form in normal mode"
This reverts commit 542ae4e06f9f70e328a3e85f1272ead558b36766, which
breaks the build without 15cea073e7ed4970e60967fe036fc492e2052203, which
had to reverted.
2014-09-01 10:43:47 +02:00
024f334c48 Revert "fdo#44081 don't remove 'edit' pop-up menu entry from form in design mode"
This reverts commit 15cea073e7ed4970e60967fe036fc492e2052203. I
overlooked the fact during review that this introduces an svx <-> sfx2
circular dependency.
2014-09-01 10:42:12 +02:00
15cea073e7 fdo#44081 don't remove 'edit' pop-up menu entry from form in design mode
Change-Id: I9700d0d729a8f2d1255fcd03a07e05799e21f8d0
Reviewed-on: https://gerrit.libreoffice.org/11152
Reviewed-by: Bosdonnat Cedric <cedric.bosdonnat@free.fr>
Tested-by: Bosdonnat Cedric <cedric.bosdonnat@free.fr>
Reviewed-by: Miklos Vajna <vmiklos@collabora.co.uk>
2014-09-01 03:20:52 -05:00
542ae4e06f fdo#83302 don't display read-only infobar for Base form in normal mode
Change-Id: I6faae7f5b1b2ec243c53453a8627bd0a540a46ad
Reviewed-on: https://gerrit.libreoffice.org/11219
Reviewed-by: Bosdonnat Cedric <cedric.bosdonnat@free.fr>
Tested-by: Bosdonnat Cedric <cedric.bosdonnat@free.fr>
2014-09-01 02:49:17 -05:00
8cf89c2490 fdo#83311 Fix infobar for documents with read-only property
Change-Id: Ic813ab3eb74a088b60b4dc3dcd56e7b19683190c
Reviewed-on: https://gerrit.libreoffice.org/11220
Reviewed-by: Lionel Elie Mamane <lionel@mamane.lu>
Tested-by: Lionel Elie Mamane <lionel@mamane.lu>
2014-09-01 01:10:02 -05:00
9991b50ccc Make opengl chart window always active
Fortunately there is a special ole object group with
the MS_EMBED_ACTIVATEWHENVISIBLE flag which define this
behaviour.
Problem is that both Aspect and EmbedMisc are MS specific
enums so we can't use them directly for non-MS objects. But we
can handle opengl charts the same as this ole object group.

Change-Id: I49abeffce319cbb775709a72ba198a1f76b65374
2014-08-29 17:40:27 +02:00
c6270de939 fdo#80538 Show an infobar when document is in read-only mode
and remove the Edit icon from the toolbar

Change-Id: I27d9506bd0fb76b3f1ad056a9866f7744674a3e2
Reviewed-on: https://gerrit.libreoffice.org/11182
Reviewed-by: Bosdonnat Cedric <cedric.bosdonnat@free.fr>
Tested-by: Bosdonnat Cedric <cedric.bosdonnat@free.fr>
2014-08-29 03:42:38 -05:00
240ea11fe8 Avoid incomplete type in fn sig to keep ubsan's RTTI-based checks happy
Change-Id: I786e07caf28b2f5f898b50fc2a46247d821248cf
2014-08-28 15:42:41 +02:00
772323b4a9 Reduce nesting / style in thumbnail creation routines
Change-Id: I733b677f4d4c7dfdf6fef531b43e1de36131f55d
2014-08-28 13:50:46 +02:00
6a39fdf81f callcatcher: update unused code
Change-Id: I6cb74836f98d7507359f39e1fd03a1462b2e0c31
2014-08-28 09:50:33 +01:00
dfe4e902f2 SfxMedium::Transfer_Impl: fix indentation
Change-Id: I05856f88dc1263bac39d9f1e76ef7c4697c345a6
2014-08-28 08:05:55 +02:00
53617c8651 callcatcher: update unused code
Change-Id: Idaed255e4f004ad555ccbd6ba9dc29bf522d3c5f
2014-08-27 10:18:31 +01:00
fe7d0ea643 convert sw use of template manager to new manager
this completes the conversion of resource hosted
dialogs and tabpages to .ui gtkbuilder format

Change-Id: Ic1b49d5560bfa47f287e04918c01daeebba28163
2014-08-26 15:36:52 +01:00
f6c0803e99 itemdel.[ch]xx is only used in sfx2
Change-Id: I240f15f87e27ba8a52bab244f8c784d527bff179
2014-08-26 13:34:04 +02:00
fe9f8144c7 move method documentation to the header file
Change-Id: I7d4f77c50a8b6b2b0d7c0868c73b0cb13f952421
2014-08-26 13:34:03 +02:00
9970fb3cec remove whitespace and put comment before method
Change-Id: Ia3f22787a07628b1b531c61f21d345def5f6e99d
2014-08-26 13:34:03 +02:00
895efd4f39 make background color of startcenter configurable
Change-Id: Ice6a92186d641e9446b9d328518e4000c840a142
2014-08-25 20:53:45 +02:00
c407e548cf convert RID_SECURITY_WARNING_NO_HYPERLINKS to MessageDialog + string
Change-Id: I960ae9b418249df58f4395445b9de98a41ac2758
2014-08-25 16:45:29 +01:00
702b981d9a QueryBox MSG_QUERY_OPENASTEMPLATE -> MessageDialog + string
Change-Id: I031a145ca62e3bf7e74b9d447ff8bb041974daa6
2014-08-25 12:27:52 +01:00
57a4337e25 set names on a bunch more threads...
Change-Id: I4c2f2f0bcce52839033876ec991529721e06a3c8
2014-08-25 13:21:59 +02:00
d386f88774 set names on the Win32-only threads
Nice to see what weird threads are running.

Change-Id: Ic9888aa3260d0aeb5858cde5415571ab23c75484
2014-08-25 13:21:57 +02:00
b70fb7d704 everything is independent from vos these days...
Change-Id: Iccb94dcc31d6de8c9e4e7a31b3c2e36d4198b295
2014-08-25 13:21:55 +02:00
b4558b5081 fdo#73151 Make better use of the sidebar
The general idea is to encourage use of the sidebar instead of floating windows (for Navigator, Styles&Formatting and Gallery)

Changes:
* Show the sidebar by default in Writer & Impress
* Remove the Gallery floating window (Gallery now always opens in the sidebar)
* Remove all Gallery, Navigator and Styles&Formatting links from the default toolbar in Writer
  (since they have an icon in the sidebar and the sidebar is shown by default now)
* When selecting "More" from the Styles dropdown, the Stylelist opens in the sidebar instead of the floating window

This has all been discussed extensively here: https://bugs.freedesktop.org/show_bug.cgi?id=73151

Change-Id: I3a0461d1472711da7121801000af294b432fccb1
Reviewed-on: https://gerrit.libreoffice.org/11077
Reviewed-by: Thomas Arnhold <thomas@arnhold.org>
Tested-by: Thomas Arnhold <thomas@arnhold.org>
2014-08-24 06:26:17 -05:00
a75e0f8e4e fdo#80755 Don't generate thumbnails for encrypted files
Change-Id: If52532b8e8ca38e82fd95c13080d521d9cb529aa
2014-08-24 13:34:34 +03:00
c499b2ccdf Sidebar: Ensure Deck is open, if we choose an element from the Deck popup menu.
Otherwise the Deck will be changed, but not shown...

Change-Id: I4be7756542a8c21a616e7615ef40535e7310b90c
2014-08-24 05:27:26 +02:00
04e96b6d6e fdo#67627 Clicking on icons of the sidebar should both open and close Decks
Change-Id: I921a8a0b749df62c50f0ae8cb2de85f6cb459784
2014-08-24 05:27:25 +02:00
d3ebe3e3dc Sidebar: Use proper default value for Deck
gsDefaultDeckId is "PropertyDeck". Deck "default" does not exist
and triggers a fallback, which is the first Deck in the list, which is
"PropertyDeck", too.

Change-Id: If2daa53d002c6547cc5f6fbed1408719c10b149d
2014-08-24 05:27:24 +02:00
3156948d81 Sidebar: Remove hightlight from TabBar after Deck close
After clicking on "Close Sidebar Deck" the highlighted icon
will now lose its highlight.

Change-Id: Iee947641343d46c84af7afb93cd52101e39149f7
2014-08-24 05:27:24 +02:00
30ae83c268 fdo#82577: Handle KeyCode
Put the VCL KeyCode class in the vcl namespace. Avoids clash with the X11
KeyCode typedef.

Change-Id: I624c9d937f7c5f5986d313b6c5f060bd8bb7e028
2014-08-23 22:33:30 +03:00
7e2b9fa213 Remove some useless tools/debug.hxx includes
Also remove the tools/solar.h included from tools/debug.hxx. The include of solar.h
header was necessary in some cases because of a macro or a typedef that was needed.

Change-Id: Ia6e15d5c2571c58c9e9138b0d0a7f08ae88053c9
Reviewed-on: https://gerrit.libreoffice.org/11075
Reviewed-by: Marcos Paulo de Souza <marcos.souza.org@gmail.com>
Tested-by: Marcos Paulo de Souza <marcos.souza.org@gmail.com>
2014-08-22 16:33:18 -05:00
8a08ddd737 No need to own SfxBasicManagerHolder by pointer in SfxObjectShell_Impl
Change-Id: I55da464ef1d3381fb51949a349f844dbd7da49eb
2014-08-22 08:50:56 +02:00
24c1a1b38b Avoid possible memory leaks in case of exceptions
Change-Id: I95a769fe436a79a1e236c5504d1d5b288b3da71a
2014-08-21 22:56:21 +09:00
5e531e121f fdo#75757: remove inheritance to std::vector
Change-Id: I621286f0b64ff464bc29310ba79e416abc5791d8
Reviewed-on: https://gerrit.libreoffice.org/11042
Reviewed-by: David Tardon <dtardon@redhat.com>
Tested-by: David Tardon <dtardon@redhat.com>
2014-08-20 09:07:42 -05:00
d21d5a7261 drop unnecessary shl.hxx includes
Change-Id: Ieb984987c4a4f888a563377e0500444b12f43506
2014-08-18 12:59:49 +01:00
a107bdfdfc ErrorBox->MessageDialog
Change-Id: I57d4e43460e40d3aff54873280eddbb18c12446b
2014-08-18 10:57:21 +01:00
b5a0b00d49 callcatcher: another round of resource ctor removals
Change-Id: Ic554fa7c1e549a0f39296836868b22ccf4c859d3
2014-08-18 09:34:55 +01:00
58e6fbe1a8 remove unused WarningBoxes
Change-Id: I07c457a49646703af5d13f83ba033340309ee655
2014-08-18 05:23:52 +02:00
3352a88c8c remove dead ToolBox RID_HELPBAR
Change-Id: Ide31f67c346f9a82bf6aa8282caa7cfcee65d9fd
2014-08-18 05:22:54 +02:00
3d52e47c73 remove lots of dead boxes
Change-Id: Ia0e5930b9bbf0c81a5d2974d45730b5af75019f0
2014-08-18 02:49:48 +02:00
d731f30e1d InfoBox to String
Change-Id: Ic12f04bf80639d89ecc531bceb8378c7d97e9325
2014-08-18 02:48:33 +02:00
58c7c4c290 InfoBox MSG_ERROR_SEND_MAIL and MSG_CANT_CLOSE to String
Change-Id: If033f0ccca636a3ab3080a01a11467ce1ce9b24e
2014-08-18 02:33:50 +02:00
36a36444ae InfoBox RID_INFO_NOSEARCHRESULTS and RID_INFO_NOSEARCHTEXTFOUND to String
Change-Id: If1bf07016864a856ad15d84db0fffc34dc52ecbe
2014-08-18 02:29:23 +02:00
f739d06293 InfoBox RID_XMLSEC_INFO_WRONGDOCFORMAT to String
Change-Id: Ieb1c90f2f17b2ce12acf2999743ce4d608076223
2014-08-18 02:24:39 +02:00
4ca5a663ab InfoBox MSG_CANT_QUIT to String
Change-Id: I68fed7d2f0eea7fde60707e48349230d8a8d5c73
2014-08-18 02:21:44 +02:00
06a485f02b InfoBox IBX_MNUCFG_ALREADY_INCLUDED to String
Change-Id: I343948a9a5e093f210cae1049caa92eeb614a2d7
2014-08-18 02:18:20 +02:00
eacc9e6bad Customproperties: Correctly size Date
Old behavior:

1) Add a property of type "Date". DateField inside Value column uses
   the full width.
2) Increase the width of the dialog. Now the size of DateField in
   the Value column only uses the half width.

Solution:

Set a flag if the current type is of Date. So we can correct the size
after a dialog resize action.

Change-Id: I915a553b2f69aac1aea0ac5b24536db5709abfae
2014-08-17 20:48:39 +02:00
61aaf3814c Customproperties: Position DateTime correctly
No need to store the position of DateField and TimeField, because this
will not change if we choose another type. The only thing what changes
is the size of the DateField, because both "DateTime" and "Date" use
this field. And for this size we just rely on the size of m_aTimeField,
because it's the same as m_aDateField (for type DateTime).

Change-Id: Ic590c62d82d8f90576479e10be9d422326032d28
2014-08-17 20:48:38 +02:00
dc4b9926ec Customproperties: Correct size for value field
Before this patch types "DateTime" and "Yes or No"
were one pixel too big in height.

Fix this by using the original aSize and aPos values, don't
depend on m_aYesNoButton size and position.

However there are some glitches with DateTime: If you scroll
some times up and down the list of "Type" the Date and Time
fields will get positioned somewhere left.
This has to be a problem of DateField and TimeField, because

m_aDateField.SetPosSizePixel( aPos, aSize );

and m_aTimeField get the same values as all other fields...

But this positioning error existed before this patch, too.

Change-Id: I793aebf39f5b6cb6e4b290f21a5dbcc7ce6ce964
2014-08-17 20:48:37 +02:00
97e1d52db4 sfx2: remove commented consts
Change-Id: I1521f174ac53c2e8e96dcb7b5c1264f0bf460fd0
2014-08-16 23:25:16 +10:00