Show Posts

This section allows you to view all posts made by this member. Note that you can only see posts made in areas you currently have access to.


Messages - JamesHacker

Pages: [1]
1
SOLVED.
Mogwai http://mogwai.sourceforge.net/?Welcome   have made available a plugin that allows EA projects to be exported as reports to DOCX.
Happily, "EA Report" is open source and written in Java.
http://mogwai.sourceforge.net/?Welcome:EAReport

Thanks and thanks to the Mogwai guys,

James

2
To reply to my own topic, The .NET route is not practical. The .NET so-called Open XML SDK is practically usable for this purpose (it seems to be a badly designed and difficult to use API). Event the .NET evangelist bloggers say that this kind of problem is very difficult in .NET.

The conclusion that I have come to, it that it is far more practical to use Java (with an IDE like Eclipse) and Java libs to unzip the DOCX files and maniplulate the XML files and other contents.

For a basic but informative example, see,
http://www.infoq.com/articles/cracking-office-2007-with-java

Apache POI, at time of writing, might be able to work with DOCX at sufficient level, possibly, but it seems a bit bleeding edge for DOCX, but I have not researched this heavily.

Please get in touch if someone has done something like this.
Thanks

3
Hi!
I have created an external program that is able to call the EA "Automation Interface" (AI).

What I need to do: Use this API to extract models, packages etc from EA and generate a DOCX file (DOCX being based on so-called Open XML.

I am using C# for the sole reason that I think I will be using the .NET Open XML SDK V2 library/API.

Can anyone provide some code (in c# or another language) that creates DOCX files using EA AI"? If not, even tips will be welcome! I'm a java programmer, and am new to both C#, OPEN XML SDK and AI.

Alternatively, does anyone have a ready-made EA plugin to do this?
Thanks for any info or assistance!

James

4
Quote
I have built an application that reads ea files and generates MS word files.    ...
I am simply extending EA report generator for custom reports.

Hi!
I am writing a program in C# (because we need to create a DOCX report) that is able to call the EA "Automation Interface" (AI). My next task is to use this API to extract stuff from EA and generate a DOCX (MS Office is used where I work) file.

Report-Developer or anyone else, can you provide some code (in c# or any language) that does some or all of this "create Docx using EA AI" task? If not, even tips will be welcome! I'm a java programmer, but am new to both C# and AI.

Alternatively, does anyone have a ready-made EA plugin to do this?
Thanks for any info or assistance!

James

Pages: [1]