Book a Demo

Author Topic: Generate RTF Documentation  (Read 3330 times)

Mark Hogan

  • EA Novice
  • *
  • Posts: 1
  • Karma: +0/-0
    • View Profile
Generate RTF Documentation
« on: July 02, 2009, 09:23:50 pm »
I would like to generate an RTF document with a custom template that accounts for differences between an "element" and a "child element" while maintaining all of the available features of an "element."  For example, I have two classes; class A and class B.  Class B is a struct with 4 attributes and a "child element" of class A.  I would like the output from the document generator for class A to look one way and the output of class B to look another, but still have the capability to output all of the attributes for class A and class B in their respective sections.

By default in EA, "child element" documentation is generated by recursively calling the element section.  This outputs all necessary data for class A and class B including all applicable methods and attributes, however it formats class A and B the same whereas I would like them to be formatted differently.  After reading through the EA documentation, I learned that I could specify "child element" information between the "child element" tags to stop EA from recursively generating "child elements" from the defined "element" block.  However, I could not figure how to specify the generation of attributes and functions for a "child element."  I see that I can generate the name and a couple other pieces of information of the "child element," but I did not see an option for adding attribute and method blocks inside of the "child element" tag.  Is there a way that I can do this?

Thanks,
Mark

Exart

  • EA Novice
  • *
  • Posts: 14
  • Karma: +0/-0
    • View Profile
Re: Generate RTF Documentation
« Reply #1 on: September 16, 2010, 08:11:52 pm »
Hi!

I would like to refresh this topic.

I encountered the same problem and I'm stuck with this.
Maybe sameone has solve it or has any idea about workaround?