<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 - Linked SVG pictures is copied into fodt file"
   href="https://bugs.documentfoundation.org/show_bug.cgi?id=123463">123463</a>
          </td>
        </tr>

        <tr>
          <th>Summary</th>
          <td>Linked SVG pictures is copied into fodt file
          </td>
        </tr>

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

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

        <tr>
          <th>Hardware</th>
          <td>All
          </td>
        </tr>

        <tr>
          <th>OS</th>
          <td>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>adrien.aubourg@gmail.com
          </td>
        </tr></table>
      <p>
        <div>
        <pre>Description:
I'd like to use LibreOffice Writer with git to work with several people on the
same document. The idea is to use the fodt file format (plain xml) and linked
svg pictures, so everything is smoothly tracked by git without any binary file.

However, any linked svg picture is also copied into the fodt file. This raises
the file size because of these large binary chunks, and these chunks induces
large and unecessary git diffs.

AddReplacementImages is not useful here. When set off, one binary chunk per svg
picture is present. When set on, two chunks per picture is present (I assume
svg+png).

This seems to only concern svg picture. Linked png picture are not copied into
the fodt file

Steps to Reproduce:
1. Open a new Writer document
2. Insert an SVG picture, linked
3. Save the document as fodt

Actual Results:
The fodt file contains binary chunk(s) (one or two depending on
AddReplacementImages setting)

Expected Results:
The fodt file has no binary chunks with only linked pictures


Reproducible: Always


User Profile Reset: Yes


OpenGL enabled: Yes

Additional Info:
Behavior with PNG pictures is as expected</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>