After the upgrade to Confluence 6.6.6 our PDF Layout and Stylesheet stopped working properly.
We have a rather simple Layout, containing images and a page-break:
...
<div class="###"
<img src="/download/attachments/2392322/PW2.png" class="title-image" />
</div>
...
<div class="###" style="page-break-before:always;"></div>
Have also 2 macros defined:
noprint
## @noparams
<div class="noprint">$body</div>
and pagebreak
## @noparams
<div style="page-break-before:always;"></div>
Here's a stylesheet:
.pagetitle h1 {
position: running(runningheader);
font-size: 10pt;
text-decoration: none;
}
.mytoc a:after
{
content: leader(dotted) target-counter(attr(href), page);
}
table
{
page-break-inside:avoid;
}
h1, h2, h3, h4, h5
{
page-break-after:avoid;
}
div
{
display: inline;
}
div.noprint
{
display: none !important;
}
@page
{
size: 215mm 279mm;
margin: 15mm;
@top-left
{
content: "###";
font-size: 10pt;
color: #666666;
}
@top-right
{
content: element(runningheader);
}
@bottom-left
{
content: "###";
font-size: 10pt;
color: #666666;
}
@bottom-center
{
content: counter(page) " / " counter(pages);
font-size: 10pt;
color: #000000
}
@bottom-right
{
content: "Propitiatory and confidential";
font-size: 10pt;
color: #666666;
}
After the upgrade following do not work:
- noprint blocks of text still show up
- images do not show up in the title page
- pagebreak does not work in the title page