SA

Dear Community,

at the moment i am writing an aris report. The next point is to create a table of content. I am new in this section and dont really know how to do this.

 

Can someone post or give me a link to a good TOC tutorial?

 

Thanks a lot

by Site Administrator
Badge for 'Contributor' achievement
Author
Posted on Wed, 02/29/2012 - 15:18

This is my Code:
----------------------------------------------------------------------------
output.BeginSection(true, Constants.SECTION_INDEX);

output.SetAutoTOCNumbering(true);
//Defines the style for the four levels in the TOC
output.SetTOCFormat(0, "Arial", 12, Constants.C_BLACK, Constants.C_WHITE, Constants.FMT_LEFT | Constants.FMT_BOLD | Constants.FMT_ITALIC, 0, 0, 0, 0);
output.SetTOCFormat(1, "Arial", 12, Constants.C_GREEN, Constants.C_WHITE, Constants.FMT_LEFT | Constants.FMT_BOLD, 5, 5, 2, 2);
//Output text
output.OutputLnF("Inhaltsverzeichnis","TOC");
//Adds the table of content
output.OutputField(Constants.FIELD_TOC, "Arial", 10, Constants.C_BLACK, Constants.C_WHITE, Constants.FMT_LEFT);
output.EndSection();
--------------------------------------------------------------------
But doesnt work

0

Featured achievement

Question Solver
Share your expertise and have your answer accepted as best reply.
Recent Unlocks
  • CR
  • BH
  • Profile picture for user Ivan.Ivanov.softwareag.com
  • Profile picture for user mscheid
  • MS
  • PacMan

Leaderboard

|
icon-arrow-down icon-arrow-cerulean-left icon-arrow-cerulean-right icon-arrow-down icon-arrow-left icon-arrow-right icon-arrow icon-back icon-close icon-comments icon-correct-answer icon-tick icon-download icon-facebook icon-flag icon-google-plus icon-hamburger icon-in icon-info icon-instagram icon-login-true icon-login icon-mail-notification icon-mail icon-mortarboard icon-newsletter icon-notification icon-pinterest icon-plus icon-rss icon-search icon-share icon-shield icon-snapchat icon-star icon-tutorials icon-twitter icon-universities icon-videos icon-views icon-whatsapp icon-xing icon-youtube icon-jobs icon-heart icon-heart2 aris-express bpm-glossary help-intro help-design Process_Mining_Icon help-publishing help-administration help-dashboarding help-archive help-risk icon-knowledge icon-question icon-events icon-message icon-more icon-pencil forum-icon icon-lock