Sparx Systems Forum

Enterprise Architect => Automation Interface, Add-Ins and Tools => Topic started by: Ian Mitchell on October 15, 2013, 04:45:27 pm

Title: MS Word Import tool ?
Post by: Ian Mitchell on October 15, 2013, 04:45:27 pm
I have a customer who needs a way of doing a 1-off import of a number of large MS Word documents into EA, and breaking them up into separate Packages, Requirements, Classes, Features etc. so they can then use EA to manage the data.
Does anyone know of any tools which might help them ?

What I had in mind was a 2-stage process.

Has anyone written anything to do this? Has anyone any experience of doing his some other way?
Thanks
Title: Re: MS Word Import tool ?
Post by: qwerty on October 15, 2013, 08:45:00 pm
I'd try DOORS. That's the only tool I know which can do such kind of work.

q.
Title: Re: MS Word Import tool ?
Post by: Sam Courtney on October 15, 2013, 10:01:00 pm
Agree with Qwerty, this type of heavy, complex RM work is best accomplished in a tool like DOORS. We resell DOORS and provide consulting for the integration if you are interested.
Title: Re: MS Word Import tool ?
Post by: Ian Mitchell on October 16, 2013, 07:57:37 pm
Thanks for the tips chaps, but.....DOORS?? Seriously??
This is the tool I spend my life trying to get people AWAY from!
Any suggestions which don't involve selling competitive (and expensive) products to my customer ?

They just want a 1-time migration from Word documents to EA. I'm sure SOMEONE must have done this before.
Title: Re: MS Word Import tool ?
Post by: qwerty on October 16, 2013, 09:32:12 pm
I know that DOORS has stopped developing its "GUI" somewhere in the mid 90's. But to my knowledge it's one of the few tools doing that kind of job.

Of course you can script MS Word to do what you want. But maybe if it's a one-time task: send the job to India.

q.
Title: Re: MS Word Import tool ?
Post by: OpenIT Solutions on October 17, 2013, 12:51:16 am
The half way house i used for this was a modified version of Geerts excel imports script. My users had tables of requirements in Word documents. So i got them to paste the tables into my modified import script, which created packages and requirement objects.
Title: Re: MS Word Import tool ?
Post by: Eve on October 17, 2013, 10:03:31 am
I don't know of any tool already written.

With a quick search I did find the following link which gives you a start towards doing it.

http://blogs.technet.com/b/heyscriptingguy/archive/2005/05/25/how-can-i-extract-word-paragraphs-that-use-a-specific-style.aspx

It wouldn't take too much to modify that to use EA's automation interface to create packages from headings and requirements (or another type) from paragraphs.

Title: Re: MS Word Import tool ?
Post by: Ian Mitchell on October 17, 2013, 07:17:30 pm
Thanks @SimonM - that's the direction I was thinking of, but I thought that the quickest way to get there was to see if someone had already done it.
I'm surprised nobody has, as it's a scenario which I come across quite a lot in the UK.
Ho Hum - back to the maze of twisty passages...
Title: Re: MS Word Import tool ?
Post by: qwerty on October 17, 2013, 08:23:19 pm
You could make it a product :-)

q.
Title: Re: MS Word Import tool ?
Post by: jfzouain on October 22, 2013, 01:32:03 am
Hi

I have done all this but not using MS Word, but with MS Excel.
And it works great.

Regards
Title: Re: MS Word Import tool ?
Post by: Stefan Bolleininger on October 23, 2013, 09:30:22 pm
Dear Jose,

would you share your scripting?

Dear Ian,
it would be a great value, which I tried once ago, but was left with the different headings and paragraph formats.

My intention was round-tripping:

1. Import from document to model
2. Generate a Report from your model
3. Edit it in Word
4. Re-Import the Document ...

Unfortunately I never finished it. - Lack of time..

Regards

Stefan

Title: Re: MS Word Import tool ?
Post by: jfzouain on October 26, 2013, 01:31:54 am
Hi Stefan

Do a search in EA Help -> CSV, Import

It tells you how to import from an excel file that was save as as a csv, it is very simple just create columns as the example, and voila import into EA. You have to copy or convert your word doc into excel columns.
Title: Re: MS Word Import tool ?
Post by: Nizam Mohamed on February 21, 2014, 02:56:57 pm
Please check this...
http://www.sparxsystems.com/cgi-bin/yabb/YaBB.cgi?num=1392617801
Title: Re: MS Word Import tool ?
Post by: Dermot on February 26, 2014, 03:42:09 pm
Ian - for your first point see also this document library importer on the commnity site:
http://community.sparxsystems.com/community-resources/511-83importing-a-document-library-into-enterprise-architect