]> git.saurik.com Git - wxWidgets.git/blame - utils/HelpGen/src/markup.h
fixed HTML parsing in regard to spaces between tags
[wxWidgets.git] / utils / HelpGen / src / markup.h
CommitLineData
cecfc5e7
VZ
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$
8// Copyright: (c) Aleskandars Gluchovas
9// Licence: wxWindows licence
10/////////////////////////////////////////////////////////////////////////////
11
12#ifndef __MARKUP_G__
13#define __MARKUP_G__
14
15// indicies for the MarkupTagsT array
16
17#define TAG_BOLD 0
18#define TAG_ITALIC 1
19
20#define TAG_FIXED_FONT 2
21#define TAG_BLACK_FONT 3
22#define TAG_RED_FONT 4
23#define TAG_GREEN_FONT 5
24#define TAG_BLUE_FONT 6
25
26#define TAG_PARAGRAPH 7
27#define TAG_NEW_LINE 8
28#define TAG_HEADING_1 9
29#define TAG_HEADING_2 10
30#define TAG_HEADING_3 11
31
32#define TAG_ITEM_LIST 12
33#define TAG_LIST_ITEM 13
34
35struct TagStructT
36{
37 char* start; // tag that starts style
38 char* end; // tag that finishes style
39};
40
41// tag array
42typedef TagStructT* MarkupTagsT;
43
44// returns array of TagStructT with tag strings for HTML
45
46MarkupTagsT get_HTML_markup_tags();
47
48// MarkupTagsT get_PostScript_markup_tags();
49// MarkupTagsT get_Latex_markup_tags();
50
51#endif