Not printing bottom frame content to PDF

This forum is for all Flare issues related to PDF, eBook, Microsoft Word, Adobe FrameMaker, XPS, and XHTML book targets.

Not printing bottom frame content to PDF

Postby JRtechw on Wed Sep 25, 2019 11:14 pm

Flare 2019, vanilla publishing to PDF.

We recently discovered odd behaviour in our Flare project. We have a set of page layouts that are pretty standard: Front/Left/Right/Empty pages, header frame up top, body frame in middle, and footer frame down the bottom with a table that has a copyright text snippet and a system variable for the page number.

Recently Flare stopped publishing the content in the bottom footer frame when published to PDF Target. The top border of the frame (Frame Properties > Borders) prints, but anything in the actual frame does not print at all.

I've made sure:

1. The TOC > Printed Properties points to the correct Page Layout and page type.
2. The Target > General > Page Layout points to the correct default Page Layout.
3. The frame sits entirely within the page dimensions (bog-standard A4).
4. The styles in the footer content all are set to display in the stylesheet (I shouldn't need to, but I explicitly set them all to display in the CSS).

I've tried:

1. Converting all snippet context to text in the footer frame -- no luck.
2. Inserting a decoration frame instead of a footer frame -- no luck.

Our IT has not yet upgraded us to build 7081, so I'm hoping that patch might fix or at least kickstart Flare into refreshing all its stored page layouts, though I didn't see anything like this in the release notes.

I have a vague memory of having page layout PDF dramas a while back and I deleted a bunch of stuff that Flare had cached away, but I am sure that that was to do with images in page layout headers, not footer text.

Anyone run into anything like this?
JRtechw
Propeller Head
 
Posts: 56
Joined: Thu Oct 05, 2017 8:08 pm

Re: Not printing bottom frame content to PDF

Postby robdocsmith on Mon Sep 30, 2019 10:37 pm

Hi,

I'd try continuing to try to isolate where the issue lies:
Does the footer not display on any of the pages (a left page, a right page, an empty page, a first page), or just one of the types?
If you replace the snippet with plain text in the same style, does that display?
Does a decoration frame with that same text and style display correctly?
Does applying another basic style cause it to display correctly?
There's nothing odd about the frame definitions on the pages (two footers on a page for example?)?

I've had issues where a variable or snippet was either too large for a container frame, or the style itself made it too large (too much padding/margin on the style itself or any styles that wrap around it such as body/div etc.). In which case it wasn't displayed where I thought it should in the output.

Rob
robdocsmith
Propeller Head
 
Posts: 44
Joined: Thu May 24, 2018 3:11 pm

Re: Not printing bottom frame content to PDF

Postby JRtechw on Wed Oct 02, 2019 4:11 pm

MadCap Support eventually found the answer to the problem. We have a generic class in our general CSS file called .header, which is applied to a div that contains the navigation strip. This class has a height value, which was causing the footer to not display when published to PDF.

I just set the height on .header to 0px for all PDF media and the problem was fixed.

Many thanks to support for helping to nail this one, because I was going nowhere. I'm still mystified why this would cause a problem though, unless there is some .header class being used internally when converting page layouts to PDF. Anywhere, tossing it out there in case people run into the same drama.
JRtechw
Propeller Head
 
Posts: 56
Joined: Thu Oct 05, 2017 8:08 pm


Return to Printed Documentation Targets

Who is online

Users browsing this forum: sdriggars and 1 guest