Is it normal Calc to freeze some minutes when resizing the width of a
column in a blank sheet that only has a column filled with 18000 cells with
annotation??
Nothing abnormal happens here when the sheet has 18000 cell with normal
data instead annotation.
Just opening the file take long time too here.
By the way, there is no slow down or freezing when using it in MS Office
2010 (file saved in ODS format, not XLS).
I did a macro to insert annotations in 18000 cells for test purpose.
Sub Add18KAnnotations
dim p as integer
p=0
dim m(3) as string
m(0)="ABCDEFGHIJKLMNOPQRSTUVWXYZ"
m(1)="0123456789 0123456789"
m(2)="abcdefghijklmnopqrstuvwxyz"
m(3)="0123456789 0123456789"
dim s as object
dim n as object
dim y as integer
dim c as object
dim a as object
s = thisComponent.sheets(0)
n = s.getAnnotations()
for y=0 to 18000
c=s.getCellByPosition(2,y)
a=c.CellAddress
n.insertNew(a,"-""m(p))
p=p+1
if p=4 then p=0
next y
End Sub
Thanks
Alex Mitsio Sato