Date: prev next · Thread: first prev next last
2012 Archives by date, by thread · List index


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

-- 
For unsubscribe instructions e-mail to: users+help@global.libreoffice.org
Problems? http://www.libreoffice.org/get-help/mailing-lists/how-to-unsubscribe/
Posting guidelines + more: http://wiki.documentfoundation.org/Netiquette
List archive: http://listarchives.libreoffice.org/global/users/
All messages sent to this list will be publicly archived and cannot be deleted

Context


Privacy Policy | Impressum (Legal Info) | Copyright information: Unless otherwise specified, all text and images on this website are licensed under the Creative Commons Attribution-Share Alike 3.0 License. This does not include the source code of LibreOffice, which is licensed under the Mozilla Public License (MPLv2). "LibreOffice" and "The Document Foundation" are registered trademarks of their corresponding registered owners or are in actual use as trademarks in one or more countries. Their respective logos and icons are also subject to international copyright laws. Use thereof is explained in our trademark policy.