Welcome, Guest. Please login or register.
Did you miss your activation email?

Author Topic: Table of Contents  (Read 3289 times)

tb

  • Newbie
  • *
  • Posts: 3
    • View Profile
Table of Contents
« on: July 31, 2017, 09:15:26 am »
Hello,

first I thank you for this great library, it seems like it will save me a lot of effort.
Despite the many features LimeReport is offering, I still miss the option of adding a table of contents to the report.
I tried to work around that myself, by setting variables on rendering time, but it seems that is not the way to go, because the value at the ToC page ist rendered before the variable is set later on. On second time rendering the value of last turn is set.
But there must be a better way to do that.
Did anyone else have to create a table of contents and found a solution?
Is such a feature under development and will it be released soon?

Thank you very much in advance.

Best regards

Tobias
 

Arin Alex

  • Developer
  • Administrator
  • Hero Member
  • *****
  • Posts: 1005
    • View Profile
Re: Table of Contents
« Reply #1 on: August 02, 2017, 09:53:18 am »
Hi!
Unfortunately at the moment there is no way to add toc to report.
I will think about it.
Do you have any suggestion how to do it better?

tb

  • Newbie
  • *
  • Posts: 3
    • View Profile
Re: Table of Contents
« Reply #2 on: August 02, 2017, 10:20:16 am »
I dont know how the addition of the last page number internally works. (page 1 of 10)
Maybe thats the way to go. Then one could add like a tag to the text-field that should be referenced in the toc.
At the end (the same time the last page number is rendered) the text marked with the tag is put into the toc and combined with the saved page number.
Not sure if I think to simple, but that would be my first try.

Thank you for looking into it.

Best regards

Tobias

Arin Alex

  • Developer
  • Administrator
  • Hero Member
  • *****
  • Posts: 1005
    • View Profile
Re: Table of Contents
« Reply #3 on: September 04, 2017, 09:43:57 pm »
Hi
I have added the TOC generation to the development branch at github 

https://youtu.be/9tVicuuTWFc
« Last Edit: September 05, 2017, 12:46:40 am by Arin Alex »

tb

  • Newbie
  • *
  • Posts: 3
    • View Profile
Re: Table of Contents
« Reply #4 on: September 12, 2017, 11:46:40 am »
Thank you very much!
I will try it out as soon as possible.
Great Support!

Best Regards

Tobias