Footer with three text colums (CSS based PDF transform)

Post here questions and problems related to editing and publishing DITA content.
MariPe
Posts: 15
Joined: Wed Mar 06, 2019 4:35 pm

Footer with three text colums (CSS based PDF transform)

Post by MariPe »

Hi there,

In the CSS based PDF transform I need to put text in three columns into the footer like in the attached screenshot.
3columnsfooter_PDFCSS.png
3columnsfooter_PDFCSS.png (13.32 KiB) Viewed 1130 times
If I put the columns into bottom-left, borrom-center, bottom-right , those margin-boxes have fixed sizes which I can't seem to change. But the distance between the columns is too wide. Is there a way to reduce the margin-box sizes in this case or should I use another approach for positioning.
I'm currently stuck and longing for ideas :)

Cheers!
Mari
julien_lacour
Posts: 498
Joined: Wed Oct 16, 2019 3:47 pm

Re: Footer with three text colums (CSS based PDF transform)

Post by julien_lacour »

Hello,

At the moment, it is not possible to set a specific width to page margin-boxes.

Anyway, if the information you want to display is fixed, you can still set a background image to the footer like in this example:

Code: Select all

@page {
    @bottom-center {
        content: "";
        background-image: url('path/to/image.svg');
        background-repeat: no-repeat;
        background-position: 0 0;
    }
}
Be careful on SVG width and height: it depends on your full page size (US Letter, A4, etc...)

I also added your request to our tracking system and I will let you know as soon as a fix will be available.

Regards,
Julien
MariPe
Posts: 15
Joined: Wed Mar 06, 2019 4:35 pm

Re: Footer with three text colums (CSS based PDF transform)

Post by MariPe »

Thanks, Julien! The idea with the SVG saved me :)

Cheers!
julien_lacour
Posts: 498
Joined: Wed Oct 16, 2019 3:47 pm

Re: Footer with three text colums (CSS based PDF transform)

Post by julien_lacour »

Hello,

Starting with Oxygen 26.0 (already available on our website) it is possible to set a specific width to page margin-boxes.
For more details, check https://www.oxygenxml.com/doc/versions/ ... boxes.html

Regards,
Julien
Post Reply