[Libreoffice-bugs] [Bug 52028] creates and applies empty, useless automatic styles

bugzilla-daemon at freedesktop.org bugzilla-daemon at freedesktop.org
Sat Jul 21 02:24:01 CEST 2012


https://bugs.freedesktop.org/show_bug.cgi?id=52028

--- Comment #12 from Roman Eisele <bugs at eikota.de> 2012-07-20 17:24:01 PDT ---
Created attachment 64456
  --> https://bugs.freedesktop.org/attachment.cgi?id=64456
Test A, LibO 3.6.0b3 .odt file, viewed with BBEdit, problematic sections
emphasized

(In reply to comment #8)
> @Roman: If you still reproduce with 3.6.0.2 [...]

I have checked with 3.6.0.1 -- still reproducible; I will check with 3.6.0.2
later this evening and report results (no free time earlier, sorry).


(In reply to comment #11)
> Did you already check whether (and if yes were) the problem appears in .odt?

Yes, I did -- the problem also appears in the .odt files, exactly like in the
.fodt files, the only difference is the location (due to the different file
structure). It is in the "contents.xml" file inside of the .odt file/archive.
To view "contents.xml", you can either un-zip the .odt file and then open the
"contents.xml" file, or you can view the .odt file with some editor that can
browse .odt files directly -- e.g., BBEdit (MacOS only, I don’t know about
Windows editors, sorry).

In "contents.xml", please search for the section
   <office:automatic-styles>...</office:automatic-styles>
or, if it is empty, like in my 3.5.5.3 sample files, just for
   <office:automatic-styles/>
! Here are all the useless automatic styles.

Additionaly, please look out for the first section of type
   <text:p ...
inside of (i.e., after) section
   <office:body><office:text>
; here all these automatic styles get applied.

Attached you find a screenshot of my LibO 3.6.0 beta 2 sample .odt file opened
with BBEdit; I hope the screenshot shows better where to find the problem than
my lengthy explanation ;-)

-- 
Configure bugmail: https://bugs.freedesktop.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug.


More information about the Libreoffice-bugs mailing list