Re: [fpc-pascal] Suggestions for fpspreadsheet

2009-01-30 Thread Graeme Geldenhuys
On Fri, Jan 30, 2009 at 10:12 AM, Marco van de Voort wrote: > > Can't we simply compromise and make it 0.5 everywhere ? :-) Umm... We already have sub-pixel painting so you might be on to something. ;-) Regards, - Graeme - ___ fpGUI - a cross-plat

Re: [fpc-pascal] Suggestions for fpspreadsheet

2009-01-30 Thread Marco van de Voort
In our previous episode, Michael Van Canneyt said: > > uses 0-based counting. Only the painting gets done as 1-based > > counting. Can't we simply compromise and make it 0.5 everywhere ? :-) ___ fpc-pascal maillist - fpc-pascal@lists.freepascal.org htt

Re: [fpc-pascal] Suggestions for fpspreadsheet

2009-01-29 Thread Michael Van Canneyt
On Thu, 29 Jan 2009, Graeme Geldenhuys wrote: > On Thu, Jan 29, 2009 at 3:09 PM, Travis Siegel wrote: > > And here is the difference between programmers and users. > > Yes, most programmer interfaces start at 0, but when a user opens your > > sreadsheet, they expect to see their first cell numb

Re: [fpc-pascal] Suggestions for fpspreadsheet

2009-01-29 Thread Felipe Monteiro de Carvalho
On Thu, Jan 29, 2009 at 1:59 PM, Graeme Geldenhuys wrote: > Part of the confusion was what developers were used to in Delphi. Plus > many (all) container classes in the RTL use 0-based counting. It > becomes quite a chore to keep track of 1-based counting in the grid > and when that data is stored

Re: [fpc-pascal] Suggestions for fpspreadsheet

2009-01-29 Thread Graeme Geldenhuys
On Thu, Jan 29, 2009 at 3:09 PM, Travis Siegel wrote: > And here is the difference between programmers and users. > Yes, most programmer interfaces start at 0, but when a user opens your > sreadsheet, they expect to see their first cell number as a1, not a0. > I personally always make my code 1-ba

Re: [fpc-pascal] Suggestions for fpspreadsheet

2009-01-29 Thread Vincent Snijders
Travis Siegel schreef: Don't confuse the poor users, start at 1. You mean: Don't confuse the poor programmers, start at 1. Vincent ___ fpc-pascal maillist - fpc-pascal@lists.freepascal.org http://lists.freepascal.org/mailman/listinfo/fpc-pascal

Re: [fpc-pascal] Suggestions for fpspreadsheet

2009-01-29 Thread Travis Siegel
On Jan 29, 2009, at 6:33 AM, Michael Van Canneyt wrote: On Thu, 29 Jan 2009, Felipe Monteiro de Carvalho wrote: A doubt I am facing now is if rows and column numbers should start at 1 like what is seen in most spreadsheet user interfaces or in zero . It was zero before, but now I am cha

Re: [fpc-pascal] Suggestions for fpspreadsheet

2009-01-29 Thread Graeme Geldenhuys
On Thu, Jan 29, 2009 at 2:25 PM, Felipe Monteiro de Carvalho > > A doubt I am facing now is if rows and column numbers should start at > 1 like what is seen in most spreadsheet user interfaces or in zero > . It was zero before, but now I am changing it to 1, althougth I > am still not sure of t

Re: [fpc-pascal] Suggestions for fpspreadsheet

2009-01-29 Thread Michael Van Canneyt
On Thu, 29 Jan 2009, Felipe Monteiro de Carvalho wrote: > I also added initial OpenDocument support. Initially I wanted to do > OOXML, but OpenOffice can only read OOXML, not write it, and I don't > have Word, so I found myself unable to generate example documents and > went for OpenDocument. >

Re: [fpc-pascal] Suggestions for fpspreadsheet

2009-01-29 Thread Felipe Monteiro de Carvalho
I also added initial OpenDocument support. Initially I wanted to do OOXML, but OpenOffice can only read OOXML, not write it, and I don't have Word, so I found myself unable to generate example documents and went for OpenDocument. A doubt I am facing now is if rows and column numbers should start a

Re: [fpc-pascal] Suggestions for fpspreadsheet

2009-01-12 Thread Felipe Monteiro de Carvalho
On Sun, Jan 11, 2009 at 2:32 PM, Boris Samorodov wrote: >> * Add support to also read Excel 5 files > > I'd vote for this one twice if possible. ;-) > As for the others they are interesting but not very important for me. I went for this one. Excel 2.1 reading works nicely. It also reads Excel 5

Re: [fpc-pascal] Suggestions for fpspreadsheet

2009-01-11 Thread Graeme Geldenhuys
On 1/10/09, Felipe Monteiro de Carvalho wrote: > > I am not saying I will implement any of this in a short time, just > asking for suggestions =) OpenDocument read/write support -- seeing that that is the preferred format these days and adheres to open standards. Regards, - Graeme - _

Re: [fpc-pascal] Suggestions for fpspreadsheet

2009-01-11 Thread Boris Samorodov
Hello List, On Sat, 10 Jan 2009 17:30:31 +0100 Felipe Monteiro de Carvalho wrote: > I got some time and I decided to improve fpspreadsheet: > http://wiki.lazarus.freepascal.org/FPSpreadsheet > I wrote a OLE document generator, so now it is possible to generate > Excel 5 spreasheets in any platf

[fpc-pascal] Suggestions for fpspreadsheet

2009-01-10 Thread Felipe Monteiro de Carvalho
Hello, I got some time and I decided to improve fpspreadsheet: http://wiki.lazarus.freepascal.org/FPSpreadsheet I wrote a OLE document generator, so now it is possible to generate Excel 5 spreasheets in any platforms (actually some lines of code are missing for big endian systems). And it support