Carsten Driesner
1c90aa6d25
removetooltypes01: Exchange misleading type sal_uIntPtr with sal_uLong
2011-01-12 15:56:50 +01:00
Frank Schoenheit [fs]
6c8d7babb6
gridsort: reworked the color model for grid controls. Now supporting more than two alternating colors,
...
having more reasonable defaults for the colors (VOID instead of some hard-coded values, which thus are unusable).
Also, introduced new property UseGridLines controlling whether or not to paint the table grid.
2011-01-12 12:34:24 +01:00
Frank Schoenheit [fs]
0bbace39b3
gridsort: XGridControl: add methods to retrieve the current row/col
2011-01-11 14:00:09 +01:00
Frank Schoenheit [fs]
3d7ca63d0e
gridsort: IAbstractTableControl renamed to ITableControl, added a few more methods previously found at the TableControl_Impl only
2011-01-11 13:26:40 +01:00
Frank Schoenheit [fs]
16028c42b1
gridsort: XGridControl::getItemIndexAtPoint renamed to getRowAtPoint; introduced getColumnAtPoint
2011-01-11 12:36:41 +01:00
Frank Schoenheit [fs]
012b72f488
gridsort: +XGridColumn::HelpText, to be displayed as tooltip for the column header
2011-01-11 11:42:27 +01:00
Frank Schoenheit [fs]
5a256f4486
gridsort: removed XGridControl::setTooltip. It had a rather strange semantics, seems to be unused in the current
...
OOo code base, and would belong to the model, if at all.
Still one thing to do: do not unconditionally display the cell content as tooltip, but make this dependent on
whether or not the cell content fits into the cell.
2011-01-11 10:58:26 +01:00
Frank Schoenheit [fs]
34f93e97f2
gridsort: XGridDataModel: moved modifying functionality into XMutableGridDataModel.
2011-01-10 15:47:51 +01:00
Frank Schoenheit [fs]
ee6e84390f
gridsort: do not retrieve all row headers at once, this doesn't scale. Instead, allow to retrieve the header/title of a row given by index
2011-01-07 15:52:55 +01:00
Frank Schoenheit [fs]
075ffa4ea2
gridsort: alllow removing columns from a grid control column model
2011-01-07 15:28:22 +01:00
Frank Schoenheit [fs]
4f39e56b00
gridsort: allow the non-UNO table model to retrieve data which is not known to the UNO DataModel
2011-01-07 14:39:27 +01:00
Frank Schoenheit [fs]
a2c4c5323d
dba34c: pulled/merged latest changes from CWS dba34b
2011-01-07 13:50:28 +01:00
Frank Schoenheit [fs]
c36c24d7c4
gridsort: RowHeight belongs to the GridControlModel (not the GridDataModel), too
2011-01-07 10:51:57 +01:00
Frank Schoenheit [fs]
9cb54ddb6e
gridsort: RowHeaderWidth/ColumnHeaderHeight do not belong to the GridData/ColumnModel, but to the GridControlModel
2011-01-07 10:31:19 +01:00
Frank Schoenheit [fs]
f167cee01f
gridsort: XGridDataModel: do not provide access to all data at once, instead use cell-based access
2011-01-06 16:28:45 +01:00
Mikhail Voytenko
305315337b
removetooltypes01: rebase to DEV300_m96
2011-01-06 14:57:12 +01:00
Frank Schoenheit [fs]
60312aa1f8
gridsort: member names usually start with UpperCase - corrected this for GridColumn/DataEvent, for sake of consistency
2011-01-05 12:16:37 +01:00
Frank Schoenheit [fs]
a620f8a0d8
dba34b: merged DEV300m96
2011-01-05 10:07:18 +01:00
Frank Schoenheit [fs]
b198150a3c
gridsort: don't let the SVTXGridControl listen for XGridColumn changes. Instead, the non-UNO wrapper around
...
the XGridColumn (UnoControlTableColumn, implementing IColumnModel) should do this, and then multiplex
the changes to the TableControl(_Impl) instance. This way, other IColumnModel implementations also
properly trigger control updates, provided they simply properly notify their changes.
2011-01-04 22:23:17 +01:00
Frank Schoenheit [fs]
d3dcce2434
gridsort: make build on unxlngi6
2011-01-04 15:09:05 +01:00
Frank Schoenheit [fs]
5d1ef9978f
gridsort: getCellContent: (col,row) instead of (row,col) parameters
2011-01-04 10:37:54 +01:00
Frank Schoenheit [fs]
d48dfdc09b
gridsort: IColumnModel: make the ID attribute an css.uno.Any, so it can be exchanged with XGridColumn's identifier
2011-01-03 23:18:47 +01:00
Frank Schoenheit [fs]
b83e7371c4
gridsort: allow cloning grid columns, and the (default) grid data/column model
2011-01-03 23:14:55 +01:00
Frank Schoenheit [fs]
cb2f6f86c9
gridsort: removed methods from ITableModel which exposed implementation details of the UnoControlTableModel.
...
Also, instead of exposing those implementation details in UnoControlTableModel, added atomar operations
for stuff like adding / clearing of rows, and the like.
2011-01-03 16:01:14 +01:00
Caolán McNamara
285e5dfd54
cppcheck: prefer prefix variant
2010-12-23 21:07:51 +00:00
Frank Schoenheit [fs]
1d52df1454
gridsort: simplified the scrollbar handling
2010-12-23 15:49:18 +01:00
Frank Schoenheit [fs]
6f7105ef88
gridsort: re-factoring the column-resizing thingie, step 1
...
In the current implementation, this is rather complex, and hardly maintainable. Also, it all happens in
TableControl_Impl and TableDataWindow, while in the original design, the InputHandler was intended to care
for this kind of tasks (one class - one responsibility).
2010-12-23 15:48:53 +01:00
Frank Schoenheit [fs]
7eaf01c733
gridsort: no need for the param-less UnoControlTableColumn anymore - the recently introduced notifications will always create an instance with the correct XGridColumn delegator
2010-12-17 15:29:15 +01:00
Frank Schoenheit [fs]
d1b2c8cc1d
gridsort: properly react on elementInserted notifications
2010-12-17 14:41:50 +01:00
Frank Schoenheit [fs]
40b70c5f94
gridsort: renamed XGridColumn::add/removeColumnListener to add/removeGridColumnListener - this consistency with the actual listener type name will make introspection work
2010-12-17 14:25:50 +01:00
Frank Schoenheit [fs]
caa7780d3a
gridsort: removed XGridColumn::updateColumn
...
The implementation of this column was only a wrapper around what setColumnWidth/setPreferredWidth
would have done. Also, the mechanism how this method was used was really weird, effectively propagating
the (preferred) width from the ITableColumn implementation of the grid peer to the XGridColumn implementation
of the grid column model. This was done each time the (preferred) width was access for reading - not really
a clever solution.
Now, the ITableColumn knows its respective XGridColumn, and simply forwards the (preferred) width as needed.
2010-12-17 14:07:29 +01:00
Frank Schoenheit [fs]
6531aff840
gridsort: more refactoring of the relationship (especially with respect to listeners) between the various
...
table/grid classes. Now we're not as strict as before with respect to the construction order. Also, updating
various aspects of a column model (e.g. inserting a new column) will work now even if there already is a control
for the model.
Still a long way to go to fix some more obvious problems, which make using the grid control API a PITA (you're
lost if you do now know *exactly* which things to do in which order).
2010-12-17 13:38:24 +01:00
Caolán McNamara
243d906add
remove spurious commented out misuse of createFromAscii
2010-12-13 21:19:17 +00:00
Frank Schoenheit [fs]
7bef1fa0ec
gridsort: introduced container listeners at the grid model, reworked and fixed listener relationship between grid model/control/peer
2010-12-07 13:50:47 +01:00
Frank Schoenheit [fs]
2d8c797828
gridsort: no reason to burden each and every client with creating a default Data/Column model - do this in the ctor of the grid model. If clients want to override this, they of course still can do
2010-12-07 09:51:15 +01:00
Frank Schoenheit [fs]
be8d00fe05
dba34c: #i104347# DisableSelectionOnFocus for multi line edit controls
2010-12-03 14:46:39 +01:00
Caolán McNamara
d8628f8d21
cppcheck: use prefix variant
2010-11-28 12:29:04 +00:00
Mathias Bauer
186123da28
CWS gnumake2: resync to m94
2010-11-26 15:27:38 +01:00
Gert Faller
41f8880d52
RTL_CONSTASCII_USTRINGPARAM in libs-gui 18
2010-11-25 21:39:00 +01:00
Bjoern Michaelsen
c8e2c920be
gnumake2: removing old dmake file in migrated modules
2010-11-19 21:45:41 +01:00
Kevin Hunter
9321d8acfe
EasyHack: RTL_CONST macro from createFromAscii
2010-11-19 09:55:14 +00:00
Joseph Powers
1702d31ddf
HC Cleanup - libs-gui
2010-11-16 19:03:56 -08:00
Xiaofei Zhang
3491b4ac4f
removetooltypes01: #i112600# resync to DEV300_m92; remove tooltypes from xmloff, linguistic, vcl, svtools, accessibility, fpicker, uui and framework
2010-11-10 13:50:33 +08:00
Vladimir Glazunov
1fe0c12d3a
CWS-TOOLING: integrate CWS dba34a
2010-11-08 16:01:31 +01:00
Xiaofei Zhang
cef41c30dd
removetooltypes01: #i112600# remove tooltypes from toolkit, svtools and framework
2010-11-05 10:31:15 +08:00
Norbert Thiebaud
d0dbce798b
remove a confusing use of GetMutex() when a SolarMutexGuard is really meant
...
VCLXDevice, VCLXGraphics and derived class use a mutex that is really
a reference to the SolarMutex. They declare a function GetMutex() to
access tis reference to the SolarMutex, and the implementation
use
osl::SolarGuard aGuard(GetMutex())
to take a guad on the solar mutex.
This is confusing because some other class in that framework also implement
a GetMutex() function, but which this time return a regular Mutex.
Since this particular use of GetMutex() is to get the SolarMutex, and
invariably this is then used to take a Guard on the SolarMutex,
all these uses are replaced by a SolarMutexGuard object, which encapsulate
that behavior.
2010-11-01 12:24:32 -05:00
Caolán McNamara
6f8383b8cd
if we're not going to check for failure, make sure default is sane
2010-10-29 16:40:56 +01:00
Frank Schoenheit [fs]
db7d3edcaa
merge after pulling DEV300.m91
2010-10-29 09:56:29 +02:00
Mathias Bauer
e775b40a11
CWS gnumake: resync to m91; conflicts unresolved
2010-10-28 23:02:10 +02:00
Norbert Thiebaud
c21186c38d
rename osl::SolarMutexGuard -> SolarGuard to avoid namespace ambiguity
2010-10-25 19:55:38 -05:00
Norbert Thiebaud
d88b292704
merge vosremoval-mutex.diff
...
In practice the changeset is 'inspired' by vosremoval-mutex.diff
but was essentially redone manually
2010-10-25 19:55:38 -05:00
Norbert Thiebaud
7223ecb528
Use SolarMutexGuard where appropriate
2010-10-25 19:55:37 -05:00
Norbert Thiebaud
18a9a87a80
use SolarMutexGuard to guard the SolarMutex
2010-10-25 19:55:36 -05:00
Sebastian Spaeth
4905a19032
Add vim/emacs modelines to all source files
...
Fixes #fdo30794
Based on bin/add-modelines script (originally posted in mail
1286706307.1871.1399280959@webmail.messagingengine.com )
Signed-off-by: Sebastian Spaeth <Sebastian@SSpaeth.de>
2010-10-14 17:02:15 +02:00
Frank Schoenheit [fs]
7fcbcc4b70
dba34b: during #i112779#: don't hold an extra BitmapEx in ImageControl, use base classes Image instead
2010-10-11 13:59:41 +02:00
Mathias Bauer
b41d62671e
CWS changehid: resync to m89
2010-10-09 18:56:58 +02:00
J. Graeme Lingard
5ba8a3f904
Remove redundant #include directives & comments
2010-10-07 20:49:14 -04:00
Caolán McNamara
bceb4cf287
#i113054# WaE
2010-10-06 08:45:16 +01:00
Petr Mladek
1275d274db
more removed include guards using fixguard.py
2010-10-05 18:21:30 +02:00
Petr Mladek
028b400398
remove include guards using fixguard.py
2010-10-05 18:21:29 +02:00
Frank Schoenheit [fs]
e9c647712a
dba34b: pulled DEV300:m89
2010-10-04 19:55:06 +02:00
Frank Schoenheit [fs]
19049cbcca
dba34a: pulled DEV300.m88
2010-09-22 14:35:32 +02:00
sb
dd04f0f604
sb129: merged in DEV300_m88
2010-09-22 10:27:02 +02:00
Hans-Joachim Lankenau
81951bfb56
CWS-TOOLING: integrate CWS cmcfixes78
2010-09-17 14:17:32 +02:00
Hans-Joachim Lankenau
ea9f984e8f
DEV300: changesets OOO330 up to m8
2010-09-17 13:32:40 +02:00
sb
a3c8a0ed0c
sb129: #i113189# change UNO components to use passive registration
2010-09-10 13:10:07 +02:00
Caolán McNamara
741985f6fa
cmcfixes78: #i113054# WaE
2010-09-04 17:24:00 +01:00
Frank Schoenheit [fs]
cda727307f
dba34a: removed SvLBox'es (and friends) Set/GetWindowBits. They were used in parallel to Window's
...
Set/GetStyle, with WB_* values which overlapped with existing (generic) WB_* bits. Since this
overlapping has been removed, there's no need to have both Style and WindowBits at those classes.
Should remove some source of confusion and error (and, well, perhaps introduce some new errors :) ).
2010-09-03 17:53:47 +02:00
Frank Schoenheit [fs]
af7411cd1f
merged in latest changes from CWS dba33i
2010-09-03 15:02:47 +02:00
Frank Schoenheit [fs]
0b78b56577
fs33a: revert the original fix for HideInactiveSelection support in the tree list box, causing too much regressions. Fix it by using SetWindowBits instead of SetStyle
2010-09-03 14:50:14 +02:00
Frank Schoenheit [fs]
a13e86aa55
dba34a: merged in CWS dba33i
2010-09-02 14:25:11 +02:00
Frank Schoenheit [fs]
45e7a1e3f6
fs33a: expose the WB_HIDESELECTION but of the tree control at its UNO API
2010-08-23 15:18:37 +02:00
obo
f3fa8e81a9
Integrate OOO330_m2 into DEV300 (merge)
2010-07-29 08:11:42 +02:00
Mathias Bauer
2c2a74a576
CWS changehid: resync to m85
2010-07-22 10:55:12 +02:00
Jens-Heiner Rechtien
a6fb87b109
CWS-TOOLING: integrate CWS unoawt2
2010-07-21 15:32:50 +02:00
Mathias Bauer
a929816d90
CWS changehid: #i111784#: consolidate usage of HID schema; remove unused SetDialogHelpId methods
2010-07-20 14:50:49 +02:00
Kurt Zenker
cea3e401e3
CWS-TOOLING: integrate CWS sw33bf06_OOO330
2010-07-13 14:54:15 +02:00
Mathias Bauer
ca851f7231
CWS changehid: resync to m84
2010-07-13 14:38:37 +02:00
Bjoern Michaelsen
d6fff07968
CWS gnumake2: resync to DEV300_m84
2010-07-13 14:36:24 +02:00
Caol?n McNamara
32c76a4434
cmcfixes76: #i112969# WaE
2010-07-06 11:54:12 +01:00
Michael Stahl
b62e3cce7e
sw33bf06: valgrind: SvUnoImageMapObject: initialize members
2010-07-01 18:13:33 +02:00
obo
eaa2d3539a
mastefix: #i10000# Merge problem BASEPROPERTY_BACKGROUNDCOLOR
2010-06-24 08:21:51 +02:00
obo
ca1e640c70
CWS-TOOLING: integrate CWS gridcontrol04
2010-06-21 14:49:59 +02:00
Frank Schoenheit [fs]
45d85c7599
unoawt2: get rid of the ImageConsumer/Producer connection between image-rendering controls and their models - this channel doesn't correctly transport transparency. The connection via the 'Graphic' property works absolutely fine here.
2010-06-18 15:33:54 +02:00
obo
7f0993d430
masterfix: #i10000# dispatchCommand,DispatchInfo missing
2010-06-16 12:49:04 +02:00
Release Engineering
990ef88621
masterfix: #i10000# getModuleName() missing
2010-06-16 11:28:50 +02:00
Release Engineering
41436227fd
masterfix: #i10000# resolve merge problems
2010-06-16 09:47:53 +02:00
obo
d4741b8cb1
CWS-TOOLING: integrate CWS unoawt
2010-06-15 10:58:34 +02:00
obo
11ca51711d
CWS-TOOLING: integrate CWS fwk139
2010-06-15 10:26:12 +02:00
Mihaela Kedikova
582fd11a71
gridcontrol04: fix for #i112290# and some build problems
2010-06-11 17:09:46 +02:00
Mihaela Kedikova
b75ce9cf2a
gridcontrol04: i111555: change file permissions for config script
2010-06-11 10:22:00 +02:00
Frank Schoenheit [fs]
92d45780ab
unoawt: setVisible needs to lock the SolarMutex
2010-06-08 11:58:26 +02:00
Frank Schoenheit [fs]
2330be08e3
Automated merge with http://x42-so4:8009/ooo
2010-06-08 08:36:06 +02:00
Frank Schoenheit [fs]
6f5305b0c6
#i112187#
2010-06-07 14:55:41 +02:00
Carsten Driesner
d50be7a83a
fwk139: Fix build problem with gcc
2010-06-04 17:28:06 +02:00
Mihaela Kedikova
0a2185d979
gridcontrol04: fixes for #i111279#, #i111957#, #i112114#
2010-06-04 15:02:11 +02:00
Frank Schoenheit [fs]
a557caaf5f
unoawt: make compile on unxsols4
2010-06-04 13:14:20 +02:00
Frank Schoenheit [fs]
ac79562517
slidecopy: merge after copying in CWS renaissance2
2010-06-03 18:53:52 +02:00
Frank Schoenheit [fs]
4d1c1eae73
slidecopy: merged latest DEV300.m80 changes
2010-06-03 14:33:05 +02:00
Frank Schoenheit [fs]
9e2ed49397
unoawt: UNO/SVT wizzards: allow to completely reset the DefaultButton - for pages which have on own default button
2010-06-01 15:03:56 +02:00