Files correlati : Commento : Spostamento in libraries delle librerie esterne di Campo per una maggiore pulizia e organizzazione git-svn-id: svn://10.65.10.50/branches/R_10_00@24150 c028cbd2-c16b-5b4b-a496-9718f37d4682
47 lines
1.2 KiB
C++
47 lines
1.2 KiB
C++
/////////////////////////////////////////////////////////////////////////////
|
|
// Name: No names yet.
|
|
// Purpose: Contrib. demo
|
|
// Author: Aleksandras Gluchovas
|
|
// Modified by:
|
|
// Created: 22/09/98
|
|
// RCS-ID: $Id: markup.cpp 24263 2003-10-22 20:54:50Z MBN $
|
|
// Copyright: (c) Aleskandars Gluchovas
|
|
// Licence: wxWindows licence
|
|
/////////////////////////////////////////////////////////////////////////////
|
|
|
|
// For compilers that support precompilation, includes "wx/wx.h".
|
|
#include "wx/wxprec.h"
|
|
|
|
#ifdef __BORLANDC__
|
|
#pragma hdrstop
|
|
#endif
|
|
|
|
#ifndef WX_PRECOMP
|
|
#include "wx/wx.h"
|
|
#endif
|
|
|
|
#include "markup.h"
|
|
|
|
static TagStructT htmlTags[] =
|
|
{
|
|
{ "<b>","</b>" }, // 0
|
|
{ "<i>","</i>" }, // 1
|
|
{ "<pre>","</pre>" }, // 2
|
|
{ "<font color=\"#000000\">","</font>" }, // 3
|
|
{ "<font color=\"#8F0000\">","</font>" }, // 4
|
|
{ "<font color=\"#008F00\">","</font>" }, // 5
|
|
{ "<font color=\"#0000CF\">","</font>" }, // 6
|
|
{ "<p>","</p>" }, // 7
|
|
{ "<br>","" }, // 8
|
|
{ "<h1>","</h1>" }, // 9
|
|
{ "<h2>","</h2>" }, // 10
|
|
{ "<h3>","</h3>" }, // 11
|
|
{ "<ul>","</ul>" }, // 12
|
|
{ "<li>","</li>" }, // 13
|
|
};
|
|
|
|
MarkupTagsT get_HTML_markup_tags()
|
|
{
|
|
return htmlTags;
|
|
}
|