https://bugs.documentfoundation.org/show_bug.cgi?id=128553

Regina Henschel <rb.hensc...@t-online.de> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |rb.hensc...@t-online.de

--- Comment #3 from Regina Henschel <rb.hensc...@t-online.de> ---
When making any changes, it is important to consider how this can be written in
file format. The file format is based on XML and this fact will certainly not
be changed.
An XML file is a sequence of elements. Each element can have a sequence of
child elements. But it is not possible to have overlapping elements. You can
have
Start A...Start B ... End B ... End A
But you cannot have
Start A ... Start B ... EndA ... End B

A style is an attribute of an element and therefore overlapping styles are not
possible.

For runs (text inside a paragraph) and the situation Start A...Start B ... End
B ... End A, you can have 'italic' for A and 'bold' for B, and because B is
inside A the text of B will be bold+italic. That is already possible as
span-elements can be nested. Paragraphs and headings cannot be nested and
nesting of them would make no sense.

It is possible in ODF to have a list of styles applied to an element. That is
attribute "text:class-names" for headings, paragraphs and runs and attributes
"draw:class-names" and "presentation:class-names" for graphical objects. For
pages such "class-names" concept does not exist.

The concept "class-names" is not implemented in LibreOffice, but LibreOffice
uses only the "style-name" attributes.

@mrodent33: Does the concept "class-names" reflect your proposal? To read more
about it in the standard, you can get the standard from
http://docs.oasis-open.org/office/v1.2/os/

-- 
You are receiving this mail because:
You are the assignee for the bug.
_______________________________________________
Libreoffice-bugs mailing list
Libreoffice-bugs@lists.freedesktop.org
https://lists.freedesktop.org/mailman/listinfo/libreoffice-bugs

Reply via email to