On 04/19/2010 08:42 AM, Jean-Marc Lasgouttes wrote:
rgheck<rgh...@bobjweil.com>  writes:
Even better would be to use in both on input and output, and to let the user
change these params in the document dialog from within each child.
I would prefer that too.

I think I'm confused about what's meant by "input" and "output".

I thought about this, and in a way it would be easy: Buffer::params()
just has to return masterBuffer->params(). (Probably there are some
complications?) But then I wondered if this is right: When we write
the child, we'll write the master's params, since, in effect, the
child doesn't even have its own. Is that what we want to do?
When writing the child, we can use params_::write() directly. I think it
requires to be careful, but it is doable and desirable.

So I'm a bit puzzled here. The idea seemed to be that Document>Settings accessed the params of the master. But then what's to write for the child? You can't even get at those. As I said, I'm sure I'm just confused.

There's an odd circularity problem: We want to be able to set "Use Master Params" as a setting in the child. But then, how do you turn it off if Document>Settings always gives you the master?

rh

Reply via email to