Aliases to create tables

[email protected]
Newsgroups gmane.text.doxygen.devel
Message-ID <[email protected]>
Hello everybody.


I often use the following examples to create tables:

ALIASES     = "TabBegin = <TABLE><TR><TD>" \
                         "TabEnd   = </TD></TR></Table>" \
                         "I        = </TD><TD>" \
                         
"I________________________________________________________________________________ 
= </TD></TR><TR><TD>" \
                         
"I_______________________________________________________________________________ 
= </TD></TR><TR><TD>" \
                         
"I______________________________________________________________________________ 
= </TD></TR><TR><TD>" \
                            .
                            .
                            .
                               the number of "_" changes from 80 to 1
                            .
                            .
                            .
                         "I_ = </TD></TR><TR><TD>"

This tags produce html-tables in the documentation


This is a source example where the new commands are used:
 @TabBegin
               Title 1         @I            Title 2         @I      Title 3
  @I______________________________________________
       row 1 column 1  @I   row 1 column 2   @I   row 1 column 3
  @I______________________________________________
       row 2 column 1  @I   row 2 column 2   @I   row 2 column 3
  @I______________________________________________
       row 3 column 1  @I   row 3 column 2   @I   row 3 column 3
  @I______________________________________________
       row 4 column 1  @I   row 4 column 2   @I   row 4 column 3
@TabEnd

Since more the one @I___-commands are defined it is possible to use 
short lines for small tables and long lines for tables with more columns.

May be it is a good idea to change the design of the aliases a little 
bit. For example it may be good to insert tag to write the headline in bold.

ALIASES     = "TabBegin = <TABLE><TR><TD><B>" \
                         "Ib        = </B></TD><TD><B>" \
                         "IbEnd        = </B>\

This is a source example where the new commands are used:

 @TabBegin
               Title 1         @Ib           Title 2        @Ib      
Title 3     @IbEnd
  @I______________________________________________
       row 1 column 1  @I   row 1 column 2   @I   row 1 column 3
  @I______________________________________________
       row 2 column 1  @I   row 2 column 2   @I   row 2 column 3
  @I______________________________________________
       row 3 column 1  @I   row 3 column 2   @I   row 3 column 3
  @I______________________________________________
       row 4 column 1  @I   row 4 column 2   @I   row 4 column 3
@TabEnd


Is there a special alias-archive with other examples like this?



Kind Regards,
                        Eckard Klotz.





>   


-------------------------------------------------------------------------
Take Surveys. Earn Cash. Influence the Future of IT
Join SourceForge.net's Techsay panel and you'll get the chance to share your
opinions on IT & business topics through brief surveys -- and earn cash
http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.