Learn how easy it is to sync an existing GitHub or Google Code repo to a SourceForge project! See Demo

Close

Customize VBDOX

Help
ABC
2007-10-11
2013-04-25
  • ABC
    ABC
    2007-10-11

    Hi everyone
    I want to customize VBDOX.Actually the problem is that i want to use javacomments and in that there are only few tags like@param,@return etc. I want to add others like @algorithm .
    How can I go for it ????
    Thanxxx

     
    • Hi,

      since version 2, all java style comment tags are collected by the doc pareser in its *section* collection of the paresed comment (clsDocComment)
      (http://vbdox.cvs.sourceforge.net/vbdox/clsDocParserJ.cls?revision=1.12&view=markup line 265)
      You can access these later from the document managers like by calling the getDocComment method of the module or entry (http://vbdox.cvs.sourceforge.net/vbdox/clsReportManagerEx.cls?revision=1.23&view=markup line 863)

       
    • For example if you define an "@algorithm" tag and have a module comment looking like this,

      ''
      ' @algorithm A
      ' @algorithm B

      then the following code

      Dim col As Collection
      Set col = mdl.getDocComment.sections.Item("algorithm")
      For Each item In col
      Debug.Print item
      Next

      will produce something like this:
      A
      B