OASIS Mailing List ArchivesView the OASIS mailing list archive below
or browse/search using MarkMail.


Help: OASIS Mailing Lists Help | MarkMail Help

office message

[Date Prev] | [Thread Prev] | [Thread Next] | [Date Next] -- [Date Index] | [Thread Index] | [List Home]

Subject: Re: [office] Proposal for lists/numbered paragraphs

At 18:58 2003 03 12 +0100, Michael Brauer wrote:
>Dear TC members,
>in the last TC meeting we figured out, that many text documents contain numbered paragraph that do not follow one after another in the document, but are distributed among the document. In the OpenOffice.org file format, such numbered paragraphs have to be represented as several list, each requiring its own list and list-item elements. Since such numbered paragarphs are not really list, this seems to be some overhead. In such cases, it seems to be more apropriate to individually assign the level and list styles to paragraphs.
>On the other hand, we also figured out that many documents contain numbered paragarphs one after another, and that such paragraphs can be considered to be real list. This applies to text documents, but also to presentations, that might also contain numbered paragraphs. We also figured out, that at least some office suite in its UI represent numbered paragarphs as list, and that many other XML schemas also support the concept of lists, among them are XHTML and XSL-FO, that both influenced the OpenOffice.org file format. For this reason, and since the TC charter mentions retaining high-level information, transformation friendliness and 'borrowing' from existing standards as requirements, it seems to be apropriate to also keep the concept of lists.
>To be able to represent both kinds of numbered paragarphs, single one and paragarphs that form a list, I would like to propose to
>- keep the concept of lists as it is, with the exception that the "text:ordered-list" and "text:unordered-list" elements are replaced by a single "text:list" element.
>- add a new "text:numbered-paragraph" (or "text:num-p", etc.) element. This element has an "text:level" element like headings ("text:h") that specifies which level of a list styles should be the applied to the paragraph. The list style itself is specified as "style:list-style-name"  attribute attached to the paragraph's style element, as this is the case already. The "text:numbered-paragraph" element must not occur within lists, so that there are no conflicts between the level of a numbered paragraph and the level a paragraph gets because it is contained within a list.

Coming from a structured markup world and not a WP one, I don't really
understand this stuff.  I can't really imagine what the use case is (I'm
sure there are many in WP land, I just have a hard time imagining most
things in WP land).

Is the number that is put in front of a numbered paragraph given as part
of the style, or is it supposed to be computed automatically by counting
something?  And if the latter, what is counted?

Since I don't really have my head wrapped around this stuff, I can't really
tell how this might work in an XSL world, but I'm nervous that this could
cause problems for XSL.


[Date Prev] | [Thread Prev] | [Thread Next] | [Date Next] -- [Date Index] | [Thread Index] | [List Home]