Andre Poenitz wrote:
>
> Can anybody explain me why it is needed?
>
> I.e. what would happen if it were removed?
>
>
> From paragraph_funcs.C:
>
> // well we have to check if we are in an inset with unlimited
> // length (all in one row) if that is true then we don't allow
> // any special options in the paragraph and also we don't allow
> // any environment other then "Standard" to be valid!
> if (in == 0 || !in->forceDefaultParagraphs(in)) {
> style = pit->layout();
>
> This is the only remaining user of 'LyXTabular::getCellFromInset'
> which I'd like to get rid of...
Which answers your question. You can only have Standard paragraphs in
a tabular cell. There's a whole heap of messy logic in the paragraph
dialog code too.
--
Angus