ARIS Community - We Love BPM

Summary

marcosplz's picture
by Marcos Luiz in Reports & Macros posted on 2016-06-22

Hy everone,

how to insert a summary in a report aris?

Congrats

9571 Views
0 Likes
2 Comments
There are no attachments
Robert Goldenbaum posted on 2016-06-23

Hi,

what do you mean with a summary ?

Tricarico Romain posted on 2016-06-23

Hello, if you mean "Table of content",

This code creates it :

function indexPage(){
    ofl.BeginSection(false, Constants.SECTION_INDEX);
    
    //Defines the style for the four levels in the TOC
    ofl.SetTOCFormat(0, "Arial", 11, Constants.C_BLACK, Constants.C_WHITE, Constants.FMT_LEFT | Constants.FMT_BOLD | Constants.FMT_TOCENTRY0, 0, 0, 0, 0);
    ofl.SetTOCFormat(1, "Times New Roman", 11, Constants.C_BLACK, Constants.C_WHITE, Constants.FMT_LEFT | Constants.FMT_BOLD | Constants.FMT_TOCENTRY1, 5, 5, 2, 2);
    ofl.SetTOCFormat(2, "Times New Roman", 11, Constants.C_BLACK, Constants.C_WHITE, Constants.FMT_LEFT | Constants.FMT_TOCENTRY2, 10 , 5, 2, 2);
    ofl.SetTOCFormat(3, "Times New Roman", 10, Constants.C_BLACK, Constants.C_WHITE, Constants.FMT_LEFT | Constants.FMT_TOCENTRY3, 15, 5, 2, 2);
    //Adds the table of content
    ofl.OutputField(Constants.FIELD_TOC, "Arial", 10, Constants.C_BLACK, Constants.C_WHITE, Constants.FMT_LEFT);
    ofl.EndSection();
}

 

Hope it helps.

Best Regards