On 27-Nov-2001 John Levon wrote:

> so how do I tell from setParagraph whether the para is inside an insettext ?

Well this is really easy to do, IMO. EVERY paragraph having an owner IS
inside a InsetText! So when updating the paragraph options you have just
to look if the corresponding paragraphs has an owner() != 0 and then disable
the checkboxes for the pagebreaks!

A second step would be to check pasting text into a InsetText and diable
eventually setted pagebreaks in that case.

      Jug

P.S.: Anyway IMO the patch can go in asis (and I think Jean-Marc did this
      already didn't he?) and then we will address the above problems.

--
-._-._-._-._-._-._-._-._-._-._-._-._-._-._-._-._-._-._-._-._-._-._-._
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
-._-._-._-._-._-._-._-._-._-._-._-._-._-._-._-._-._-._-._-._-._-._-._

It is better to kiss an avocado than to get in a fight with an aardvark.

Reply via email to