Dekel Tsur <[EMAIL PROTECTED]> writes:

| On Thu, Jan 11, 2001 at 02:38:03PM +0100, Lars Gullik Bjønnes wrote:
| > Dekel Tsur <[EMAIL PROTECTED]> writes:
| > 
| > | When doing "lyx --export text", the result is incorrect as the section
| > | counters do not appear in the output (as we didn't call to UpdateCounters).
| > | To fix the problem, the methods UpdateCounters and SetCounter should be
| > | moved from LyXText to Buffer (actually, LyXText::UpdateCounters should
| > | remain and do a call to Buffer::UpdateCounters, and also do the paragraph
| > | rebreaking). Should I create a patch for this ? (or are there better
| > | suggestions ?)
| > 
| > The better suggestion is to create a no gui Bufferview.
| > 
| > This is not really part of the Buffer.
| 
| Since labelstring and counter_ belong to LyXParagraph, then SetCounter
| should be a method of LyXParagraph, and Buffer::UpdateCounters is just a
| methods that calls LyXParagraph::SetCounter for all paragraphs.

Do not think that the separation of structure and view is cast in
stone... there are still a lot of things that will change.

        Lgb

Reply via email to