[Libreoffice-bugs] [Bug 119563] When importing media (eg images) to libreoffice it would be friendly to save some metadata

bugzilla-daemon at bugs.documentfoundation.org bugzilla-daemon at bugs.documentfoundation.org
Mon Mar 11 12:31:04 UTC 2019


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

--- Comment #9 from Heiko Tietze <tietze.heiko at gmail.com> ---
Created attachment 149879
  --> https://bugs.documentfoundation.org/attachment.cgi?id=149879&action=edit
Document properties in inkscape

(In reply to ffs from comment #8)
> Personally I'd stick it in the metadata of the image rather than a private
> LO tag.

We need to take care about compatibility, ie. roundtrips of the odf with other
tools like OpenOffice, Calligra, with alien formats such as from MSO and when
exporting/importing the image as SVG, for example.

As of SVG, Inkscape has some tags shown in the attachment. Those are saved in
the metadata

<metadata
     id="metadata5">
    <rdf:RDF>
      <cc:Work
         rdf:about="">
        <dc:format>image/svg+xml</dc:format>
        <dc:type
           rdf:resource="http://purl.org/dc/dcmitype/StillImage" />
        <dc:title>Test</dc:title>
        <dc:date>11.3.2019</dc:date>
        <dc:creator>
          <cc:Agent>
            <dc:title>HT</dc:title>
          </cc:Agent>
        </dc:creator>
        <dc:rights>
          <cc:Agent>
            <dc:title>CC0</dc:title>
          </cc:Agent>
        </dc:rights>
        <dc:publisher>
          <cc:Agent>
            <dc:title>HT</dc:title>
          </cc:Agent>
        </dc:publisher>
        <dc:identifier>none</dc:identifier>
        <dc:source>self-made</dc:source>
        <dc:language>English</dc:language>
        <dc:subject>
          <rdf:Bag>
            <rdf:li>test</rdf:li>
            <rdf:li>rectangle</rdf:li>
          </rdf:Bag>
        </dc:subject>
        <dc:description>This is a test.</dc:description>
        <dc:contributor>
          <cc:Agent>
            <dc:title>RH</dc:title>
          </cc:Agent>
        </dc:contributor>
        <cc:license
           rdf:resource="http://creativecommons.org/publicdomain/zero/1.0/" />
      </cc:Work>
      <cc:License
         rdf:about="http://creativecommons.org/publicdomain/zero/1.0/">
        <cc:permits
           rdf:resource="http://creativecommons.org/ns#Reproduction" />
        <cc:permits
           rdf:resource="http://creativecommons.org/ns#Distribution" />
        <cc:permits
           rdf:resource="http://creativecommons.org/ns#DerivativeWorks" />
      </cc:License>
    </rdf:RDF>
  </metadata>

Sounds like some work for the developers.

-- 
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/20190311/3bf167b4/attachment-0001.html>


More information about the Libreoffice-bugs mailing list