SN

Hi,

Do you know if it is possible to create ARIS reports to generate excel output with spanned rows/columns.

Thank you,

Sam

by Eva Klein
Badge for 'Community Team' achievement
Posted on Tue, 07/19/2011 - 14:02

Hi Sam,

I'm not sure what you want to know. Can you please explain what exactly you mean with spanned?

Regards

Eva

0
by Sam Nguyen Author
Posted on Tue, 07/19/2011 - 14:27

Hi Eva,

Thanks for your reply. Below is the content that I am after, when the result is duplicated, I would like to have the cell merged like this, is it possible?

Thanks,

Sam

0
by Eva Klein
Badge for 'Community Team' achievement
Posted on Tue, 07/19/2011 - 15:18

Hm okay, to merge the cells you need to know if the object types are the same. Then you can use the method below and say start from cell1 to cell1+i:

addRegion ( int p_nFromColumn, int p_nToColumn, int p_nFromRow, int p_nToRow )

The method "addRegion" creates a new region of merged cells and returns it. I'm not sure if it works I found it in the help;-).      

Regards

Eva

0
by Eva Klein
Badge for 'Community Team' achievement
Posted on Wed, 07/20/2011 - 08:46

Hi Sam,

No, the report in this post provides only information on the picture, for example the model name. It doesn't merge the rows.

You should test the method above. If you need further help please ask me.

Regards

Eva

0
by Francois Du Toit
Posted on Wed, 08/03/2011 - 13:34

Hi Sam,

Please have a look at the class below:

BeginTable ( int p_iWidthPercent, List widthsPercent, int p_BorderColor, int p_BkColor, int p_Format, int p_iIndent )

 

Starts output of a table.

Tip: In Excel output format, this creates a new worksheet.



Example:

 

var File = Context.createOutputObject();  
var colWidthList = new java.util.ArrayList(); 
colWidthList.add(25); 
colWidthList.add(25); 
colWidthList.add(25); 
colWidthList.add(25);  

File.BeginTable(100, colWidthList, Constants.C_BLACK,Constants.C_WHITE,Constants.FMT_LEFT | Constants.FMT_ITALIC,0); File.TableRow(); 
    File.TableCell(" this is the text of cell 1 ",1,1,"Arial",10,Constants.C_BLACK,Constants.C_WHITE,0,Constants.FMT_CENTER,0); 
    File.TableCell(" this is the text of cell 2 ",1,2,"Arial",10,Constants.C_BLACK,Constants.C_WHITE,0,Constants.FMT_CENTER,0); 
    File.TableCell(" this is the text of cell 3 ",1,1,"Arial",10,Constants.C_BLACK,Constants.C_WHITE,0,Constants.FMT_CENTER,0); 
File.EndTable("TESTSHEET1",100, "Arial",10,Constants.C_BLACK,Constants.C_BLACK,0,Constants.FMT_LEFT | Constants.FMT_ITALIC,0);



Description:

Table, left aligned, with one row and four columns.

The second column ranges from second to third column.

Rgs,

Francois du Toit

0
by Sam Nguyen
Posted on Sun, 08/07/2011 - 14:13

Hi Francois,

Thanks for the tips, that just works.

Cheers,

Sam

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