[Libreoffice-bugs] [Bug 81420] Excessive use of text:style-name elements in content.xml in .ODT

bugzilla-daemon at bugs.documentfoundation.org bugzilla-daemon at bugs.documentfoundation.org
Sun Sep 13 14:22:27 UTC 2020


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

Zhivko <klemen.zivkovic at gmail.com> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|NEW                         |RESOLVED
         Resolution|---                         |FIXED

--- Comment #11 from Zhivko <klemen.zivkovic at gmail.com> ---
@Regina Henschel and others:

Steps to reproduce:

1) step 1
You write in writer following lines that end with paragraph mark (enter pressed
at the end):

text1 text2 text3 text4 text5

2) step 2
you format last word "text5" with bold

3) step 3
you save file

4) step 4
you add .zip to file extension file.odt so it come to be: file.odt.zip

5) step 5
you open content.xml within zip file

6) you check file - it should contains following:

Expected outcome (as I just tested on: Version: 6.2.4.2 (x64)
Build ID: 2412653d852ce75f65fbfa83fb7e7b669a126d64
CPU threads: 4; OS: Windows 10.0; UI render: default; VCL: win; 
Locale: sl-SI (en_SI); UI-Language: en-GB
Calc: threaded):

<text:p text:style-name="Standard">Text1 text2 text3 text4 <text:span
text:style-name="T1">text5</text:span></text:p>

actual result with libreoffice at 2014-07-16 (not sure about version):

<text:span text:style-name="T12">text1</text:span>
              <text:span text:style-name="T13">text2</text:span>
              <text:span text:style-name="T14">text3</text:span>
              <text:span text:style-name="T15">text4</text:span>
              <text:span text:style-name="T16">text5</text:span>

Please note in defective libreoffice writer at 2014-07-16 vrsion last case -
every word has its own style from t12 to t15 and last one is T16.




I can confirm that on version:
Version: 6.2.4.2 (x64)
Build ID: 2412653d852ce75f65fbfa83fb7e7b669a126d64
CPU threads: 4; OS: Windows 10.0; UI render: default; VCL: win; 
Locale: sl-SI (en_SI); UI-Language: en-GB
Calc: threaded

This does not happen anymore - seems it is fixed.

-- 
You are receiving this mail because:
You are the assignee for the bug.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.freedesktop.org/archives/libreoffice-bugs/attachments/20200913/dba26c28/attachment.htm>


More information about the Libreoffice-bugs mailing list