Frage stellen
0

Setting background image with styles.xml

gefragt 2019-09-03 14:35:14 +0200

nebitno Gravatar-Bild

updated 2019-09-03 14:51:18 +0200

Until LibreOffice v6 this code for generating background-image with styles has worked

<style:page-layout-properties 
    fo:page-width="21.001cm" 
    fo:page-height="29.7cm" 
    style:num-format="1" 
    style:print-orientation="portrait" 
    fo:margin-top="0.3cm" 
    fo:margin-bottom="0.499cm" 
    fo:margin-left="2.499cm" 
    fo:margin-right="2.499cm" 
    fo:background-color="transparent"
    style:writing-mode="lr-tb" 
    style:footnote-max-height="0cm"
>
    <style:background-image 
        xlink:href="Pictures/my-image.png" 
        xlink:type="simple" 
        xlink:actuate="onLoad" 
        style:position="center center" 
        style:repeat="no-repeat" />
    <style:footnote-sep 
        style:width="0.018cm" 
        style:distance-before-sep="0.101cm" 
        style:distance-after-sep="0.101cm" 
        style:adjustment="left" 
        style:rel-width="25%" 
        style:color="#000000"
    />
</style:page-layout-properties>

and it opens with libreOffice < v6 normal. But with v6 i cannot found solution why this code is not working. It doesnt set background-image, instead it set blue background. v5.4.7.2 lastWorking, now im on v6.3.0.4 and it doesn' work. Any help is appreciated :)

Bearbeiten Tags ändern Melden schließen vereinen löschen

1 Antwort

1

geantwortet 2019-09-04 16:20:15 +0200

FraKa Gravatar-Bild

Dies ist eine deutsche Frageseite, bitte Frage in deutsch stellen.

This is a german forum, please post in german, otherwise use the english ask-site!

Thank you!

Bearbeiten Melden löschen Link mehr
Registrieren oder einloggen, um zu antworten

Antwortwerkzeuge

1 Beobachter

Statistik

Gefragt: 2019-09-03 14:35:14 +0200

Angesehen: 15 Mal

Aktualisiert: Sep 04