Ask Your Question
0

revert embed picture / break link

asked 2016-09-06 13:20:29 +0200

vv01f gravatar image

updated 2016-09-06 13:21:30 +0200

The thought behind is reducing document size and maybe prevent problems while editing. Also the FODT (uncompressed, single file XML) version would become easier to handle or convert.

How is it possible to revert/und the Edit/Links, break command? Best would be to have the dialogue almost the same.

possible starting points:

  • right click on image, save as
  • right click on image, replace and activate the link option

Just that would be more handy to do for all pictures in document at once.

edit retag flag offensive close merge delete

1 Answer

Sort by » oldest newest most voted
0

answered 2016-09-06 15:27:51 +0200

RGB-es gravatar image

There is no way to obtain this from the UI, you need to "hack" the odt file (I have no experience with the fodt format)

  1. Put a copy of your file inside an empty folder
  2. Change file extension from .odt to .zip and uncompress it
  3. Open content.xml file on your preferred text editor. Embedded images are referenced similarly to

    draw:image xlink:href="Pictures/100000000000012900000063D86809C2.png"

change that to something like

draw:image
xlink:href="../image_name.png"

Finally, select everything BUT the Pictures folder (and the original zip ;) ) and recompress, then change back to .odt.

Done!

edit flag offensive delete link more

Comments

Well, it seems that is the best way for now. thx!

vv01f gravatar imagevv01f ( 2016-09-06 15:38:08 +0200 )edit
Login/Signup to Answer

Question Tools

1 follower

Stats

Asked: 2016-09-06 13:20:29 +0200

Seen: 48 times

Last updated: Sep 06 '16