On Fri, Mar 19, 1999 at 07:17:12PM +0100, Asger Alstrup Nielsen wrote:
> [Unions]
[Value Implementation]
> So, in the Paragraph structure, I propose that we simply have this:
>
> struct Paragraph {
>
> map<string, Value> settings;
> };
>
> So the "settings" map is our state of the paragraph. Inside this, we have
> defined all the values that are different from the default settings.
Ok, I really like this...
> This way, we should be able to preserve memory, and still be very flexible.
> For instance, it's no problem to introduce new properties in a layout file,
> because no variables are hardcoded.
But then we have a problem when copying the same layout for different document types
since the settings possibly will not be the same.
Any hint about this? This is a second order correction...
(if you understand what I mean ;-)
> Greets,
>
> Asger