[Libreoffice-bugs] [Bug 119872] New: add an option to extract and link all pictures from a writer document

bugzilla-daemon at bugs.documentfoundation.org bugzilla-daemon at bugs.documentfoundation.org
Fri Sep 14 09:14:18 UTC 2018


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

            Bug ID: 119872
           Summary: add an option to extract and link all pictures from a
                    writer document
           Product: LibreOffice
           Version: 6.1.0.3 release
          Hardware: All
                OS: All
            Status: UNCONFIRMED
          Severity: enhancement
          Priority: medium
         Component: Writer
          Assignee: libreoffice-bugs at lists.freedesktop.org
          Reporter: oliver.brinzing at gmx.de

Created attachment 144860
  --> https://bugs.documentfoundation.org/attachment.cgi?id=144860&action=edit
ExtractWriterGraphics

attached macro will extract all pictures from a writer document and link it:

- open a writer document containing pictures
- optional: rename pictures with meaningfull names
- run macro:
  - a *.bak file is created
  - all pictures will be stored in a folder "pictures"
  - the document is stored without the pictures, 
    all pictures are linked now.

this worked until LO 6.0 but will fail due to change of GraphicURL in LO 6.1,
cause it is no longer possible to access the "vnd.sun.star.GraphicObject:"
URLs.

this macro was very usefull, for example if one has to "refactor" large
document containing dozens of pictures. once pictures are exported, one can
easily edit/exchange it or even share it with other documents.

i suggest adding an API to access pictures again, and/or add a global function
to LO writer so all users can benefit from it.

-- 
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/20180914/21fefad3/attachment.html>


More information about the Libreoffice-bugs mailing list