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: [email protected]
          Reporter: [email protected]

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.
_______________________________________________
Libreoffice-bugs mailing list
[email protected]
https://lists.freedesktop.org/mailman/listinfo/libreoffice-bugs

Reply via email to