On 27-Mar-2001 Lars Gullik Bjønnes wrote:

> just remember that we want it done with lfuns.

??? Can you give me an example?

> And we will have to change the insetcollapsable param as well
> ("collapsed")
> And we should make this switch as soon as possible... but what should
> the fileformat look like?

Should we generally change the InsetCode to an XML like one?

<inset type="minipage">
  <params collapsed="false" position="center" inner_position="middle"
     height="2cm" width="" widthp="50">
// just an idea I came across right now couldn't we have width="50%" and
// remove the widthp parameter? Obviously then the LyXLenght Class would
// have to accept this and the LaTeX code of the class has to return the
// right stuff! What do you think?
// So the above would be:
  <params collapsed="false" position="center" inner_position="middle"
     height="2cm" width="50%">
  <inset type="text">
    ... write the text inset
  </inset>
</inset>

Also is it possible to have an expandable params class? So that the Base
Class (say InsetCollapsable) does have only collapsed and derived Classes
can have more params (f.ex. position, inner_position, height, width).

Let me know, till we decide I'll have a look at the Frame-Painting and some
redraw problems we have (should keep me busy for some time ;)!

        Jürgen

--
-._-._-._-._-._-._-._-._-._-._-._-._-._-._-._-._-._-._-._-._-._-._-._
Dr. Jürgen Vigna        E-Mail:  [EMAIL PROTECTED]
Italienallee 13/N       Tel/Fax: +39-0471-450260 / +39-0471-450253
I-39100 Bozen           Web:     http://www.sad.it/~jug
-._-._-._-._-._-._-._-._-._-._-._-._-._-._-._-._-._-._-._-._-._-._-._

If you don't say anything, you won't be called on to repeat it.
                -- Calvin Coolidge

Reply via email to