Hi,

I'm on a process booklet in PDF. I have a Cover-Page, a TOC-Page and also the Content-Pages.

For every Section, I call the same function to build the header and footer like this:

Cover-Page:

    p_Output.BeginSection(true, Constants.SECTION_COVER);
    setReport_Header_Footer(p_Output,p_Model.Name(nLocale));

TOC-Page:

    p_Output.BeginSection(true, Constants.SECTION_INDEX);
    setReport_Header_Footer(p_Output,p_Model.Name(nLocale));

Content-Page:

    p_Output.BeginSection(true,Constants.SECTION_DEFAULT );
    setReport_Header_Footer(p_Output,p_Model.Name(nLocale));

But the Output has two Problems:

1. All pages have lines in the Table of Header and Footer, exept the TOC page. There are no Borders. Why?

2. Cover- and TOC-Page are showing page 1 from 1 when I use "Constants.FIELD_PAGE" and "Constants.FIELD_NUMPAGES" only the Content-Section works nearly fine. The Section begins to count from 1. In the help --> Method "BeginSection", I found the Note "In Pdf the SECTION_COVER and the SECTION_INDEX creates respectively a new Document". Is this the Problem? Any Workarounds? How can I read the Section-Name later to remove page-number on the Cover- and TOC-Section?

 

Regards,

Dominik

 or register to reply.

Notify Moderator