Table of content add title-page

Hello,

I have the table of content working ok now.
This leaves me with a designer issue.

  1. How can I add a title page BEFORE the actual table of content?
  2. How to pass application data to the TOC (Name of customer)?

Regards,
Jack Duijf

Hi Jack,

thank you for your post.

  1. title page

You will need a further separate report file for the title page which only includes one page with the title. Afterwards you have to print/export both (title.lst and report.lst including TOC) to the preview file format *.LL. The following step then will be to append both LL files to each other using the Storage-API LlStgsysAppend(). For more information please have a look in the programmer’s manual chapter “3.7.2. Merging Multiple Preview Files”.

  1. TOC

You can handover your variables to the TOC. Please use the option “LL_OPTION_PARTSHARINGFLAGS” (int 231) and set it to “LL_PARTSHARINGFLAG_VARIABLES_TOC” (0x01):

LL.Core.LlSetOption(231,1);

Best regards,

Christian Rauchfuß
Technical Support
combit GmbH

Hello Christian,

Thank you for the reply.
I get the report now in the correct order.
I also learned the concept of the preview files.

Regards,
Jack Duijf