00001
00008
00009
00010 #include "NME.h"
00011
00012 NMEOutputFormat const NMEOutputFormatOPSXHTML =
00013 {
00014 " ",
00015 2,
00016 0,
00017 '%',
00018 "<?xml version=\"1.0\" encoding=\"UTF-8\" ?>\n"
00019 "<!-- Generated by Nyctergatis Markup Engine, "
00020 __DATE__ " " __TIME__ " -->\n"
00021 "<!DOCTYPE html PUBLIC\n"
00022 " \"-//W3C//DTD XHTML 1.1//EN\"\n"
00023 " \"http://www.w3.org/TR/xhtml11/DTD/xhtml11.dtd\">\n"
00024 "<html xmlns=\"http://www.w3.org/1999/xhtml\">\n"
00025 "<head>\n"
00026 "<title>Epub fragment</title>\n"
00027 "<style type=\"text/css\">\n"
00028 "h1 {page-break-before: always}\n"
00029 "p.img {text-align: center}\n"
00030 "</style>\n"
00031 "</head>\n"
00032 "<body>\n",
00033 "</body>\n</html>\n",
00034 4,
00035 "<h%{l}%%{x} id=\"h%{o}\"%%>",
00036 "</h%{l}>\n",
00037 "<p>", "</p>\n",
00038 "<br />",
00039 "<pre>\n", "</pre>\n",
00040 "", "\n",
00041 TRUE,
00042 "\n<ul>\n", "</ul>\n",
00043 "%%{2*l} %%<li>", "</li>\n",
00044 "\n<ol>\n", "</ol>\n",
00045 "%%{2*l} %%<li>", "</li>\n",
00046 "\n<dl>\n", "</dl>\n",
00047 "%%{2*l} %%<dt>", "</dt>\n",
00048 NULL,
00049 "%%{2*l} %%<dd>", "</dd>\n",
00050 "<div style=\"margin-left:2em\">\n",
00051 "</div>\n",
00052 "%%{2*l} %%<p>", "</p>\n",
00053 "<table>\n", "</table>\n",
00054 "<tr>", "</tr>\n",
00055 "<th>", "</th>\n",
00056 "<td>", "</td>\n",
00057 "<hr />\n",
00058 "<b>", "</b>",
00059 "<i>", "</i>",
00060 "<u>", "</u>",
00061 "<sup>", "</sup>",
00062 "<sub>", "</sub>",
00063 "<tt>", "</tt>",
00064 "<a href=\"", "</a>", "\">", FALSE,
00065 "<img src=\"", "\" />", "\" alt=\"", FALSE, TRUE,
00066 NULL,
00067 NULL, NULL,
00068 NMEEncodeCharFunDict, (void *)NMEXMLCharDict,
00069 NMEEncodeCharFunDict, (void *)NMEXMLCharDict,
00070 70, NULL, NULL,
00071 NULL, NULL,
00072 NULL, NULL, NULL, NULL,
00073 NULL,
00074 NULL,
00075 NULL, NULL
00076 };