nyctergatis.com

Contact

Projects
Sysquake Remote Live
NME
PDF
Hike
Sudoku
GifBuilder
jpeglib for Palm OS
MySQL Client
Cross-GCC for Mac OS
NMEEPub.c
Go to the documentation of this file.
00001 
00008 /* License: new BSD license (see header file) */
00009 
00010 #include "NME.h"
00011 
00012 NMEOutputFormat const NMEOutputFormatOPSXHTML =
00013 {
00014     " ",    // space
00015     2,  // indentSpaces
00016     0,  // defFontSize
00017     '%',    // ctrlChar
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",   // doc
00034     4,  // highest heading level
00035     "<h%{l}%%{x} id=\"h%{o}\"%%>",
00036         "</h%{l}>\n",   // heading
00037     "<p>", "</p>\n",    // par
00038     "<br />",   // line break
00039     "<pre>\n", "</pre>\n",  // pre
00040     "", "\n",   // pre line
00041     TRUE,   // sublistInListItem
00042     "\n<ul>\n", "</ul>\n",  // UL
00043     "%%{2*l} %%<li>", "</li>\n",    // UL line
00044     "\n<ol>\n", "</ol>\n",  // OL
00045     "%%{2*l} %%<li>", "</li>\n",    // OL line
00046     "\n<dl>\n", "</dl>\n",  // DL
00047     "%%{2*l} %%<dt>", "</dt>\n",    // DT
00048     NULL,   // emptyDT
00049     "%%{2*l} %%<dd>", "</dd>\n",    // DD
00050     "<div style=\"margin-left:2em\">\n",
00051         "</div>\n", // indented section
00052     "%%{2*l} %%<p>", "</p>\n",  // indented par
00053     "<table>\n", "</table>\n",  // table
00054     "<tr>", "</tr>\n",  // table row
00055     "<th>", "</th>\n",  // table header cell
00056     "<td>", "</td>\n",  // table normal cell
00057     "<hr />\n", // hr
00058     "<b>", "</b>",  // bold
00059     "<i>", "</i>",  // italic
00060     "<u>", "</u>",  // underline
00061     "<sup>", "</sup>",  // superscript
00062     "<sub>", "</sub>",  // subscript
00063     "<tt>", "</tt>",    // monospace
00064     "<a href=\"", "</a>", "\">", FALSE, // link
00065     "<img src=\"", "\" />", "\" alt=\"", FALSE, TRUE,   // image
00066     NULL,   // interwiki
00067     NULL, NULL, // encodeURLFun
00068     NMEEncodeCharFunDict, (void *)NMEXMLCharDict,   // char encoder
00069     NMEEncodeCharFunDict, (void *)NMEXMLCharDict,   // char pre encoder
00070     70, NULL, NULL, // wordwrap
00071     NULL, NULL, // char hook
00072     NULL, NULL, NULL, NULL, // process hooks
00073     NULL,   // plugins
00074     NULL,   // autoconverts
00075     NULL, NULL  // getVar
00076 };
Generated by Doxygen.
Copyright 2007-2013, Yves Piguet.
All rights reserved.