Add header and footer Java API examples

New Here ,
Aug 19, 2021 Aug 19, 2021

Copy link to clipboard

Copied

How to add header and footer while html to pdf genration in Adobe.

I have dowloaded sample example and its having below method to set header footer option true or false. But not getting from where we can replace header & footer .

CreatePDFOptions htmlToPdfOptions = CreatePDFOptions.htmlOptionsBuilder()
.includeHeaderFooter(false)
.withPageLayout(pageLayout)
.withDataToMerge(dataToMerge)
.build();

 

Any suggesstions, please help.

TOPICS
How to

Views

95

Likes

Translate

Translate

Report

Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
New Here ,
Jul 05, 2022 Jul 05, 2022

Copy link to clipboard

Copied

I am getting the same issue, Got good results from Html to PDF but with default Header and Footer, want to customize it. does Adobe support Customized header and footer?

Likes

Translate

Translate

Report

Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
Adobe Community Professional ,
Jul 05, 2022 Jul 05, 2022

Copy link to clipboard

Copied

In Adobe Acrobat you can add header and footer.

Likes

Translate

Translate

Report

Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
New Here ,
Jul 06, 2022 Jul 06, 2022

Copy link to clipboard

Copied

Can you please elaborate this or can share any reference or link where we could find relevant code sample to add customized header and footer  (HTML to PDF)! Please

 

Thanks

Likes

Translate

Translate

Report

Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
Adobe Community Professional ,
Jul 06, 2022 Jul 06, 2022

Copy link to clipboard

Copied

In Adobe Acrobat you can add header and footer at Tools > Edit PDF.

Likes

Translate

Translate

Report

Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
New Here ,
Jul 06, 2022 Jul 06, 2022

Copy link to clipboard

Copied

I am using Adobe PDF api in .Net instead of Adobe Acerobet reader/editor. In that I am successfully able to convert the HTML to PDF with default Header and Footer it is Indented to be customized. does Adobe Acerobet support customized header and footer with api ?

Thanks for your response.

Likes

Translate

Translate

Report

Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
LEGEND ,
Jul 07, 2022 Jul 07, 2022

Copy link to clipboard

Copied

LATEST

If you are using the Document Services API, this is the wrong forum. The Document Services API runs online and does not involve Acrobat in any way. Please post in Document Services APIs - Adobe Support Community

Likes

Translate

Translate

Report

Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines