JD

Hello,

I created a report which reads the model attributes and adds it to a table in word, pdf or excel. Is it possible to change the page format (like A0-A4) and the orientation in the report depending on how many attributes are selected to show in the file?

Best regards.

by Tricarico Romain
Posted on Fri, 10/23/2015 - 17:38

Hello,

I do it in all my reports for my customers.

Depending the attribute value of the model, I define the page in A0, A3, A4, landscape or portrait :

//Here I start a new section
ofl.BeginSection(true, Constants.SECTION_DEFAULT);
             //Here I define the format of the page
            ofl.SetPageWidth(this.formatWidthHeight[0]);//Width
            ofl.SetPageHeight(this.formatWidthHeight[1]);//Height
             //the following funciton print the model on the output file
            printModel(ofl, this.model);
        ofl.EndSection();

Best Regards.

0
by Robert Goldenbaum
Badge for 'Question Solver' achievement
Posted on Thu, 11/05/2015 - 10:12

Hi,

hm, this does not seem to work with the new output object and the extended outputs, does it ?

If I add a section there, it always gets moved to the end of the document...

Robert

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