<html>
    <head>
      <base href="https://bugs.documentfoundation.org/">
    </head>
    <body><table border="1" cellspacing="0" cellpadding="8">
        <tr>
          <th>Bug ID</th>
          <td><a class="bz_bug_link 
          bz_status_UNCONFIRMED "
   title="UNCONFIRMED - Auto damaged odt file"
   href="https://bugs.documentfoundation.org/show_bug.cgi?id=127223">127223</a>
          </td>
        </tr>

        <tr>
          <th>Summary</th>
          <td>Auto damaged odt file
          </td>
        </tr>

        <tr>
          <th>Product</th>
          <td>LibreOffice
          </td>
        </tr>

        <tr>
          <th>Version</th>
          <td>6.3.0.4 release
          </td>
        </tr>

        <tr>
          <th>Hardware</th>
          <td>x86-64 (AMD64)
          </td>
        </tr>

        <tr>
          <th>OS</th>
          <td>Linux (All)
          </td>
        </tr>

        <tr>
          <th>Status</th>
          <td>UNCONFIRMED
          </td>
        </tr>

        <tr>
          <th>Severity</th>
          <td>normal
          </td>
        </tr>

        <tr>
          <th>Priority</th>
          <td>medium
          </td>
        </tr>

        <tr>
          <th>Component</th>
          <td>Writer
          </td>
        </tr>

        <tr>
          <th>Assignee</th>
          <td>libreoffice-bugs@lists.freedesktop.org
          </td>
        </tr>

        <tr>
          <th>Reporter</th>
          <td>maikcrew@centrum.cz
          </td>
        </tr></table>
      <p>
        <div>
        <pre>Description:
I do not know exactly where the fault is only I suspect. I need to check if the
macro I used for copying did not damage the odt file, please. File is here
<a href="https://app.box.com/s/gfmul6pgxpi6yzyqkk404udbkgzz66ii">https://app.box.com/s/gfmul6pgxpi6yzyqkk404udbkgzz66ii</a> good file backup in pdf
<a href="https://app.box.com/s/aoa5iekk0wag4ftfg7b6bwqismdbtucu">https://app.box.com/s/aoa5iekk0wag4ftfg7b6bwqismdbtucu</a> I using this macro for
copy formatted text

Sub resetujAvloz 'resetuje vlastnosti přes vloženou mezeru a vloží
    dim document as object, dispatcher as object
    document=thisComponent.CurrentController.Frame
    dispatcher=createUnoService("com.sun.star.frame.DispatchHelper")
    dim args1(0) as new com.sun.star.beans.PropertyValue
    args1(0).Name="Text" : args1(0).Value=" "
    dispatcher.executeDispatch(document, ".uno:InsertText", "", 0, args1())
'vložit mezeru
    dim args2(1) as new com.sun.star.beans.PropertyValue
    args2(0).Name="Count" : args2(0).Value=1
    args2(1).Name="Select" : args2(1).Value=true
    dispatcher.executeDispatch(document, ".uno:GoLeft", "", 0, args2())
'označit mezeru
    dispatcher.executeDispatch(document, ".uno:ResetAttributes", "", 0,
Array()) 'reset vlastností (potřeba když to je na začátku řádku)
    dim args4(1) as new com.sun.star.beans.PropertyValue
    args4(0).Name="Count" : args4(0).Value=1
    args4(1).Name="Select" : args4(1).Value=false
    dispatcher.executeDispatch(document, ".uno:GoRight", "", 0, args4())
'vrátit se na konec mezery
    dispatcher.executeDispatch(document, ".uno:GoLeft", "", 0, args4()) 'jít
před mezeru
    dispatcher.executeDispatch(document, ".uno:ResetAttributes", "", 0,
Array()) 'reset vlastností (potřeba když to není na začátku řádku)
    dispatcher.executeDispatch(document, ".uno:Paste", "", 0, Array()) 'Ctrl+V
    dispatcher.executeDispatch(document, ".uno:Delete", "", 0, Array()) 'smazat
mezeru
End Sub



Actual Results:
I prefer to use TextMaker now and LO for great work with spreadsheets.

Expected Results:
Formatted text like other app like MS Office, TextMaker, OnlyOffice ...no need
to use macros or lengthy use of styles or double click Ctrl + Z and again Ctrl
+ Z


Reproducible: Couldn't Reproduce


User Profile Reset: No



Additional Info:</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>