Commit graph

312588 commits

Author SHA1 Message Date
Lennard Wasserthal
13cdf1c43f next attempt to fix bug 35079
Removes the hidden frame. That frame really doesn't seem to be needed, not even for exporting, though.

Change-Id: I37285a9dfe46fe9263ba1f767fe69a59226e342a
Signed-off-by: Lennard Wasserthal <Wasserthal@nefkom.net>
Signed-off-by: Luboš Luňák <l.lunak@suse.cz>
2012-09-14 14:48:22 +02:00
Cédric Bosdonnat
27264b1e94 updated libcmis to 0.3.0
Change-Id: Ied3f21fa021ad0dbe044ae05941389810462d821
2012-09-14 13:57:03 +02:00
Tor Lillqvist
24c6641317 Adapt for DISABLE_DYNLOADING possibility also for Android
Change-Id: Iecc8c35b5b2235bc3408f2ecf3969317ac8bf679
2012-09-14 14:39:25 +03:00
Tor Lillqvist
085446cf85 Adapt for DISABLE_DYNLOADING possibility also for Android
Change-Id: I0d6f363ad4170bea804e53247f36a7954118a23d
2012-09-14 14:37:02 +03:00
Luboš Luňák
04ddb79f50 fix debug message
It did not compile, and not using the deprecated macro fixes that
as a side-effect.

Change-Id: I97b8cd2ff1a650ec9d38cbf7eeb8780177a7fd7a
2012-09-14 13:33:53 +02:00
Tor Lillqvist
711fcb41c5 Adapt for DISABLE_DYNLOADING instead of just iOS
Change-Id: I26bc5d87725eb9ae00387e42e9a65ed26a8ec168
2012-09-14 14:23:45 +03:00
Tor Lillqvist
0cae0cc428 Adapt for DISABLE_DYNLOADING instead of just iOS
Change-Id: I14d8bd5473197b50457cbdc509c211bba7231802
2012-09-14 14:22:40 +03:00
Tor Lillqvist
fb0acc2d3e Adapt for DISABLE_DYNLOADING instead of just iOS
Change-Id: I7dac78be5a1165ff5cdbd53fd02b907a4fa68a3b
2012-09-14 14:21:42 +03:00
Tor Lillqvist
aa93225893 Adapt for DISABLE_DYNLOADING
Change-Id: I0beb4dcf9051c678bde5d49b83cec697ab17c595
2012-09-14 14:18:48 +03:00
Tor Lillqvist
2250161983 Adapt for DISABLE_DYNLOADING possibility on Android
Change-Id: I7fcea698c3d89c5b84b38a708502bcdf4526a614
2012-09-14 14:15:48 +03:00
Tor Lillqvist
0fb18d8274 It seems gcc has -Waddress where Clang has -Wbool-conversions
Change-Id: Ic5ddaf436592c1112cb9b3a1b36d2026caddf368
2012-09-14 13:55:09 +03:00
Luboš Luňák
ef404fa6fd at least mingw needs liborcus-0.2.a too
This got lost in e7d85cc078 .

Change-Id: I47e52a840f0bc0b1872cb9d111d5fed44f08b7bc
2012-09-14 11:30:05 +02:00
Luboš Luňák
374abf3b5f mingw compile fixes for liblangtag
I couldn't find out a decent way of getting the compiled binary
needed only at build time, so the file needs to be generated manually.

Change-Id: I4a77aa8ee350f374c9b8b91361797d86871ff8b4
2012-09-14 11:28:52 +02:00
Norbert Thiebaud
1126ecef09 WaE in connectivity
Change-Id: I2c9e83611fab1e9c4c998af68648df994f89cd6b
2012-09-14 03:49:22 -05:00
Norbert Thiebaud
445c647a52 add a configure option to make assert() abort in release code
Change-Id: I93720ee3338426174b31a6ea6dba3af7ffb7e207
2012-09-14 03:49:21 -05:00
Norbert Thiebaud
b42094b2b0 remove use of SAL_MIN() macro
Change-Id: Ia91118388240c9a54d010b94aef34ad528ce5761
2012-09-14 03:49:21 -05:00
Norbert Thiebaud
e50ab7bb89 remove SAL_MAX() macros and few users
Change-Id: I5ece116a66ab37fe64aac6c60bc38244677d499a
2012-09-14 03:49:20 -05:00
Norbert Thiebaud
a13c3a68df removed unused sal macro (SAL_FIELDOFFSET)
Change-Id: I5b4b70ecc87efc943afe8a408140ef91e108e0a3
2012-09-14 03:49:19 -05:00
Norbert Thiebaud
2dfe34ce0e saldllapi.h is really not included outside of sal itself
furthermore sal/config.h is already included by sal/types.h
so no need to include it twice

Change-Id: Id84122eb102eececc1001ea4a56c556ff775defa
2012-09-14 03:49:19 -05:00
László Németh
3d65407141 fdo#54843 righthyphenmin fix (patch by Steven Dickson)
Change-Id: I42747dffef099f3806178af76e20335f5f033379
Reviewed-on: https://gerrit.libreoffice.org/606
Reviewed-by: Miklos Vajna <vmiklos@suse.cz>
Tested-by: Miklos Vajna <vmiklos@suse.cz>
2012-09-14 08:37:27 +00:00
Abdulmajeed Al-Abaulrazzaq
73c6ec2e66 fdo#40014 Add new shortcut for page preview CTRL + SHIFT + O
Change-Id: Ib09b581d5cc8dabf48aceddcc7639ca0e61b72dc
Reviewed-on: https://gerrit.libreoffice.org/587
Reviewed-by: Miklos Vajna <vmiklos@suse.cz>
Tested-by: Miklos Vajna <vmiklos@suse.cz>
2012-09-14 08:35:33 +00:00
Frank Schoenheit [fs]
19e1c3add5 gridfixes: fixed assertion
Change-Id: I89756b173835d0356fee7fbb166d1998bd0415ac
Reviewed-on: https://gerrit.libreoffice.org/533
Reviewed-by: Michael Stahl <mstahl@redhat.com>
Reviewed-by: Miklos Vajna <vmiklos@suse.cz>
Tested-by: Miklos Vajna <vmiklos@suse.cz>
2012-09-14 08:02:15 +00:00
Norbert Thiebaud
6dfd1803a9 gridfixes: use long instead of sal_uInt32, to prevent pb on 64bit platforms
Change-Id: Ib612223a5626d4b525b4e86277c0a5623c0955e8
Reviewed-on: https://gerrit.libreoffice.org/540
Reviewed-by: Miklos Vajna <vmiklos@suse.cz>
Tested-by: Miklos Vajna <vmiklos@suse.cz>
2012-09-14 08:01:24 +00:00
Norbert Thiebaud
6c04efa4d1 gridfixes: #i117145#
Change-Id: I215bcfca6a29274f7397d1100e3674d747ae19f2
Reviewed-on: https://gerrit.libreoffice.org/531
Reviewed-by: Miklos Vajna <vmiklos@suse.cz>
Tested-by: Miklos Vajna <vmiklos@suse.cz>
2012-09-14 07:59:46 +00:00
Norbert Thiebaud
906cce2545 gridfixes: impl_getColumnForOrdinate:no need to subs m_nRowHeaderWidthPixel
m_aColumnWidths already contains it

Change-Id: I404c58fb0b32db7b7b7bf60be997f81709908ceb
Reviewed-on: https://gerrit.libreoffice.org/556
Reviewed-by: Miklos Vajna <vmiklos@suse.cz>
Tested-by: Miklos Vajna <vmiklos@suse.cz>
2012-09-14 07:58:31 +00:00
Norbert Thiebaud
5deceabaa6 gridfixes: impl_ni_calculateColumnWidths: re-calculate the proper values
for distributePixel/takeAwayPixel before finally using it to correct
the rounding errors

Change-Id: I6f3b178400db0696df0289331be94d69f1d4f0d2
Reviewed-on: https://gerrit.libreoffice.org/555
Reviewed-by: Miklos Vajna <vmiklos@suse.cz>
Tested-by: Miklos Vajna <vmiklos@suse.cz>
2012-09-14 07:56:36 +00:00
Norbert Thiebaud
c1c12bd160 gridfixes: ensure removal of a column in grid control adjusts the cursor
Change-Id: I99be214bf12d340cc5e9330d1c21046dd366b07a
Reviewed-on: https://gerrit.libreoffice.org/554
Reviewed-by: Miklos Vajna <vmiklos@suse.cz>
Tested-by: Miklos Vajna <vmiklos@suse.cz>
2012-09-14 07:54:39 +00:00
Norbert Thiebaud
a6754e5a09 gridfixes: re-enable the mouse listeners which got lost
in a previous change.
Do this by making the TableControl a CompoundControl,
so VCL cares for everything which is needed. Consequently,
get rid of the manual notification of the respective VCLEVENT_*'s,
and everything related to it

Change-Id: Id8872680b744e1171be916f6f66a4968e9d6567a
Reviewed-on: https://gerrit.libreoffice.org/553
Reviewed-by: Miklos Vajna <vmiklos@suse.cz>
Tested-by: Miklos Vajna <vmiklos@suse.cz>
2012-09-14 07:52:56 +00:00
Norbert Thiebaud
b68f053b76 gridfixes: lcl_getAlignmentTextDrawFlags: row header w/o columns
care the rare cases that the table has row headers, but no columns at all

Change-Id: Iece17add6f5e0adf425c33f0817e8b1be953e1a7
Reviewed-on: https://gerrit.libreoffice.org/552
Reviewed-by: Miklos Vajna <vmiklos@suse.cz>
Tested-by: Miklos Vajna <vmiklos@suse.cz>
2012-09-14 07:51:48 +00:00
Norbert Thiebaud
712c1c4172 gridfixes: impl_ni_relayout: update the child window position/size last
it relies on the other calculations (in particular calculation of the
column widths) being finished

Change-Id: I599aa5b2938e2aa810980c00ac8f598b4f4fcfcb
Reviewed-on: https://gerrit.libreoffice.org/551
Reviewed-by: Miklos Vajna <vmiklos@suse.cz>
Tested-by: Miklos Vajna <vmiklos@suse.cz>
2012-09-14 07:50:48 +00:00
Norbert Thiebaud
1e826e71e7 gridfixes: #i117549# create/loadTabPage
use a GeometryControlModel only if the parent model is one, too

Change-Id: I8cf7bb8cf721b6f841ddfbb7e02475c6e2c6741a
Reviewed-on: https://gerrit.libreoffice.org/550
Reviewed-by: Miklos Vajna <vmiklos@suse.cz>
Tested-by: Miklos Vajna <vmiklos@suse.cz>
2012-09-14 07:49:52 +00:00
Norbert Thiebaud
dd0431a537 gridfixes: fixed selection handling, part I
RowSelection::HandleMouseDown: always forward to the SelectionEngine,
even if the hit row is already selected.
This ensures proper de-selection handling in case of Ctrl+Click

Change-Id: I46fd63332101fd078c6341c94575dc69f48f8a68
Reviewed-on: https://gerrit.libreoffice.org/549
Reviewed-by: Miklos Vajna <vmiklos@suse.cz>
Tested-by: Miklos Vajna <vmiklos@suse.cz>
2012-09-14 07:48:39 +00:00
Frank Schoenheit [fs]
a1f695dea5 UNFINISHED: column resizing refactoring
Change-Id: Iac8db5ee848f35f19f8fe4eb431485559600be49
2012-09-14 09:49:28 +02:00
Norbert Thiebaud
1df082e4dc gridfixes: #i117549# finalize css.awt.tab API
Change-Id: Ia7a555fb2551675605414189174eae8f65c70db7
Reviewed-on: https://gerrit.libreoffice.org/547
Reviewed-by: Miklos Vajna <vmiklos@suse.cz>
Tested-by: Miklos Vajna <vmiklos@suse.cz>
2012-09-14 07:44:40 +00:00
Frank Schoenheit [fs]
f00bba4305 gridfixes: GCC WaE
Change-Id: Ie771f38a2a1d3d60dd6d84806d17839d93ec6cf3
Reviewed-on: https://gerrit.libreoffice.org/546
Reviewed-by: Miklos Vajna <vmiklos@suse.cz>
Tested-by: Miklos Vajna <vmiklos@suse.cz>
2012-09-14 07:42:38 +00:00
Norbert Thiebaud
4971468b6c gridfixes: #i117398# XMutableGridDataModel:
allow inserting rows at arbitrary positions

Change-Id: Ia5af125035979951c61d6c8cd9a916e8f81bb6c0
Reviewed-on: https://gerrit.libreoffice.org/545
Reviewed-by: Miklos Vajna <vmiklos@suse.cz>
Tested-by: Miklos Vajna <vmiklos@suse.cz>
2012-09-14 07:42:02 +00:00
Norbert Thiebaud
fe08068cf9 gridfixes: #i117398# allow to specify selection colors in table/grid
Conflicts:

	toolkit/inc/toolkit/helper/property.hxx
	toolkit/source/controls/grid/defaultgriddatamodel.cxx

Change-Id: Ie863aa7cecb4c7bda230ab829e6090689518dab8
2012-09-14 09:38:47 +02:00
Miklos Vajna
5200140683 DefaultGridDataModel::getRowData: use o3tl::select1st
Change-Id: I785588971d0f42596802276d3d08222204387b98
2012-09-14 09:31:54 +02:00
Frank Schoenheit [fs]
5df47e4bb0 gridfixes: #i117398# added XGridDataModel::getRowData
Change-Id: Ic08c2d54a76f2a2821822ec4b275883e4445c70c
Reviewed-on: https://gerrit.libreoffice.org/543
Reviewed-by: Miklos Vajna <vmiklos@suse.cz>
Tested-by: Miklos Vajna <vmiklos@suse.cz>
2012-09-14 07:29:06 +00:00
Norbert Thiebaud
a5d4e7806c gridfixes: #i117398# cleaned up the row selection API
- made explicit that it is about row selection, leaving room for a future selection of columns
- some changes for consistency
- do not derive XGridControl from XGrid(Row)Selection, those two are orthogonal
- published involved UNO types

Change-Id: Ie97de42a9ea70a0191657f898ca9d59706e23290
Reviewed-on: https://gerrit.libreoffice.org/542
Reviewed-by: Miklos Vajna <vmiklos@suse.cz>
Tested-by: Miklos Vajna <vmiklos@suse.cz>
2012-09-14 07:19:55 +00:00
Norbert Thiebaud
2095b2e1d4 gridfixes: copied #i112562#'s fix from CWS gridcontrol06 herein
Change-Id: Ifa29a8b3c027970d46844b428a3529e680c0b09c
Reviewed-on: https://gerrit.libreoffice.org/541
Reviewed-by: Miklos Vajna <vmiklos@suse.cz>
Tested-by: Miklos Vajna <vmiklos@suse.cz>
2012-09-14 07:15:44 +00:00
Norbert Thiebaud
3d934d4860 gridfixes: #i112465# delegate RequestHelp to the base class,
when we do not have own help to display

Change-Id: I953144aa0921e849df14e9de31010e8904dffc5f
Reviewed-on: https://gerrit.libreoffice.org/539
Reviewed-by: Miklos Vajna <vmiklos@suse.cz>
Tested-by: Miklos Vajna <vmiklos@suse.cz>
2012-09-14 07:10:51 +00:00
Norbert Thiebaud
a1a165f1af gridfixes: #i112465# introduce HideBalloonAndQuickHelp
Change-Id: Iea03d691755ac86fae4a0ac6697b726f21925ae7
Reviewed-on: https://gerrit.libreoffice.org/538
Reviewed-by: Miklos Vajna <vmiklos@suse.cz>
Tested-by: Miklos Vajna <vmiklos@suse.cz>
2012-09-14 07:09:48 +00:00
Norbert Thiebaud
87e333667b gridfixes: when the table controls doesn't have the focus use diff. color.
use a different color to paint the selection,
to be consistent with all our other controls

Change-Id: Ia5160dfb769279e2a8a3458b16fe8f6cec08145e
Reviewed-on: https://gerrit.libreoffice.org/537
Reviewed-by: Miklos Vajna <vmiklos@suse.cz>
Tested-by: Miklos Vajna <vmiklos@suse.cz>
2012-09-14 07:05:38 +00:00
Norbert Thiebaud
9684b9b6e5 gridfixes: #i117265# implement less-predicate for Date/Time structs
Change-Id: Idf0e5bed399fbf288534779665198e214631c0a0
Reviewed-on: https://gerrit.libreoffice.org/536
Reviewed-by: Miklos Vajna <vmiklos@suse.cz>
Tested-by: Miklos Vajna <vmiklos@suse.cz>
2012-09-14 07:03:28 +00:00
Norbert Thiebaud
d4e79eb8f8 gridfixes: #i117625# recognize unsuccessful sorting attempts
and do not claim to be sorted afterwards

Change-Id: I3d71d45893563eac3b59e865aa1aa8d31e8154a8
Reviewed-on: https://gerrit.libreoffice.org/535
Reviewed-by: Miklos Vajna <vmiklos@suse.cz>
Tested-by: Miklos Vajna <vmiklos@suse.cz>
2012-09-14 07:00:55 +00:00
Norbert Thiebaud
a7e949673c gridfixes: #i117265# use a NumberFormatter for converting cell values to text.
This means using the Locale setup in the Options, and allows for more value types (like Date/Time) to be supported

Change-Id: I78fb08f2da88405851664e3e1dd4505c3727e56b
Reviewed-on: https://gerrit.libreoffice.org/534
Reviewed-by: Miklos Vajna <vmiklos@suse.cz>
Tested-by: Miklos Vajna <vmiklos@suse.cz>
2012-09-14 06:59:57 +00:00
Frank Schoenheit [fs]
7bfbc9523f gridfixes: #i117188# remove column sort when rows are inserted
Change-Id: I43b041583c20b47c0fd33a9b5deadffe6fd8f273
Reviewed-on: https://gerrit.libreoffice.org/532
Reviewed-by: Miklos Vajna <vmiklos@suse.cz>
Tested-by: Miklos Vajna <vmiklos@suse.cz>
2012-09-14 06:58:40 +00:00
Kohei Yoshida
732f3546c4 Let's just remove this.
Commit 291c919cf9 made this dangling
code block.

Change-Id: Id8d09f1c364d621661c9d6584cd863f253c01d95
2012-09-13 23:48:45 -04:00
Kohei Yoshida
ff0e6c5378 Fix the order of template arguments.
Change-Id: Ibcc54168a6ca36cc57dd1b838e002f9a10ff29f3
2012-09-13 23:05:01 -04:00