Ask Your Question
1

Image AS CHARACTER as default

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

wladif gravatar image

Hi

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.

Thanks!

edit retag flag offensive close merge delete

3 Answers

Sort by » oldest newest most voted
1

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"/>
    </style:style>

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

edit flag offensive delete link more

Comments

First you need to create your own default template... File→Templates→Save as Template, set as default. Then use the unzipcommand mentioned at https://bz.apache.org/ooo/show_bug.cg... and https://bz.apache.org/ooo/show_bug.cg... 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
1

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 myGraphicTest.ott. 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
0

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

RGB-es gravatar image
edit flag offensive delete link more
Login/Signup to Answer

Question Tools

2 followers

Stats

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

Seen: 1,882 times

Last updated: Apr 28 '17