Ask Your Question

Image AS CHARACTER as default

asked 2017-04-27 15:29:45 +0200

wladif gravatar image


I use A LOT of images, and Anchor as character is the best for my formatting. I would like to have this as a Default value, so every image i paste is automatically put AS CHARACTER instead of anchor it to the paragraph. I know, it is a few clicks but FOR EACH IMAGE is getting very tiresome.

I know i can copy styles too, but i'm sure that it should be a better way to do this. Libreoffice is great, there must be a way!

Is there a setting for this in the menus? So far i can not find the setting.


edit retag flag offensive close merge delete

3 Answers

Sort by » oldest newest most voted

answered 2017-04-28 13:58:13 +0200

Regina gravatar image

You can define your own document template. If you make any change in "Graphics" style, this style is included into the template. You need some knowledge about file format, but you can set the style "Graphics" to anchor type "as character". You can take the style "Formula" as example. To make it easier for you, I have attached such document template You can adapt other properties like default language, page borders, header/footer settings to your needs. It will not affect the anchor type of "Graphics". If you base your document on this template, all inserted Graphics will be anchored "as character" as default.

edit flag offensive delete link more


thanks!!! !!!!!!!!!!!

meika gravatar imagemeika ( 2019-09-22 06:06:09 +0200 )edit

Presetting the anchorage - as of version 7.1

The anchoring for inserting images can be preset from LibreOffice version 7.1.

Select Tools>Options>LibreOffice Writer>Formatting Aids from the menu.

For Image/Anchor you can select: To Pragraph, To Character or As Character.

ebot gravatar imageebot ( 2021-01-13 10:16:04 +0200 )edit

Thanks, ebot! The version of LO truly makes a difference here!

Phoinx gravatar imagePhoinx ( 2021-05-10 23:11:54 +0200 )edit

answered 2017-04-28 16:15:39 +0200

JohnHa gravatar image

Or you can unzip your Default Template .odt file and extract styles.XML. Edit it and find the graphics style and change the anchor to "as-char" as below. Resave your default template.

<style:style style:name="Graphics" style:family="graphic">
        <style:graphic-properties text:anchor-type="as-char" svg:y="0cm" fo:margin-left="0cm" fo:margin-right="0cm" style:wrap="parallel" style:number-wrapped-paragraphs="no-limit" style:wrap-contour="false" style:vertical-pos="top" style:vertical-rel="baseline"/>

If this helps then please tick the answer and/or show you like it with an uptick.

edit flag offensive delete link more


First you need to create your own default template... File→Templates→Save as Template, set as default. Then use the unzipcommand mentioned at and to edit the file 'styles.xml', replacing text:anchor-type="paragraph" with text:anchor-type="as-char". Finally, update the template using zip

jdpipe gravatar imagejdpipe ( 2018-09-22 00:47:40 +0200 )edit

answered 2017-04-27 23:23:22 +0200

RGB-es gravatar image
edit flag offensive delete link more


In the Linux version at least, the current styles.XML does not contain any anchor-type setting that I can find. The default has now changed from paragraph, which suited my purposes, to character, which does not. I don't see why this is such an issue to sort out, it's only a default setting.

From it looks like there will be an option to set this default, but not yet in

Fergus_Magus gravatar imageFergus_Magus ( 2020-09-10 11:23:19 +0200 )edit

Thanks, Fergus_Magus! Gotta pay attention on the version of LO!

Phoinx gravatar imagePhoinx ( 2021-05-10 23:12:13 +0200 )edit
Login/Signup to Answer

Question Tools



Asked: 2017-04-27 15:29:45 +0200

Seen: 4,660 times

Last updated: Apr 28 '17