Author Topic: MS Word Import tool ?  (Read 9532 times)

Ian Mitchell

  • EA User
  • **
  • Posts: 506
  • Karma: +22/-4
  • The eaDocX and Model Expert guy
    • View Profile
MS Word Import tool ?
« 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.
  • First they take the heading structure of the document and make it into the EA Package structure. Maybe they might then take the content under each heading and make it into a Linked Document under each EA Package. This would at least get everything into EA.
  • They would then have to go through all the content, and highlight individual sentences/paragraphs, and make then into the relevant EA elements.

Has anyone written anything to do this? Has anyone any experience of doing his some other way?
Thanks
Ian Mitchell, Designer, eaDocX


www.eaDocX.com
www.theartfulmodeller.com

qwerty

  • EA Guru
  • *****
  • Posts: 13584
  • Karma: +396/-301
  • I'm no guru at all
    • View Profile
Re: MS Word Import tool ?
« Reply #1 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.

Sam Courtney

  • EA User
  • **
  • Posts: 58
  • Karma: +1/-0
    • View Profile
Re: MS Word Import tool ?
« Reply #2 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.

Ian Mitchell

  • EA User
  • **
  • Posts: 506
  • Karma: +22/-4
  • The eaDocX and Model Expert guy
    • View Profile
Re: MS Word Import tool ?
« Reply #3 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.
« Last Edit: October 16, 2013, 07:58:26 pm by ianemitchell »
Ian Mitchell, Designer, eaDocX


www.eaDocX.com
www.theartfulmodeller.com

qwerty

  • EA Guru
  • *****
  • Posts: 13584
  • Karma: +396/-301
  • I'm no guru at all
    • View Profile
Re: MS Word Import tool ?
« Reply #4 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.

OpenIT Solutions

  • EA User
  • **
  • Posts: 555
  • Karma: +9/-1
    • View Profile
Re: MS Word Import tool ?
« Reply #5 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.

Eve

  • EA Administrator
  • EA Guru
  • *****
  • Posts: 8083
  • Karma: +118/-20
    • View Profile
Re: MS Word Import tool ?
« Reply #6 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.


Ian Mitchell

  • EA User
  • **
  • Posts: 506
  • Karma: +22/-4
  • The eaDocX and Model Expert guy
    • View Profile
Re: MS Word Import tool ?
« Reply #7 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...
Ian Mitchell, Designer, eaDocX


www.eaDocX.com
www.theartfulmodeller.com

qwerty

  • EA Guru
  • *****
  • Posts: 13584
  • Karma: +396/-301
  • I'm no guru at all
    • View Profile
Re: MS Word Import tool ?
« Reply #8 on: October 17, 2013, 08:23:19 pm »
You could make it a product :-)

q.

jfzouain

  • EA User
  • **
  • Posts: 152
  • Karma: +6/-1
    • View Profile
Re: MS Word Import tool ?
« Reply #9 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
Best regards

Jose Zouain

Stefan Bolleininger

  • EA User
  • **
  • Posts: 308
  • Karma: +0/-0
    • View Profile
Re: MS Word Import tool ?
« Reply #10 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

Enterprise Architect in "safetycritical development" like medical device industry. My free Add-in at my Website

jfzouain

  • EA User
  • **
  • Posts: 152
  • Karma: +6/-1
    • View Profile
Re: MS Word Import tool ?
« Reply #11 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.
Best regards

Jose Zouain

Nizam Mohamed

  • EA User
  • **
  • Posts: 193
  • Karma: +1/-0
    • View Profile
Re: MS Word Import tool ?
« Reply #12 on: February 21, 2014, 02:56:57 pm »

Dermot

  • EA Administrator
  • EA User
  • *****
  • Posts: 591
  • Karma: +7/-0
    • View Profile
Re: MS Word Import tool ?
« Reply #13 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