Commit Graph

3904 Commits

Author SHA1 Message Date
724b48d877 extent .ui loading to SfxFloatingWindows
Change-Id: I3e16ef8455b35faf14838509f315cb2f70e7cb9a
2014-09-02 12:14:43 +01:00
a4b9bfb993 Related fdo#82088: removing and shortening aliases
Change-Id: Iebd9124daffe98b1e38dfa71d8b11f2452e3ddaa
Reviewed-on: https://gerrit.libreoffice.org/11226
Reviewed-by: Thomas Arnhold <thomas@arnhold.org>
Tested-by: Thomas Arnhold <thomas@arnhold.org>
2014-09-02 04:06:58 -05:00
8b384c946c support legacy and core context on OSX
Change-Id: Ib8cadb3f182ce49c0ca8b6ccaa95960eb8e5f9ae
2014-09-02 01:08:54 +02:00
0e60b3375c fix OSX build
don't require Obj-C features in header files

Change-Id: Ibeea090b6b2bda191b8e8ffd08f15907653fd830
2014-09-02 01:08:53 +02:00
4f321bd267 working OSX OpenGLContext
In contrast to the CGL solution this renders not only to a FBO but to a
rendering context.

Change-Id: I083795cab5ea6372efac312a1f5e0053066121ea
2014-09-02 01:08:53 +02:00
e65acd2ebb use SystemWindowData to request a NSOpenGLWindow
Change-Id: Ief50a2fc533846cd61be66b1ea166a992942083b
2014-09-02 01:08:52 +02:00
276b3d1f8a extract some shared code
Change-Id: I062ea860f695189ab1d59615f1d2390710a21d44
2014-09-02 01:08:48 +02:00
7a7a8e1b32 add possibility to request a compatibility context
Change-Id: I0135e81f925fda19c06144d21d2f2b0efc9e57be
2014-09-02 01:08:45 +02:00
368374a67b correct include guard comment
Change-Id: Ie94573f7c43c834cd636493bed32f07aa792da49
2014-09-01 23:03:30 +02:00
fba7b58a9d fix typo Sufface->Surface
Change-Id: I90847d0edbc2c13e405562647b150012bc5df7e2
Reviewed-on: https://gerrit.libreoffice.org/11249
Reviewed-by: Markus Mohrhard <markus.mohrhard@googlemail.com>
Tested-by: Markus Mohrhard <markus.mohrhard@googlemail.com>
2014-09-01 15:39:42 -05:00
148aea32a3 Consistency around SvxB3DVectorItem in svx/svx3ditems.hxx
...similar to what has been done for svx/sdtmfitm.hxx in
68969cc61adecac481ae9656978ef952f435b310 "Consistency around SdrMetricItem."

Change-Id: I7f2348d82c76f6f231e34f0dfc4b6ee6fddffe55
2014-09-01 16:46:59 +02:00
e5d6ae0c2e Consistency around SvxColorItem in svx/svx3ditems.hxx
...similar to what has been done for svx/sdtmfitm.hxx in
68969cc61adecac481ae9656978ef952f435b310 "Consistency around SdrMetricItem."

Change-Id: If26ab3229871d2d6a7e4e7e8f79f4cb927b96930
2014-09-01 16:16:49 +02:00
d19609e118 Missing Clone overrides
Change-Id: I0dda3dc849fce9ba994baa82f7e25497ea995c75
2014-09-01 15:40:39 +02:00
edf7c73d45 Consistency around SfxUInt16Item in svx/svx3ditems.hxx
...similar to what has been done for svx/sdtmfitm.hxx in
68969cc61adecac481ae9656978ef952f435b310 "Consistency around SdrMetricItem."

Change-Id: I2e467df03a34d694214e0560476cb7fd76ef0735
2014-09-01 15:18:17 +02:00
9f6018bb64 Consistency around SfxBoolItem in svx/svx3ditems.hxx
...similar to what has been done for svx/sdtmfitm.hxx in
68969cc61adecac481ae9656978ef952f435b310 "Consistency around SdrMetricItem."

Change-Id: I3253b4cc5657a7d6b960ee892584109d373eed3d
2014-09-01 14:46:50 +02:00
bebe30e917 Consistency around SfxUInt32Item in svx/svx3ditems.hxx
...similar to what has been done for svx/sdtmfitm.hxx in
68969cc61adecac481ae9656978ef952f435b310 "Consistency around SdrMetricItem."

Change-Id: I3193eab34a34c051002adeedd8b368e26f55f7a3
2014-09-01 13:37:27 +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
835ca0a10d add capability to load FloatingWindows from .ui
in theory anyway

Change-Id: I8230462bdb05e4a71e366c1a92ba388a8ea12c82
2014-08-30 20:56:03 +01:00
e8fb86134c move layout from dialog to systemwindow
*distant sounds of hammering in basement*

so we can get Floating Windows layout aware
as well without duplicate of dialog layout logic

Change-Id: I063375f2f7d4e5c3bfbfedf55649078d4dbe4139
2014-08-30 17:22:37 +01:00
cde22222cf Mirror vertically the texture bitmaps for OpenGL
In case of glTF models it saves a Mirror() call.
In case of OpenGL charts it avoid flipped texts.

Change-Id: I1ac980e16bcb5ba6a9a025b638aaac3b08b4aab3
2014-08-29 17:40:28 +02:00
f71aae7501 It seems better if the caller allocates the memory for the RGBA buffer.
For example it allows to use std::vector<> and call the method

Change-Id: Id4b8e33838d358dd242d0176e42558505fa8d4a3
2014-08-29 17:40:28 +02: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
bd9a4e1922 ChartHelper::IsChart is useless
EmbeddedObjectRef has an own IsChart method with the same
behavior.

Change-Id: Ib06699186466bf3da2bd67d7c631a5216463fb14
2014-08-29 17:40:27 +02:00
6e4f6ec445 Add a method to check whether an XEmbeddedObject is a chart
Change-Id: I6f860b9f1bce200c5366df0a32650705cf429a80
2014-08-29 17:40:26 +02:00
a60cc58021 Upgrade libgltf to 0.0.1
News in this version:
- Solve some limitations of walkthrough mode (fdo#81425)
- Multisampling (better rendering quality, mainly at the edges)
- Better error handling (no crash in case of invalid input file)

Change-Id: I46fdf56b00476614487fbcc04178e43e33a01794
Reviewed-on: https://gerrit.libreoffice.org/11179
Reviewed-by: Zolnai Tamás <tamas.zolnai@collabora.com>
Tested-by: Zolnai Tamás <tamas.zolnai@collabora.com>
2014-08-29 05:01:31 -05: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
f5aeaa3845 bnc#822173: Initial work on exporting pivot cache and pivot table to xlsx.
Still not perfect, but it somewhat does work.

Change-Id: Ic248e20f7ab18a37f56b2034f57551dded956bab
2014-08-28 21:37:08 -04:00
2fa3aed1cb parseXml should return xmlDocPtr instead of htmlDocPtr
Change-Id: Ia9fb79ea40ca840d7328a078e747ad64a63d18f1
2014-08-28 13:50:47 +02:00
6a39fdf81f callcatcher: update unused code
Change-Id: I6cb74836f98d7507359f39e1fd03a1462b2e0c31
2014-08-28 09:50:33 +01:00
4cf5acef7d CancelButtons no longer loaded from resource files
Change-Id: If95ae86708660007e6a0f4df27b3c364a9653dae
2014-08-27 10:18:32 +01:00
54806224e3 OKButtons no longer loaded from resource files
Change-Id: Ice1d71e730519697c891d66909550876c9d23ebb
2014-08-27 10:18:32 +01:00
53617c8651 callcatcher: update unused code
Change-Id: Idaed255e4f004ad555ccbd6ba9dc29bf522d3c5f
2014-08-27 10:18:31 +01:00
40c45e0fac remove unused bIsOwner field in SfxHint
Change-Id: I676039b07519fbed3b92c6ada0fa8217ee2cbe27
2014-08-27 08:34:38 +02:00
088b22cdf4 Remove some unused macros
Change-Id: Ic8395cc31845e510b6ef5fb2a1d5f66534295012
2014-08-26 23:21:06 +03:00
35e954149d sw HTML export: don't crash on embedded object without native data
Change-Id: I26fa823b987b2edfbb1be054a5f4d03bbe95a308
2014-08-26 18:47:17 +02:00
046cd2c4d2 FixedHyperlink no longer loaded from resource files
Change-Id: Ie2943e7b19d8d8d5bd2e3e5ccb466512af31cc24
2014-08-26 17:00:22 +01:00
6802dc06de Dialogs no longer loaded from resource files
Change-Id: I55295009f474dbac15be792049fa5c6c95c1ec07
2014-08-26 17:00:21 +01:00
ca68971f0a ModalDialogs no longer loaded from resource files
Change-Id: I2d208c7cc5ff9bf26bff5ab2aa40e0bf57373342
2014-08-26 17:00:21 +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
ed4142f19a turn method documentation into doxygen comments
Change-Id: I38a10833b1d0b17c70298b6ed7a850cb9b728813
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
7b87415cdb remove whitespace and put documentation before method/class
Change-Id: Ib88648d9ec049932520501ec997e2e82a55f63f3
2014-08-26 13:34:03 +02:00
37b9ea92ba convert SBX flag bits to type-safe enum
Change-Id: I18d5d6a27f06ee60a5cb3dc393bf05b51bba4817
Reviewed-on: https://gerrit.libreoffice.org/11070
Reviewed-by: Noel Grandin <noelgrandin@gmail.com>
Tested-by: Noel Grandin <noelgrandin@gmail.com>
2014-08-26 04:30:03 -05:00
fde9961034 keep acc.set within clip bounds
Change-Id: I6af2eda03148dd400afa2f375b98e396ab0d5f3c
2014-08-26 09:39:42 +01:00
6182437f83 return false if the clip region would div by zero
Change-Id: Ia0928306b3608df9c48a19b517edac54ba43bd57
2014-08-25 21:06:21 +01:00
739adde53b detect conditions where loop cannot logically end
Change-Id: I7e2ec1e09614510e6798ba8d5b9990c189a8dbb9
2014-08-25 21:06:20 +01:00
f785c166bd zoom slider: impl as scoped_ptr and reduce code duplication
Change-Id: I274e731c70c2735f513e9e8fbf2273aa52310fd2
2014-08-25 21:34:47 +02:00
07244947b5 MessBox not loaded from resource files anymore
Change-Id: I12378a1c80e1070763cd2bd0539d74f4cc270a30
2014-08-25 16:45:32 +01:00