How to insert html table in header for exporting to PDF
Asked by Andrea Chiericati:

Hi, i need add an HTML table in the header and footer of my export to PDF since i wont to use confluence for the official Company Documentation, adding logo, company info and certification number.  

This code in the header don't works:  
\<table\>  
\<tr\>  
\<td\>  
LOGO  
\</td\>  
\<td\>  
COMPANY INFO  
\</td\>  
\<td\>  
CERTIFICATION NUMBER  
\</td\>  
\</tr\>  
\</table\>


Answers:
author: Sven Schatter _K15t_
body: Hi [@Andrea Chiericati](/t5/user/viewprofilepage/user-id/4605236),

That looks like it should be working. Have you verified that this also doesn't show up for space exports? As per [the official documentation](https://support.atlassian.com/confluence-cloud/docs/customize-exports-to-pdf/):
> PDF customization only applies to space exports (not single page exports via **Tools** \> **Export to PDF**)

If you want more flexibility customizing your PDF exports and have your customizations applied to single page exports, I highly recommend that you check out this app made by my team at K15t: [Scroll PDF Exporter for Confluence](https://marketplace.atlassian.com/apps/7019/scroll-pdf-exporter-for-confluence?tab=overview&hosting=cloud)

It not only makes it easier to customize your header, but it also comes with lots of other features for designing your PDF exports that will make your Company Documentation adhere to your brand much better. Here's a screenshot of what defining a header in our app looks like:

![Screen+Shot+2021-10-19+at+14.53.59.png](https://community.atlassian.com/t5/image/serverpage/image-id/168813i4B7EDBFAC7C6E3BC/image-size/large?v=v2&px=999 "Screen+Shot+2021-10-19+at+14.53.59.png")

Hope this helps! If you have any questions, let me know!

Cheers,  
Sven

comments: author: Andrea Chiericati
body: Hi [@Sven Schatter _K15t_](/t5/user/viewprofilepage/user-id/4546729) thank you for your fast reply,

i following this guide <https://support.atlassian.com/confluence-cloud/docs/advanced-pdf-export-customizations/> but this step doesn't work:

![2021-11-11 09_23_40-Window.png](https://community.atlassian.com/t5/image/serverpage/image-id/168878i98C6C9A3B0927267/image-size/large?v=v2&px=999 "2021-11-11 09_23_40-Window.png")

I could solve *playing* with background-image as below, but it is very *hard* to obtain a good result:  

*`@top-center { content: "Document Title Goes Here"; /* This is the content that will appear in the header */ font-family: ConfluenceInstalledFont, Helvetica, Arial, sans-serif; font-size:`
`8pt;`
**backroung-image**`="..."}`*

Your app it is very interesting, pricing is aligned to admin user or all cloud instance users? For sure i will test it.

Kr


author: Sven Schatter _K15t_
body: Thanks for sharing your findings [@Andrea Chiericati](/t5/user/viewprofilepage/user-id/4605236)!

The pricing of apps always depends on the number of users in your whole instance. This is how Atlassian explains it in the [Marketplace FAQ](https://www.atlassian.com/licensing/marketplace):
> **How do I determine my Cloud pricing?**  
> Apps are billed based on the number of users in your Atlassian product. Confluence Cloud apps are priced based on the number of Confluence users on your instance. For example, if you have Confluence Cloud (25 users), you pay the 25-user price for apps.
>
> The pricing structure for cloud apps is as follows:
>
> * Monthly subscriptions with up to 10 Atlassian product users are billed at a flat rate price.
> * Monthly subscriptions with more than 10 users are billed per user, starting at the first user.
> * Monthly subscriptions with more than 100 users are billed per user. The table above provides example pricing at various user levels.
>
> Annual subscriptions may offer a discount depending on the number of users purchased.

Hope this helps! If you have any more questions let me know. :)

Cheers,  
Sven


author: Andrea Chiericati
body: Ok, thank you.

In your app is it poossibile to create PDF with editable fields?

Kr

Andrea


author: Sven Schatter _K15t_
body: Hi [@Andrea Chiericati](/t5/user/viewprofilepage/user-id/4605236),

Unfortunately, that is not possible yet. We are however aware of this feature request and are tracking it here: <https://k15t.jira.com/browse/EXP-3036>

Cheers,  
Sven


author: Andrea Chiericati
body: Perfect, thank you


author: Andrea Chiericati
body: Hi [@Sven Schatter _K15t_](/t5/user/viewprofilepage/user-id/4546729) ,

i'm trying your app.

Is it possible to associate a template only to a specific Spaces?  
Not "global"  

Kr  
Andrea


author: Sven Schatter _K15t_
body: Hi [@Andrea Chiericati](/t5/user/viewprofilepage/user-id/4605236),

Yes, that should be possible! Have you tried doing it the way suggested in the [official documentation](https://help.k15t.com/scroll-pdf-exporter/latest/server/create-and-manage-custom-templates-179700029.html)? You should be able to find that functionality in your space via: **Space tools** \>**Apps** \>**Scroll PDF Exporter**

Cheers,  
Sven


author: Andrea Chiericati
body: Ok perfect, i must create the new template inside Site tools, not in Confluence tools.  

very helpful

Could be an improvment change in edit option of the templates the related visibility/association

Kr

Andrea


Tags: cloud

confluence-cloud