Profile picture for user sadnan

 

Hi everyone,   I want to share/confirm the following issue with ARIS Reporting Mechanism.   Business Server: version 7.1.0.42xxx Server Operating System: Windows 2003 64 bit Client Operating System: Windows XP + MS Office 2007 Suite Installed  Recently I was trying to integrate ARIS with a Document Management System (DMS) so that reports generated from ARIS will be uploaded to DMS. I wrote scripts and code on both sides (ARIS and DMS) to allow this kind of integration.   I then ran a simple report to show model and it's graphics on a WORD file. Our client environment is purely MS Office Productivity suite so it does not make sense to upload documents in PDF format. With WORD file you have other benefits like EDIT ONLINE feature supported by most DMS throught webdav or other virtual file management protocol.   I choose to run report Standard Report --> Model Information and evaluate the report.                       I then opened the report and it was showing all information including model graphics.   Now this is the problematic part, I then noticed one thing that, the file size of WORD file is too huge which is generated from ARIS Business Server and I did not modified any part of it as shown below:     Look 8MB is too much capacity for a document to just include one graphics. I did little experiment, and open and save the same file from MS Word Software.     There is no comparison in terms of the above file size. compare 8mb with 190 KB.   Then I ran the same report and generated PDF Report File with acceptable file size.     I was wondering whats wrong with the file size as far as word document is concerned. Then suddenly I realized ARIS Business Server is not generating pure MS WORD Files. I then open the WORD report generated from ARIS in text editor and jackpot. I was so right when I saw the following result:     To ordinary human beings, this looks like a scene from MATRIX movie but I know what the above data is all about as I have done quite a bit research in Image Processing during my Masters in Computer Science mainly utilizing Matlab toolbox and I was used to looking and staring at these sort of data.   The above data is a matrix data of model graphics that I used to display. ARIS Server does not generate pure WORD File. It's sort of a text file with image data inserted on it without any compression. As I demonstrated PDF file format works perfectly well.   ...continued.....
by adnan shahab Author
Posted on Tue, 01/25/2011 - 07:55

My apology for multiple edit of the article. It was due to the wrong format appearing but now I fixed the format problem.

0
by Sebastian Stein
Posted on Tue, 01/25/2011 - 10:45

Hi Adnan,

I think the way it is done now allows editing the ARIS image directly in the Word document. So it is probably a vector format.

0
by adnan shahab Author
Posted on Tue, 01/25/2011 - 11:29

@Stein,

What kind of Image Editing are you talking about in word file? Can I move around the symbols on model graphics in word File? MS Word will not perform any image processing to convert model graphics into squares and boxes to be edited on word file. Imagine if I ran the same report on 10 models with 100% zoom size (to make picture visible). The size of file become huge.

Imagine 47 MB just for 10 model graphics vs. 2MB file which I get when I use MS WORD to convert ARIS Report DOC file to regular MS DOC file (used SAVE AS in MS WORD Software).

Instead of inserting image in jpg or other format, the code behind ARIS Reporting Component dump the raw image vector data which is of no use other than making document size huge. Imagine this is only one model graphic file inserted on word document.

Binary vs Raw Image Data

0
by Sebastian Stein
Posted on Tue, 01/25/2011 - 11:32

Well, I don't know how it works exactly, but it is definetely not a good idea to insert an image as JPG, but instead a vector format must be used. This ensures good printing quality on all zoom levels. But let's wait if some of the devs clarify this.

0
by adnan shahab Author
Posted on Tue, 01/25/2011 - 11:56

I wrote this article to stress on two points:

  • Just because you change a file extension for example you create a text document (myreport.txt) and insert the text inside it and then you rename it to (myreport.doc) will not mean that you have created a valid MS WORD DOC file. But if you have open the text file in word and use Save As option then you will have a valid MS WORD DOC File.
  • Secondly ARIS Business Server does not need to have MS OFFICE Installed on same machine for WORD Document Reporting. ARIS Business Server is not making any use of it. It just create RTF type document and rename this to <.DOC>. In my opinion, ARIS Business Server should call MS Office Suite  to convert the DOC file and then send to the client. It's not very difficult to code.
0
by Sebastian Stein
Posted on Tue, 01/25/2011 - 14:23

Hi Adnan,

I talked to the devs and now I remember again what causes this. At the moment, it can't be solved, but creating real Word (doc) files is on the roadmap for ARIS 7.2 (don't ask me for a release date). You can try to get around this problem by disabling the gradient in the objects. In that case, the generated file should be far smaller.

0
by adnan shahab Author
Posted on Tue, 01/25/2011 - 15:16

Thanks for your help. I did that and ran the MODEL graphics report on 10 models and file size is reduced to 10 MB from 45MB file size (it still huge size if you compare it with regular WORD doc file). But the output is not very attractive in word file (black and white model graphics).

0
by Han Boogaardt
Posted on Thu, 07/14/2011 - 10:57

"creating real Word (doc) files is on the roadmap for ARIS 7.2"

 

Unfortunately this is not the case. ARIS 7.2 still produces only RTF-Word files. So we still have to install and use OpenOffice and a Java converter libray to produce real binary DOC-Word files with ARIS reports.

0
by Han Boogaardt
Posted on Wed, 07/27/2011 - 13:09

In reply to by Frank Weyand

I just learned that it's now possible (using ARIS build 7.2.0.546073) to generate real Word binary documents.

To use it in a script do the following:



Add the line



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

This line should be inserted before the output object is created (with 'Context.createOutputObject').

If you use Word as output, I recommend to use this new feature. It reduces the output files considerably.

 

0
by Hans Sidharta
Posted on Mon, 11/21/2011 - 11:53

Hi,

I tried to use the syntax:

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

but somehow now my Table of Contents is missing.
Is it only me who is facing this problem? Or is it a known bug with that new syntax?
Cause I tried with the standard report 'Output Model Information' also produce the same result; Table of Contents is missing.

Thanks.

0
by Thierry Caro
Posted on Fri, 02/03/2012 - 11:11

Hello

I also face troubles with 'Context.createOutputObject' with 7.1.0 SR 2010_09.

Despite using the format Constants.OUTWORD and the .doc extension, the reports produced are not real .doc, but .rtf, as proven when MSWord (2010) tries to "save as" always in rtf format by default.

I tried using Context.setProperty("use-new-output", true), but it had no effect at all.

Thanks for any suggestion

0
by Bharat Bajaj
Posted on Fri, 02/24/2012 - 15:54

Hello,

 

I am facing the same issue of missing TOC with the usage of Context.setProperty("use-new-output", true) in ARIS 7.2.

Is there is solution to this problem ?

Regards.

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