The following is what I did to get images anchored as character in my writter .ott template:
I use Manjaro Linux 22
and
LibreOffice 7.4.2.3 (2022-11-14)
Saw it on:
superuser com/
/questions/550240/make-libreoffice-writer-insert-pictures-as-character-by-default#675014
Take an Archiver like Ark
open your LibreOffice-Writer Template e.g: default.ott
( /usr/lib/libreoffice/share/template/common/styles/default.ott )
chose the file:
styles.xml
open it with an editor like Kate,
in the upcoming message chose “temporaly raise and limit…”.
search (f5 oder ctrl+f) for:
<style:graphic-properties text:anchor-type=“paragraph”
and replace “paragraph” with “as-char”
<style:graphic-properties text:anchor-type=“as-char”
Save it and start Writer, chose your Template
File > New > Templates > Defaultxxx
Now you can add your images one by one.
Do not insert to many images at a time, this will crash writer.