]> git.saurik.com Git - wxWidgets.git/blobdiff - utils/wxPython/modules/lseditor/markup.h
lots'o' wxpython modules files
[wxWidgets.git] / utils / wxPython / modules / lseditor / markup.h
diff --git a/utils/wxPython/modules/lseditor/markup.h b/utils/wxPython/modules/lseditor/markup.h
new file mode 100644 (file)
index 0000000..a901135
--- /dev/null
@@ -0,0 +1,51 @@
+/////////////////////////////////////////////////////////////////////////////
+// Name:        No names yet.
+// Purpose:     Contrib. demo
+// Author:      Aleksandras Gluchovas
+// Modified by:
+// Created:     22/09/98
+// RCS-ID:      $Id$
+// Copyright:   (c) Aleskandars Gluchovas
+// Licence:    GNU General Public License 
+/////////////////////////////////////////////////////////////////////////////
+
+#ifndef __MARKUP_G__
+#define __MARKUP_G__
+
+// indicies for the MarkupTagsT array
+
+#define TAG_BOLD        0
+#define TAG_ITALIC             1
+
+#define TAG_FIXED_FONT  2
+#define TAG_BLACK_FONT 3
+#define TAG_RED_FONT   4
+#define TAG_GREEN_FONT 5
+#define TAG_BLUE_FONT  6
+
+#define TAG_PARAGRAPH  7
+#define TAG_NEW_LINE   8
+#define TAG_HEADING_1  9
+#define TAG_HEADING_2  10
+#define TAG_HEADING_3   11
+
+#define TAG_ITEM_LIST   12
+#define TAG_LIST_ITEM   13 
+
+struct TagStructT
+{
+       char* start; // tag that starts style
+       char* end;   // tag that finishes style
+};
+
+// tag array
+typedef TagStructT* MarkupTagsT;
+
+// returns array of TagStructT with tag strings for HTML
+
+MarkupTagsT get_HTML_markup_tags();
+
+// MarkupTagsT get_PostScript_markup_tags();
+// MarkupTagsT get_Latex_markup_tags();
+
+#endif