X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/05394a18d47c8d6d2e7e91dcfe96b2a83f566c8d..4b123bb9ccbacf21c742173e95f418cca9a5516c:/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 index 0000000000..a9011353ce --- /dev/null +++ b/utils/wxPython/modules/lseditor/markup.h @@ -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