[prev in list] [next in list] [prev in thread] [next in thread]
List: koffice-devel
Subject: Re: [kspread] - KSpreadCell simplification
From: David Faure <david () mandrakesoft ! com>
Date: 2002-12-13 14:40:31
[Download RAW message or body]
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1
On Friday 13 December 2002 10:25, John Dailey wrote:
> You have a point with this -- my thinking was that the dialog was named 'Cell
> Format' and so for consistancy it should be called format in the code.
> Perhaps we have too much in one dialog box. Maybe we should have separate
> dialogs, one for the cell border/color/etc. and the other for the
> date/scientific/fractional display type and things like that.
The single dialog is _very_ handy (and consistent with Excel IIRC).
> I'm not aware of any place in the user interface that uses the word 'layout'.
> The more important thing in my mind is to have the ui use clear language. I
> don't see a problem giving it all the name 'format' but maybe others
> disagree? The names of source files and classes I think is secondary, and
> only important for new programmers who want to work on kspread and will
> expect things to be named the same since they are unfamiliar with the code
> layout.
>
> In any case both kspread_layout and kspread_format have the source history of
> the KSpreadLayout class so whatever we finally agree on probably won't be a
> big deal.
>
> The things I plan to name KSpreadLayout are the painting offset of the output
> text, total width/height needed to paint it, and things like this that are
> internal. What are these named in Gnumeric?
> > Sorry if this is a bit late, but I don't quite agree. IMHO, "Layout" is
> > related to the appearance of the cell, e.g border, size, color while
> > "Format" is how the cell's value is rendered, e.g dd/mm/yyyy for date,
> > decimal precision, and fractions. IIRC this concept is used in Gnumeric and
> > quite make sense.
For info:
the KWord/KPresenter terminology is that
* layout is indeed about layouting, stuff related to painting/width/height/etc.
* format is the set of settings for some data: colors, borders, font etc.
* stuff like date format and decimal precision is called ... hmm, KoVariableFormat.
So in fact we don't use just "format", but "TextFormat" and "VariableFormat".
For KSpread I would suggest that kspreadlayout is indeed about layouting,
and to introduce CellFormat (for borders colors etc.) and
ValueFormat or DataFormat for the date format stuff.
- --
David FAURE, david@mandrakesoft.com, faure@kde.org
http://people.mandrakesoft.com/~david/
Contributing to: http://www.konqueror.org/, http://www.koffice.org/
KOffice-1.2.1 is available - http://download.kde.org/stable/koffice-1.2.1/
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.0.7 (GNU/Linux)
iD8DBQE9+fFf72KcVAmwbhARAoT4AJ9QO5aIHN93akJ0inIw1hqwojAufgCgjSaa
JWj7Fk23kR4rGyOsMlBN1tc=
=l3Bf
-----END PGP SIGNATURE-----
_______________________________________________
koffice-devel mailing list
koffice-devel@mail.kde.org
http://mail.kde.org/mailman/listinfo/koffice-devel
[prev in list] [next in list] [prev in thread] [next in thread]
Configure |
About |
News |
Add a list |
Sponsored by KoreLogic