Ask Your Question
3

How do I insert an image inline with text?

asked 2015-12-13 19:58:09 +0200

Kelemvor gravatar image

All I want to do is:

Type some text

Press Enter

Paste in an image

Press Enter

Type in some more text

Press Enter

Paste in another image

Press Enter

However, Every time I past the image ends up centered and floating so I can't get it to just show up inline with the stuff I'm typing.

Is there some way to force this to just paste the image as if I was just adding text like I can in other word processors?

edit retag flag offensive close merge delete

2 Answers

Sort by » oldest newest most voted
2

answered 2017-01-23 10:15:06 +0200

Mike Kaganski gravatar image

When you insert images, they are inserted into frames that have "Graphics" style by default. (When you use "Insert Image" dialog, there is a drop-down list where you can select other styles.) The inserted frame may be anchored "As character" after insertion.

The problem is, that it's impossible to adjust the frame style's anchor settings in its edit dialog. However, it's possible to do that by manually editing styles.xml inside the ODF: first, create an empty new text document, make some edit in "Graphics" frame style (like uncheck AutoSize from Height) - just to force writing the style to file; then save tha file as template. After that, extract styles.xml from the ODT and replace value "paragraph" of Graphics's atribute text:anchor-type to "as-char". Save the xml and then replace it in the ODT using a ZIP software like 7-zip.

This new template will work as you want that, so you may use it by default. This proves that everything on LO is ready for this functionality, and the only missing part is UI for the feature. So, the best is to file corresponding feature request in LO bugzilla.

edit flag offensive delete link more
0

answered 2017-06-08 03:16:30 +0200

Ufanur gravatar image

After inserting an image: right-click on it, in menu - Properties, tab - Type, Anchor - As character.

edit flag offensive delete link more
Login/Signup to Answer

Question Tools

2 followers

Stats

Asked: 2015-12-13 19:58:09 +0200

Seen: 635 times

Last updated: Jun 08