Hi,

I wonder where I can find a list of all property available for a
XCellRange object.

Actually I want to get the number of columns and the number of rows of a
cell range. I've tried with the Size properties but that don't give the
number of rows and columns, it gives the height and width of the cell
range.

Here's what I would :

----------------------------------------------
Reference< XCellRange > aCellRange =
pCalc->getCellRangebyString("A1:B4");
Reference< beans::XPropertySet > xPropSet (aCellRange,UNO_QUERY);

uno::Any nRow =
xPropSet->getPropertyValue(rtl::OUString::createFromAscii("NRow"));
sal_Int32 n;
nRow >>= n;
----------------------------------------------------

Thanks in advance,

cheers,
Mikael


---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to