Hi Tristan,
I now tried to do the Documenting in GenDoc2 and OpenOffice. The Problem
here lies I think with the way acceleo get's its documentation from within
the Model. My Problem is as follows:
I have a Class-Diagram with many Packages and DataTypes, Enums and so on.
The first problem ist, that every time I'm trying to get the Documentation
from a Property GenDoc2 won't display anything from this Loop:
<gendoc>
[for(p:Package|self.ownedElement)]
Paket [p.name/]
[p.getDocumentation()/]
[for(c:Class|p.ownedElement)]
Klasse [c.name/]
[for(o:Operation|c.ownedElement)]
Operation [o.name/]
[o.getDocumentation()/]
[/for]
[for(pr:Property|c.ownedElement)]
Property [pr.name/]
[pr.getDocumentation()/]
[/for]
[/for]
[for(dt:DataType|p.ownedElement)]
Datatype [dt.name/]
[dt.getDocumentation()/]
[/for]
[for(e:Enumeration|p.ownedElement)]
Enumeration [e.name/]
[for(el:EnumerationLiteral|e.ownedElement)]
[el.name/]
[el.getDocumentation()/]
[/for]
[/for]
[/for]</gendoc>
I quite don't understand, why GenDoc won't get the Documentation, no error
occurs while Generating the Document
The second thing I'm not so enthusiastic about is that all the Parameters
of the Operations will not be shown in the Documentation (I think that's
because I'm only using c.name, but I don't know which other statement could
do what I want) I would like to see the Operation with all its Parameters
as heading.
Also something that just occured is that my enums will be Display with the
DataTypes. Is that something that should occur??
With my Problem of gendoc1 not displaying the Stereotypes defined in
another Project I'm not really further, when i open the gendoc
produced .gendoc file in topcased and look at one of the loop Items the
browser displays the connection to my other Project with the stereotypes,
so I think it's not a problem of linkage. I will try further and give you
some info on how it's going.
Regards
Dominik
P.S. with gendoc2 I see no stereotypes at all, which is fine by me. But I
would really like to see them Properties and Parameters in the
Documentation.
topcased-us...@gf
orge.enseeiht.fr
Gesendet von: An
topcased-users-bo [email protected]
[email protected] Kopie
eiht.fr [email protected]
ht.fr
Thema
27.04.2010 08:26 Re: [Topcased-users] Documenting
with GenDoc
Bitte antworten
an
topcased-us...@gf
orge.enseeiht.fr
Hi Dominik, glad to see that you use Gendoc !
concerning stereotypes normally no, everything should work normally. Do you
use custom acceleo code ? if yes can you post a part of the code ?
if no, i don't really understand why your stereotypes are truncated.
Regards
Tristan
PS : concerning gendoc 2 you can use OpenOffice or Lotus Symphony which can
concert doc to odt (and maybe docx) ...
Le 27/04/2010 08:11, [email protected] a écrit :
Hi Everyone,
I'd like to do some documenting of my UML Models with GenDoc. It's
working fine until I reach some Classes and Operations and Stuff that
have special steroetypes wich I have defined in another Project and
applied to this one. In the generated DOCX I see Things like ">
<Operation> Clear_TP30 ()" in my opinion it should look like this:
"<macro><Operation> ClearTP30()". Somehow GenDoc seems to swallow my
own Stereotypes. Do I have to declare the use of the Stereotype
Project in my generating .docx File?? Or is this something GenDoc
simply can't do??
Unfortunatelly I can't use GenDoc2, because my Word Version won't let
me open the generated docx file although I already installed the
Compatibility Pack. It still says my Version is too old.
Regards
Dominik Schmid
_______________________________________________
Topcased-users mailing list
[email protected]
http://lists.gforge.enseeiht.fr/mailman/listinfo/topcased-users(See
attached file: tristan_faure.vcf)
_______________________________________________
Topcased-users mailing list
[email protected]
http://lists.gforge.enseeiht.fr/mailman/listinfo/topcased-users
<<inline: graycol.gif>>
<<inline: pic28693.gif>>
<<inline: ecblank.gif>>
<<attachment: tristan_faure.vcf>>
_______________________________________________ Topcased-users mailing list [email protected] http://lists.gforge.enseeiht.fr/mailman/listinfo/topcased-users
