home *** CD-ROM | disk | FTP | other *** search
/ OS/2 Shareware BBS: 10 Tools / 10-Tools.zip / wxos2233.zip / wxOS2-2_3_3.zip / wxWindows-2.3.3 / utils / HelpGen / src / markup.cpp < prev    next >
C/C++ Source or Header  |  1999-01-08  |  1KB  |  46 lines

  1. /////////////////////////////////////////////////////////////////////////////
  2. // Name:        No names yet.
  3. // Purpose:     Contrib. demo
  4. // Author:      Aleksandras Gluchovas
  5. // Modified by:
  6. // Created:     22/09/98
  7. // RCS-ID:      $Id: markup.cpp,v 1.1 1999/01/08 17:46:02 VZ Exp $
  8. // Copyright:   (c) Aleskandars Gluchovas
  9. // Licence:       wxWindows licence
  10. /////////////////////////////////////////////////////////////////////////////
  11.  
  12. // For compilers that support precompilation, includes "wx/wx.h".
  13. #include "wx/wxprec.h"
  14.  
  15. #ifdef __BORLANDC__
  16. #pragma hdrstop
  17. #endif
  18.  
  19. #ifndef WX_PRECOMP
  20. #include "wx/wx.h"
  21. #endif
  22.  
  23. #include "markup.h"
  24.  
  25. static TagStructT htmlTags[] =
  26. {
  27.     { "<b>","</b>" }, // 0
  28.     { "<i>","</i>" }, // 1
  29.     { "<pre>","</pre>" }, // 2
  30.     { "<font color=\"#000000\">","</font>" }, // 3
  31.     { "<font color=\"#8F0000\">","</font>" }, // 4
  32.     { "<font color=\"#008F00\">","</font>" }, // 5
  33.     { "<font color=\"#0000CF\">","</font>" }, // 6
  34.     { "<p>","</p>" }, // 7
  35.     { "<br>","" }, // 8
  36.     { "<h1>","</h1>" }, // 9
  37.     { "<h2>","</h2>" }, // 10
  38.     { "<h3>","</h3>" }, // 11
  39.     { "<ul>","</ul>" }, // 12
  40.     { "<li>","</li>" }, // 13
  41. };
  42.  
  43. MarkupTagsT get_HTML_markup_tags()
  44. {
  45.     return htmlTags;
  46. }