Book a Demo

Author Topic: Word Macro reverse engineering  (Read 2932 times)

declark

  • EA Novice
  • *
  • Posts: 1
  • Karma: +0/-0
  • I love YaBB 1G - SP1!
    • View Profile
Word Macro reverse engineering
« on: June 07, 2007, 06:30:11 am »
Hi

I would like to use EA to document a fairly large word macro which we use.
I have reversed engineered the macro and i now have a class strero typed as a word macro, with all the macro's functions in it.
I would now like to produce a activity digram for each of the functions to show how each function works but i cant see how you associate the diagram with the function.
Does anyone know who to do this?


Thanks

Dave

«Midnight»

  • EA Guru
  • *****
  • Posts: 5651
  • Karma: +0/-0
  • That nice Mister Grey
    • View Profile
Re: Word Macro reverse engineering
« Reply #1 on: June 07, 2007, 07:18:55 am »
I don't think you can reverse VBA, at least not into sequence or activity diagrams.

This might have changed for version 7.0. I suggest you consult the release notes if you have access to the beta.
No, you can't have it!

Paolo F Cantoni

  • EA Guru
  • *****
  • Posts: 8626
  • Karma: +259/-129
  • Inconsistently correct systems DON'T EXIST!
    • View Profile
Re: Word Macro reverse engineering
« Reply #2 on: June 07, 2007, 09:52:01 am »
Quote
I don't think you can reverse VBA, at least not into sequence or activity diagrams.

This might have changed for version 7.0. I suggest you consult the release notes if you have access to the beta.
David,

I believe Dave's question is about associating diagrams with the Class methods.  He's already RE'd the macro (as I have also done).

Dave,

No, you can't really attach a diagram to a method as methods are not first class citizens of EA's world.  You can create a diagram and "nest" it below the appropriate method in the browser, but this is only a notional nesting - there's no real internal link to select the method and trigger the diagram (such as with EA Elements).

It's my view that methods and attributes are also first-class elements - they just have to have parents.

HTH,
Paolo
Inconsistently correct systems DON'T EXIST!
... Therefore, aim for consistency; in the expectation of achieving correctness....
-Semantica-
Helsinki Principle Rules!