FW

Hi ARIS Community

When I try to create a TOC in my report the page numbers a not updated, I have to do it manually in word.

I use the

outFile.SetAutoTOCNumbering(true);

but it does not seems to work.

Have anyone got this to work?

Regards Fredrik

by Torsten Haase
Posted on Mon, 04/28/2014 - 16:40

Hi Fredrik,



do you use ARIS 9 or ARIS 7.2?

In ARIS 7.2 the standard report output object "tries" to tell MS Word to update the TOC field, but Word does not do it. By adding the following line to your script before creating the output object, the ARIS Report will use a different implementation of the output object:



Context.setProperty("use-new-output", true)



This will update TOC field correctly.



BR, Torsten

0
by Fredrik Wirström Author
Posted on Tue, 04/29/2014 - 09:54

In reply to by thaase

Hi Torsten

Thanks for your reply! I am using ARIS 7.2 and when I add the

 

Context.setProperty("use-new-output", true);

the TOC updates the page number correct but the layout on the report becomes strange the table cell background color doesn't fill up the hole cell only behind the text and the placement of the cells is mixed up.

 

Best Regards

Fredrik

0

Featured achievement

Rookie
Say hello to the ARIS Community! Personalize your community experience by following forums or tags, liking a post or uploading a profile picture.
Recent Unlocks

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