<html>
    <head>
      <base href="https://bugs.documentfoundation.org/">
    </head>
    <body><span class="vcard"><a class="email" href="mailto:klemen.zivkovic@gmail.com" title="Zhivko <klemen.zivkovic@gmail.com>"> <span class="fn">Zhivko</span></a>
</span> changed
          <a class="bz_bug_link 
          bz_status_RESOLVED  bz_closed"
   title="RESOLVED FIXED - Excessive use of text:style-name elements in content.xml in .ODT"
   href="https://bugs.documentfoundation.org/show_bug.cgi?id=81420">bug 81420</a>
          <br>
             <table border="1" cellspacing="0" cellpadding="8">
          <tr>
            <th>What</th>
            <th>Removed</th>
            <th>Added</th>
          </tr>

         <tr>
           <td style="text-align:right;">Status</td>
           <td>NEW
           </td>
           <td>RESOLVED
           </td>
         </tr>

         <tr>
           <td style="text-align:right;">Resolution</td>
           <td>---
           </td>
           <td>FIXED
           </td>
         </tr></table>
      <p>
        <div>
            <b><a class="bz_bug_link 
          bz_status_RESOLVED  bz_closed"
   title="RESOLVED FIXED - Excessive use of text:style-name elements in content.xml in .ODT"
   href="https://bugs.documentfoundation.org/show_bug.cgi?id=81420#c11">Comment # 11</a>
              on <a class="bz_bug_link 
          bz_status_RESOLVED  bz_closed"
   title="RESOLVED FIXED - Excessive use of text:style-name elements in content.xml in .ODT"
   href="https://bugs.documentfoundation.org/show_bug.cgi?id=81420">bug 81420</a>
              from <span class="vcard"><a class="email" href="mailto:klemen.zivkovic@gmail.com" title="Zhivko <klemen.zivkovic@gmail.com>"> <span class="fn">Zhivko</span></a>
</span></b>
        <pre>@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.</pre>
        </div>
      </p>


      <hr>
      <span>You are receiving this mail because:</span>

      <ul>
          <li>You are the assignee for the bug.</li>
      </ul>
    </body>
</html>