Hi Dietmar,
Message de Dietmar Hiller date 2008-07-09 21:23 :
It works fine if I select a continous range of cells (e.g. A1:C3), but I
select e.g. A1:A3 and C1:C3 (so 2 ranges), xFormatSupp is null.
If you select several zones you get a com.sun.star.sheet.SheetCellRanges
object. This is a container of com.sun.star.sheet.SheetCellRange
objects. Use getCount and getByIndex to find each cell range.
It's much easier to see in Basic with Xray tool:
Xray ThisComponent.CurrentSelection
Bernard
---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]