A UI designer was nice enough to whip up some great looking title pages for PDFs for me to give our PDF docset more polish. The images are the exact size of a standard PDF page.
Is there any way I can upload the PDF image to a confluence space, and then have that image load as the first page of any PDF Space Export?
To clarify, we already have a working title page where there is an image set inside the default title page. I want to do away with this cover and instead us an image as the title page itself. I suppose it might be the same as setting an image and then expanding it to fille the entire page, but I'm afraid I don't know the CSS (or if Confluence even supports it).
Hi,
Is this still an issue? I seem to be getting similar results
Hi,
Just add the image as space attachment and this to "Look & Feel > PDF Style Sheet":
@page:first {
/* Place an image in the background */
background-image: url("place the link to the image here");
background-size: cover;
}
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi
@Herve Frydlender thanks for this. The image does set to fit the whole page, but it looks like whenever I do an export, content is superimposed ontop of the background image.
I'm trying to figure out how to get rid of that content/text field, so that the first page of the export is only the image (and then all the content starts on the next page):
It's especially weird because that first block of text can be either anything set in Look & Feel > "PDF Layout" (which is in HTML) or simply the first page within a given PDF export. Meanwhile, this image itself is set in Look & Feel > PDF Stylesheet (which is in CSS).
All in all, it's very confusing (and frustrating) just to get a default cover page. :/
But thank you for your help all the same.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
You're welcome.
I think the only option would be to force a page break before the title. Unfortunately, since 6.13 the way you specify specific formatting for the title as changed, and I'm struggling to find how to address that. If I find a way I'll come back to you.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Have you had a look at our Scroll PDF Exporter already? It allows you to easily customize your PDF templates using a graphical template designer. No CSS or HTML coding skills needed.
One feature of the template designer is to define static pages, and use background images on those static pages: You could simply define a title page with the wanted metadata (title of the page, date, ...) and use the image as a background image.
Please let me know if you have any additional questions - as with all Marketplace apps, Scroll PDF Exporter can be tried for free using an evaluation license.
Best,
Nils
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.