Hello, how do i create a script with ToC (Table of Content) ? I have tried
output.BeginSection(false, Constants.SECTION_INDEX); output.SetAutoTOCNumbering(true); output.OutputField(Constants.FIELD_TOC, "Arial", 10, Constants.C_BLACK, Constants.C_WHITE, Constants.FMT_LEFT); output.EndSection();
but it doesn't output anything. Of course, i need some kind of "tokens" based on which ToC would be generated, but what this "tokens" are? How they look like? And am generating ToC properly?