How to add a disclaimer/note on last page only?

This forum is for all Flare issues related to PDF, eBook, Microsoft Word, Adobe FrameMaker, XPS, and XHTML book targets.
Post Reply
law
Jr. Propeller Head
Posts: 8
Joined: Thu Mar 03, 2016 3:31 pm

How to add a disclaimer/note on last page only?

Post by law »

I need to add a 2-line disclaimer at the bottom of the last page of all my printed output. What's the best way to do this? Ideally, it would be a new pagelayout, with the disclaimer in the footer, but how do I apply a pagelayout to just the last PDF page of my document when the last topic might be multiple pages long? I've also tried to see if I could do it with a Footnote, but that doesn't seem like what it's designed for.

Any suggestions would be appreciated.
Rene Severens
Sr. Propeller Head
Posts: 210
Joined: Mon Sep 19, 2011 2:06 am
Location: Netherlands - Zoetermeer
Contact:

Re: How to add a disclaimer/note on last page only?

Post by Rene Severens »

Hi,

This requires the next structure: (best seen in text Editor mode):

<?xml version=.... >
...
</head>
<body>
<div class="rell">
<h1>heading 1 of topic</h1>
<p>.... whatever your topic contains ...</p>
...
<p>... last text of your topic.</p>
<div class="abss">
<p>Here you write the first line of text.</p>
<p>Here you write the second line of text.</p>
</div>
</div>
</body>
</html>

And in your stylesheet:

div.rell
{
position: relative;
}

div.abss
{position: absolute;
bottom: 0px; /* adjust this value to compensate for the height of your footer */
}

Greetings,
René Severens
"The numbers are strange today; they somehow do not seem to add up."
devjoe
Sr. Propeller Head
Posts: 337
Joined: Thu Jan 23, 2014 1:43 pm

Re: How to add a disclaimer/note on last page only?

Post by devjoe »

The way I would do this is to create a print-only topic with the disclaimer, and set it up to use its own layout arranged appropriately. This would put your disclaimer on a page by itself, though, rather than on the page with the last topic.
law
Jr. Propeller Head
Posts: 8
Joined: Thu Mar 03, 2016 3:31 pm

Re: How to add a disclaimer/note on last page only?

Post by law »

Thanks for both the ideas.
As I'm more comfortable outside of the text Editor, I did the following

grouped my disclaimer text with a 'div'
created a div:bottom style and assigned it to my group of text
In advance style editor, set
Positioning, bottom: 0in
Positioning, position: absolute

worked like a charm. Thanks for pointing me in the right direction.
jkpalmer
Propeller Head
Posts: 71
Joined: Tue Jul 14, 2015 9:53 am
Location: Chicago Area

Re: How to add a disclaimer/note on last page only?

Post by jkpalmer »

I have received a similar requirement, but the "statement" needs to be at the end of each topic.

Just so I understand, to get this to work, the topic(s) would need to be manually edited to add the div tags and "statement", correct?
Post Reply