ext/odf.c in rpeg-multimarkdown-0.1.1 vs ext/odf.c in rpeg-multimarkdown-0.2
- old
+ new
@@ -12,11 +12,13 @@
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
GNU General Public License for more details.
***********************************************************************/
+#include "odf.h"
+
void print_odf_header(GString *out){
/* Insert required XML header */
g_string_append_printf(out,
"<?xml version=\"1.0\" encoding=\"UTF-8\"?>\n" \
@@ -97,11 +99,11 @@
"<style:style style:name=\"Quotations\" style:family=\"paragraph\"\n" \
" style:parent-style-name=\"Standard\"\n" \
" style:class=\"html\">\n" \
" <style:paragraph-properties fo:margin-left=\"0.3937in\" fo:margin-right=\"0.3937in\" fo:margin-top=\"0in\"\n" \
" fo:margin-bottom=\"0.1965in\"\n" \
- " fo:text-align=\"justify\"" \
+ " fo:text-align=\"justify\"" \
" style:justify-single-word=\"false\"" \
" fo:text-indent=\"0in\"\n" \
" style:auto-text-indent=\"false\"/>\n" \
"</style:style>\n" \
"<style:style style:name=\"Table_20_Heading\" style:display-name=\"Table Heading\"\n" \
@@ -128,9 +130,13 @@
" text:number-lines=\"false\"\n" \
" text:line-number=\"0\"\n" \
" style:join-border=\"false\"/>\n" \
" <style:text-properties fo:font-size=\"6pt\" style:font-size-asian=\"6pt\" style:font-size-complex=\"6pt\"/>\n" \
"</style:style>\n" \
+ "<style:style style:name=\"Footnote_20_anchor\" style:display-name=\"Footnote anchor\"" \
+ " style:family=\"text\">" \
+ " <style:text-properties style:text-position=\"super 58%\"/>" \
+ " </style:style>" \
"</office:styles>\n");
/* Automatic style information */
g_string_append_printf(out, "<office:automatic-styles>" \
" <style:style style:name=\"MMD-Italic\" style:family=\"text\">\n" \