Using xrTableOfContents

2

In my application, I have 3 different files of XtraReport . That is, I practically generate 3 reports and all together in one PDF. In the first XtraReport , I have the xrTableOfContents1 component that serves as the index. To add something to it, I just need to set the Bookmark property of another component to its title and page. When it is a component that belongs to the same XtraReport it works, but when it is of another XtraReport it does not work. How can I resolve this problem?

I set the property as follows in runtime :

Titulo.Bookmark = titulo;

But Titulo does not belong to the same XtraReport of xrTableOfContents1 ...

Issue 1: Maybe this example in Github me help, but when I try to implement it, I get this error .

Issue 2: Since I did not get progress with the previous idea, I'm trying to generate the index of other way , storing the page number of each element in an array and then generating the index in an XRTable.

Issue 3: I was able to solve the problem with the idea mentioned in Issue 2, but if it works with Bookmark it would be better ...

    
asked by anonymous 27.04.2018 / 16:26

0 answers