[prev in list] [next in list] [prev in thread] [next in thread] 

List:       koffice-devel
Subject:    Re: KSpread: decoupling Cell from Format
From:       Stefan Nikolaus <stefan.nikolaus () kdemail ! net>
Date:       2005-11-26 7:17:35
Message-ID: 200511260817.35413.stefan.nikolaus () kdemail ! net
[Download RAW message or body]

On Thursday, 24. November 2005 15:57, Ariya Hidayat wrote:
> Can you pass the cell owning the format when you do instantiate it?

Okay, done that. That are 4 more bytes.

> This way, Format::formatChanged() can redirect the call to the
> corresponding Cell::formatChanged().

Calling Cell::setFlag(CellFlags) also works.

> Of course, for format used in row and column classes, this extra stuff
> is just ignored.

Sure.

I prepared a patch. Does it make sense to commit? This decoupling alone will 
increase the size of Cell::Private by 8 bytes and Format by 4 bytes. So, 
without a new format storage we'll have 12 additional bytes per Cell.

Bye,
Stefan
_______________________________________________
koffice-devel mailing list
koffice-devel@kde.org
https://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