incubator-ooo-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From bugzi...@apache.org
Subject DO NOT REPLY [Bug 3395] Reveal formatting codes
Date Tue, 17 Apr 2012 07:22:47 GMT
https://issues.apache.org/ooo/show_bug.cgi?id=3395

--- Comment #157 from irneb <irne.barnard@gmail.com> 2012-04-17 07:22:47 UTC ---
(In reply to comment #155)
> The 2010-02-19 "Explanation of RC Alternative" attachment does explain the
> situation quite well.  It misses the case that ODF <text:span> elements can be
> nested and that one must somehow deal with inheritance happening in styles.
> 
Could you please indicate how to nest these things? Or is it only possible
through hacking the XML files? Through my own investigations every change makes
a new style (be that a user defined style or an automatic style), but no-where
does the ODF implementation allow for nested tags inside the text. If it was
possible RC would become a breeze to implement (in comparison to now at least).

Unfortunately we're stuck with a decision made a whole lot of years ago, about
how the file structure is supposed to be. This probably happened in the SXW
days (or even earlier). And that decision was to not use a streaming format
such as WPD and HTML does. For various reasons this wasn't a "bad" idea per
say, some performance gains are possible through this decision. Unfortunately
it makes a RC like feature a near impossibility though. What I can't understand
though is why (if you're not going to use nesting in a streamable format) use
XML then ... isn't that one of the most Stream-able Nestable file formats out
there? Even more so than HTML?

Sorry, I'm going off on a tangent ... just curious as to why do one thing and
then another which seems so like "incompatible inconsistent thinking". It's as
if the decisions were made on an ad-hoc basis without reference of prior
decisions. Not that I'm saying XML shouldn't have been used, it's just that it
seems it was used solely for the reasons that it was a "open" and "widespread"
"standard" ... not because it was the best fit for the intended data structure.
To the contrary, it's probably the most removed fit for the ODF data structure.
And this thread actually proves it.

-- 
Configure bugmail: https://issues.apache.org/ooo/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are on the CC list for the bug.

Mime
View raw message