C
Claiton Lovato Junior
Hi,
I am creating an Add-In to generate some Word documents from my Visio
Diagrams, and now I need to read the Objects of a an UML Model Diagram, such
as each class and her Attributes, operations (With parameters). Like the
"Static Structure Report" from "UML Report" of Visio
But the only way I found to read this information was from Shapes.Item
(as I show at the ex.). But using this, everything come together: as in
strMethods reads all methods "+Insert() : Boolean +Update() : Boolean
+Delete() : Boolean +Select(in CdTest : Long = 0) : Object ", And with this,
if the user choose to hide some information on the shape I can't get it. I
wanna read the objects properties, each value separated, and for each value
I read I could read his sub-values, as Method Parameters.
Any Idea? I read some thing sayng that this objects are not exposed via the
COM interface, is it true ????
ex:
strClassName = shpObj.Shapes.Item(7).Text
strProperties = shpObj.Shapes.Item(6).Text
strMethods = shpObj.Shapes.Item(5).Text
Thanks,
Claiton
I am creating an Add-In to generate some Word documents from my Visio
Diagrams, and now I need to read the Objects of a an UML Model Diagram, such
as each class and her Attributes, operations (With parameters). Like the
"Static Structure Report" from "UML Report" of Visio
But the only way I found to read this information was from Shapes.Item
(as I show at the ex.). But using this, everything come together: as in
strMethods reads all methods "+Insert() : Boolean +Update() : Boolean
+Delete() : Boolean +Select(in CdTest : Long = 0) : Object ", And with this,
if the user choose to hide some information on the shape I can't get it. I
wanna read the objects properties, each value separated, and for each value
I read I could read his sub-values, as Method Parameters.
Any Idea? I read some thing sayng that this objects are not exposed via the
COM interface, is it true ????
ex:
strClassName = shpObj.Shapes.Item(7).Text
strProperties = shpObj.Shapes.Item(6).Text
strMethods = shpObj.Shapes.Item(5).Text
Thanks,
Claiton