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.
How to add a disclaimer/note on last page only?
-
- 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?
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
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."
Re: How to add a disclaimer/note on last page only?
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.
Re: How to add a disclaimer/note on last page only?
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.
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.
Re: How to add a disclaimer/note on last page only?
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?
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?