]> granicus.if.org Git - multimarkdown/commitdiff
ADDED: Add odt and fodt formats; disable odf format for consistency
authorFletcher T. Penney <fletcher@fletcherpenney.net>
Wed, 5 Jul 2017 18:32:45 +0000 (14:32 -0400)
committerFletcher T. Penney <fletcher@fletcherpenney.net>
Wed, 5 Jul 2017 18:32:45 +0000 (14:32 -0400)
77 files changed:
CMakeLists.txt
Sources/libMultiMarkdown/fodt.c [new file with mode: 0644]
Sources/libMultiMarkdown/fodt.h [new file with mode: 0644]
Sources/libMultiMarkdown/include/libMultiMarkdown.h
Sources/libMultiMarkdown/mmd.c
Sources/libMultiMarkdown/odf.c
Sources/libMultiMarkdown/odf.h
Sources/libMultiMarkdown/opendocument-content.c [new file with mode: 0644]
Sources/libMultiMarkdown/opendocument-content.h [new file with mode: 0644]
Sources/libMultiMarkdown/opendocument.c [new file with mode: 0644]
Sources/libMultiMarkdown/opendocument.h [new file with mode: 0644]
Sources/libMultiMarkdown/transclude.c
Sources/libMultiMarkdown/writer.c
Sources/multimarkdown/main.c
tests/MMD6Tests/Abbreviations.fodt
tests/MMD6Tests/Advanced Emph and Strong.fodt
tests/MMD6Tests/Advanced Fenced Code Blocks.fodt
tests/MMD6Tests/Advanced Headers.fodt
tests/MMD6Tests/Amps and Angles.fodt
tests/MMD6Tests/Automatic Links.fodt
tests/MMD6Tests/Basic Blocks.fodt
tests/MMD6Tests/Basic Lists.fodt
tests/MMD6Tests/BibTeX.fodt
tests/MMD6Tests/Blockquotes.fodt
tests/MMD6Tests/Citations.fodt
tests/MMD6Tests/Code Spans.fodt
tests/MMD6Tests/CriticMarkup.fodt
tests/MMD6Tests/Cross-References.fodt
tests/MMD6Tests/Definition Lists.fodt
tests/MMD6Tests/Dutch.fodt
tests/MMD6Tests/Edge Cases 2.fodt
tests/MMD6Tests/Edge Cases.fodt
tests/MMD6Tests/Emph and Strong Star.fodt
tests/MMD6Tests/Emph and Strong UL.fodt
tests/MMD6Tests/English.fodt
tests/MMD6Tests/Escapes.fodt
tests/MMD6Tests/Fenced Code Blocks.fodt
tests/MMD6Tests/Figure Images.fodt
tests/MMD6Tests/French.fodt
tests/MMD6Tests/Fuzz.fodt
tests/MMD6Tests/German Guillemets.fodt
tests/MMD6Tests/German.fodt
tests/MMD6Tests/Glossaries.fodt
tests/MMD6Tests/HTML Blocks.fodt
tests/MMD6Tests/HTML Comments.fodt
tests/MMD6Tests/HTML Inline.fodt
tests/MMD6Tests/Headers.fodt
tests/MMD6Tests/Horizontal Rules.fodt
tests/MMD6Tests/Indented Code Blocks.fodt
tests/MMD6Tests/Inline Footnotes.fodt
tests/MMD6Tests/Inline Images.fodt
tests/MMD6Tests/Inline Links.fodt
tests/MMD6Tests/Integrated.fodt
tests/MMD6Tests/International.fodt
tests/MMD6Tests/Linebreaks.fodt
tests/MMD6Tests/Link Attributes.fodt
tests/MMD6Tests/Markdown Syntax.fodt
tests/MMD6Tests/Math.fodt
tests/MMD6Tests/Metadata.fodt
tests/MMD6Tests/Nested Definition Lists.fodt
tests/MMD6Tests/Nested Lists.fodt
tests/MMD6Tests/Raw Source.fodt
tests/MMD6Tests/Raw Source.htmlc
tests/MMD6Tests/Raw Source.text
tests/MMD6Tests/Reference Footnotes.fodt
tests/MMD6Tests/Reference Images.fodt
tests/MMD6Tests/Reference Links.fodt
tests/MMD6Tests/Setext Headers.fodt
tests/MMD6Tests/Smart Quotes.fodt
tests/MMD6Tests/Spanish.fodt
tests/MMD6Tests/Special Characters.fodt
tests/MMD6Tests/Superscript.fodt
tests/MMD6Tests/Swedish.fodt
tests/MMD6Tests/Table of Contents.fodt
tests/MMD6Tests/Tables.fodt
tests/MMD6Tests/Transclusion.fodt
tests/MMD6Tests/Variables.fodt

index c61406c3dc4606a4f68a50e2928cf195fa3e18a1..78c4066786be0b0c002814a12be413d53f6e18d1 100644 (file)
@@ -183,6 +183,7 @@ set(src_files
        Sources/libMultiMarkdown/critic_markup.c
        Sources/libMultiMarkdown/d_string.c
        Sources/libMultiMarkdown/epub.c
+       Sources/libMultiMarkdown/fodt.c
        Sources/libMultiMarkdown/html.c
        Sources/libMultiMarkdown/latex.c
        Sources/libMultiMarkdown/lexer.c
@@ -191,6 +192,8 @@ set(src_files
        Sources/libMultiMarkdown/mmd.c
        Sources/libMultiMarkdown/odf.c
        Sources/libMultiMarkdown/object_pool.c
+       Sources/libMultiMarkdown/opendocument.c
+       Sources/libMultiMarkdown/opendocument-content.c
        Sources/libMultiMarkdown/parser.c
        Sources/libMultiMarkdown/rng.c
        Sources/libMultiMarkdown/scanners.c
@@ -212,6 +215,7 @@ set(header_files
        Sources/libMultiMarkdown/critic_markup.h
        Sources/libMultiMarkdown/include/d_string.h
        Sources/libMultiMarkdown/epub.h
+       Sources/libMultiMarkdown/fodt.h
        Sources/libMultiMarkdown/html.h
        Sources/libMultiMarkdown/latex.h
        Sources/libMultiMarkdown/lexer.h
@@ -221,6 +225,8 @@ set(header_files
        Sources/libMultiMarkdown/mmd.h
        Sources/libMultiMarkdown/odf.c
        Sources/libMultiMarkdown/object_pool.h
+       Sources/libMultiMarkdown/opendocument.h
+       Sources/libMultiMarkdown/opendocument-content.h
        Sources/libMultiMarkdown/scanners.h
        Sources/libMultiMarkdown/stack.h
        Sources/libMultiMarkdown/textbundle.c
@@ -630,7 +636,7 @@ ADD_MMD_TEST(mmd-6-compat "-c" MMD6Tests htmlc)
 
 ADD_MMD_TEST(mmd-6-latex "-t latex" MMD6Tests tex)
 
-ADD_MMD_TEST(mmd-6-odf "-t odf" MMD6Tests fodt)
+ADD_MMD_TEST(mmd-6-odf "-t fodt" MMD6Tests fodt)
 
 ADD_MMD_TEST(mmd-6-critic-accept "-a" CriticMarkup htmla)
 
diff --git a/Sources/libMultiMarkdown/fodt.c b/Sources/libMultiMarkdown/fodt.c
new file mode 100644 (file)
index 0000000..61e0cff
--- /dev/null
@@ -0,0 +1,2031 @@
+/**
+
+       MultiMarkdown -- Lightweight markup processor to produce HTML, LaTeX, and more.
+
+       @file fodt.c
+
+       @brief Convert token tree to Flat OpenDocument (ODF/FODT) output
+
+
+       @author Fletcher T. Penney
+       @bug    
+
+**/
+
+/*
+
+       Copyright Â© 2016 - 2017 Fletcher T. Penney.
+
+
+       The `MultiMarkdown 6` project is released under the MIT License..
+       
+       GLibFacade.c and GLibFacade.h are from the MultiMarkdown v4 project:
+       
+               https://github.com/fletcher/MultiMarkdown-4/
+       
+       MMD 4 is released under both the MIT License and GPL.
+       
+       
+       CuTest is released under the zlib/libpng license. See CuTest.c for the
+       text of the license.
+       
+       
+       ## The MIT License ##
+       
+       Permission is hereby granted, free of charge, to any person obtaining
+       a copy of this software and associated documentation files (the
+       "Software"), to deal in the Software without restriction, including
+       without limitation the rights to use, copy, modify, merge, publish,
+       distribute, sublicense, and/or sell copies of the Software, and to
+       permit persons to whom the Software is furnished to do so, subject to
+       the following conditions:
+       
+       The above copyright notice and this permission notice shall be
+       included in all copies or substantial portions of the Software.
+       
+       THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND,
+       EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF
+       MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT.
+       IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY
+       CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT,
+       TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE
+       SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
+       
+
+*/
+
+
+#include <ctype.h>
+#include <stdio.h>
+#include <stdlib.h>
+#include <string.h>
+
+#include "char.h"
+#include "i18n.h"
+#include "fodt.h"
+#include "parser.h"
+#include "scanners.h"
+
+#define print(x) d_string_append(out, x)
+#define print_const(x) d_string_append_c_array(out, x, sizeof(x) - 1)
+#define print_char(x) d_string_append_c(out, x)
+#define printf(...) d_string_append_printf(out, __VA_ARGS__)
+#define print_token(t) d_string_append_c_array(out, &(source[t->start]), t->len)
+#define print_localized(x) mmd_print_localized_char_odf(out, x, scratch)
+
+
+/// strdup() not available on all platforms
+static char * my_strdup(const char * source) {
+       char * result = malloc(strlen(source) + 1);
+
+       if (result) {
+               strcpy(result, source);
+       }
+
+       return result;
+}
+
+
+void mmd_print_char_odf(DString * out, char c) {
+       switch (c) {
+               case '"':
+                       print_const("&quot;");
+                       break;
+               case '&':
+                       print_const("&amp;");
+                       break;
+               case '<':
+                       print_const("&lt;");
+                       break;
+               case '>':
+                       print_const("&gt;");
+                       break;
+               case '\t':
+                       print_const("<text:tab/>");
+               default:
+                       print_char(c);
+                       break;
+       }
+}
+
+
+void mmd_print_string_odf(DString * out, const char * str) {
+       if (str == NULL)
+               return;
+       
+       while (*str != '\0') {
+               mmd_print_char_odf(out, *str);
+               str++;
+       }
+}
+
+
+void mmd_print_localized_char_odf(DString * out, unsigned short type, scratch_pad * scratch) {
+       switch (type) {
+               case DASH_N:
+                       print_const("&#8211;");
+                       break;
+               case DASH_M:
+                       print_const("&#8212;");
+                       break;
+               case ELLIPSIS:
+                       print_const("&#8230;");
+                       break;
+               case APOSTROPHE:
+                       print_const("&#8217;");
+                       break;
+               case QUOTE_LEFT_SINGLE:
+                       switch (scratch->quotes_lang) {
+                               case SWEDISH:
+                                       print( "&#8217;");
+                                       break;
+                               case FRENCH:
+                                       print_const("&#39;");
+                                       break;
+                               case GERMAN:
+                                       print_const("&#8218;");
+                                       break;
+                               case GERMANGUILL:
+                                       print_const("&#8250;");
+                                       break;
+                               default:
+                                       print_const("&#8216;");
+                               }
+                       break;
+               case QUOTE_RIGHT_SINGLE:
+                       switch (scratch->quotes_lang) {
+                               case GERMAN:
+                                       print_const("&#8216;");
+                                       break;
+                               case GERMANGUILL:
+                                       print_const("&#8249;");
+                                       break;
+                               default:
+                                       print_const("&#8217;");
+                               }
+                       break;
+               case QUOTE_LEFT_DOUBLE:
+                       switch (scratch->quotes_lang) {
+                               case DUTCH:
+                               case GERMAN:
+                                       print_const("&#8222;");
+                                       break;
+                               case GERMANGUILL:
+                                       print_const("&#187;");
+                                       break;
+                               case FRENCH:
+                                       print_const("&#171;");
+                                       break;
+                               case SWEDISH:
+                                       print( "&#8221;");
+                                       break;
+                               default:
+                                       print_const("&#8220;");
+                               }
+                       break;
+               case QUOTE_RIGHT_DOUBLE:
+                       switch (scratch->quotes_lang) {
+                               case GERMAN:
+                                       print_const("&#8220;");
+                                       break;
+                               case GERMANGUILL:
+                                       print_const("&#171;");
+                                       break;
+                               case FRENCH:
+                                       print_const("&#187;");
+                                       break;
+                               case SWEDISH:
+                               case DUTCH:
+                               default:
+                                       print_const("&#8221;");
+                               }
+                       break;
+       }
+}
+
+
+void mmd_export_link_odf(DString * out, const char * source, token * text, link * link, scratch_pad * scratch) {
+       if (link->url) {
+               print_const("<text:a xlink:type=\"simple\" xlink:href=\"");
+               mmd_print_string_odf(out, link->url);
+               print_const("\"");
+       } else
+               print_const("<a xlink:type=\"simple\" xlink:href=\"\"");
+
+       if (link->title && link->title[0] != '\0') {
+               print_const(" office:name=\"");
+               mmd_print_string_odf(out, link->title);
+               print_const("\"");
+       }
+
+       print_const(">");
+
+       // If we're printing contents of bracket as text, then ensure we include it all
+       if (text && text->child && text->child->len > 1) {
+               text->child->next->start--;
+               text->child->next->len++;
+       }
+       
+       mmd_export_token_tree_odf(out, source, text->child, scratch);
+
+       print_const("</text:a>");
+}
+
+
+static char * correct_dimension_units(char *original) {
+       char *result;
+       int i;
+       
+       result = my_strdup(original);
+       
+       for (i = 0; result[i]; i++)
+               result[i] = tolower(result[i]);
+       
+       if (strstr(&result[strlen(result)-2],"px")) {
+               result[strlen(result)-2] = '\0';
+               strcat(result, "pt");
+       }
+       
+       return result;
+}
+
+
+void mmd_export_image_odf(DString * out, const char * source, token * text, link * link, scratch_pad * scratch, bool is_figure) {
+       attr * a = link->attributes;
+       char * height = NULL;
+       char * width = NULL;
+
+       print_const("<draw:frame text:anchor-type=\"as-char\"\ndraw:z-index=\"0\" draw:style-name=\"fr1\"");
+
+       // Check attributes for dimensions
+       while (a) {
+               if (strcmp("height", a->key) == 0) {
+                       height = correct_dimension_units(a->value);
+               } else if (strcmp("width", a->key) == 0) {
+                       width = correct_dimension_units(a->value);
+               }
+
+               a = a->next;
+       }
+
+       if (width) {
+               printf(" svg:width=\"%s\">\n", width);
+       } else {
+               print_const(" svg:width=\"95%\">\n");
+       }
+
+       print_const("<draw:text-box><text:p><draw:frame text:anchor-type=\"as-char\" draw:z-index=\"1\" ");
+
+       if (height && width) {
+               printf("svg:height=\"%s\" ", height);
+               printf("svg:width=\"%s\" ", width);
+       }
+
+       if (height)
+               free(height);
+
+       if (width)
+               free(width);
+
+       if (link->url)
+               printf(">\n<draw:image xlink:href=\"%s\"", link->url);
+
+       print_const(" xlink:type=\"simple\" xlink:show=\"embed\" xlink:actuate=\"onLoad\" draw:filter-name=\"&lt;All formats&gt;\"/>\n</draw:frame></text:p>");
+
+       if (is_figure) {
+               if (text) {
+                       print_const("\n<text:p>Figure <text:sequence text:name=\"Figure\" text:formula=\"ooow:Figure+1\" style:num-format=\"1\"> Update Fields to calculate numbers</text:sequence>: ");
+                       mmd_export_token_tree_odf(out, source, text->child, scratch);
+                       print_const("</text:p>");
+               }
+       }
+
+       print_const("\n</draw:text-box></draw:frame>\n");
+
+       scratch->padded = 1;
+}
+
+
+
+void mmd_export_toc_entry_odf(DString * out, const char * source, scratch_pad * scratch, size_t * counter, short level) {
+       token * entry, * next;
+       short entry_level, next_level;
+       char * temp_char;
+
+       // Iterate over tokens
+       while (*counter < scratch->header_stack->size) {
+               // Get token for header
+               entry = stack_peek_index(scratch->header_stack, *counter);
+               entry_level = raw_level_for_header(entry);
+
+               if (entry_level >= level) {
+                       // This entry is a direct descendant of the parent
+                       temp_char = label_from_header(source, entry);
+                       printf("<text:p text:style-name=\"TOC_Item\"><text:a xlink:type=\"simple\" xlink:href=\"#%s\" text:style-name=\"Index_20_Link\" text:visited-style-name=\"Index_20_Link\">", temp_char);
+                       mmd_export_token_tree_odf(out, source, entry->child, scratch);
+                       print_const(" <text:tab/>1</text:a></text:p>\n");
+
+                       if (*counter < scratch->header_stack->size - 1) {
+                               next = stack_peek_index(scratch->header_stack, *counter + 1);
+                               next_level = next->type - BLOCK_H1 + 1;
+                               if (next_level > entry_level) {
+                                       // This entry has children
+                                       (*counter)++;
+                                       mmd_export_toc_entry_odf(out, source, scratch, counter, entry_level + 1);
+                               }
+                       }
+
+                       free(temp_char);
+               } else if (entry_level < level ) {
+                       // If entry < level, exit this level
+                       // Decrement counter first, so that we can test it again later
+                       (*counter)--;
+                       break;
+               }
+               
+               // Increment counter
+               (*counter)++;
+       }
+}
+
+void mmd_export_toc_odf(DString * out, const char * source, scratch_pad * scratch) {
+       size_t counter = 0;
+
+       // TODO: Could use LC to internationalize this
+       print_const("<text:table-of-content text:style-name=\"Sect1\" text:protected=\"true\" text:name=\"Table of Contents1\">\n");
+       print_const("<text:table-of-content-source text:outline-level=\"10\">\n");
+       print_const("<text:index-title-template text:style-name=\"Contents_20_Heading\">Table of Contents</text:index-title-template>\n");
+       print_const("</text:table-of-content-source>\n<text:index-body>\n");
+       print_const("<text:index-title text:style-name=\"Sect1\" text:name=\"Table of Contents1_Head\">\n");
+       print_const("<text:p text:style-name=\"Contents_20_Heading\">Table of Contents</text:p>\n");
+       print_const("</text:index-title>\n");
+
+       mmd_export_toc_entry_odf(out, source, scratch, &counter, 0);
+
+       print_const("</text:index-body>\n</text:table-of-content>\n\n");
+}
+
+
+void mmd_export_token_odf(DString * out, const char * source, token * t, scratch_pad * scratch) {
+       if (t == NULL)
+               return;
+
+       short   temp_short;
+       short   temp_short2;
+       short   temp_short3;
+       link *  temp_link       = NULL;
+       char *  temp_char       = NULL;
+       char *  temp_char2      = NULL;
+       bool    temp_bool       = 0;
+       token * temp_token      = NULL;
+       footnote * temp_note = NULL;
+
+       switch (t->type) {
+               case DOC_START_TOKEN:
+                       mmd_export_token_tree_odf(out, source, t->child, scratch);
+                       break;
+               case AMPERSAND:
+               case AMPERSAND_LONG:
+                       print_const("&amp;");
+                       break;
+               case ANGLE_LEFT:
+                       print_const("&lt;");
+                       break;
+               case ANGLE_RIGHT:
+                       print_const("&gt;");
+                       break;
+               case APOSTROPHE:
+                       if (!(scratch->extensions & EXT_SMART)) {
+                               print_token(t);
+                       } else {
+                               print_localized(APOSTROPHE);
+                       }
+                       break;
+               case BACKTICK:
+                       if (t->mate == NULL)
+                               print_token(t);
+                       else if (t->mate->type == QUOTE_RIGHT_ALT)
+                               if (!(scratch->extensions & EXT_SMART)) {
+                                       print_token(t);
+                               } else {
+                                       print_localized(QUOTE_LEFT_DOUBLE);
+                               }
+                       else if (t->start < t->mate->start) {
+                               print_const("<text:span text:style-name=\"Source_20_Text\">");
+                       } else {
+                               print_const("</text:span>");
+                       }
+                       break;
+               case BLOCK_BLOCKQUOTE:
+                       pad(out, 2, scratch);
+                       scratch->padded = 2;
+                       temp_short2 = scratch->odf_para_type;
+
+                       scratch->odf_para_type = BLOCK_BLOCKQUOTE;
+
+                       mmd_export_token_tree_odf(out, source, t->child, scratch);
+                       scratch->padded = 0;
+                       scratch->odf_para_type = temp_short2;
+                       break;
+               case BLOCK_CODE_FENCED:
+                       pad(out, 2, scratch);
+
+                       temp_char = get_fence_language_specifier(t->child->child, source);
+
+                       if (temp_char) {
+                               if (strncmp("{=", temp_char, 2) == 0) {
+                                       // Raw source
+                                       if (raw_filter_text_matches(temp_char, FORMAT_ODT)) {
+                                               switch (t->child->tail->type) {
+                                                       case LINE_FENCE_BACKTICK_3:
+                                                       case LINE_FENCE_BACKTICK_4:
+                                                       case LINE_FENCE_BACKTICK_5:
+                                                               temp_token = t->child->tail;
+                                                               break;
+                                                       default:
+                                                               temp_token = NULL;
+                                               }
+                                               if (temp_token) {
+                                                       d_string_append_c_array(out, &source[t->child->next->start], temp_token->start - t->child->next->start);
+                                                       scratch->padded = 1;
+                                               } else {
+                                                       d_string_append_c_array(out, &source[t->child->start + t->child->len], t->start + t->len - t->child->next->start);                                                      
+                                                       scratch->padded = 0;
+                                               }
+                                       }
+
+                                       break;
+                               }
+                       }
+                       
+                       free(temp_char);
+
+                       print_const("<text:p text:style-name=\"Preformatted Text\">");
+                       mmd_export_token_tree_odf_raw(out, source, t->child->next, scratch);
+                       print_const("</text:p>");
+                       scratch->padded = 0;
+                       break;
+               case BLOCK_CODE_INDENTED:
+                       pad(out, 2, scratch);
+                       print_const("<text:p text:style-name=\"Preformatted Text\">");
+                       mmd_export_token_tree_odf_raw(out, source, t->child, scratch);
+                       print_const("</text:p>");
+                       scratch->padded = 0;
+                       break;
+               case BLOCK_DEFINITION:
+                       pad(out, 2, scratch);
+                       temp_short2 = scratch->odf_para_type;
+                       scratch->odf_para_type = BLOCK_DEFINITION;
+
+                       temp_short = scratch->list_is_tight;
+                       if (!(t->child->next && (t->child->next->type == BLOCK_EMPTY) && t->child->next->next))
+                               scratch->list_is_tight = true;
+
+                       if (t->child && t->child->type != BLOCK_PARA) {
+                               print_const("<text:p text:style-name=\"Quotations\">");
+                               mmd_export_token_tree_odf(out, source, t->child, scratch);
+                               print_const("</text:p>");
+                       } else {
+                               mmd_export_token_tree_odf(out, source, t->child, scratch);                              
+                       }
+                       scratch->padded = 0;
+
+                       scratch->list_is_tight = temp_short;
+                       scratch->odf_para_type = temp_short2;
+                       break;
+               case BLOCK_DEFLIST:
+                       pad(out, 2, scratch);
+
+                       // Group consecutive definition lists into a single list.
+                       // lemon's LALR(1) parser can't properly handle this (to my understanding).
+
+//                     if (!(t->prev && (t->prev->type == BLOCK_DEFLIST)))
+//                             print_const("<dl>\n");
+       
+                       scratch->padded = 2;
+
+                       mmd_export_token_tree_odf(out, source, t->child, scratch);
+                       pad(out, 1, scratch);
+
+//                     if (!(t->next && (t->next->type == BLOCK_DEFLIST)))
+//                             print_const("</dl>\n");
+
+                       scratch->padded = 1;
+                       break;
+               case BLOCK_EMPTY:
+                       break;
+               case BLOCK_H1:
+               case BLOCK_H2:
+               case BLOCK_H3:
+               case BLOCK_H4:
+               case BLOCK_H5:
+               case BLOCK_H6:
+               case BLOCK_SETEXT_1:
+               case BLOCK_SETEXT_2:
+                       pad(out, 2, scratch);
+                       switch (t->type) {
+                               case BLOCK_SETEXT_1:
+                                       temp_short = 1;
+                                       break;
+                               case BLOCK_SETEXT_2:
+                                       temp_short = 2;
+                                       break;
+                               default:
+                                       temp_short = t->type - BLOCK_H1 + 1;
+                       }
+
+                       printf("<text:h text:outline-level=\"%d\">", temp_short + scratch->base_header_level - 1);
+
+                       if (scratch->extensions & EXT_NO_LABELS) {
+                               mmd_export_token_tree_odf(out, source, t->child, scratch);
+                       } else {
+                               temp_char = label_from_header(source, t);
+                               printf("<text:bookmark text:name=\"%s\"/>", temp_char);
+                               mmd_export_token_tree_odf(out, source, t->child, scratch);
+                               //printf("<text:bookmark-end text:name=\"%s\"/>", temp_char);
+                               free(temp_char);
+                       }
+
+                       print_const("</text:h>");
+                       scratch->padded = 0;
+                       break;
+               case BLOCK_HR:
+                       pad(out, 2, scratch);
+                       print_const("<text:p text:style-name=\"Horizontal_20_Line\"/>");
+                       scratch->padded = 0;
+                       break;
+               case BLOCK_HTML:
+                       // Don't print HTML
+                       break;
+               case BLOCK_LIST_BULLETED_LOOSE:
+               case BLOCK_LIST_BULLETED:
+                       temp_short = scratch->list_is_tight;
+                       switch (t->type) {
+                               case BLOCK_LIST_BULLETED_LOOSE:
+                                       scratch->list_is_tight = false;
+                                       break;
+                               case BLOCK_LIST_BULLETED:
+                                       scratch->list_is_tight = true;
+                                       break;
+                       }
+                       pad(out, 2, scratch);
+                       print_const("<text:list text:style-name=\"L1\">");
+                       scratch->padded = 1;
+                       mmd_export_token_tree_odf(out, source, t->child, scratch);
+                       pad(out, 2, scratch);
+                       print_const("</text:list>");
+                       scratch->padded = 0;
+                       scratch->list_is_tight = temp_short;
+                       break;
+               case BLOCK_LIST_ENUMERATED_LOOSE:
+               case BLOCK_LIST_ENUMERATED:
+                       temp_short = scratch->list_is_tight;
+                       switch (t->type) {
+                               case BLOCK_LIST_ENUMERATED_LOOSE:
+                                       scratch->list_is_tight = false;
+                                       break;
+                               case BLOCK_LIST_ENUMERATED:
+                                       scratch->list_is_tight = true;
+                                       break;
+                       }
+                       pad(out, 2, scratch);
+                       print_const("<text:list text:style-name=\"L2\">");
+                       scratch->padded = 1;
+                       mmd_export_token_tree_odf(out, source, t->child, scratch);
+                       pad(out, 2, scratch);
+                       print_const("</text:list>");
+                       scratch->padded = 0;
+                       scratch->list_is_tight = temp_short;
+                       break;
+               case BLOCK_LIST_ITEM:
+                       pad(out, 2, scratch);
+                       print_const("<text:list-item>\n");
+                       scratch->padded = 2;
+                       mmd_export_token_tree_odf(out, source, t->child, scratch);
+                       print_const("</text:list-item>");
+                       scratch->padded = 0;
+                       break;
+               case BLOCK_LIST_ITEM_TIGHT:
+                       pad(out, 2, scratch);
+                       print_const("<text:list-item>\n");
+
+                       if (t->child && t->child->type != BLOCK_PARA)
+                               print_const("<text:p text:style-name=\"P1\">\n");
+
+                       scratch->padded = 2;
+                       mmd_export_token_tree_odf(out, source, t->child, scratch);
+
+                       if (t->child && t->child->type != BLOCK_PARA)
+                       print_const("</text:p>");
+
+                       print_const("</text:list-item>");
+                       scratch->padded = 0;
+                       break;
+               case BLOCK_META:
+                       break;
+               case BLOCK_PARA:
+                       pad(out, 2, scratch);
+                       print_const("<text:p");
+
+                       switch (scratch->odf_para_type) {
+                               case BLOCK_BLOCKQUOTE:
+                               case BLOCK_DEFINITION:
+                                       print_const(" text:style-name=\"Quotations\">");
+                                       break;
+                               case PAIR_BRACKET_ABBREVIATION:
+                               case PAIR_BRACKET_CITATION:
+                               case PAIR_BRACKET_FOOTNOTE:
+                               case PAIR_BRACKET_GLOSSARY:
+                                       print_const(" text:style-name=\"Footnote\">");
+                                       break;
+                               default:                                
+                                       print_const(" text:style-name=\"Standard\">");
+                                       break;
+                       }
+
+                       mmd_export_token_tree_odf(out, source, t->child, scratch);
+
+                       print_const("</text:p>");
+                       scratch->padded = 0;
+                       break;
+               case BLOCK_TABLE:
+                       pad(out, 2, scratch);
+                       print_const("<table:table>\n");
+
+                       scratch->padded = 2;
+                       read_table_column_alignments(source, t, scratch);
+
+                       for (int i = 0; i < scratch->table_column_count; ++i)
+                       {
+                               print_const("<table:table-column/>\n");
+//                             switch (scratch->table_alignment[i]) {
+//                                     case 'l':
+//                                             print_const("<col style=\"text-align:left;\"/>\n");
+//                                             break;
+//                                     case 'L':
+//                                             print_const("<col style=\"text-align:left;\" class=\"extended\"/>\n");
+//                                             break;
+//                                     case 'r':
+//                                             print_const("<col style=\"text-align:right;\"/>\n");
+//                                             break;
+//                                     case 'R':
+//                                             print_const("<col style=\"text-align:right;\" class=\"extended\"/>\n");
+//                                             break;
+//                                     case 'c':
+//                                             print_const("<col style=\"text-align:center;\"/>\n");
+//                                             break;
+//                                     case 'C':
+//                                             print_const("<col style=\"text-align:center;\" class=\"extended\"/>\n");
+//                                             break;
+//                                     default:
+//                                             print_const("<col />\n");
+//                                             break;
+//                             }
+                       }
+                       scratch->padded = 1;
+
+                       mmd_export_token_tree_odf(out, source, t->child, scratch);
+                       pad(out, 1, scratch);
+                       print_const("</table:table>\n");
+
+                       // Are we followed by a caption?
+                       if (table_has_caption(t)) {
+                               temp_token = t->next->child;
+
+                               if (temp_token->next &&
+                                       temp_token->next->type == PAIR_BRACKET) {
+                                       temp_token = temp_token->next;
+                               }
+
+                               temp_char = label_from_token(source, temp_token);
+                               printf("<text:p><text:bookmark text:name=\"%s\"/>Table <text:sequence text:name=\"Table\" text:formula=\"ooow:Table+1\" style:num-format=\"1\"> Update Fields to calculate numbers</text:sequence>:", temp_char);
+
+                               t->next->child->child->type = TEXT_EMPTY;
+                               t->next->child->child->mate->type = TEXT_EMPTY;
+                               mmd_export_token_tree_odf(out, source, t->next->child->child, scratch);
+
+                               printf("<text:bookmark-end text:name=\"%s\"/></text:p>\n", temp_char);
+
+                               free(temp_char);
+                               temp_short = 1;
+                       } else {
+                               temp_short = 0;
+                       }
+
+                       scratch->padded = 0;
+                       scratch->skip_token = temp_short;
+
+                       break;
+               case BLOCK_TABLE_HEADER:
+                       pad(out, 2, scratch);
+                       scratch->in_table_header = 1;
+                       mmd_export_token_tree_odf(out, source, t->child, scratch);
+                       scratch->in_table_header = 0;
+                       scratch->padded = 1;
+                       break;
+               case BLOCK_TABLE_SECTION:
+                       pad(out, 2, scratch);
+                       scratch->padded = 2;
+                       mmd_export_token_tree_odf(out, source, t->child, scratch);
+                       scratch->padded = 0;
+                       break;
+               case BLOCK_TOC:
+                       pad(out, 2, scratch);
+
+                       mmd_export_toc_odf(out, source, scratch);
+
+                       scratch->padded = 1;
+                       break;
+               case BLOCK_TERM:
+                       pad(out, 2, scratch);
+                       print_const("<text:p><text:span text:style-name=\"MMD-Bold\">");
+                       mmd_export_token_tree_odf(out, source, t->child, scratch);
+                       print_const("</text:span></text:p>\n");
+                       scratch->padded = 2;
+                       break;
+               case BRACE_DOUBLE_LEFT:
+                       print_const("{{");
+                       break;
+               case BRACE_DOUBLE_RIGHT:
+                       print_const("}}");
+                       break;
+               case BRACKET_ABBREVIATION_LEFT:
+                       print_const("[>");
+                       break;
+               case BRACKET_CITATION_LEFT:
+                       print_const("[#");
+                       break;
+               case BRACKET_LEFT:
+                       print_const("[");                       
+                       break;
+               case BRACKET_RIGHT:
+                       print_const("]");
+                       break;
+               case BRACKET_VARIABLE_LEFT:
+                       print_const("[\%");
+                       break;
+               case COLON:
+                       print_char(':');
+                       break;
+               case CRITIC_ADD_OPEN:
+                       print_const("{++");
+                       break;
+               case CRITIC_ADD_CLOSE:
+                       print_const("++}");
+                       break;
+               case CRITIC_COM_OPEN:
+                       print_const("{&gt;&gt;");
+                       break;
+               case CRITIC_COM_CLOSE:
+                       print_const("&lt;&lt;}");
+                       break;
+               case CRITIC_DEL_OPEN:
+                       print_const("{--");
+                       break;
+               case CRITIC_DEL_CLOSE:
+                       print_const("--}");
+                       break;
+               case CRITIC_HI_OPEN:
+                       print_const("{==");
+                       break;
+               case CRITIC_HI_CLOSE:
+                       print_const("==}");
+                       break;
+               case CRITIC_SUB_OPEN:
+                       print_const("{~~");
+                       break;
+               case CRITIC_SUB_DIV:
+                       print_const("~&gt;");
+                       break;
+               case CRITIC_SUB_CLOSE:
+                       print_const("~~}");
+                       break;
+               case DASH_M:
+                       if (!(scratch->extensions & EXT_SMART)) {
+                               print_token(t);
+                       } else {
+                               print_localized(DASH_M);
+                       }
+                       break;
+               case DASH_N:
+                       if (!(scratch->extensions & EXT_SMART)) {
+                               print_token(t);
+                       } else {
+                               print_localized(DASH_N);
+                       }
+                       break;
+               case ELLIPSIS:
+                       if (!(scratch->extensions & EXT_SMART)) {
+                               print_token(t);
+                       } else {
+                               print_localized(ELLIPSIS);
+                       }
+                       break;
+               case EMPH_START:
+                       print_const("<text:span text:style-name=\"MMD-Italic\">");
+                       break;
+               case EMPH_STOP:
+                       print_const("</text:span>");
+                       break;
+               case EQUAL:
+                       print_char('=');
+                       break;
+               case ESCAPED_CHARACTER:
+                       if (!(scratch->extensions & EXT_COMPATIBILITY) &&
+                               (source[t->start + 1] == ' ')) {
+                               print_const(" ");              // This is a non-breaking space character
+                       } else {
+                               mmd_print_char_odf(out, source[t->start + 1]);
+                       }
+                       break;
+               case HASH1:
+               case HASH2:
+               case HASH3:
+               case HASH4:
+               case HASH5:
+               case HASH6:
+                       print_token(t);
+                       break;
+               case HTML_ENTITY:
+                       print_const("&amp;");
+                       d_string_append_c_array(out, &(source[t->start + 1]), t->len - 1);
+                       break;
+               case HTML_COMMENT_START:
+                       if (!(scratch->extensions & EXT_SMART)) {
+                               print_const("&lt;!--");
+                       } else {
+                               print_const("&lt;!");
+                               print_localized(DASH_N);
+                       }
+                       break;
+               case HTML_COMMENT_STOP:
+                       if (!(scratch->extensions & EXT_SMART)) {
+                               print_const("--&gt;");
+                       } else {
+                               print_localized(DASH_N);
+                               print_const("&gt;");
+                       }
+                       break;
+               case INDENT_SPACE:
+                       print_char(' ');
+                       break;
+               case INDENT_TAB:
+                       print_const("<text:tab/>");
+                       break;
+               case LINE_LIST_BULLETED:
+               case LINE_LIST_ENUMERATED:
+                       mmd_export_token_tree_odf(out, source, t->child, scratch);
+                       break;
+               case MANUAL_LABEL:
+               case MARKER_BLOCKQUOTE:
+               case MARKER_H1:
+               case MARKER_H2:
+               case MARKER_H3:
+               case MARKER_H4:
+               case MARKER_H5:
+               case MARKER_H6:
+               case MARKER_LIST_BULLET:
+               case MARKER_LIST_ENUMERATOR:
+                       break;
+               case MATH_BRACKET_OPEN:
+                       if (t->mate) {
+                               print_const("<text:span text:style-name=\"math\">\\[");
+                       } else
+                               print_const("\\[");
+                       break;
+               case MATH_BRACKET_CLOSE:
+                       if (t->mate) {
+                               print_const("\\]</text:span>");
+                       } else
+                               print_const("\\]");
+                       break;
+               case MATH_DOLLAR_SINGLE:
+                       if (t->mate) {
+                               (t->start < t->mate->start) ? ( print_const("<text:span text:style-name=\"math\">\\(") ) : ( print_const("\\)</text:span>") );
+                       } else {
+                               print_const("$");
+                       }
+                       break;
+               case MATH_DOLLAR_DOUBLE:
+                       if (t->mate) {
+                               (t->start < t->mate->start) ? ( print_const("<text:span text:style-name=\"math\">\\[") ) : ( print_const("\\]</text:span>") );
+                       } else {
+                               print_const("$$");
+                       }
+                       break;
+               case MATH_PAREN_OPEN:
+                       if (t->mate) {
+                               print_const("<text:span text:style-name=\"math\">\\(");
+                       } else
+                               print_const("\\(");
+                       break;
+               case MATH_PAREN_CLOSE:
+                       if (t->mate) {
+                               print_const("\\)</text:span>");
+                       } else
+                               print_const("\\)");
+                       break;
+               case NON_INDENT_SPACE:
+                       print_char(' ');
+                       break;
+               case PAIR_ANGLE:
+                       temp_char = url_accept(source, t->start + 1, t->len - 2, NULL, true);
+
+                       if (temp_char) {
+                               print_const("<text:a xlink:type=\"simple\" xlink:href=\"");
+
+                               if (scan_email(temp_char)) {
+                                       temp_bool = true;
+
+                                       if (strncmp("mailto:", temp_char, 7) != 0) {
+                                               print_const("mailto:");
+                                       }
+                               } else {
+                                       temp_bool = false;
+                               }
+
+                               mmd_print_string_odf(out, temp_char);
+                               print_const("\">");
+                               mmd_print_string_odf(out, temp_char);
+                               print_const("</text:a>");
+                       } else if (scan_html(&source[t->start])) {
+                               // We ignore HTML blocks
+                               if (scan_html_comment(&source[t->start])) {
+                                       // But allow HTML comments as raw LaTeX
+                                       d_string_append_c_array(out, &source[t->start + 4], t->len - 4 - 3);
+                               }
+                       } else {
+                               mmd_export_token_tree_odf(out, source, t->child, scratch);
+                       }
+
+                       free(temp_char);
+                       break;
+               case PAIR_BACKTICK:
+                       // Strip leading whitespace
+                       switch (t->child->next->type) {
+                               case TEXT_NL:
+                               case INDENT_TAB:
+                               case INDENT_SPACE:
+                               case NON_INDENT_SPACE:
+                                       t->child->next->type = TEXT_EMPTY;
+                                       break;
+                               case TEXT_PLAIN:
+                                       while (t->child->next->len && char_is_whitespace(source[t->child->next->start])) {
+                                               t->child->next->start++;
+                                               t->child->next->len--;
+                                       }
+                                       break;
+                       }
+
+                       // Strip trailing whitespace
+                       switch (t->child->mate->prev->type) {
+                               case TEXT_NL:
+                               case INDENT_TAB:
+                               case INDENT_SPACE:
+                               case NON_INDENT_SPACE:
+                                       t->child->mate->prev->type = TEXT_EMPTY;
+                                       break;
+                               case TEXT_PLAIN:
+                                       while (t->child->mate->prev->len && char_is_whitespace(source[t->child->mate->prev->start + t->child->mate->prev->len - 1])) {
+                                               t->child->mate->prev->len--;
+                                       }
+                                       break;
+                       }
+                       t->child->type = TEXT_EMPTY;
+                       t->child->mate->type = TEXT_EMPTY;
+
+                       if (t->next && t->next->type == PAIR_RAW_FILTER) {
+                               // Raw text?
+                               if (raw_filter_matches(t->next, source, FORMAT_FODT)) {
+                                       d_string_append_c_array(out, &(source[t->child->start + t->child->len]), t->child->mate->start - t->child->start - t->child->len);
+                               }
+                               // Skip over PAIR_RAW_FILTER
+                               scratch->skip_token = 1;
+                               break;
+                       }
+
+                       print_const("<text:span text:style-name=\"Source_20_Text\">");
+                       mmd_export_token_tree_odf_raw(out, source, t->child, scratch);
+                       print_const("</text:span>");
+                       break;
+               case PAIR_BRACE:
+               case PAIR_BRACES:
+                       mmd_export_token_tree_odf(out, source, t->child, scratch);
+                       break;
+               case PAIR_BRACKET:
+                       if ((scratch->extensions & EXT_NOTES) &&
+                               (t->next && t->next->type == PAIR_BRACKET_CITATION)) {
+                               goto parse_citation;
+                       }
+
+               case PAIR_BRACKET_IMAGE:
+                       parse_brackets(source, scratch, t, &temp_link, &temp_short, &temp_bool);
+
+                       if (temp_link) {
+                               if (t->type == PAIR_BRACKET) {
+                                       // Link
+                                       mmd_export_link_odf(out, source, t, temp_link, scratch);
+                               } else {
+                                       // Image -- should it be a figure (e.g. image is only thing in paragraph)?
+                                       temp_token = t->next;
+
+                                       if (temp_token &&
+                                               ((temp_token->type == PAIR_BRACKET) ||
+                                               (temp_token->type == PAIR_PAREN))) {
+                                               temp_token = temp_token->next;
+                                       }
+
+                                       if (temp_token && temp_token->type == TEXT_NL)
+                                               temp_token = temp_token->next;
+
+                                       if (temp_token && temp_token->type == TEXT_LINEBREAK)
+                                               temp_token = temp_token->next;
+
+                                       if (t->prev || temp_token) {
+                                               mmd_export_image_odf(out, source, t, temp_link, scratch, false);
+                                       } else {
+                                               mmd_export_image_odf(out, source, t, temp_link, scratch, true);
+                                       }
+                               }
+                               
+                               if (temp_bool) {
+                                       link_free(temp_link);
+                               }
+
+                               scratch->skip_token = temp_short;
+
+                               return;
+                       }
+
+                       // No links exist, so treat as normal
+                       mmd_export_token_tree_odf(out, source, t->child, scratch);
+                       break;
+               case PAIR_BRACKET_CITATION:
+                       parse_citation:
+                       temp_bool = true;               // Track whether this is regular vs 'not cited'
+                       temp_token = t;                 // Remember whether we need to skip ahead
+
+                       if (scratch->extensions & EXT_NOTES) {
+                               // Note-based syntax enabled
+
+                               if (t->type == PAIR_BRACKET) {
+                                       // This is a locator for a subsequent citation (e.g. `[foo][#bar]`)
+                                       temp_char = text_inside_pair(source, t);
+                                       temp_char2 = label_from_string(temp_char);
+
+                                       if (strcmp(temp_char2, "notcited") == 0) {
+                                               free(temp_char);
+                                               temp_char = my_strdup("");
+                                               temp_bool = false;
+                                       }
+
+                                       free(temp_char2);
+
+                                       // Move ahead to actual citation
+                                       t = t->next;
+                               } else {
+                                       // This is the actual citation (e.g. `[#foo]`)
+                                       // No locator
+                                       temp_char = my_strdup("");
+                               }
+
+                               // Classify this use
+                               temp_short2 = scratch->used_citations->size;
+                               citation_from_bracket(source, scratch, t, &temp_short);
+
+                               if (temp_short == -1) {
+                                       // This instance is not properly formed
+                                       print_const("[#");
+                                       mmd_export_token_tree_odf(out, source, t->child->next, scratch);
+                                       print_const("]");
+
+                                       free(temp_char);
+                                       break;
+                               }
+
+
+                               temp_short3 = scratch->odf_para_type;
+                               scratch->odf_para_type = PAIR_BRACKET_FOOTNOTE;
+
+                               if (temp_bool) {
+                                       // This is a regular citation
+
+                                       if (temp_char[0] == '\0') {
+                                               // No locator
+                               
+                                               if (temp_short2 == scratch->used_citations->size) {
+                                                       // This is a re-use of a previously used note
+                                                       print_const("<text:span text:style-name=\"Footnote_20_anchor\"><text:note-ref text:note-class=\"endnote\" text:reference-format=\"text\" ");
+                                                       printf("text:ref-name=\"cite%d\">%d</text:note-ref></text:span>", temp_short, temp_short);
+                                               } else {
+                                                       // This is the first time this note was used
+                                                       printf("<text:note text:id=\"cite%d\" text:note-class=\"endnote\"><text:note-body>", temp_short);
+                                                       temp_note = stack_peek_index(scratch->used_citations, temp_short - 1);
+
+                                                       mmd_export_token_tree_odf(out, source, temp_note->content, scratch);
+                                                       print_const("</text:note-body></text:note>");
+                                               }
+                                       } else {
+                                               // Locator present
+
+                                               if (temp_short2 == scratch->used_citations->size) {
+                                                       // This is a re-use of a previously used note
+                                                       print_const("<text:span text:style-name=\"Footnote_20_anchor\"><text:note-ref text:note-class=\"endnote\" text:reference-format=\"text\" ");
+                                                       printf("text:ref-name=\"cite%d\">%d</text:note-ref></text:span>", temp_short, temp_short);
+                                               } else {
+                                                       // This is the first time this note was used
+                                                       printf("<text:note text:id=\"cite%d\" text:note-class=\"endnote\"><text:note-body>", temp_short);
+                                                       temp_note = stack_peek_index(scratch->used_citations, temp_short - 1);
+
+                                                       mmd_export_token_tree_odf(out, source, temp_note->content, scratch);
+                                                       print_const("</text:note-body></text:note>");
+                                               }
+                                       }
+                               } else {
+                                               if (temp_short2 == scratch->used_citations->size) {
+                                                       // This is a re-use of a previously used note
+                                               } else {
+                                                       // This is the first time this note was used
+                                                       // TODO: Not sure how to add an endnote without inserting a marker in the text
+                                                       printf("<text:note text:id=\"cite%d\" text:note-class=\"endnote\"><text:note-body>", temp_short);
+                                                       temp_note = stack_peek_index(scratch->used_citations, temp_short - 1);
+
+                                                       mmd_export_token_tree_odf(out, source, temp_note->content, scratch);
+                                                       print_const("</text:note-body></text:note>");
+                                               }
+                               }
+
+                               if (temp_token != t) {
+                                       // Skip citation on next pass
+                                       scratch->skip_token = 1;
+                               }
+
+                               scratch->odf_para_type = temp_short3;
+
+                               free(temp_char);
+                       } else {
+                               // Note-based syntax disabled
+                               mmd_export_token_tree_odf(out, source, t->child, scratch);
+                       }
+                       break;
+               case PAIR_BRACKET_FOOTNOTE:
+                       if (scratch->extensions & EXT_NOTES) {
+                               // Note-based syntax enabled
+
+                               // Classify this use
+                               temp_short2 = scratch->used_footnotes->size;
+                               footnote_from_bracket(source, scratch, t, &temp_short);
+
+                               if (temp_short == -1) {
+                                       // This instance is not properly formed
+                                       print_const("[?");
+                                       mmd_export_token_tree_odf(out, source, t->child->next, scratch);
+                                       print_const("]");
+                                       break;
+                               }
+
+                               temp_short3 = scratch->odf_para_type;
+                               scratch->odf_para_type = PAIR_BRACKET_FOOTNOTE;
+
+                               if (temp_short2 == scratch->used_footnotes->size) {
+                                       // This is a re-use of a previously used note
+
+                                       printf("<text:note text:id=\"fn%d\" text:note-class=\"footnote\"><text:note-body>", temp_short);
+                                       temp_note = stack_peek_index(scratch->used_footnotes, temp_short - 1);
+
+                                       mmd_export_token_tree_odf(out, source, temp_note->content, scratch);
+                                       print_const("</text:note-body></text:note>");
+                               } else {
+                                       // This is the first time this note was used
+
+                                       // This is a new footnote
+                                       printf("<text:note text:id=\"fn%d\" text:note-class=\"footnote\"><text:note-body>", temp_short);
+                                       temp_note = stack_peek_index(scratch->used_footnotes, temp_short - 1);
+
+                                       mmd_export_token_tree_odf(out, source, temp_note->content, scratch);
+                                       print_const("</text:note-body></text:note>");
+                               }
+
+                               scratch->odf_para_type = temp_short3;
+                       } else {
+                               // Note-based syntax disabled
+                               mmd_export_token_tree_odf(out, source, t->child, scratch);
+                       }
+                       break;
+               case PAIR_BRACKET_ABBREVIATION:
+                       // Which might also be an "auto-tagged" abbreviation
+                       if (scratch->extensions & EXT_NOTES) {
+                               // Note-based syntax enabled
+
+                               // Classify this use
+                               temp_short2 = scratch->used_abbreviations->size;
+                               temp_short3 = scratch->inline_abbreviations_to_free->size;
+                               abbreviation_from_bracket(source, scratch, t, &temp_short);
+
+                               if (temp_short == -1) {
+                                       // This instance is not properly formed
+                                       print_const("[>");
+                                       mmd_export_token_tree_odf(out, source, t->child->next, scratch);
+                                       print_const("]");
+                                       break;
+                               }
+
+                               // Get instance of the note used
+                               temp_note = stack_peek_index(scratch->used_abbreviations, temp_short - 1);
+
+                               if (t->child) {
+                                       t->child->type = TEXT_EMPTY;
+                                       t->child->mate->type = TEXT_EMPTY;
+                               }
+
+                               if (temp_short2 == scratch->used_abbreviations->size) {
+                                       // This is a re-use of a previously used note
+
+                                       if (temp_short3 == scratch->inline_abbreviations_to_free->size) {
+                                               // This is a reference definition
+                                               mmd_print_string_odf(out, temp_note->label_text);
+//                                             mmd_export_token_tree_odf(out, source, t->child, scratch);
+                                       } else {
+                                               // This is an inline definition
+                                               mmd_print_string_odf(out, temp_note->label_text);
+//                                             mmd_export_token_tree_odf(out, source, t->child, scratch);
+                                       }
+                               } else {
+                                       // This is the first time this note was used
+                                       temp_short2 = scratch->odf_para_type;
+                                       scratch->odf_para_type = PAIR_BRACKET_ABBREVIATION;
+
+                                       if (temp_short3 == scratch->inline_abbreviations_to_free->size) {
+                                               // This is a reference definition
+                                               mmd_print_string_odf(out, temp_note->clean_text);
+                                               print_const(" (");
+                                               mmd_print_string_odf(out, temp_note->label_text); 
+                                               print_const(")");
+                                       } else {
+                                               // This is an inline definition
+                                               mmd_print_string_odf(out, temp_note->clean_text);
+                                               print_const(" (");
+                                               mmd_print_string_odf(out, temp_note->label_text); 
+                                               print_const(")");
+                                       }
+
+                                       scratch->odf_para_type = temp_short2;
+                               }
+                       } else {
+                               // Note-based syntax disabled
+                               mmd_export_token_tree_odf(out, source, t->child, scratch);
+                       }
+                       break;
+               case PAIR_BRACKET_GLOSSARY:
+                       // Which might also be an "auto-tagged" glossary
+                       if (scratch->extensions & EXT_NOTES) {
+                               // Note-based syntax enabled
+
+                               // Classify this use
+                               temp_short2 = scratch->used_glossaries->size;
+                               glossary_from_bracket(source, scratch, t, &temp_short);
+
+                               if (temp_short == -1) {
+                                       // This instance is not properly formed
+                                       print_const("[?");
+                                       mmd_export_token_tree_odf(out, source, t->child->next, scratch);
+                                       print_const("]");
+                                       break;
+                               }
+
+                               // Get instance of the note used
+                               temp_note = stack_peek_index(scratch->used_glossaries, temp_short - 1);
+
+                               temp_short3 = scratch->odf_para_type;
+                               scratch->odf_para_type = PAIR_BRACKET_GLOSSARY;
+
+                               if (temp_short2 == scratch->used_glossaries->size) {
+                                       // This is a re-use of a previously used note
+
+                                       mmd_print_string_odf(out, temp_note->clean_text); 
+                               } else {
+                                       // This is the first time this note was used
+
+                                       mmd_print_string_odf(out, temp_note->clean_text); 
+
+                                       printf("<text:note text:id=\"gn%d\" text:note-class=\"glossary\"><text:note-body>", temp_short);
+                                       mmd_export_token_tree_odf(out, source, temp_note->content, scratch);
+                                       print_const("</text:note-body></text:note>");
+                               }
+
+                               scratch->odf_para_type = temp_short3;
+                       } else {
+                               // Note-based syntax disabled
+                               mmd_export_token_tree_odf(out, source, t->child, scratch);
+                       }
+                       break;
+               case PAIR_BRACKET_VARIABLE:
+                       temp_char = text_inside_pair(source, t);
+                       temp_char2 = extract_metadata(scratch, temp_char);
+
+                       if (temp_char2)
+                               mmd_print_string_odf(out, temp_char2);
+                       else
+                               mmd_export_token_tree_odf(out, source, t->child, scratch);
+
+                       // Don't free temp_char2 (it belongs to meta *)
+                       free(temp_char);
+                       break;
+               case PAIR_CRITIC_ADD:
+                       // Ignore if we're rejecting
+                       if (scratch->extensions & EXT_CRITIC_REJECT)
+                               break;
+                       if (scratch->extensions & EXT_CRITIC) {
+                               t->child->type = TEXT_EMPTY;
+                               t->child->mate->type = TEXT_EMPTY;
+                               if (scratch->extensions & EXT_CRITIC_ACCEPT) {
+                                       mmd_export_token_tree_odf(out, source, t->child, scratch);
+                               } else {
+                                       print_const("<text:span text:style-name=\"Underline\">");
+                                       mmd_export_token_tree_odf(out, source, t->child, scratch);
+                                       print_const("</text:span>");
+                               }
+                       } else {
+                               mmd_export_token_tree_odf(out, source, t->child, scratch);                              
+                       }
+                       break;
+               case PAIR_CRITIC_DEL:
+                       // Ignore if we're accepting
+                       if (scratch->extensions & EXT_CRITIC_ACCEPT)
+                               break;
+                       if (scratch->extensions & EXT_CRITIC) {
+                               t->child->type = TEXT_EMPTY;
+                               t->child->mate->type = TEXT_EMPTY;
+                               if (scratch->extensions & EXT_CRITIC_REJECT) {
+                                       mmd_export_token_tree_odf(out, source, t->child, scratch);
+                               } else {
+                                       print_const("<text:span text:style-name=\"Strike\">");
+                                       mmd_export_token_tree_odf(out, source, t->child, scratch);
+                                       print_const("</text:span>");
+                               }
+                       } else {
+                               mmd_export_token_tree_odf(out, source, t->child, scratch);                              
+                       }
+                       break;
+               case PAIR_CRITIC_COM:
+                       // Ignore if we're rejecting or accepting
+                       if ((scratch->extensions & EXT_CRITIC_REJECT) ||
+                               (scratch->extensions & EXT_CRITIC_ACCEPT))
+                               break;
+                       if (scratch->extensions & EXT_CRITIC) {
+                               t->child->type = TEXT_EMPTY;
+                               t->child->mate->type = TEXT_EMPTY;
+                               print_const("<text:span text:style-name=\"Comment\">");
+                               mmd_export_token_tree_odf(out, source, t->child, scratch);
+                               print_const("</text:span>");
+                       } else {
+                               mmd_export_token_tree_odf(out, source, t->child, scratch);
+                       }
+                       break;
+               case PAIR_CRITIC_HI:
+                       // Ignore if we're rejecting or accepting
+                       if ((scratch->extensions & EXT_CRITIC_REJECT) ||
+                               (scratch->extensions & EXT_CRITIC_ACCEPT))
+                               break;
+                       if (scratch->extensions & EXT_CRITIC) {
+                               t->child->type = TEXT_EMPTY;
+                               t->child->mate->type = TEXT_EMPTY;
+                               print_const("<text:span text:style-name=\"Highlight\">");
+                               mmd_export_token_tree_odf(out, source, t->child, scratch);
+                               print_const("</text:span>");
+                       } else {
+                               mmd_export_token_tree_odf(out, source, t->child, scratch);
+                       }
+                       break;
+               case CRITIC_SUB_DIV_A:
+                       print_const("~");
+                       break;
+               case CRITIC_SUB_DIV_B:
+                       print_const("&gt;");
+                       break;
+               case PAIR_CRITIC_SUB_DEL:
+                       if ((scratch->extensions & EXT_CRITIC) &&
+                               (t->next) &&
+                               (t->next->type == PAIR_CRITIC_SUB_ADD)) {
+                               t->child->type = TEXT_EMPTY;
+                               t->child->mate->type = TEXT_EMPTY;
+                               if (scratch->extensions & EXT_CRITIC_ACCEPT) {
+
+                               } else if (scratch->extensions & EXT_CRITIC_REJECT) {
+                                       mmd_export_token_tree_odf(out, source, t->child, scratch);
+                               } else {
+                                       print_const("<text:span text:style-name=\"Strike\">");
+                                       mmd_export_token_tree_odf(out, source, t->child, scratch);
+                                       print_const("</text:span>");
+                               }
+                       } else {
+                               mmd_export_token_tree_odf(out, source, t->child, scratch);
+                       }
+                       break;
+               case PAIR_CRITIC_SUB_ADD:
+                       if ((scratch->extensions & EXT_CRITIC) &&
+                               (t->prev) &&
+                               (t->prev->type == PAIR_CRITIC_SUB_DEL)) {
+                               t->child->type = TEXT_EMPTY;
+                               t->child->mate->type = TEXT_EMPTY;
+                               if (scratch->extensions & EXT_CRITIC_REJECT) {
+
+                               } else if (scratch->extensions & EXT_CRITIC_ACCEPT) {
+                                       mmd_export_token_tree_odf(out, source, t->child, scratch);
+                               } else {
+                                       print_const("<text:span text:style-name=\"Underline\">");
+                                       mmd_export_token_tree_odf(out, source, t->child, scratch);
+                                       print_const("</text:span>");
+                               }
+                       } else {
+                               mmd_export_token_tree_odf(out, source, t->child, scratch);
+                       }
+                       break;
+               case PAIR_HTML_COMMENT:
+                       break;
+               case PAIR_EMPH:
+               case PAIR_MATH:
+               case PAIR_PAREN:
+               case PAIR_QUOTE_DOUBLE:
+               case PAIR_QUOTE_SINGLE:
+               case PAIR_STAR:
+               case PAIR_STRONG:
+               case PAIR_SUBSCRIPT:
+               case PAIR_SUPERSCRIPT:
+               case PAIR_UL:
+                       mmd_export_token_tree_odf(out, source, t->child, scratch);
+                       break;
+               case PAREN_LEFT:
+                       print_char('(');
+                       break;
+               case PAREN_RIGHT:
+                       print_char(')');
+                       break;
+               case PIPE:
+                       print_token(t);
+                       break;
+               case PLUS:
+                       print_char('+');
+                       break;
+               case QUOTE_SINGLE:
+                       if ((t->mate == NULL) || (!(scratch->extensions & EXT_SMART)))
+                               print_const("'");
+                       else
+                               (t->start < t->mate->start) ? ( print_localized(QUOTE_LEFT_SINGLE) ) : ( print_localized(QUOTE_RIGHT_SINGLE) );
+                       break;
+               case QUOTE_DOUBLE:
+                       if ((t->mate == NULL) || (!(scratch->extensions & EXT_SMART)))
+                               print_const("&quot;");
+                       else
+                               (t->start < t->mate->start) ? ( print_localized(QUOTE_LEFT_DOUBLE) ) : ( print_localized(QUOTE_RIGHT_DOUBLE) );
+                       break;
+               case QUOTE_RIGHT_ALT:
+                       if ((t->mate == NULL) || (!(scratch->extensions & EXT_SMART)))
+                               print_const("''");
+                       else
+                               print_localized(QUOTE_RIGHT_DOUBLE);
+                       break;
+               case SLASH:
+                       print_char('/');
+                       break;
+               case STAR:
+                       print_char('*');
+                       break;
+               case STRONG_START:
+                       print_const("<text:span text:style-name=\"MMD-Bold\">");
+                       break;
+               case STRONG_STOP:
+                       print_const("</text:span>");
+                       break;
+               case SUBSCRIPT:
+                       if (t->mate) {
+                               (t->start < t->mate->start) ? (print_const("<text:span text:style-name=\"MMD-Subscript\">")) : (print_const("</text:span>"));
+                       } else if (t->len != 1) {
+                               print_const("<text:span text:style-name=\"MMD-Subscript\">");
+                               mmd_export_token_odf(out, source, t->child, scratch);
+                               print_const("</text:span>");
+                       } else {
+                               print_const("~");
+                       }
+                       break;
+               case SUPERSCRIPT:
+                       if (t->mate) {
+                               (t->start < t->mate->start) ? (print_const("<text:span text:style-name=\"MMD-Superscript\">")) : (print_const("</text:span>"));
+                       } else if (t->len != 1) {
+                               print_const("<text:span text:style-name=\"MMD-Superscript\">");
+                               mmd_export_token_odf(out, source, t->child, scratch);
+                               print_const("</text:span>");
+                       } else {
+                               print_const("^");
+                       }       
+                       break;
+               case TABLE_CELL:
+                       print_const("<table:table-cell");
+
+                       if (t->next && t->next->type == TABLE_DIVIDER) {
+                               if (t->next->len > 1) {
+                                       printf(" table:number-columns-spanned=\"%d\"", t->next->len);
+                               }
+                       }
+
+                       if (scratch->in_table_header) {
+                               print_const(">\n<text:p text:style-name=\"Table_20_Heading\"");
+                       } else {
+                               print_const(">\n<text:p");
+                               switch (scratch->table_alignment[scratch->table_cell_count]) {
+                                       case 'l':
+                                       case 'L':
+                                       default:
+                                               print_const(" text:style-name=\"MMD-Table\"");
+                                               break;
+                                       case 'r':
+                                       case 'R':
+                                               print_const(" text:style-name=\"MMD-Table-Right\"");
+                                               break;
+                                       case 'c':
+                                       case 'C':
+                                               print_const(" text:style-name=\"MMD-Table-Center\"");
+                                               break;
+                               }
+                       }
+
+                       print_const(">");
+                       mmd_export_token_tree_odf(out, source, t->child, scratch);
+
+                       print_const("</text:p>\n</table:table-cell>\n");
+
+                       if (t->next)
+                               scratch->table_cell_count += t->next->len;
+                       else
+                               scratch->table_cell_count++;
+                       
+                       break;
+               case TABLE_DIVIDER:
+                       break;
+               case TABLE_ROW:
+                       print_const("<table:table-row>\n");
+                       scratch->table_cell_count = 0;
+                       mmd_export_token_tree_odf(out, source, t->child, scratch);
+                       print_const("</table:table-row>\n");
+                       break;
+               case TEXT_EMPTY:
+                       break;
+               case TEXT_LINEBREAK:
+                       if (t->next) {
+                               print_const("<text:line-break/>\n");
+                               scratch->padded = 0;
+                       }
+                       break;
+               case TEXT_NL:
+                       if (t->next)
+                               print_char('\n');
+                       break;
+               case RAW_FILTER_LEFT:
+               case TEXT_BACKSLASH:
+               case TEXT_BRACE_LEFT:
+               case TEXT_BRACE_RIGHT:
+               case TEXT_HASH:
+               case TEXT_NUMBER_POSS_LIST:
+               case TEXT_PERCENT:
+               case TEXT_PERIOD:
+               case TEXT_PLAIN:
+               case TOC:
+               case UL:
+                       print_token(t);
+                       break;
+               default:
+                       fprintf(stderr, "Unknown token type: %d\n", t->type);
+                       token_describe(t, source);
+                       break;
+       }
+}
+
+
+void mmd_export_token_tree_odf(DString * out, const char * source, token * t, scratch_pad * scratch) {
+
+       // Prevent stack overflow with "dangerous" input causing extreme recursion
+       if (scratch->recurse_depth == kMaxExportRecursiveDepth) {
+               return;
+       }
+
+       scratch->recurse_depth++;
+
+       while (t != NULL) {
+               if (scratch->skip_token) {
+                       scratch->skip_token--;
+               } else {
+                       mmd_export_token_odf(out, source, t, scratch);
+               }
+
+               t = t->next;
+       }
+
+       scratch->recurse_depth--;
+}
+
+
+void mmd_export_token_odf_raw(DString * out, const char * source, token * t, scratch_pad * scratch) {
+       if (t == NULL)
+               return;
+
+       switch (t->type) {
+               case AMPERSAND:
+                       print_const("&amp;");
+                       break;
+               case AMPERSAND_LONG:
+                       print_const("&amp;amp;");
+                       break;
+               case ANGLE_RIGHT:
+                       print_const("&gt;");
+                       break;
+               case ANGLE_LEFT:
+                       print_const("&lt;");
+                       break;
+               case ESCAPED_CHARACTER:
+                       print_const("\\");
+                       mmd_print_char_odf(out, source[t->start + 1]);
+                       break;
+               case HTML_ENTITY:
+                       print_const("&amp;");
+                       d_string_append_c_array(out, &(source[t->start + 1]), t->len - 1);
+                       break;
+               case INDENT_TAB:
+                       print_const("<text:tab/>");
+                       break;
+               case QUOTE_DOUBLE:
+                       print_const("&quot;");
+                       break;
+               case CODE_FENCE:
+                       if (t->next)
+                               t->next->type = TEXT_EMPTY;
+               case TEXT_EMPTY:
+                       break;
+               case TEXT_NL:
+                       print_const("<text:line-break/>");
+                       break;
+               default:
+                       if (t->child)
+                               mmd_export_token_tree_odf_raw(out, source, t->child, scratch);
+                       else
+                               print_token(t);
+                       break;
+       }
+}
+
+
+void mmd_export_token_tree_odf_raw(DString * out, const char * source, token * t, scratch_pad * scratch) {
+       while (t != NULL) {
+               if (scratch->skip_token) {
+                       scratch->skip_token--;
+               } else {
+                       mmd_export_token_odf_raw(out, source, t, scratch);
+               }
+
+               t = t->next;
+       }
+}
+
+
+void mmd_start_complete_odf(DString * out, const char * source, scratch_pad * scratch) {
+       print_const("<?xml version=\"1.0\" encoding=\"UTF-8\"?>\n" \
+"<office:document xmlns:office=\"urn:oasis:names:tc:opendocument:xmlns:office:1.0\"\n" \
+"     xmlns:style=\"urn:oasis:names:tc:opendocument:xmlns:style:1.0\"\n" \
+"     xmlns:text=\"urn:oasis:names:tc:opendocument:xmlns:text:1.0\"\n" \
+"     xmlns:table=\"urn:oasis:names:tc:opendocument:xmlns:table:1.0\"\n" \
+"     xmlns:draw=\"urn:oasis:names:tc:opendocument:xmlns:drawing:1.0\"\n" \
+"     xmlns:fo=\"urn:oasis:names:tc:opendocument:xmlns:xsl-fo-compatible:1.0\"\n" \
+"     xmlns:xlink=\"http://www.w3.org/1999/xlink\"\n" \
+"     xmlns:dc=\"http://purl.org/dc/elements/1.1/\"\n" \
+"     xmlns:meta=\"urn:oasis:names:tc:opendocument:xmlns:meta:1.0\"\n" \
+"     xmlns:number=\"urn:oasis:names:tc:opendocument:xmlns:datastyle:1.0\"\n" \
+"     xmlns:svg=\"urn:oasis:names:tc:opendocument:xmlns:svg-compatible:1.0\"\n" \
+"     xmlns:chart=\"urn:oasis:names:tc:opendocument:xmlns:chart:1.0\"\n" \
+"     xmlns:dr3d=\"urn:oasis:names:tc:opendocument:xmlns:dr3d:1.0\"\n" \
+"     xmlns:math=\"http://www.w3.org/1998/Math/MathML\"\n" \
+"     xmlns:form=\"urn:oasis:names:tc:opendocument:xmlns:form:1.0\"\n" \
+"     xmlns:script=\"urn:oasis:names:tc:opendocument:xmlns:script:1.0\"\n" \
+"     xmlns:config=\"urn:oasis:names:tc:opendocument:xmlns:config:1.0\"\n" \
+"     xmlns:ooo=\"http://openoffice.org/2004/office\"\n" \
+"     xmlns:ooow=\"http://openoffice.org/2004/writer\"\n" \
+"     xmlns:oooc=\"http://openoffice.org/2004/calc\"\n" \
+"     xmlns:dom=\"http://www.w3.org/2001/xml-events\"\n" \
+"     xmlns:xforms=\"http://www.w3.org/2002/xforms\"\n" \
+"     xmlns:xsd=\"http://www.w3.org/2001/XMLSchema\"\n" \
+"     xmlns:xsi=\"http://www.w3.org/2001/XMLSchema-instance\"\n" \
+"     xmlns:rpt=\"http://openoffice.org/2005/report\"\n" \
+"     xmlns:of=\"urn:oasis:names:tc:opendocument:xmlns:of:1.2\"\n" \
+"     xmlns:xhtml=\"http://www.w3.org/1999/xhtml\"\n" \
+"     xmlns:grddl=\"http://www.w3.org/2003/g/data-view#\"\n" \
+"     xmlns:tableooo=\"http://openoffice.org/2009/table\"\n" \
+"     xmlns:field=\"urn:openoffice:names:experimental:ooo-ms-interop:xmlns:field:1.0\"\n" \
+"     xmlns:formx=\"urn:openoffice:names:experimental:ooxml-odf-interop:xmlns:form:1.0\"\n" \
+"     xmlns:css3t=\"http://www.w3.org/TR/css3-text/\"\n" \
+"     office:version=\"1.2\"\n" \
+"     grddl:transformation=\"http://docs.oasis-open.org/office/1.2/xslt/odf2rdf.xsl\"\n" \
+"     office:mimetype=\"application/vnd.oasis.opendocument.text\">\n");
+    
+       /* Font Declarations */
+       print_const("<office:font-face-decls>\n" \
+       "   <style:font-face style:name=\"Courier New\" svg:font-family=\"'Courier New'\"\n" \
+    "                    style:font-adornments=\"Regular\"\n" \
+    "                    style:font-family-generic=\"modern\"\n" \
+    "                    style:font-pitch=\"fixed\"/>\n" \
+    "</office:font-face-decls>\n");
+    
+    /* Append basic style information */
+    print_const("<office:styles>\n" \
+    "<style:style style:name=\"Standard\" style:family=\"paragraph\" style:class=\"text\">\n" \
+    "      <style:paragraph-properties fo:margin-top=\"0in\" fo:margin-bottom=\"0.15in\"" \
+    "     fo:text-align=\"justify\" style:justify-single-word=\"false\"/>\n" \
+    "   </style:style>\n" \
+    "<style:style style:name=\"Preformatted_20_Text\" style:display-name=\"Preformatted Text\"\n" \
+    "             style:family=\"paragraph\"\n" \
+    "             style:parent-style-name=\"Standard\"\n" \
+    "             style:class=\"html\">\n" \
+    "   <style:paragraph-properties fo:margin-top=\"0in\" fo:margin-bottom=\"0in\" fo:text-align=\"start\"\n" \
+    "                               style:justify-single-word=\"false\"/>\n" \
+    "   <style:text-properties style:font-name=\"Courier New\" fo:font-size=\"11pt\"\n" \
+    "                          style:font-name-asian=\"Courier New\"\n" \
+    "                          style:font-size-asian=\"11pt\"\n" \
+    "                          style:font-name-complex=\"Courier New\"\n" \
+    "                          style:font-size-complex=\"11pt\"/>\n" \
+    "</style:style>\n" \
+    "<style:style style:name=\"Source_20_Text\" style:display-name=\"Source Text\"\n" \
+    "             style:family=\"text\">\n" \
+    "   <style:text-properties style:font-name=\"Courier New\" style:font-name-asian=\"Courier New\"\n" \
+    "                          style:font-name-complex=\"Courier New\"\n" \
+    "                          fo:font-size=\"11pt\"/>\n" \
+    "</style:style>\n" \
+    "<style:style style:name=\"List\" style:family=\"paragraph\"\n" \
+    "             style:parent-style-name=\"Standard\"\n" \
+    "             style:class=\"list\">\n" \
+    "   <style:paragraph-properties fo:text-align=\"start\" style:justify-single-word=\"false\"/>\n" \
+    "   <style:text-properties style:font-size-asian=\"12pt\"/>\n" \
+    "</style:style>\n" \
+    "<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\"" \
+    "                               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" \
+    "             style:family=\"paragraph\"\n" \
+    "             style:parent-style-name=\"Table_20_Contents\"\n" \
+    "             style:class=\"extra\">\n" \
+    "   <style:paragraph-properties fo:text-align=\"center\" style:justify-single-word=\"false\"\n" \
+    "                               text:number-lines=\"false\"\n" \
+    "                               text:line-number=\"0\"/>\n" \
+    "   <style:text-properties fo:font-weight=\"bold\" style:font-weight-asian=\"bold\"\n" \
+    "                          style:font-weight-complex=\"bold\"/>\n" \
+    "</style:style>\n" \
+    "<style:style style:name=\"Horizontal_20_Line\" style:display-name=\"Horizontal Line\"\n" \
+    "             style:family=\"paragraph\"\n" \
+    "             style:parent-style-name=\"Standard\"\n" \
+    "             style:class=\"html\">\n" \
+    "   <style:paragraph-properties fo:margin-top=\"0in\" fo:margin-bottom=\"0.1965in\"\n" \
+    "                               style:border-line-width-bottom=\"0.0008in 0.0138in 0.0008in\"\n" \
+    "                               fo:padding=\"0in\"\n" \
+    "                               fo:border-left=\"none\"\n" \
+    "                               fo:border-right=\"none\"\n" \
+    "                               fo:border-top=\"none\"\n" \
+    "                               fo:border-bottom=\"0.0154in double #808080\"\n" \
+    "                               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>\n" \
+       "<style:style style:name=\"TOC_Item\" style:family=\"paragraph\" style:parent-style-name=\"Standard\">\n" \
+       " <style:paragraph-properties>\n" \
+       "  <style:tab-stops>\n" \
+       "   <style:tab-stop style:position=\"6.7283in\" style:type=\"right\" style:leader-style=\"dotted\" style:leader-text=\".\"/>\n" \
+       "  </style:tab-stops>\n" \
+       " </style:paragraph-properties>\n" \
+       "</style:style>\n" \
+       "  <text:notes-configuration text:note-class=\"footnote\" text:default-style-name=\"Footnote\" text:citation-style-name=\"Footnote_20_Symbol\" text:citation-body-style-name=\"Footnote_20_anchor\" text:master-page-name=\"Footnote\" style:num-format=\"a\" text:start-value=\"0\" text:footnotes-position=\"page\" text:start-numbering-at=\"page\"/>\n" \
+       "  <text:notes-configuration text:note-class=\"endnote\" text:default-style-name=\"Endnote\" text:citation-style-name=\"Endnote_20_Symbol\" text:citation-body-style-name=\"Endnote_20_anchor\" text:master-page-name=\"Endnote\" style:num-format=\"1\" text:start-value=\"0\"/>\n" \
+    "</office:styles>\n");
+
+    /* Automatic style information */
+    print_const("<office:automatic-styles>" \
+    "   <style:style style:name=\"MMD-Italic\" style:family=\"text\">\n" \
+    "      <style:text-properties fo:font-style=\"italic\" style:font-style-asian=\"italic\"\n" \
+    "                             style:font-style-complex=\"italic\"/>\n" \
+    "   </style:style>\n" \
+    "   <style:style style:name=\"MMD-Bold\" style:family=\"text\">\n" \
+    "      <style:text-properties fo:font-weight=\"bold\" style:font-weight-asian=\"bold\"\n" \
+    "                             style:font-weight-complex=\"bold\"/>\n" \
+    "   </style:style>\n" \
+    "   <style:style style:name=\"MMD-Superscript\" style:family=\"text\">\n" \
+    "      <style:text-properties style:text-position=\"super 58%\"/>\n" \
+    "   </style:style>\n" \
+    "   <style:style style:name=\"MMD-Subscript\" style:family=\"text\">\n" \
+    "      <style:text-properties style:text-position=\"sub 58%\"/>\n" \
+    "   </style:style>\n" \
+    "   <style:style style:name=\"Strike\" style:family=\"text\">\n" \
+    "      <style:text-properties style:text-line-through-style=\"solid\" />\n" \
+    "   </style:style>\n" \
+    "   <style:style style:name=\"Underline\" style:family=\"text\">\n" \
+    "      <style:text-properties style:text-underline-style=\"solid\" style:text-underline-color=\"font-color\"/>\n" \
+    "   </style:style>\n" \
+    "   <style:style style:name=\"Highlight\" style:family=\"text\">\n" \
+    "      <style:text-properties fo:background-color=\"#FFFF00\" />\n" \
+    "   </style:style>\n" \
+    "   <style:style style:name=\"Comment\" style:family=\"text\">\n" \
+    "      <style:text-properties fo:color=\"#0000BB\" />\n" \
+    "   </style:style>\n" \
+    "<style:style style:name=\"MMD-Table\" style:family=\"paragraph\" style:parent-style-name=\"Standard\">\n" \
+    "   <style:paragraph-properties fo:margin-top=\"0in\" fo:margin-bottom=\"0.05in\"/>\n" \
+    "</style:style>\n" \
+    "<style:style style:name=\"MMD-Table-Center\" style:family=\"paragraph\" style:parent-style-name=\"MMD-Table\">\n" \
+    "   <style:paragraph-properties fo:text-align=\"center\" style:justify-single-word=\"false\"/>\n" \
+    "</style:style>\n" \
+    "<style:style style:name=\"MMD-Table-Right\" style:family=\"paragraph\" style:parent-style-name=\"MMD-Table\">\n" \
+    "   <style:paragraph-properties fo:text-align=\"right\" style:justify-single-word=\"false\"/>\n" \
+    "</style:style>\n" \
+    "<style:style style:name=\"P2\" style:family=\"paragraph\" style:parent-style-name=\"Standard\"\n" \
+    "             style:list-style-name=\"L2\">\n" \
+    "<style:paragraph-properties fo:text-align=\"start\" style:justify-single-word=\"false\"/>\n" \
+    "</style:style>\n" \
+       "<style:style style:name=\"fr1\" style:family=\"graphic\" style:parent-style-name=\"Frame\">\n" \
+       "   <style:graphic-properties style:print-content=\"true\" style:vertical-pos=\"top\"\n" \
+       "                             style:vertical-rel=\"baseline\"\n" \
+       "                             fo:padding=\"0in\"\n" \
+       "                             fo:border=\"none\"\n" \
+       "                             style:shadow=\"none\"/>\n" \
+       "</style:style>\n" \
+    "<style:style style:name=\"P1\" style:family=\"paragraph\" style:parent-style-name=\"Standard\"\n" \
+    "             style:list-style-name=\"L1\"/>\n" \
+       "<text:list-style style:name=\"L1\">\n" \
+       "       <text:list-level-style-bullet text:level=\"1\" text:style-name=\"Numbering_20_Symbols\" style:num-suffix=\".\" text:bullet-char=\"•\">\n" \
+       "               <style:list-level-properties text:list-level-position-and-space-mode=\"label-alignment\">\n" \
+       "                       <style:list-level-label-alignment text:label-followed-by=\"listtab\" text:list-tab-stop-position=\"0.5in\" fo:text-indent=\"-0.25in\" fo:margin-left=\"0.5in\"/>\n" \
+       "               </style:list-level-properties>\n" \
+       "       </text:list-level-style-bullet>\n" \
+       "       <text:list-level-style-bullet text:level=\"2\" text:style-name=\"Numbering_20_Symbols\" style:num-suffix=\".\" text:bullet-char=\"â—¦\">\n" \
+       "               <style:list-level-properties text:list-level-position-and-space-mode=\"label-alignment\">\n" \
+       "                       <style:list-level-label-alignment text:label-followed-by=\"listtab\" text:list-tab-stop-position=\"0.75in\" fo:text-indent=\"-0.25in\" fo:margin-left=\"0.75in\"/>\n" \
+       "               </style:list-level-properties>\n" \
+       "       </text:list-level-style-bullet>\n" \
+       "       <text:list-level-style-bullet text:level=\"3\" text:style-name=\"Numbering_20_Symbols\" style:num-suffix=\".\" text:bullet-char=\"â–ª\">\n" \
+       "               <style:list-level-properties text:list-level-position-and-space-mode=\"label-alignment\">\n" \
+       "                       <style:list-level-label-alignment text:label-followed-by=\"listtab\" text:list-tab-stop-position=\"1in\" fo:text-indent=\"-0.25in\" fo:margin-left=\"1in\"/>\n" \
+       "               </style:list-level-properties>\n" \
+       "       </text:list-level-style-bullet>\n" \
+       "       <text:list-level-style-number text:level=\"4\" style:num-suffix=\".\" style:num-format=\"1\">\n" \
+       "               <style:list-level-properties text:list-level-position-and-space-mode=\"label-alignment\">\n" \
+       "                       <style:list-level-label-alignment text:label-followed-by=\"listtab\" text:list-tab-stop-position=\"1.25in\" fo:text-indent=\"-0.25in\" fo:margin-left=\"1.25in\"/>\n" \
+       "               </style:list-level-properties>\n" \
+       "       </text:list-level-style-number>\n" \
+       "       <text:list-level-style-number text:level=\"5\" style:num-suffix=\".\" style:num-format=\"1\">\n" \
+       "               <style:list-level-properties text:list-level-position-and-space-mode=\"label-alignment\">\n" \
+       "                       <style:list-level-label-alignment text:label-followed-by=\"listtab\" text:list-tab-stop-position=\"1.5in\" fo:text-indent=\"-0.25in\" fo:margin-left=\"1.5in\"/>\n" \
+       "               </style:list-level-properties>\n" \
+       "       </text:list-level-style-number>\n" \
+       "       <text:list-level-style-number text:level=\"6\" style:num-suffix=\".\" style:num-format=\"1\">\n" \
+       "               <style:list-level-properties text:list-level-position-and-space-mode=\"label-alignment\">\n" \
+       "                       <style:list-level-label-alignment text:label-followed-by=\"listtab\" text:list-tab-stop-position=\"1.75in\" fo:text-indent=\"-0.25in\" fo:margin-left=\"1.75in\"/>\n" \
+       "               </style:list-level-properties>\n" \
+       "       </text:list-level-style-number>\n" \
+       "       <text:list-level-style-number text:level=\"7\" style:num-suffix=\".\" style:num-format=\"1\">\n" \
+       "               <style:list-level-properties text:list-level-position-and-space-mode=\"label-alignment\">\n" \
+       "                       <style:list-level-label-alignment text:label-followed-by=\"listtab\" text:list-tab-stop-position=\"2in\" fo:text-indent=\"-0.25in\" fo:margin-left=\"2in\"/>\n" \
+       "               </style:list-level-properties>\n" \
+       "       </text:list-level-style-number>\n" \
+       "       <text:list-level-style-number text:level=\"8\" style:num-suffix=\".\" style:num-format=\"1\">\n" \
+       "               <style:list-level-properties text:list-level-position-and-space-mode=\"label-alignment\">\n" \
+       "                       <style:list-level-label-alignment text:label-followed-by=\"listtab\" text:list-tab-stop-position=\"2.25in\" fo:text-indent=\"-0.25in\" fo:margin-left=\"2.25in\"/>\n" \
+       "               </style:list-level-properties>\n" \
+       "       </text:list-level-style-number>\n" \
+       "       <text:list-level-style-number text:level=\"9\" style:num-suffix=\".\" style:num-format=\"1\">\n" \
+       "               <style:list-level-properties text:list-level-position-and-space-mode=\"label-alignment\">\n" \
+       "                       <style:list-level-label-alignment text:label-followed-by=\"listtab\" text:list-tab-stop-position=\"2.5in\" fo:text-indent=\"-0.25in\" fo:margin-left=\"2.5in\"/>\n" \
+       "               </style:list-level-properties>\n" \
+       "       </text:list-level-style-number>\n" \
+       "       <text:list-level-style-number text:level=\"10\" style:num-suffix=\".\" style:num-format=\"1\">\n" \
+       "               <style:list-level-properties text:list-level-position-and-space-mode=\"label-alignment\">\n" \
+       "                       <style:list-level-label-alignment text:label-followed-by=\"listtab\" text:list-tab-stop-position=\"2.75in\" fo:text-indent=\"-0.25in\" fo:margin-left=\"2.75in\"/>\n" \
+       "               </style:list-level-properties>\n" \
+       "       </text:list-level-style-number>\n" \
+       "</text:list-style>\n" \
+       "<text:list-style style:name=\"L2\">\n" \
+       "       <text:list-level-style-number text:level=\"1\" text:style-name=\"Standard\" style:num-suffix=\".\" style:num-format=\"1\">\n" \
+       "               <style:list-level-properties text:list-level-position-and-space-mode=\"label-alignment\">\n" \
+       "                       <style:list-level-label-alignment text:label-followed-by=\"listtab\" text:list-tab-stop-position=\"0.5in\" fo:text-indent=\"-0.25in\" fo:margin-left=\"0.5in\"/>\n" \
+       "               </style:list-level-properties>\n" \
+       "       </text:list-level-style-number>\n" \
+       "       <text:list-level-style-number text:level=\"2\" text:style-name=\"Standard\" style:num-suffix=\".\" style:num-format=\"1\">\n" \
+       "               <style:list-level-properties text:list-level-position-and-space-mode=\"label-alignment\">\n" \
+       "                       <style:list-level-label-alignment text:label-followed-by=\"listtab\" text:list-tab-stop-position=\"0.75in\" fo:text-indent=\"-0.25in\" fo:margin-left=\"0.75in\"/>\n" \
+       "               </style:list-level-properties>\n" \
+       "       </text:list-level-style-number>\n" \
+       "       <text:list-level-style-number text:level=\"3\" text:style-name=\"Standard\" style:num-suffix=\".\" style:num-format=\"1\">\n" \
+       "               <style:list-level-properties text:list-level-position-and-space-mode=\"label-alignment\">\n" \
+       "                       <style:list-level-label-alignment text:label-followed-by=\"listtab\" text:list-tab-stop-position=\"1in\" fo:text-indent=\"-0.25in\" fo:margin-left=\"1in\"/>\n" \
+       "               </style:list-level-properties>\n" \
+       "       </text:list-level-style-number>\n" \
+       "       <text:list-level-style-number text:level=\"4\" text:style-name=\"Standard\" style:num-suffix=\".\" style:num-format=\"1\">\n" \
+       "               <style:list-level-properties text:list-level-position-and-space-mode=\"label-alignment\">\n" \
+       "                       <style:list-level-label-alignment text:label-followed-by=\"listtab\" text:list-tab-stop-position=\"1.25in\" fo:text-indent=\"-0.25in\" fo:margin-left=\"1.25in\"/>\n" \
+       "               </style:list-level-properties>\n" \
+       "       </text:list-level-style-number>\n" \
+       "       <text:list-level-style-number text:level=\"5\" text:style-name=\"Standard\" style:num-suffix=\".\" style:num-format=\"1\">\n" \
+       "               <style:list-level-properties text:list-level-position-and-space-mode=\"label-alignment\">\n" \
+       "                       <style:list-level-label-alignment text:label-followed-by=\"listtab\" text:list-tab-stop-position=\"1.5in\" fo:text-indent=\"-0.25in\" fo:margin-left=\"1.5in\"/>\n" \
+       "               </style:list-level-properties>\n" \
+       "       </text:list-level-style-number>\n" \
+       "       <text:list-level-style-number text:level=\"6\" text:style-name=\"Standard\" style:num-suffix=\".\" style:num-format=\"1\">\n" \
+       "               <style:list-level-properties text:list-level-position-and-space-mode=\"label-alignment\">\n" \
+       "                       <style:list-level-label-alignment text:label-followed-by=\"listtab\" text:list-tab-stop-position=\"1.75in\" fo:text-indent=\"-0.25in\" fo:margin-left=\"1.75in\"/>\n" \
+       "               </style:list-level-properties>\n" \
+       "       </text:list-level-style-number>\n" \
+       "       <text:list-level-style-number text:level=\"7\" text:style-name=\"Standard\" style:num-suffix=\".\" style:num-format=\"1\">\n" \
+       "               <style:list-level-properties text:list-level-position-and-space-mode=\"label-alignment\">\n" \
+       "                       <style:list-level-label-alignment text:label-followed-by=\"listtab\" text:list-tab-stop-position=\"2in\" fo:text-indent=\"-0.25in\" fo:margin-left=\"2in\"/>\n" \
+       "               </style:list-level-properties>\n" \
+       "       </text:list-level-style-number>\n" \
+       "       <text:list-level-style-number text:level=\"8\" text:style-name=\"Standard\" style:num-suffix=\".\" style:num-format=\"1\">\n" \
+       "               <style:list-level-properties text:list-level-position-and-space-mode=\"label-alignment\">\n" \
+       "                       <style:list-level-label-alignment text:label-followed-by=\"listtab\" text:list-tab-stop-position=\"2.25in\" fo:text-indent=\"-0.25in\" fo:margin-left=\"2.25in\"/>\n" \
+       "               </style:list-level-properties>\n" \
+       "       </text:list-level-style-number>\n" \
+       "       <text:list-level-style-number text:level=\"9\" text:style-name=\"Standard\" style:num-suffix=\".\" style:num-format=\"1\">\n" \
+       "               <style:list-level-properties text:list-level-position-and-space-mode=\"label-alignment\">\n" \
+       "                       <style:list-level-label-alignment text:label-followed-by=\"listtab\" text:list-tab-stop-position=\"2.5in\" fo:text-indent=\"-0.25in\" fo:margin-left=\"2.5in\"/>\n" \
+       "               </style:list-level-properties>\n" \
+       "       </text:list-level-style-number>\n" \
+       "       <text:list-level-style-number text:level=\"10\" text:style-name=\"Standard\" style:num-suffix=\".\" style:num-format=\"1\">\n" \
+       "               <style:list-level-properties text:list-level-position-and-space-mode=\"label-alignment\">\n" \
+       "                       <style:list-level-label-alignment text:label-followed-by=\"listtab\" text:list-tab-stop-position=\"2.75in\" fo:text-indent=\"-0.25in\" fo:margin-left=\"2.75in\"/>\n" \
+       "               </style:list-level-properties>\n" \
+       "       </text:list-level-style-number>\n" \
+       "</text:list-style>\n" \
+    "</office:automatic-styles>\n" \
+       " <office:master-styles>\n" \
+       "  <style:master-page style:name=\"Endnote\" >\n" \
+       "    <style:header><text:h text:outline-level=\"2\">Bibliography</text:h></style:header></style:master-page>\n" \
+       "  <style:master-page style:name=\"Footnote\" style:page-layout-name=\"pm2\"/>\n" \
+       " </office:master-styles>\n");
+
+               // Iterate over metadata keys
+       meta * m;
+
+       if (scratch->meta_hash)
+               print_const("<office:meta>\n");
+
+       for (m = scratch->meta_hash; m != NULL; m = m->hh.next) {
+               if (strcmp(m->key, "baseheaderlevel") == 0) {
+               } else if (strcmp(m->key, "bibliostyle") == 0) {
+               } else if (strcmp(m->key, "bibtex") == 0) {
+               } else if (strcmp(m->key, "css") == 0) {
+               } else if (strcmp(m->key, "htmlfooter") == 0) {
+               } else if (strcmp(m->key, "htmlheader") == 0) {
+               } else if (strcmp(m->key, "htmlheaderlevel") == 0) {
+               } else if (strcmp(m->key, "language") == 0) {
+               } else if (strcmp(m->key, "latexbegin") == 0) {
+               } else if (strcmp(m->key, "latexconfig") == 0) {
+               } else if (strcmp(m->key, "latexfooter") == 0) {
+               } else if (strcmp(m->key, "latexheaderlevel") == 0) {
+               } else if (strcmp(m->key, "latexinput") == 0) {
+               } else if (strcmp(m->key, "latexleader") == 0) {
+               } else if (strcmp(m->key, "latexmode") == 0) {
+               } else if (strcmp(m->key, "mmdfooter") == 0) {
+               } else if (strcmp(m->key, "mmdheader") == 0) {
+               } else if (strcmp(m->key, "quoteslanguage") == 0) {
+               } else if (strcmp(m->key, "title") == 0) {
+                       print_const("\t<dc:title>");
+                       mmd_print_string_odf(out, m->value);
+                       print_const("</dc:title>\n");
+               } else if (strcmp(m->key, "transcludebase") == 0) {
+               } else if (strcmp(m->key, "xhtmlheader") == 0) {
+                       print(m->value);
+                       print_char('\n');
+               } else if (strcmp(m->key, "xhtmlheaderlevel") == 0) {
+               } else {
+                       print_const("\t<meta:user-defined meta:name=\"");
+                       mmd_print_string_odf(out, m->key);
+                       print_const("\">");
+                       mmd_print_string_odf(out, m->value);
+                       print_const("</meta:user-defined>\n");
+               }
+       }
+
+       if (scratch->meta_hash)
+               print_const("</office:meta>\n");
+
+       print_const("<office:body>\n<office:text>\n");
+}
+
+
+void mmd_end_complete_odf(DString * out, const char * source, scratch_pad * scratch) {
+       pad(out, 1, scratch);
+       print_const("</office:text>\n</office:body>\n</office:document>");
+}
+
diff --git a/Sources/libMultiMarkdown/fodt.h b/Sources/libMultiMarkdown/fodt.h
new file mode 100644 (file)
index 0000000..0f4ff93
--- /dev/null
@@ -0,0 +1,81 @@
+/**
+
+       MultiMarkdown -- Lightweight markup processor to produce HTML, odf, and more.
+
+       @file fodt.h
+
+       @brief Convert token tree to Flat OpenDocument (ODF/FODT) output
+
+
+       @author Fletcher T. Penney
+       @bug    
+
+**/
+
+/*
+
+       Copyright Â© 2016 - 2017 Fletcher T. Penney.
+
+
+       The `MultiMarkdown 6` project is released under the MIT License..
+       
+       GLibFacade.c and GLibFacade.h are from the MultiMarkdown v4 project:
+       
+               https://github.com/fletcher/MultiMarkdown-4/
+       
+       MMD 4 is released under both the MIT License and GPL.
+       
+       
+       CuTest is released under the zlib/libpng license. See CuTest.c for the
+       text of the license.
+       
+       
+       ## The MIT License ##
+       
+       Permission is hereby granted, free of charge, to any person obtaining
+       a copy of this software and associated documentation files (the
+       "Software"), to deal in the Software without restriction, including
+       without limitation the rights to use, copy, modify, merge, publish,
+       distribute, sublicense, and/or sell copies of the Software, and to
+       permit persons to whom the Software is furnished to do so, subject to
+       the following conditions:
+       
+       The above copyright notice and this permission notice shall be
+       included in all copies or substantial portions of the Software.
+       
+       THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND,
+       EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF
+       MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT.
+       IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY
+       CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT,
+       TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE
+       SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
+       
+
+*/
+
+
+#ifndef FODT_MULTIMARKDOWN_H
+#define FODT_MULTIMARKDOWN_H
+
+
+#include "d_string.h"
+#include "token.h"
+#include "writer.h"
+
+void mmd_export_token_odf(DString * out, const char * source, token * t, scratch_pad * scratch);
+void mmd_export_token_tree_odf(DString * out, const char * source, token * t, scratch_pad * scratch);
+
+void mmd_export_token_odf_raw(DString * out, const char * source, token * t, scratch_pad * scratch);
+void mmd_export_token_tree_odf_raw(DString * out, const char * source, token * t, scratch_pad * scratch);
+
+void mmd_export_citation_list_odf(DString * out, const char * source, scratch_pad * scratch);
+void mmd_export_footnote_list_odf(DString * out, const char * source, scratch_pad * scratch);
+
+void mmd_start_complete_odf(DString * out, const char * source, scratch_pad * scratch);
+void mmd_end_complete_odf(DString * out, const char * source, scratch_pad * scratch);
+
+void mmd_export_citation_list_odf(DString * out, const char * source, scratch_pad * scratch);
+
+
+#endif
index 95778e0bc03ba140435521f96c266d519e8ae088..ef3301abdd6805cf5ecfddb331d63305b12c234f 100644 (file)
@@ -478,7 +478,8 @@ enum output_format {
        FORMAT_LATEX,
        FORMAT_BEAMER,
        FORMAT_MEMOIR,
-       FORMAT_ODF,
+       FORMAT_FODT,
+       FORMAT_ODT,
        FORMAT_MMD,
        FORMAT_TEXTBUNDLE,
        FORMAT_TEXTBUNDLE_COMPRESSED,
index 64136757264e915622df83f2bd06e4c1d1945dd8..9215b4baf6b348ccd7476576b2f023477fc7e902 100644 (file)
@@ -64,6 +64,7 @@
 #include "libMultiMarkdown.h"
 #include "mmd.h"
 #include "object_pool.h"
+#include "opendocument.h"
 #include "parser.h"
 #include "scanners.h"
 #include "stack.h"
@@ -2310,6 +2311,16 @@ DString * mmd_engine_convert_to_data(mmd_engine * e, short format, const char *
                case FORMAT_TEXTBUNDLE_COMPRESSED:
                        result = textbundle_create(output->str, e, directory);
 
+                       d_string_free(output, true);
+                       break;
+               case FORMAT_ODT:
+                       result = opendocument_text_create(output->str, e, directory);
+
+                       d_string_free(output, true);
+                       break;
+               case FORMAT_FODT:
+                       result = opendocument_flat_text_create(output->str, e, directory);
+                       
                        d_string_free(output, true);
                        break;
                default:
index 0a8063a124d8b9d37da7c3668e11ec4bc5beea05..61290cbc4da3b07f746f0289af57686f0f8bc989 100644 (file)
@@ -4,7 +4,7 @@
 
        @file odf.c
 
-       @brief Convert token tree to Flat OpenDocument (ODF/FODT) output
+       @brief 
 
 
        @author Fletcher T. Penney
        CuTest is released under the zlib/libpng license. See CuTest.c for the
        text of the license.
        
+       uthash library:
+               Copyright (c) 2005-2016, Troy D. Hanson
+       
+               Licensed under Revised BSD license
+       
+       miniz library:
+               Copyright 2013-2014 RAD Game Tools and Valve Software
+               Copyright 2010-2014 Rich Geldreich and Tenacious Software LLC
+       
+               Licensed under the MIT license
+       
+       argtable3 library:
+               Copyright (C) 1998-2001,2003-2011,2013 Stewart Heitmann
+               <sheitmann@users.sourceforge.net>
+               All rights reserved.
+       
+               Licensed under the Revised BSD License
+       
        
        ## The MIT License ##
        
        TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE
        SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
        
-
-*/
-
-
-#include <ctype.h>
-#include <stdio.h>
-#include <stdlib.h>
-#include <string.h>
-
-#include "char.h"
-#include "i18n.h"
-#include "odf.h"
-#include "parser.h"
-#include "scanners.h"
-
-#define print(x) d_string_append(out, x)
-#define print_const(x) d_string_append_c_array(out, x, sizeof(x) - 1)
-#define print_char(x) d_string_append_c(out, x)
-#define printf(...) d_string_append_printf(out, __VA_ARGS__)
-#define print_token(t) d_string_append_c_array(out, &(source[t->start]), t->len)
-#define print_localized(x) mmd_print_localized_char_odf(out, x, scratch)
-
-
-/// strdup() not available on all platforms
-static char * my_strdup(const char * source) {
-       char * result = malloc(strlen(source) + 1);
-
-       if (result) {
-               strcpy(result, source);
-       }
-
-       return result;
-}
-
-
-void mmd_print_char_odf(DString * out, char c) {
-       switch (c) {
-               case '"':
-                       print_const("&quot;");
-                       break;
-               case '&':
-                       print_const("&amp;");
-                       break;
-               case '<':
-                       print_const("&lt;");
-                       break;
-               case '>':
-                       print_const("&gt;");
-                       break;
-               case '\t':
-                       print_const("<text:tab/>");
-               default:
-                       print_char(c);
-                       break;
-       }
-}
-
-
-void mmd_print_string_odf(DString * out, const char * str) {
-       if (str == NULL)
-               return;
-       
-       while (*str != '\0') {
-               mmd_print_char_odf(out, *str);
-               str++;
-       }
-}
-
-
-void mmd_print_localized_char_odf(DString * out, unsigned short type, scratch_pad * scratch) {
-       switch (type) {
-               case DASH_N:
-                       print_const("&#8211;");
-                       break;
-               case DASH_M:
-                       print_const("&#8212;");
-                       break;
-               case ELLIPSIS:
-                       print_const("&#8230;");
-                       break;
-               case APOSTROPHE:
-                       print_const("&#8217;");
-                       break;
-               case QUOTE_LEFT_SINGLE:
-                       switch (scratch->quotes_lang) {
-                               case SWEDISH:
-                                       print( "&#8217;");
-                                       break;
-                               case FRENCH:
-                                       print_const("&#39;");
-                                       break;
-                               case GERMAN:
-                                       print_const("&#8218;");
-                                       break;
-                               case GERMANGUILL:
-                                       print_const("&#8250;");
-                                       break;
-                               default:
-                                       print_const("&#8216;");
-                               }
-                       break;
-               case QUOTE_RIGHT_SINGLE:
-                       switch (scratch->quotes_lang) {
-                               case GERMAN:
-                                       print_const("&#8216;");
-                                       break;
-                               case GERMANGUILL:
-                                       print_const("&#8249;");
-                                       break;
-                               default:
-                                       print_const("&#8217;");
-                               }
-                       break;
-               case QUOTE_LEFT_DOUBLE:
-                       switch (scratch->quotes_lang) {
-                               case DUTCH:
-                               case GERMAN:
-                                       print_const("&#8222;");
-                                       break;
-                               case GERMANGUILL:
-                                       print_const("&#187;");
-                                       break;
-                               case FRENCH:
-                                       print_const("&#171;");
-                                       break;
-                               case SWEDISH:
-                                       print( "&#8221;");
-                                       break;
-                               default:
-                                       print_const("&#8220;");
-                               }
-                       break;
-               case QUOTE_RIGHT_DOUBLE:
-                       switch (scratch->quotes_lang) {
-                               case GERMAN:
-                                       print_const("&#8220;");
-                                       break;
-                               case GERMANGUILL:
-                                       print_const("&#171;");
-                                       break;
-                               case FRENCH:
-                                       print_const("&#187;");
-                                       break;
-                               case SWEDISH:
-                               case DUTCH:
-                               default:
-                                       print_const("&#8221;");
-                               }
-                       break;
-       }
-}
-
-
-void mmd_export_link_odf(DString * out, const char * source, token * text, link * link, scratch_pad * scratch) {
-       if (link->url) {
-               print_const("<text:a xlink:type=\"simple\" xlink:href=\"");
-               mmd_print_string_odf(out, link->url);
-               print_const("\"");
-       } else
-               print_const("<a xlink:type=\"simple\" xlink:href=\"\"");
-
-       if (link->title && link->title[0] != '\0') {
-               print_const(" office:name=\"");
-               mmd_print_string_odf(out, link->title);
-               print_const("\"");
-       }
-
-       print_const(">");
-
-       // If we're printing contents of bracket as text, then ensure we include it all
-       if (text && text->child && text->child->len > 1) {
-               text->child->next->start--;
-               text->child->next->len++;
-       }
-       
-       mmd_export_token_tree_odf(out, source, text->child, scratch);
-
-       print_const("</text:a>");
-}
-
-
-static char * correct_dimension_units(char *original) {
-       char *result;
-       int i;
-       
-       result = my_strdup(original);
        
-       for (i = 0; result[i]; i++)
-               result[i] = tolower(result[i]);
-       
-       if (strstr(&result[strlen(result)-2],"px")) {
-               result[strlen(result)-2] = '\0';
-               strcat(result, "pt");
-       }
-       
-       return result;
-}
-
-
-void mmd_export_image_odf(DString * out, const char * source, token * text, link * link, scratch_pad * scratch, bool is_figure) {
-       attr * a = link->attributes;
-       char * height = NULL;
-       char * width = NULL;
-
-       print_const("<draw:frame text:anchor-type=\"as-char\"\ndraw:z-index=\"0\" draw:style-name=\"fr1\"");
-
-       // Check attributes for dimensions
-       while (a) {
-               if (strcmp("height", a->key) == 0) {
-                       height = correct_dimension_units(a->value);
-               } else if (strcmp("width", a->key) == 0) {
-                       width = correct_dimension_units(a->value);
-               }
-
-               a = a->next;
-       }
-
-       if (width) {
-               printf(" svg:width=\"%s\">\n", width);
-       } else {
-               print_const(" svg:width=\"95%\">\n");
-       }
-
-       print_const("<draw:text-box><text:p><draw:frame text:anchor-type=\"as-char\" draw:z-index=\"1\" ");
-
-       if (height && width) {
-               printf("svg:height=\"%s\" ", height);
-               printf("svg:width=\"%s\" ", width);
-       }
-
-       if (height)
-               free(height);
-
-       if (width)
-               free(width);
-
-       if (link->url)
-               printf(">\n<draw:image xlink:href=\"%s\"", link->url);
-
-       print_const(" xlink:type=\"simple\" xlink:show=\"embed\" xlink:actuate=\"onLoad\" draw:filter-name=\"&lt;All formats&gt;\"/>\n</draw:frame></text:p>");
-
-       if (is_figure) {
-               if (text) {
-                       print_const("\n<text:p>Figure <text:sequence text:name=\"Figure\" text:formula=\"ooow:Figure+1\" style:num-format=\"1\"> Update Fields to calculate numbers</text:sequence>: ");
-                       mmd_export_token_tree_odf(out, source, text->child, scratch);
-                       print_const("</text:p>");
-               }
-       }
-
-       print_const("\n</draw:text-box></draw:frame>\n");
-
-       scratch->padded = 1;
-}
-
-
-
-void mmd_export_toc_entry_odf(DString * out, const char * source, scratch_pad * scratch, size_t * counter, short level) {
-       token * entry, * next;
-       short entry_level, next_level;
-       char * temp_char;
-
-       // Iterate over tokens
-       while (*counter < scratch->header_stack->size) {
-               // Get token for header
-               entry = stack_peek_index(scratch->header_stack, *counter);
-               entry_level = raw_level_for_header(entry);
-
-               if (entry_level >= level) {
-                       // This entry is a direct descendant of the parent
-                       temp_char = label_from_header(source, entry);
-                       printf("<text:p text:style-name=\"TOC_Item\"><text:a xlink:type=\"simple\" xlink:href=\"#%s\" text:style-name=\"Index_20_Link\" text:visited-style-name=\"Index_20_Link\">", temp_char);
-                       mmd_export_token_tree_odf(out, source, entry->child, scratch);
-                       print_const(" <text:tab/>1</text:a></text:p>\n");
-
-                       if (*counter < scratch->header_stack->size - 1) {
-                               next = stack_peek_index(scratch->header_stack, *counter + 1);
-                               next_level = next->type - BLOCK_H1 + 1;
-                               if (next_level > entry_level) {
-                                       // This entry has children
-                                       (*counter)++;
-                                       mmd_export_toc_entry_odf(out, source, scratch, counter, entry_level + 1);
-                               }
-                       }
-
-                       free(temp_char);
-               } else if (entry_level < level ) {
-                       // If entry < level, exit this level
-                       // Decrement counter first, so that we can test it again later
-                       (*counter)--;
-                       break;
-               }
-               
-               // Increment counter
-               (*counter)++;
-       }
-}
-
-void mmd_export_toc_odf(DString * out, const char * source, scratch_pad * scratch) {
-       size_t counter = 0;
-
-       // TODO: Could use LC to internationalize this
-       print_const("<text:table-of-content text:style-name=\"Sect1\" text:protected=\"true\" text:name=\"Table of Contents1\">\n");
-       print_const("<text:table-of-content-source text:outline-level=\"10\">\n");
-       print_const("<text:index-title-template text:style-name=\"Contents_20_Heading\">Table of Contents</text:index-title-template>\n");
-       print_const("</text:table-of-content-source>\n<text:index-body>\n");
-       print_const("<text:index-title text:style-name=\"Sect1\" text:name=\"Table of Contents1_Head\">\n");
-       print_const("<text:p text:style-name=\"Contents_20_Heading\">Table of Contents</text:p>\n");
-       print_const("</text:index-title>\n");
-
-       mmd_export_toc_entry_odf(out, source, scratch, &counter, 0);
-
-       print_const("</text:index-body>\n</text:table-of-content>\n\n");
-}
-
-
-void mmd_export_token_odf(DString * out, const char * source, token * t, scratch_pad * scratch) {
-       if (t == NULL)
-               return;
-
-       short   temp_short;
-       short   temp_short2;
-       short   temp_short3;
-       link *  temp_link       = NULL;
-       char *  temp_char       = NULL;
-       char *  temp_char2      = NULL;
-       bool    temp_bool       = 0;
-       token * temp_token      = NULL;
-       footnote * temp_note = NULL;
-
-       switch (t->type) {
-               case DOC_START_TOKEN:
-                       mmd_export_token_tree_odf(out, source, t->child, scratch);
-                       break;
-               case AMPERSAND:
-               case AMPERSAND_LONG:
-                       print_const("&amp;");
-                       break;
-               case ANGLE_LEFT:
-                       print_const("&lt;");
-                       break;
-               case ANGLE_RIGHT:
-                       print_const("&gt;");
-                       break;
-               case APOSTROPHE:
-                       if (!(scratch->extensions & EXT_SMART)) {
-                               print_token(t);
-                       } else {
-                               print_localized(APOSTROPHE);
-                       }
-                       break;
-               case BACKTICK:
-                       if (t->mate == NULL)
-                               print_token(t);
-                       else if (t->mate->type == QUOTE_RIGHT_ALT)
-                               if (!(scratch->extensions & EXT_SMART)) {
-                                       print_token(t);
-                               } else {
-                                       print_localized(QUOTE_LEFT_DOUBLE);
-                               }
-                       else if (t->start < t->mate->start) {
-                               print_const("<text:span text:style-name=\"Source_20_Text\">");
-                       } else {
-                               print_const("</text:span>");
-                       }
-                       break;
-               case BLOCK_BLOCKQUOTE:
-                       pad(out, 2, scratch);
-                       scratch->padded = 2;
-                       temp_short2 = scratch->odf_para_type;
-
-                       scratch->odf_para_type = BLOCK_BLOCKQUOTE;
-
-                       mmd_export_token_tree_odf(out, source, t->child, scratch);
-                       scratch->padded = 0;
-                       scratch->odf_para_type = temp_short2;
-                       break;
-               case BLOCK_CODE_FENCED:
-                       pad(out, 2, scratch);
-
-                       temp_char = get_fence_language_specifier(t->child->child, source);
-
-                       if (temp_char) {
-                               if (strncmp("{=", temp_char, 2) == 0) {
-                                       // Raw source
-                                       if (raw_filter_text_matches(temp_char, FORMAT_HTML)) {
-                                               switch (t->child->tail->type) {
-                                                       case LINE_FENCE_BACKTICK_3:
-                                                       case LINE_FENCE_BACKTICK_4:
-                                                       case LINE_FENCE_BACKTICK_5:
-                                                               temp_token = t->child->tail;
-                                                               break;
-                                                       default:
-                                                               temp_token = NULL;
-                                               }
-                                               if (temp_token) {
-                                                       d_string_append_c_array(out, &source[t->child->next->start], temp_token->start - t->child->next->start);
-                                                       scratch->padded = 1;
-                                               } else {
-                                                       d_string_append_c_array(out, &source[t->child->start + t->child->len], t->start + t->len - t->child->next->start);                                                      
-                                                       scratch->padded = 0;
-                                               }
-                                       }
-
-                                       break;
-                               }
-                       }
-                       
-                       free(temp_char);
-
-                       print_const("<text:p text:style-name=\"Preformatted Text\">");
-                       mmd_export_token_tree_odf_raw(out, source, t->child->next, scratch);
-                       print_const("</text:p>");
-                       scratch->padded = 0;
-                       break;
-               case BLOCK_CODE_INDENTED:
-                       pad(out, 2, scratch);
-                       print_const("<text:p text:style-name=\"Preformatted Text\">");
-                       mmd_export_token_tree_odf_raw(out, source, t->child, scratch);
-                       print_const("</text:p>");
-                       scratch->padded = 0;
-                       break;
-               case BLOCK_DEFINITION:
-                       pad(out, 2, scratch);
-                       temp_short2 = scratch->odf_para_type;
-                       scratch->odf_para_type = BLOCK_DEFINITION;
-
-                       temp_short = scratch->list_is_tight;
-                       if (!(t->child->next && (t->child->next->type == BLOCK_EMPTY) && t->child->next->next))
-                               scratch->list_is_tight = true;
-
-                       if (t->child && t->child->type != BLOCK_PARA) {
-                               print_const("<text:p text:style-name=\"Quotations\">");
-                               mmd_export_token_tree_odf(out, source, t->child, scratch);
-                               print_const("</text:p>");
-                       } else {
-                               mmd_export_token_tree_odf(out, source, t->child, scratch);                              
-                       }
-                       scratch->padded = 0;
-
-                       scratch->list_is_tight = temp_short;
-                       scratch->odf_para_type = temp_short2;
-                       break;
-               case BLOCK_DEFLIST:
-                       pad(out, 2, scratch);
-
-                       // Group consecutive definition lists into a single list.
-                       // lemon's LALR(1) parser can't properly handle this (to my understanding).
-
-//                     if (!(t->prev && (t->prev->type == BLOCK_DEFLIST)))
-//                             print_const("<dl>\n");
+       ## Revised BSD License ##
+       
+       Redistribution and use in source and binary forms, with or without
+       modification, are permitted provided that the following conditions are
+       met:
+           * Redistributions of source code must retain the above copyright
+             notice, this list of conditions and the following disclaimer.
+           * Redistributions in binary form must reproduce the above
+             copyright notice, this list of conditions and the following
+             disclaimer in the documentation and/or other materials provided
+             with the distribution.
+           * Neither the name of the <organization> nor the
+             names of its contributors may be used to endorse or promote
+             products derived from this software without specific prior
+             written permission.
+       
+       THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS
+       "AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT
+       LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR
+       A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL <COPYRIGHT
+       HOLDER> BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL,
+       EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO,
+       PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES LOSS OF USE, DATA, OR
+       PROFITS OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF
+       LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING
+       NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS
+       SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
        
-                       scratch->padded = 2;
-
-                       mmd_export_token_tree_odf(out, source, t->child, scratch);
-                       pad(out, 1, scratch);
-
-//                     if (!(t->next && (t->next->type == BLOCK_DEFLIST)))
-//                             print_const("</dl>\n");
-
-                       scratch->padded = 1;
-                       break;
-               case BLOCK_EMPTY:
-                       break;
-               case BLOCK_H1:
-               case BLOCK_H2:
-               case BLOCK_H3:
-               case BLOCK_H4:
-               case BLOCK_H5:
-               case BLOCK_H6:
-               case BLOCK_SETEXT_1:
-               case BLOCK_SETEXT_2:
-                       pad(out, 2, scratch);
-                       switch (t->type) {
-                               case BLOCK_SETEXT_1:
-                                       temp_short = 1;
-                                       break;
-                               case BLOCK_SETEXT_2:
-                                       temp_short = 2;
-                                       break;
-                               default:
-                                       temp_short = t->type - BLOCK_H1 + 1;
-                       }
-
-                       printf("<text:h text:outline-level=\"%d\">", temp_short + scratch->base_header_level - 1);
-
-                       if (scratch->extensions & EXT_NO_LABELS) {
-                               mmd_export_token_tree_odf(out, source, t->child, scratch);
-                       } else {
-                               temp_char = label_from_header(source, t);
-                               printf("<text:bookmark text:name=\"%s\"/>", temp_char);
-                               mmd_export_token_tree_odf(out, source, t->child, scratch);
-                               //printf("<text:bookmark-end text:name=\"%s\"/>", temp_char);
-                               free(temp_char);
-                       }
-
-                       print_const("</text:h>");
-                       scratch->padded = 0;
-                       break;
-               case BLOCK_HR:
-                       pad(out, 2, scratch);
-                       print_const("<text:p text:style-name=\"Horizontal_20_Line\"/>");
-                       scratch->padded = 0;
-                       break;
-               case BLOCK_HTML:
-                       // Don't print HTML
-                       break;
-               case BLOCK_LIST_BULLETED_LOOSE:
-               case BLOCK_LIST_BULLETED:
-                       temp_short = scratch->list_is_tight;
-                       switch (t->type) {
-                               case BLOCK_LIST_BULLETED_LOOSE:
-                                       scratch->list_is_tight = false;
-                                       break;
-                               case BLOCK_LIST_BULLETED:
-                                       scratch->list_is_tight = true;
-                                       break;
-                       }
-                       pad(out, 2, scratch);
-                       print_const("<text:list text:style-name=\"L1\">");
-                       scratch->padded = 1;
-                       mmd_export_token_tree_odf(out, source, t->child, scratch);
-                       pad(out, 2, scratch);
-                       print_const("</text:list>");
-                       scratch->padded = 0;
-                       scratch->list_is_tight = temp_short;
-                       break;
-               case BLOCK_LIST_ENUMERATED_LOOSE:
-               case BLOCK_LIST_ENUMERATED:
-                       temp_short = scratch->list_is_tight;
-                       switch (t->type) {
-                               case BLOCK_LIST_ENUMERATED_LOOSE:
-                                       scratch->list_is_tight = false;
-                                       break;
-                               case BLOCK_LIST_ENUMERATED:
-                                       scratch->list_is_tight = true;
-                                       break;
-                       }
-                       pad(out, 2, scratch);
-                       print_const("<text:list text:style-name=\"L2\">");
-                       scratch->padded = 1;
-                       mmd_export_token_tree_odf(out, source, t->child, scratch);
-                       pad(out, 2, scratch);
-                       print_const("</text:list>");
-                       scratch->padded = 0;
-                       scratch->list_is_tight = temp_short;
-                       break;
-               case BLOCK_LIST_ITEM:
-                       pad(out, 2, scratch);
-                       print_const("<text:list-item>\n");
-                       scratch->padded = 2;
-                       mmd_export_token_tree_odf(out, source, t->child, scratch);
-                       print_const("</text:list-item>");
-                       scratch->padded = 0;
-                       break;
-               case BLOCK_LIST_ITEM_TIGHT:
-                       pad(out, 2, scratch);
-                       print_const("<text:list-item>\n");
-
-                       if (t->child && t->child->type != BLOCK_PARA)
-                               print_const("<text:p text:style-name=\"P1\">\n");
-
-                       scratch->padded = 2;
-                       mmd_export_token_tree_odf(out, source, t->child, scratch);
-
-                       if (t->child && t->child->type != BLOCK_PARA)
-                       print_const("</text:p>");
-
-                       print_const("</text:list-item>");
-                       scratch->padded = 0;
-                       break;
-               case BLOCK_META:
-                       break;
-               case BLOCK_PARA:
-                       pad(out, 2, scratch);
-                       print_const("<text:p");
-
-                       switch (scratch->odf_para_type) {
-                               case BLOCK_BLOCKQUOTE:
-                               case BLOCK_DEFINITION:
-                                       print_const(" text:style-name=\"Quotations\">");
-                                       break;
-                               case PAIR_BRACKET_ABBREVIATION:
-                               case PAIR_BRACKET_CITATION:
-                               case PAIR_BRACKET_FOOTNOTE:
-                               case PAIR_BRACKET_GLOSSARY:
-                                       print_const(" text:style-name=\"Footnote\">");
-                                       break;
-                               default:                                
-                                       print_const(" text:style-name=\"Standard\">");
-                                       break;
-                       }
-
-                       mmd_export_token_tree_odf(out, source, t->child, scratch);
-
-                       print_const("</text:p>");
-                       scratch->padded = 0;
-                       break;
-               case BLOCK_TABLE:
-                       pad(out, 2, scratch);
-                       print_const("<table:table>\n");
-
-                       scratch->padded = 2;
-                       read_table_column_alignments(source, t, scratch);
-
-                       for (int i = 0; i < scratch->table_column_count; ++i)
-                       {
-                               print_const("<table:table-column/>\n");
-//                             switch (scratch->table_alignment[i]) {
-//                                     case 'l':
-//                                             print_const("<col style=\"text-align:left;\"/>\n");
-//                                             break;
-//                                     case 'L':
-//                                             print_const("<col style=\"text-align:left;\" class=\"extended\"/>\n");
-//                                             break;
-//                                     case 'r':
-//                                             print_const("<col style=\"text-align:right;\"/>\n");
-//                                             break;
-//                                     case 'R':
-//                                             print_const("<col style=\"text-align:right;\" class=\"extended\"/>\n");
-//                                             break;
-//                                     case 'c':
-//                                             print_const("<col style=\"text-align:center;\"/>\n");
-//                                             break;
-//                                     case 'C':
-//                                             print_const("<col style=\"text-align:center;\" class=\"extended\"/>\n");
-//                                             break;
-//                                     default:
-//                                             print_const("<col />\n");
-//                                             break;
-//                             }
-                       }
-                       scratch->padded = 1;
-
-                       mmd_export_token_tree_odf(out, source, t->child, scratch);
-                       pad(out, 1, scratch);
-                       print_const("</table:table>\n");
-
-                       // Are we followed by a caption?
-                       if (table_has_caption(t)) {
-                               temp_token = t->next->child;
-
-                               if (temp_token->next &&
-                                       temp_token->next->type == PAIR_BRACKET) {
-                                       temp_token = temp_token->next;
-                               }
 
-                               temp_char = label_from_token(source, temp_token);
-                               printf("<text:p><text:bookmark text:name=\"%s\"/>Table <text:sequence text:name=\"Table\" text:formula=\"ooow:Table+1\" style:num-format=\"1\"> Update Fields to calculate numbers</text:sequence>:", temp_char);
-
-                               t->next->child->child->type = TEXT_EMPTY;
-                               t->next->child->child->mate->type = TEXT_EMPTY;
-                               mmd_export_token_tree_odf(out, source, t->next->child->child, scratch);
-
-                               printf("<text:bookmark-end text:name=\"%s\"/></text:p>\n", temp_char);
-
-                               free(temp_char);
-                               temp_short = 1;
-                       } else {
-                               temp_short = 0;
-                       }
-
-                       scratch->padded = 0;
-                       scratch->skip_token = temp_short;
-
-                       break;
-               case BLOCK_TABLE_HEADER:
-                       pad(out, 2, scratch);
-                       scratch->in_table_header = 1;
-                       mmd_export_token_tree_odf(out, source, t->child, scratch);
-                       scratch->in_table_header = 0;
-                       scratch->padded = 1;
-                       break;
-               case BLOCK_TABLE_SECTION:
-                       pad(out, 2, scratch);
-                       scratch->padded = 2;
-                       mmd_export_token_tree_odf(out, source, t->child, scratch);
-                       scratch->padded = 0;
-                       break;
-               case BLOCK_TOC:
-                       pad(out, 2, scratch);
-
-                       mmd_export_toc_odf(out, source, scratch);
-
-                       scratch->padded = 1;
-                       break;
-               case BLOCK_TERM:
-                       pad(out, 2, scratch);
-                       print_const("<text:p><text:span text:style-name=\"MMD-Bold\">");
-                       mmd_export_token_tree_odf(out, source, t->child, scratch);
-                       print_const("</text:span></text:p>\n");
-                       scratch->padded = 2;
-                       break;
-               case BRACE_DOUBLE_LEFT:
-                       print_const("{{");
-                       break;
-               case BRACE_DOUBLE_RIGHT:
-                       print_const("}}");
-                       break;
-               case BRACKET_ABBREVIATION_LEFT:
-                       print_const("[>");
-                       break;
-               case BRACKET_CITATION_LEFT:
-                       print_const("[#");
-                       break;
-               case BRACKET_LEFT:
-                       print_const("[");                       
-                       break;
-               case BRACKET_RIGHT:
-                       print_const("]");
-                       break;
-               case BRACKET_VARIABLE_LEFT:
-                       print_const("[\%");
-                       break;
-               case COLON:
-                       print_char(':');
-                       break;
-               case CRITIC_ADD_OPEN:
-                       print_const("{++");
-                       break;
-               case CRITIC_ADD_CLOSE:
-                       print_const("++}");
-                       break;
-               case CRITIC_COM_OPEN:
-                       print_const("{&gt;&gt;");
-                       break;
-               case CRITIC_COM_CLOSE:
-                       print_const("&lt;&lt;}");
-                       break;
-               case CRITIC_DEL_OPEN:
-                       print_const("{--");
-                       break;
-               case CRITIC_DEL_CLOSE:
-                       print_const("--}");
-                       break;
-               case CRITIC_HI_OPEN:
-                       print_const("{==");
-                       break;
-               case CRITIC_HI_CLOSE:
-                       print_const("==}");
-                       break;
-               case CRITIC_SUB_OPEN:
-                       print_const("{~~");
-                       break;
-               case CRITIC_SUB_DIV:
-                       print_const("~&gt;");
-                       break;
-               case CRITIC_SUB_CLOSE:
-                       print_const("~~}");
-                       break;
-               case DASH_M:
-                       if (!(scratch->extensions & EXT_SMART)) {
-                               print_token(t);
-                       } else {
-                               print_localized(DASH_M);
-                       }
-                       break;
-               case DASH_N:
-                       if (!(scratch->extensions & EXT_SMART)) {
-                               print_token(t);
-                       } else {
-                               print_localized(DASH_N);
-                       }
-                       break;
-               case ELLIPSIS:
-                       if (!(scratch->extensions & EXT_SMART)) {
-                               print_token(t);
-                       } else {
-                               print_localized(ELLIPSIS);
-                       }
-                       break;
-               case EMPH_START:
-                       print_const("<text:span text:style-name=\"MMD-Italic\">");
-                       break;
-               case EMPH_STOP:
-                       print_const("</text:span>");
-                       break;
-               case EQUAL:
-                       print_char('=');
-                       break;
-               case ESCAPED_CHARACTER:
-                       if (!(scratch->extensions & EXT_COMPATIBILITY) &&
-                               (source[t->start + 1] == ' ')) {
-                               print_const(" ");              // This is a non-breaking space character
-                       } else {
-                               mmd_print_char_odf(out, source[t->start + 1]);
-                       }
-                       break;
-               case HASH1:
-               case HASH2:
-               case HASH3:
-               case HASH4:
-               case HASH5:
-               case HASH6:
-                       print_token(t);
-                       break;
-               case HTML_ENTITY:
-                       print_const("&amp;");
-                       d_string_append_c_array(out, &(source[t->start + 1]), t->len - 1);
-                       break;
-               case HTML_COMMENT_START:
-                       if (!(scratch->extensions & EXT_SMART)) {
-                               print_const("&lt;!--");
-                       } else {
-                               print_const("&lt;!");
-                               print_localized(DASH_N);
-                       }
-                       break;
-               case HTML_COMMENT_STOP:
-                       if (!(scratch->extensions & EXT_SMART)) {
-                               print_const("--&gt;");
-                       } else {
-                               print_localized(DASH_N);
-                               print_const("&gt;");
-                       }
-                       break;
-               case INDENT_SPACE:
-                       print_char(' ');
-                       break;
-               case INDENT_TAB:
-                       print_const("<text:tab/>");
-                       break;
-               case LINE_LIST_BULLETED:
-               case LINE_LIST_ENUMERATED:
-                       mmd_export_token_tree_odf(out, source, t->child, scratch);
-                       break;
-               case MANUAL_LABEL:
-               case MARKER_BLOCKQUOTE:
-               case MARKER_H1:
-               case MARKER_H2:
-               case MARKER_H3:
-               case MARKER_H4:
-               case MARKER_H5:
-               case MARKER_H6:
-               case MARKER_LIST_BULLET:
-               case MARKER_LIST_ENUMERATOR:
-                       break;
-               case MATH_BRACKET_OPEN:
-                       if (t->mate) {
-                               print_const("<text:span text:style-name=\"math\">\\[");
-                       } else
-                               print_const("\\[");
-                       break;
-               case MATH_BRACKET_CLOSE:
-                       if (t->mate) {
-                               print_const("\\]</text:span>");
-                       } else
-                               print_const("\\]");
-                       break;
-               case MATH_DOLLAR_SINGLE:
-                       if (t->mate) {
-                               (t->start < t->mate->start) ? ( print_const("<text:span text:style-name=\"math\">\\(") ) : ( print_const("\\)</text:span>") );
-                       } else {
-                               print_const("$");
-                       }
-                       break;
-               case MATH_DOLLAR_DOUBLE:
-                       if (t->mate) {
-                               (t->start < t->mate->start) ? ( print_const("<text:span text:style-name=\"math\">\\[") ) : ( print_const("\\]</text:span>") );
-                       } else {
-                               print_const("$$");
-                       }
-                       break;
-               case MATH_PAREN_OPEN:
-                       if (t->mate) {
-                               print_const("<text:span text:style-name=\"math\">\\(");
-                       } else
-                               print_const("\\(");
-                       break;
-               case MATH_PAREN_CLOSE:
-                       if (t->mate) {
-                               print_const("\\)</text:span>");
-                       } else
-                               print_const("\\)");
-                       break;
-               case NON_INDENT_SPACE:
-                       print_char(' ');
-                       break;
-               case PAIR_ANGLE:
-                       temp_char = url_accept(source, t->start + 1, t->len - 2, NULL, true);
-
-                       if (temp_char) {
-                               print_const("<text:a xlink:type=\"simple\" xlink:href=\"");
-
-                               if (scan_email(temp_char)) {
-                                       temp_bool = true;
-
-                                       if (strncmp("mailto:", temp_char, 7) != 0) {
-                                               print_const("mailto:");
-                                       }
-                               } else {
-                                       temp_bool = false;
-                               }
-
-                               mmd_print_string_odf(out, temp_char);
-                               print_const("\">");
-                               mmd_print_string_odf(out, temp_char);
-                               print_const("</text:a>");
-                       } else if (scan_html(&source[t->start])) {
-                               // We ignore HTML blocks
-                               if (scan_html_comment(&source[t->start])) {
-                                       // But allow HTML comments as raw LaTeX
-                                       d_string_append_c_array(out, &source[t->start + 4], t->len - 4 - 3);
-                               }
-                       } else {
-                               mmd_export_token_tree_odf(out, source, t->child, scratch);
-                       }
-
-                       free(temp_char);
-                       break;
-               case PAIR_BACKTICK:
-                       // Strip leading whitespace
-                       switch (t->child->next->type) {
-                               case TEXT_NL:
-                               case INDENT_TAB:
-                               case INDENT_SPACE:
-                               case NON_INDENT_SPACE:
-                                       t->child->next->type = TEXT_EMPTY;
-                                       break;
-                               case TEXT_PLAIN:
-                                       while (t->child->next->len && char_is_whitespace(source[t->child->next->start])) {
-                                               t->child->next->start++;
-                                               t->child->next->len--;
-                                       }
-                                       break;
-                       }
-
-                       // Strip trailing whitespace
-                       switch (t->child->mate->prev->type) {
-                               case TEXT_NL:
-                               case INDENT_TAB:
-                               case INDENT_SPACE:
-                               case NON_INDENT_SPACE:
-                                       t->child->mate->prev->type = TEXT_EMPTY;
-                                       break;
-                               case TEXT_PLAIN:
-                                       while (t->child->mate->prev->len && char_is_whitespace(source[t->child->mate->prev->start + t->child->mate->prev->len - 1])) {
-                                               t->child->mate->prev->len--;
-                                       }
-                                       break;
-                       }
-                       t->child->type = TEXT_EMPTY;
-                       t->child->mate->type = TEXT_EMPTY;
-
-                       if (t->next && t->next->type == PAIR_RAW_FILTER) {
-                               // Raw text?
-                               if (raw_filter_matches(t->next, source, FORMAT_ODF)) {
-                                       d_string_append_c_array(out, &(source[t->child->start + t->child->len]), t->child->mate->start - t->child->start - t->child->len);
-                               }
-                               // Skip over PAIR_RAW_FILTER
-                               scratch->skip_token = 1;
-                               break;
-                       }
-
-                       print_const("<text:span text:style-name=\"Source_20_Text\">");
-                       mmd_export_token_tree_odf_raw(out, source, t->child, scratch);
-                       print_const("</text:span>");
-                       break;
-               case PAIR_BRACE:
-               case PAIR_BRACES:
-                       mmd_export_token_tree_odf(out, source, t->child, scratch);
-                       break;
-               case PAIR_BRACKET:
-                       if ((scratch->extensions & EXT_NOTES) &&
-                               (t->next && t->next->type == PAIR_BRACKET_CITATION)) {
-                               goto parse_citation;
-                       }
-
-               case PAIR_BRACKET_IMAGE:
-                       parse_brackets(source, scratch, t, &temp_link, &temp_short, &temp_bool);
-
-                       if (temp_link) {
-                               if (t->type == PAIR_BRACKET) {
-                                       // Link
-                                       mmd_export_link_odf(out, source, t, temp_link, scratch);
-                               } else {
-                                       // Image -- should it be a figure (e.g. image is only thing in paragraph)?
-                                       temp_token = t->next;
-
-                                       if (temp_token &&
-                                               ((temp_token->type == PAIR_BRACKET) ||
-                                               (temp_token->type == PAIR_PAREN))) {
-                                               temp_token = temp_token->next;
-                                       }
-
-                                       if (temp_token && temp_token->type == TEXT_NL)
-                                               temp_token = temp_token->next;
-
-                                       if (temp_token && temp_token->type == TEXT_LINEBREAK)
-                                               temp_token = temp_token->next;
-
-                                       if (t->prev || temp_token) {
-                                               mmd_export_image_odf(out, source, t, temp_link, scratch, false);
-                                       } else {
-                                               mmd_export_image_odf(out, source, t, temp_link, scratch, true);
-                                       }
-                               }
-                               
-                               if (temp_bool) {
-                                       link_free(temp_link);
-                               }
-
-                               scratch->skip_token = temp_short;
-
-                               return;
-                       }
-
-                       // No links exist, so treat as normal
-                       mmd_export_token_tree_odf(out, source, t->child, scratch);
-                       break;
-               case PAIR_BRACKET_CITATION:
-                       parse_citation:
-                       temp_bool = true;               // Track whether this is regular vs 'not cited'
-                       temp_token = t;                 // Remember whether we need to skip ahead
-
-                       if (scratch->extensions & EXT_NOTES) {
-                               // Note-based syntax enabled
-
-                               if (t->type == PAIR_BRACKET) {
-                                       // This is a locator for a subsequent citation (e.g. `[foo][#bar]`)
-                                       temp_char = text_inside_pair(source, t);
-                                       temp_char2 = label_from_string(temp_char);
-
-                                       if (strcmp(temp_char2, "notcited") == 0) {
-                                               free(temp_char);
-                                               temp_char = my_strdup("");
-                                               temp_bool = false;
-                                       }
-
-                                       free(temp_char2);
-
-                                       // Move ahead to actual citation
-                                       t = t->next;
-                               } else {
-                                       // This is the actual citation (e.g. `[#foo]`)
-                                       // No locator
-                                       temp_char = my_strdup("");
-                               }
-
-                               // Classify this use
-                               temp_short2 = scratch->used_citations->size;
-                               citation_from_bracket(source, scratch, t, &temp_short);
-
-                               if (temp_short == -1) {
-                                       // This instance is not properly formed
-                                       print_const("[#");
-                                       mmd_export_token_tree_odf(out, source, t->child->next, scratch);
-                                       print_const("]");
-
-                                       free(temp_char);
-                                       break;
-                               }
-
-
-                               temp_short3 = scratch->odf_para_type;
-                               scratch->odf_para_type = PAIR_BRACKET_FOOTNOTE;
-
-                               if (temp_bool) {
-                                       // This is a regular citation
-
-                                       if (temp_char[0] == '\0') {
-                                               // No locator
-                               
-                                               if (temp_short2 == scratch->used_citations->size) {
-                                                       // This is a re-use of a previously used note
-                                                       print_const("<text:span text:style-name=\"Footnote_20_anchor\"><text:note-ref text:note-class=\"endnote\" text:reference-format=\"text\" ");
-                                                       printf("text:ref-name=\"cite%d\">%d</text:note-ref></text:span>", temp_short, temp_short);
-                                               } else {
-                                                       // This is the first time this note was used
-                                                       printf("<text:note text:id=\"cite%d\" text:note-class=\"endnote\"><text:note-body>", temp_short);
-                                                       temp_note = stack_peek_index(scratch->used_citations, temp_short - 1);
-
-                                                       mmd_export_token_tree_odf(out, source, temp_note->content, scratch);
-                                                       print_const("</text:note-body></text:note>");
-                                               }
-                                       } else {
-                                               // Locator present
-
-                                               if (temp_short2 == scratch->used_citations->size) {
-                                                       // This is a re-use of a previously used note
-                                                       print_const("<text:span text:style-name=\"Footnote_20_anchor\"><text:note-ref text:note-class=\"endnote\" text:reference-format=\"text\" ");
-                                                       printf("text:ref-name=\"cite%d\">%d</text:note-ref></text:span>", temp_short, temp_short);
-                                               } else {
-                                                       // This is the first time this note was used
-                                                       printf("<text:note text:id=\"cite%d\" text:note-class=\"endnote\"><text:note-body>", temp_short);
-                                                       temp_note = stack_peek_index(scratch->used_citations, temp_short - 1);
-
-                                                       mmd_export_token_tree_odf(out, source, temp_note->content, scratch);
-                                                       print_const("</text:note-body></text:note>");
-                                               }
-                                       }
-                               } else {
-                                               if (temp_short2 == scratch->used_citations->size) {
-                                                       // This is a re-use of a previously used note
-                                               } else {
-                                                       // This is the first time this note was used
-                                                       // TODO: Not sure how to add an endnote without inserting a marker in the text
-                                                       printf("<text:note text:id=\"cite%d\" text:note-class=\"endnote\"><text:note-body>", temp_short);
-                                                       temp_note = stack_peek_index(scratch->used_citations, temp_short - 1);
-
-                                                       mmd_export_token_tree_odf(out, source, temp_note->content, scratch);
-                                                       print_const("</text:note-body></text:note>");
-                                               }
-                               }
-
-                               if (temp_token != t) {
-                                       // Skip citation on next pass
-                                       scratch->skip_token = 1;
-                               }
-
-                               scratch->odf_para_type = temp_short3;
-
-                               free(temp_char);
-                       } else {
-                               // Note-based syntax disabled
-                               mmd_export_token_tree_odf(out, source, t->child, scratch);
-                       }
-                       break;
-               case PAIR_BRACKET_FOOTNOTE:
-                       if (scratch->extensions & EXT_NOTES) {
-                               // Note-based syntax enabled
-
-                               // Classify this use
-                               temp_short2 = scratch->used_footnotes->size;
-                               footnote_from_bracket(source, scratch, t, &temp_short);
-
-                               if (temp_short == -1) {
-                                       // This instance is not properly formed
-                                       print_const("[?");
-                                       mmd_export_token_tree_odf(out, source, t->child->next, scratch);
-                                       print_const("]");
-                                       break;
-                               }
-
-                               temp_short3 = scratch->odf_para_type;
-                               scratch->odf_para_type = PAIR_BRACKET_FOOTNOTE;
-
-                               if (temp_short2 == scratch->used_footnotes->size) {
-                                       // This is a re-use of a previously used note
-
-                                       printf("<text:note text:id=\"fn%d\" text:note-class=\"footnote\"><text:note-body>", temp_short);
-                                       temp_note = stack_peek_index(scratch->used_footnotes, temp_short - 1);
-
-                                       mmd_export_token_tree_odf(out, source, temp_note->content, scratch);
-                                       print_const("</text:note-body></text:note>");
-                               } else {
-                                       // This is the first time this note was used
-
-                                       // This is a new footnote
-                                       printf("<text:note text:id=\"fn%d\" text:note-class=\"footnote\"><text:note-body>", temp_short);
-                                       temp_note = stack_peek_index(scratch->used_footnotes, temp_short - 1);
-
-                                       mmd_export_token_tree_odf(out, source, temp_note->content, scratch);
-                                       print_const("</text:note-body></text:note>");
-                               }
-
-                               scratch->odf_para_type = temp_short3;
-                       } else {
-                               // Note-based syntax disabled
-                               mmd_export_token_tree_odf(out, source, t->child, scratch);
-                       }
-                       break;
-               case PAIR_BRACKET_ABBREVIATION:
-                       // Which might also be an "auto-tagged" abbreviation
-                       if (scratch->extensions & EXT_NOTES) {
-                               // Note-based syntax enabled
-
-                               // Classify this use
-                               temp_short2 = scratch->used_abbreviations->size;
-                               temp_short3 = scratch->inline_abbreviations_to_free->size;
-                               abbreviation_from_bracket(source, scratch, t, &temp_short);
-
-                               if (temp_short == -1) {
-                                       // This instance is not properly formed
-                                       print_const("[>");
-                                       mmd_export_token_tree_odf(out, source, t->child->next, scratch);
-                                       print_const("]");
-                                       break;
-                               }
-
-                               // Get instance of the note used
-                               temp_note = stack_peek_index(scratch->used_abbreviations, temp_short - 1);
-
-                               if (t->child) {
-                                       t->child->type = TEXT_EMPTY;
-                                       t->child->mate->type = TEXT_EMPTY;
-                               }
-
-                               if (temp_short2 == scratch->used_abbreviations->size) {
-                                       // This is a re-use of a previously used note
-
-                                       if (temp_short3 == scratch->inline_abbreviations_to_free->size) {
-                                               // This is a reference definition
-                                               mmd_print_string_odf(out, temp_note->label_text);
-//                                             mmd_export_token_tree_odf(out, source, t->child, scratch);
-                                       } else {
-                                               // This is an inline definition
-                                               mmd_print_string_odf(out, temp_note->label_text);
-//                                             mmd_export_token_tree_odf(out, source, t->child, scratch);
-                                       }
-                               } else {
-                                       // This is the first time this note was used
-                                       temp_short2 = scratch->odf_para_type;
-                                       scratch->odf_para_type = PAIR_BRACKET_ABBREVIATION;
-
-                                       if (temp_short3 == scratch->inline_abbreviations_to_free->size) {
-                                               // This is a reference definition
-                                               mmd_print_string_odf(out, temp_note->clean_text);
-                                               print_const(" (");
-                                               mmd_print_string_odf(out, temp_note->label_text); 
-                                               print_const(")");
-                                       } else {
-                                               // This is an inline definition
-                                               mmd_print_string_odf(out, temp_note->clean_text);
-                                               print_const(" (");
-                                               mmd_print_string_odf(out, temp_note->label_text); 
-                                               print_const(")");
-                                       }
-
-                                       scratch->odf_para_type = temp_short2;
-                               }
-                       } else {
-                               // Note-based syntax disabled
-                               mmd_export_token_tree_odf(out, source, t->child, scratch);
-                       }
-                       break;
-               case PAIR_BRACKET_GLOSSARY:
-                       // Which might also be an "auto-tagged" glossary
-                       if (scratch->extensions & EXT_NOTES) {
-                               // Note-based syntax enabled
-
-                               // Classify this use
-                               temp_short2 = scratch->used_glossaries->size;
-                               glossary_from_bracket(source, scratch, t, &temp_short);
-
-                               if (temp_short == -1) {
-                                       // This instance is not properly formed
-                                       print_const("[?");
-                                       mmd_export_token_tree_odf(out, source, t->child->next, scratch);
-                                       print_const("]");
-                                       break;
-                               }
-
-                               // Get instance of the note used
-                               temp_note = stack_peek_index(scratch->used_glossaries, temp_short - 1);
-
-                               temp_short3 = scratch->odf_para_type;
-                               scratch->odf_para_type = PAIR_BRACKET_GLOSSARY;
-
-                               if (temp_short2 == scratch->used_glossaries->size) {
-                                       // This is a re-use of a previously used note
-
-                                       mmd_print_string_odf(out, temp_note->clean_text); 
-                               } else {
-                                       // This is the first time this note was used
-
-                                       mmd_print_string_odf(out, temp_note->clean_text); 
-
-                                       printf("<text:note text:id=\"gn%d\" text:note-class=\"glossary\"><text:note-body>", temp_short);
-                                       mmd_export_token_tree_odf(out, source, temp_note->content, scratch);
-                                       print_const("</text:note-body></text:note>");
-                               }
-
-                               scratch->odf_para_type = temp_short3;
-                       } else {
-                               // Note-based syntax disabled
-                               mmd_export_token_tree_odf(out, source, t->child, scratch);
-                       }
-                       break;
-               case PAIR_BRACKET_VARIABLE:
-                       temp_char = text_inside_pair(source, t);
-                       temp_char2 = extract_metadata(scratch, temp_char);
-
-                       if (temp_char2)
-                               mmd_print_string_odf(out, temp_char2);
-                       else
-                               mmd_export_token_tree_odf(out, source, t->child, scratch);
-
-                       // Don't free temp_char2 (it belongs to meta *)
-                       free(temp_char);
-                       break;
-               case PAIR_CRITIC_ADD:
-                       // Ignore if we're rejecting
-                       if (scratch->extensions & EXT_CRITIC_REJECT)
-                               break;
-                       if (scratch->extensions & EXT_CRITIC) {
-                               t->child->type = TEXT_EMPTY;
-                               t->child->mate->type = TEXT_EMPTY;
-                               if (scratch->extensions & EXT_CRITIC_ACCEPT) {
-                                       mmd_export_token_tree_odf(out, source, t->child, scratch);
-                               } else {
-                                       print_const("<text:span text:style-name=\"Underline\">");
-                                       mmd_export_token_tree_odf(out, source, t->child, scratch);
-                                       print_const("</text:span>");
-                               }
-                       } else {
-                               mmd_export_token_tree_odf(out, source, t->child, scratch);                              
-                       }
-                       break;
-               case PAIR_CRITIC_DEL:
-                       // Ignore if we're accepting
-                       if (scratch->extensions & EXT_CRITIC_ACCEPT)
-                               break;
-                       if (scratch->extensions & EXT_CRITIC) {
-                               t->child->type = TEXT_EMPTY;
-                               t->child->mate->type = TEXT_EMPTY;
-                               if (scratch->extensions & EXT_CRITIC_REJECT) {
-                                       mmd_export_token_tree_odf(out, source, t->child, scratch);
-                               } else {
-                                       print_const("<text:span text:style-name=\"Strike\">");
-                                       mmd_export_token_tree_odf(out, source, t->child, scratch);
-                                       print_const("</text:span>");
-                               }
-                       } else {
-                               mmd_export_token_tree_odf(out, source, t->child, scratch);                              
-                       }
-                       break;
-               case PAIR_CRITIC_COM:
-                       // Ignore if we're rejecting or accepting
-                       if ((scratch->extensions & EXT_CRITIC_REJECT) ||
-                               (scratch->extensions & EXT_CRITIC_ACCEPT))
-                               break;
-                       if (scratch->extensions & EXT_CRITIC) {
-                               t->child->type = TEXT_EMPTY;
-                               t->child->mate->type = TEXT_EMPTY;
-                               print_const("<text:span text:style-name=\"Comment\">");
-                               mmd_export_token_tree_odf(out, source, t->child, scratch);
-                               print_const("</text:span>");
-                       } else {
-                               mmd_export_token_tree_odf(out, source, t->child, scratch);
-                       }
-                       break;
-               case PAIR_CRITIC_HI:
-                       // Ignore if we're rejecting or accepting
-                       if ((scratch->extensions & EXT_CRITIC_REJECT) ||
-                               (scratch->extensions & EXT_CRITIC_ACCEPT))
-                               break;
-                       if (scratch->extensions & EXT_CRITIC) {
-                               t->child->type = TEXT_EMPTY;
-                               t->child->mate->type = TEXT_EMPTY;
-                               print_const("<text:span text:style-name=\"Highlight\">");
-                               mmd_export_token_tree_odf(out, source, t->child, scratch);
-                               print_const("</text:span>");
-                       } else {
-                               mmd_export_token_tree_odf(out, source, t->child, scratch);
-                       }
-                       break;
-               case CRITIC_SUB_DIV_A:
-                       print_const("~");
-                       break;
-               case CRITIC_SUB_DIV_B:
-                       print_const("&gt;");
-                       break;
-               case PAIR_CRITIC_SUB_DEL:
-                       if ((scratch->extensions & EXT_CRITIC) &&
-                               (t->next) &&
-                               (t->next->type == PAIR_CRITIC_SUB_ADD)) {
-                               t->child->type = TEXT_EMPTY;
-                               t->child->mate->type = TEXT_EMPTY;
-                               if (scratch->extensions & EXT_CRITIC_ACCEPT) {
-
-                               } else if (scratch->extensions & EXT_CRITIC_REJECT) {
-                                       mmd_export_token_tree_odf(out, source, t->child, scratch);
-                               } else {
-                                       print_const("<text:span text:style-name=\"Strike\">");
-                                       mmd_export_token_tree_odf(out, source, t->child, scratch);
-                                       print_const("</text:span>");
-                               }
-                       } else {
-                               mmd_export_token_tree_odf(out, source, t->child, scratch);
-                       }
-                       break;
-               case PAIR_CRITIC_SUB_ADD:
-                       if ((scratch->extensions & EXT_CRITIC) &&
-                               (t->prev) &&
-                               (t->prev->type == PAIR_CRITIC_SUB_DEL)) {
-                               t->child->type = TEXT_EMPTY;
-                               t->child->mate->type = TEXT_EMPTY;
-                               if (scratch->extensions & EXT_CRITIC_REJECT) {
-
-                               } else if (scratch->extensions & EXT_CRITIC_ACCEPT) {
-                                       mmd_export_token_tree_odf(out, source, t->child, scratch);
-                               } else {
-                                       print_const("<text:span text:style-name=\"Underline\">");
-                                       mmd_export_token_tree_odf(out, source, t->child, scratch);
-                                       print_const("</text:span>");
-                               }
-                       } else {
-                               mmd_export_token_tree_odf(out, source, t->child, scratch);
-                       }
-                       break;
-               case PAIR_HTML_COMMENT:
-                       break;
-               case PAIR_EMPH:
-               case PAIR_MATH:
-               case PAIR_PAREN:
-               case PAIR_QUOTE_DOUBLE:
-               case PAIR_QUOTE_SINGLE:
-               case PAIR_STAR:
-               case PAIR_STRONG:
-               case PAIR_SUBSCRIPT:
-               case PAIR_SUPERSCRIPT:
-               case PAIR_UL:
-                       mmd_export_token_tree_odf(out, source, t->child, scratch);
-                       break;
-               case PAREN_LEFT:
-                       print_char('(');
-                       break;
-               case PAREN_RIGHT:
-                       print_char(')');
-                       break;
-               case PIPE:
-                       print_token(t);
-                       break;
-               case PLUS:
-                       print_char('+');
-                       break;
-               case QUOTE_SINGLE:
-                       if ((t->mate == NULL) || (!(scratch->extensions & EXT_SMART)))
-                               print_const("'");
-                       else
-                               (t->start < t->mate->start) ? ( print_localized(QUOTE_LEFT_SINGLE) ) : ( print_localized(QUOTE_RIGHT_SINGLE) );
-                       break;
-               case QUOTE_DOUBLE:
-                       if ((t->mate == NULL) || (!(scratch->extensions & EXT_SMART)))
-                               print_const("&quot;");
-                       else
-                               (t->start < t->mate->start) ? ( print_localized(QUOTE_LEFT_DOUBLE) ) : ( print_localized(QUOTE_RIGHT_DOUBLE) );
-                       break;
-               case QUOTE_RIGHT_ALT:
-                       if ((t->mate == NULL) || (!(scratch->extensions & EXT_SMART)))
-                               print_const("''");
-                       else
-                               print_localized(QUOTE_RIGHT_DOUBLE);
-                       break;
-               case SLASH:
-                       print_char('/');
-                       break;
-               case STAR:
-                       print_char('*');
-                       break;
-               case STRONG_START:
-                       print_const("<text:span text:style-name=\"MMD-Bold\">");
-                       break;
-               case STRONG_STOP:
-                       print_const("</text:span>");
-                       break;
-               case SUBSCRIPT:
-                       if (t->mate) {
-                               (t->start < t->mate->start) ? (print_const("<text:span text:style-name=\"MMD-Subscript\">")) : (print_const("</text:span>"));
-                       } else if (t->len != 1) {
-                               print_const("<text:span text:style-name=\"MMD-Subscript\">");
-                               mmd_export_token_odf(out, source, t->child, scratch);
-                               print_const("</text:span>");
-                       } else {
-                               print_const("~");
-                       }
-                       break;
-               case SUPERSCRIPT:
-                       if (t->mate) {
-                               (t->start < t->mate->start) ? (print_const("<text:span text:style-name=\"MMD-Superscript\">")) : (print_const("</text:span>"));
-                       } else if (t->len != 1) {
-                               print_const("<text:span text:style-name=\"MMD-Superscript\">");
-                               mmd_export_token_odf(out, source, t->child, scratch);
-                               print_const("</text:span>");
-                       } else {
-                               print_const("^");
-                       }       
-                       break;
-               case TABLE_CELL:
-                       print_const("<table:table-cell");
-
-                       if (t->next && t->next->type == TABLE_DIVIDER) {
-                               if (t->next->len > 1) {
-                                       printf(" table:number-columns-spanned=\"%d\"", t->next->len);
-                               }
-                       }
-
-                       if (scratch->in_table_header) {
-                               print_const(">\n<text:p text:style-name=\"Table_20_Heading\"");
-                       } else {
-                               print_const(">\n<text:p");
-                               switch (scratch->table_alignment[scratch->table_cell_count]) {
-                                       case 'l':
-                                       case 'L':
-                                       default:
-                                               print_const(" text:style-name=\"MMD-Table\"");
-                                               break;
-                                       case 'r':
-                                       case 'R':
-                                               print_const(" text:style-name=\"MMD-Table-Right\"");
-                                               break;
-                                       case 'c':
-                                       case 'C':
-                                               print_const(" text:style-name=\"MMD-Table-Center\"");
-                                               break;
-                               }
-                       }
-
-                       print_const(">");
-                       mmd_export_token_tree_odf(out, source, t->child, scratch);
-
-                       print_const("</text:p>\n</table:table-cell>\n");
-
-                       if (t->next)
-                               scratch->table_cell_count += t->next->len;
-                       else
-                               scratch->table_cell_count++;
-                       
-                       break;
-               case TABLE_DIVIDER:
-                       break;
-               case TABLE_ROW:
-                       print_const("<table:table-row>\n");
-                       scratch->table_cell_count = 0;
-                       mmd_export_token_tree_odf(out, source, t->child, scratch);
-                       print_const("</table:table-row>\n");
-                       break;
-               case TEXT_EMPTY:
-                       break;
-               case TEXT_LINEBREAK:
-                       if (t->next) {
-                               print_const("<text:line-break/>\n");
-                               scratch->padded = 0;
-                       }
-                       break;
-               case TEXT_NL:
-                       if (t->next)
-                               print_char('\n');
-                       break;
-               case RAW_FILTER_LEFT:
-               case TEXT_BACKSLASH:
-               case TEXT_BRACE_LEFT:
-               case TEXT_BRACE_RIGHT:
-               case TEXT_HASH:
-               case TEXT_NUMBER_POSS_LIST:
-               case TEXT_PERCENT:
-               case TEXT_PERIOD:
-               case TEXT_PLAIN:
-               case TOC:
-               case UL:
-                       print_token(t);
-                       break;
-               default:
-                       fprintf(stderr, "Unknown token type: %d\n", t->type);
-                       token_describe(t, source);
-                       break;
-       }
-}
-
-
-void mmd_export_token_tree_odf(DString * out, const char * source, token * t, scratch_pad * scratch) {
-
-       // Prevent stack overflow with "dangerous" input causing extreme recursion
-       if (scratch->recurse_depth == kMaxExportRecursiveDepth) {
-               return;
-       }
-
-       scratch->recurse_depth++;
-
-       while (t != NULL) {
-               if (scratch->skip_token) {
-                       scratch->skip_token--;
-               } else {
-                       mmd_export_token_odf(out, source, t, scratch);
-               }
-
-               t = t->next;
-       }
-
-       scratch->recurse_depth--;
-}
-
-
-void mmd_export_token_odf_raw(DString * out, const char * source, token * t, scratch_pad * scratch) {
-       if (t == NULL)
-               return;
-
-       switch (t->type) {
-               case AMPERSAND:
-                       print_const("&amp;");
-                       break;
-               case AMPERSAND_LONG:
-                       print_const("&amp;amp;");
-                       break;
-               case ANGLE_RIGHT:
-                       print_const("&gt;");
-                       break;
-               case ANGLE_LEFT:
-                       print_const("&lt;");
-                       break;
-               case ESCAPED_CHARACTER:
-                       print_const("\\");
-                       mmd_print_char_odf(out, source[t->start + 1]);
-                       break;
-               case HTML_ENTITY:
-                       print_const("&amp;");
-                       d_string_append_c_array(out, &(source[t->start + 1]), t->len - 1);
-                       break;
-               case INDENT_TAB:
-                       print_const("<text:tab/>");
-                       break;
-               case QUOTE_DOUBLE:
-                       print_const("&quot;");
-                       break;
-               case CODE_FENCE:
-                       if (t->next)
-                               t->next->type = TEXT_EMPTY;
-               case TEXT_EMPTY:
-                       break;
-               case TEXT_NL:
-                       print_const("<text:line-break/>");
-                       break;
-               default:
-                       if (t->child)
-                               mmd_export_token_tree_odf_raw(out, source, t->child, scratch);
-                       else
-                               print_token(t);
-                       break;
-       }
-}
-
-
-void mmd_export_token_tree_odf_raw(DString * out, const char * source, token * t, scratch_pad * scratch) {
-       while (t != NULL) {
-               if (scratch->skip_token) {
-                       scratch->skip_token--;
-               } else {
-                       mmd_export_token_odf_raw(out, source, t, scratch);
-               }
-
-               t = t->next;
-       }
-}
-
-
-void mmd_start_complete_odf(DString * out, const char * source, scratch_pad * scratch) {
-       print_const("<?xml version=\"1.0\" encoding=\"UTF-8\"?>\n" \
-"<office:document xmlns:office=\"urn:oasis:names:tc:opendocument:xmlns:office:1.0\"\n" \
-"     xmlns:style=\"urn:oasis:names:tc:opendocument:xmlns:style:1.0\"\n" \
-"     xmlns:text=\"urn:oasis:names:tc:opendocument:xmlns:text:1.0\"\n" \
-"     xmlns:table=\"urn:oasis:names:tc:opendocument:xmlns:table:1.0\"\n" \
-"     xmlns:draw=\"urn:oasis:names:tc:opendocument:xmlns:drawing:1.0\"\n" \
-"     xmlns:fo=\"urn:oasis:names:tc:opendocument:xmlns:xsl-fo-compatible:1.0\"\n" \
-"     xmlns:xlink=\"http://www.w3.org/1999/xlink\"\n" \
-"     xmlns:dc=\"http://purl.org/dc/elements/1.1/\"\n" \
-"     xmlns:meta=\"urn:oasis:names:tc:opendocument:xmlns:meta:1.0\"\n" \
-"     xmlns:number=\"urn:oasis:names:tc:opendocument:xmlns:datastyle:1.0\"\n" \
-"     xmlns:svg=\"urn:oasis:names:tc:opendocument:xmlns:svg-compatible:1.0\"\n" \
-"     xmlns:chart=\"urn:oasis:names:tc:opendocument:xmlns:chart:1.0\"\n" \
-"     xmlns:dr3d=\"urn:oasis:names:tc:opendocument:xmlns:dr3d:1.0\"\n" \
-"     xmlns:math=\"http://www.w3.org/1998/Math/MathML\"\n" \
-"     xmlns:form=\"urn:oasis:names:tc:opendocument:xmlns:form:1.0\"\n" \
-"     xmlns:script=\"urn:oasis:names:tc:opendocument:xmlns:script:1.0\"\n" \
-"     xmlns:config=\"urn:oasis:names:tc:opendocument:xmlns:config:1.0\"\n" \
-"     xmlns:ooo=\"http://openoffice.org/2004/office\"\n" \
-"     xmlns:ooow=\"http://openoffice.org/2004/writer\"\n" \
-"     xmlns:oooc=\"http://openoffice.org/2004/calc\"\n" \
-"     xmlns:dom=\"http://www.w3.org/2001/xml-events\"\n" \
-"     xmlns:xforms=\"http://www.w3.org/2002/xforms\"\n" \
-"     xmlns:xsd=\"http://www.w3.org/2001/XMLSchema\"\n" \
-"     xmlns:xsi=\"http://www.w3.org/2001/XMLSchema-instance\"\n" \
-"     xmlns:rpt=\"http://openoffice.org/2005/report\"\n" \
-"     xmlns:of=\"urn:oasis:names:tc:opendocument:xmlns:of:1.2\"\n" \
-"     xmlns:xhtml=\"http://www.w3.org/1999/xhtml\"\n" \
-"     xmlns:grddl=\"http://www.w3.org/2003/g/data-view#\"\n" \
-"     xmlns:tableooo=\"http://openoffice.org/2009/table\"\n" \
-"     xmlns:field=\"urn:openoffice:names:experimental:ooo-ms-interop:xmlns:field:1.0\"\n" \
-"     xmlns:formx=\"urn:openoffice:names:experimental:ooxml-odf-interop:xmlns:form:1.0\"\n" \
-"     xmlns:css3t=\"http://www.w3.org/TR/css3-text/\"\n" \
-"     office:version=\"1.2\"\n" \
-"     grddl:transformation=\"http://docs.oasis-open.org/office/1.2/xslt/odf2rdf.xsl\"\n" \
-"     office:mimetype=\"application/vnd.oasis.opendocument.text\">\n");
-    
-       /* Font Declarations */
-       print_const("<office:font-face-decls>\n" \
-       "   <style:font-face style:name=\"Courier New\" svg:font-family=\"'Courier New'\"\n" \
-    "                    style:font-adornments=\"Regular\"\n" \
-    "                    style:font-family-generic=\"modern\"\n" \
-    "                    style:font-pitch=\"fixed\"/>\n" \
-    "</office:font-face-decls>\n");
-    
-    /* Append basic style information */
-    print_const("<office:styles>\n" \
-    "<style:style style:name=\"Standard\" style:family=\"paragraph\" style:class=\"text\">\n" \
-    "      <style:paragraph-properties fo:margin-top=\"0in\" fo:margin-bottom=\"0.15in\"" \
-    "     fo:text-align=\"justify\" style:justify-single-word=\"false\"/>\n" \
-    "   </style:style>\n" \
-    "<style:style style:name=\"Preformatted_20_Text\" style:display-name=\"Preformatted Text\"\n" \
-    "             style:family=\"paragraph\"\n" \
-    "             style:parent-style-name=\"Standard\"\n" \
-    "             style:class=\"html\">\n" \
-    "   <style:paragraph-properties fo:margin-top=\"0in\" fo:margin-bottom=\"0in\" fo:text-align=\"start\"\n" \
-    "                               style:justify-single-word=\"false\"/>\n" \
-    "   <style:text-properties style:font-name=\"Courier New\" fo:font-size=\"11pt\"\n" \
-    "                          style:font-name-asian=\"Courier New\"\n" \
-    "                          style:font-size-asian=\"11pt\"\n" \
-    "                          style:font-name-complex=\"Courier New\"\n" \
-    "                          style:font-size-complex=\"11pt\"/>\n" \
-    "</style:style>\n" \
-    "<style:style style:name=\"Source_20_Text\" style:display-name=\"Source Text\"\n" \
-    "             style:family=\"text\">\n" \
-    "   <style:text-properties style:font-name=\"Courier New\" style:font-name-asian=\"Courier New\"\n" \
-    "                          style:font-name-complex=\"Courier New\"\n" \
-    "                          fo:font-size=\"11pt\"/>\n" \
-    "</style:style>\n" \
-    "<style:style style:name=\"List\" style:family=\"paragraph\"\n" \
-    "             style:parent-style-name=\"Standard\"\n" \
-    "             style:class=\"list\">\n" \
-    "   <style:paragraph-properties fo:text-align=\"start\" style:justify-single-word=\"false\"/>\n" \
-    "   <style:text-properties style:font-size-asian=\"12pt\"/>\n" \
-    "</style:style>\n" \
-    "<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\"" \
-    "                               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" \
-    "             style:family=\"paragraph\"\n" \
-    "             style:parent-style-name=\"Table_20_Contents\"\n" \
-    "             style:class=\"extra\">\n" \
-    "   <style:paragraph-properties fo:text-align=\"center\" style:justify-single-word=\"false\"\n" \
-    "                               text:number-lines=\"false\"\n" \
-    "                               text:line-number=\"0\"/>\n" \
-    "   <style:text-properties fo:font-weight=\"bold\" style:font-weight-asian=\"bold\"\n" \
-    "                          style:font-weight-complex=\"bold\"/>\n" \
-    "</style:style>\n" \
-    "<style:style style:name=\"Horizontal_20_Line\" style:display-name=\"Horizontal Line\"\n" \
-    "             style:family=\"paragraph\"\n" \
-    "             style:parent-style-name=\"Standard\"\n" \
-    "             style:class=\"html\">\n" \
-    "   <style:paragraph-properties fo:margin-top=\"0in\" fo:margin-bottom=\"0.1965in\"\n" \
-    "                               style:border-line-width-bottom=\"0.0008in 0.0138in 0.0008in\"\n" \
-    "                               fo:padding=\"0in\"\n" \
-    "                               fo:border-left=\"none\"\n" \
-    "                               fo:border-right=\"none\"\n" \
-    "                               fo:border-top=\"none\"\n" \
-    "                               fo:border-bottom=\"0.0154in double #808080\"\n" \
-    "                               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>\n" \
-       "<style:style style:name=\"TOC_Item\" style:family=\"paragraph\" style:parent-style-name=\"Standard\">\n" \
-       " <style:paragraph-properties>\n" \
-       "  <style:tab-stops>\n" \
-       "   <style:tab-stop style:position=\"6.7283in\" style:type=\"right\" style:leader-style=\"dotted\" style:leader-text=\".\"/>\n" \
-       "  </style:tab-stops>\n" \
-       " </style:paragraph-properties>\n" \
-       "</style:style>\n" \
-       "  <text:notes-configuration text:note-class=\"footnote\" text:default-style-name=\"Footnote\" text:citation-style-name=\"Footnote_20_Symbol\" text:citation-body-style-name=\"Footnote_20_anchor\" text:master-page-name=\"Footnote\" style:num-format=\"a\" text:start-value=\"0\" text:footnotes-position=\"page\" text:start-numbering-at=\"page\"/>\n" \
-       "  <text:notes-configuration text:note-class=\"endnote\" text:default-style-name=\"Endnote\" text:citation-style-name=\"Endnote_20_Symbol\" text:citation-body-style-name=\"Endnote_20_anchor\" text:master-page-name=\"Endnote\" style:num-format=\"1\" text:start-value=\"0\"/>\n" \
-    "</office:styles>\n");
-
-    /* Automatic style information */
-    print_const("<office:automatic-styles>" \
-    "   <style:style style:name=\"MMD-Italic\" style:family=\"text\">\n" \
-    "      <style:text-properties fo:font-style=\"italic\" style:font-style-asian=\"italic\"\n" \
-    "                             style:font-style-complex=\"italic\"/>\n" \
-    "   </style:style>\n" \
-    "   <style:style style:name=\"MMD-Bold\" style:family=\"text\">\n" \
-    "      <style:text-properties fo:font-weight=\"bold\" style:font-weight-asian=\"bold\"\n" \
-    "                             style:font-weight-complex=\"bold\"/>\n" \
-    "   </style:style>\n" \
-    "   <style:style style:name=\"MMD-Superscript\" style:family=\"text\">\n" \
-    "      <style:text-properties style:text-position=\"super 58%\"/>\n" \
-    "   </style:style>\n" \
-    "   <style:style style:name=\"MMD-Subscript\" style:family=\"text\">\n" \
-    "      <style:text-properties style:text-position=\"sub 58%\"/>\n" \
-    "   </style:style>\n" \
-    "   <style:style style:name=\"Strike\" style:family=\"text\">\n" \
-    "      <style:text-properties style:text-line-through-style=\"solid\" />\n" \
-    "   </style:style>\n" \
-    "   <style:style style:name=\"Underline\" style:family=\"text\">\n" \
-    "      <style:text-properties style:text-underline-style=\"solid\" style:text-underline-color=\"font-color\"/>\n" \
-    "   </style:style>\n" \
-    "   <style:style style:name=\"Highlight\" style:family=\"text\">\n" \
-    "      <style:text-properties fo:background-color=\"#FFFF00\" />\n" \
-    "   </style:style>\n" \
-    "   <style:style style:name=\"Comment\" style:family=\"text\">\n" \
-    "      <style:text-properties fo:color=\"#0000BB\" />\n" \
-    "   </style:style>\n" \
-    "<style:style style:name=\"MMD-Table\" style:family=\"paragraph\" style:parent-style-name=\"Standard\">\n" \
-    "   <style:paragraph-properties fo:margin-top=\"0in\" fo:margin-bottom=\"0.05in\"/>\n" \
-    "</style:style>\n" \
-    "<style:style style:name=\"MMD-Table-Center\" style:family=\"paragraph\" style:parent-style-name=\"MMD-Table\">\n" \
-    "   <style:paragraph-properties fo:text-align=\"center\" style:justify-single-word=\"false\"/>\n" \
-    "</style:style>\n" \
-    "<style:style style:name=\"MMD-Table-Right\" style:family=\"paragraph\" style:parent-style-name=\"MMD-Table\">\n" \
-    "   <style:paragraph-properties fo:text-align=\"right\" style:justify-single-word=\"false\"/>\n" \
-    "</style:style>\n" \
-    "<style:style style:name=\"P2\" style:family=\"paragraph\" style:parent-style-name=\"Standard\"\n" \
-    "             style:list-style-name=\"L2\">\n" \
-    "<style:paragraph-properties fo:text-align=\"start\" style:justify-single-word=\"false\"/>\n" \
-    "</style:style>\n" \
-       "<style:style style:name=\"fr1\" style:family=\"graphic\" style:parent-style-name=\"Frame\">\n" \
-       "   <style:graphic-properties style:print-content=\"true\" style:vertical-pos=\"top\"\n" \
-       "                             style:vertical-rel=\"baseline\"\n" \
-       "                             fo:padding=\"0in\"\n" \
-       "                             fo:border=\"none\"\n" \
-       "                             style:shadow=\"none\"/>\n" \
-       "</style:style>\n" \
-    "<style:style style:name=\"P1\" style:family=\"paragraph\" style:parent-style-name=\"Standard\"\n" \
-    "             style:list-style-name=\"L1\"/>\n" \
-       "<text:list-style style:name=\"L1\">\n" \
-       "       <text:list-level-style-bullet text:level=\"1\" text:style-name=\"Numbering_20_Symbols\" style:num-suffix=\".\" text:bullet-char=\"•\">\n" \
-       "               <style:list-level-properties text:list-level-position-and-space-mode=\"label-alignment\">\n" \
-       "                       <style:list-level-label-alignment text:label-followed-by=\"listtab\" text:list-tab-stop-position=\"0.5in\" fo:text-indent=\"-0.25in\" fo:margin-left=\"0.5in\"/>\n" \
-       "               </style:list-level-properties>\n" \
-       "       </text:list-level-style-bullet>\n" \
-       "       <text:list-level-style-bullet text:level=\"2\" text:style-name=\"Numbering_20_Symbols\" style:num-suffix=\".\" text:bullet-char=\"â—¦\">\n" \
-       "               <style:list-level-properties text:list-level-position-and-space-mode=\"label-alignment\">\n" \
-       "                       <style:list-level-label-alignment text:label-followed-by=\"listtab\" text:list-tab-stop-position=\"0.75in\" fo:text-indent=\"-0.25in\" fo:margin-left=\"0.75in\"/>\n" \
-       "               </style:list-level-properties>\n" \
-       "       </text:list-level-style-bullet>\n" \
-       "       <text:list-level-style-bullet text:level=\"3\" text:style-name=\"Numbering_20_Symbols\" style:num-suffix=\".\" text:bullet-char=\"â–ª\">\n" \
-       "               <style:list-level-properties text:list-level-position-and-space-mode=\"label-alignment\">\n" \
-       "                       <style:list-level-label-alignment text:label-followed-by=\"listtab\" text:list-tab-stop-position=\"1in\" fo:text-indent=\"-0.25in\" fo:margin-left=\"1in\"/>\n" \
-       "               </style:list-level-properties>\n" \
-       "       </text:list-level-style-bullet>\n" \
-       "       <text:list-level-style-number text:level=\"4\" style:num-suffix=\".\" style:num-format=\"1\">\n" \
-       "               <style:list-level-properties text:list-level-position-and-space-mode=\"label-alignment\">\n" \
-       "                       <style:list-level-label-alignment text:label-followed-by=\"listtab\" text:list-tab-stop-position=\"1.25in\" fo:text-indent=\"-0.25in\" fo:margin-left=\"1.25in\"/>\n" \
-       "               </style:list-level-properties>\n" \
-       "       </text:list-level-style-number>\n" \
-       "       <text:list-level-style-number text:level=\"5\" style:num-suffix=\".\" style:num-format=\"1\">\n" \
-       "               <style:list-level-properties text:list-level-position-and-space-mode=\"label-alignment\">\n" \
-       "                       <style:list-level-label-alignment text:label-followed-by=\"listtab\" text:list-tab-stop-position=\"1.5in\" fo:text-indent=\"-0.25in\" fo:margin-left=\"1.5in\"/>\n" \
-       "               </style:list-level-properties>\n" \
-       "       </text:list-level-style-number>\n" \
-       "       <text:list-level-style-number text:level=\"6\" style:num-suffix=\".\" style:num-format=\"1\">\n" \
-       "               <style:list-level-properties text:list-level-position-and-space-mode=\"label-alignment\">\n" \
-       "                       <style:list-level-label-alignment text:label-followed-by=\"listtab\" text:list-tab-stop-position=\"1.75in\" fo:text-indent=\"-0.25in\" fo:margin-left=\"1.75in\"/>\n" \
-       "               </style:list-level-properties>\n" \
-       "       </text:list-level-style-number>\n" \
-       "       <text:list-level-style-number text:level=\"7\" style:num-suffix=\".\" style:num-format=\"1\">\n" \
-       "               <style:list-level-properties text:list-level-position-and-space-mode=\"label-alignment\">\n" \
-       "                       <style:list-level-label-alignment text:label-followed-by=\"listtab\" text:list-tab-stop-position=\"2in\" fo:text-indent=\"-0.25in\" fo:margin-left=\"2in\"/>\n" \
-       "               </style:list-level-properties>\n" \
-       "       </text:list-level-style-number>\n" \
-       "       <text:list-level-style-number text:level=\"8\" style:num-suffix=\".\" style:num-format=\"1\">\n" \
-       "               <style:list-level-properties text:list-level-position-and-space-mode=\"label-alignment\">\n" \
-       "                       <style:list-level-label-alignment text:label-followed-by=\"listtab\" text:list-tab-stop-position=\"2.25in\" fo:text-indent=\"-0.25in\" fo:margin-left=\"2.25in\"/>\n" \
-       "               </style:list-level-properties>\n" \
-       "       </text:list-level-style-number>\n" \
-       "       <text:list-level-style-number text:level=\"9\" style:num-suffix=\".\" style:num-format=\"1\">\n" \
-       "               <style:list-level-properties text:list-level-position-and-space-mode=\"label-alignment\">\n" \
-       "                       <style:list-level-label-alignment text:label-followed-by=\"listtab\" text:list-tab-stop-position=\"2.5in\" fo:text-indent=\"-0.25in\" fo:margin-left=\"2.5in\"/>\n" \
-       "               </style:list-level-properties>\n" \
-       "       </text:list-level-style-number>\n" \
-       "       <text:list-level-style-number text:level=\"10\" style:num-suffix=\".\" style:num-format=\"1\">\n" \
-       "               <style:list-level-properties text:list-level-position-and-space-mode=\"label-alignment\">\n" \
-       "                       <style:list-level-label-alignment text:label-followed-by=\"listtab\" text:list-tab-stop-position=\"2.75in\" fo:text-indent=\"-0.25in\" fo:margin-left=\"2.75in\"/>\n" \
-       "               </style:list-level-properties>\n" \
-       "       </text:list-level-style-number>\n" \
-       "</text:list-style>\n" \
-       "<text:list-style style:name=\"L2\">\n" \
-       "       <text:list-level-style-number text:level=\"1\" text:style-name=\"Standard\" style:num-suffix=\".\" style:num-format=\"1\">\n" \
-       "               <style:list-level-properties text:list-level-position-and-space-mode=\"label-alignment\">\n" \
-       "                       <style:list-level-label-alignment text:label-followed-by=\"listtab\" text:list-tab-stop-position=\"0.5in\" fo:text-indent=\"-0.25in\" fo:margin-left=\"0.5in\"/>\n" \
-       "               </style:list-level-properties>\n" \
-       "       </text:list-level-style-number>\n" \
-       "       <text:list-level-style-number text:level=\"2\" text:style-name=\"Standard\" style:num-suffix=\".\" style:num-format=\"1\">\n" \
-       "               <style:list-level-properties text:list-level-position-and-space-mode=\"label-alignment\">\n" \
-       "                       <style:list-level-label-alignment text:label-followed-by=\"listtab\" text:list-tab-stop-position=\"0.75in\" fo:text-indent=\"-0.25in\" fo:margin-left=\"0.75in\"/>\n" \
-       "               </style:list-level-properties>\n" \
-       "       </text:list-level-style-number>\n" \
-       "       <text:list-level-style-number text:level=\"3\" text:style-name=\"Standard\" style:num-suffix=\".\" style:num-format=\"1\">\n" \
-       "               <style:list-level-properties text:list-level-position-and-space-mode=\"label-alignment\">\n" \
-       "                       <style:list-level-label-alignment text:label-followed-by=\"listtab\" text:list-tab-stop-position=\"1in\" fo:text-indent=\"-0.25in\" fo:margin-left=\"1in\"/>\n" \
-       "               </style:list-level-properties>\n" \
-       "       </text:list-level-style-number>\n" \
-       "       <text:list-level-style-number text:level=\"4\" text:style-name=\"Standard\" style:num-suffix=\".\" style:num-format=\"1\">\n" \
-       "               <style:list-level-properties text:list-level-position-and-space-mode=\"label-alignment\">\n" \
-       "                       <style:list-level-label-alignment text:label-followed-by=\"listtab\" text:list-tab-stop-position=\"1.25in\" fo:text-indent=\"-0.25in\" fo:margin-left=\"1.25in\"/>\n" \
-       "               </style:list-level-properties>\n" \
-       "       </text:list-level-style-number>\n" \
-       "       <text:list-level-style-number text:level=\"5\" text:style-name=\"Standard\" style:num-suffix=\".\" style:num-format=\"1\">\n" \
-       "               <style:list-level-properties text:list-level-position-and-space-mode=\"label-alignment\">\n" \
-       "                       <style:list-level-label-alignment text:label-followed-by=\"listtab\" text:list-tab-stop-position=\"1.5in\" fo:text-indent=\"-0.25in\" fo:margin-left=\"1.5in\"/>\n" \
-       "               </style:list-level-properties>\n" \
-       "       </text:list-level-style-number>\n" \
-       "       <text:list-level-style-number text:level=\"6\" text:style-name=\"Standard\" style:num-suffix=\".\" style:num-format=\"1\">\n" \
-       "               <style:list-level-properties text:list-level-position-and-space-mode=\"label-alignment\">\n" \
-       "                       <style:list-level-label-alignment text:label-followed-by=\"listtab\" text:list-tab-stop-position=\"1.75in\" fo:text-indent=\"-0.25in\" fo:margin-left=\"1.75in\"/>\n" \
-       "               </style:list-level-properties>\n" \
-       "       </text:list-level-style-number>\n" \
-       "       <text:list-level-style-number text:level=\"7\" text:style-name=\"Standard\" style:num-suffix=\".\" style:num-format=\"1\">\n" \
-       "               <style:list-level-properties text:list-level-position-and-space-mode=\"label-alignment\">\n" \
-       "                       <style:list-level-label-alignment text:label-followed-by=\"listtab\" text:list-tab-stop-position=\"2in\" fo:text-indent=\"-0.25in\" fo:margin-left=\"2in\"/>\n" \
-       "               </style:list-level-properties>\n" \
-       "       </text:list-level-style-number>\n" \
-       "       <text:list-level-style-number text:level=\"8\" text:style-name=\"Standard\" style:num-suffix=\".\" style:num-format=\"1\">\n" \
-       "               <style:list-level-properties text:list-level-position-and-space-mode=\"label-alignment\">\n" \
-       "                       <style:list-level-label-alignment text:label-followed-by=\"listtab\" text:list-tab-stop-position=\"2.25in\" fo:text-indent=\"-0.25in\" fo:margin-left=\"2.25in\"/>\n" \
-       "               </style:list-level-properties>\n" \
-       "       </text:list-level-style-number>\n" \
-       "       <text:list-level-style-number text:level=\"9\" text:style-name=\"Standard\" style:num-suffix=\".\" style:num-format=\"1\">\n" \
-       "               <style:list-level-properties text:list-level-position-and-space-mode=\"label-alignment\">\n" \
-       "                       <style:list-level-label-alignment text:label-followed-by=\"listtab\" text:list-tab-stop-position=\"2.5in\" fo:text-indent=\"-0.25in\" fo:margin-left=\"2.5in\"/>\n" \
-       "               </style:list-level-properties>\n" \
-       "       </text:list-level-style-number>\n" \
-       "       <text:list-level-style-number text:level=\"10\" text:style-name=\"Standard\" style:num-suffix=\".\" style:num-format=\"1\">\n" \
-       "               <style:list-level-properties text:list-level-position-and-space-mode=\"label-alignment\">\n" \
-       "                       <style:list-level-label-alignment text:label-followed-by=\"listtab\" text:list-tab-stop-position=\"2.75in\" fo:text-indent=\"-0.25in\" fo:margin-left=\"2.75in\"/>\n" \
-       "               </style:list-level-properties>\n" \
-       "       </text:list-level-style-number>\n" \
-       "</text:list-style>\n" \
-    "</office:automatic-styles>\n" \
-       " <office:master-styles>\n" \
-       "  <style:master-page style:name=\"Endnote\" >\n" \
-       "    <style:header><text:h text:outline-level=\"2\">Bibliography</text:h></style:header></style:master-page>\n" \
-       "  <style:master-page style:name=\"Footnote\" style:page-layout-name=\"pm2\"/>\n" \
-       " </office:master-styles>\n");
-
-               // Iterate over metadata keys
-       meta * m;
-
-       if (scratch->meta_hash)
-               print_const("<office:meta>\n");
+*/
 
-       for (m = scratch->meta_hash; m != NULL; m = m->hh.next) {
-               if (strcmp(m->key, "baseheaderlevel") == 0) {
-               } else if (strcmp(m->key, "bibliostyle") == 0) {
-               } else if (strcmp(m->key, "bibtex") == 0) {
-               } else if (strcmp(m->key, "css") == 0) {
-               } else if (strcmp(m->key, "htmlfooter") == 0) {
-               } else if (strcmp(m->key, "htmlheader") == 0) {
-               } else if (strcmp(m->key, "htmlheaderlevel") == 0) {
-               } else if (strcmp(m->key, "language") == 0) {
-               } else if (strcmp(m->key, "latexbegin") == 0) {
-               } else if (strcmp(m->key, "latexconfig") == 0) {
-               } else if (strcmp(m->key, "latexfooter") == 0) {
-               } else if (strcmp(m->key, "latexheaderlevel") == 0) {
-               } else if (strcmp(m->key, "latexinput") == 0) {
-               } else if (strcmp(m->key, "latexleader") == 0) {
-               } else if (strcmp(m->key, "latexmode") == 0) {
-               } else if (strcmp(m->key, "mmdfooter") == 0) {
-               } else if (strcmp(m->key, "mmdheader") == 0) {
-               } else if (strcmp(m->key, "quoteslanguage") == 0) {
-               } else if (strcmp(m->key, "title") == 0) {
-                       print_const("\t<dc:title>");
-                       mmd_print_string_odf(out, m->value);
-                       print_const("</dc:title>\n");
-               } else if (strcmp(m->key, "transcludebase") == 0) {
-               } else if (strcmp(m->key, "xhtmlheader") == 0) {
-                       print(m->value);
-                       print_char('\n');
-               } else if (strcmp(m->key, "xhtmlheaderlevel") == 0) {
-               } else {
-                       print_const("\t<meta:user-defined meta:name=\"");
-                       mmd_print_string_odf(out, m->key);
-                       print_const("\">");
-                       mmd_print_string_odf(out, m->value);
-                       print_const("</meta:user-defined>\n");
-               }
-       }
 
-       if (scratch->meta_hash)
-               print_const("</office:meta>\n");
+#include "odf.h"
 
-       print_const("<office:body>\n<office:text>\n");
+static int void_function(void) {
+       return 0;
 }
 
+#ifdef TEST
+static void Test_void_function(CuTest* tc) {
+       int test = void_function();
 
-void mmd_end_complete_odf(DString * out, const char * source, scratch_pad * scratch) {
-       pad(out, 1, scratch);
-       print_const("</office:text>\n</office:body>\n</office:document>");
+       CuAssertIntEquals(tc, 0, test);
 }
-
+#endif
index 0d69030187519d5348f2c82f83a773c65b43c764..8dc7d0165a03265d86e4ffd4f81661fdb61b1abe 100644 (file)
@@ -1,10 +1,10 @@
 /**
 
-       MultiMarkdown -- Lightweight markup processor to produce HTML, odf, and more.
+       MultiMarkdown -- Lightweight markup processor to produce HTML, LaTeX, and more.
 
        @file odf.h
 
-       @brief Convert token tree to Flat OpenDocument (ODF/FODT) output
+       @brief 
 
 
        @author Fletcher T. Penney
        CuTest is released under the zlib/libpng license. See CuTest.c for the
        text of the license.
        
+       uthash library:
+               Copyright (c) 2005-2016, Troy D. Hanson
+       
+               Licensed under Revised BSD license
+       
+       miniz library:
+               Copyright 2013-2014 RAD Game Tools and Valve Software
+               Copyright 2010-2014 Rich Geldreich and Tenacious Software LLC
+       
+               Licensed under the MIT license
+       
+       argtable3 library:
+               Copyright (C) 1998-2001,2003-2011,2013 Stewart Heitmann
+               <sheitmann@users.sourceforge.net>
+               All rights reserved.
+       
+               Licensed under the Revised BSD License
+       
        
        ## The MIT License ##
        
        TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE
        SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
        
+       
+       ## Revised BSD License ##
+       
+       Redistribution and use in source and binary forms, with or without
+       modification, are permitted provided that the following conditions are
+       met:
+           * Redistributions of source code must retain the above copyright
+             notice, this list of conditions and the following disclaimer.
+           * Redistributions in binary form must reproduce the above
+             copyright notice, this list of conditions and the following
+             disclaimer in the documentation and/or other materials provided
+             with the distribution.
+           * Neither the name of the <organization> nor the
+             names of its contributors may be used to endorse or promote
+             products derived from this software without specific prior
+             written permission.
+       
+       THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS
+       "AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT
+       LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR
+       A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL <COPYRIGHT
+       HOLDER> BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL,
+       EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO,
+       PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES LOSS OF USE, DATA, OR
+       PROFITS OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF
+       LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING
+       NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS
+       SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
+       
 
 */
 
 #ifndef ODF_MULTIMARKDOWN_H
 #define ODF_MULTIMARKDOWN_H
 
+#ifdef TEST
+#include "CuTest.h"
+#endif
 
-#include "d_string.h"
-#include "token.h"
-#include "writer.h"
-
-void mmd_export_token_odf(DString * out, const char * source, token * t, scratch_pad * scratch);
-void mmd_export_token_tree_odf(DString * out, const char * source, token * t, scratch_pad * scratch);
-
-void mmd_export_token_odf_raw(DString * out, const char * source, token * t, scratch_pad * scratch);
-void mmd_export_token_tree_odf_raw(DString * out, const char * source, token * t, scratch_pad * scratch);
-
-void mmd_export_citation_list_odf(DString * out, const char * source, scratch_pad * scratch);
-void mmd_export_footnote_list_odf(DString * out, const char * source, scratch_pad * scratch);
-
-void mmd_start_complete_odf(DString * out, const char * source, scratch_pad * scratch);
-void mmd_end_complete_odf(DString * out, const char * source, scratch_pad * scratch);
-
-void mmd_export_citation_list_odf(DString * out, const char * source, scratch_pad * scratch);
 
+/// This is a sample function with a doxygen description.
+// void void_f(void);
 
 #endif
diff --git a/Sources/libMultiMarkdown/opendocument-content.c b/Sources/libMultiMarkdown/opendocument-content.c
new file mode 100644 (file)
index 0000000..e3f5d77
--- /dev/null
@@ -0,0 +1,1734 @@
+/**
+
+       MultiMarkdown -- Lightweight markup processor to produce HTML, LaTeX, and more.
+
+       @file opendocument-content.c
+
+       @brief Create the body content for OpenDocument files
+
+
+       @author Fletcher T. Penney
+       @bug    
+
+**/
+
+/*
+
+       Copyright Â© 2016 - 2017 Fletcher T. Penney.
+
+
+       The `MultiMarkdown 6` project is released under the MIT License..
+       
+       GLibFacade.c and GLibFacade.h are from the MultiMarkdown v4 project:
+       
+               https://github.com/fletcher/MultiMarkdown-4/
+       
+       MMD 4 is released under both the MIT License and GPL.
+       
+       
+       CuTest is released under the zlib/libpng license. See CuTest.c for the
+       text of the license.
+       
+       uthash library:
+               Copyright (c) 2005-2016, Troy D. Hanson
+       
+               Licensed under Revised BSD license
+       
+       miniz library:
+               Copyright 2013-2014 RAD Game Tools and Valve Software
+               Copyright 2010-2014 Rich Geldreich and Tenacious Software LLC
+       
+               Licensed under the MIT license
+       
+       argtable3 library:
+               Copyright (C) 1998-2001,2003-2011,2013 Stewart Heitmann
+               <sheitmann@users.sourceforge.net>
+               All rights reserved.
+       
+               Licensed under the Revised BSD License
+       
+       
+       ## The MIT License ##
+       
+       Permission is hereby granted, free of charge, to any person obtaining
+       a copy of this software and associated documentation files (the
+       "Software"), to deal in the Software without restriction, including
+       without limitation the rights to use, copy, modify, merge, publish,
+       distribute, sublicense, and/or sell copies of the Software, and to
+       permit persons to whom the Software is furnished to do so, subject to
+       the following conditions:
+       
+       The above copyright notice and this permission notice shall be
+       included in all copies or substantial portions of the Software.
+       
+       THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND,
+       EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF
+       MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT.
+       IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY
+       CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT,
+       TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE
+       SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
+       
+       
+       ## Revised BSD License ##
+       
+       Redistribution and use in source and binary forms, with or without
+       modification, are permitted provided that the following conditions are
+       met:
+           * Redistributions of source code must retain the above copyright
+             notice, this list of conditions and the following disclaimer.
+           * Redistributions in binary form must reproduce the above
+             copyright notice, this list of conditions and the following
+             disclaimer in the documentation and/or other materials provided
+             with the distribution.
+           * Neither the name of the <organization> nor the
+             names of its contributors may be used to endorse or promote
+             products derived from this software without specific prior
+             written permission.
+       
+       THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS
+       "AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT
+       LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR
+       A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL <COPYRIGHT
+       HOLDER> BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL,
+       EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO,
+       PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES LOSS OF USE, DATA, OR
+       PROFITS OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF
+       LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING
+       NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS
+       SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
+       
+
+*/
+
+#include <ctype.h>
+#include <stdio.h>
+#include <stdlib.h>
+#include <string.h>
+
+#include "char.h"
+#include "opendocument-content.h"
+#include "parser.h"
+#include "scanners.h"
+
+
+#define print(x) d_string_append(out, x)
+#define print_const(x) d_string_append_c_array(out, x, sizeof(x) - 1)
+#define print_char(x) d_string_append_c(out, x)
+#define printf(...) d_string_append_printf(out, __VA_ARGS__)
+#define print_token(t) d_string_append_c_array(out, &(source[t->start]), t->len)
+#define print_localized(x) mmd_print_localized_char_opendocument(out, x, scratch)
+
+
+/// strdup() not available on all platforms
+static char * my_strdup(const char * source) {
+       char * result = malloc(strlen(source) + 1);
+
+       if (result) {
+               strcpy(result, source);
+       }
+
+       return result;
+}
+
+
+void mmd_print_char_opendocument(DString * out, char c) {
+       switch (c) {
+               case '"':
+                       print_const("&quot;");
+                       break;
+               case '&':
+                       print_const("&amp;");
+                       break;
+               case '<':
+                       print_const("&lt;");
+                       break;
+               case '>':
+                       print_const("&gt;");
+                       break;
+               case '\t':
+                       print_const("<text:tab/>");
+               default:
+                       print_char(c);
+                       break;
+       }
+}
+
+
+void mmd_print_string_opendocument(DString * out, const char * str) {
+       if (str == NULL)
+               return;
+       
+       while (*str != '\0') {
+               mmd_print_char_opendocument(out, *str);
+               str++;
+       }
+}
+
+
+void mmd_print_localized_char_opendocument(DString * out, unsigned short type, scratch_pad * scratch) {
+       switch (type) {
+               case DASH_N:
+                       print_const("&#8211;");
+                       break;
+               case DASH_M:
+                       print_const("&#8212;");
+                       break;
+               case ELLIPSIS:
+                       print_const("&#8230;");
+                       break;
+               case APOSTROPHE:
+                       print_const("&#8217;");
+                       break;
+               case QUOTE_LEFT_SINGLE:
+                       switch (scratch->quotes_lang) {
+                               case SWEDISH:
+                                       print( "&#8217;");
+                                       break;
+                               case FRENCH:
+                                       print_const("&#39;");
+                                       break;
+                               case GERMAN:
+                                       print_const("&#8218;");
+                                       break;
+                               case GERMANGUILL:
+                                       print_const("&#8250;");
+                                       break;
+                               default:
+                                       print_const("&#8216;");
+                               }
+                       break;
+               case QUOTE_RIGHT_SINGLE:
+                       switch (scratch->quotes_lang) {
+                               case GERMAN:
+                                       print_const("&#8216;");
+                                       break;
+                               case GERMANGUILL:
+                                       print_const("&#8249;");
+                                       break;
+                               default:
+                                       print_const("&#8217;");
+                               }
+                       break;
+               case QUOTE_LEFT_DOUBLE:
+                       switch (scratch->quotes_lang) {
+                               case DUTCH:
+                               case GERMAN:
+                                       print_const("&#8222;");
+                                       break;
+                               case GERMANGUILL:
+                                       print_const("&#187;");
+                                       break;
+                               case FRENCH:
+                                       print_const("&#171;");
+                                       break;
+                               case SWEDISH:
+                                       print( "&#8221;");
+                                       break;
+                               default:
+                                       print_const("&#8220;");
+                               }
+                       break;
+               case QUOTE_RIGHT_DOUBLE:
+                       switch (scratch->quotes_lang) {
+                               case GERMAN:
+                                       print_const("&#8220;");
+                                       break;
+                               case GERMANGUILL:
+                                       print_const("&#171;");
+                                       break;
+                               case FRENCH:
+                                       print_const("&#187;");
+                                       break;
+                               case SWEDISH:
+                               case DUTCH:
+                               default:
+                                       print_const("&#8221;");
+                               }
+                       break;
+       }
+}
+
+
+void mmd_export_token_opendocument_raw(DString * out, const char * source, token * t, scratch_pad * scratch) {
+       if (t == NULL)
+               return;
+
+       switch (t->type) {
+               case AMPERSAND:
+                       print_const("&amp;");
+                       break;
+               case AMPERSAND_LONG:
+                       print_const("&amp;amp;");
+                       break;
+               case ANGLE_RIGHT:
+                       print_const("&gt;");
+                       break;
+               case ANGLE_LEFT:
+                       print_const("&lt;");
+                       break;
+               case ESCAPED_CHARACTER:
+                       print_const("\\");
+                       mmd_print_char_opendocument(out, source[t->start + 1]);
+                       break;
+               case HTML_ENTITY:
+                       print_const("&amp;");
+                       d_string_append_c_array(out, &(source[t->start + 1]), t->len - 1);
+                       break;
+               case INDENT_TAB:
+                       print_const("<text:tab/>");
+                       break;
+               case QUOTE_DOUBLE:
+                       print_const("&quot;");
+                       break;
+               case CODE_FENCE:
+                       if (t->next)
+                               t->next->type = TEXT_EMPTY;
+               case TEXT_EMPTY:
+                       break;
+               case TEXT_NL:
+                       print_const("<text:line-break/>");
+                       break;
+               default:
+                       if (t->child)
+                               mmd_export_token_tree_opendocument_raw(out, source, t->child, scratch);
+                       else
+                               print_token(t);
+                       break;
+       }
+}
+
+
+void mmd_export_token_tree_opendocument_raw(DString * out, const char * source, token * t, scratch_pad * scratch) {
+       while (t != NULL) {
+               if (scratch->skip_token) {
+                       scratch->skip_token--;
+               } else {
+                       mmd_export_token_opendocument_raw(out, source, t, scratch);
+               }
+
+               t = t->next;
+       }
+}
+
+
+void mmd_export_link_opendocument(DString * out, const char * source, token * text, link * link, scratch_pad * scratch) {
+       if (link->url) {
+               print_const("<text:a xlink:type=\"simple\" xlink:href=\"");
+               mmd_print_string_opendocument(out, link->url);
+               print_const("\"");
+       } else
+               print_const("<a xlink:type=\"simple\" xlink:href=\"\"");
+
+       if (link->title && link->title[0] != '\0') {
+               print_const(" office:name=\"");
+               mmd_print_string_opendocument(out, link->title);
+               print_const("\"");
+       }
+
+       print_const(">");
+
+       // If we're printing contents of bracket as text, then ensure we include it all
+       if (text && text->child && text->child->len > 1) {
+               text->child->next->start--;
+               text->child->next->len++;
+       }
+       
+       mmd_export_token_tree_opendocument(out, source, text->child, scratch);
+
+       print_const("</text:a>");
+}
+
+
+static char * correct_dimension_units(char *original) {
+       char *result;
+       int i;
+       
+       result = my_strdup(original);
+       
+       for (i = 0; result[i]; i++)
+               result[i] = tolower(result[i]);
+       
+       if (strstr(&result[strlen(result)-2],"px")) {
+               result[strlen(result)-2] = '\0';
+               strcat(result, "pt");
+       }
+       
+       return result;
+}
+
+
+void mmd_export_image_opendocument(DString * out, const char * source, token * text, link * link, scratch_pad * scratch, bool is_figure) {
+       attr * a = link->attributes;
+       char * height = NULL;
+       char * width = NULL;
+
+       print_const("<draw:frame text:anchor-type=\"as-char\"\ndraw:z-index=\"0\" draw:style-name=\"fr1\"");
+
+       // Check attributes for dimensions
+       while (a) {
+               if (strcmp("height", a->key) == 0) {
+                       height = correct_dimension_units(a->value);
+               } else if (strcmp("width", a->key) == 0) {
+                       width = correct_dimension_units(a->value);
+               }
+
+               a = a->next;
+       }
+
+       if (width) {
+               printf(" svg:width=\"%s\">\n", width);
+       } else {
+               print_const(" svg:width=\"95%\">\n");
+       }
+
+       print_const("<draw:text-box><text:p><draw:frame text:anchor-type=\"as-char\" draw:z-index=\"1\" ");
+
+       if (height && width) {
+               printf("svg:height=\"%s\" ", height);
+               printf("svg:width=\"%s\" ", width);
+       }
+
+       if (height)
+               free(height);
+
+       if (width)
+               free(width);
+
+       if (link->url)
+               printf(">\n<draw:image xlink:href=\"%s\"", link->url);
+
+       print_const(" xlink:type=\"simple\" xlink:show=\"embed\" xlink:actuate=\"onLoad\" draw:filter-name=\"&lt;All formats&gt;\"/>\n</draw:frame></text:p>");
+
+       if (is_figure) {
+               if (text) {
+                       print_const("\n<text:p>Figure <text:sequence text:name=\"Figure\" text:formula=\"ooow:Figure+1\" style:num-format=\"1\"> Update Fields to calculate numbers</text:sequence>: ");
+                       mmd_export_token_tree_opendocument(out, source, text->child, scratch);
+                       print_const("</text:p>");
+               }
+       }
+
+       print_const("\n</draw:text-box></draw:frame>\n");
+
+       scratch->padded = 1;
+}
+
+
+void mmd_export_toc_entry_opendocument(DString * out, const char * source, scratch_pad * scratch, size_t * counter, short level) {
+       token * entry, * next;
+       short entry_level, next_level;
+       char * temp_char;
+
+       // Iterate over tokens
+       while (*counter < scratch->header_stack->size) {
+               // Get token for header
+               entry = stack_peek_index(scratch->header_stack, *counter);
+               entry_level = raw_level_for_header(entry);
+
+               if (entry_level >= level) {
+                       // This entry is a direct descendant of the parent
+                       temp_char = label_from_header(source, entry);
+                       printf("<text:p text:style-name=\"TOC_Item\"><text:a xlink:type=\"simple\" xlink:href=\"#%s\" text:style-name=\"Index_20_Link\" text:visited-style-name=\"Index_20_Link\">", temp_char);
+                       mmd_export_token_tree_opendocument(out, source, entry->child, scratch);
+                       print_const(" <text:tab/>1</text:a></text:p>\n");
+
+                       if (*counter < scratch->header_stack->size - 1) {
+                               next = stack_peek_index(scratch->header_stack, *counter + 1);
+                               next_level = next->type - BLOCK_H1 + 1;
+                               if (next_level > entry_level) {
+                                       // This entry has children
+                                       (*counter)++;
+                                       mmd_export_toc_entry_opendocument(out, source, scratch, counter, entry_level + 1);
+                               }
+                       }
+
+                       free(temp_char);
+               } else if (entry_level < level ) {
+                       // If entry < level, exit this level
+                       // Decrement counter first, so that we can test it again later
+                       (*counter)--;
+                       break;
+               }
+               
+               // Increment counter
+               (*counter)++;
+       }
+}
+
+
+void mmd_export_toc_opendocument(DString * out, const char * source, scratch_pad * scratch) {
+       size_t counter = 0;
+
+       // TODO: Could use LC to internationalize this
+       print_const("<text:table-of-content text:style-name=\"Sect1\" text:protected=\"true\" text:name=\"Table of Contents1\">\n");
+       print_const("<text:table-of-content-source text:outline-level=\"10\">\n");
+       print_const("<text:index-title-template text:style-name=\"Contents_20_Heading\">Table of Contents</text:index-title-template>\n");
+       print_const("</text:table-of-content-source>\n<text:index-body>\n");
+       print_const("<text:index-title text:style-name=\"Sect1\" text:name=\"Table of Contents1_Head\">\n");
+       print_const("<text:p text:style-name=\"Contents_20_Heading\">Table of Contents</text:p>\n");
+       print_const("</text:index-title>\n");
+
+       mmd_export_toc_entry_opendocument(out, source, scratch, &counter, 0);
+
+       print_const("</text:index-body>\n</text:table-of-content>\n\n");
+}
+
+
+
+void mmd_export_token_opendocument(DString * out, const char * source, token * t, scratch_pad * scratch) {
+       if (t == NULL)
+               return;
+
+       short   temp_short;
+       short   temp_short2;
+       short   temp_short3;
+       link *  temp_link       = NULL;
+       char *  temp_char       = NULL;
+       char *  temp_char2      = NULL;
+       bool    temp_bool       = 0;
+       token * temp_token      = NULL;
+       footnote * temp_note = NULL;
+
+       switch (t->type) {
+               case DOC_START_TOKEN:
+                       mmd_export_token_tree_opendocument(out, source, t->child, scratch);
+                       break;
+               case AMPERSAND:
+               case AMPERSAND_LONG:
+                       print_const("&amp;");
+                       break;
+               case ANGLE_LEFT:
+                       print_const("&lt;");
+                       break;
+               case ANGLE_RIGHT:
+                       print_const("&gt;");
+                       break;
+               case APOSTROPHE:
+                       if (!(scratch->extensions & EXT_SMART)) {
+                               print_token(t);
+                       } else {
+                               print_localized(APOSTROPHE);
+                       }
+                       break;
+               case BACKTICK:
+                       if (t->mate == NULL)
+                               print_token(t);
+                       else if (t->mate->type == QUOTE_RIGHT_ALT)
+                               if (!(scratch->extensions & EXT_SMART)) {
+                                       print_token(t);
+                               } else {
+                                       print_localized(QUOTE_LEFT_DOUBLE);
+                               }
+                       else if (t->start < t->mate->start) {
+                               print_const("<text:span text:style-name=\"Source_20_Text\">");
+                       } else {
+                               print_const("</text:span>");
+                       }
+                       break;
+               case BLOCK_BLOCKQUOTE:
+                       pad(out, 2, scratch);
+                       scratch->padded = 2;
+                       temp_short2 = scratch->odf_para_type;
+
+                       scratch->odf_para_type = BLOCK_BLOCKQUOTE;
+
+                       mmd_export_token_tree_opendocument(out, source, t->child, scratch);
+                       scratch->padded = 0;
+                       scratch->odf_para_type = temp_short2;
+                       break;
+               case BLOCK_CODE_FENCED:
+                       pad(out, 2, scratch);
+
+                       temp_char = get_fence_language_specifier(t->child->child, source);
+
+                       if (temp_char) {
+                               if (strncmp("{=", temp_char, 2) == 0) {
+                                       // Raw source
+                                       if (raw_filter_text_matches(temp_char, FORMAT_ODT)) {
+                                               switch (t->child->tail->type) {
+                                                       case LINE_FENCE_BACKTICK_3:
+                                                       case LINE_FENCE_BACKTICK_4:
+                                                       case LINE_FENCE_BACKTICK_5:
+                                                               temp_token = t->child->tail;
+                                                               break;
+                                                       default:
+                                                               temp_token = NULL;
+                                               }
+                                               if (temp_token) {
+                                                       d_string_append_c_array(out, &source[t->child->next->start], temp_token->start - t->child->next->start);
+                                                       scratch->padded = 1;
+                                               } else {
+                                                       d_string_append_c_array(out, &source[t->child->start + t->child->len], t->start + t->len - t->child->next->start);                                                      
+                                                       scratch->padded = 0;
+                                               }
+                                       }
+
+                                       break;
+                               }
+                       }
+                       
+                       free(temp_char);
+
+                       print_const("<text:p text:style-name=\"Preformatted Text\">");
+                       mmd_export_token_tree_opendocument_raw(out, source, t->child->next, scratch);
+                       print_const("</text:p>");
+                       scratch->padded = 0;
+                       break;
+               case BLOCK_CODE_INDENTED:
+                       pad(out, 2, scratch);
+                       print_const("<text:p text:style-name=\"Preformatted Text\">");
+                       mmd_export_token_tree_opendocument_raw(out, source, t->child, scratch);
+                       print_const("</text:p>");
+                       scratch->padded = 0;
+                       break;
+               case BLOCK_DEFINITION:
+                       pad(out, 2, scratch);
+                       temp_short2 = scratch->odf_para_type;
+                       scratch->odf_para_type = BLOCK_DEFINITION;
+
+                       temp_short = scratch->list_is_tight;
+                       if (!(t->child->next && (t->child->next->type == BLOCK_EMPTY) && t->child->next->next))
+                               scratch->list_is_tight = true;
+
+                       if (t->child && t->child->type != BLOCK_PARA) {
+                               print_const("<text:p text:style-name=\"Quotations\">");
+                               mmd_export_token_tree_opendocument(out, source, t->child, scratch);
+                               print_const("</text:p>");
+                       } else {
+                               mmd_export_token_tree_opendocument(out, source, t->child, scratch);                             
+                       }
+                       scratch->padded = 0;
+
+                       scratch->list_is_tight = temp_short;
+                       scratch->odf_para_type = temp_short2;
+                       break;
+               case BLOCK_DEFLIST:
+                       pad(out, 2, scratch);
+
+                       // Group consecutive definition lists into a single list.
+                       // lemon's LALR(1) parser can't properly handle this (to my understanding).
+
+//                     if (!(t->prev && (t->prev->type == BLOCK_DEFLIST)))
+//                             print_const("<dl>\n");
+       
+                       scratch->padded = 2;
+
+                       mmd_export_token_tree_opendocument(out, source, t->child, scratch);
+                       pad(out, 1, scratch);
+
+//                     if (!(t->next && (t->next->type == BLOCK_DEFLIST)))
+//                             print_const("</dl>\n");
+
+                       scratch->padded = 1;
+                       break;
+               case BLOCK_EMPTY:
+                       break;
+               case BLOCK_H1:
+               case BLOCK_H2:
+               case BLOCK_H3:
+               case BLOCK_H4:
+               case BLOCK_H5:
+               case BLOCK_H6:
+               case BLOCK_SETEXT_1:
+               case BLOCK_SETEXT_2:
+                       pad(out, 2, scratch);
+                       switch (t->type) {
+                               case BLOCK_SETEXT_1:
+                                       temp_short = 1;
+                                       break;
+                               case BLOCK_SETEXT_2:
+                                       temp_short = 2;
+                                       break;
+                               default:
+                                       temp_short = t->type - BLOCK_H1 + 1;
+                       }
+
+                       printf("<text:h text:outline-level=\"%d\">", temp_short + scratch->base_header_level - 1);
+
+                       if (scratch->extensions & EXT_NO_LABELS) {
+                               mmd_export_token_tree_opendocument(out, source, t->child, scratch);
+                       } else {
+                               temp_char = label_from_header(source, t);
+                               printf("<text:bookmark text:name=\"%s\"/>", temp_char);
+                               mmd_export_token_tree_opendocument(out, source, t->child, scratch);
+                               //printf("<text:bookmark-end text:name=\"%s\"/>", temp_char);
+                               free(temp_char);
+                       }
+
+                       print_const("</text:h>");
+                       scratch->padded = 0;
+                       break;
+               case BLOCK_HR:
+                       pad(out, 2, scratch);
+                       print_const("<text:p text:style-name=\"Horizontal_20_Line\"/>");
+                       scratch->padded = 0;
+                       break;
+               case BLOCK_HTML:
+                       // Don't print HTML
+                       break;
+               case BLOCK_LIST_BULLETED_LOOSE:
+               case BLOCK_LIST_BULLETED:
+                       temp_short = scratch->list_is_tight;
+                       switch (t->type) {
+                               case BLOCK_LIST_BULLETED_LOOSE:
+                                       scratch->list_is_tight = false;
+                                       break;
+                               case BLOCK_LIST_BULLETED:
+                                       scratch->list_is_tight = true;
+                                       break;
+                       }
+                       pad(out, 2, scratch);
+                       print_const("<text:list text:style-name=\"L1\">");
+                       scratch->padded = 1;
+                       mmd_export_token_tree_opendocument(out, source, t->child, scratch);
+                       pad(out, 2, scratch);
+                       print_const("</text:list>");
+                       scratch->padded = 0;
+                       scratch->list_is_tight = temp_short;
+                       break;
+               case BLOCK_LIST_ENUMERATED_LOOSE:
+               case BLOCK_LIST_ENUMERATED:
+                       temp_short = scratch->list_is_tight;
+                       switch (t->type) {
+                               case BLOCK_LIST_ENUMERATED_LOOSE:
+                                       scratch->list_is_tight = false;
+                                       break;
+                               case BLOCK_LIST_ENUMERATED:
+                                       scratch->list_is_tight = true;
+                                       break;
+                       }
+                       pad(out, 2, scratch);
+                       print_const("<text:list text:style-name=\"L2\">");
+                       scratch->padded = 1;
+                       mmd_export_token_tree_opendocument(out, source, t->child, scratch);
+                       pad(out, 2, scratch);
+                       print_const("</text:list>");
+                       scratch->padded = 0;
+                       scratch->list_is_tight = temp_short;
+                       break;
+               case BLOCK_LIST_ITEM:
+                       pad(out, 2, scratch);
+                       print_const("<text:list-item>\n");
+                       scratch->padded = 2;
+                       mmd_export_token_tree_opendocument(out, source, t->child, scratch);
+                       print_const("</text:list-item>");
+                       scratch->padded = 0;
+                       break;
+               case BLOCK_LIST_ITEM_TIGHT:
+                       pad(out, 2, scratch);
+                       print_const("<text:list-item>\n");
+
+                       if (t->child && t->child->type != BLOCK_PARA)
+                               print_const("<text:p text:style-name=\"P1\">\n");
+
+                       scratch->padded = 2;
+                       mmd_export_token_tree_opendocument(out, source, t->child, scratch);
+
+                       if (t->child && t->child->type != BLOCK_PARA)
+                       print_const("</text:p>");
+
+                       print_const("</text:list-item>");
+                       scratch->padded = 0;
+                       break;
+               case BLOCK_META:
+                       break;
+               case BLOCK_PARA:
+                       pad(out, 2, scratch);
+                       print_const("<text:p");
+
+                       switch (scratch->odf_para_type) {
+                               case BLOCK_BLOCKQUOTE:
+                               case BLOCK_DEFINITION:
+                                       print_const(" text:style-name=\"Quotations\">");
+                                       break;
+                               case PAIR_BRACKET_ABBREVIATION:
+                               case PAIR_BRACKET_CITATION:
+                               case PAIR_BRACKET_FOOTNOTE:
+                               case PAIR_BRACKET_GLOSSARY:
+                                       print_const(" text:style-name=\"Footnote\">");
+                                       break;
+                               default:                                
+                                       print_const(" text:style-name=\"Standard\">");
+                                       break;
+                       }
+
+                       mmd_export_token_tree_opendocument(out, source, t->child, scratch);
+
+                       print_const("</text:p>");
+                       scratch->padded = 0;
+                       break;
+               case BLOCK_TABLE:
+                       pad(out, 2, scratch);
+                       print_const("<table:table>\n");
+
+                       scratch->padded = 2;
+                       read_table_column_alignments(source, t, scratch);
+
+                       for (int i = 0; i < scratch->table_column_count; ++i)
+                       {
+                               print_const("<table:table-column/>\n");
+//                             switch (scratch->table_alignment[i]) {
+//                                     case 'l':
+//                                             print_const("<col style=\"text-align:left;\"/>\n");
+//                                             break;
+//                                     case 'L':
+//                                             print_const("<col style=\"text-align:left;\" class=\"extended\"/>\n");
+//                                             break;
+//                                     case 'r':
+//                                             print_const("<col style=\"text-align:right;\"/>\n");
+//                                             break;
+//                                     case 'R':
+//                                             print_const("<col style=\"text-align:right;\" class=\"extended\"/>\n");
+//                                             break;
+//                                     case 'c':
+//                                             print_const("<col style=\"text-align:center;\"/>\n");
+//                                             break;
+//                                     case 'C':
+//                                             print_const("<col style=\"text-align:center;\" class=\"extended\"/>\n");
+//                                             break;
+//                                     default:
+//                                             print_const("<col />\n");
+//                                             break;
+//                             }
+                       }
+                       scratch->padded = 1;
+
+                       mmd_export_token_tree_opendocument(out, source, t->child, scratch);
+                       pad(out, 1, scratch);
+                       print_const("</table:table>\n");
+
+                       // Are we followed by a caption?
+                       if (table_has_caption(t)) {
+                               temp_token = t->next->child;
+
+                               if (temp_token->next &&
+                                       temp_token->next->type == PAIR_BRACKET) {
+                                       temp_token = temp_token->next;
+                               }
+
+                               temp_char = label_from_token(source, temp_token);
+                               printf("<text:p><text:bookmark text:name=\"%s\"/>Table <text:sequence text:name=\"Table\" text:formula=\"ooow:Table+1\" style:num-format=\"1\"> Update Fields to calculate numbers</text:sequence>:", temp_char);
+
+                               t->next->child->child->type = TEXT_EMPTY;
+                               t->next->child->child->mate->type = TEXT_EMPTY;
+                               mmd_export_token_tree_opendocument(out, source, t->next->child->child, scratch);
+
+                               printf("<text:bookmark-end text:name=\"%s\"/></text:p>\n", temp_char);
+
+                               free(temp_char);
+                               temp_short = 1;
+                       } else {
+                               temp_short = 0;
+                       }
+
+                       scratch->padded = 0;
+                       scratch->skip_token = temp_short;
+
+                       break;
+               case BLOCK_TABLE_HEADER:
+                       pad(out, 2, scratch);
+                       scratch->in_table_header = 1;
+                       mmd_export_token_tree_opendocument(out, source, t->child, scratch);
+                       scratch->in_table_header = 0;
+                       scratch->padded = 1;
+                       break;
+               case BLOCK_TABLE_SECTION:
+                       pad(out, 2, scratch);
+                       scratch->padded = 2;
+                       mmd_export_token_tree_opendocument(out, source, t->child, scratch);
+                       scratch->padded = 0;
+                       break;
+               case BLOCK_TOC:
+                       pad(out, 2, scratch);
+
+                       mmd_export_toc_opendocument(out, source, scratch);
+
+                       scratch->padded = 1;
+                       break;
+               case BLOCK_TERM:
+                       pad(out, 2, scratch);
+                       print_const("<text:p><text:span text:style-name=\"MMD-Bold\">");
+                       mmd_export_token_tree_opendocument(out, source, t->child, scratch);
+                       print_const("</text:span></text:p>\n");
+                       scratch->padded = 2;
+                       break;
+               case BRACE_DOUBLE_LEFT:
+                       print_const("{{");
+                       break;
+               case BRACE_DOUBLE_RIGHT:
+                       print_const("}}");
+                       break;
+               case BRACKET_ABBREVIATION_LEFT:
+                       print_const("[>");
+                       break;
+               case BRACKET_CITATION_LEFT:
+                       print_const("[#");
+                       break;
+               case BRACKET_LEFT:
+                       print_const("[");                       
+                       break;
+               case BRACKET_RIGHT:
+                       print_const("]");
+                       break;
+               case BRACKET_VARIABLE_LEFT:
+                       print_const("[\%");
+                       break;
+               case COLON:
+                       print_char(':');
+                       break;
+               case CRITIC_ADD_OPEN:
+                       print_const("{++");
+                       break;
+               case CRITIC_ADD_CLOSE:
+                       print_const("++}");
+                       break;
+               case CRITIC_COM_OPEN:
+                       print_const("{&gt;&gt;");
+                       break;
+               case CRITIC_COM_CLOSE:
+                       print_const("&lt;&lt;}");
+                       break;
+               case CRITIC_DEL_OPEN:
+                       print_const("{--");
+                       break;
+               case CRITIC_DEL_CLOSE:
+                       print_const("--}");
+                       break;
+               case CRITIC_HI_OPEN:
+                       print_const("{==");
+                       break;
+               case CRITIC_HI_CLOSE:
+                       print_const("==}");
+                       break;
+               case CRITIC_SUB_OPEN:
+                       print_const("{~~");
+                       break;
+               case CRITIC_SUB_DIV:
+                       print_const("~&gt;");
+                       break;
+               case CRITIC_SUB_CLOSE:
+                       print_const("~~}");
+                       break;
+               case DASH_M:
+                       if (!(scratch->extensions & EXT_SMART)) {
+                               print_token(t);
+                       } else {
+                               print_localized(DASH_M);
+                       }
+                       break;
+               case DASH_N:
+                       if (!(scratch->extensions & EXT_SMART)) {
+                               print_token(t);
+                       } else {
+                               print_localized(DASH_N);
+                       }
+                       break;
+               case ELLIPSIS:
+                       if (!(scratch->extensions & EXT_SMART)) {
+                               print_token(t);
+                       } else {
+                               print_localized(ELLIPSIS);
+                       }
+                       break;
+               case EMPH_START:
+                       print_const("<text:span text:style-name=\"MMD-Italic\">");
+                       break;
+               case EMPH_STOP:
+                       print_const("</text:span>");
+                       break;
+               case EQUAL:
+                       print_char('=');
+                       break;
+               case ESCAPED_CHARACTER:
+                       if (!(scratch->extensions & EXT_COMPATIBILITY) &&
+                               (source[t->start + 1] == ' ')) {
+                               print_const(" ");              // This is a non-breaking space character
+                       } else {
+                               mmd_print_char_opendocument(out, source[t->start + 1]);
+                       }
+                       break;
+               case HASH1:
+               case HASH2:
+               case HASH3:
+               case HASH4:
+               case HASH5:
+               case HASH6:
+                       print_token(t);
+                       break;
+               case HTML_ENTITY:
+                       print_const("&amp;");
+                       d_string_append_c_array(out, &(source[t->start + 1]), t->len - 1);
+                       break;
+               case HTML_COMMENT_START:
+                       if (!(scratch->extensions & EXT_SMART)) {
+                               print_const("&lt;!--");
+                       } else {
+                               print_const("&lt;!");
+                               print_localized(DASH_N);
+                       }
+                       break;
+               case HTML_COMMENT_STOP:
+                       if (!(scratch->extensions & EXT_SMART)) {
+                               print_const("--&gt;");
+                       } else {
+                               print_localized(DASH_N);
+                               print_const("&gt;");
+                       }
+                       break;
+               case INDENT_SPACE:
+                       print_char(' ');
+                       break;
+               case INDENT_TAB:
+                       print_const("<text:tab/>");
+                       break;
+               case LINE_LIST_BULLETED:
+               case LINE_LIST_ENUMERATED:
+                       mmd_export_token_tree_opendocument(out, source, t->child, scratch);
+                       break;
+               case MANUAL_LABEL:
+               case MARKER_BLOCKQUOTE:
+               case MARKER_H1:
+               case MARKER_H2:
+               case MARKER_H3:
+               case MARKER_H4:
+               case MARKER_H5:
+               case MARKER_H6:
+               case MARKER_LIST_BULLET:
+               case MARKER_LIST_ENUMERATOR:
+                       break;
+               case MATH_BRACKET_OPEN:
+                       if (t->mate) {
+                               print_const("<text:span text:style-name=\"math\">\\[");
+                       } else
+                               print_const("\\[");
+                       break;
+               case MATH_BRACKET_CLOSE:
+                       if (t->mate) {
+                               print_const("\\]</text:span>");
+                       } else
+                               print_const("\\]");
+                       break;
+               case MATH_DOLLAR_SINGLE:
+                       if (t->mate) {
+                               (t->start < t->mate->start) ? ( print_const("<text:span text:style-name=\"math\">\\(") ) : ( print_const("\\)</text:span>") );
+                       } else {
+                               print_const("$");
+                       }
+                       break;
+               case MATH_DOLLAR_DOUBLE:
+                       if (t->mate) {
+                               (t->start < t->mate->start) ? ( print_const("<text:span text:style-name=\"math\">\\[") ) : ( print_const("\\]</text:span>") );
+                       } else {
+                               print_const("$$");
+                       }
+                       break;
+               case MATH_PAREN_OPEN:
+                       if (t->mate) {
+                               print_const("<text:span text:style-name=\"math\">\\(");
+                       } else
+                               print_const("\\(");
+                       break;
+               case MATH_PAREN_CLOSE:
+                       if (t->mate) {
+                               print_const("\\)</text:span>");
+                       } else
+                               print_const("\\)");
+                       break;
+               case NON_INDENT_SPACE:
+                       print_char(' ');
+                       break;
+               case PAIR_ANGLE:
+                       temp_char = url_accept(source, t->start + 1, t->len - 2, NULL, true);
+
+                       if (temp_char) {
+                               print_const("<text:a xlink:type=\"simple\" xlink:href=\"");
+
+                               if (scan_email(temp_char)) {
+                                       temp_bool = true;
+
+                                       if (strncmp("mailto:", temp_char, 7) != 0) {
+                                               print_const("mailto:");
+                                       }
+                               } else {
+                                       temp_bool = false;
+                               }
+
+                               mmd_print_string_opendocument(out, temp_char);
+                               print_const("\">");
+                               mmd_print_string_opendocument(out, temp_char);
+                               print_const("</text:a>");
+                       } else if (scan_html(&source[t->start])) {
+                               // We ignore HTML blocks
+                               if (scan_html_comment(&source[t->start])) {
+                                       // But allow HTML comments as raw LaTeX
+                                       d_string_append_c_array(out, &source[t->start + 4], t->len - 4 - 3);
+                               }
+                       } else {
+                               mmd_export_token_tree_opendocument(out, source, t->child, scratch);
+                       }
+
+                       free(temp_char);
+                       break;
+               case PAIR_BACKTICK:
+                       // Strip leading whitespace
+                       switch (t->child->next->type) {
+                               case TEXT_NL:
+                               case INDENT_TAB:
+                               case INDENT_SPACE:
+                               case NON_INDENT_SPACE:
+                                       t->child->next->type = TEXT_EMPTY;
+                                       break;
+                               case TEXT_PLAIN:
+                                       while (t->child->next->len && char_is_whitespace(source[t->child->next->start])) {
+                                               t->child->next->start++;
+                                               t->child->next->len--;
+                                       }
+                                       break;
+                       }
+
+                       // Strip trailing whitespace
+                       switch (t->child->mate->prev->type) {
+                               case TEXT_NL:
+                               case INDENT_TAB:
+                               case INDENT_SPACE:
+                               case NON_INDENT_SPACE:
+                                       t->child->mate->prev->type = TEXT_EMPTY;
+                                       break;
+                               case TEXT_PLAIN:
+                                       while (t->child->mate->prev->len && char_is_whitespace(source[t->child->mate->prev->start + t->child->mate->prev->len - 1])) {
+                                               t->child->mate->prev->len--;
+                                       }
+                                       break;
+                       }
+                       t->child->type = TEXT_EMPTY;
+                       t->child->mate->type = TEXT_EMPTY;
+
+                       if (t->next && t->next->type == PAIR_RAW_FILTER) {
+                               // Raw text?
+                               if (raw_filter_matches(t->next, source, FORMAT_FODT)) {
+                                       d_string_append_c_array(out, &(source[t->child->start + t->child->len]), t->child->mate->start - t->child->start - t->child->len);
+                               }
+                               // Skip over PAIR_RAW_FILTER
+                               scratch->skip_token = 1;
+                               break;
+                       }
+
+                       print_const("<text:span text:style-name=\"Source_20_Text\">");
+                       mmd_export_token_tree_opendocument_raw(out, source, t->child, scratch);
+                       print_const("</text:span>");
+                       break;
+               case PAIR_BRACE:
+               case PAIR_BRACES:
+                       mmd_export_token_tree_opendocument(out, source, t->child, scratch);
+                       break;
+               case PAIR_BRACKET:
+                       if ((scratch->extensions & EXT_NOTES) &&
+                               (t->next && t->next->type == PAIR_BRACKET_CITATION)) {
+                               goto parse_citation;
+                       }
+
+               case PAIR_BRACKET_IMAGE:
+                       parse_brackets(source, scratch, t, &temp_link, &temp_short, &temp_bool);
+
+                       if (temp_link) {
+                               if (t->type == PAIR_BRACKET) {
+                                       // Link
+                                       mmd_export_link_opendocument(out, source, t, temp_link, scratch);
+                               } else {
+                                       // Image -- should it be a figure (e.g. image is only thing in paragraph)?
+                                       temp_token = t->next;
+
+                                       if (temp_token &&
+                                               ((temp_token->type == PAIR_BRACKET) ||
+                                               (temp_token->type == PAIR_PAREN))) {
+                                               temp_token = temp_token->next;
+                                       }
+
+                                       if (temp_token && temp_token->type == TEXT_NL)
+                                               temp_token = temp_token->next;
+
+                                       if (temp_token && temp_token->type == TEXT_LINEBREAK)
+                                               temp_token = temp_token->next;
+
+                                       if (t->prev || temp_token) {
+                                               mmd_export_image_opendocument(out, source, t, temp_link, scratch, false);
+                                       } else {
+                                               mmd_export_image_opendocument(out, source, t, temp_link, scratch, true);
+                                       }
+                               }
+                               
+                               if (temp_bool) {
+                                       link_free(temp_link);
+                               }
+
+                               scratch->skip_token = temp_short;
+
+                               return;
+                       }
+
+                       // No links exist, so treat as normal
+                       mmd_export_token_tree_opendocument(out, source, t->child, scratch);
+                       break;
+               case PAIR_BRACKET_CITATION:
+                       parse_citation:
+                       temp_bool = true;               // Track whether this is regular vs 'not cited'
+                       temp_token = t;                 // Remember whether we need to skip ahead
+
+                       if (scratch->extensions & EXT_NOTES) {
+                               // Note-based syntax enabled
+
+                               if (t->type == PAIR_BRACKET) {
+                                       // This is a locator for a subsequent citation (e.g. `[foo][#bar]`)
+                                       temp_char = text_inside_pair(source, t);
+                                       temp_char2 = label_from_string(temp_char);
+
+                                       if (strcmp(temp_char2, "notcited") == 0) {
+                                               free(temp_char);
+                                               temp_char = my_strdup("");
+                                               temp_bool = false;
+                                       }
+
+                                       free(temp_char2);
+
+                                       // Move ahead to actual citation
+                                       t = t->next;
+                               } else {
+                                       // This is the actual citation (e.g. `[#foo]`)
+                                       // No locator
+                                       temp_char = my_strdup("");
+                               }
+
+                               // Classify this use
+                               temp_short2 = scratch->used_citations->size;
+                               citation_from_bracket(source, scratch, t, &temp_short);
+
+                               if (temp_short == -1) {
+                                       // This instance is not properly formed
+                                       print_const("[#");
+                                       mmd_export_token_tree_opendocument(out, source, t->child->next, scratch);
+                                       print_const("]");
+
+                                       free(temp_char);
+                                       break;
+                               }
+
+
+                               temp_short3 = scratch->odf_para_type;
+                               scratch->odf_para_type = PAIR_BRACKET_FOOTNOTE;
+
+                               if (temp_bool) {
+                                       // This is a regular citation
+
+                                       if (temp_char[0] == '\0') {
+                                               // No locator
+                               
+                                               if (temp_short2 == scratch->used_citations->size) {
+                                                       // This is a re-use of a previously used note
+                                                       print_const("<text:span text:style-name=\"Footnote_20_anchor\"><text:note-ref text:note-class=\"endnote\" text:reference-format=\"text\" ");
+                                                       printf("text:ref-name=\"cite%d\">%d</text:note-ref></text:span>", temp_short, temp_short);
+                                               } else {
+                                                       // This is the first time this note was used
+                                                       printf("<text:note text:id=\"cite%d\" text:note-class=\"endnote\"><text:note-body>", temp_short);
+                                                       temp_note = stack_peek_index(scratch->used_citations, temp_short - 1);
+
+                                                       mmd_export_token_tree_opendocument(out, source, temp_note->content, scratch);
+                                                       print_const("</text:note-body></text:note>");
+                                               }
+                                       } else {
+                                               // Locator present
+
+                                               if (temp_short2 == scratch->used_citations->size) {
+                                                       // This is a re-use of a previously used note
+                                                       print_const("<text:span text:style-name=\"Footnote_20_anchor\"><text:note-ref text:note-class=\"endnote\" text:reference-format=\"text\" ");
+                                                       printf("text:ref-name=\"cite%d\">%d</text:note-ref></text:span>", temp_short, temp_short);
+                                               } else {
+                                                       // This is the first time this note was used
+                                                       printf("<text:note text:id=\"cite%d\" text:note-class=\"endnote\"><text:note-body>", temp_short);
+                                                       temp_note = stack_peek_index(scratch->used_citations, temp_short - 1);
+
+                                                       mmd_export_token_tree_opendocument(out, source, temp_note->content, scratch);
+                                                       print_const("</text:note-body></text:note>");
+                                               }
+                                       }
+                               } else {
+                                               if (temp_short2 == scratch->used_citations->size) {
+                                                       // This is a re-use of a previously used note
+                                               } else {
+                                                       // This is the first time this note was used
+                                                       // TODO: Not sure how to add an endnote without inserting a marker in the text
+                                                       printf("<text:note text:id=\"cite%d\" text:note-class=\"endnote\"><text:note-body>", temp_short);
+                                                       temp_note = stack_peek_index(scratch->used_citations, temp_short - 1);
+
+                                                       mmd_export_token_tree_opendocument(out, source, temp_note->content, scratch);
+                                                       print_const("</text:note-body></text:note>");
+                                               }
+                               }
+
+                               if (temp_token != t) {
+                                       // Skip citation on next pass
+                                       scratch->skip_token = 1;
+                               }
+
+                               scratch->odf_para_type = temp_short3;
+
+                               free(temp_char);
+                       } else {
+                               // Note-based syntax disabled
+                               mmd_export_token_tree_opendocument(out, source, t->child, scratch);
+                       }
+                       break;
+               case PAIR_BRACKET_FOOTNOTE:
+                       if (scratch->extensions & EXT_NOTES) {
+                               // Note-based syntax enabled
+
+                               // Classify this use
+                               temp_short2 = scratch->used_footnotes->size;
+                               footnote_from_bracket(source, scratch, t, &temp_short);
+
+                               if (temp_short == -1) {
+                                       // This instance is not properly formed
+                                       print_const("[?");
+                                       mmd_export_token_tree_opendocument(out, source, t->child->next, scratch);
+                                       print_const("]");
+                                       break;
+                               }
+
+                               temp_short3 = scratch->odf_para_type;
+                               scratch->odf_para_type = PAIR_BRACKET_FOOTNOTE;
+
+                               if (temp_short2 == scratch->used_footnotes->size) {
+                                       // This is a re-use of a previously used note
+
+                                       printf("<text:note text:id=\"fn%d\" text:note-class=\"footnote\"><text:note-body>", temp_short);
+                                       temp_note = stack_peek_index(scratch->used_footnotes, temp_short - 1);
+
+                                       mmd_export_token_tree_opendocument(out, source, temp_note->content, scratch);
+                                       print_const("</text:note-body></text:note>");
+                               } else {
+                                       // This is the first time this note was used
+
+                                       // This is a new footnote
+                                       printf("<text:note text:id=\"fn%d\" text:note-class=\"footnote\"><text:note-body>", temp_short);
+                                       temp_note = stack_peek_index(scratch->used_footnotes, temp_short - 1);
+
+                                       mmd_export_token_tree_opendocument(out, source, temp_note->content, scratch);
+                                       print_const("</text:note-body></text:note>");
+                               }
+
+                               scratch->odf_para_type = temp_short3;
+                       } else {
+                               // Note-based syntax disabled
+                               mmd_export_token_tree_opendocument(out, source, t->child, scratch);
+                       }
+                       break;
+               case PAIR_BRACKET_ABBREVIATION:
+                       // Which might also be an "auto-tagged" abbreviation
+                       if (scratch->extensions & EXT_NOTES) {
+                               // Note-based syntax enabled
+
+                               // Classify this use
+                               temp_short2 = scratch->used_abbreviations->size;
+                               temp_short3 = scratch->inline_abbreviations_to_free->size;
+                               abbreviation_from_bracket(source, scratch, t, &temp_short);
+
+                               if (temp_short == -1) {
+                                       // This instance is not properly formed
+                                       print_const("[>");
+                                       mmd_export_token_tree_opendocument(out, source, t->child->next, scratch);
+                                       print_const("]");
+                                       break;
+                               }
+
+                               // Get instance of the note used
+                               temp_note = stack_peek_index(scratch->used_abbreviations, temp_short - 1);
+
+                               if (t->child) {
+                                       t->child->type = TEXT_EMPTY;
+                                       t->child->mate->type = TEXT_EMPTY;
+                               }
+
+                               if (temp_short2 == scratch->used_abbreviations->size) {
+                                       // This is a re-use of a previously used note
+
+                                       if (temp_short3 == scratch->inline_abbreviations_to_free->size) {
+                                               // This is a reference definition
+                                               mmd_print_string_opendocument(out, temp_note->label_text);
+//                                             mmd_export_token_tree_opendocument(out, source, t->child, scratch);
+                                       } else {
+                                               // This is an inline definition
+                                               mmd_print_string_opendocument(out, temp_note->label_text);
+//                                             mmd_export_token_tree_opendocument(out, source, t->child, scratch);
+                                       }
+                               } else {
+                                       // This is the first time this note was used
+                                       temp_short2 = scratch->odf_para_type;
+                                       scratch->odf_para_type = PAIR_BRACKET_ABBREVIATION;
+
+                                       if (temp_short3 == scratch->inline_abbreviations_to_free->size) {
+                                               // This is a reference definition
+                                               mmd_print_string_opendocument(out, temp_note->clean_text);
+                                               print_const(" (");
+                                               mmd_print_string_opendocument(out, temp_note->label_text); 
+                                               print_const(")");
+                                       } else {
+                                               // This is an inline definition
+                                               mmd_print_string_opendocument(out, temp_note->clean_text);
+                                               print_const(" (");
+                                               mmd_print_string_opendocument(out, temp_note->label_text); 
+                                               print_const(")");
+                                       }
+
+                                       scratch->odf_para_type = temp_short2;
+                               }
+                       } else {
+                               // Note-based syntax disabled
+                               mmd_export_token_tree_opendocument(out, source, t->child, scratch);
+                       }
+                       break;
+               case PAIR_BRACKET_GLOSSARY:
+                       // Which might also be an "auto-tagged" glossary
+                       if (scratch->extensions & EXT_NOTES) {
+                               // Note-based syntax enabled
+
+                               // Classify this use
+                               temp_short2 = scratch->used_glossaries->size;
+                               glossary_from_bracket(source, scratch, t, &temp_short);
+
+                               if (temp_short == -1) {
+                                       // This instance is not properly formed
+                                       print_const("[?");
+                                       mmd_export_token_tree_opendocument(out, source, t->child->next, scratch);
+                                       print_const("]");
+                                       break;
+                               }
+
+                               // Get instance of the note used
+                               temp_note = stack_peek_index(scratch->used_glossaries, temp_short - 1);
+
+                               temp_short3 = scratch->odf_para_type;
+                               scratch->odf_para_type = PAIR_BRACKET_GLOSSARY;
+
+                               if (temp_short2 == scratch->used_glossaries->size) {
+                                       // This is a re-use of a previously used note
+
+                                       mmd_print_string_opendocument(out, temp_note->clean_text); 
+                               } else {
+                                       // This is the first time this note was used
+
+                                       mmd_print_string_opendocument(out, temp_note->clean_text); 
+
+                                       printf("<text:note text:id=\"gn%d\" text:note-class=\"glossary\"><text:note-body>", temp_short);
+                                       mmd_export_token_tree_opendocument(out, source, temp_note->content, scratch);
+                                       print_const("</text:note-body></text:note>");
+                               }
+
+                               scratch->odf_para_type = temp_short3;
+                       } else {
+                               // Note-based syntax disabled
+                               mmd_export_token_tree_opendocument(out, source, t->child, scratch);
+                       }
+                       break;
+               case PAIR_BRACKET_VARIABLE:
+                       temp_char = text_inside_pair(source, t);
+                       temp_char2 = extract_metadata(scratch, temp_char);
+
+                       if (temp_char2)
+                               mmd_print_string_opendocument(out, temp_char2);
+                       else
+                               mmd_export_token_tree_opendocument(out, source, t->child, scratch);
+
+                       // Don't free temp_char2 (it belongs to meta *)
+                       free(temp_char);
+                       break;
+               case PAIR_CRITIC_ADD:
+                       // Ignore if we're rejecting
+                       if (scratch->extensions & EXT_CRITIC_REJECT)
+                               break;
+                       if (scratch->extensions & EXT_CRITIC) {
+                               t->child->type = TEXT_EMPTY;
+                               t->child->mate->type = TEXT_EMPTY;
+                               if (scratch->extensions & EXT_CRITIC_ACCEPT) {
+                                       mmd_export_token_tree_opendocument(out, source, t->child, scratch);
+                               } else {
+                                       print_const("<text:span text:style-name=\"Underline\">");
+                                       mmd_export_token_tree_opendocument(out, source, t->child, scratch);
+                                       print_const("</text:span>");
+                               }
+                       } else {
+                               mmd_export_token_tree_opendocument(out, source, t->child, scratch);                             
+                       }
+                       break;
+               case PAIR_CRITIC_DEL:
+                       // Ignore if we're accepting
+                       if (scratch->extensions & EXT_CRITIC_ACCEPT)
+                               break;
+                       if (scratch->extensions & EXT_CRITIC) {
+                               t->child->type = TEXT_EMPTY;
+                               t->child->mate->type = TEXT_EMPTY;
+                               if (scratch->extensions & EXT_CRITIC_REJECT) {
+                                       mmd_export_token_tree_opendocument(out, source, t->child, scratch);
+                               } else {
+                                       print_const("<text:span text:style-name=\"Strike\">");
+                                       mmd_export_token_tree_opendocument(out, source, t->child, scratch);
+                                       print_const("</text:span>");
+                               }
+                       } else {
+                               mmd_export_token_tree_opendocument(out, source, t->child, scratch);                             
+                       }
+                       break;
+               case PAIR_CRITIC_COM:
+                       // Ignore if we're rejecting or accepting
+                       if ((scratch->extensions & EXT_CRITIC_REJECT) ||
+                               (scratch->extensions & EXT_CRITIC_ACCEPT))
+                               break;
+                       if (scratch->extensions & EXT_CRITIC) {
+                               t->child->type = TEXT_EMPTY;
+                               t->child->mate->type = TEXT_EMPTY;
+                               print_const("<text:span text:style-name=\"Comment\">");
+                               mmd_export_token_tree_opendocument(out, source, t->child, scratch);
+                               print_const("</text:span>");
+                       } else {
+                               mmd_export_token_tree_opendocument(out, source, t->child, scratch);
+                       }
+                       break;
+               case PAIR_CRITIC_HI:
+                       // Ignore if we're rejecting or accepting
+                       if ((scratch->extensions & EXT_CRITIC_REJECT) ||
+                               (scratch->extensions & EXT_CRITIC_ACCEPT))
+                               break;
+                       if (scratch->extensions & EXT_CRITIC) {
+                               t->child->type = TEXT_EMPTY;
+                               t->child->mate->type = TEXT_EMPTY;
+                               print_const("<text:span text:style-name=\"Highlight\">");
+                               mmd_export_token_tree_opendocument(out, source, t->child, scratch);
+                               print_const("</text:span>");
+                       } else {
+                               mmd_export_token_tree_opendocument(out, source, t->child, scratch);
+                       }
+                       break;
+               case CRITIC_SUB_DIV_A:
+                       print_const("~");
+                       break;
+               case CRITIC_SUB_DIV_B:
+                       print_const("&gt;");
+                       break;
+               case PAIR_CRITIC_SUB_DEL:
+                       if ((scratch->extensions & EXT_CRITIC) &&
+                               (t->next) &&
+                               (t->next->type == PAIR_CRITIC_SUB_ADD)) {
+                               t->child->type = TEXT_EMPTY;
+                               t->child->mate->type = TEXT_EMPTY;
+                               if (scratch->extensions & EXT_CRITIC_ACCEPT) {
+
+                               } else if (scratch->extensions & EXT_CRITIC_REJECT) {
+                                       mmd_export_token_tree_opendocument(out, source, t->child, scratch);
+                               } else {
+                                       print_const("<text:span text:style-name=\"Strike\">");
+                                       mmd_export_token_tree_opendocument(out, source, t->child, scratch);
+                                       print_const("</text:span>");
+                               }
+                       } else {
+                               mmd_export_token_tree_opendocument(out, source, t->child, scratch);
+                       }
+                       break;
+               case PAIR_CRITIC_SUB_ADD:
+                       if ((scratch->extensions & EXT_CRITIC) &&
+                               (t->prev) &&
+                               (t->prev->type == PAIR_CRITIC_SUB_DEL)) {
+                               t->child->type = TEXT_EMPTY;
+                               t->child->mate->type = TEXT_EMPTY;
+                               if (scratch->extensions & EXT_CRITIC_REJECT) {
+
+                               } else if (scratch->extensions & EXT_CRITIC_ACCEPT) {
+                                       mmd_export_token_tree_opendocument(out, source, t->child, scratch);
+                               } else {
+                                       print_const("<text:span text:style-name=\"Underline\">");
+                                       mmd_export_token_tree_opendocument(out, source, t->child, scratch);
+                                       print_const("</text:span>");
+                               }
+                       } else {
+                               mmd_export_token_tree_opendocument(out, source, t->child, scratch);
+                       }
+                       break;
+               case PAIR_HTML_COMMENT:
+                       break;
+               case PAIR_EMPH:
+               case PAIR_MATH:
+               case PAIR_PAREN:
+               case PAIR_QUOTE_DOUBLE:
+               case PAIR_QUOTE_SINGLE:
+               case PAIR_STAR:
+               case PAIR_STRONG:
+               case PAIR_SUBSCRIPT:
+               case PAIR_SUPERSCRIPT:
+               case PAIR_UL:
+                       mmd_export_token_tree_opendocument(out, source, t->child, scratch);
+                       break;
+               case PAREN_LEFT:
+                       print_char('(');
+                       break;
+               case PAREN_RIGHT:
+                       print_char(')');
+                       break;
+               case PIPE:
+                       print_token(t);
+                       break;
+               case PLUS:
+                       print_char('+');
+                       break;
+               case QUOTE_SINGLE:
+                       if ((t->mate == NULL) || (!(scratch->extensions & EXT_SMART)))
+                               print_const("'");
+                       else
+                               (t->start < t->mate->start) ? ( print_localized(QUOTE_LEFT_SINGLE) ) : ( print_localized(QUOTE_RIGHT_SINGLE) );
+                       break;
+               case QUOTE_DOUBLE:
+                       if ((t->mate == NULL) || (!(scratch->extensions & EXT_SMART)))
+                               print_const("&quot;");
+                       else
+                               (t->start < t->mate->start) ? ( print_localized(QUOTE_LEFT_DOUBLE) ) : ( print_localized(QUOTE_RIGHT_DOUBLE) );
+                       break;
+               case QUOTE_RIGHT_ALT:
+                       if ((t->mate == NULL) || (!(scratch->extensions & EXT_SMART)))
+                               print_const("''");
+                       else
+                               print_localized(QUOTE_RIGHT_DOUBLE);
+                       break;
+               case SLASH:
+                       print_char('/');
+                       break;
+               case STAR:
+                       print_char('*');
+                       break;
+               case STRONG_START:
+                       print_const("<text:span text:style-name=\"MMD-Bold\">");
+                       break;
+               case STRONG_STOP:
+                       print_const("</text:span>");
+                       break;
+               case SUBSCRIPT:
+                       if (t->mate) {
+                               (t->start < t->mate->start) ? (print_const("<text:span text:style-name=\"MMD-Subscript\">")) : (print_const("</text:span>"));
+                       } else if (t->len != 1) {
+                               print_const("<text:span text:style-name=\"MMD-Subscript\">");
+                               mmd_export_token_opendocument(out, source, t->child, scratch);
+                               print_const("</text:span>");
+                       } else {
+                               print_const("~");
+                       }
+                       break;
+               case SUPERSCRIPT:
+                       if (t->mate) {
+                               (t->start < t->mate->start) ? (print_const("<text:span text:style-name=\"MMD-Superscript\">")) : (print_const("</text:span>"));
+                       } else if (t->len != 1) {
+                               print_const("<text:span text:style-name=\"MMD-Superscript\">");
+                               mmd_export_token_opendocument(out, source, t->child, scratch);
+                               print_const("</text:span>");
+                       } else {
+                               print_const("^");
+                       }       
+                       break;
+               case TABLE_CELL:
+                       print_const("<table:table-cell");
+
+                       if (t->next && t->next->type == TABLE_DIVIDER) {
+                               if (t->next->len > 1) {
+                                       printf(" table:number-columns-spanned=\"%d\"", t->next->len);
+                               }
+                       }
+
+                       if (scratch->in_table_header) {
+                               print_const(">\n<text:p text:style-name=\"Table_20_Heading\"");
+                       } else {
+                               print_const(">\n<text:p");
+                               switch (scratch->table_alignment[scratch->table_cell_count]) {
+                                       case 'l':
+                                       case 'L':
+                                       default:
+                                               print_const(" text:style-name=\"MMD-Table\"");
+                                               break;
+                                       case 'r':
+                                       case 'R':
+                                               print_const(" text:style-name=\"MMD-Table-Right\"");
+                                               break;
+                                       case 'c':
+                                       case 'C':
+                                               print_const(" text:style-name=\"MMD-Table-Center\"");
+                                               break;
+                               }
+                       }
+
+                       print_const(">");
+                       mmd_export_token_tree_opendocument(out, source, t->child, scratch);
+
+                       print_const("</text:p>\n</table:table-cell>\n");
+
+                       if (t->next)
+                               scratch->table_cell_count += t->next->len;
+                       else
+                               scratch->table_cell_count++;
+                       
+                       break;
+               case TABLE_DIVIDER:
+                       break;
+               case TABLE_ROW:
+                       print_const("<table:table-row>\n");
+                       scratch->table_cell_count = 0;
+                       mmd_export_token_tree_opendocument(out, source, t->child, scratch);
+                       print_const("</table:table-row>\n");
+                       break;
+               case TEXT_EMPTY:
+                       break;
+               case TEXT_LINEBREAK:
+                       if (t->next) {
+                               print_const("<text:line-break/>\n");
+                               scratch->padded = 0;
+                       }
+                       break;
+               case TEXT_NL:
+                       if (t->next)
+                               print_char('\n');
+                       break;
+               case RAW_FILTER_LEFT:
+               case TEXT_BACKSLASH:
+               case TEXT_BRACE_LEFT:
+               case TEXT_BRACE_RIGHT:
+               case TEXT_HASH:
+               case TEXT_NUMBER_POSS_LIST:
+               case TEXT_PERCENT:
+               case TEXT_PERIOD:
+               case TEXT_PLAIN:
+               case TOC:
+               case UL:
+                       print_token(t);
+                       break;
+               default:
+                       fprintf(stderr, "Unknown token type: %d\n", t->type);
+                       token_describe(t, source);
+                       break;
+       }
+}
+
+
+void mmd_export_token_tree_opendocument(DString * out, const char * source, token * t, scratch_pad * scratch) {
+
+       // Prevent stack overflow with "dangerous" input causing extreme recursion
+       if (scratch->recurse_depth == kMaxExportRecursiveDepth) {
+               return;
+       }
+
+       scratch->recurse_depth++;
+
+       while (t != NULL) {
+               if (scratch->skip_token) {
+                       scratch->skip_token--;
+               } else {
+                       mmd_export_token_opendocument(out, source, t, scratch);
+               }
+
+               t = t->next;
+       }
+
+       scratch->recurse_depth--;
+}
+
diff --git a/Sources/libMultiMarkdown/opendocument-content.h b/Sources/libMultiMarkdown/opendocument-content.h
new file mode 100644 (file)
index 0000000..e99eed2
--- /dev/null
@@ -0,0 +1,134 @@
+/**
+
+       MultiMarkdown -- Lightweight markup processor to produce HTML, LaTeX, and more.
+
+       @file opendocument-content.h
+
+       @brief 
+
+
+       @author Fletcher T. Penney
+       @bug    
+
+**/
+
+/*
+
+       Copyright Â© 2016 - 2017 Fletcher T. Penney.
+
+
+       The `MultiMarkdown 6` project is released under the MIT License..
+       
+       GLibFacade.c and GLibFacade.h are from the MultiMarkdown v4 project:
+       
+               https://github.com/fletcher/MultiMarkdown-4/
+       
+       MMD 4 is released under both the MIT License and GPL.
+       
+       
+       CuTest is released under the zlib/libpng license. See CuTest.c for the
+       text of the license.
+       
+       uthash library:
+               Copyright (c) 2005-2016, Troy D. Hanson
+       
+               Licensed under Revised BSD license
+       
+       miniz library:
+               Copyright 2013-2014 RAD Game Tools and Valve Software
+               Copyright 2010-2014 Rich Geldreich and Tenacious Software LLC
+       
+               Licensed under the MIT license
+       
+       argtable3 library:
+               Copyright (C) 1998-2001,2003-2011,2013 Stewart Heitmann
+               <sheitmann@users.sourceforge.net>
+               All rights reserved.
+       
+               Licensed under the Revised BSD License
+       
+       
+       ## The MIT License ##
+       
+       Permission is hereby granted, free of charge, to any person obtaining
+       a copy of this software and associated documentation files (the
+       "Software"), to deal in the Software without restriction, including
+       without limitation the rights to use, copy, modify, merge, publish,
+       distribute, sublicense, and/or sell copies of the Software, and to
+       permit persons to whom the Software is furnished to do so, subject to
+       the following conditions:
+       
+       The above copyright notice and this permission notice shall be
+       included in all copies or substantial portions of the Software.
+       
+       THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND,
+       EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF
+       MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT.
+       IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY
+       CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT,
+       TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE
+       SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
+       
+       
+       ## Revised BSD License ##
+       
+       Redistribution and use in source and binary forms, with or without
+       modification, are permitted provided that the following conditions are
+       met:
+           * Redistributions of source code must retain the above copyright
+             notice, this list of conditions and the following disclaimer.
+           * Redistributions in binary form must reproduce the above
+             copyright notice, this list of conditions and the following
+             disclaimer in the documentation and/or other materials provided
+             with the distribution.
+           * Neither the name of the <organization> nor the
+             names of its contributors may be used to endorse or promote
+             products derived from this software without specific prior
+             written permission.
+       
+       THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS
+       "AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT
+       LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR
+       A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL <COPYRIGHT
+       HOLDER> BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL,
+       EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO,
+       PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES LOSS OF USE, DATA, OR
+       PROFITS OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF
+       LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING
+       NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS
+       SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
+       
+
+*/
+
+
+#ifndef OPENDOCUMENT_CONTENT_MULTIMARKDOWN_H
+#define OPENDOCUMENT_CONTENT_MULTIMARKDOWN_H
+
+#include "writer.h"
+
+void mmd_print_char_opendocument(DString * out, char c);
+void mmd_print_string_opendocument(DString * out, const char * str);
+void mmd_print_localized_char_opendocument(DString * out, unsigned short type, scratch_pad * scratch);
+
+void mmd_export_token_opendocument_raw(DString * out, const char * source, token * t, scratch_pad * scratch);
+
+void mmd_export_link_opendocument(DString * out, const char * source, token * text, link * link, scratch_pad * scratch);
+void mmd_export_image_opendocument(DString * out, const char * source, token * text, link * link, scratch_pad * scratch, bool is_figure);
+
+
+void mmd_export_token_opendocument(DString * out, const char * source, token * t, scratch_pad * scratch);
+void mmd_export_token_tree_opendocument(DString * out, const char * source, token * t, scratch_pad * scratch);
+
+void mmd_export_token_opendocument_raw(DString * out, const char * source, token * t, scratch_pad * scratch);
+void mmd_export_token_tree_opendocument_raw(DString * out, const char * source, token * t, scratch_pad * scratch);
+
+void mmd_export_citation_list_opendocument(DString * out, const char * source, scratch_pad * scratch);
+void mmd_export_footnote_list_opendocument(DString * out, const char * source, scratch_pad * scratch);
+
+void mmd_start_complete_opendocument(DString * out, const char * source, scratch_pad * scratch);
+void mmd_end_complete_opendocument(DString * out, const char * source, scratch_pad * scratch);
+
+void mmd_export_citation_list_opendocument(DString * out, const char * source, scratch_pad * scratch);
+
+#endif
diff --git a/Sources/libMultiMarkdown/opendocument.c b/Sources/libMultiMarkdown/opendocument.c
new file mode 100644 (file)
index 0000000..920cc8c
--- /dev/null
@@ -0,0 +1,817 @@
+/**
+
+       MultiMarkdown -- Lightweight markup processor to produce HTML, LaTeX, and more.
+
+       @file opendocument.c
+
+       @brief 
+
+
+       @author Fletcher T. Penney
+       @bug    
+
+**/
+
+/*
+
+       Copyright Â© 2016 - 2017 Fletcher T. Penney.
+
+
+       The `MultiMarkdown 6` project is released under the MIT License..
+       
+       GLibFacade.c and GLibFacade.h are from the MultiMarkdown v4 project:
+       
+               https://github.com/fletcher/MultiMarkdown-4/
+       
+       MMD 4 is released under both the MIT License and GPL.
+       
+       
+       CuTest is released under the zlib/libpng license. See CuTest.c for the
+       text of the license.
+       
+       uthash library:
+               Copyright (c) 2005-2016, Troy D. Hanson
+       
+               Licensed under Revised BSD license
+       
+       miniz library:
+               Copyright 2013-2014 RAD Game Tools and Valve Software
+               Copyright 2010-2014 Rich Geldreich and Tenacious Software LLC
+       
+               Licensed under the MIT license
+       
+       argtable3 library:
+               Copyright (C) 1998-2001,2003-2011,2013 Stewart Heitmann
+               <sheitmann@users.sourceforge.net>
+               All rights reserved.
+       
+               Licensed under the Revised BSD License
+       
+       
+       ## The MIT License ##
+       
+       Permission is hereby granted, free of charge, to any person obtaining
+       a copy of this software and associated documentation files (the
+       "Software"), to deal in the Software without restriction, including
+       without limitation the rights to use, copy, modify, merge, publish,
+       distribute, sublicense, and/or sell copies of the Software, and to
+       permit persons to whom the Software is furnished to do so, subject to
+       the following conditions:
+       
+       The above copyright notice and this permission notice shall be
+       included in all copies or substantial portions of the Software.
+       
+       THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND,
+       EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF
+       MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT.
+       IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY
+       CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT,
+       TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE
+       SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
+       
+       
+       ## Revised BSD License ##
+       
+       Redistribution and use in source and binary forms, with or without
+       modification, are permitted provided that the following conditions are
+       met:
+           * Redistributions of source code must retain the above copyright
+             notice, this list of conditions and the following disclaimer.
+           * Redistributions in binary form must reproduce the above
+             copyright notice, this list of conditions and the following
+             disclaimer in the documentation and/or other materials provided
+             with the distribution.
+           * Neither the name of the <organization> nor the
+             names of its contributors may be used to endorse or promote
+             products derived from this software without specific prior
+             written permission.
+       
+       THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS
+       "AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT
+       LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR
+       A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL <COPYRIGHT
+       HOLDER> BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL,
+       EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO,
+       PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES LOSS OF USE, DATA, OR
+       PROFITS OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF
+       LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING
+       NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS
+       SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
+       
+
+*/
+
+
+#include "miniz.h"
+#include "opendocument.h"
+#include "opendocument-content.h"
+#include "writer.h"
+#include "zip.h"
+
+#define print(x) d_string_append(out, x)
+#define print_const(x) d_string_append_c_array(out, x, sizeof(x) - 1)
+#define print_char(x) d_string_append_c(out, x)
+#define printf(...) d_string_append_printf(out, __VA_ARGS__)
+#define print_token(t) d_string_append_c_array(out, &(source[t->start]), t->len)
+#define print_localized(x) mmd_print_localized_char_html(out, x, scratch)
+
+
+/// strdup() not available on all platforms
+static char * my_strdup(const char * source) {
+       char * result = malloc(strlen(source) + 1);
+
+       if (result) {
+               strcpy(result, source);
+       }
+
+       return result;
+}
+
+
+/// Create metadata for OpenDocument
+char * opendocument_metadata(mmd_engine * e, scratch_pad * scratch) {
+       DString * out = d_string_new("");
+       meta * m;
+
+       d_string_append(out, "<office:meta>\n");
+
+       // Iterate through metadata keys
+       for (m = scratch->meta_hash; m != NULL; m = m->hh.next) {
+               if (strcmp(m->key, "author") == 0) {
+                       print_const("\t<dc:creator>");
+                       mmd_print_string_opendocument(out, m->value);
+                       print_const("</dc:creator>\n");
+               } else if (strcmp(m->key, "baseheaderlevel") == 0) {
+               } else if (strcmp(m->key, "bibliostyle") == 0) {
+               } else if (strcmp(m->key, "bibtex") == 0) {
+               } else if (strcmp(m->key, "css") == 0) {
+               } else if (strcmp(m->key, "htmlfooter") == 0) {
+               } else if (strcmp(m->key, "htmlheader") == 0) {
+               } else if (strcmp(m->key, "htmlheaderlevel") == 0) {
+               } else if (strcmp(m->key, "language") == 0) {
+               } else if (strcmp(m->key, "latexbegin") == 0) {
+               } else if (strcmp(m->key, "latexconfig") == 0) {
+               } else if (strcmp(m->key, "latexfooter") == 0) {
+               } else if (strcmp(m->key, "latexheaderlevel") == 0) {
+               } else if (strcmp(m->key, "latexinput") == 0) {
+               } else if (strcmp(m->key, "latexleader") == 0) {
+               } else if (strcmp(m->key, "latexmode") == 0) {
+               } else if (strcmp(m->key, "mmdfooter") == 0) {
+               } else if (strcmp(m->key, "mmdheader") == 0) {
+               } else if (strcmp(m->key, "quoteslanguage") == 0) {
+               } else if (strcmp(m->key, "title") == 0) {
+                       print_const("\t<dc:title>");
+                       mmd_print_string_opendocument(out, m->value);
+                       print_const("</dc:title>\n");
+               } else if (strcmp(m->key, "transcludebase") == 0) {
+               } else if (strcmp(m->key, "xhtmlheader") == 0) {
+               } else if (strcmp(m->key, "xhtmlheaderlevel") == 0) {
+               } else {
+                       print_const("\t<meta:user-defined meta:name=\"");
+                       mmd_print_string_opendocument(out, m->key);
+                       print_const("\">");
+                       mmd_print_string_opendocument(out, m->value);
+                       print_const("</meta:user-defined>\n");
+               }
+       }
+
+       d_string_append(out, "</office:meta>");
+       
+       char * result = out->str;
+       d_string_free(out, false);
+       return result;
+}
+
+
+/// Create full metadata file for OpenDocument
+char * opendocument_metadata_file(mmd_engine * e, scratch_pad * scratch) {
+       DString * out = d_string_new("");
+
+       char * meta = opendocument_metadata(e, scratch);
+
+       // Open
+       d_string_append(out, "<?xml version=\"1.0\" encoding=\"UTF-8\"?>\n");
+       d_string_append(out, "<office:document-meta xmlns:office=\"urn:oasis:names:tc:opendocument:xmlns:office:1.0\" xmlns:xlink=\"http://www.w3.org/1999/xlink\" xmlns:dc=\"http://purl.org/dc/elements/1.1/\" xmlns:meta=\"urn:oasis:names:tc:opendocument:xmlns:meta:1.0\" xmlns:ooo=\"http://openoffice.org/2004/office\" xmlns:grddl=\"http://www.w3.org/2003/g/data-view#\" office:version=\"1.2\">\n");
+
+       // Metadata
+       d_string_append(out, meta);
+
+       // Close
+       d_string_append(out, "\n</office:document-meta>");
+
+       // Cleanup
+       free(meta);
+       char * result = out->str;
+       d_string_free(out, false);
+       return result;
+}
+
+
+/// Create default style information for OpenDocument
+char * opendocument_style(int format) {
+       DString * out = d_string_new("");
+
+               /* Font Declarations */
+       print_const("<office:font-face-decls>\n" \
+       "   <style:font-face style:name=\"Courier New\" svg:font-family=\"'Courier New'\"\n" \
+    "                    style:font-adornments=\"Regular\"\n" \
+    "                    style:font-family-generic=\"modern\"\n" \
+    "                    style:font-pitch=\"fixed\"/>\n" \
+    "</office:font-face-decls>\n");
+    
+    /* Append basic style information */
+    print_const("<office:styles>\n" \
+    "<style:style style:name=\"Standard\" style:family=\"paragraph\" style:class=\"text\">\n" \
+    "      <style:paragraph-properties fo:margin-top=\"0in\" fo:margin-bottom=\"0.15in\"" \
+    "     fo:text-align=\"justify\" style:justify-single-word=\"false\"/>\n" \
+    "   </style:style>\n" \
+    "<style:style style:name=\"Preformatted_20_Text\" style:display-name=\"Preformatted Text\"\n" \
+    "             style:family=\"paragraph\"\n" \
+    "             style:parent-style-name=\"Standard\"\n" \
+    "             style:class=\"html\">\n" \
+    "   <style:paragraph-properties fo:margin-top=\"0in\" fo:margin-bottom=\"0in\" fo:text-align=\"start\"\n" \
+    "                               style:justify-single-word=\"false\"/>\n" \
+    "   <style:text-properties style:font-name=\"Courier New\" fo:font-size=\"11pt\"\n" \
+    "                          style:font-name-asian=\"Courier New\"\n" \
+    "                          style:font-size-asian=\"11pt\"\n" \
+    "                          style:font-name-complex=\"Courier New\"\n" \
+    "                          style:font-size-complex=\"11pt\"/>\n" \
+    "</style:style>\n" \
+    "<style:style style:name=\"Source_20_Text\" style:display-name=\"Source Text\"\n" \
+    "             style:family=\"text\">\n" \
+    "   <style:text-properties style:font-name=\"Courier New\" style:font-name-asian=\"Courier New\"\n" \
+    "                          style:font-name-complex=\"Courier New\"\n" \
+    "                          fo:font-size=\"11pt\"/>\n" \
+    "</style:style>\n" \
+    "<style:style style:name=\"List\" style:family=\"paragraph\"\n" \
+    "             style:parent-style-name=\"Standard\"\n" \
+    "             style:class=\"list\">\n" \
+    "   <style:paragraph-properties fo:text-align=\"start\" style:justify-single-word=\"false\"/>\n" \
+    "   <style:text-properties style:font-size-asian=\"12pt\"/>\n" \
+    "</style:style>\n" \
+    "<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\"" \
+    "                               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" \
+    "             style:family=\"paragraph\"\n" \
+    "             style:parent-style-name=\"Table_20_Contents\"\n" \
+    "             style:class=\"extra\">\n" \
+    "   <style:paragraph-properties fo:text-align=\"center\" style:justify-single-word=\"false\"\n" \
+    "                               text:number-lines=\"false\"\n" \
+    "                               text:line-number=\"0\"/>\n" \
+    "   <style:text-properties fo:font-weight=\"bold\" style:font-weight-asian=\"bold\"\n" \
+    "                          style:font-weight-complex=\"bold\"/>\n" \
+    "</style:style>\n" \
+    "<style:style style:name=\"Horizontal_20_Line\" style:display-name=\"Horizontal Line\"\n" \
+    "             style:family=\"paragraph\"\n" \
+    "             style:parent-style-name=\"Standard\"\n" \
+    "             style:class=\"html\">\n" \
+    "   <style:paragraph-properties fo:margin-top=\"0in\" fo:margin-bottom=\"0.1965in\"\n" \
+    "                               style:border-line-width-bottom=\"0.0008in 0.0138in 0.0008in\"\n" \
+    "                               fo:padding=\"0in\"\n" \
+    "                               fo:border-left=\"none\"\n" \
+    "                               fo:border-right=\"none\"\n" \
+    "                               fo:border-top=\"none\"\n" \
+    "                               fo:border-bottom=\"0.0154in double #808080\"\n" \
+    "                               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>\n" \
+       "<style:style style:name=\"TOC_Item\" style:family=\"paragraph\" style:parent-style-name=\"Standard\">\n" \
+       " <style:paragraph-properties>\n" \
+       "  <style:tab-stops>\n" \
+       "   <style:tab-stop style:position=\"6.7283in\" style:type=\"right\" style:leader-style=\"dotted\" style:leader-text=\".\"/>\n" \
+       "  </style:tab-stops>\n" \
+       " </style:paragraph-properties>\n" \
+       "</style:style>\n" \
+       "  <text:notes-configuration text:note-class=\"footnote\" text:default-style-name=\"Footnote\" text:citation-style-name=\"Footnote_20_Symbol\" text:citation-body-style-name=\"Footnote_20_anchor\" text:master-page-name=\"Footnote\" style:num-format=\"a\" text:start-value=\"0\" text:footnotes-position=\"page\" text:start-numbering-at=\"page\"/>\n" \
+       "  <text:notes-configuration text:note-class=\"endnote\" text:default-style-name=\"Endnote\" text:citation-style-name=\"Endnote_20_Symbol\" text:citation-body-style-name=\"Endnote_20_anchor\" text:master-page-name=\"Endnote\" style:num-format=\"1\" text:start-value=\"0\"/>\n" \
+    "</office:styles>\n");
+
+    /* Automatic style information */
+    print_const("<office:automatic-styles>" \
+    "   <style:style style:name=\"MMD-Italic\" style:family=\"text\">\n" \
+    "      <style:text-properties fo:font-style=\"italic\" style:font-style-asian=\"italic\"\n" \
+    "                             style:font-style-complex=\"italic\"/>\n" \
+    "   </style:style>\n" \
+    "   <style:style style:name=\"MMD-Bold\" style:family=\"text\">\n" \
+    "      <style:text-properties fo:font-weight=\"bold\" style:font-weight-asian=\"bold\"\n" \
+    "                             style:font-weight-complex=\"bold\"/>\n" \
+    "   </style:style>\n" \
+    "   <style:style style:name=\"MMD-Superscript\" style:family=\"text\">\n" \
+    "      <style:text-properties style:text-position=\"super 58%\"/>\n" \
+    "   </style:style>\n" \
+    "   <style:style style:name=\"MMD-Subscript\" style:family=\"text\">\n" \
+    "      <style:text-properties style:text-position=\"sub 58%\"/>\n" \
+    "   </style:style>\n" \
+    "   <style:style style:name=\"Strike\" style:family=\"text\">\n" \
+    "      <style:text-properties style:text-line-through-style=\"solid\" />\n" \
+    "   </style:style>\n" \
+    "   <style:style style:name=\"Underline\" style:family=\"text\">\n" \
+    "      <style:text-properties style:text-underline-style=\"solid\" style:text-underline-color=\"font-color\"/>\n" \
+    "   </style:style>\n" \
+    "   <style:style style:name=\"Highlight\" style:family=\"text\">\n" \
+    "      <style:text-properties fo:background-color=\"#FFFF00\" />\n" \
+    "   </style:style>\n" \
+    "   <style:style style:name=\"Comment\" style:family=\"text\">\n" \
+    "      <style:text-properties fo:color=\"#0000BB\" />\n" \
+    "   </style:style>\n" \
+    "<style:style style:name=\"MMD-Table\" style:family=\"paragraph\" style:parent-style-name=\"Standard\">\n" \
+    "   <style:paragraph-properties fo:margin-top=\"0in\" fo:margin-bottom=\"0.05in\"/>\n" \
+    "</style:style>\n" \
+    "<style:style style:name=\"MMD-Table-Center\" style:family=\"paragraph\" style:parent-style-name=\"MMD-Table\">\n" \
+    "   <style:paragraph-properties fo:text-align=\"center\" style:justify-single-word=\"false\"/>\n" \
+    "</style:style>\n" \
+    "<style:style style:name=\"MMD-Table-Right\" style:family=\"paragraph\" style:parent-style-name=\"MMD-Table\">\n" \
+    "   <style:paragraph-properties fo:text-align=\"right\" style:justify-single-word=\"false\"/>\n" \
+    "</style:style>\n" \
+    "<style:style style:name=\"P2\" style:family=\"paragraph\" style:parent-style-name=\"Standard\"\n" \
+    "             style:list-style-name=\"L2\">\n" \
+    "<style:paragraph-properties fo:text-align=\"start\" style:justify-single-word=\"false\"/>\n" \
+    "</style:style>\n" \
+       "<style:style style:name=\"fr1\" style:family=\"graphic\" style:parent-style-name=\"Frame\">\n" \
+       "   <style:graphic-properties style:print-content=\"true\" style:vertical-pos=\"top\"\n" \
+       "                             style:vertical-rel=\"baseline\"\n" \
+       "                             fo:padding=\"0in\"\n" \
+       "                             fo:border=\"none\"\n" \
+       "                             style:shadow=\"none\"/>\n" \
+       "</style:style>\n" \
+    "<style:style style:name=\"P1\" style:family=\"paragraph\" style:parent-style-name=\"Standard\"\n" \
+    "             style:list-style-name=\"L1\"/>\n" \
+       "<text:list-style style:name=\"L1\">\n" \
+       "       <text:list-level-style-bullet text:level=\"1\" text:style-name=\"Numbering_20_Symbols\" style:num-suffix=\".\" text:bullet-char=\"•\">\n" \
+       "               <style:list-level-properties text:list-level-position-and-space-mode=\"label-alignment\">\n" \
+       "                       <style:list-level-label-alignment text:label-followed-by=\"listtab\" text:list-tab-stop-position=\"0.5in\" fo:text-indent=\"-0.25in\" fo:margin-left=\"0.5in\"/>\n" \
+       "               </style:list-level-properties>\n" \
+       "       </text:list-level-style-bullet>\n" \
+       "       <text:list-level-style-bullet text:level=\"2\" text:style-name=\"Numbering_20_Symbols\" style:num-suffix=\".\" text:bullet-char=\"â—¦\">\n" \
+       "               <style:list-level-properties text:list-level-position-and-space-mode=\"label-alignment\">\n" \
+       "                       <style:list-level-label-alignment text:label-followed-by=\"listtab\" text:list-tab-stop-position=\"0.75in\" fo:text-indent=\"-0.25in\" fo:margin-left=\"0.75in\"/>\n" \
+       "               </style:list-level-properties>\n" \
+       "       </text:list-level-style-bullet>\n" \
+       "       <text:list-level-style-bullet text:level=\"3\" text:style-name=\"Numbering_20_Symbols\" style:num-suffix=\".\" text:bullet-char=\"â–ª\">\n" \
+       "               <style:list-level-properties text:list-level-position-and-space-mode=\"label-alignment\">\n" \
+       "                       <style:list-level-label-alignment text:label-followed-by=\"listtab\" text:list-tab-stop-position=\"1in\" fo:text-indent=\"-0.25in\" fo:margin-left=\"1in\"/>\n" \
+       "               </style:list-level-properties>\n" \
+       "       </text:list-level-style-bullet>\n" \
+       "       <text:list-level-style-number text:level=\"4\" style:num-suffix=\".\" style:num-format=\"1\">\n" \
+       "               <style:list-level-properties text:list-level-position-and-space-mode=\"label-alignment\">\n" \
+       "                       <style:list-level-label-alignment text:label-followed-by=\"listtab\" text:list-tab-stop-position=\"1.25in\" fo:text-indent=\"-0.25in\" fo:margin-left=\"1.25in\"/>\n" \
+       "               </style:list-level-properties>\n" \
+       "       </text:list-level-style-number>\n" \
+       "       <text:list-level-style-number text:level=\"5\" style:num-suffix=\".\" style:num-format=\"1\">\n" \
+       "               <style:list-level-properties text:list-level-position-and-space-mode=\"label-alignment\">\n" \
+       "                       <style:list-level-label-alignment text:label-followed-by=\"listtab\" text:list-tab-stop-position=\"1.5in\" fo:text-indent=\"-0.25in\" fo:margin-left=\"1.5in\"/>\n" \
+       "               </style:list-level-properties>\n" \
+       "       </text:list-level-style-number>\n" \
+       "       <text:list-level-style-number text:level=\"6\" style:num-suffix=\".\" style:num-format=\"1\">\n" \
+       "               <style:list-level-properties text:list-level-position-and-space-mode=\"label-alignment\">\n" \
+       "                       <style:list-level-label-alignment text:label-followed-by=\"listtab\" text:list-tab-stop-position=\"1.75in\" fo:text-indent=\"-0.25in\" fo:margin-left=\"1.75in\"/>\n" \
+       "               </style:list-level-properties>\n" \
+       "       </text:list-level-style-number>\n" \
+       "       <text:list-level-style-number text:level=\"7\" style:num-suffix=\".\" style:num-format=\"1\">\n" \
+       "               <style:list-level-properties text:list-level-position-and-space-mode=\"label-alignment\">\n" \
+       "                       <style:list-level-label-alignment text:label-followed-by=\"listtab\" text:list-tab-stop-position=\"2in\" fo:text-indent=\"-0.25in\" fo:margin-left=\"2in\"/>\n" \
+       "               </style:list-level-properties>\n" \
+       "       </text:list-level-style-number>\n" \
+       "       <text:list-level-style-number text:level=\"8\" style:num-suffix=\".\" style:num-format=\"1\">\n" \
+       "               <style:list-level-properties text:list-level-position-and-space-mode=\"label-alignment\">\n" \
+       "                       <style:list-level-label-alignment text:label-followed-by=\"listtab\" text:list-tab-stop-position=\"2.25in\" fo:text-indent=\"-0.25in\" fo:margin-left=\"2.25in\"/>\n" \
+       "               </style:list-level-properties>\n" \
+       "       </text:list-level-style-number>\n" \
+       "       <text:list-level-style-number text:level=\"9\" style:num-suffix=\".\" style:num-format=\"1\">\n" \
+       "               <style:list-level-properties text:list-level-position-and-space-mode=\"label-alignment\">\n" \
+       "                       <style:list-level-label-alignment text:label-followed-by=\"listtab\" text:list-tab-stop-position=\"2.5in\" fo:text-indent=\"-0.25in\" fo:margin-left=\"2.5in\"/>\n" \
+       "               </style:list-level-properties>\n" \
+       "       </text:list-level-style-number>\n" \
+       "       <text:list-level-style-number text:level=\"10\" style:num-suffix=\".\" style:num-format=\"1\">\n" \
+       "               <style:list-level-properties text:list-level-position-and-space-mode=\"label-alignment\">\n" \
+       "                       <style:list-level-label-alignment text:label-followed-by=\"listtab\" text:list-tab-stop-position=\"2.75in\" fo:text-indent=\"-0.25in\" fo:margin-left=\"2.75in\"/>\n" \
+       "               </style:list-level-properties>\n" \
+       "       </text:list-level-style-number>\n" \
+       "</text:list-style>\n" \
+       "<text:list-style style:name=\"L2\">\n" \
+       "       <text:list-level-style-number text:level=\"1\" text:style-name=\"Standard\" style:num-suffix=\".\" style:num-format=\"1\">\n" \
+       "               <style:list-level-properties text:list-level-position-and-space-mode=\"label-alignment\">\n" \
+       "                       <style:list-level-label-alignment text:label-followed-by=\"listtab\" text:list-tab-stop-position=\"0.5in\" fo:text-indent=\"-0.25in\" fo:margin-left=\"0.5in\"/>\n" \
+       "               </style:list-level-properties>\n" \
+       "       </text:list-level-style-number>\n" \
+       "       <text:list-level-style-number text:level=\"2\" text:style-name=\"Standard\" style:num-suffix=\".\" style:num-format=\"1\">\n" \
+       "               <style:list-level-properties text:list-level-position-and-space-mode=\"label-alignment\">\n" \
+       "                       <style:list-level-label-alignment text:label-followed-by=\"listtab\" text:list-tab-stop-position=\"0.75in\" fo:text-indent=\"-0.25in\" fo:margin-left=\"0.75in\"/>\n" \
+       "               </style:list-level-properties>\n" \
+       "       </text:list-level-style-number>\n" \
+       "       <text:list-level-style-number text:level=\"3\" text:style-name=\"Standard\" style:num-suffix=\".\" style:num-format=\"1\">\n" \
+       "               <style:list-level-properties text:list-level-position-and-space-mode=\"label-alignment\">\n" \
+       "                       <style:list-level-label-alignment text:label-followed-by=\"listtab\" text:list-tab-stop-position=\"1in\" fo:text-indent=\"-0.25in\" fo:margin-left=\"1in\"/>\n" \
+       "               </style:list-level-properties>\n" \
+       "       </text:list-level-style-number>\n" \
+       "       <text:list-level-style-number text:level=\"4\" text:style-name=\"Standard\" style:num-suffix=\".\" style:num-format=\"1\">\n" \
+       "               <style:list-level-properties text:list-level-position-and-space-mode=\"label-alignment\">\n" \
+       "                       <style:list-level-label-alignment text:label-followed-by=\"listtab\" text:list-tab-stop-position=\"1.25in\" fo:text-indent=\"-0.25in\" fo:margin-left=\"1.25in\"/>\n" \
+       "               </style:list-level-properties>\n" \
+       "       </text:list-level-style-number>\n" \
+       "       <text:list-level-style-number text:level=\"5\" text:style-name=\"Standard\" style:num-suffix=\".\" style:num-format=\"1\">\n" \
+       "               <style:list-level-properties text:list-level-position-and-space-mode=\"label-alignment\">\n" \
+       "                       <style:list-level-label-alignment text:label-followed-by=\"listtab\" text:list-tab-stop-position=\"1.5in\" fo:text-indent=\"-0.25in\" fo:margin-left=\"1.5in\"/>\n" \
+       "               </style:list-level-properties>\n" \
+       "       </text:list-level-style-number>\n" \
+       "       <text:list-level-style-number text:level=\"6\" text:style-name=\"Standard\" style:num-suffix=\".\" style:num-format=\"1\">\n" \
+       "               <style:list-level-properties text:list-level-position-and-space-mode=\"label-alignment\">\n" \
+       "                       <style:list-level-label-alignment text:label-followed-by=\"listtab\" text:list-tab-stop-position=\"1.75in\" fo:text-indent=\"-0.25in\" fo:margin-left=\"1.75in\"/>\n" \
+       "               </style:list-level-properties>\n" \
+       "       </text:list-level-style-number>\n" \
+       "       <text:list-level-style-number text:level=\"7\" text:style-name=\"Standard\" style:num-suffix=\".\" style:num-format=\"1\">\n" \
+       "               <style:list-level-properties text:list-level-position-and-space-mode=\"label-alignment\">\n" \
+       "                       <style:list-level-label-alignment text:label-followed-by=\"listtab\" text:list-tab-stop-position=\"2in\" fo:text-indent=\"-0.25in\" fo:margin-left=\"2in\"/>\n" \
+       "               </style:list-level-properties>\n" \
+       "       </text:list-level-style-number>\n" \
+       "       <text:list-level-style-number text:level=\"8\" text:style-name=\"Standard\" style:num-suffix=\".\" style:num-format=\"1\">\n" \
+       "               <style:list-level-properties text:list-level-position-and-space-mode=\"label-alignment\">\n" \
+       "                       <style:list-level-label-alignment text:label-followed-by=\"listtab\" text:list-tab-stop-position=\"2.25in\" fo:text-indent=\"-0.25in\" fo:margin-left=\"2.25in\"/>\n" \
+       "               </style:list-level-properties>\n" \
+       "       </text:list-level-style-number>\n" \
+       "       <text:list-level-style-number text:level=\"9\" text:style-name=\"Standard\" style:num-suffix=\".\" style:num-format=\"1\">\n" \
+       "               <style:list-level-properties text:list-level-position-and-space-mode=\"label-alignment\">\n" \
+       "                       <style:list-level-label-alignment text:label-followed-by=\"listtab\" text:list-tab-stop-position=\"2.5in\" fo:text-indent=\"-0.25in\" fo:margin-left=\"2.5in\"/>\n" \
+       "               </style:list-level-properties>\n" \
+       "       </text:list-level-style-number>\n" \
+       "       <text:list-level-style-number text:level=\"10\" text:style-name=\"Standard\" style:num-suffix=\".\" style:num-format=\"1\">\n" \
+       "               <style:list-level-properties text:list-level-position-and-space-mode=\"label-alignment\">\n" \
+       "                       <style:list-level-label-alignment text:label-followed-by=\"listtab\" text:list-tab-stop-position=\"2.75in\" fo:text-indent=\"-0.25in\" fo:margin-left=\"2.75in\"/>\n" \
+       "               </style:list-level-properties>\n" \
+       "       </text:list-level-style-number>\n" \
+       "</text:list-style>\n" \
+    "</office:automatic-styles>\n" \
+       " <office:master-styles>\n" \
+       "  <style:master-page style:name=\"Endnote\" >\n" \
+       "    <style:header><text:h text:outline-level=\"2\">Bibliography</text:h></style:header></style:master-page>\n" \
+       "  <style:master-page style:name=\"Footnote\" style:page-layout-name=\"pm2\"/>\n" \
+       " </office:master-styles>\n");
+
+       char * result = out->str;
+       d_string_free(out, false);
+       return result;
+}
+
+
+/// Create full style file for OpenDocument
+char * opendocument_style_file(int format) {
+       DString * out = d_string_new("");
+
+       char * style = opendocument_style(format);
+
+       // Open
+       d_string_append(out, "<?xml version=\"1.0\" encoding=\"UTF-8\"?>\n");
+
+       print_const("<office:document-styles xmlns:office=\"urn:oasis:names:tc:opendocument:xmlns:office:1.0\"\n" \
+"xmlns:style=\"urn:oasis:names:tc:opendocument:xmlns:style:1.0\"\n" \
+"xmlns:text=\"urn:oasis:names:tc:opendocument:xmlns:text:1.0\"\n" \
+"xmlns:table=\"urn:oasis:names:tc:opendocument:xmlns:table:1.0\"\n" \
+"xmlns:draw=\"urn:oasis:names:tc:opendocument:xmlns:drawing:1.0\"\n" \
+"xmlns:fo=\"urn:oasis:names:tc:opendocument:xmlns:xsl-fo-compatible:1.0\"\n" \
+"xmlns:xlink=\"http://www.w3.org/1999/xlink\"\n" \
+"xmlns:dc=\"http://purl.org/dc/elements/1.1/\"\n" \
+"xmlns:meta=\"urn:oasis:names:tc:opendocument:xmlns:meta:1.0\"\n" \
+"xmlns:number=\"urn:oasis:names:tc:opendocument:xmlns:datastyle:1.0\"\n" \
+"xmlns:svg=\"urn:oasis:names:tc:opendocument:xmlns:svg-compatible:1.0\"\n" \
+"xmlns:chart=\"urn:oasis:names:tc:opendocument:xmlns:chart:1.0\"\n" \
+"xmlns:dr3d=\"urn:oasis:names:tc:opendocument:xmlns:dr3d:1.0\"\n" \
+"xmlns:math=\"http://www.w3.org/1998/Math/MathML\"\n" \
+"xmlns:form=\"urn:oasis:names:tc:opendocument:xmlns:form:1.0\"\n" \
+"xmlns:script=\"urn:oasis:names:tc:opendocument:xmlns:script:1.0\"\n" \
+"xmlns:ooo=\"http://openoffice.org/2004/office\"\n" \
+"xmlns:ooow=\"http://openoffice.org/2004/writer\"\n" \
+"xmlns:oooc=\"http://openoffice.org/2004/calc\"\n" \
+"xmlns:dom=\"http://www.w3.org/2001/xml-events\"\n" \
+"xmlns:rpt=\"http://openoffice.org/2005/report\"\n" \
+"xmlns:of=\"urn:oasis:names:tc:opendocument:xmlns:of:1.2\"\n" \
+"xmlns:xhtml=\"http://www.w3.org/1999/xhtml\"\n" \
+"xmlns:grddl=\"http://www.w3.org/2003/g/data-view#\"\n" \
+"xmlns:officeooo=\"http://openoffice.org/2009/office\"\n" \
+"xmlns:tableooo=\"http://openoffice.org/2009/table\"\n" \
+"xmlns:drawooo=\"http://openoffice.org/2010/draw\"\n" \
+"xmlns:calcext=\"urn:org:documentfoundation:names:experimental:calc:xmlns:calcext:1.0\"\n" \
+"xmlns:loext=\"urn:org:documentfoundation:names:experimental:office:xmlns:loext:1.0\"\n" \
+"xmlns:field=\"urn:openoffice:names:experimental:ooo-ms-interop:xmlns:field:1.0\"\n" \
+"xmlns:css3t=\"http://www.w3.org/TR/css3-text/\"\n" \
+"office:version=\"1.2\">\n");
+
+       // Styles
+       d_string_append(out, style);
+
+       // Close
+       d_string_append(out, "\n</office:document-styles>");
+
+       // Cleanup
+       free(style);
+       char * result = out->str;
+       d_string_free(out, false);
+       return result;
+}
+
+
+/// Create full settings file for OpenDocument
+char * opendocument_settings_file(int format) {
+       return my_strdup("<?xml version=\"1.0\" encoding=\"utf-8\"?> <office:document-settings xmlns:office=\"urn:oasis:names:tc:opendocument:xmlns:office:1.0\" xmlns:xlink=\"http://www.w3.org/1999/xlink\" xmlns:config=\"urn:oasis:names:tc:opendocument:xmlns:config:1.0\" xmlns:ooo=\"http://openoffice.org/2004/office\" office:version=\"1.2\"> <office:settings></office:settings></office:document-settings>");
+}
+
+
+/// Create manifest file for OpenDocument
+char * opendocument_manifest_file(mmd_engine * e, int format) {
+       DString * out = d_string_new("");
+
+       char * style = opendocument_style(format);
+
+       // Open
+       print_const("<?xml version=\"1.0\" encoding=\"UTF-8\"?>\n");
+       print_const("<manifest:manifest xmlns:manifest=\"urn:oasis:names:tc:opendocument:xmlns:manifest:1.0\" manifest:version=\"1.2\">\n");
+
+       // Files
+       switch (format) {
+               case FORMAT_ODT:
+                       print_const("\t<manifest:file-entry manifest:full-path=\"/\" manifest:version=\"1.2\" manifest:media-type=\"application/vnd.oasis.opendocument.text\"/>\n");
+                       break;
+       }
+
+       print_const("\t<manifest:file-entry manifest:full-path=\"content.xml\" manifest:media-type=\"text/xml\"/>\n");
+       print_const("\t<manifest:file-entry manifest:full-path=\"styles.xml\" manifest:media-type=\"text/xml\"/>\n");
+       print_const("\t<manifest:file-entry manifest:full-path=\"settings.xml\" manifest:media-type=\"text/xml\"/>\n");
+       print_const("\t<manifest:file-entry manifest:full-path=\"meta.xml\" manifest:media-type=\"text/xml\"/>\n");
+
+       // Close
+       print_const("\n</manifest:manifest>");
+
+       // Cleanup
+       free(style);
+       char * result = out->str;
+       d_string_free(out, false);
+       return result;
+}
+
+
+/// Create common elements of an OpenDocument zip file
+mz_zip_archive * opendocument_core_zip(mmd_engine * e, int format) {
+       // Initialize zip archive
+       mz_zip_archive * zip = malloc(sizeof(mz_zip_archive));
+       zip_new_archive(zip);
+
+       mz_bool status;
+       char * data;
+       size_t len;
+
+       scratch_pad * scratch = scratch_pad_new(e, format);
+
+
+       // Add mimetype
+       char mime[100];
+
+       switch (format) {
+               case FORMAT_ODT:
+                       strcpy(mime, "application/vnd.oasis.opendocument.text");
+                       break;
+       }
+
+       len = strlen(mime);
+       status = mz_zip_writer_add_mem(zip, "mimetype", mime, len, MZ_NO_COMPRESSION);
+       if (!status) {
+               fprintf(stderr, "Error adding mimetype to zip.\n");
+       }
+
+
+       // Create metadata file
+       data = opendocument_metadata_file(e, scratch);
+       len = strlen(data);
+       status = mz_zip_writer_add_mem(zip, "meta.xml", data, len, MZ_BEST_COMPRESSION);
+       free(data);
+       if (!status) {
+               fprintf(stderr, "Error adding metadata to zip.\n");
+       }
+
+
+       // Create styles file
+       data = opendocument_style_file(format);
+       len = strlen(data);
+       status = mz_zip_writer_add_mem(zip, "styles.xml", data, len, MZ_BEST_COMPRESSION);
+       free(data);
+       if (!status) {
+               fprintf(stderr, "Error adding styles to zip.\n");
+       }
+
+
+       // Create settings file
+       data = opendocument_settings_file(format);
+       len = strlen(data);
+       status = mz_zip_writer_add_mem(zip, "settings.xml", data, len, MZ_BEST_COMPRESSION);
+       free(data);
+       if (!status) {
+               fprintf(stderr, "Error adding settings to zip.\n");
+       }
+
+
+       // Create directories
+       status = mz_zip_writer_add_mem(zip, "META-INF/", NULL, 0, MZ_BEST_COMPRESSION);
+       if (!status) {
+               fprintf(stderr, "Error adding directory to zip.\n");
+       }
+
+//     status = mz_zip_writer_add_mem(zip, "Pictures/", NULL, 0, MZ_BEST_COMPRESSION);
+       if (!status) {
+               fprintf(stderr, "Error adding directory to zip.\n");
+       }
+
+
+       // Create manifest file
+       data = opendocument_manifest_file(e, format);
+       len = strlen(data);
+       status = mz_zip_writer_add_mem(zip, "META-INF/manifest.xml", data, len, MZ_BEST_COMPRESSION);
+       free(data);
+       if (!status) {
+               fprintf(stderr, "Error adding manifest to zip.\n");
+       }
+
+
+       // Clean up
+       scratch_pad_free(scratch);
+
+       return zip;
+}
+
+
+/// Add shared office:document config
+void opendocument_document_attr(DString * out) {
+       print_const("xmlns:office=\"urn:oasis:names:tc:opendocument:xmlns:office:1.0\"\n" \
+       "xmlns:style=\"urn:oasis:names:tc:opendocument:xmlns:style:1.0\"\n" \
+       "xmlns:text=\"urn:oasis:names:tc:opendocument:xmlns:text:1.0\"\n" \
+       "xmlns:table=\"urn:oasis:names:tc:opendocument:xmlns:table:1.0\"\n" \
+       "xmlns:draw=\"urn:oasis:names:tc:opendocument:xmlns:drawing:1.0\"\n" \
+       "xmlns:fo=\"urn:oasis:names:tc:opendocument:xmlns:xsl-fo-compatible:1.0\"\n" \
+       "xmlns:xlink=\"http://www.w3.org/1999/xlink\"\n" \
+       "xmlns:dc=\"http://purl.org/dc/elements/1.1/\"\n" \
+       "xmlns:meta=\"urn:oasis:names:tc:opendocument:xmlns:meta:1.0\"\n" \
+       "xmlns:number=\"urn:oasis:names:tc:opendocument:xmlns:datastyle:1.0\"\n" \
+       "xmlns:svg=\"urn:oasis:names:tc:opendocument:xmlns:svg-compatible:1.0\"\n" \
+       "xmlns:chart=\"urn:oasis:names:tc:opendocument:xmlns:chart:1.0\"\n" \
+       "xmlns:dr3d=\"urn:oasis:names:tc:opendocument:xmlns:dr3d:1.0\"\n" \
+       "xmlns:math=\"http://www.w3.org/1998/Math/MathML\"\n" \
+       "xmlns:form=\"urn:oasis:names:tc:opendocument:xmlns:form:1.0\"\n" \
+       "xmlns:script=\"urn:oasis:names:tc:opendocument:xmlns:script:1.0\"\n" \
+       "xmlns:ooo=\"http://openoffice.org/2004/office\"\n" \
+       "xmlns:ooow=\"http://openoffice.org/2004/writer\"\n" \
+       "xmlns:oooc=\"http://openoffice.org/2004/calc\"\n" \
+       "xmlns:dom=\"http://www.w3.org/2001/xml-events\"\n" \
+       "xmlns:xforms=\"http://www.w3.org/2002/xforms\"\n" \
+       "xmlns:xsd=\"http://www.w3.org/2001/XMLSchema\"\n" \
+       "xmlns:xsi=\"http://www.w3.org/2001/XMLSchema-instance\"\n" \
+       "xmlns:rpt=\"http://openoffice.org/2005/report\"\n" \
+       "xmlns:of=\"urn:oasis:names:tc:opendocument:xmlns:of:1.2\"\n" \
+       "xmlns:xhtml=\"http://www.w3.org/1999/xhtml\"\n" \
+       "xmlns:grddl=\"http://www.w3.org/2003/g/data-view#\"\n" \
+       "xmlns:officeooo=\"http://openoffice.org/2009/office\"\n" \
+       "xmlns:tableooo=\"http://openoffice.org/2009/table\"\n" \
+       "xmlns:drawooo=\"http://openoffice.org/2010/draw\"\n" \
+       "xmlns:calcext=\"urn:org:documentfoundation:names:experimental:calc:xmlns:calcext:1.0\"\n" \
+       "xmlns:loext=\"urn:org:documentfoundation:names:experimental:office:xmlns:loext:1.0\"\n" \
+       "xmlns:field=\"urn:openoffice:names:experimental:ooo-ms-interop:xmlns:field:1.0\"\n" \
+       "xmlns:formx=\"urn:openoffice:names:experimental:ooxml-odf-interop:xmlns:form:1.0\"\n" \
+       "xmlns:css3t=\"http://www.w3.org/TR/css3-text/\"\n" \
+       "office:version=\"1.2\"");
+}
+
+
+/// Create full content file
+char * opendocument_content_file(const char * body, int format) {
+       DString * out = d_string_new("");
+
+       // Open
+       print_const("<?xml version=\"1.0\" encoding=\"UTF-8\"?>\n");
+       print_const("<office:document-content ");
+       opendocument_document_attr(out);
+       print_const(">\n<office:body>\n");
+
+       switch (format) {
+               case FORMAT_ODT:
+                       print_const("<office:text>\n");
+                       break;
+       }
+
+       // Body
+       d_string_append(out, body);
+
+       // Close
+       switch (format) {
+               case FORMAT_ODT:
+                       print_const("\n</office:text>");
+                       break;
+       }
+
+       d_string_append(out, "\n</office:body>\n</office:document-content>\n");
+
+       // Cleanup
+       char * result = out->str;
+       d_string_free(out, false);
+       return result;
+}
+
+
+/// Create OpenDocument text file
+DString * opendocument_core_flat_create(const char * body, mmd_engine * e, int format) {
+       DString * out = d_string_new("");
+       char * text;
+
+       print_const("<?xml version=\"1.0\" encoding=\"UTF-8\"?>\n");
+       print_const("<office:document ");
+       opendocument_document_attr(out);
+
+       // Add mimetype
+       switch (format) {
+               case FORMAT_FODT:
+                       print_const("\noffice:mimetype=\"application/vnd.oasis.opendocument.text\">\n");
+                       break;
+       }
+
+       scratch_pad * scratch = scratch_pad_new(e, format);
+
+       // Add styles
+       text = opendocument_style(format);
+       d_string_append(out, text);
+       free(text);
+
+       // Add metadata
+       text = opendocument_metadata(e, scratch);
+       d_string_append(out, text);
+       free(text);
+
+
+       // Add body
+       print_const("\n<office:body>\n<office:text>\n");
+       d_string_append(out, body);
+       print_const("\n</office:text>\n</office:body>\n</office:document>\n");
+
+
+       // Cleanup
+       scratch_pad_free(scratch);
+
+       return out;
+}
+
+
+/// Create OpenDocument zip file version
+DString * opendocument_core_file_create(const char * body, mmd_engine * e, const char * directory, int format) {
+       DString * result = d_string_new("");
+
+       // Add common core elements
+       mz_zip_archive * zip = opendocument_core_zip(e, format);
+
+       mz_bool status;
+       char * data;
+       size_t len;
+
+
+       // Create content file
+       data = opendocument_content_file(body, format);
+       len = strlen(data);
+       status = mz_zip_writer_add_mem(zip, "content.xml", data, len, MZ_BEST_COMPRESSION);
+       free(data);
+       if (!status) {
+               fprintf(stderr, "Error adding content.xml to zip.\n");
+       }
+
+
+       // TODO: Add image assets
+
+       // Clean up
+       free(result->str);
+
+       status = mz_zip_writer_finalize_heap_archive(zip, (void **) &(result->str), &(result->currentStringLength));
+       if (!status) {
+               fprintf(stderr, "Error finalizing zip archive.\n");
+       }
+
+       return result;
+}
+
+
+/// Create OpenDocument flat text file (single xml file)
+DString * opendocument_flat_text_create(const char * body, mmd_engine * e, const char * directory) {
+       return opendocument_core_flat_create(body, e, FORMAT_FODT);
+}
+
+
+/// Create OpenDocument text file (zipped package)
+DString * opendocument_text_create(const char * body, mmd_engine * e, const char * directory) {
+       return opendocument_core_file_create(body, e, directory, FORMAT_ODT);
+}
+
diff --git a/Sources/libMultiMarkdown/opendocument.h b/Sources/libMultiMarkdown/opendocument.h
new file mode 100644 (file)
index 0000000..c7abb02
--- /dev/null
@@ -0,0 +1,118 @@
+/**
+
+       MultiMarkdown -- Lightweight markup processor to produce HTML, LaTeX, and more.
+
+       @file opendocument.h
+
+       @brief Common Utilities for various OpenDocument export types
+
+
+       @author Fletcher T. Penney
+       @bug    
+
+**/
+
+/*
+
+       Copyright Â© 2016 - 2017 Fletcher T. Penney.
+
+
+       The `MultiMarkdown 6` project is released under the MIT License..
+       
+       GLibFacade.c and GLibFacade.h are from the MultiMarkdown v4 project:
+       
+               https://github.com/fletcher/MultiMarkdown-4/
+       
+       MMD 4 is released under both the MIT License and GPL.
+       
+       
+       CuTest is released under the zlib/libpng license. See CuTest.c for the
+       text of the license.
+       
+       uthash library:
+               Copyright (c) 2005-2016, Troy D. Hanson
+       
+               Licensed under Revised BSD license
+       
+       miniz library:
+               Copyright 2013-2014 RAD Game Tools and Valve Software
+               Copyright 2010-2014 Rich Geldreich and Tenacious Software LLC
+       
+               Licensed under the MIT license
+       
+       argtable3 library:
+               Copyright (C) 1998-2001,2003-2011,2013 Stewart Heitmann
+               <sheitmann@users.sourceforge.net>
+               All rights reserved.
+       
+               Licensed under the Revised BSD License
+       
+       
+       ## The MIT License ##
+       
+       Permission is hereby granted, free of charge, to any person obtaining
+       a copy of this software and associated documentation files (the
+       "Software"), to deal in the Software without restriction, including
+       without limitation the rights to use, copy, modify, merge, publish,
+       distribute, sublicense, and/or sell copies of the Software, and to
+       permit persons to whom the Software is furnished to do so, subject to
+       the following conditions:
+       
+       The above copyright notice and this permission notice shall be
+       included in all copies or substantial portions of the Software.
+       
+       THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND,
+       EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF
+       MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT.
+       IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY
+       CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT,
+       TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE
+       SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
+       
+       
+       ## Revised BSD License ##
+       
+       Redistribution and use in source and binary forms, with or without
+       modification, are permitted provided that the following conditions are
+       met:
+           * Redistributions of source code must retain the above copyright
+             notice, this list of conditions and the following disclaimer.
+           * Redistributions in binary form must reproduce the above
+             copyright notice, this list of conditions and the following
+             disclaimer in the documentation and/or other materials provided
+             with the distribution.
+           * Neither the name of the <organization> nor the
+             names of its contributors may be used to endorse or promote
+             products derived from this software without specific prior
+             written permission.
+       
+       THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS
+       "AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT
+       LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR
+       A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL <COPYRIGHT
+       HOLDER> BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL,
+       EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO,
+       PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES LOSS OF USE, DATA, OR
+       PROFITS OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF
+       LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING
+       NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS
+       SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
+       
+
+*/
+
+
+#ifndef OPENDOCUMENT_MULTIMARKDOWN_H
+#define OPENDOCUMENT_MULTIMARKDOWN_H
+
+#include "d_string.h"
+#include "mmd.h"
+#include "writer.h"
+
+char * opendocument_metadata(mmd_engine * e, scratch_pad * scratch);
+
+
+DString * opendocument_flat_text_create(const char * body, mmd_engine * e, const char * directory);
+DString * opendocument_text_create(const char * body, mmd_engine * e, const char * directory);
+
+#endif
index 644e68a53f7ceebbc930458c8a7b5e6c0bc88e43..51adec6b9ea748e968406b2dc4720891725a5cc7 100644 (file)
@@ -394,7 +394,7 @@ void mmd_transclude_source(DString * source, const char * search_path, const cha
                                        case FORMAT_MEMOIR:
                                                d_string_append(file_path, ".tex");
                                                break;
-                                       case FORMAT_ODF:
+                                       case FORMAT_FODT:
                                                d_string_append(file_path, ".fodt");
                                                break;
                                        default:
index c420f8d0ba038012e57484ec7951c1af89d9535d..4095243711b0fcef06fb3304bb9dd3b18a5df833 100644 (file)
@@ -68,7 +68,7 @@
 #include "latex.h"
 #include "memoir.h"
 #include "mmd.h"
-#include "odf.h"
+#include "opendocument-content.h"
 #include "scanners.h"
 #include "token.h"
 #include "uuid.h"
@@ -1529,7 +1529,8 @@ void process_metadata_stack(mmd_engine * e, scratch_pad * scratch) {
                                (scratch->output_format == FORMAT_MEMOIR))
                                header_level = atoi(m->value);
                } else if (strcmp(m->key, "odfheaderlevel") == 0) {
-                       if (scratch->output_format == FORMAT_ODF)
+                       if ((scratch->output_format == FORMAT_ODT) ||
+                               (scratch->output_format == FORMAT_FODT))
                                header_level = atoi(m->value);
                } else if (strcmp(m->key, "language") == 0) {
                        temp_char = label_from_string(m->value);
@@ -1793,12 +1794,14 @@ void mmd_engine_export_token_tree(DString * out, mmd_engine * e, short format) {
                                mmd_end_complete_latex(out, e->dstr->str, scratch);
 
                        break;
-               case FORMAT_ODF:
-                       mmd_start_complete_odf(out, e->dstr->str, scratch);
+               case FORMAT_ODT:
+                       scratch->store_assets = true;
+               case FORMAT_FODT:
+//                     mmd_start_complete_odf(out, e->dstr->str, scratch);
 
-                       mmd_export_token_tree_odf(out, e->dstr->str, e->root, scratch);
+                       mmd_export_token_tree_opendocument(out, e->dstr->str, e->root, scratch);
 
-                       mmd_end_complete_odf(out, e->dstr->str, scratch);
+//                     mmd_end_complete_odf(out, e->dstr->str, scratch);
                        break;
        }
 
@@ -2454,8 +2457,9 @@ bool raw_filter_text_matches(char * pattern, short format) {
                                if (strstr(pattern, "html"))
                                        return true;
                                break;
-                       case FORMAT_ODF:
-                               if (strstr(pattern, "odf"))
+                       case FORMAT_ODT:
+                       case FORMAT_FODT:
+                               if (strstr(pattern, "odt"))
                                        return true;
                                break;
                        case FORMAT_EPUB:
index a47890065256c6bed87d5dec770799ae2f6e4764..60bc180f46e4a3826451dee191af917c340a758f 100644 (file)
@@ -154,7 +154,7 @@ int main(int argc, char** argv) {
 
                a_rem2                  = arg_rem("", ""),
 
-               a_format                = arg_str0("t", "to", "FORMAT", "convert to FORMAT, FORMAT = html|latex|beamer|memoir|mmd|odf|epub|bundle|bundlezip"),
+               a_format                = arg_str0("t", "to", "FORMAT", "convert to FORMAT, FORMAT = html|latex|beamer|memoir|mmd|odt|fodt|epub|bundle|bundlezip"),
                a_o                             = arg_file0("o", "output", "FILE", "send output to FILE"),
 
                a_rem3                  = arg_rem("",""),
@@ -277,8 +277,10 @@ int main(int argc, char** argv) {
                        format = FORMAT_MEMOIR;
                else if (strcmp(a_format->sval[0], "mmd") == 0)
                        format = FORMAT_MMD;
-               else if (strcmp(a_format->sval[0], "odf") == 0)
-                       format = FORMAT_ODF;
+               else if (strcmp(a_format->sval[0], "odt") == 0)
+                       format = FORMAT_ODT;
+               else if (strcmp(a_format->sval[0], "fodt") == 0)
+                       format = FORMAT_FODT;
                else if (strcmp(a_format->sval[0], "epub") == 0)
                        format = FORMAT_EPUB;
                else if (strcmp(a_format->sval[0], "bundle") == 0)
@@ -343,9 +345,12 @@ int main(int argc, char** argv) {
                                case FORMAT_MEMOIR:
                                        output_filename = filename_with_extension(a_file->filename[i], ".tex");
                                        break;
-                               case FORMAT_ODF:
+                               case FORMAT_FODT:
                                        output_filename = filename_with_extension(a_file->filename[i], ".fodt");
                                        break;
+                               case FORMAT_ODT:
+                                       output_filename = filename_with_extension(a_file->filename[i], ".odt");
+                                       break;
                                case FORMAT_MMD:
                                        output_filename = filename_with_extension(a_file->filename[i], ".mmdtext");
                                        break;
index 03c46f0b55863216a9cae8c838b5561a3e1f1fce..c0497de7add4608c5f6e80ef88b329dc5e65271a 100644 (file)
@@ -1,39 +1,41 @@
 <?xml version="1.0" encoding="UTF-8"?>
 <office:document xmlns:office="urn:oasis:names:tc:opendocument:xmlns:office:1.0"
-     xmlns:style="urn:oasis:names:tc:opendocument:xmlns:style:1.0"
-     xmlns:text="urn:oasis:names:tc:opendocument:xmlns:text:1.0"
-     xmlns:table="urn:oasis:names:tc:opendocument:xmlns:table:1.0"
-     xmlns:draw="urn:oasis:names:tc:opendocument:xmlns:drawing:1.0"
-     xmlns:fo="urn:oasis:names:tc:opendocument:xmlns:xsl-fo-compatible:1.0"
-     xmlns:xlink="http://www.w3.org/1999/xlink"
-     xmlns:dc="http://purl.org/dc/elements/1.1/"
-     xmlns:meta="urn:oasis:names:tc:opendocument:xmlns:meta:1.0"
-     xmlns:number="urn:oasis:names:tc:opendocument:xmlns:datastyle:1.0"
-     xmlns:svg="urn:oasis:names:tc:opendocument:xmlns:svg-compatible:1.0"
-     xmlns:chart="urn:oasis:names:tc:opendocument:xmlns:chart:1.0"
-     xmlns:dr3d="urn:oasis:names:tc:opendocument:xmlns:dr3d:1.0"
-     xmlns:math="http://www.w3.org/1998/Math/MathML"
-     xmlns:form="urn:oasis:names:tc:opendocument:xmlns:form:1.0"
-     xmlns:script="urn:oasis:names:tc:opendocument:xmlns:script:1.0"
-     xmlns:config="urn:oasis:names:tc:opendocument:xmlns:config:1.0"
-     xmlns:ooo="http://openoffice.org/2004/office"
-     xmlns:ooow="http://openoffice.org/2004/writer"
-     xmlns:oooc="http://openoffice.org/2004/calc"
-     xmlns:dom="http://www.w3.org/2001/xml-events"
-     xmlns:xforms="http://www.w3.org/2002/xforms"
-     xmlns:xsd="http://www.w3.org/2001/XMLSchema"
-     xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
-     xmlns:rpt="http://openoffice.org/2005/report"
-     xmlns:of="urn:oasis:names:tc:opendocument:xmlns:of:1.2"
-     xmlns:xhtml="http://www.w3.org/1999/xhtml"
-     xmlns:grddl="http://www.w3.org/2003/g/data-view#"
-     xmlns:tableooo="http://openoffice.org/2009/table"
-     xmlns:field="urn:openoffice:names:experimental:ooo-ms-interop:xmlns:field:1.0"
-     xmlns:formx="urn:openoffice:names:experimental:ooxml-odf-interop:xmlns:form:1.0"
-     xmlns:css3t="http://www.w3.org/TR/css3-text/"
-     office:version="1.2"
-     grddl:transformation="http://docs.oasis-open.org/office/1.2/xslt/odf2rdf.xsl"
-     office:mimetype="application/vnd.oasis.opendocument.text">
+xmlns:style="urn:oasis:names:tc:opendocument:xmlns:style:1.0"
+xmlns:text="urn:oasis:names:tc:opendocument:xmlns:text:1.0"
+xmlns:table="urn:oasis:names:tc:opendocument:xmlns:table:1.0"
+xmlns:draw="urn:oasis:names:tc:opendocument:xmlns:drawing:1.0"
+xmlns:fo="urn:oasis:names:tc:opendocument:xmlns:xsl-fo-compatible:1.0"
+xmlns:xlink="http://www.w3.org/1999/xlink"
+xmlns:dc="http://purl.org/dc/elements/1.1/"
+xmlns:meta="urn:oasis:names:tc:opendocument:xmlns:meta:1.0"
+xmlns:number="urn:oasis:names:tc:opendocument:xmlns:datastyle:1.0"
+xmlns:svg="urn:oasis:names:tc:opendocument:xmlns:svg-compatible:1.0"
+xmlns:chart="urn:oasis:names:tc:opendocument:xmlns:chart:1.0"
+xmlns:dr3d="urn:oasis:names:tc:opendocument:xmlns:dr3d:1.0"
+xmlns:math="http://www.w3.org/1998/Math/MathML"
+xmlns:form="urn:oasis:names:tc:opendocument:xmlns:form:1.0"
+xmlns:script="urn:oasis:names:tc:opendocument:xmlns:script:1.0"
+xmlns:ooo="http://openoffice.org/2004/office"
+xmlns:ooow="http://openoffice.org/2004/writer"
+xmlns:oooc="http://openoffice.org/2004/calc"
+xmlns:dom="http://www.w3.org/2001/xml-events"
+xmlns:xforms="http://www.w3.org/2002/xforms"
+xmlns:xsd="http://www.w3.org/2001/XMLSchema"
+xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
+xmlns:rpt="http://openoffice.org/2005/report"
+xmlns:of="urn:oasis:names:tc:opendocument:xmlns:of:1.2"
+xmlns:xhtml="http://www.w3.org/1999/xhtml"
+xmlns:grddl="http://www.w3.org/2003/g/data-view#"
+xmlns:officeooo="http://openoffice.org/2009/office"
+xmlns:tableooo="http://openoffice.org/2009/table"
+xmlns:drawooo="http://openoffice.org/2010/draw"
+xmlns:calcext="urn:org:documentfoundation:names:experimental:calc:xmlns:calcext:1.0"
+xmlns:loext="urn:org:documentfoundation:names:experimental:office:xmlns:loext:1.0"
+xmlns:field="urn:openoffice:names:experimental:ooo-ms-interop:xmlns:field:1.0"
+xmlns:formx="urn:openoffice:names:experimental:ooxml-odf-interop:xmlns:form:1.0"
+xmlns:css3t="http://www.w3.org/TR/css3-text/"
+office:version="1.2"
+office:mimetype="application/vnd.oasis.opendocument.text">
 <office:font-face-decls>
    <style:font-face style:name="Courier New" svg:font-family="'Courier New'"
                     style:font-adornments="Regular"
index 6791f652868276d34023d1bf764cf61ee1179b16..14f85223a02368f88341ea9165af8373c28dc3e3 100644 (file)
@@ -1,39 +1,41 @@
 <?xml version="1.0" encoding="UTF-8"?>
 <office:document xmlns:office="urn:oasis:names:tc:opendocument:xmlns:office:1.0"
-     xmlns:style="urn:oasis:names:tc:opendocument:xmlns:style:1.0"
-     xmlns:text="urn:oasis:names:tc:opendocument:xmlns:text:1.0"
-     xmlns:table="urn:oasis:names:tc:opendocument:xmlns:table:1.0"
-     xmlns:draw="urn:oasis:names:tc:opendocument:xmlns:drawing:1.0"
-     xmlns:fo="urn:oasis:names:tc:opendocument:xmlns:xsl-fo-compatible:1.0"
-     xmlns:xlink="http://www.w3.org/1999/xlink"
-     xmlns:dc="http://purl.org/dc/elements/1.1/"
-     xmlns:meta="urn:oasis:names:tc:opendocument:xmlns:meta:1.0"
-     xmlns:number="urn:oasis:names:tc:opendocument:xmlns:datastyle:1.0"
-     xmlns:svg="urn:oasis:names:tc:opendocument:xmlns:svg-compatible:1.0"
-     xmlns:chart="urn:oasis:names:tc:opendocument:xmlns:chart:1.0"
-     xmlns:dr3d="urn:oasis:names:tc:opendocument:xmlns:dr3d:1.0"
-     xmlns:math="http://www.w3.org/1998/Math/MathML"
-     xmlns:form="urn:oasis:names:tc:opendocument:xmlns:form:1.0"
-     xmlns:script="urn:oasis:names:tc:opendocument:xmlns:script:1.0"
-     xmlns:config="urn:oasis:names:tc:opendocument:xmlns:config:1.0"
-     xmlns:ooo="http://openoffice.org/2004/office"
-     xmlns:ooow="http://openoffice.org/2004/writer"
-     xmlns:oooc="http://openoffice.org/2004/calc"
-     xmlns:dom="http://www.w3.org/2001/xml-events"
-     xmlns:xforms="http://www.w3.org/2002/xforms"
-     xmlns:xsd="http://www.w3.org/2001/XMLSchema"
-     xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
-     xmlns:rpt="http://openoffice.org/2005/report"
-     xmlns:of="urn:oasis:names:tc:opendocument:xmlns:of:1.2"
-     xmlns:xhtml="http://www.w3.org/1999/xhtml"
-     xmlns:grddl="http://www.w3.org/2003/g/data-view#"
-     xmlns:tableooo="http://openoffice.org/2009/table"
-     xmlns:field="urn:openoffice:names:experimental:ooo-ms-interop:xmlns:field:1.0"
-     xmlns:formx="urn:openoffice:names:experimental:ooxml-odf-interop:xmlns:form:1.0"
-     xmlns:css3t="http://www.w3.org/TR/css3-text/"
-     office:version="1.2"
-     grddl:transformation="http://docs.oasis-open.org/office/1.2/xslt/odf2rdf.xsl"
-     office:mimetype="application/vnd.oasis.opendocument.text">
+xmlns:style="urn:oasis:names:tc:opendocument:xmlns:style:1.0"
+xmlns:text="urn:oasis:names:tc:opendocument:xmlns:text:1.0"
+xmlns:table="urn:oasis:names:tc:opendocument:xmlns:table:1.0"
+xmlns:draw="urn:oasis:names:tc:opendocument:xmlns:drawing:1.0"
+xmlns:fo="urn:oasis:names:tc:opendocument:xmlns:xsl-fo-compatible:1.0"
+xmlns:xlink="http://www.w3.org/1999/xlink"
+xmlns:dc="http://purl.org/dc/elements/1.1/"
+xmlns:meta="urn:oasis:names:tc:opendocument:xmlns:meta:1.0"
+xmlns:number="urn:oasis:names:tc:opendocument:xmlns:datastyle:1.0"
+xmlns:svg="urn:oasis:names:tc:opendocument:xmlns:svg-compatible:1.0"
+xmlns:chart="urn:oasis:names:tc:opendocument:xmlns:chart:1.0"
+xmlns:dr3d="urn:oasis:names:tc:opendocument:xmlns:dr3d:1.0"
+xmlns:math="http://www.w3.org/1998/Math/MathML"
+xmlns:form="urn:oasis:names:tc:opendocument:xmlns:form:1.0"
+xmlns:script="urn:oasis:names:tc:opendocument:xmlns:script:1.0"
+xmlns:ooo="http://openoffice.org/2004/office"
+xmlns:ooow="http://openoffice.org/2004/writer"
+xmlns:oooc="http://openoffice.org/2004/calc"
+xmlns:dom="http://www.w3.org/2001/xml-events"
+xmlns:xforms="http://www.w3.org/2002/xforms"
+xmlns:xsd="http://www.w3.org/2001/XMLSchema"
+xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
+xmlns:rpt="http://openoffice.org/2005/report"
+xmlns:of="urn:oasis:names:tc:opendocument:xmlns:of:1.2"
+xmlns:xhtml="http://www.w3.org/1999/xhtml"
+xmlns:grddl="http://www.w3.org/2003/g/data-view#"
+xmlns:officeooo="http://openoffice.org/2009/office"
+xmlns:tableooo="http://openoffice.org/2009/table"
+xmlns:drawooo="http://openoffice.org/2010/draw"
+xmlns:calcext="urn:org:documentfoundation:names:experimental:calc:xmlns:calcext:1.0"
+xmlns:loext="urn:org:documentfoundation:names:experimental:office:xmlns:loext:1.0"
+xmlns:field="urn:openoffice:names:experimental:ooo-ms-interop:xmlns:field:1.0"
+xmlns:formx="urn:openoffice:names:experimental:ooxml-odf-interop:xmlns:form:1.0"
+xmlns:css3t="http://www.w3.org/TR/css3-text/"
+office:version="1.2"
+office:mimetype="application/vnd.oasis.opendocument.text">
 <office:font-face-decls>
    <style:font-face style:name="Courier New" svg:font-family="'Courier New'"
                     style:font-adornments="Regular"
index ea598127196b5aa8e3ed65adbeac1470b5aba511..0939f73b97c9190613ded3c0193d5bbbb5c998a7 100644 (file)
@@ -1,39 +1,41 @@
 <?xml version="1.0" encoding="UTF-8"?>
 <office:document xmlns:office="urn:oasis:names:tc:opendocument:xmlns:office:1.0"
-     xmlns:style="urn:oasis:names:tc:opendocument:xmlns:style:1.0"
-     xmlns:text="urn:oasis:names:tc:opendocument:xmlns:text:1.0"
-     xmlns:table="urn:oasis:names:tc:opendocument:xmlns:table:1.0"
-     xmlns:draw="urn:oasis:names:tc:opendocument:xmlns:drawing:1.0"
-     xmlns:fo="urn:oasis:names:tc:opendocument:xmlns:xsl-fo-compatible:1.0"
-     xmlns:xlink="http://www.w3.org/1999/xlink"
-     xmlns:dc="http://purl.org/dc/elements/1.1/"
-     xmlns:meta="urn:oasis:names:tc:opendocument:xmlns:meta:1.0"
-     xmlns:number="urn:oasis:names:tc:opendocument:xmlns:datastyle:1.0"
-     xmlns:svg="urn:oasis:names:tc:opendocument:xmlns:svg-compatible:1.0"
-     xmlns:chart="urn:oasis:names:tc:opendocument:xmlns:chart:1.0"
-     xmlns:dr3d="urn:oasis:names:tc:opendocument:xmlns:dr3d:1.0"
-     xmlns:math="http://www.w3.org/1998/Math/MathML"
-     xmlns:form="urn:oasis:names:tc:opendocument:xmlns:form:1.0"
-     xmlns:script="urn:oasis:names:tc:opendocument:xmlns:script:1.0"
-     xmlns:config="urn:oasis:names:tc:opendocument:xmlns:config:1.0"
-     xmlns:ooo="http://openoffice.org/2004/office"
-     xmlns:ooow="http://openoffice.org/2004/writer"
-     xmlns:oooc="http://openoffice.org/2004/calc"
-     xmlns:dom="http://www.w3.org/2001/xml-events"
-     xmlns:xforms="http://www.w3.org/2002/xforms"
-     xmlns:xsd="http://www.w3.org/2001/XMLSchema"
-     xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
-     xmlns:rpt="http://openoffice.org/2005/report"
-     xmlns:of="urn:oasis:names:tc:opendocument:xmlns:of:1.2"
-     xmlns:xhtml="http://www.w3.org/1999/xhtml"
-     xmlns:grddl="http://www.w3.org/2003/g/data-view#"
-     xmlns:tableooo="http://openoffice.org/2009/table"
-     xmlns:field="urn:openoffice:names:experimental:ooo-ms-interop:xmlns:field:1.0"
-     xmlns:formx="urn:openoffice:names:experimental:ooxml-odf-interop:xmlns:form:1.0"
-     xmlns:css3t="http://www.w3.org/TR/css3-text/"
-     office:version="1.2"
-     grddl:transformation="http://docs.oasis-open.org/office/1.2/xslt/odf2rdf.xsl"
-     office:mimetype="application/vnd.oasis.opendocument.text">
+xmlns:style="urn:oasis:names:tc:opendocument:xmlns:style:1.0"
+xmlns:text="urn:oasis:names:tc:opendocument:xmlns:text:1.0"
+xmlns:table="urn:oasis:names:tc:opendocument:xmlns:table:1.0"
+xmlns:draw="urn:oasis:names:tc:opendocument:xmlns:drawing:1.0"
+xmlns:fo="urn:oasis:names:tc:opendocument:xmlns:xsl-fo-compatible:1.0"
+xmlns:xlink="http://www.w3.org/1999/xlink"
+xmlns:dc="http://purl.org/dc/elements/1.1/"
+xmlns:meta="urn:oasis:names:tc:opendocument:xmlns:meta:1.0"
+xmlns:number="urn:oasis:names:tc:opendocument:xmlns:datastyle:1.0"
+xmlns:svg="urn:oasis:names:tc:opendocument:xmlns:svg-compatible:1.0"
+xmlns:chart="urn:oasis:names:tc:opendocument:xmlns:chart:1.0"
+xmlns:dr3d="urn:oasis:names:tc:opendocument:xmlns:dr3d:1.0"
+xmlns:math="http://www.w3.org/1998/Math/MathML"
+xmlns:form="urn:oasis:names:tc:opendocument:xmlns:form:1.0"
+xmlns:script="urn:oasis:names:tc:opendocument:xmlns:script:1.0"
+xmlns:ooo="http://openoffice.org/2004/office"
+xmlns:ooow="http://openoffice.org/2004/writer"
+xmlns:oooc="http://openoffice.org/2004/calc"
+xmlns:dom="http://www.w3.org/2001/xml-events"
+xmlns:xforms="http://www.w3.org/2002/xforms"
+xmlns:xsd="http://www.w3.org/2001/XMLSchema"
+xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
+xmlns:rpt="http://openoffice.org/2005/report"
+xmlns:of="urn:oasis:names:tc:opendocument:xmlns:of:1.2"
+xmlns:xhtml="http://www.w3.org/1999/xhtml"
+xmlns:grddl="http://www.w3.org/2003/g/data-view#"
+xmlns:officeooo="http://openoffice.org/2009/office"
+xmlns:tableooo="http://openoffice.org/2009/table"
+xmlns:drawooo="http://openoffice.org/2010/draw"
+xmlns:calcext="urn:org:documentfoundation:names:experimental:calc:xmlns:calcext:1.0"
+xmlns:loext="urn:org:documentfoundation:names:experimental:office:xmlns:loext:1.0"
+xmlns:field="urn:openoffice:names:experimental:ooo-ms-interop:xmlns:field:1.0"
+xmlns:formx="urn:openoffice:names:experimental:ooxml-odf-interop:xmlns:form:1.0"
+xmlns:css3t="http://www.w3.org/TR/css3-text/"
+office:version="1.2"
+office:mimetype="application/vnd.oasis.opendocument.text">
 <office:font-face-decls>
    <style:font-face style:name="Courier New" svg:font-family="'Courier New'"
                     style:font-adornments="Regular"
index 5589a8b7a9fa1f6e2efa75e0e0c04708e9c813ef..74ab6bc7eb3979b1701580ed8a7227c95ca99fef 100644 (file)
@@ -1,39 +1,41 @@
 <?xml version="1.0" encoding="UTF-8"?>
 <office:document xmlns:office="urn:oasis:names:tc:opendocument:xmlns:office:1.0"
-     xmlns:style="urn:oasis:names:tc:opendocument:xmlns:style:1.0"
-     xmlns:text="urn:oasis:names:tc:opendocument:xmlns:text:1.0"
-     xmlns:table="urn:oasis:names:tc:opendocument:xmlns:table:1.0"
-     xmlns:draw="urn:oasis:names:tc:opendocument:xmlns:drawing:1.0"
-     xmlns:fo="urn:oasis:names:tc:opendocument:xmlns:xsl-fo-compatible:1.0"
-     xmlns:xlink="http://www.w3.org/1999/xlink"
-     xmlns:dc="http://purl.org/dc/elements/1.1/"
-     xmlns:meta="urn:oasis:names:tc:opendocument:xmlns:meta:1.0"
-     xmlns:number="urn:oasis:names:tc:opendocument:xmlns:datastyle:1.0"
-     xmlns:svg="urn:oasis:names:tc:opendocument:xmlns:svg-compatible:1.0"
-     xmlns:chart="urn:oasis:names:tc:opendocument:xmlns:chart:1.0"
-     xmlns:dr3d="urn:oasis:names:tc:opendocument:xmlns:dr3d:1.0"
-     xmlns:math="http://www.w3.org/1998/Math/MathML"
-     xmlns:form="urn:oasis:names:tc:opendocument:xmlns:form:1.0"
-     xmlns:script="urn:oasis:names:tc:opendocument:xmlns:script:1.0"
-     xmlns:config="urn:oasis:names:tc:opendocument:xmlns:config:1.0"
-     xmlns:ooo="http://openoffice.org/2004/office"
-     xmlns:ooow="http://openoffice.org/2004/writer"
-     xmlns:oooc="http://openoffice.org/2004/calc"
-     xmlns:dom="http://www.w3.org/2001/xml-events"
-     xmlns:xforms="http://www.w3.org/2002/xforms"
-     xmlns:xsd="http://www.w3.org/2001/XMLSchema"
-     xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
-     xmlns:rpt="http://openoffice.org/2005/report"
-     xmlns:of="urn:oasis:names:tc:opendocument:xmlns:of:1.2"
-     xmlns:xhtml="http://www.w3.org/1999/xhtml"
-     xmlns:grddl="http://www.w3.org/2003/g/data-view#"
-     xmlns:tableooo="http://openoffice.org/2009/table"
-     xmlns:field="urn:openoffice:names:experimental:ooo-ms-interop:xmlns:field:1.0"
-     xmlns:formx="urn:openoffice:names:experimental:ooxml-odf-interop:xmlns:form:1.0"
-     xmlns:css3t="http://www.w3.org/TR/css3-text/"
-     office:version="1.2"
-     grddl:transformation="http://docs.oasis-open.org/office/1.2/xslt/odf2rdf.xsl"
-     office:mimetype="application/vnd.oasis.opendocument.text">
+xmlns:style="urn:oasis:names:tc:opendocument:xmlns:style:1.0"
+xmlns:text="urn:oasis:names:tc:opendocument:xmlns:text:1.0"
+xmlns:table="urn:oasis:names:tc:opendocument:xmlns:table:1.0"
+xmlns:draw="urn:oasis:names:tc:opendocument:xmlns:drawing:1.0"
+xmlns:fo="urn:oasis:names:tc:opendocument:xmlns:xsl-fo-compatible:1.0"
+xmlns:xlink="http://www.w3.org/1999/xlink"
+xmlns:dc="http://purl.org/dc/elements/1.1/"
+xmlns:meta="urn:oasis:names:tc:opendocument:xmlns:meta:1.0"
+xmlns:number="urn:oasis:names:tc:opendocument:xmlns:datastyle:1.0"
+xmlns:svg="urn:oasis:names:tc:opendocument:xmlns:svg-compatible:1.0"
+xmlns:chart="urn:oasis:names:tc:opendocument:xmlns:chart:1.0"
+xmlns:dr3d="urn:oasis:names:tc:opendocument:xmlns:dr3d:1.0"
+xmlns:math="http://www.w3.org/1998/Math/MathML"
+xmlns:form="urn:oasis:names:tc:opendocument:xmlns:form:1.0"
+xmlns:script="urn:oasis:names:tc:opendocument:xmlns:script:1.0"
+xmlns:ooo="http://openoffice.org/2004/office"
+xmlns:ooow="http://openoffice.org/2004/writer"
+xmlns:oooc="http://openoffice.org/2004/calc"
+xmlns:dom="http://www.w3.org/2001/xml-events"
+xmlns:xforms="http://www.w3.org/2002/xforms"
+xmlns:xsd="http://www.w3.org/2001/XMLSchema"
+xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
+xmlns:rpt="http://openoffice.org/2005/report"
+xmlns:of="urn:oasis:names:tc:opendocument:xmlns:of:1.2"
+xmlns:xhtml="http://www.w3.org/1999/xhtml"
+xmlns:grddl="http://www.w3.org/2003/g/data-view#"
+xmlns:officeooo="http://openoffice.org/2009/office"
+xmlns:tableooo="http://openoffice.org/2009/table"
+xmlns:drawooo="http://openoffice.org/2010/draw"
+xmlns:calcext="urn:org:documentfoundation:names:experimental:calc:xmlns:calcext:1.0"
+xmlns:loext="urn:org:documentfoundation:names:experimental:office:xmlns:loext:1.0"
+xmlns:field="urn:openoffice:names:experimental:ooo-ms-interop:xmlns:field:1.0"
+xmlns:formx="urn:openoffice:names:experimental:ooxml-odf-interop:xmlns:form:1.0"
+xmlns:css3t="http://www.w3.org/TR/css3-text/"
+office:version="1.2"
+office:mimetype="application/vnd.oasis.opendocument.text">
 <office:font-face-decls>
    <style:font-face style:name="Courier New" svg:font-family="'Courier New'"
                     style:font-adornments="Regular"
index be6699499b0e56a5915238d8853ce1d884d25257..f2139442b281ff5949776fbd796b49735ab26d6d 100644 (file)
@@ -1,39 +1,41 @@
 <?xml version="1.0" encoding="UTF-8"?>
 <office:document xmlns:office="urn:oasis:names:tc:opendocument:xmlns:office:1.0"
-     xmlns:style="urn:oasis:names:tc:opendocument:xmlns:style:1.0"
-     xmlns:text="urn:oasis:names:tc:opendocument:xmlns:text:1.0"
-     xmlns:table="urn:oasis:names:tc:opendocument:xmlns:table:1.0"
-     xmlns:draw="urn:oasis:names:tc:opendocument:xmlns:drawing:1.0"
-     xmlns:fo="urn:oasis:names:tc:opendocument:xmlns:xsl-fo-compatible:1.0"
-     xmlns:xlink="http://www.w3.org/1999/xlink"
-     xmlns:dc="http://purl.org/dc/elements/1.1/"
-     xmlns:meta="urn:oasis:names:tc:opendocument:xmlns:meta:1.0"
-     xmlns:number="urn:oasis:names:tc:opendocument:xmlns:datastyle:1.0"
-     xmlns:svg="urn:oasis:names:tc:opendocument:xmlns:svg-compatible:1.0"
-     xmlns:chart="urn:oasis:names:tc:opendocument:xmlns:chart:1.0"
-     xmlns:dr3d="urn:oasis:names:tc:opendocument:xmlns:dr3d:1.0"
-     xmlns:math="http://www.w3.org/1998/Math/MathML"
-     xmlns:form="urn:oasis:names:tc:opendocument:xmlns:form:1.0"
-     xmlns:script="urn:oasis:names:tc:opendocument:xmlns:script:1.0"
-     xmlns:config="urn:oasis:names:tc:opendocument:xmlns:config:1.0"
-     xmlns:ooo="http://openoffice.org/2004/office"
-     xmlns:ooow="http://openoffice.org/2004/writer"
-     xmlns:oooc="http://openoffice.org/2004/calc"
-     xmlns:dom="http://www.w3.org/2001/xml-events"
-     xmlns:xforms="http://www.w3.org/2002/xforms"
-     xmlns:xsd="http://www.w3.org/2001/XMLSchema"
-     xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
-     xmlns:rpt="http://openoffice.org/2005/report"
-     xmlns:of="urn:oasis:names:tc:opendocument:xmlns:of:1.2"
-     xmlns:xhtml="http://www.w3.org/1999/xhtml"
-     xmlns:grddl="http://www.w3.org/2003/g/data-view#"
-     xmlns:tableooo="http://openoffice.org/2009/table"
-     xmlns:field="urn:openoffice:names:experimental:ooo-ms-interop:xmlns:field:1.0"
-     xmlns:formx="urn:openoffice:names:experimental:ooxml-odf-interop:xmlns:form:1.0"
-     xmlns:css3t="http://www.w3.org/TR/css3-text/"
-     office:version="1.2"
-     grddl:transformation="http://docs.oasis-open.org/office/1.2/xslt/odf2rdf.xsl"
-     office:mimetype="application/vnd.oasis.opendocument.text">
+xmlns:style="urn:oasis:names:tc:opendocument:xmlns:style:1.0"
+xmlns:text="urn:oasis:names:tc:opendocument:xmlns:text:1.0"
+xmlns:table="urn:oasis:names:tc:opendocument:xmlns:table:1.0"
+xmlns:draw="urn:oasis:names:tc:opendocument:xmlns:drawing:1.0"
+xmlns:fo="urn:oasis:names:tc:opendocument:xmlns:xsl-fo-compatible:1.0"
+xmlns:xlink="http://www.w3.org/1999/xlink"
+xmlns:dc="http://purl.org/dc/elements/1.1/"
+xmlns:meta="urn:oasis:names:tc:opendocument:xmlns:meta:1.0"
+xmlns:number="urn:oasis:names:tc:opendocument:xmlns:datastyle:1.0"
+xmlns:svg="urn:oasis:names:tc:opendocument:xmlns:svg-compatible:1.0"
+xmlns:chart="urn:oasis:names:tc:opendocument:xmlns:chart:1.0"
+xmlns:dr3d="urn:oasis:names:tc:opendocument:xmlns:dr3d:1.0"
+xmlns:math="http://www.w3.org/1998/Math/MathML"
+xmlns:form="urn:oasis:names:tc:opendocument:xmlns:form:1.0"
+xmlns:script="urn:oasis:names:tc:opendocument:xmlns:script:1.0"
+xmlns:ooo="http://openoffice.org/2004/office"
+xmlns:ooow="http://openoffice.org/2004/writer"
+xmlns:oooc="http://openoffice.org/2004/calc"
+xmlns:dom="http://www.w3.org/2001/xml-events"
+xmlns:xforms="http://www.w3.org/2002/xforms"
+xmlns:xsd="http://www.w3.org/2001/XMLSchema"
+xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
+xmlns:rpt="http://openoffice.org/2005/report"
+xmlns:of="urn:oasis:names:tc:opendocument:xmlns:of:1.2"
+xmlns:xhtml="http://www.w3.org/1999/xhtml"
+xmlns:grddl="http://www.w3.org/2003/g/data-view#"
+xmlns:officeooo="http://openoffice.org/2009/office"
+xmlns:tableooo="http://openoffice.org/2009/table"
+xmlns:drawooo="http://openoffice.org/2010/draw"
+xmlns:calcext="urn:org:documentfoundation:names:experimental:calc:xmlns:calcext:1.0"
+xmlns:loext="urn:org:documentfoundation:names:experimental:office:xmlns:loext:1.0"
+xmlns:field="urn:openoffice:names:experimental:ooo-ms-interop:xmlns:field:1.0"
+xmlns:formx="urn:openoffice:names:experimental:ooxml-odf-interop:xmlns:form:1.0"
+xmlns:css3t="http://www.w3.org/TR/css3-text/"
+office:version="1.2"
+office:mimetype="application/vnd.oasis.opendocument.text">
 <office:font-face-decls>
    <style:font-face style:name="Courier New" svg:font-family="'Courier New'"
                     style:font-adornments="Regular"
index 3fd59c8f2f689bbb3772738514eef632dac65190..40eb3a9ce1b3eadc297b323846b85bf9cf271a8b 100644 (file)
@@ -1,39 +1,41 @@
 <?xml version="1.0" encoding="UTF-8"?>
 <office:document xmlns:office="urn:oasis:names:tc:opendocument:xmlns:office:1.0"
-     xmlns:style="urn:oasis:names:tc:opendocument:xmlns:style:1.0"
-     xmlns:text="urn:oasis:names:tc:opendocument:xmlns:text:1.0"
-     xmlns:table="urn:oasis:names:tc:opendocument:xmlns:table:1.0"
-     xmlns:draw="urn:oasis:names:tc:opendocument:xmlns:drawing:1.0"
-     xmlns:fo="urn:oasis:names:tc:opendocument:xmlns:xsl-fo-compatible:1.0"
-     xmlns:xlink="http://www.w3.org/1999/xlink"
-     xmlns:dc="http://purl.org/dc/elements/1.1/"
-     xmlns:meta="urn:oasis:names:tc:opendocument:xmlns:meta:1.0"
-     xmlns:number="urn:oasis:names:tc:opendocument:xmlns:datastyle:1.0"
-     xmlns:svg="urn:oasis:names:tc:opendocument:xmlns:svg-compatible:1.0"
-     xmlns:chart="urn:oasis:names:tc:opendocument:xmlns:chart:1.0"
-     xmlns:dr3d="urn:oasis:names:tc:opendocument:xmlns:dr3d:1.0"
-     xmlns:math="http://www.w3.org/1998/Math/MathML"
-     xmlns:form="urn:oasis:names:tc:opendocument:xmlns:form:1.0"
-     xmlns:script="urn:oasis:names:tc:opendocument:xmlns:script:1.0"
-     xmlns:config="urn:oasis:names:tc:opendocument:xmlns:config:1.0"
-     xmlns:ooo="http://openoffice.org/2004/office"
-     xmlns:ooow="http://openoffice.org/2004/writer"
-     xmlns:oooc="http://openoffice.org/2004/calc"
-     xmlns:dom="http://www.w3.org/2001/xml-events"
-     xmlns:xforms="http://www.w3.org/2002/xforms"
-     xmlns:xsd="http://www.w3.org/2001/XMLSchema"
-     xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
-     xmlns:rpt="http://openoffice.org/2005/report"
-     xmlns:of="urn:oasis:names:tc:opendocument:xmlns:of:1.2"
-     xmlns:xhtml="http://www.w3.org/1999/xhtml"
-     xmlns:grddl="http://www.w3.org/2003/g/data-view#"
-     xmlns:tableooo="http://openoffice.org/2009/table"
-     xmlns:field="urn:openoffice:names:experimental:ooo-ms-interop:xmlns:field:1.0"
-     xmlns:formx="urn:openoffice:names:experimental:ooxml-odf-interop:xmlns:form:1.0"
-     xmlns:css3t="http://www.w3.org/TR/css3-text/"
-     office:version="1.2"
-     grddl:transformation="http://docs.oasis-open.org/office/1.2/xslt/odf2rdf.xsl"
-     office:mimetype="application/vnd.oasis.opendocument.text">
+xmlns:style="urn:oasis:names:tc:opendocument:xmlns:style:1.0"
+xmlns:text="urn:oasis:names:tc:opendocument:xmlns:text:1.0"
+xmlns:table="urn:oasis:names:tc:opendocument:xmlns:table:1.0"
+xmlns:draw="urn:oasis:names:tc:opendocument:xmlns:drawing:1.0"
+xmlns:fo="urn:oasis:names:tc:opendocument:xmlns:xsl-fo-compatible:1.0"
+xmlns:xlink="http://www.w3.org/1999/xlink"
+xmlns:dc="http://purl.org/dc/elements/1.1/"
+xmlns:meta="urn:oasis:names:tc:opendocument:xmlns:meta:1.0"
+xmlns:number="urn:oasis:names:tc:opendocument:xmlns:datastyle:1.0"
+xmlns:svg="urn:oasis:names:tc:opendocument:xmlns:svg-compatible:1.0"
+xmlns:chart="urn:oasis:names:tc:opendocument:xmlns:chart:1.0"
+xmlns:dr3d="urn:oasis:names:tc:opendocument:xmlns:dr3d:1.0"
+xmlns:math="http://www.w3.org/1998/Math/MathML"
+xmlns:form="urn:oasis:names:tc:opendocument:xmlns:form:1.0"
+xmlns:script="urn:oasis:names:tc:opendocument:xmlns:script:1.0"
+xmlns:ooo="http://openoffice.org/2004/office"
+xmlns:ooow="http://openoffice.org/2004/writer"
+xmlns:oooc="http://openoffice.org/2004/calc"
+xmlns:dom="http://www.w3.org/2001/xml-events"
+xmlns:xforms="http://www.w3.org/2002/xforms"
+xmlns:xsd="http://www.w3.org/2001/XMLSchema"
+xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
+xmlns:rpt="http://openoffice.org/2005/report"
+xmlns:of="urn:oasis:names:tc:opendocument:xmlns:of:1.2"
+xmlns:xhtml="http://www.w3.org/1999/xhtml"
+xmlns:grddl="http://www.w3.org/2003/g/data-view#"
+xmlns:officeooo="http://openoffice.org/2009/office"
+xmlns:tableooo="http://openoffice.org/2009/table"
+xmlns:drawooo="http://openoffice.org/2010/draw"
+xmlns:calcext="urn:org:documentfoundation:names:experimental:calc:xmlns:calcext:1.0"
+xmlns:loext="urn:org:documentfoundation:names:experimental:office:xmlns:loext:1.0"
+xmlns:field="urn:openoffice:names:experimental:ooo-ms-interop:xmlns:field:1.0"
+xmlns:formx="urn:openoffice:names:experimental:ooxml-odf-interop:xmlns:form:1.0"
+xmlns:css3t="http://www.w3.org/TR/css3-text/"
+office:version="1.2"
+office:mimetype="application/vnd.oasis.opendocument.text">
 <office:font-face-decls>
    <style:font-face style:name="Courier New" svg:font-family="'Courier New'"
                     style:font-adornments="Regular"
index 83248a310cbef3fcc01056eb763d21a3749c870f..a366b792edb0f7e0986dc0ad209d79d7a5f20ae6 100644 (file)
@@ -1,39 +1,41 @@
 <?xml version="1.0" encoding="UTF-8"?>
 <office:document xmlns:office="urn:oasis:names:tc:opendocument:xmlns:office:1.0"
-     xmlns:style="urn:oasis:names:tc:opendocument:xmlns:style:1.0"
-     xmlns:text="urn:oasis:names:tc:opendocument:xmlns:text:1.0"
-     xmlns:table="urn:oasis:names:tc:opendocument:xmlns:table:1.0"
-     xmlns:draw="urn:oasis:names:tc:opendocument:xmlns:drawing:1.0"
-     xmlns:fo="urn:oasis:names:tc:opendocument:xmlns:xsl-fo-compatible:1.0"
-     xmlns:xlink="http://www.w3.org/1999/xlink"
-     xmlns:dc="http://purl.org/dc/elements/1.1/"
-     xmlns:meta="urn:oasis:names:tc:opendocument:xmlns:meta:1.0"
-     xmlns:number="urn:oasis:names:tc:opendocument:xmlns:datastyle:1.0"
-     xmlns:svg="urn:oasis:names:tc:opendocument:xmlns:svg-compatible:1.0"
-     xmlns:chart="urn:oasis:names:tc:opendocument:xmlns:chart:1.0"
-     xmlns:dr3d="urn:oasis:names:tc:opendocument:xmlns:dr3d:1.0"
-     xmlns:math="http://www.w3.org/1998/Math/MathML"
-     xmlns:form="urn:oasis:names:tc:opendocument:xmlns:form:1.0"
-     xmlns:script="urn:oasis:names:tc:opendocument:xmlns:script:1.0"
-     xmlns:config="urn:oasis:names:tc:opendocument:xmlns:config:1.0"
-     xmlns:ooo="http://openoffice.org/2004/office"
-     xmlns:ooow="http://openoffice.org/2004/writer"
-     xmlns:oooc="http://openoffice.org/2004/calc"
-     xmlns:dom="http://www.w3.org/2001/xml-events"
-     xmlns:xforms="http://www.w3.org/2002/xforms"
-     xmlns:xsd="http://www.w3.org/2001/XMLSchema"
-     xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
-     xmlns:rpt="http://openoffice.org/2005/report"
-     xmlns:of="urn:oasis:names:tc:opendocument:xmlns:of:1.2"
-     xmlns:xhtml="http://www.w3.org/1999/xhtml"
-     xmlns:grddl="http://www.w3.org/2003/g/data-view#"
-     xmlns:tableooo="http://openoffice.org/2009/table"
-     xmlns:field="urn:openoffice:names:experimental:ooo-ms-interop:xmlns:field:1.0"
-     xmlns:formx="urn:openoffice:names:experimental:ooxml-odf-interop:xmlns:form:1.0"
-     xmlns:css3t="http://www.w3.org/TR/css3-text/"
-     office:version="1.2"
-     grddl:transformation="http://docs.oasis-open.org/office/1.2/xslt/odf2rdf.xsl"
-     office:mimetype="application/vnd.oasis.opendocument.text">
+xmlns:style="urn:oasis:names:tc:opendocument:xmlns:style:1.0"
+xmlns:text="urn:oasis:names:tc:opendocument:xmlns:text:1.0"
+xmlns:table="urn:oasis:names:tc:opendocument:xmlns:table:1.0"
+xmlns:draw="urn:oasis:names:tc:opendocument:xmlns:drawing:1.0"
+xmlns:fo="urn:oasis:names:tc:opendocument:xmlns:xsl-fo-compatible:1.0"
+xmlns:xlink="http://www.w3.org/1999/xlink"
+xmlns:dc="http://purl.org/dc/elements/1.1/"
+xmlns:meta="urn:oasis:names:tc:opendocument:xmlns:meta:1.0"
+xmlns:number="urn:oasis:names:tc:opendocument:xmlns:datastyle:1.0"
+xmlns:svg="urn:oasis:names:tc:opendocument:xmlns:svg-compatible:1.0"
+xmlns:chart="urn:oasis:names:tc:opendocument:xmlns:chart:1.0"
+xmlns:dr3d="urn:oasis:names:tc:opendocument:xmlns:dr3d:1.0"
+xmlns:math="http://www.w3.org/1998/Math/MathML"
+xmlns:form="urn:oasis:names:tc:opendocument:xmlns:form:1.0"
+xmlns:script="urn:oasis:names:tc:opendocument:xmlns:script:1.0"
+xmlns:ooo="http://openoffice.org/2004/office"
+xmlns:ooow="http://openoffice.org/2004/writer"
+xmlns:oooc="http://openoffice.org/2004/calc"
+xmlns:dom="http://www.w3.org/2001/xml-events"
+xmlns:xforms="http://www.w3.org/2002/xforms"
+xmlns:xsd="http://www.w3.org/2001/XMLSchema"
+xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
+xmlns:rpt="http://openoffice.org/2005/report"
+xmlns:of="urn:oasis:names:tc:opendocument:xmlns:of:1.2"
+xmlns:xhtml="http://www.w3.org/1999/xhtml"
+xmlns:grddl="http://www.w3.org/2003/g/data-view#"
+xmlns:officeooo="http://openoffice.org/2009/office"
+xmlns:tableooo="http://openoffice.org/2009/table"
+xmlns:drawooo="http://openoffice.org/2010/draw"
+xmlns:calcext="urn:org:documentfoundation:names:experimental:calc:xmlns:calcext:1.0"
+xmlns:loext="urn:org:documentfoundation:names:experimental:office:xmlns:loext:1.0"
+xmlns:field="urn:openoffice:names:experimental:ooo-ms-interop:xmlns:field:1.0"
+xmlns:formx="urn:openoffice:names:experimental:ooxml-odf-interop:xmlns:form:1.0"
+xmlns:css3t="http://www.w3.org/TR/css3-text/"
+office:version="1.2"
+office:mimetype="application/vnd.oasis.opendocument.text">
 <office:font-face-decls>
    <style:font-face style:name="Courier New" svg:font-family="'Courier New'"
                     style:font-adornments="Regular"
index 53b44b45598ecccf4985e244fc38e6ea496e6a7f..7f5029520cf081f5029cf1e272c34f5867077524 100644 (file)
@@ -1,39 +1,41 @@
 <?xml version="1.0" encoding="UTF-8"?>
 <office:document xmlns:office="urn:oasis:names:tc:opendocument:xmlns:office:1.0"
-     xmlns:style="urn:oasis:names:tc:opendocument:xmlns:style:1.0"
-     xmlns:text="urn:oasis:names:tc:opendocument:xmlns:text:1.0"
-     xmlns:table="urn:oasis:names:tc:opendocument:xmlns:table:1.0"
-     xmlns:draw="urn:oasis:names:tc:opendocument:xmlns:drawing:1.0"
-     xmlns:fo="urn:oasis:names:tc:opendocument:xmlns:xsl-fo-compatible:1.0"
-     xmlns:xlink="http://www.w3.org/1999/xlink"
-     xmlns:dc="http://purl.org/dc/elements/1.1/"
-     xmlns:meta="urn:oasis:names:tc:opendocument:xmlns:meta:1.0"
-     xmlns:number="urn:oasis:names:tc:opendocument:xmlns:datastyle:1.0"
-     xmlns:svg="urn:oasis:names:tc:opendocument:xmlns:svg-compatible:1.0"
-     xmlns:chart="urn:oasis:names:tc:opendocument:xmlns:chart:1.0"
-     xmlns:dr3d="urn:oasis:names:tc:opendocument:xmlns:dr3d:1.0"
-     xmlns:math="http://www.w3.org/1998/Math/MathML"
-     xmlns:form="urn:oasis:names:tc:opendocument:xmlns:form:1.0"
-     xmlns:script="urn:oasis:names:tc:opendocument:xmlns:script:1.0"
-     xmlns:config="urn:oasis:names:tc:opendocument:xmlns:config:1.0"
-     xmlns:ooo="http://openoffice.org/2004/office"
-     xmlns:ooow="http://openoffice.org/2004/writer"
-     xmlns:oooc="http://openoffice.org/2004/calc"
-     xmlns:dom="http://www.w3.org/2001/xml-events"
-     xmlns:xforms="http://www.w3.org/2002/xforms"
-     xmlns:xsd="http://www.w3.org/2001/XMLSchema"
-     xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
-     xmlns:rpt="http://openoffice.org/2005/report"
-     xmlns:of="urn:oasis:names:tc:opendocument:xmlns:of:1.2"
-     xmlns:xhtml="http://www.w3.org/1999/xhtml"
-     xmlns:grddl="http://www.w3.org/2003/g/data-view#"
-     xmlns:tableooo="http://openoffice.org/2009/table"
-     xmlns:field="urn:openoffice:names:experimental:ooo-ms-interop:xmlns:field:1.0"
-     xmlns:formx="urn:openoffice:names:experimental:ooxml-odf-interop:xmlns:form:1.0"
-     xmlns:css3t="http://www.w3.org/TR/css3-text/"
-     office:version="1.2"
-     grddl:transformation="http://docs.oasis-open.org/office/1.2/xslt/odf2rdf.xsl"
-     office:mimetype="application/vnd.oasis.opendocument.text">
+xmlns:style="urn:oasis:names:tc:opendocument:xmlns:style:1.0"
+xmlns:text="urn:oasis:names:tc:opendocument:xmlns:text:1.0"
+xmlns:table="urn:oasis:names:tc:opendocument:xmlns:table:1.0"
+xmlns:draw="urn:oasis:names:tc:opendocument:xmlns:drawing:1.0"
+xmlns:fo="urn:oasis:names:tc:opendocument:xmlns:xsl-fo-compatible:1.0"
+xmlns:xlink="http://www.w3.org/1999/xlink"
+xmlns:dc="http://purl.org/dc/elements/1.1/"
+xmlns:meta="urn:oasis:names:tc:opendocument:xmlns:meta:1.0"
+xmlns:number="urn:oasis:names:tc:opendocument:xmlns:datastyle:1.0"
+xmlns:svg="urn:oasis:names:tc:opendocument:xmlns:svg-compatible:1.0"
+xmlns:chart="urn:oasis:names:tc:opendocument:xmlns:chart:1.0"
+xmlns:dr3d="urn:oasis:names:tc:opendocument:xmlns:dr3d:1.0"
+xmlns:math="http://www.w3.org/1998/Math/MathML"
+xmlns:form="urn:oasis:names:tc:opendocument:xmlns:form:1.0"
+xmlns:script="urn:oasis:names:tc:opendocument:xmlns:script:1.0"
+xmlns:ooo="http://openoffice.org/2004/office"
+xmlns:ooow="http://openoffice.org/2004/writer"
+xmlns:oooc="http://openoffice.org/2004/calc"
+xmlns:dom="http://www.w3.org/2001/xml-events"
+xmlns:xforms="http://www.w3.org/2002/xforms"
+xmlns:xsd="http://www.w3.org/2001/XMLSchema"
+xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
+xmlns:rpt="http://openoffice.org/2005/report"
+xmlns:of="urn:oasis:names:tc:opendocument:xmlns:of:1.2"
+xmlns:xhtml="http://www.w3.org/1999/xhtml"
+xmlns:grddl="http://www.w3.org/2003/g/data-view#"
+xmlns:officeooo="http://openoffice.org/2009/office"
+xmlns:tableooo="http://openoffice.org/2009/table"
+xmlns:drawooo="http://openoffice.org/2010/draw"
+xmlns:calcext="urn:org:documentfoundation:names:experimental:calc:xmlns:calcext:1.0"
+xmlns:loext="urn:org:documentfoundation:names:experimental:office:xmlns:loext:1.0"
+xmlns:field="urn:openoffice:names:experimental:ooo-ms-interop:xmlns:field:1.0"
+xmlns:formx="urn:openoffice:names:experimental:ooxml-odf-interop:xmlns:form:1.0"
+xmlns:css3t="http://www.w3.org/TR/css3-text/"
+office:version="1.2"
+office:mimetype="application/vnd.oasis.opendocument.text">
 <office:font-face-decls>
    <style:font-face style:name="Courier New" svg:font-family="'Courier New'"
                     style:font-adornments="Regular"
index f9991d7d11131c957430e3484267046cf6b0aac8..0d59af04502a0e44137ee05e66067c1ca07cd0e6 100644 (file)
@@ -1,39 +1,41 @@
 <?xml version="1.0" encoding="UTF-8"?>
 <office:document xmlns:office="urn:oasis:names:tc:opendocument:xmlns:office:1.0"
-     xmlns:style="urn:oasis:names:tc:opendocument:xmlns:style:1.0"
-     xmlns:text="urn:oasis:names:tc:opendocument:xmlns:text:1.0"
-     xmlns:table="urn:oasis:names:tc:opendocument:xmlns:table:1.0"
-     xmlns:draw="urn:oasis:names:tc:opendocument:xmlns:drawing:1.0"
-     xmlns:fo="urn:oasis:names:tc:opendocument:xmlns:xsl-fo-compatible:1.0"
-     xmlns:xlink="http://www.w3.org/1999/xlink"
-     xmlns:dc="http://purl.org/dc/elements/1.1/"
-     xmlns:meta="urn:oasis:names:tc:opendocument:xmlns:meta:1.0"
-     xmlns:number="urn:oasis:names:tc:opendocument:xmlns:datastyle:1.0"
-     xmlns:svg="urn:oasis:names:tc:opendocument:xmlns:svg-compatible:1.0"
-     xmlns:chart="urn:oasis:names:tc:opendocument:xmlns:chart:1.0"
-     xmlns:dr3d="urn:oasis:names:tc:opendocument:xmlns:dr3d:1.0"
-     xmlns:math="http://www.w3.org/1998/Math/MathML"
-     xmlns:form="urn:oasis:names:tc:opendocument:xmlns:form:1.0"
-     xmlns:script="urn:oasis:names:tc:opendocument:xmlns:script:1.0"
-     xmlns:config="urn:oasis:names:tc:opendocument:xmlns:config:1.0"
-     xmlns:ooo="http://openoffice.org/2004/office"
-     xmlns:ooow="http://openoffice.org/2004/writer"
-     xmlns:oooc="http://openoffice.org/2004/calc"
-     xmlns:dom="http://www.w3.org/2001/xml-events"
-     xmlns:xforms="http://www.w3.org/2002/xforms"
-     xmlns:xsd="http://www.w3.org/2001/XMLSchema"
-     xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
-     xmlns:rpt="http://openoffice.org/2005/report"
-     xmlns:of="urn:oasis:names:tc:opendocument:xmlns:of:1.2"
-     xmlns:xhtml="http://www.w3.org/1999/xhtml"
-     xmlns:grddl="http://www.w3.org/2003/g/data-view#"
-     xmlns:tableooo="http://openoffice.org/2009/table"
-     xmlns:field="urn:openoffice:names:experimental:ooo-ms-interop:xmlns:field:1.0"
-     xmlns:formx="urn:openoffice:names:experimental:ooxml-odf-interop:xmlns:form:1.0"
-     xmlns:css3t="http://www.w3.org/TR/css3-text/"
-     office:version="1.2"
-     grddl:transformation="http://docs.oasis-open.org/office/1.2/xslt/odf2rdf.xsl"
-     office:mimetype="application/vnd.oasis.opendocument.text">
+xmlns:style="urn:oasis:names:tc:opendocument:xmlns:style:1.0"
+xmlns:text="urn:oasis:names:tc:opendocument:xmlns:text:1.0"
+xmlns:table="urn:oasis:names:tc:opendocument:xmlns:table:1.0"
+xmlns:draw="urn:oasis:names:tc:opendocument:xmlns:drawing:1.0"
+xmlns:fo="urn:oasis:names:tc:opendocument:xmlns:xsl-fo-compatible:1.0"
+xmlns:xlink="http://www.w3.org/1999/xlink"
+xmlns:dc="http://purl.org/dc/elements/1.1/"
+xmlns:meta="urn:oasis:names:tc:opendocument:xmlns:meta:1.0"
+xmlns:number="urn:oasis:names:tc:opendocument:xmlns:datastyle:1.0"
+xmlns:svg="urn:oasis:names:tc:opendocument:xmlns:svg-compatible:1.0"
+xmlns:chart="urn:oasis:names:tc:opendocument:xmlns:chart:1.0"
+xmlns:dr3d="urn:oasis:names:tc:opendocument:xmlns:dr3d:1.0"
+xmlns:math="http://www.w3.org/1998/Math/MathML"
+xmlns:form="urn:oasis:names:tc:opendocument:xmlns:form:1.0"
+xmlns:script="urn:oasis:names:tc:opendocument:xmlns:script:1.0"
+xmlns:ooo="http://openoffice.org/2004/office"
+xmlns:ooow="http://openoffice.org/2004/writer"
+xmlns:oooc="http://openoffice.org/2004/calc"
+xmlns:dom="http://www.w3.org/2001/xml-events"
+xmlns:xforms="http://www.w3.org/2002/xforms"
+xmlns:xsd="http://www.w3.org/2001/XMLSchema"
+xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
+xmlns:rpt="http://openoffice.org/2005/report"
+xmlns:of="urn:oasis:names:tc:opendocument:xmlns:of:1.2"
+xmlns:xhtml="http://www.w3.org/1999/xhtml"
+xmlns:grddl="http://www.w3.org/2003/g/data-view#"
+xmlns:officeooo="http://openoffice.org/2009/office"
+xmlns:tableooo="http://openoffice.org/2009/table"
+xmlns:drawooo="http://openoffice.org/2010/draw"
+xmlns:calcext="urn:org:documentfoundation:names:experimental:calc:xmlns:calcext:1.0"
+xmlns:loext="urn:org:documentfoundation:names:experimental:office:xmlns:loext:1.0"
+xmlns:field="urn:openoffice:names:experimental:ooo-ms-interop:xmlns:field:1.0"
+xmlns:formx="urn:openoffice:names:experimental:ooxml-odf-interop:xmlns:form:1.0"
+xmlns:css3t="http://www.w3.org/TR/css3-text/"
+office:version="1.2"
+office:mimetype="application/vnd.oasis.opendocument.text">
 <office:font-face-decls>
    <style:font-face style:name="Courier New" svg:font-family="'Courier New'"
                     style:font-adornments="Regular"
index d1bec126af484e1738e6d00a2cedff63a60aff18..02c5f338fc4df2ce8a2c09453d226020a6a81764 100644 (file)
@@ -1,39 +1,41 @@
 <?xml version="1.0" encoding="UTF-8"?>
 <office:document xmlns:office="urn:oasis:names:tc:opendocument:xmlns:office:1.0"
-     xmlns:style="urn:oasis:names:tc:opendocument:xmlns:style:1.0"
-     xmlns:text="urn:oasis:names:tc:opendocument:xmlns:text:1.0"
-     xmlns:table="urn:oasis:names:tc:opendocument:xmlns:table:1.0"
-     xmlns:draw="urn:oasis:names:tc:opendocument:xmlns:drawing:1.0"
-     xmlns:fo="urn:oasis:names:tc:opendocument:xmlns:xsl-fo-compatible:1.0"
-     xmlns:xlink="http://www.w3.org/1999/xlink"
-     xmlns:dc="http://purl.org/dc/elements/1.1/"
-     xmlns:meta="urn:oasis:names:tc:opendocument:xmlns:meta:1.0"
-     xmlns:number="urn:oasis:names:tc:opendocument:xmlns:datastyle:1.0"
-     xmlns:svg="urn:oasis:names:tc:opendocument:xmlns:svg-compatible:1.0"
-     xmlns:chart="urn:oasis:names:tc:opendocument:xmlns:chart:1.0"
-     xmlns:dr3d="urn:oasis:names:tc:opendocument:xmlns:dr3d:1.0"
-     xmlns:math="http://www.w3.org/1998/Math/MathML"
-     xmlns:form="urn:oasis:names:tc:opendocument:xmlns:form:1.0"
-     xmlns:script="urn:oasis:names:tc:opendocument:xmlns:script:1.0"
-     xmlns:config="urn:oasis:names:tc:opendocument:xmlns:config:1.0"
-     xmlns:ooo="http://openoffice.org/2004/office"
-     xmlns:ooow="http://openoffice.org/2004/writer"
-     xmlns:oooc="http://openoffice.org/2004/calc"
-     xmlns:dom="http://www.w3.org/2001/xml-events"
-     xmlns:xforms="http://www.w3.org/2002/xforms"
-     xmlns:xsd="http://www.w3.org/2001/XMLSchema"
-     xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
-     xmlns:rpt="http://openoffice.org/2005/report"
-     xmlns:of="urn:oasis:names:tc:opendocument:xmlns:of:1.2"
-     xmlns:xhtml="http://www.w3.org/1999/xhtml"
-     xmlns:grddl="http://www.w3.org/2003/g/data-view#"
-     xmlns:tableooo="http://openoffice.org/2009/table"
-     xmlns:field="urn:openoffice:names:experimental:ooo-ms-interop:xmlns:field:1.0"
-     xmlns:formx="urn:openoffice:names:experimental:ooxml-odf-interop:xmlns:form:1.0"
-     xmlns:css3t="http://www.w3.org/TR/css3-text/"
-     office:version="1.2"
-     grddl:transformation="http://docs.oasis-open.org/office/1.2/xslt/odf2rdf.xsl"
-     office:mimetype="application/vnd.oasis.opendocument.text">
+xmlns:style="urn:oasis:names:tc:opendocument:xmlns:style:1.0"
+xmlns:text="urn:oasis:names:tc:opendocument:xmlns:text:1.0"
+xmlns:table="urn:oasis:names:tc:opendocument:xmlns:table:1.0"
+xmlns:draw="urn:oasis:names:tc:opendocument:xmlns:drawing:1.0"
+xmlns:fo="urn:oasis:names:tc:opendocument:xmlns:xsl-fo-compatible:1.0"
+xmlns:xlink="http://www.w3.org/1999/xlink"
+xmlns:dc="http://purl.org/dc/elements/1.1/"
+xmlns:meta="urn:oasis:names:tc:opendocument:xmlns:meta:1.0"
+xmlns:number="urn:oasis:names:tc:opendocument:xmlns:datastyle:1.0"
+xmlns:svg="urn:oasis:names:tc:opendocument:xmlns:svg-compatible:1.0"
+xmlns:chart="urn:oasis:names:tc:opendocument:xmlns:chart:1.0"
+xmlns:dr3d="urn:oasis:names:tc:opendocument:xmlns:dr3d:1.0"
+xmlns:math="http://www.w3.org/1998/Math/MathML"
+xmlns:form="urn:oasis:names:tc:opendocument:xmlns:form:1.0"
+xmlns:script="urn:oasis:names:tc:opendocument:xmlns:script:1.0"
+xmlns:ooo="http://openoffice.org/2004/office"
+xmlns:ooow="http://openoffice.org/2004/writer"
+xmlns:oooc="http://openoffice.org/2004/calc"
+xmlns:dom="http://www.w3.org/2001/xml-events"
+xmlns:xforms="http://www.w3.org/2002/xforms"
+xmlns:xsd="http://www.w3.org/2001/XMLSchema"
+xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
+xmlns:rpt="http://openoffice.org/2005/report"
+xmlns:of="urn:oasis:names:tc:opendocument:xmlns:of:1.2"
+xmlns:xhtml="http://www.w3.org/1999/xhtml"
+xmlns:grddl="http://www.w3.org/2003/g/data-view#"
+xmlns:officeooo="http://openoffice.org/2009/office"
+xmlns:tableooo="http://openoffice.org/2009/table"
+xmlns:drawooo="http://openoffice.org/2010/draw"
+xmlns:calcext="urn:org:documentfoundation:names:experimental:calc:xmlns:calcext:1.0"
+xmlns:loext="urn:org:documentfoundation:names:experimental:office:xmlns:loext:1.0"
+xmlns:field="urn:openoffice:names:experimental:ooo-ms-interop:xmlns:field:1.0"
+xmlns:formx="urn:openoffice:names:experimental:ooxml-odf-interop:xmlns:form:1.0"
+xmlns:css3t="http://www.w3.org/TR/css3-text/"
+office:version="1.2"
+office:mimetype="application/vnd.oasis.opendocument.text">
 <office:font-face-decls>
    <style:font-face style:name="Courier New" svg:font-family="'Courier New'"
                     style:font-adornments="Regular"
index 6c92bc08001e9e2835dee0de1442fe0410ff5346..025ea08f1628437c531b76440737aa245be45981 100644 (file)
@@ -1,39 +1,41 @@
 <?xml version="1.0" encoding="UTF-8"?>
 <office:document xmlns:office="urn:oasis:names:tc:opendocument:xmlns:office:1.0"
-     xmlns:style="urn:oasis:names:tc:opendocument:xmlns:style:1.0"
-     xmlns:text="urn:oasis:names:tc:opendocument:xmlns:text:1.0"
-     xmlns:table="urn:oasis:names:tc:opendocument:xmlns:table:1.0"
-     xmlns:draw="urn:oasis:names:tc:opendocument:xmlns:drawing:1.0"
-     xmlns:fo="urn:oasis:names:tc:opendocument:xmlns:xsl-fo-compatible:1.0"
-     xmlns:xlink="http://www.w3.org/1999/xlink"
-     xmlns:dc="http://purl.org/dc/elements/1.1/"
-     xmlns:meta="urn:oasis:names:tc:opendocument:xmlns:meta:1.0"
-     xmlns:number="urn:oasis:names:tc:opendocument:xmlns:datastyle:1.0"
-     xmlns:svg="urn:oasis:names:tc:opendocument:xmlns:svg-compatible:1.0"
-     xmlns:chart="urn:oasis:names:tc:opendocument:xmlns:chart:1.0"
-     xmlns:dr3d="urn:oasis:names:tc:opendocument:xmlns:dr3d:1.0"
-     xmlns:math="http://www.w3.org/1998/Math/MathML"
-     xmlns:form="urn:oasis:names:tc:opendocument:xmlns:form:1.0"
-     xmlns:script="urn:oasis:names:tc:opendocument:xmlns:script:1.0"
-     xmlns:config="urn:oasis:names:tc:opendocument:xmlns:config:1.0"
-     xmlns:ooo="http://openoffice.org/2004/office"
-     xmlns:ooow="http://openoffice.org/2004/writer"
-     xmlns:oooc="http://openoffice.org/2004/calc"
-     xmlns:dom="http://www.w3.org/2001/xml-events"
-     xmlns:xforms="http://www.w3.org/2002/xforms"
-     xmlns:xsd="http://www.w3.org/2001/XMLSchema"
-     xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
-     xmlns:rpt="http://openoffice.org/2005/report"
-     xmlns:of="urn:oasis:names:tc:opendocument:xmlns:of:1.2"
-     xmlns:xhtml="http://www.w3.org/1999/xhtml"
-     xmlns:grddl="http://www.w3.org/2003/g/data-view#"
-     xmlns:tableooo="http://openoffice.org/2009/table"
-     xmlns:field="urn:openoffice:names:experimental:ooo-ms-interop:xmlns:field:1.0"
-     xmlns:formx="urn:openoffice:names:experimental:ooxml-odf-interop:xmlns:form:1.0"
-     xmlns:css3t="http://www.w3.org/TR/css3-text/"
-     office:version="1.2"
-     grddl:transformation="http://docs.oasis-open.org/office/1.2/xslt/odf2rdf.xsl"
-     office:mimetype="application/vnd.oasis.opendocument.text">
+xmlns:style="urn:oasis:names:tc:opendocument:xmlns:style:1.0"
+xmlns:text="urn:oasis:names:tc:opendocument:xmlns:text:1.0"
+xmlns:table="urn:oasis:names:tc:opendocument:xmlns:table:1.0"
+xmlns:draw="urn:oasis:names:tc:opendocument:xmlns:drawing:1.0"
+xmlns:fo="urn:oasis:names:tc:opendocument:xmlns:xsl-fo-compatible:1.0"
+xmlns:xlink="http://www.w3.org/1999/xlink"
+xmlns:dc="http://purl.org/dc/elements/1.1/"
+xmlns:meta="urn:oasis:names:tc:opendocument:xmlns:meta:1.0"
+xmlns:number="urn:oasis:names:tc:opendocument:xmlns:datastyle:1.0"
+xmlns:svg="urn:oasis:names:tc:opendocument:xmlns:svg-compatible:1.0"
+xmlns:chart="urn:oasis:names:tc:opendocument:xmlns:chart:1.0"
+xmlns:dr3d="urn:oasis:names:tc:opendocument:xmlns:dr3d:1.0"
+xmlns:math="http://www.w3.org/1998/Math/MathML"
+xmlns:form="urn:oasis:names:tc:opendocument:xmlns:form:1.0"
+xmlns:script="urn:oasis:names:tc:opendocument:xmlns:script:1.0"
+xmlns:ooo="http://openoffice.org/2004/office"
+xmlns:ooow="http://openoffice.org/2004/writer"
+xmlns:oooc="http://openoffice.org/2004/calc"
+xmlns:dom="http://www.w3.org/2001/xml-events"
+xmlns:xforms="http://www.w3.org/2002/xforms"
+xmlns:xsd="http://www.w3.org/2001/XMLSchema"
+xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
+xmlns:rpt="http://openoffice.org/2005/report"
+xmlns:of="urn:oasis:names:tc:opendocument:xmlns:of:1.2"
+xmlns:xhtml="http://www.w3.org/1999/xhtml"
+xmlns:grddl="http://www.w3.org/2003/g/data-view#"
+xmlns:officeooo="http://openoffice.org/2009/office"
+xmlns:tableooo="http://openoffice.org/2009/table"
+xmlns:drawooo="http://openoffice.org/2010/draw"
+xmlns:calcext="urn:org:documentfoundation:names:experimental:calc:xmlns:calcext:1.0"
+xmlns:loext="urn:org:documentfoundation:names:experimental:office:xmlns:loext:1.0"
+xmlns:field="urn:openoffice:names:experimental:ooo-ms-interop:xmlns:field:1.0"
+xmlns:formx="urn:openoffice:names:experimental:ooxml-odf-interop:xmlns:form:1.0"
+xmlns:css3t="http://www.w3.org/TR/css3-text/"
+office:version="1.2"
+office:mimetype="application/vnd.oasis.opendocument.text">
 <office:font-face-decls>
    <style:font-face style:name="Courier New" svg:font-family="'Courier New'"
                     style:font-adornments="Regular"
index a2bd9fd340e934139d3871e1c277e283f8229325..01e33641be77d54daca452228e88a13b9c906240 100644 (file)
@@ -1,39 +1,41 @@
 <?xml version="1.0" encoding="UTF-8"?>
 <office:document xmlns:office="urn:oasis:names:tc:opendocument:xmlns:office:1.0"
-     xmlns:style="urn:oasis:names:tc:opendocument:xmlns:style:1.0"
-     xmlns:text="urn:oasis:names:tc:opendocument:xmlns:text:1.0"
-     xmlns:table="urn:oasis:names:tc:opendocument:xmlns:table:1.0"
-     xmlns:draw="urn:oasis:names:tc:opendocument:xmlns:drawing:1.0"
-     xmlns:fo="urn:oasis:names:tc:opendocument:xmlns:xsl-fo-compatible:1.0"
-     xmlns:xlink="http://www.w3.org/1999/xlink"
-     xmlns:dc="http://purl.org/dc/elements/1.1/"
-     xmlns:meta="urn:oasis:names:tc:opendocument:xmlns:meta:1.0"
-     xmlns:number="urn:oasis:names:tc:opendocument:xmlns:datastyle:1.0"
-     xmlns:svg="urn:oasis:names:tc:opendocument:xmlns:svg-compatible:1.0"
-     xmlns:chart="urn:oasis:names:tc:opendocument:xmlns:chart:1.0"
-     xmlns:dr3d="urn:oasis:names:tc:opendocument:xmlns:dr3d:1.0"
-     xmlns:math="http://www.w3.org/1998/Math/MathML"
-     xmlns:form="urn:oasis:names:tc:opendocument:xmlns:form:1.0"
-     xmlns:script="urn:oasis:names:tc:opendocument:xmlns:script:1.0"
-     xmlns:config="urn:oasis:names:tc:opendocument:xmlns:config:1.0"
-     xmlns:ooo="http://openoffice.org/2004/office"
-     xmlns:ooow="http://openoffice.org/2004/writer"
-     xmlns:oooc="http://openoffice.org/2004/calc"
-     xmlns:dom="http://www.w3.org/2001/xml-events"
-     xmlns:xforms="http://www.w3.org/2002/xforms"
-     xmlns:xsd="http://www.w3.org/2001/XMLSchema"
-     xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
-     xmlns:rpt="http://openoffice.org/2005/report"
-     xmlns:of="urn:oasis:names:tc:opendocument:xmlns:of:1.2"
-     xmlns:xhtml="http://www.w3.org/1999/xhtml"
-     xmlns:grddl="http://www.w3.org/2003/g/data-view#"
-     xmlns:tableooo="http://openoffice.org/2009/table"
-     xmlns:field="urn:openoffice:names:experimental:ooo-ms-interop:xmlns:field:1.0"
-     xmlns:formx="urn:openoffice:names:experimental:ooxml-odf-interop:xmlns:form:1.0"
-     xmlns:css3t="http://www.w3.org/TR/css3-text/"
-     office:version="1.2"
-     grddl:transformation="http://docs.oasis-open.org/office/1.2/xslt/odf2rdf.xsl"
-     office:mimetype="application/vnd.oasis.opendocument.text">
+xmlns:style="urn:oasis:names:tc:opendocument:xmlns:style:1.0"
+xmlns:text="urn:oasis:names:tc:opendocument:xmlns:text:1.0"
+xmlns:table="urn:oasis:names:tc:opendocument:xmlns:table:1.0"
+xmlns:draw="urn:oasis:names:tc:opendocument:xmlns:drawing:1.0"
+xmlns:fo="urn:oasis:names:tc:opendocument:xmlns:xsl-fo-compatible:1.0"
+xmlns:xlink="http://www.w3.org/1999/xlink"
+xmlns:dc="http://purl.org/dc/elements/1.1/"
+xmlns:meta="urn:oasis:names:tc:opendocument:xmlns:meta:1.0"
+xmlns:number="urn:oasis:names:tc:opendocument:xmlns:datastyle:1.0"
+xmlns:svg="urn:oasis:names:tc:opendocument:xmlns:svg-compatible:1.0"
+xmlns:chart="urn:oasis:names:tc:opendocument:xmlns:chart:1.0"
+xmlns:dr3d="urn:oasis:names:tc:opendocument:xmlns:dr3d:1.0"
+xmlns:math="http://www.w3.org/1998/Math/MathML"
+xmlns:form="urn:oasis:names:tc:opendocument:xmlns:form:1.0"
+xmlns:script="urn:oasis:names:tc:opendocument:xmlns:script:1.0"
+xmlns:ooo="http://openoffice.org/2004/office"
+xmlns:ooow="http://openoffice.org/2004/writer"
+xmlns:oooc="http://openoffice.org/2004/calc"
+xmlns:dom="http://www.w3.org/2001/xml-events"
+xmlns:xforms="http://www.w3.org/2002/xforms"
+xmlns:xsd="http://www.w3.org/2001/XMLSchema"
+xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
+xmlns:rpt="http://openoffice.org/2005/report"
+xmlns:of="urn:oasis:names:tc:opendocument:xmlns:of:1.2"
+xmlns:xhtml="http://www.w3.org/1999/xhtml"
+xmlns:grddl="http://www.w3.org/2003/g/data-view#"
+xmlns:officeooo="http://openoffice.org/2009/office"
+xmlns:tableooo="http://openoffice.org/2009/table"
+xmlns:drawooo="http://openoffice.org/2010/draw"
+xmlns:calcext="urn:org:documentfoundation:names:experimental:calc:xmlns:calcext:1.0"
+xmlns:loext="urn:org:documentfoundation:names:experimental:office:xmlns:loext:1.0"
+xmlns:field="urn:openoffice:names:experimental:ooo-ms-interop:xmlns:field:1.0"
+xmlns:formx="urn:openoffice:names:experimental:ooxml-odf-interop:xmlns:form:1.0"
+xmlns:css3t="http://www.w3.org/TR/css3-text/"
+office:version="1.2"
+office:mimetype="application/vnd.oasis.opendocument.text">
 <office:font-face-decls>
    <style:font-face style:name="Courier New" svg:font-family="'Courier New'"
                     style:font-adornments="Regular"
index 00dd55dc65ff49063fb2b1d390c69cd8c5541b0e..e9577ae5bb72069d9aeea468dd6b443541f29e12 100644 (file)
@@ -1,39 +1,41 @@
 <?xml version="1.0" encoding="UTF-8"?>
 <office:document xmlns:office="urn:oasis:names:tc:opendocument:xmlns:office:1.0"
-     xmlns:style="urn:oasis:names:tc:opendocument:xmlns:style:1.0"
-     xmlns:text="urn:oasis:names:tc:opendocument:xmlns:text:1.0"
-     xmlns:table="urn:oasis:names:tc:opendocument:xmlns:table:1.0"
-     xmlns:draw="urn:oasis:names:tc:opendocument:xmlns:drawing:1.0"
-     xmlns:fo="urn:oasis:names:tc:opendocument:xmlns:xsl-fo-compatible:1.0"
-     xmlns:xlink="http://www.w3.org/1999/xlink"
-     xmlns:dc="http://purl.org/dc/elements/1.1/"
-     xmlns:meta="urn:oasis:names:tc:opendocument:xmlns:meta:1.0"
-     xmlns:number="urn:oasis:names:tc:opendocument:xmlns:datastyle:1.0"
-     xmlns:svg="urn:oasis:names:tc:opendocument:xmlns:svg-compatible:1.0"
-     xmlns:chart="urn:oasis:names:tc:opendocument:xmlns:chart:1.0"
-     xmlns:dr3d="urn:oasis:names:tc:opendocument:xmlns:dr3d:1.0"
-     xmlns:math="http://www.w3.org/1998/Math/MathML"
-     xmlns:form="urn:oasis:names:tc:opendocument:xmlns:form:1.0"
-     xmlns:script="urn:oasis:names:tc:opendocument:xmlns:script:1.0"
-     xmlns:config="urn:oasis:names:tc:opendocument:xmlns:config:1.0"
-     xmlns:ooo="http://openoffice.org/2004/office"
-     xmlns:ooow="http://openoffice.org/2004/writer"
-     xmlns:oooc="http://openoffice.org/2004/calc"
-     xmlns:dom="http://www.w3.org/2001/xml-events"
-     xmlns:xforms="http://www.w3.org/2002/xforms"
-     xmlns:xsd="http://www.w3.org/2001/XMLSchema"
-     xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
-     xmlns:rpt="http://openoffice.org/2005/report"
-     xmlns:of="urn:oasis:names:tc:opendocument:xmlns:of:1.2"
-     xmlns:xhtml="http://www.w3.org/1999/xhtml"
-     xmlns:grddl="http://www.w3.org/2003/g/data-view#"
-     xmlns:tableooo="http://openoffice.org/2009/table"
-     xmlns:field="urn:openoffice:names:experimental:ooo-ms-interop:xmlns:field:1.0"
-     xmlns:formx="urn:openoffice:names:experimental:ooxml-odf-interop:xmlns:form:1.0"
-     xmlns:css3t="http://www.w3.org/TR/css3-text/"
-     office:version="1.2"
-     grddl:transformation="http://docs.oasis-open.org/office/1.2/xslt/odf2rdf.xsl"
-     office:mimetype="application/vnd.oasis.opendocument.text">
+xmlns:style="urn:oasis:names:tc:opendocument:xmlns:style:1.0"
+xmlns:text="urn:oasis:names:tc:opendocument:xmlns:text:1.0"
+xmlns:table="urn:oasis:names:tc:opendocument:xmlns:table:1.0"
+xmlns:draw="urn:oasis:names:tc:opendocument:xmlns:drawing:1.0"
+xmlns:fo="urn:oasis:names:tc:opendocument:xmlns:xsl-fo-compatible:1.0"
+xmlns:xlink="http://www.w3.org/1999/xlink"
+xmlns:dc="http://purl.org/dc/elements/1.1/"
+xmlns:meta="urn:oasis:names:tc:opendocument:xmlns:meta:1.0"
+xmlns:number="urn:oasis:names:tc:opendocument:xmlns:datastyle:1.0"
+xmlns:svg="urn:oasis:names:tc:opendocument:xmlns:svg-compatible:1.0"
+xmlns:chart="urn:oasis:names:tc:opendocument:xmlns:chart:1.0"
+xmlns:dr3d="urn:oasis:names:tc:opendocument:xmlns:dr3d:1.0"
+xmlns:math="http://www.w3.org/1998/Math/MathML"
+xmlns:form="urn:oasis:names:tc:opendocument:xmlns:form:1.0"
+xmlns:script="urn:oasis:names:tc:opendocument:xmlns:script:1.0"
+xmlns:ooo="http://openoffice.org/2004/office"
+xmlns:ooow="http://openoffice.org/2004/writer"
+xmlns:oooc="http://openoffice.org/2004/calc"
+xmlns:dom="http://www.w3.org/2001/xml-events"
+xmlns:xforms="http://www.w3.org/2002/xforms"
+xmlns:xsd="http://www.w3.org/2001/XMLSchema"
+xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
+xmlns:rpt="http://openoffice.org/2005/report"
+xmlns:of="urn:oasis:names:tc:opendocument:xmlns:of:1.2"
+xmlns:xhtml="http://www.w3.org/1999/xhtml"
+xmlns:grddl="http://www.w3.org/2003/g/data-view#"
+xmlns:officeooo="http://openoffice.org/2009/office"
+xmlns:tableooo="http://openoffice.org/2009/table"
+xmlns:drawooo="http://openoffice.org/2010/draw"
+xmlns:calcext="urn:org:documentfoundation:names:experimental:calc:xmlns:calcext:1.0"
+xmlns:loext="urn:org:documentfoundation:names:experimental:office:xmlns:loext:1.0"
+xmlns:field="urn:openoffice:names:experimental:ooo-ms-interop:xmlns:field:1.0"
+xmlns:formx="urn:openoffice:names:experimental:ooxml-odf-interop:xmlns:form:1.0"
+xmlns:css3t="http://www.w3.org/TR/css3-text/"
+office:version="1.2"
+office:mimetype="application/vnd.oasis.opendocument.text">
 <office:font-face-decls>
    <style:font-face style:name="Courier New" svg:font-family="'Courier New'"
                     style:font-adornments="Regular"
index bf9830ad8e600a36fd785d84a56fc015a460bbd9..f8c12e236ebbf12160d83a55519517caba0fc51c 100644 (file)
@@ -1,39 +1,41 @@
 <?xml version="1.0" encoding="UTF-8"?>
 <office:document xmlns:office="urn:oasis:names:tc:opendocument:xmlns:office:1.0"
-     xmlns:style="urn:oasis:names:tc:opendocument:xmlns:style:1.0"
-     xmlns:text="urn:oasis:names:tc:opendocument:xmlns:text:1.0"
-     xmlns:table="urn:oasis:names:tc:opendocument:xmlns:table:1.0"
-     xmlns:draw="urn:oasis:names:tc:opendocument:xmlns:drawing:1.0"
-     xmlns:fo="urn:oasis:names:tc:opendocument:xmlns:xsl-fo-compatible:1.0"
-     xmlns:xlink="http://www.w3.org/1999/xlink"
-     xmlns:dc="http://purl.org/dc/elements/1.1/"
-     xmlns:meta="urn:oasis:names:tc:opendocument:xmlns:meta:1.0"
-     xmlns:number="urn:oasis:names:tc:opendocument:xmlns:datastyle:1.0"
-     xmlns:svg="urn:oasis:names:tc:opendocument:xmlns:svg-compatible:1.0"
-     xmlns:chart="urn:oasis:names:tc:opendocument:xmlns:chart:1.0"
-     xmlns:dr3d="urn:oasis:names:tc:opendocument:xmlns:dr3d:1.0"
-     xmlns:math="http://www.w3.org/1998/Math/MathML"
-     xmlns:form="urn:oasis:names:tc:opendocument:xmlns:form:1.0"
-     xmlns:script="urn:oasis:names:tc:opendocument:xmlns:script:1.0"
-     xmlns:config="urn:oasis:names:tc:opendocument:xmlns:config:1.0"
-     xmlns:ooo="http://openoffice.org/2004/office"
-     xmlns:ooow="http://openoffice.org/2004/writer"
-     xmlns:oooc="http://openoffice.org/2004/calc"
-     xmlns:dom="http://www.w3.org/2001/xml-events"
-     xmlns:xforms="http://www.w3.org/2002/xforms"
-     xmlns:xsd="http://www.w3.org/2001/XMLSchema"
-     xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
-     xmlns:rpt="http://openoffice.org/2005/report"
-     xmlns:of="urn:oasis:names:tc:opendocument:xmlns:of:1.2"
-     xmlns:xhtml="http://www.w3.org/1999/xhtml"
-     xmlns:grddl="http://www.w3.org/2003/g/data-view#"
-     xmlns:tableooo="http://openoffice.org/2009/table"
-     xmlns:field="urn:openoffice:names:experimental:ooo-ms-interop:xmlns:field:1.0"
-     xmlns:formx="urn:openoffice:names:experimental:ooxml-odf-interop:xmlns:form:1.0"
-     xmlns:css3t="http://www.w3.org/TR/css3-text/"
-     office:version="1.2"
-     grddl:transformation="http://docs.oasis-open.org/office/1.2/xslt/odf2rdf.xsl"
-     office:mimetype="application/vnd.oasis.opendocument.text">
+xmlns:style="urn:oasis:names:tc:opendocument:xmlns:style:1.0"
+xmlns:text="urn:oasis:names:tc:opendocument:xmlns:text:1.0"
+xmlns:table="urn:oasis:names:tc:opendocument:xmlns:table:1.0"
+xmlns:draw="urn:oasis:names:tc:opendocument:xmlns:drawing:1.0"
+xmlns:fo="urn:oasis:names:tc:opendocument:xmlns:xsl-fo-compatible:1.0"
+xmlns:xlink="http://www.w3.org/1999/xlink"
+xmlns:dc="http://purl.org/dc/elements/1.1/"
+xmlns:meta="urn:oasis:names:tc:opendocument:xmlns:meta:1.0"
+xmlns:number="urn:oasis:names:tc:opendocument:xmlns:datastyle:1.0"
+xmlns:svg="urn:oasis:names:tc:opendocument:xmlns:svg-compatible:1.0"
+xmlns:chart="urn:oasis:names:tc:opendocument:xmlns:chart:1.0"
+xmlns:dr3d="urn:oasis:names:tc:opendocument:xmlns:dr3d:1.0"
+xmlns:math="http://www.w3.org/1998/Math/MathML"
+xmlns:form="urn:oasis:names:tc:opendocument:xmlns:form:1.0"
+xmlns:script="urn:oasis:names:tc:opendocument:xmlns:script:1.0"
+xmlns:ooo="http://openoffice.org/2004/office"
+xmlns:ooow="http://openoffice.org/2004/writer"
+xmlns:oooc="http://openoffice.org/2004/calc"
+xmlns:dom="http://www.w3.org/2001/xml-events"
+xmlns:xforms="http://www.w3.org/2002/xforms"
+xmlns:xsd="http://www.w3.org/2001/XMLSchema"
+xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
+xmlns:rpt="http://openoffice.org/2005/report"
+xmlns:of="urn:oasis:names:tc:opendocument:xmlns:of:1.2"
+xmlns:xhtml="http://www.w3.org/1999/xhtml"
+xmlns:grddl="http://www.w3.org/2003/g/data-view#"
+xmlns:officeooo="http://openoffice.org/2009/office"
+xmlns:tableooo="http://openoffice.org/2009/table"
+xmlns:drawooo="http://openoffice.org/2010/draw"
+xmlns:calcext="urn:org:documentfoundation:names:experimental:calc:xmlns:calcext:1.0"
+xmlns:loext="urn:org:documentfoundation:names:experimental:office:xmlns:loext:1.0"
+xmlns:field="urn:openoffice:names:experimental:ooo-ms-interop:xmlns:field:1.0"
+xmlns:formx="urn:openoffice:names:experimental:ooxml-odf-interop:xmlns:form:1.0"
+xmlns:css3t="http://www.w3.org/TR/css3-text/"
+office:version="1.2"
+office:mimetype="application/vnd.oasis.opendocument.text">
 <office:font-face-decls>
    <style:font-face style:name="Courier New" svg:font-family="'Courier New'"
                     style:font-adornments="Regular"
index 60d786e79765e1b9c140ed7bdcdb0e8db114fe96..e0437b8c5f35236d442fd502ea5d831ee3b39595 100644 (file)
@@ -1,39 +1,41 @@
 <?xml version="1.0" encoding="UTF-8"?>
 <office:document xmlns:office="urn:oasis:names:tc:opendocument:xmlns:office:1.0"
-     xmlns:style="urn:oasis:names:tc:opendocument:xmlns:style:1.0"
-     xmlns:text="urn:oasis:names:tc:opendocument:xmlns:text:1.0"
-     xmlns:table="urn:oasis:names:tc:opendocument:xmlns:table:1.0"
-     xmlns:draw="urn:oasis:names:tc:opendocument:xmlns:drawing:1.0"
-     xmlns:fo="urn:oasis:names:tc:opendocument:xmlns:xsl-fo-compatible:1.0"
-     xmlns:xlink="http://www.w3.org/1999/xlink"
-     xmlns:dc="http://purl.org/dc/elements/1.1/"
-     xmlns:meta="urn:oasis:names:tc:opendocument:xmlns:meta:1.0"
-     xmlns:number="urn:oasis:names:tc:opendocument:xmlns:datastyle:1.0"
-     xmlns:svg="urn:oasis:names:tc:opendocument:xmlns:svg-compatible:1.0"
-     xmlns:chart="urn:oasis:names:tc:opendocument:xmlns:chart:1.0"
-     xmlns:dr3d="urn:oasis:names:tc:opendocument:xmlns:dr3d:1.0"
-     xmlns:math="http://www.w3.org/1998/Math/MathML"
-     xmlns:form="urn:oasis:names:tc:opendocument:xmlns:form:1.0"
-     xmlns:script="urn:oasis:names:tc:opendocument:xmlns:script:1.0"
-     xmlns:config="urn:oasis:names:tc:opendocument:xmlns:config:1.0"
-     xmlns:ooo="http://openoffice.org/2004/office"
-     xmlns:ooow="http://openoffice.org/2004/writer"
-     xmlns:oooc="http://openoffice.org/2004/calc"
-     xmlns:dom="http://www.w3.org/2001/xml-events"
-     xmlns:xforms="http://www.w3.org/2002/xforms"
-     xmlns:xsd="http://www.w3.org/2001/XMLSchema"
-     xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
-     xmlns:rpt="http://openoffice.org/2005/report"
-     xmlns:of="urn:oasis:names:tc:opendocument:xmlns:of:1.2"
-     xmlns:xhtml="http://www.w3.org/1999/xhtml"
-     xmlns:grddl="http://www.w3.org/2003/g/data-view#"
-     xmlns:tableooo="http://openoffice.org/2009/table"
-     xmlns:field="urn:openoffice:names:experimental:ooo-ms-interop:xmlns:field:1.0"
-     xmlns:formx="urn:openoffice:names:experimental:ooxml-odf-interop:xmlns:form:1.0"
-     xmlns:css3t="http://www.w3.org/TR/css3-text/"
-     office:version="1.2"
-     grddl:transformation="http://docs.oasis-open.org/office/1.2/xslt/odf2rdf.xsl"
-     office:mimetype="application/vnd.oasis.opendocument.text">
+xmlns:style="urn:oasis:names:tc:opendocument:xmlns:style:1.0"
+xmlns:text="urn:oasis:names:tc:opendocument:xmlns:text:1.0"
+xmlns:table="urn:oasis:names:tc:opendocument:xmlns:table:1.0"
+xmlns:draw="urn:oasis:names:tc:opendocument:xmlns:drawing:1.0"
+xmlns:fo="urn:oasis:names:tc:opendocument:xmlns:xsl-fo-compatible:1.0"
+xmlns:xlink="http://www.w3.org/1999/xlink"
+xmlns:dc="http://purl.org/dc/elements/1.1/"
+xmlns:meta="urn:oasis:names:tc:opendocument:xmlns:meta:1.0"
+xmlns:number="urn:oasis:names:tc:opendocument:xmlns:datastyle:1.0"
+xmlns:svg="urn:oasis:names:tc:opendocument:xmlns:svg-compatible:1.0"
+xmlns:chart="urn:oasis:names:tc:opendocument:xmlns:chart:1.0"
+xmlns:dr3d="urn:oasis:names:tc:opendocument:xmlns:dr3d:1.0"
+xmlns:math="http://www.w3.org/1998/Math/MathML"
+xmlns:form="urn:oasis:names:tc:opendocument:xmlns:form:1.0"
+xmlns:script="urn:oasis:names:tc:opendocument:xmlns:script:1.0"
+xmlns:ooo="http://openoffice.org/2004/office"
+xmlns:ooow="http://openoffice.org/2004/writer"
+xmlns:oooc="http://openoffice.org/2004/calc"
+xmlns:dom="http://www.w3.org/2001/xml-events"
+xmlns:xforms="http://www.w3.org/2002/xforms"
+xmlns:xsd="http://www.w3.org/2001/XMLSchema"
+xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
+xmlns:rpt="http://openoffice.org/2005/report"
+xmlns:of="urn:oasis:names:tc:opendocument:xmlns:of:1.2"
+xmlns:xhtml="http://www.w3.org/1999/xhtml"
+xmlns:grddl="http://www.w3.org/2003/g/data-view#"
+xmlns:officeooo="http://openoffice.org/2009/office"
+xmlns:tableooo="http://openoffice.org/2009/table"
+xmlns:drawooo="http://openoffice.org/2010/draw"
+xmlns:calcext="urn:org:documentfoundation:names:experimental:calc:xmlns:calcext:1.0"
+xmlns:loext="urn:org:documentfoundation:names:experimental:office:xmlns:loext:1.0"
+xmlns:field="urn:openoffice:names:experimental:ooo-ms-interop:xmlns:field:1.0"
+xmlns:formx="urn:openoffice:names:experimental:ooxml-odf-interop:xmlns:form:1.0"
+xmlns:css3t="http://www.w3.org/TR/css3-text/"
+office:version="1.2"
+office:mimetype="application/vnd.oasis.opendocument.text">
 <office:font-face-decls>
    <style:font-face style:name="Courier New" svg:font-family="'Courier New'"
                     style:font-adornments="Regular"
index 7b61f83c82a5b5b1838b7c1eb70ac59785cc4376..19b78fff20fb03f122caf1d4df2de118c6884ff0 100644 (file)
@@ -1,39 +1,41 @@
 <?xml version="1.0" encoding="UTF-8"?>
 <office:document xmlns:office="urn:oasis:names:tc:opendocument:xmlns:office:1.0"
-     xmlns:style="urn:oasis:names:tc:opendocument:xmlns:style:1.0"
-     xmlns:text="urn:oasis:names:tc:opendocument:xmlns:text:1.0"
-     xmlns:table="urn:oasis:names:tc:opendocument:xmlns:table:1.0"
-     xmlns:draw="urn:oasis:names:tc:opendocument:xmlns:drawing:1.0"
-     xmlns:fo="urn:oasis:names:tc:opendocument:xmlns:xsl-fo-compatible:1.0"
-     xmlns:xlink="http://www.w3.org/1999/xlink"
-     xmlns:dc="http://purl.org/dc/elements/1.1/"
-     xmlns:meta="urn:oasis:names:tc:opendocument:xmlns:meta:1.0"
-     xmlns:number="urn:oasis:names:tc:opendocument:xmlns:datastyle:1.0"
-     xmlns:svg="urn:oasis:names:tc:opendocument:xmlns:svg-compatible:1.0"
-     xmlns:chart="urn:oasis:names:tc:opendocument:xmlns:chart:1.0"
-     xmlns:dr3d="urn:oasis:names:tc:opendocument:xmlns:dr3d:1.0"
-     xmlns:math="http://www.w3.org/1998/Math/MathML"
-     xmlns:form="urn:oasis:names:tc:opendocument:xmlns:form:1.0"
-     xmlns:script="urn:oasis:names:tc:opendocument:xmlns:script:1.0"
-     xmlns:config="urn:oasis:names:tc:opendocument:xmlns:config:1.0"
-     xmlns:ooo="http://openoffice.org/2004/office"
-     xmlns:ooow="http://openoffice.org/2004/writer"
-     xmlns:oooc="http://openoffice.org/2004/calc"
-     xmlns:dom="http://www.w3.org/2001/xml-events"
-     xmlns:xforms="http://www.w3.org/2002/xforms"
-     xmlns:xsd="http://www.w3.org/2001/XMLSchema"
-     xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
-     xmlns:rpt="http://openoffice.org/2005/report"
-     xmlns:of="urn:oasis:names:tc:opendocument:xmlns:of:1.2"
-     xmlns:xhtml="http://www.w3.org/1999/xhtml"
-     xmlns:grddl="http://www.w3.org/2003/g/data-view#"
-     xmlns:tableooo="http://openoffice.org/2009/table"
-     xmlns:field="urn:openoffice:names:experimental:ooo-ms-interop:xmlns:field:1.0"
-     xmlns:formx="urn:openoffice:names:experimental:ooxml-odf-interop:xmlns:form:1.0"
-     xmlns:css3t="http://www.w3.org/TR/css3-text/"
-     office:version="1.2"
-     grddl:transformation="http://docs.oasis-open.org/office/1.2/xslt/odf2rdf.xsl"
-     office:mimetype="application/vnd.oasis.opendocument.text">
+xmlns:style="urn:oasis:names:tc:opendocument:xmlns:style:1.0"
+xmlns:text="urn:oasis:names:tc:opendocument:xmlns:text:1.0"
+xmlns:table="urn:oasis:names:tc:opendocument:xmlns:table:1.0"
+xmlns:draw="urn:oasis:names:tc:opendocument:xmlns:drawing:1.0"
+xmlns:fo="urn:oasis:names:tc:opendocument:xmlns:xsl-fo-compatible:1.0"
+xmlns:xlink="http://www.w3.org/1999/xlink"
+xmlns:dc="http://purl.org/dc/elements/1.1/"
+xmlns:meta="urn:oasis:names:tc:opendocument:xmlns:meta:1.0"
+xmlns:number="urn:oasis:names:tc:opendocument:xmlns:datastyle:1.0"
+xmlns:svg="urn:oasis:names:tc:opendocument:xmlns:svg-compatible:1.0"
+xmlns:chart="urn:oasis:names:tc:opendocument:xmlns:chart:1.0"
+xmlns:dr3d="urn:oasis:names:tc:opendocument:xmlns:dr3d:1.0"
+xmlns:math="http://www.w3.org/1998/Math/MathML"
+xmlns:form="urn:oasis:names:tc:opendocument:xmlns:form:1.0"
+xmlns:script="urn:oasis:names:tc:opendocument:xmlns:script:1.0"
+xmlns:ooo="http://openoffice.org/2004/office"
+xmlns:ooow="http://openoffice.org/2004/writer"
+xmlns:oooc="http://openoffice.org/2004/calc"
+xmlns:dom="http://www.w3.org/2001/xml-events"
+xmlns:xforms="http://www.w3.org/2002/xforms"
+xmlns:xsd="http://www.w3.org/2001/XMLSchema"
+xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
+xmlns:rpt="http://openoffice.org/2005/report"
+xmlns:of="urn:oasis:names:tc:opendocument:xmlns:of:1.2"
+xmlns:xhtml="http://www.w3.org/1999/xhtml"
+xmlns:grddl="http://www.w3.org/2003/g/data-view#"
+xmlns:officeooo="http://openoffice.org/2009/office"
+xmlns:tableooo="http://openoffice.org/2009/table"
+xmlns:drawooo="http://openoffice.org/2010/draw"
+xmlns:calcext="urn:org:documentfoundation:names:experimental:calc:xmlns:calcext:1.0"
+xmlns:loext="urn:org:documentfoundation:names:experimental:office:xmlns:loext:1.0"
+xmlns:field="urn:openoffice:names:experimental:ooo-ms-interop:xmlns:field:1.0"
+xmlns:formx="urn:openoffice:names:experimental:ooxml-odf-interop:xmlns:form:1.0"
+xmlns:css3t="http://www.w3.org/TR/css3-text/"
+office:version="1.2"
+office:mimetype="application/vnd.oasis.opendocument.text">
 <office:font-face-decls>
    <style:font-face style:name="Courier New" svg:font-family="'Courier New'"
                     style:font-adornments="Regular"
index 99b72c37dab6321f493b9a38396066b96a2f6675..d2164bc47a8d77aadab4637e44b61612eab04580 100644 (file)
@@ -1,39 +1,41 @@
 <?xml version="1.0" encoding="UTF-8"?>
 <office:document xmlns:office="urn:oasis:names:tc:opendocument:xmlns:office:1.0"
-     xmlns:style="urn:oasis:names:tc:opendocument:xmlns:style:1.0"
-     xmlns:text="urn:oasis:names:tc:opendocument:xmlns:text:1.0"
-     xmlns:table="urn:oasis:names:tc:opendocument:xmlns:table:1.0"
-     xmlns:draw="urn:oasis:names:tc:opendocument:xmlns:drawing:1.0"
-     xmlns:fo="urn:oasis:names:tc:opendocument:xmlns:xsl-fo-compatible:1.0"
-     xmlns:xlink="http://www.w3.org/1999/xlink"
-     xmlns:dc="http://purl.org/dc/elements/1.1/"
-     xmlns:meta="urn:oasis:names:tc:opendocument:xmlns:meta:1.0"
-     xmlns:number="urn:oasis:names:tc:opendocument:xmlns:datastyle:1.0"
-     xmlns:svg="urn:oasis:names:tc:opendocument:xmlns:svg-compatible:1.0"
-     xmlns:chart="urn:oasis:names:tc:opendocument:xmlns:chart:1.0"
-     xmlns:dr3d="urn:oasis:names:tc:opendocument:xmlns:dr3d:1.0"
-     xmlns:math="http://www.w3.org/1998/Math/MathML"
-     xmlns:form="urn:oasis:names:tc:opendocument:xmlns:form:1.0"
-     xmlns:script="urn:oasis:names:tc:opendocument:xmlns:script:1.0"
-     xmlns:config="urn:oasis:names:tc:opendocument:xmlns:config:1.0"
-     xmlns:ooo="http://openoffice.org/2004/office"
-     xmlns:ooow="http://openoffice.org/2004/writer"
-     xmlns:oooc="http://openoffice.org/2004/calc"
-     xmlns:dom="http://www.w3.org/2001/xml-events"
-     xmlns:xforms="http://www.w3.org/2002/xforms"
-     xmlns:xsd="http://www.w3.org/2001/XMLSchema"
-     xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
-     xmlns:rpt="http://openoffice.org/2005/report"
-     xmlns:of="urn:oasis:names:tc:opendocument:xmlns:of:1.2"
-     xmlns:xhtml="http://www.w3.org/1999/xhtml"
-     xmlns:grddl="http://www.w3.org/2003/g/data-view#"
-     xmlns:tableooo="http://openoffice.org/2009/table"
-     xmlns:field="urn:openoffice:names:experimental:ooo-ms-interop:xmlns:field:1.0"
-     xmlns:formx="urn:openoffice:names:experimental:ooxml-odf-interop:xmlns:form:1.0"
-     xmlns:css3t="http://www.w3.org/TR/css3-text/"
-     office:version="1.2"
-     grddl:transformation="http://docs.oasis-open.org/office/1.2/xslt/odf2rdf.xsl"
-     office:mimetype="application/vnd.oasis.opendocument.text">
+xmlns:style="urn:oasis:names:tc:opendocument:xmlns:style:1.0"
+xmlns:text="urn:oasis:names:tc:opendocument:xmlns:text:1.0"
+xmlns:table="urn:oasis:names:tc:opendocument:xmlns:table:1.0"
+xmlns:draw="urn:oasis:names:tc:opendocument:xmlns:drawing:1.0"
+xmlns:fo="urn:oasis:names:tc:opendocument:xmlns:xsl-fo-compatible:1.0"
+xmlns:xlink="http://www.w3.org/1999/xlink"
+xmlns:dc="http://purl.org/dc/elements/1.1/"
+xmlns:meta="urn:oasis:names:tc:opendocument:xmlns:meta:1.0"
+xmlns:number="urn:oasis:names:tc:opendocument:xmlns:datastyle:1.0"
+xmlns:svg="urn:oasis:names:tc:opendocument:xmlns:svg-compatible:1.0"
+xmlns:chart="urn:oasis:names:tc:opendocument:xmlns:chart:1.0"
+xmlns:dr3d="urn:oasis:names:tc:opendocument:xmlns:dr3d:1.0"
+xmlns:math="http://www.w3.org/1998/Math/MathML"
+xmlns:form="urn:oasis:names:tc:opendocument:xmlns:form:1.0"
+xmlns:script="urn:oasis:names:tc:opendocument:xmlns:script:1.0"
+xmlns:ooo="http://openoffice.org/2004/office"
+xmlns:ooow="http://openoffice.org/2004/writer"
+xmlns:oooc="http://openoffice.org/2004/calc"
+xmlns:dom="http://www.w3.org/2001/xml-events"
+xmlns:xforms="http://www.w3.org/2002/xforms"
+xmlns:xsd="http://www.w3.org/2001/XMLSchema"
+xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
+xmlns:rpt="http://openoffice.org/2005/report"
+xmlns:of="urn:oasis:names:tc:opendocument:xmlns:of:1.2"
+xmlns:xhtml="http://www.w3.org/1999/xhtml"
+xmlns:grddl="http://www.w3.org/2003/g/data-view#"
+xmlns:officeooo="http://openoffice.org/2009/office"
+xmlns:tableooo="http://openoffice.org/2009/table"
+xmlns:drawooo="http://openoffice.org/2010/draw"
+xmlns:calcext="urn:org:documentfoundation:names:experimental:calc:xmlns:calcext:1.0"
+xmlns:loext="urn:org:documentfoundation:names:experimental:office:xmlns:loext:1.0"
+xmlns:field="urn:openoffice:names:experimental:ooo-ms-interop:xmlns:field:1.0"
+xmlns:formx="urn:openoffice:names:experimental:ooxml-odf-interop:xmlns:form:1.0"
+xmlns:css3t="http://www.w3.org/TR/css3-text/"
+office:version="1.2"
+office:mimetype="application/vnd.oasis.opendocument.text">
 <office:font-face-decls>
    <style:font-face style:name="Courier New" svg:font-family="'Courier New'"
                     style:font-adornments="Regular"
index 4608e61b15ef838f687aaf2e339aa91232482a1f..7d5d00629cae6be691cbcda5a20a9b56204e8e74 100644 (file)
@@ -1,39 +1,41 @@
 <?xml version="1.0" encoding="UTF-8"?>
 <office:document xmlns:office="urn:oasis:names:tc:opendocument:xmlns:office:1.0"
-     xmlns:style="urn:oasis:names:tc:opendocument:xmlns:style:1.0"
-     xmlns:text="urn:oasis:names:tc:opendocument:xmlns:text:1.0"
-     xmlns:table="urn:oasis:names:tc:opendocument:xmlns:table:1.0"
-     xmlns:draw="urn:oasis:names:tc:opendocument:xmlns:drawing:1.0"
-     xmlns:fo="urn:oasis:names:tc:opendocument:xmlns:xsl-fo-compatible:1.0"
-     xmlns:xlink="http://www.w3.org/1999/xlink"
-     xmlns:dc="http://purl.org/dc/elements/1.1/"
-     xmlns:meta="urn:oasis:names:tc:opendocument:xmlns:meta:1.0"
-     xmlns:number="urn:oasis:names:tc:opendocument:xmlns:datastyle:1.0"
-     xmlns:svg="urn:oasis:names:tc:opendocument:xmlns:svg-compatible:1.0"
-     xmlns:chart="urn:oasis:names:tc:opendocument:xmlns:chart:1.0"
-     xmlns:dr3d="urn:oasis:names:tc:opendocument:xmlns:dr3d:1.0"
-     xmlns:math="http://www.w3.org/1998/Math/MathML"
-     xmlns:form="urn:oasis:names:tc:opendocument:xmlns:form:1.0"
-     xmlns:script="urn:oasis:names:tc:opendocument:xmlns:script:1.0"
-     xmlns:config="urn:oasis:names:tc:opendocument:xmlns:config:1.0"
-     xmlns:ooo="http://openoffice.org/2004/office"
-     xmlns:ooow="http://openoffice.org/2004/writer"
-     xmlns:oooc="http://openoffice.org/2004/calc"
-     xmlns:dom="http://www.w3.org/2001/xml-events"
-     xmlns:xforms="http://www.w3.org/2002/xforms"
-     xmlns:xsd="http://www.w3.org/2001/XMLSchema"
-     xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
-     xmlns:rpt="http://openoffice.org/2005/report"
-     xmlns:of="urn:oasis:names:tc:opendocument:xmlns:of:1.2"
-     xmlns:xhtml="http://www.w3.org/1999/xhtml"
-     xmlns:grddl="http://www.w3.org/2003/g/data-view#"
-     xmlns:tableooo="http://openoffice.org/2009/table"
-     xmlns:field="urn:openoffice:names:experimental:ooo-ms-interop:xmlns:field:1.0"
-     xmlns:formx="urn:openoffice:names:experimental:ooxml-odf-interop:xmlns:form:1.0"
-     xmlns:css3t="http://www.w3.org/TR/css3-text/"
-     office:version="1.2"
-     grddl:transformation="http://docs.oasis-open.org/office/1.2/xslt/odf2rdf.xsl"
-     office:mimetype="application/vnd.oasis.opendocument.text">
+xmlns:style="urn:oasis:names:tc:opendocument:xmlns:style:1.0"
+xmlns:text="urn:oasis:names:tc:opendocument:xmlns:text:1.0"
+xmlns:table="urn:oasis:names:tc:opendocument:xmlns:table:1.0"
+xmlns:draw="urn:oasis:names:tc:opendocument:xmlns:drawing:1.0"
+xmlns:fo="urn:oasis:names:tc:opendocument:xmlns:xsl-fo-compatible:1.0"
+xmlns:xlink="http://www.w3.org/1999/xlink"
+xmlns:dc="http://purl.org/dc/elements/1.1/"
+xmlns:meta="urn:oasis:names:tc:opendocument:xmlns:meta:1.0"
+xmlns:number="urn:oasis:names:tc:opendocument:xmlns:datastyle:1.0"
+xmlns:svg="urn:oasis:names:tc:opendocument:xmlns:svg-compatible:1.0"
+xmlns:chart="urn:oasis:names:tc:opendocument:xmlns:chart:1.0"
+xmlns:dr3d="urn:oasis:names:tc:opendocument:xmlns:dr3d:1.0"
+xmlns:math="http://www.w3.org/1998/Math/MathML"
+xmlns:form="urn:oasis:names:tc:opendocument:xmlns:form:1.0"
+xmlns:script="urn:oasis:names:tc:opendocument:xmlns:script:1.0"
+xmlns:ooo="http://openoffice.org/2004/office"
+xmlns:ooow="http://openoffice.org/2004/writer"
+xmlns:oooc="http://openoffice.org/2004/calc"
+xmlns:dom="http://www.w3.org/2001/xml-events"
+xmlns:xforms="http://www.w3.org/2002/xforms"
+xmlns:xsd="http://www.w3.org/2001/XMLSchema"
+xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
+xmlns:rpt="http://openoffice.org/2005/report"
+xmlns:of="urn:oasis:names:tc:opendocument:xmlns:of:1.2"
+xmlns:xhtml="http://www.w3.org/1999/xhtml"
+xmlns:grddl="http://www.w3.org/2003/g/data-view#"
+xmlns:officeooo="http://openoffice.org/2009/office"
+xmlns:tableooo="http://openoffice.org/2009/table"
+xmlns:drawooo="http://openoffice.org/2010/draw"
+xmlns:calcext="urn:org:documentfoundation:names:experimental:calc:xmlns:calcext:1.0"
+xmlns:loext="urn:org:documentfoundation:names:experimental:office:xmlns:loext:1.0"
+xmlns:field="urn:openoffice:names:experimental:ooo-ms-interop:xmlns:field:1.0"
+xmlns:formx="urn:openoffice:names:experimental:ooxml-odf-interop:xmlns:form:1.0"
+xmlns:css3t="http://www.w3.org/TR/css3-text/"
+office:version="1.2"
+office:mimetype="application/vnd.oasis.opendocument.text">
 <office:font-face-decls>
    <style:font-face style:name="Courier New" svg:font-family="'Courier New'"
                     style:font-adornments="Regular"
index 8b2a9929102155f3e07104ce3cdb7e68ba26596a..131c4b388e8fc6170236b1f92945565e230c9cd9 100644 (file)
@@ -1,39 +1,41 @@
 <?xml version="1.0" encoding="UTF-8"?>
 <office:document xmlns:office="urn:oasis:names:tc:opendocument:xmlns:office:1.0"
-     xmlns:style="urn:oasis:names:tc:opendocument:xmlns:style:1.0"
-     xmlns:text="urn:oasis:names:tc:opendocument:xmlns:text:1.0"
-     xmlns:table="urn:oasis:names:tc:opendocument:xmlns:table:1.0"
-     xmlns:draw="urn:oasis:names:tc:opendocument:xmlns:drawing:1.0"
-     xmlns:fo="urn:oasis:names:tc:opendocument:xmlns:xsl-fo-compatible:1.0"
-     xmlns:xlink="http://www.w3.org/1999/xlink"
-     xmlns:dc="http://purl.org/dc/elements/1.1/"
-     xmlns:meta="urn:oasis:names:tc:opendocument:xmlns:meta:1.0"
-     xmlns:number="urn:oasis:names:tc:opendocument:xmlns:datastyle:1.0"
-     xmlns:svg="urn:oasis:names:tc:opendocument:xmlns:svg-compatible:1.0"
-     xmlns:chart="urn:oasis:names:tc:opendocument:xmlns:chart:1.0"
-     xmlns:dr3d="urn:oasis:names:tc:opendocument:xmlns:dr3d:1.0"
-     xmlns:math="http://www.w3.org/1998/Math/MathML"
-     xmlns:form="urn:oasis:names:tc:opendocument:xmlns:form:1.0"
-     xmlns:script="urn:oasis:names:tc:opendocument:xmlns:script:1.0"
-     xmlns:config="urn:oasis:names:tc:opendocument:xmlns:config:1.0"
-     xmlns:ooo="http://openoffice.org/2004/office"
-     xmlns:ooow="http://openoffice.org/2004/writer"
-     xmlns:oooc="http://openoffice.org/2004/calc"
-     xmlns:dom="http://www.w3.org/2001/xml-events"
-     xmlns:xforms="http://www.w3.org/2002/xforms"
-     xmlns:xsd="http://www.w3.org/2001/XMLSchema"
-     xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
-     xmlns:rpt="http://openoffice.org/2005/report"
-     xmlns:of="urn:oasis:names:tc:opendocument:xmlns:of:1.2"
-     xmlns:xhtml="http://www.w3.org/1999/xhtml"
-     xmlns:grddl="http://www.w3.org/2003/g/data-view#"
-     xmlns:tableooo="http://openoffice.org/2009/table"
-     xmlns:field="urn:openoffice:names:experimental:ooo-ms-interop:xmlns:field:1.0"
-     xmlns:formx="urn:openoffice:names:experimental:ooxml-odf-interop:xmlns:form:1.0"
-     xmlns:css3t="http://www.w3.org/TR/css3-text/"
-     office:version="1.2"
-     grddl:transformation="http://docs.oasis-open.org/office/1.2/xslt/odf2rdf.xsl"
-     office:mimetype="application/vnd.oasis.opendocument.text">
+xmlns:style="urn:oasis:names:tc:opendocument:xmlns:style:1.0"
+xmlns:text="urn:oasis:names:tc:opendocument:xmlns:text:1.0"
+xmlns:table="urn:oasis:names:tc:opendocument:xmlns:table:1.0"
+xmlns:draw="urn:oasis:names:tc:opendocument:xmlns:drawing:1.0"
+xmlns:fo="urn:oasis:names:tc:opendocument:xmlns:xsl-fo-compatible:1.0"
+xmlns:xlink="http://www.w3.org/1999/xlink"
+xmlns:dc="http://purl.org/dc/elements/1.1/"
+xmlns:meta="urn:oasis:names:tc:opendocument:xmlns:meta:1.0"
+xmlns:number="urn:oasis:names:tc:opendocument:xmlns:datastyle:1.0"
+xmlns:svg="urn:oasis:names:tc:opendocument:xmlns:svg-compatible:1.0"
+xmlns:chart="urn:oasis:names:tc:opendocument:xmlns:chart:1.0"
+xmlns:dr3d="urn:oasis:names:tc:opendocument:xmlns:dr3d:1.0"
+xmlns:math="http://www.w3.org/1998/Math/MathML"
+xmlns:form="urn:oasis:names:tc:opendocument:xmlns:form:1.0"
+xmlns:script="urn:oasis:names:tc:opendocument:xmlns:script:1.0"
+xmlns:ooo="http://openoffice.org/2004/office"
+xmlns:ooow="http://openoffice.org/2004/writer"
+xmlns:oooc="http://openoffice.org/2004/calc"
+xmlns:dom="http://www.w3.org/2001/xml-events"
+xmlns:xforms="http://www.w3.org/2002/xforms"
+xmlns:xsd="http://www.w3.org/2001/XMLSchema"
+xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
+xmlns:rpt="http://openoffice.org/2005/report"
+xmlns:of="urn:oasis:names:tc:opendocument:xmlns:of:1.2"
+xmlns:xhtml="http://www.w3.org/1999/xhtml"
+xmlns:grddl="http://www.w3.org/2003/g/data-view#"
+xmlns:officeooo="http://openoffice.org/2009/office"
+xmlns:tableooo="http://openoffice.org/2009/table"
+xmlns:drawooo="http://openoffice.org/2010/draw"
+xmlns:calcext="urn:org:documentfoundation:names:experimental:calc:xmlns:calcext:1.0"
+xmlns:loext="urn:org:documentfoundation:names:experimental:office:xmlns:loext:1.0"
+xmlns:field="urn:openoffice:names:experimental:ooo-ms-interop:xmlns:field:1.0"
+xmlns:formx="urn:openoffice:names:experimental:ooxml-odf-interop:xmlns:form:1.0"
+xmlns:css3t="http://www.w3.org/TR/css3-text/"
+office:version="1.2"
+office:mimetype="application/vnd.oasis.opendocument.text">
 <office:font-face-decls>
    <style:font-face style:name="Courier New" svg:font-family="'Courier New'"
                     style:font-adornments="Regular"
index 30c33ab6a97fb6f37b2677d66c41c4f355583bbe..53f821ff589abc5fd11b6ca43a797c0ed46f61e4 100644 (file)
@@ -1,39 +1,41 @@
 <?xml version="1.0" encoding="UTF-8"?>
 <office:document xmlns:office="urn:oasis:names:tc:opendocument:xmlns:office:1.0"
-     xmlns:style="urn:oasis:names:tc:opendocument:xmlns:style:1.0"
-     xmlns:text="urn:oasis:names:tc:opendocument:xmlns:text:1.0"
-     xmlns:table="urn:oasis:names:tc:opendocument:xmlns:table:1.0"
-     xmlns:draw="urn:oasis:names:tc:opendocument:xmlns:drawing:1.0"
-     xmlns:fo="urn:oasis:names:tc:opendocument:xmlns:xsl-fo-compatible:1.0"
-     xmlns:xlink="http://www.w3.org/1999/xlink"
-     xmlns:dc="http://purl.org/dc/elements/1.1/"
-     xmlns:meta="urn:oasis:names:tc:opendocument:xmlns:meta:1.0"
-     xmlns:number="urn:oasis:names:tc:opendocument:xmlns:datastyle:1.0"
-     xmlns:svg="urn:oasis:names:tc:opendocument:xmlns:svg-compatible:1.0"
-     xmlns:chart="urn:oasis:names:tc:opendocument:xmlns:chart:1.0"
-     xmlns:dr3d="urn:oasis:names:tc:opendocument:xmlns:dr3d:1.0"
-     xmlns:math="http://www.w3.org/1998/Math/MathML"
-     xmlns:form="urn:oasis:names:tc:opendocument:xmlns:form:1.0"
-     xmlns:script="urn:oasis:names:tc:opendocument:xmlns:script:1.0"
-     xmlns:config="urn:oasis:names:tc:opendocument:xmlns:config:1.0"
-     xmlns:ooo="http://openoffice.org/2004/office"
-     xmlns:ooow="http://openoffice.org/2004/writer"
-     xmlns:oooc="http://openoffice.org/2004/calc"
-     xmlns:dom="http://www.w3.org/2001/xml-events"
-     xmlns:xforms="http://www.w3.org/2002/xforms"
-     xmlns:xsd="http://www.w3.org/2001/XMLSchema"
-     xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
-     xmlns:rpt="http://openoffice.org/2005/report"
-     xmlns:of="urn:oasis:names:tc:opendocument:xmlns:of:1.2"
-     xmlns:xhtml="http://www.w3.org/1999/xhtml"
-     xmlns:grddl="http://www.w3.org/2003/g/data-view#"
-     xmlns:tableooo="http://openoffice.org/2009/table"
-     xmlns:field="urn:openoffice:names:experimental:ooo-ms-interop:xmlns:field:1.0"
-     xmlns:formx="urn:openoffice:names:experimental:ooxml-odf-interop:xmlns:form:1.0"
-     xmlns:css3t="http://www.w3.org/TR/css3-text/"
-     office:version="1.2"
-     grddl:transformation="http://docs.oasis-open.org/office/1.2/xslt/odf2rdf.xsl"
-     office:mimetype="application/vnd.oasis.opendocument.text">
+xmlns:style="urn:oasis:names:tc:opendocument:xmlns:style:1.0"
+xmlns:text="urn:oasis:names:tc:opendocument:xmlns:text:1.0"
+xmlns:table="urn:oasis:names:tc:opendocument:xmlns:table:1.0"
+xmlns:draw="urn:oasis:names:tc:opendocument:xmlns:drawing:1.0"
+xmlns:fo="urn:oasis:names:tc:opendocument:xmlns:xsl-fo-compatible:1.0"
+xmlns:xlink="http://www.w3.org/1999/xlink"
+xmlns:dc="http://purl.org/dc/elements/1.1/"
+xmlns:meta="urn:oasis:names:tc:opendocument:xmlns:meta:1.0"
+xmlns:number="urn:oasis:names:tc:opendocument:xmlns:datastyle:1.0"
+xmlns:svg="urn:oasis:names:tc:opendocument:xmlns:svg-compatible:1.0"
+xmlns:chart="urn:oasis:names:tc:opendocument:xmlns:chart:1.0"
+xmlns:dr3d="urn:oasis:names:tc:opendocument:xmlns:dr3d:1.0"
+xmlns:math="http://www.w3.org/1998/Math/MathML"
+xmlns:form="urn:oasis:names:tc:opendocument:xmlns:form:1.0"
+xmlns:script="urn:oasis:names:tc:opendocument:xmlns:script:1.0"
+xmlns:ooo="http://openoffice.org/2004/office"
+xmlns:ooow="http://openoffice.org/2004/writer"
+xmlns:oooc="http://openoffice.org/2004/calc"
+xmlns:dom="http://www.w3.org/2001/xml-events"
+xmlns:xforms="http://www.w3.org/2002/xforms"
+xmlns:xsd="http://www.w3.org/2001/XMLSchema"
+xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
+xmlns:rpt="http://openoffice.org/2005/report"
+xmlns:of="urn:oasis:names:tc:opendocument:xmlns:of:1.2"
+xmlns:xhtml="http://www.w3.org/1999/xhtml"
+xmlns:grddl="http://www.w3.org/2003/g/data-view#"
+xmlns:officeooo="http://openoffice.org/2009/office"
+xmlns:tableooo="http://openoffice.org/2009/table"
+xmlns:drawooo="http://openoffice.org/2010/draw"
+xmlns:calcext="urn:org:documentfoundation:names:experimental:calc:xmlns:calcext:1.0"
+xmlns:loext="urn:org:documentfoundation:names:experimental:office:xmlns:loext:1.0"
+xmlns:field="urn:openoffice:names:experimental:ooo-ms-interop:xmlns:field:1.0"
+xmlns:formx="urn:openoffice:names:experimental:ooxml-odf-interop:xmlns:form:1.0"
+xmlns:css3t="http://www.w3.org/TR/css3-text/"
+office:version="1.2"
+office:mimetype="application/vnd.oasis.opendocument.text">
 <office:font-face-decls>
    <style:font-face style:name="Courier New" svg:font-family="'Courier New'"
                     style:font-adornments="Regular"
index 440945499d660246337e00a1aafab5755814b8af..05ac604190bf000c221aa3fd096d2a9993a0db59 100644 (file)
@@ -1,39 +1,41 @@
 <?xml version="1.0" encoding="UTF-8"?>
 <office:document xmlns:office="urn:oasis:names:tc:opendocument:xmlns:office:1.0"
-     xmlns:style="urn:oasis:names:tc:opendocument:xmlns:style:1.0"
-     xmlns:text="urn:oasis:names:tc:opendocument:xmlns:text:1.0"
-     xmlns:table="urn:oasis:names:tc:opendocument:xmlns:table:1.0"
-     xmlns:draw="urn:oasis:names:tc:opendocument:xmlns:drawing:1.0"
-     xmlns:fo="urn:oasis:names:tc:opendocument:xmlns:xsl-fo-compatible:1.0"
-     xmlns:xlink="http://www.w3.org/1999/xlink"
-     xmlns:dc="http://purl.org/dc/elements/1.1/"
-     xmlns:meta="urn:oasis:names:tc:opendocument:xmlns:meta:1.0"
-     xmlns:number="urn:oasis:names:tc:opendocument:xmlns:datastyle:1.0"
-     xmlns:svg="urn:oasis:names:tc:opendocument:xmlns:svg-compatible:1.0"
-     xmlns:chart="urn:oasis:names:tc:opendocument:xmlns:chart:1.0"
-     xmlns:dr3d="urn:oasis:names:tc:opendocument:xmlns:dr3d:1.0"
-     xmlns:math="http://www.w3.org/1998/Math/MathML"
-     xmlns:form="urn:oasis:names:tc:opendocument:xmlns:form:1.0"
-     xmlns:script="urn:oasis:names:tc:opendocument:xmlns:script:1.0"
-     xmlns:config="urn:oasis:names:tc:opendocument:xmlns:config:1.0"
-     xmlns:ooo="http://openoffice.org/2004/office"
-     xmlns:ooow="http://openoffice.org/2004/writer"
-     xmlns:oooc="http://openoffice.org/2004/calc"
-     xmlns:dom="http://www.w3.org/2001/xml-events"
-     xmlns:xforms="http://www.w3.org/2002/xforms"
-     xmlns:xsd="http://www.w3.org/2001/XMLSchema"
-     xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
-     xmlns:rpt="http://openoffice.org/2005/report"
-     xmlns:of="urn:oasis:names:tc:opendocument:xmlns:of:1.2"
-     xmlns:xhtml="http://www.w3.org/1999/xhtml"
-     xmlns:grddl="http://www.w3.org/2003/g/data-view#"
-     xmlns:tableooo="http://openoffice.org/2009/table"
-     xmlns:field="urn:openoffice:names:experimental:ooo-ms-interop:xmlns:field:1.0"
-     xmlns:formx="urn:openoffice:names:experimental:ooxml-odf-interop:xmlns:form:1.0"
-     xmlns:css3t="http://www.w3.org/TR/css3-text/"
-     office:version="1.2"
-     grddl:transformation="http://docs.oasis-open.org/office/1.2/xslt/odf2rdf.xsl"
-     office:mimetype="application/vnd.oasis.opendocument.text">
+xmlns:style="urn:oasis:names:tc:opendocument:xmlns:style:1.0"
+xmlns:text="urn:oasis:names:tc:opendocument:xmlns:text:1.0"
+xmlns:table="urn:oasis:names:tc:opendocument:xmlns:table:1.0"
+xmlns:draw="urn:oasis:names:tc:opendocument:xmlns:drawing:1.0"
+xmlns:fo="urn:oasis:names:tc:opendocument:xmlns:xsl-fo-compatible:1.0"
+xmlns:xlink="http://www.w3.org/1999/xlink"
+xmlns:dc="http://purl.org/dc/elements/1.1/"
+xmlns:meta="urn:oasis:names:tc:opendocument:xmlns:meta:1.0"
+xmlns:number="urn:oasis:names:tc:opendocument:xmlns:datastyle:1.0"
+xmlns:svg="urn:oasis:names:tc:opendocument:xmlns:svg-compatible:1.0"
+xmlns:chart="urn:oasis:names:tc:opendocument:xmlns:chart:1.0"
+xmlns:dr3d="urn:oasis:names:tc:opendocument:xmlns:dr3d:1.0"
+xmlns:math="http://www.w3.org/1998/Math/MathML"
+xmlns:form="urn:oasis:names:tc:opendocument:xmlns:form:1.0"
+xmlns:script="urn:oasis:names:tc:opendocument:xmlns:script:1.0"
+xmlns:ooo="http://openoffice.org/2004/office"
+xmlns:ooow="http://openoffice.org/2004/writer"
+xmlns:oooc="http://openoffice.org/2004/calc"
+xmlns:dom="http://www.w3.org/2001/xml-events"
+xmlns:xforms="http://www.w3.org/2002/xforms"
+xmlns:xsd="http://www.w3.org/2001/XMLSchema"
+xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
+xmlns:rpt="http://openoffice.org/2005/report"
+xmlns:of="urn:oasis:names:tc:opendocument:xmlns:of:1.2"
+xmlns:xhtml="http://www.w3.org/1999/xhtml"
+xmlns:grddl="http://www.w3.org/2003/g/data-view#"
+xmlns:officeooo="http://openoffice.org/2009/office"
+xmlns:tableooo="http://openoffice.org/2009/table"
+xmlns:drawooo="http://openoffice.org/2010/draw"
+xmlns:calcext="urn:org:documentfoundation:names:experimental:calc:xmlns:calcext:1.0"
+xmlns:loext="urn:org:documentfoundation:names:experimental:office:xmlns:loext:1.0"
+xmlns:field="urn:openoffice:names:experimental:ooo-ms-interop:xmlns:field:1.0"
+xmlns:formx="urn:openoffice:names:experimental:ooxml-odf-interop:xmlns:form:1.0"
+xmlns:css3t="http://www.w3.org/TR/css3-text/"
+office:version="1.2"
+office:mimetype="application/vnd.oasis.opendocument.text">
 <office:font-face-decls>
    <style:font-face style:name="Courier New" svg:font-family="'Courier New'"
                     style:font-adornments="Regular"
index b530b01caed395084094c8af66c151f2fc8d7765..031e3c4dbd4fd96b434f32dbbd212765053bd8ec 100644 (file)
@@ -1,39 +1,41 @@
 <?xml version="1.0" encoding="UTF-8"?>
 <office:document xmlns:office="urn:oasis:names:tc:opendocument:xmlns:office:1.0"
-     xmlns:style="urn:oasis:names:tc:opendocument:xmlns:style:1.0"
-     xmlns:text="urn:oasis:names:tc:opendocument:xmlns:text:1.0"
-     xmlns:table="urn:oasis:names:tc:opendocument:xmlns:table:1.0"
-     xmlns:draw="urn:oasis:names:tc:opendocument:xmlns:drawing:1.0"
-     xmlns:fo="urn:oasis:names:tc:opendocument:xmlns:xsl-fo-compatible:1.0"
-     xmlns:xlink="http://www.w3.org/1999/xlink"
-     xmlns:dc="http://purl.org/dc/elements/1.1/"
-     xmlns:meta="urn:oasis:names:tc:opendocument:xmlns:meta:1.0"
-     xmlns:number="urn:oasis:names:tc:opendocument:xmlns:datastyle:1.0"
-     xmlns:svg="urn:oasis:names:tc:opendocument:xmlns:svg-compatible:1.0"
-     xmlns:chart="urn:oasis:names:tc:opendocument:xmlns:chart:1.0"
-     xmlns:dr3d="urn:oasis:names:tc:opendocument:xmlns:dr3d:1.0"
-     xmlns:math="http://www.w3.org/1998/Math/MathML"
-     xmlns:form="urn:oasis:names:tc:opendocument:xmlns:form:1.0"
-     xmlns:script="urn:oasis:names:tc:opendocument:xmlns:script:1.0"
-     xmlns:config="urn:oasis:names:tc:opendocument:xmlns:config:1.0"
-     xmlns:ooo="http://openoffice.org/2004/office"
-     xmlns:ooow="http://openoffice.org/2004/writer"
-     xmlns:oooc="http://openoffice.org/2004/calc"
-     xmlns:dom="http://www.w3.org/2001/xml-events"
-     xmlns:xforms="http://www.w3.org/2002/xforms"
-     xmlns:xsd="http://www.w3.org/2001/XMLSchema"
-     xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
-     xmlns:rpt="http://openoffice.org/2005/report"
-     xmlns:of="urn:oasis:names:tc:opendocument:xmlns:of:1.2"
-     xmlns:xhtml="http://www.w3.org/1999/xhtml"
-     xmlns:grddl="http://www.w3.org/2003/g/data-view#"
-     xmlns:tableooo="http://openoffice.org/2009/table"
-     xmlns:field="urn:openoffice:names:experimental:ooo-ms-interop:xmlns:field:1.0"
-     xmlns:formx="urn:openoffice:names:experimental:ooxml-odf-interop:xmlns:form:1.0"
-     xmlns:css3t="http://www.w3.org/TR/css3-text/"
-     office:version="1.2"
-     grddl:transformation="http://docs.oasis-open.org/office/1.2/xslt/odf2rdf.xsl"
-     office:mimetype="application/vnd.oasis.opendocument.text">
+xmlns:style="urn:oasis:names:tc:opendocument:xmlns:style:1.0"
+xmlns:text="urn:oasis:names:tc:opendocument:xmlns:text:1.0"
+xmlns:table="urn:oasis:names:tc:opendocument:xmlns:table:1.0"
+xmlns:draw="urn:oasis:names:tc:opendocument:xmlns:drawing:1.0"
+xmlns:fo="urn:oasis:names:tc:opendocument:xmlns:xsl-fo-compatible:1.0"
+xmlns:xlink="http://www.w3.org/1999/xlink"
+xmlns:dc="http://purl.org/dc/elements/1.1/"
+xmlns:meta="urn:oasis:names:tc:opendocument:xmlns:meta:1.0"
+xmlns:number="urn:oasis:names:tc:opendocument:xmlns:datastyle:1.0"
+xmlns:svg="urn:oasis:names:tc:opendocument:xmlns:svg-compatible:1.0"
+xmlns:chart="urn:oasis:names:tc:opendocument:xmlns:chart:1.0"
+xmlns:dr3d="urn:oasis:names:tc:opendocument:xmlns:dr3d:1.0"
+xmlns:math="http://www.w3.org/1998/Math/MathML"
+xmlns:form="urn:oasis:names:tc:opendocument:xmlns:form:1.0"
+xmlns:script="urn:oasis:names:tc:opendocument:xmlns:script:1.0"
+xmlns:ooo="http://openoffice.org/2004/office"
+xmlns:ooow="http://openoffice.org/2004/writer"
+xmlns:oooc="http://openoffice.org/2004/calc"
+xmlns:dom="http://www.w3.org/2001/xml-events"
+xmlns:xforms="http://www.w3.org/2002/xforms"
+xmlns:xsd="http://www.w3.org/2001/XMLSchema"
+xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
+xmlns:rpt="http://openoffice.org/2005/report"
+xmlns:of="urn:oasis:names:tc:opendocument:xmlns:of:1.2"
+xmlns:xhtml="http://www.w3.org/1999/xhtml"
+xmlns:grddl="http://www.w3.org/2003/g/data-view#"
+xmlns:officeooo="http://openoffice.org/2009/office"
+xmlns:tableooo="http://openoffice.org/2009/table"
+xmlns:drawooo="http://openoffice.org/2010/draw"
+xmlns:calcext="urn:org:documentfoundation:names:experimental:calc:xmlns:calcext:1.0"
+xmlns:loext="urn:org:documentfoundation:names:experimental:office:xmlns:loext:1.0"
+xmlns:field="urn:openoffice:names:experimental:ooo-ms-interop:xmlns:field:1.0"
+xmlns:formx="urn:openoffice:names:experimental:ooxml-odf-interop:xmlns:form:1.0"
+xmlns:css3t="http://www.w3.org/TR/css3-text/"
+office:version="1.2"
+office:mimetype="application/vnd.oasis.opendocument.text">
 <office:font-face-decls>
    <style:font-face style:name="Courier New" svg:font-family="'Courier New'"
                     style:font-adornments="Regular"
index 05532050d2f8935edb7e666296c1dec5966f3311..9f48bffc7d1d0bc2089ff5578f4e93a96bf4387b 100644 (file)
@@ -1,39 +1,41 @@
 <?xml version="1.0" encoding="UTF-8"?>
 <office:document xmlns:office="urn:oasis:names:tc:opendocument:xmlns:office:1.0"
-     xmlns:style="urn:oasis:names:tc:opendocument:xmlns:style:1.0"
-     xmlns:text="urn:oasis:names:tc:opendocument:xmlns:text:1.0"
-     xmlns:table="urn:oasis:names:tc:opendocument:xmlns:table:1.0"
-     xmlns:draw="urn:oasis:names:tc:opendocument:xmlns:drawing:1.0"
-     xmlns:fo="urn:oasis:names:tc:opendocument:xmlns:xsl-fo-compatible:1.0"
-     xmlns:xlink="http://www.w3.org/1999/xlink"
-     xmlns:dc="http://purl.org/dc/elements/1.1/"
-     xmlns:meta="urn:oasis:names:tc:opendocument:xmlns:meta:1.0"
-     xmlns:number="urn:oasis:names:tc:opendocument:xmlns:datastyle:1.0"
-     xmlns:svg="urn:oasis:names:tc:opendocument:xmlns:svg-compatible:1.0"
-     xmlns:chart="urn:oasis:names:tc:opendocument:xmlns:chart:1.0"
-     xmlns:dr3d="urn:oasis:names:tc:opendocument:xmlns:dr3d:1.0"
-     xmlns:math="http://www.w3.org/1998/Math/MathML"
-     xmlns:form="urn:oasis:names:tc:opendocument:xmlns:form:1.0"
-     xmlns:script="urn:oasis:names:tc:opendocument:xmlns:script:1.0"
-     xmlns:config="urn:oasis:names:tc:opendocument:xmlns:config:1.0"
-     xmlns:ooo="http://openoffice.org/2004/office"
-     xmlns:ooow="http://openoffice.org/2004/writer"
-     xmlns:oooc="http://openoffice.org/2004/calc"
-     xmlns:dom="http://www.w3.org/2001/xml-events"
-     xmlns:xforms="http://www.w3.org/2002/xforms"
-     xmlns:xsd="http://www.w3.org/2001/XMLSchema"
-     xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
-     xmlns:rpt="http://openoffice.org/2005/report"
-     xmlns:of="urn:oasis:names:tc:opendocument:xmlns:of:1.2"
-     xmlns:xhtml="http://www.w3.org/1999/xhtml"
-     xmlns:grddl="http://www.w3.org/2003/g/data-view#"
-     xmlns:tableooo="http://openoffice.org/2009/table"
-     xmlns:field="urn:openoffice:names:experimental:ooo-ms-interop:xmlns:field:1.0"
-     xmlns:formx="urn:openoffice:names:experimental:ooxml-odf-interop:xmlns:form:1.0"
-     xmlns:css3t="http://www.w3.org/TR/css3-text/"
-     office:version="1.2"
-     grddl:transformation="http://docs.oasis-open.org/office/1.2/xslt/odf2rdf.xsl"
-     office:mimetype="application/vnd.oasis.opendocument.text">
+xmlns:style="urn:oasis:names:tc:opendocument:xmlns:style:1.0"
+xmlns:text="urn:oasis:names:tc:opendocument:xmlns:text:1.0"
+xmlns:table="urn:oasis:names:tc:opendocument:xmlns:table:1.0"
+xmlns:draw="urn:oasis:names:tc:opendocument:xmlns:drawing:1.0"
+xmlns:fo="urn:oasis:names:tc:opendocument:xmlns:xsl-fo-compatible:1.0"
+xmlns:xlink="http://www.w3.org/1999/xlink"
+xmlns:dc="http://purl.org/dc/elements/1.1/"
+xmlns:meta="urn:oasis:names:tc:opendocument:xmlns:meta:1.0"
+xmlns:number="urn:oasis:names:tc:opendocument:xmlns:datastyle:1.0"
+xmlns:svg="urn:oasis:names:tc:opendocument:xmlns:svg-compatible:1.0"
+xmlns:chart="urn:oasis:names:tc:opendocument:xmlns:chart:1.0"
+xmlns:dr3d="urn:oasis:names:tc:opendocument:xmlns:dr3d:1.0"
+xmlns:math="http://www.w3.org/1998/Math/MathML"
+xmlns:form="urn:oasis:names:tc:opendocument:xmlns:form:1.0"
+xmlns:script="urn:oasis:names:tc:opendocument:xmlns:script:1.0"
+xmlns:ooo="http://openoffice.org/2004/office"
+xmlns:ooow="http://openoffice.org/2004/writer"
+xmlns:oooc="http://openoffice.org/2004/calc"
+xmlns:dom="http://www.w3.org/2001/xml-events"
+xmlns:xforms="http://www.w3.org/2002/xforms"
+xmlns:xsd="http://www.w3.org/2001/XMLSchema"
+xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
+xmlns:rpt="http://openoffice.org/2005/report"
+xmlns:of="urn:oasis:names:tc:opendocument:xmlns:of:1.2"
+xmlns:xhtml="http://www.w3.org/1999/xhtml"
+xmlns:grddl="http://www.w3.org/2003/g/data-view#"
+xmlns:officeooo="http://openoffice.org/2009/office"
+xmlns:tableooo="http://openoffice.org/2009/table"
+xmlns:drawooo="http://openoffice.org/2010/draw"
+xmlns:calcext="urn:org:documentfoundation:names:experimental:calc:xmlns:calcext:1.0"
+xmlns:loext="urn:org:documentfoundation:names:experimental:office:xmlns:loext:1.0"
+xmlns:field="urn:openoffice:names:experimental:ooo-ms-interop:xmlns:field:1.0"
+xmlns:formx="urn:openoffice:names:experimental:ooxml-odf-interop:xmlns:form:1.0"
+xmlns:css3t="http://www.w3.org/TR/css3-text/"
+office:version="1.2"
+office:mimetype="application/vnd.oasis.opendocument.text">
 <office:font-face-decls>
    <style:font-face style:name="Courier New" svg:font-family="'Courier New'"
                     style:font-adornments="Regular"
index 4db7b010555addb4887bd48fd94abcfe9dd09fa6..6dacec3e452dc88557ce0ce2bcaebe49bb4a2bd2 100644 (file)
@@ -1,39 +1,41 @@
 <?xml version="1.0" encoding="UTF-8"?>
 <office:document xmlns:office="urn:oasis:names:tc:opendocument:xmlns:office:1.0"
-     xmlns:style="urn:oasis:names:tc:opendocument:xmlns:style:1.0"
-     xmlns:text="urn:oasis:names:tc:opendocument:xmlns:text:1.0"
-     xmlns:table="urn:oasis:names:tc:opendocument:xmlns:table:1.0"
-     xmlns:draw="urn:oasis:names:tc:opendocument:xmlns:drawing:1.0"
-     xmlns:fo="urn:oasis:names:tc:opendocument:xmlns:xsl-fo-compatible:1.0"
-     xmlns:xlink="http://www.w3.org/1999/xlink"
-     xmlns:dc="http://purl.org/dc/elements/1.1/"
-     xmlns:meta="urn:oasis:names:tc:opendocument:xmlns:meta:1.0"
-     xmlns:number="urn:oasis:names:tc:opendocument:xmlns:datastyle:1.0"
-     xmlns:svg="urn:oasis:names:tc:opendocument:xmlns:svg-compatible:1.0"
-     xmlns:chart="urn:oasis:names:tc:opendocument:xmlns:chart:1.0"
-     xmlns:dr3d="urn:oasis:names:tc:opendocument:xmlns:dr3d:1.0"
-     xmlns:math="http://www.w3.org/1998/Math/MathML"
-     xmlns:form="urn:oasis:names:tc:opendocument:xmlns:form:1.0"
-     xmlns:script="urn:oasis:names:tc:opendocument:xmlns:script:1.0"
-     xmlns:config="urn:oasis:names:tc:opendocument:xmlns:config:1.0"
-     xmlns:ooo="http://openoffice.org/2004/office"
-     xmlns:ooow="http://openoffice.org/2004/writer"
-     xmlns:oooc="http://openoffice.org/2004/calc"
-     xmlns:dom="http://www.w3.org/2001/xml-events"
-     xmlns:xforms="http://www.w3.org/2002/xforms"
-     xmlns:xsd="http://www.w3.org/2001/XMLSchema"
-     xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
-     xmlns:rpt="http://openoffice.org/2005/report"
-     xmlns:of="urn:oasis:names:tc:opendocument:xmlns:of:1.2"
-     xmlns:xhtml="http://www.w3.org/1999/xhtml"
-     xmlns:grddl="http://www.w3.org/2003/g/data-view#"
-     xmlns:tableooo="http://openoffice.org/2009/table"
-     xmlns:field="urn:openoffice:names:experimental:ooo-ms-interop:xmlns:field:1.0"
-     xmlns:formx="urn:openoffice:names:experimental:ooxml-odf-interop:xmlns:form:1.0"
-     xmlns:css3t="http://www.w3.org/TR/css3-text/"
-     office:version="1.2"
-     grddl:transformation="http://docs.oasis-open.org/office/1.2/xslt/odf2rdf.xsl"
-     office:mimetype="application/vnd.oasis.opendocument.text">
+xmlns:style="urn:oasis:names:tc:opendocument:xmlns:style:1.0"
+xmlns:text="urn:oasis:names:tc:opendocument:xmlns:text:1.0"
+xmlns:table="urn:oasis:names:tc:opendocument:xmlns:table:1.0"
+xmlns:draw="urn:oasis:names:tc:opendocument:xmlns:drawing:1.0"
+xmlns:fo="urn:oasis:names:tc:opendocument:xmlns:xsl-fo-compatible:1.0"
+xmlns:xlink="http://www.w3.org/1999/xlink"
+xmlns:dc="http://purl.org/dc/elements/1.1/"
+xmlns:meta="urn:oasis:names:tc:opendocument:xmlns:meta:1.0"
+xmlns:number="urn:oasis:names:tc:opendocument:xmlns:datastyle:1.0"
+xmlns:svg="urn:oasis:names:tc:opendocument:xmlns:svg-compatible:1.0"
+xmlns:chart="urn:oasis:names:tc:opendocument:xmlns:chart:1.0"
+xmlns:dr3d="urn:oasis:names:tc:opendocument:xmlns:dr3d:1.0"
+xmlns:math="http://www.w3.org/1998/Math/MathML"
+xmlns:form="urn:oasis:names:tc:opendocument:xmlns:form:1.0"
+xmlns:script="urn:oasis:names:tc:opendocument:xmlns:script:1.0"
+xmlns:ooo="http://openoffice.org/2004/office"
+xmlns:ooow="http://openoffice.org/2004/writer"
+xmlns:oooc="http://openoffice.org/2004/calc"
+xmlns:dom="http://www.w3.org/2001/xml-events"
+xmlns:xforms="http://www.w3.org/2002/xforms"
+xmlns:xsd="http://www.w3.org/2001/XMLSchema"
+xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
+xmlns:rpt="http://openoffice.org/2005/report"
+xmlns:of="urn:oasis:names:tc:opendocument:xmlns:of:1.2"
+xmlns:xhtml="http://www.w3.org/1999/xhtml"
+xmlns:grddl="http://www.w3.org/2003/g/data-view#"
+xmlns:officeooo="http://openoffice.org/2009/office"
+xmlns:tableooo="http://openoffice.org/2009/table"
+xmlns:drawooo="http://openoffice.org/2010/draw"
+xmlns:calcext="urn:org:documentfoundation:names:experimental:calc:xmlns:calcext:1.0"
+xmlns:loext="urn:org:documentfoundation:names:experimental:office:xmlns:loext:1.0"
+xmlns:field="urn:openoffice:names:experimental:ooo-ms-interop:xmlns:field:1.0"
+xmlns:formx="urn:openoffice:names:experimental:ooxml-odf-interop:xmlns:form:1.0"
+xmlns:css3t="http://www.w3.org/TR/css3-text/"
+office:version="1.2"
+office:mimetype="application/vnd.oasis.opendocument.text">
 <office:font-face-decls>
    <style:font-face style:name="Courier New" svg:font-family="'Courier New'"
                     style:font-adornments="Regular"
index f06a2d84ec52412ef4f5b991e4b20fd3aab89a0b..c3146e6af00be8978a99305909ddf77ff6fd04d9 100644 (file)
@@ -1,39 +1,41 @@
 <?xml version="1.0" encoding="UTF-8"?>
 <office:document xmlns:office="urn:oasis:names:tc:opendocument:xmlns:office:1.0"
-     xmlns:style="urn:oasis:names:tc:opendocument:xmlns:style:1.0"
-     xmlns:text="urn:oasis:names:tc:opendocument:xmlns:text:1.0"
-     xmlns:table="urn:oasis:names:tc:opendocument:xmlns:table:1.0"
-     xmlns:draw="urn:oasis:names:tc:opendocument:xmlns:drawing:1.0"
-     xmlns:fo="urn:oasis:names:tc:opendocument:xmlns:xsl-fo-compatible:1.0"
-     xmlns:xlink="http://www.w3.org/1999/xlink"
-     xmlns:dc="http://purl.org/dc/elements/1.1/"
-     xmlns:meta="urn:oasis:names:tc:opendocument:xmlns:meta:1.0"
-     xmlns:number="urn:oasis:names:tc:opendocument:xmlns:datastyle:1.0"
-     xmlns:svg="urn:oasis:names:tc:opendocument:xmlns:svg-compatible:1.0"
-     xmlns:chart="urn:oasis:names:tc:opendocument:xmlns:chart:1.0"
-     xmlns:dr3d="urn:oasis:names:tc:opendocument:xmlns:dr3d:1.0"
-     xmlns:math="http://www.w3.org/1998/Math/MathML"
-     xmlns:form="urn:oasis:names:tc:opendocument:xmlns:form:1.0"
-     xmlns:script="urn:oasis:names:tc:opendocument:xmlns:script:1.0"
-     xmlns:config="urn:oasis:names:tc:opendocument:xmlns:config:1.0"
-     xmlns:ooo="http://openoffice.org/2004/office"
-     xmlns:ooow="http://openoffice.org/2004/writer"
-     xmlns:oooc="http://openoffice.org/2004/calc"
-     xmlns:dom="http://www.w3.org/2001/xml-events"
-     xmlns:xforms="http://www.w3.org/2002/xforms"
-     xmlns:xsd="http://www.w3.org/2001/XMLSchema"
-     xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
-     xmlns:rpt="http://openoffice.org/2005/report"
-     xmlns:of="urn:oasis:names:tc:opendocument:xmlns:of:1.2"
-     xmlns:xhtml="http://www.w3.org/1999/xhtml"
-     xmlns:grddl="http://www.w3.org/2003/g/data-view#"
-     xmlns:tableooo="http://openoffice.org/2009/table"
-     xmlns:field="urn:openoffice:names:experimental:ooo-ms-interop:xmlns:field:1.0"
-     xmlns:formx="urn:openoffice:names:experimental:ooxml-odf-interop:xmlns:form:1.0"
-     xmlns:css3t="http://www.w3.org/TR/css3-text/"
-     office:version="1.2"
-     grddl:transformation="http://docs.oasis-open.org/office/1.2/xslt/odf2rdf.xsl"
-     office:mimetype="application/vnd.oasis.opendocument.text">
+xmlns:style="urn:oasis:names:tc:opendocument:xmlns:style:1.0"
+xmlns:text="urn:oasis:names:tc:opendocument:xmlns:text:1.0"
+xmlns:table="urn:oasis:names:tc:opendocument:xmlns:table:1.0"
+xmlns:draw="urn:oasis:names:tc:opendocument:xmlns:drawing:1.0"
+xmlns:fo="urn:oasis:names:tc:opendocument:xmlns:xsl-fo-compatible:1.0"
+xmlns:xlink="http://www.w3.org/1999/xlink"
+xmlns:dc="http://purl.org/dc/elements/1.1/"
+xmlns:meta="urn:oasis:names:tc:opendocument:xmlns:meta:1.0"
+xmlns:number="urn:oasis:names:tc:opendocument:xmlns:datastyle:1.0"
+xmlns:svg="urn:oasis:names:tc:opendocument:xmlns:svg-compatible:1.0"
+xmlns:chart="urn:oasis:names:tc:opendocument:xmlns:chart:1.0"
+xmlns:dr3d="urn:oasis:names:tc:opendocument:xmlns:dr3d:1.0"
+xmlns:math="http://www.w3.org/1998/Math/MathML"
+xmlns:form="urn:oasis:names:tc:opendocument:xmlns:form:1.0"
+xmlns:script="urn:oasis:names:tc:opendocument:xmlns:script:1.0"
+xmlns:ooo="http://openoffice.org/2004/office"
+xmlns:ooow="http://openoffice.org/2004/writer"
+xmlns:oooc="http://openoffice.org/2004/calc"
+xmlns:dom="http://www.w3.org/2001/xml-events"
+xmlns:xforms="http://www.w3.org/2002/xforms"
+xmlns:xsd="http://www.w3.org/2001/XMLSchema"
+xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
+xmlns:rpt="http://openoffice.org/2005/report"
+xmlns:of="urn:oasis:names:tc:opendocument:xmlns:of:1.2"
+xmlns:xhtml="http://www.w3.org/1999/xhtml"
+xmlns:grddl="http://www.w3.org/2003/g/data-view#"
+xmlns:officeooo="http://openoffice.org/2009/office"
+xmlns:tableooo="http://openoffice.org/2009/table"
+xmlns:drawooo="http://openoffice.org/2010/draw"
+xmlns:calcext="urn:org:documentfoundation:names:experimental:calc:xmlns:calcext:1.0"
+xmlns:loext="urn:org:documentfoundation:names:experimental:office:xmlns:loext:1.0"
+xmlns:field="urn:openoffice:names:experimental:ooo-ms-interop:xmlns:field:1.0"
+xmlns:formx="urn:openoffice:names:experimental:ooxml-odf-interop:xmlns:form:1.0"
+xmlns:css3t="http://www.w3.org/TR/css3-text/"
+office:version="1.2"
+office:mimetype="application/vnd.oasis.opendocument.text">
 <office:font-face-decls>
    <style:font-face style:name="Courier New" svg:font-family="'Courier New'"
                     style:font-adornments="Regular"
index f002532aed7d42ea8daffe1594affc2e6dd82f1a..2c6c307b8cc25602a1a616ca040b0fa9dfc2ca35 100644 (file)
@@ -1,39 +1,41 @@
 <?xml version="1.0" encoding="UTF-8"?>
 <office:document xmlns:office="urn:oasis:names:tc:opendocument:xmlns:office:1.0"
-     xmlns:style="urn:oasis:names:tc:opendocument:xmlns:style:1.0"
-     xmlns:text="urn:oasis:names:tc:opendocument:xmlns:text:1.0"
-     xmlns:table="urn:oasis:names:tc:opendocument:xmlns:table:1.0"
-     xmlns:draw="urn:oasis:names:tc:opendocument:xmlns:drawing:1.0"
-     xmlns:fo="urn:oasis:names:tc:opendocument:xmlns:xsl-fo-compatible:1.0"
-     xmlns:xlink="http://www.w3.org/1999/xlink"
-     xmlns:dc="http://purl.org/dc/elements/1.1/"
-     xmlns:meta="urn:oasis:names:tc:opendocument:xmlns:meta:1.0"
-     xmlns:number="urn:oasis:names:tc:opendocument:xmlns:datastyle:1.0"
-     xmlns:svg="urn:oasis:names:tc:opendocument:xmlns:svg-compatible:1.0"
-     xmlns:chart="urn:oasis:names:tc:opendocument:xmlns:chart:1.0"
-     xmlns:dr3d="urn:oasis:names:tc:opendocument:xmlns:dr3d:1.0"
-     xmlns:math="http://www.w3.org/1998/Math/MathML"
-     xmlns:form="urn:oasis:names:tc:opendocument:xmlns:form:1.0"
-     xmlns:script="urn:oasis:names:tc:opendocument:xmlns:script:1.0"
-     xmlns:config="urn:oasis:names:tc:opendocument:xmlns:config:1.0"
-     xmlns:ooo="http://openoffice.org/2004/office"
-     xmlns:ooow="http://openoffice.org/2004/writer"
-     xmlns:oooc="http://openoffice.org/2004/calc"
-     xmlns:dom="http://www.w3.org/2001/xml-events"
-     xmlns:xforms="http://www.w3.org/2002/xforms"
-     xmlns:xsd="http://www.w3.org/2001/XMLSchema"
-     xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
-     xmlns:rpt="http://openoffice.org/2005/report"
-     xmlns:of="urn:oasis:names:tc:opendocument:xmlns:of:1.2"
-     xmlns:xhtml="http://www.w3.org/1999/xhtml"
-     xmlns:grddl="http://www.w3.org/2003/g/data-view#"
-     xmlns:tableooo="http://openoffice.org/2009/table"
-     xmlns:field="urn:openoffice:names:experimental:ooo-ms-interop:xmlns:field:1.0"
-     xmlns:formx="urn:openoffice:names:experimental:ooxml-odf-interop:xmlns:form:1.0"
-     xmlns:css3t="http://www.w3.org/TR/css3-text/"
-     office:version="1.2"
-     grddl:transformation="http://docs.oasis-open.org/office/1.2/xslt/odf2rdf.xsl"
-     office:mimetype="application/vnd.oasis.opendocument.text">
+xmlns:style="urn:oasis:names:tc:opendocument:xmlns:style:1.0"
+xmlns:text="urn:oasis:names:tc:opendocument:xmlns:text:1.0"
+xmlns:table="urn:oasis:names:tc:opendocument:xmlns:table:1.0"
+xmlns:draw="urn:oasis:names:tc:opendocument:xmlns:drawing:1.0"
+xmlns:fo="urn:oasis:names:tc:opendocument:xmlns:xsl-fo-compatible:1.0"
+xmlns:xlink="http://www.w3.org/1999/xlink"
+xmlns:dc="http://purl.org/dc/elements/1.1/"
+xmlns:meta="urn:oasis:names:tc:opendocument:xmlns:meta:1.0"
+xmlns:number="urn:oasis:names:tc:opendocument:xmlns:datastyle:1.0"
+xmlns:svg="urn:oasis:names:tc:opendocument:xmlns:svg-compatible:1.0"
+xmlns:chart="urn:oasis:names:tc:opendocument:xmlns:chart:1.0"
+xmlns:dr3d="urn:oasis:names:tc:opendocument:xmlns:dr3d:1.0"
+xmlns:math="http://www.w3.org/1998/Math/MathML"
+xmlns:form="urn:oasis:names:tc:opendocument:xmlns:form:1.0"
+xmlns:script="urn:oasis:names:tc:opendocument:xmlns:script:1.0"
+xmlns:ooo="http://openoffice.org/2004/office"
+xmlns:ooow="http://openoffice.org/2004/writer"
+xmlns:oooc="http://openoffice.org/2004/calc"
+xmlns:dom="http://www.w3.org/2001/xml-events"
+xmlns:xforms="http://www.w3.org/2002/xforms"
+xmlns:xsd="http://www.w3.org/2001/XMLSchema"
+xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
+xmlns:rpt="http://openoffice.org/2005/report"
+xmlns:of="urn:oasis:names:tc:opendocument:xmlns:of:1.2"
+xmlns:xhtml="http://www.w3.org/1999/xhtml"
+xmlns:grddl="http://www.w3.org/2003/g/data-view#"
+xmlns:officeooo="http://openoffice.org/2009/office"
+xmlns:tableooo="http://openoffice.org/2009/table"
+xmlns:drawooo="http://openoffice.org/2010/draw"
+xmlns:calcext="urn:org:documentfoundation:names:experimental:calc:xmlns:calcext:1.0"
+xmlns:loext="urn:org:documentfoundation:names:experimental:office:xmlns:loext:1.0"
+xmlns:field="urn:openoffice:names:experimental:ooo-ms-interop:xmlns:field:1.0"
+xmlns:formx="urn:openoffice:names:experimental:ooxml-odf-interop:xmlns:form:1.0"
+xmlns:css3t="http://www.w3.org/TR/css3-text/"
+office:version="1.2"
+office:mimetype="application/vnd.oasis.opendocument.text">
 <office:font-face-decls>
    <style:font-face style:name="Courier New" svg:font-family="'Courier New'"
                     style:font-adornments="Regular"
index b41ec3fc905fe23f66979d3025be18d35b530e74..3365c952ce20329d014e8bafff8338d0976cdf20 100644 (file)
@@ -1,39 +1,41 @@
 <?xml version="1.0" encoding="UTF-8"?>
 <office:document xmlns:office="urn:oasis:names:tc:opendocument:xmlns:office:1.0"
-     xmlns:style="urn:oasis:names:tc:opendocument:xmlns:style:1.0"
-     xmlns:text="urn:oasis:names:tc:opendocument:xmlns:text:1.0"
-     xmlns:table="urn:oasis:names:tc:opendocument:xmlns:table:1.0"
-     xmlns:draw="urn:oasis:names:tc:opendocument:xmlns:drawing:1.0"
-     xmlns:fo="urn:oasis:names:tc:opendocument:xmlns:xsl-fo-compatible:1.0"
-     xmlns:xlink="http://www.w3.org/1999/xlink"
-     xmlns:dc="http://purl.org/dc/elements/1.1/"
-     xmlns:meta="urn:oasis:names:tc:opendocument:xmlns:meta:1.0"
-     xmlns:number="urn:oasis:names:tc:opendocument:xmlns:datastyle:1.0"
-     xmlns:svg="urn:oasis:names:tc:opendocument:xmlns:svg-compatible:1.0"
-     xmlns:chart="urn:oasis:names:tc:opendocument:xmlns:chart:1.0"
-     xmlns:dr3d="urn:oasis:names:tc:opendocument:xmlns:dr3d:1.0"
-     xmlns:math="http://www.w3.org/1998/Math/MathML"
-     xmlns:form="urn:oasis:names:tc:opendocument:xmlns:form:1.0"
-     xmlns:script="urn:oasis:names:tc:opendocument:xmlns:script:1.0"
-     xmlns:config="urn:oasis:names:tc:opendocument:xmlns:config:1.0"
-     xmlns:ooo="http://openoffice.org/2004/office"
-     xmlns:ooow="http://openoffice.org/2004/writer"
-     xmlns:oooc="http://openoffice.org/2004/calc"
-     xmlns:dom="http://www.w3.org/2001/xml-events"
-     xmlns:xforms="http://www.w3.org/2002/xforms"
-     xmlns:xsd="http://www.w3.org/2001/XMLSchema"
-     xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
-     xmlns:rpt="http://openoffice.org/2005/report"
-     xmlns:of="urn:oasis:names:tc:opendocument:xmlns:of:1.2"
-     xmlns:xhtml="http://www.w3.org/1999/xhtml"
-     xmlns:grddl="http://www.w3.org/2003/g/data-view#"
-     xmlns:tableooo="http://openoffice.org/2009/table"
-     xmlns:field="urn:openoffice:names:experimental:ooo-ms-interop:xmlns:field:1.0"
-     xmlns:formx="urn:openoffice:names:experimental:ooxml-odf-interop:xmlns:form:1.0"
-     xmlns:css3t="http://www.w3.org/TR/css3-text/"
-     office:version="1.2"
-     grddl:transformation="http://docs.oasis-open.org/office/1.2/xslt/odf2rdf.xsl"
-     office:mimetype="application/vnd.oasis.opendocument.text">
+xmlns:style="urn:oasis:names:tc:opendocument:xmlns:style:1.0"
+xmlns:text="urn:oasis:names:tc:opendocument:xmlns:text:1.0"
+xmlns:table="urn:oasis:names:tc:opendocument:xmlns:table:1.0"
+xmlns:draw="urn:oasis:names:tc:opendocument:xmlns:drawing:1.0"
+xmlns:fo="urn:oasis:names:tc:opendocument:xmlns:xsl-fo-compatible:1.0"
+xmlns:xlink="http://www.w3.org/1999/xlink"
+xmlns:dc="http://purl.org/dc/elements/1.1/"
+xmlns:meta="urn:oasis:names:tc:opendocument:xmlns:meta:1.0"
+xmlns:number="urn:oasis:names:tc:opendocument:xmlns:datastyle:1.0"
+xmlns:svg="urn:oasis:names:tc:opendocument:xmlns:svg-compatible:1.0"
+xmlns:chart="urn:oasis:names:tc:opendocument:xmlns:chart:1.0"
+xmlns:dr3d="urn:oasis:names:tc:opendocument:xmlns:dr3d:1.0"
+xmlns:math="http://www.w3.org/1998/Math/MathML"
+xmlns:form="urn:oasis:names:tc:opendocument:xmlns:form:1.0"
+xmlns:script="urn:oasis:names:tc:opendocument:xmlns:script:1.0"
+xmlns:ooo="http://openoffice.org/2004/office"
+xmlns:ooow="http://openoffice.org/2004/writer"
+xmlns:oooc="http://openoffice.org/2004/calc"
+xmlns:dom="http://www.w3.org/2001/xml-events"
+xmlns:xforms="http://www.w3.org/2002/xforms"
+xmlns:xsd="http://www.w3.org/2001/XMLSchema"
+xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
+xmlns:rpt="http://openoffice.org/2005/report"
+xmlns:of="urn:oasis:names:tc:opendocument:xmlns:of:1.2"
+xmlns:xhtml="http://www.w3.org/1999/xhtml"
+xmlns:grddl="http://www.w3.org/2003/g/data-view#"
+xmlns:officeooo="http://openoffice.org/2009/office"
+xmlns:tableooo="http://openoffice.org/2009/table"
+xmlns:drawooo="http://openoffice.org/2010/draw"
+xmlns:calcext="urn:org:documentfoundation:names:experimental:calc:xmlns:calcext:1.0"
+xmlns:loext="urn:org:documentfoundation:names:experimental:office:xmlns:loext:1.0"
+xmlns:field="urn:openoffice:names:experimental:ooo-ms-interop:xmlns:field:1.0"
+xmlns:formx="urn:openoffice:names:experimental:ooxml-odf-interop:xmlns:form:1.0"
+xmlns:css3t="http://www.w3.org/TR/css3-text/"
+office:version="1.2"
+office:mimetype="application/vnd.oasis.opendocument.text">
 <office:font-face-decls>
    <style:font-face style:name="Courier New" svg:font-family="'Courier New'"
                     style:font-adornments="Regular"
index 647c4bcbb2900dc1a881271c26803d6d7fc7abd4..e1ccd3d056a55e827a5ab0047c48c0121b7a9be4 100644 (file)
@@ -1,39 +1,41 @@
 <?xml version="1.0" encoding="UTF-8"?>
 <office:document xmlns:office="urn:oasis:names:tc:opendocument:xmlns:office:1.0"
-     xmlns:style="urn:oasis:names:tc:opendocument:xmlns:style:1.0"
-     xmlns:text="urn:oasis:names:tc:opendocument:xmlns:text:1.0"
-     xmlns:table="urn:oasis:names:tc:opendocument:xmlns:table:1.0"
-     xmlns:draw="urn:oasis:names:tc:opendocument:xmlns:drawing:1.0"
-     xmlns:fo="urn:oasis:names:tc:opendocument:xmlns:xsl-fo-compatible:1.0"
-     xmlns:xlink="http://www.w3.org/1999/xlink"
-     xmlns:dc="http://purl.org/dc/elements/1.1/"
-     xmlns:meta="urn:oasis:names:tc:opendocument:xmlns:meta:1.0"
-     xmlns:number="urn:oasis:names:tc:opendocument:xmlns:datastyle:1.0"
-     xmlns:svg="urn:oasis:names:tc:opendocument:xmlns:svg-compatible:1.0"
-     xmlns:chart="urn:oasis:names:tc:opendocument:xmlns:chart:1.0"
-     xmlns:dr3d="urn:oasis:names:tc:opendocument:xmlns:dr3d:1.0"
-     xmlns:math="http://www.w3.org/1998/Math/MathML"
-     xmlns:form="urn:oasis:names:tc:opendocument:xmlns:form:1.0"
-     xmlns:script="urn:oasis:names:tc:opendocument:xmlns:script:1.0"
-     xmlns:config="urn:oasis:names:tc:opendocument:xmlns:config:1.0"
-     xmlns:ooo="http://openoffice.org/2004/office"
-     xmlns:ooow="http://openoffice.org/2004/writer"
-     xmlns:oooc="http://openoffice.org/2004/calc"
-     xmlns:dom="http://www.w3.org/2001/xml-events"
-     xmlns:xforms="http://www.w3.org/2002/xforms"
-     xmlns:xsd="http://www.w3.org/2001/XMLSchema"
-     xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
-     xmlns:rpt="http://openoffice.org/2005/report"
-     xmlns:of="urn:oasis:names:tc:opendocument:xmlns:of:1.2"
-     xmlns:xhtml="http://www.w3.org/1999/xhtml"
-     xmlns:grddl="http://www.w3.org/2003/g/data-view#"
-     xmlns:tableooo="http://openoffice.org/2009/table"
-     xmlns:field="urn:openoffice:names:experimental:ooo-ms-interop:xmlns:field:1.0"
-     xmlns:formx="urn:openoffice:names:experimental:ooxml-odf-interop:xmlns:form:1.0"
-     xmlns:css3t="http://www.w3.org/TR/css3-text/"
-     office:version="1.2"
-     grddl:transformation="http://docs.oasis-open.org/office/1.2/xslt/odf2rdf.xsl"
-     office:mimetype="application/vnd.oasis.opendocument.text">
+xmlns:style="urn:oasis:names:tc:opendocument:xmlns:style:1.0"
+xmlns:text="urn:oasis:names:tc:opendocument:xmlns:text:1.0"
+xmlns:table="urn:oasis:names:tc:opendocument:xmlns:table:1.0"
+xmlns:draw="urn:oasis:names:tc:opendocument:xmlns:drawing:1.0"
+xmlns:fo="urn:oasis:names:tc:opendocument:xmlns:xsl-fo-compatible:1.0"
+xmlns:xlink="http://www.w3.org/1999/xlink"
+xmlns:dc="http://purl.org/dc/elements/1.1/"
+xmlns:meta="urn:oasis:names:tc:opendocument:xmlns:meta:1.0"
+xmlns:number="urn:oasis:names:tc:opendocument:xmlns:datastyle:1.0"
+xmlns:svg="urn:oasis:names:tc:opendocument:xmlns:svg-compatible:1.0"
+xmlns:chart="urn:oasis:names:tc:opendocument:xmlns:chart:1.0"
+xmlns:dr3d="urn:oasis:names:tc:opendocument:xmlns:dr3d:1.0"
+xmlns:math="http://www.w3.org/1998/Math/MathML"
+xmlns:form="urn:oasis:names:tc:opendocument:xmlns:form:1.0"
+xmlns:script="urn:oasis:names:tc:opendocument:xmlns:script:1.0"
+xmlns:ooo="http://openoffice.org/2004/office"
+xmlns:ooow="http://openoffice.org/2004/writer"
+xmlns:oooc="http://openoffice.org/2004/calc"
+xmlns:dom="http://www.w3.org/2001/xml-events"
+xmlns:xforms="http://www.w3.org/2002/xforms"
+xmlns:xsd="http://www.w3.org/2001/XMLSchema"
+xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
+xmlns:rpt="http://openoffice.org/2005/report"
+xmlns:of="urn:oasis:names:tc:opendocument:xmlns:of:1.2"
+xmlns:xhtml="http://www.w3.org/1999/xhtml"
+xmlns:grddl="http://www.w3.org/2003/g/data-view#"
+xmlns:officeooo="http://openoffice.org/2009/office"
+xmlns:tableooo="http://openoffice.org/2009/table"
+xmlns:drawooo="http://openoffice.org/2010/draw"
+xmlns:calcext="urn:org:documentfoundation:names:experimental:calc:xmlns:calcext:1.0"
+xmlns:loext="urn:org:documentfoundation:names:experimental:office:xmlns:loext:1.0"
+xmlns:field="urn:openoffice:names:experimental:ooo-ms-interop:xmlns:field:1.0"
+xmlns:formx="urn:openoffice:names:experimental:ooxml-odf-interop:xmlns:form:1.0"
+xmlns:css3t="http://www.w3.org/TR/css3-text/"
+office:version="1.2"
+office:mimetype="application/vnd.oasis.opendocument.text">
 <office:font-face-decls>
    <style:font-face style:name="Courier New" svg:font-family="'Courier New'"
                     style:font-adornments="Regular"
index 5ae3c39e801be15d857cc5363c0cf02f1bd87ebd..d362512c0369c5fbfd46e08f5343c7091d6a65fe 100644 (file)
@@ -1,39 +1,41 @@
 <?xml version="1.0" encoding="UTF-8"?>
 <office:document xmlns:office="urn:oasis:names:tc:opendocument:xmlns:office:1.0"
-     xmlns:style="urn:oasis:names:tc:opendocument:xmlns:style:1.0"
-     xmlns:text="urn:oasis:names:tc:opendocument:xmlns:text:1.0"
-     xmlns:table="urn:oasis:names:tc:opendocument:xmlns:table:1.0"
-     xmlns:draw="urn:oasis:names:tc:opendocument:xmlns:drawing:1.0"
-     xmlns:fo="urn:oasis:names:tc:opendocument:xmlns:xsl-fo-compatible:1.0"
-     xmlns:xlink="http://www.w3.org/1999/xlink"
-     xmlns:dc="http://purl.org/dc/elements/1.1/"
-     xmlns:meta="urn:oasis:names:tc:opendocument:xmlns:meta:1.0"
-     xmlns:number="urn:oasis:names:tc:opendocument:xmlns:datastyle:1.0"
-     xmlns:svg="urn:oasis:names:tc:opendocument:xmlns:svg-compatible:1.0"
-     xmlns:chart="urn:oasis:names:tc:opendocument:xmlns:chart:1.0"
-     xmlns:dr3d="urn:oasis:names:tc:opendocument:xmlns:dr3d:1.0"
-     xmlns:math="http://www.w3.org/1998/Math/MathML"
-     xmlns:form="urn:oasis:names:tc:opendocument:xmlns:form:1.0"
-     xmlns:script="urn:oasis:names:tc:opendocument:xmlns:script:1.0"
-     xmlns:config="urn:oasis:names:tc:opendocument:xmlns:config:1.0"
-     xmlns:ooo="http://openoffice.org/2004/office"
-     xmlns:ooow="http://openoffice.org/2004/writer"
-     xmlns:oooc="http://openoffice.org/2004/calc"
-     xmlns:dom="http://www.w3.org/2001/xml-events"
-     xmlns:xforms="http://www.w3.org/2002/xforms"
-     xmlns:xsd="http://www.w3.org/2001/XMLSchema"
-     xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
-     xmlns:rpt="http://openoffice.org/2005/report"
-     xmlns:of="urn:oasis:names:tc:opendocument:xmlns:of:1.2"
-     xmlns:xhtml="http://www.w3.org/1999/xhtml"
-     xmlns:grddl="http://www.w3.org/2003/g/data-view#"
-     xmlns:tableooo="http://openoffice.org/2009/table"
-     xmlns:field="urn:openoffice:names:experimental:ooo-ms-interop:xmlns:field:1.0"
-     xmlns:formx="urn:openoffice:names:experimental:ooxml-odf-interop:xmlns:form:1.0"
-     xmlns:css3t="http://www.w3.org/TR/css3-text/"
-     office:version="1.2"
-     grddl:transformation="http://docs.oasis-open.org/office/1.2/xslt/odf2rdf.xsl"
-     office:mimetype="application/vnd.oasis.opendocument.text">
+xmlns:style="urn:oasis:names:tc:opendocument:xmlns:style:1.0"
+xmlns:text="urn:oasis:names:tc:opendocument:xmlns:text:1.0"
+xmlns:table="urn:oasis:names:tc:opendocument:xmlns:table:1.0"
+xmlns:draw="urn:oasis:names:tc:opendocument:xmlns:drawing:1.0"
+xmlns:fo="urn:oasis:names:tc:opendocument:xmlns:xsl-fo-compatible:1.0"
+xmlns:xlink="http://www.w3.org/1999/xlink"
+xmlns:dc="http://purl.org/dc/elements/1.1/"
+xmlns:meta="urn:oasis:names:tc:opendocument:xmlns:meta:1.0"
+xmlns:number="urn:oasis:names:tc:opendocument:xmlns:datastyle:1.0"
+xmlns:svg="urn:oasis:names:tc:opendocument:xmlns:svg-compatible:1.0"
+xmlns:chart="urn:oasis:names:tc:opendocument:xmlns:chart:1.0"
+xmlns:dr3d="urn:oasis:names:tc:opendocument:xmlns:dr3d:1.0"
+xmlns:math="http://www.w3.org/1998/Math/MathML"
+xmlns:form="urn:oasis:names:tc:opendocument:xmlns:form:1.0"
+xmlns:script="urn:oasis:names:tc:opendocument:xmlns:script:1.0"
+xmlns:ooo="http://openoffice.org/2004/office"
+xmlns:ooow="http://openoffice.org/2004/writer"
+xmlns:oooc="http://openoffice.org/2004/calc"
+xmlns:dom="http://www.w3.org/2001/xml-events"
+xmlns:xforms="http://www.w3.org/2002/xforms"
+xmlns:xsd="http://www.w3.org/2001/XMLSchema"
+xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
+xmlns:rpt="http://openoffice.org/2005/report"
+xmlns:of="urn:oasis:names:tc:opendocument:xmlns:of:1.2"
+xmlns:xhtml="http://www.w3.org/1999/xhtml"
+xmlns:grddl="http://www.w3.org/2003/g/data-view#"
+xmlns:officeooo="http://openoffice.org/2009/office"
+xmlns:tableooo="http://openoffice.org/2009/table"
+xmlns:drawooo="http://openoffice.org/2010/draw"
+xmlns:calcext="urn:org:documentfoundation:names:experimental:calc:xmlns:calcext:1.0"
+xmlns:loext="urn:org:documentfoundation:names:experimental:office:xmlns:loext:1.0"
+xmlns:field="urn:openoffice:names:experimental:ooo-ms-interop:xmlns:field:1.0"
+xmlns:formx="urn:openoffice:names:experimental:ooxml-odf-interop:xmlns:form:1.0"
+xmlns:css3t="http://www.w3.org/TR/css3-text/"
+office:version="1.2"
+office:mimetype="application/vnd.oasis.opendocument.text">
 <office:font-face-decls>
    <style:font-face style:name="Courier New" svg:font-family="'Courier New'"
                     style:font-adornments="Regular"
index 3716cfef8cf865e86ecc676a72186f093480add0..d01e4f70db1f16d6d4a4701e7218f8945ab1d404 100644 (file)
@@ -1,39 +1,41 @@
 <?xml version="1.0" encoding="UTF-8"?>
 <office:document xmlns:office="urn:oasis:names:tc:opendocument:xmlns:office:1.0"
-     xmlns:style="urn:oasis:names:tc:opendocument:xmlns:style:1.0"
-     xmlns:text="urn:oasis:names:tc:opendocument:xmlns:text:1.0"
-     xmlns:table="urn:oasis:names:tc:opendocument:xmlns:table:1.0"
-     xmlns:draw="urn:oasis:names:tc:opendocument:xmlns:drawing:1.0"
-     xmlns:fo="urn:oasis:names:tc:opendocument:xmlns:xsl-fo-compatible:1.0"
-     xmlns:xlink="http://www.w3.org/1999/xlink"
-     xmlns:dc="http://purl.org/dc/elements/1.1/"
-     xmlns:meta="urn:oasis:names:tc:opendocument:xmlns:meta:1.0"
-     xmlns:number="urn:oasis:names:tc:opendocument:xmlns:datastyle:1.0"
-     xmlns:svg="urn:oasis:names:tc:opendocument:xmlns:svg-compatible:1.0"
-     xmlns:chart="urn:oasis:names:tc:opendocument:xmlns:chart:1.0"
-     xmlns:dr3d="urn:oasis:names:tc:opendocument:xmlns:dr3d:1.0"
-     xmlns:math="http://www.w3.org/1998/Math/MathML"
-     xmlns:form="urn:oasis:names:tc:opendocument:xmlns:form:1.0"
-     xmlns:script="urn:oasis:names:tc:opendocument:xmlns:script:1.0"
-     xmlns:config="urn:oasis:names:tc:opendocument:xmlns:config:1.0"
-     xmlns:ooo="http://openoffice.org/2004/office"
-     xmlns:ooow="http://openoffice.org/2004/writer"
-     xmlns:oooc="http://openoffice.org/2004/calc"
-     xmlns:dom="http://www.w3.org/2001/xml-events"
-     xmlns:xforms="http://www.w3.org/2002/xforms"
-     xmlns:xsd="http://www.w3.org/2001/XMLSchema"
-     xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
-     xmlns:rpt="http://openoffice.org/2005/report"
-     xmlns:of="urn:oasis:names:tc:opendocument:xmlns:of:1.2"
-     xmlns:xhtml="http://www.w3.org/1999/xhtml"
-     xmlns:grddl="http://www.w3.org/2003/g/data-view#"
-     xmlns:tableooo="http://openoffice.org/2009/table"
-     xmlns:field="urn:openoffice:names:experimental:ooo-ms-interop:xmlns:field:1.0"
-     xmlns:formx="urn:openoffice:names:experimental:ooxml-odf-interop:xmlns:form:1.0"
-     xmlns:css3t="http://www.w3.org/TR/css3-text/"
-     office:version="1.2"
-     grddl:transformation="http://docs.oasis-open.org/office/1.2/xslt/odf2rdf.xsl"
-     office:mimetype="application/vnd.oasis.opendocument.text">
+xmlns:style="urn:oasis:names:tc:opendocument:xmlns:style:1.0"
+xmlns:text="urn:oasis:names:tc:opendocument:xmlns:text:1.0"
+xmlns:table="urn:oasis:names:tc:opendocument:xmlns:table:1.0"
+xmlns:draw="urn:oasis:names:tc:opendocument:xmlns:drawing:1.0"
+xmlns:fo="urn:oasis:names:tc:opendocument:xmlns:xsl-fo-compatible:1.0"
+xmlns:xlink="http://www.w3.org/1999/xlink"
+xmlns:dc="http://purl.org/dc/elements/1.1/"
+xmlns:meta="urn:oasis:names:tc:opendocument:xmlns:meta:1.0"
+xmlns:number="urn:oasis:names:tc:opendocument:xmlns:datastyle:1.0"
+xmlns:svg="urn:oasis:names:tc:opendocument:xmlns:svg-compatible:1.0"
+xmlns:chart="urn:oasis:names:tc:opendocument:xmlns:chart:1.0"
+xmlns:dr3d="urn:oasis:names:tc:opendocument:xmlns:dr3d:1.0"
+xmlns:math="http://www.w3.org/1998/Math/MathML"
+xmlns:form="urn:oasis:names:tc:opendocument:xmlns:form:1.0"
+xmlns:script="urn:oasis:names:tc:opendocument:xmlns:script:1.0"
+xmlns:ooo="http://openoffice.org/2004/office"
+xmlns:ooow="http://openoffice.org/2004/writer"
+xmlns:oooc="http://openoffice.org/2004/calc"
+xmlns:dom="http://www.w3.org/2001/xml-events"
+xmlns:xforms="http://www.w3.org/2002/xforms"
+xmlns:xsd="http://www.w3.org/2001/XMLSchema"
+xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
+xmlns:rpt="http://openoffice.org/2005/report"
+xmlns:of="urn:oasis:names:tc:opendocument:xmlns:of:1.2"
+xmlns:xhtml="http://www.w3.org/1999/xhtml"
+xmlns:grddl="http://www.w3.org/2003/g/data-view#"
+xmlns:officeooo="http://openoffice.org/2009/office"
+xmlns:tableooo="http://openoffice.org/2009/table"
+xmlns:drawooo="http://openoffice.org/2010/draw"
+xmlns:calcext="urn:org:documentfoundation:names:experimental:calc:xmlns:calcext:1.0"
+xmlns:loext="urn:org:documentfoundation:names:experimental:office:xmlns:loext:1.0"
+xmlns:field="urn:openoffice:names:experimental:ooo-ms-interop:xmlns:field:1.0"
+xmlns:formx="urn:openoffice:names:experimental:ooxml-odf-interop:xmlns:form:1.0"
+xmlns:css3t="http://www.w3.org/TR/css3-text/"
+office:version="1.2"
+office:mimetype="application/vnd.oasis.opendocument.text">
 <office:font-face-decls>
    <style:font-face style:name="Courier New" svg:font-family="'Courier New'"
                     style:font-adornments="Regular"
index 7d482cbc1636d90ad6db1bf19ea86baec4342d20..fb0e65c3ed19b577f749fb713e509bcf2f85065e 100644 (file)
@@ -1,39 +1,41 @@
 <?xml version="1.0" encoding="UTF-8"?>
 <office:document xmlns:office="urn:oasis:names:tc:opendocument:xmlns:office:1.0"
-     xmlns:style="urn:oasis:names:tc:opendocument:xmlns:style:1.0"
-     xmlns:text="urn:oasis:names:tc:opendocument:xmlns:text:1.0"
-     xmlns:table="urn:oasis:names:tc:opendocument:xmlns:table:1.0"
-     xmlns:draw="urn:oasis:names:tc:opendocument:xmlns:drawing:1.0"
-     xmlns:fo="urn:oasis:names:tc:opendocument:xmlns:xsl-fo-compatible:1.0"
-     xmlns:xlink="http://www.w3.org/1999/xlink"
-     xmlns:dc="http://purl.org/dc/elements/1.1/"
-     xmlns:meta="urn:oasis:names:tc:opendocument:xmlns:meta:1.0"
-     xmlns:number="urn:oasis:names:tc:opendocument:xmlns:datastyle:1.0"
-     xmlns:svg="urn:oasis:names:tc:opendocument:xmlns:svg-compatible:1.0"
-     xmlns:chart="urn:oasis:names:tc:opendocument:xmlns:chart:1.0"
-     xmlns:dr3d="urn:oasis:names:tc:opendocument:xmlns:dr3d:1.0"
-     xmlns:math="http://www.w3.org/1998/Math/MathML"
-     xmlns:form="urn:oasis:names:tc:opendocument:xmlns:form:1.0"
-     xmlns:script="urn:oasis:names:tc:opendocument:xmlns:script:1.0"
-     xmlns:config="urn:oasis:names:tc:opendocument:xmlns:config:1.0"
-     xmlns:ooo="http://openoffice.org/2004/office"
-     xmlns:ooow="http://openoffice.org/2004/writer"
-     xmlns:oooc="http://openoffice.org/2004/calc"
-     xmlns:dom="http://www.w3.org/2001/xml-events"
-     xmlns:xforms="http://www.w3.org/2002/xforms"
-     xmlns:xsd="http://www.w3.org/2001/XMLSchema"
-     xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
-     xmlns:rpt="http://openoffice.org/2005/report"
-     xmlns:of="urn:oasis:names:tc:opendocument:xmlns:of:1.2"
-     xmlns:xhtml="http://www.w3.org/1999/xhtml"
-     xmlns:grddl="http://www.w3.org/2003/g/data-view#"
-     xmlns:tableooo="http://openoffice.org/2009/table"
-     xmlns:field="urn:openoffice:names:experimental:ooo-ms-interop:xmlns:field:1.0"
-     xmlns:formx="urn:openoffice:names:experimental:ooxml-odf-interop:xmlns:form:1.0"
-     xmlns:css3t="http://www.w3.org/TR/css3-text/"
-     office:version="1.2"
-     grddl:transformation="http://docs.oasis-open.org/office/1.2/xslt/odf2rdf.xsl"
-     office:mimetype="application/vnd.oasis.opendocument.text">
+xmlns:style="urn:oasis:names:tc:opendocument:xmlns:style:1.0"
+xmlns:text="urn:oasis:names:tc:opendocument:xmlns:text:1.0"
+xmlns:table="urn:oasis:names:tc:opendocument:xmlns:table:1.0"
+xmlns:draw="urn:oasis:names:tc:opendocument:xmlns:drawing:1.0"
+xmlns:fo="urn:oasis:names:tc:opendocument:xmlns:xsl-fo-compatible:1.0"
+xmlns:xlink="http://www.w3.org/1999/xlink"
+xmlns:dc="http://purl.org/dc/elements/1.1/"
+xmlns:meta="urn:oasis:names:tc:opendocument:xmlns:meta:1.0"
+xmlns:number="urn:oasis:names:tc:opendocument:xmlns:datastyle:1.0"
+xmlns:svg="urn:oasis:names:tc:opendocument:xmlns:svg-compatible:1.0"
+xmlns:chart="urn:oasis:names:tc:opendocument:xmlns:chart:1.0"
+xmlns:dr3d="urn:oasis:names:tc:opendocument:xmlns:dr3d:1.0"
+xmlns:math="http://www.w3.org/1998/Math/MathML"
+xmlns:form="urn:oasis:names:tc:opendocument:xmlns:form:1.0"
+xmlns:script="urn:oasis:names:tc:opendocument:xmlns:script:1.0"
+xmlns:ooo="http://openoffice.org/2004/office"
+xmlns:ooow="http://openoffice.org/2004/writer"
+xmlns:oooc="http://openoffice.org/2004/calc"
+xmlns:dom="http://www.w3.org/2001/xml-events"
+xmlns:xforms="http://www.w3.org/2002/xforms"
+xmlns:xsd="http://www.w3.org/2001/XMLSchema"
+xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
+xmlns:rpt="http://openoffice.org/2005/report"
+xmlns:of="urn:oasis:names:tc:opendocument:xmlns:of:1.2"
+xmlns:xhtml="http://www.w3.org/1999/xhtml"
+xmlns:grddl="http://www.w3.org/2003/g/data-view#"
+xmlns:officeooo="http://openoffice.org/2009/office"
+xmlns:tableooo="http://openoffice.org/2009/table"
+xmlns:drawooo="http://openoffice.org/2010/draw"
+xmlns:calcext="urn:org:documentfoundation:names:experimental:calc:xmlns:calcext:1.0"
+xmlns:loext="urn:org:documentfoundation:names:experimental:office:xmlns:loext:1.0"
+xmlns:field="urn:openoffice:names:experimental:ooo-ms-interop:xmlns:field:1.0"
+xmlns:formx="urn:openoffice:names:experimental:ooxml-odf-interop:xmlns:form:1.0"
+xmlns:css3t="http://www.w3.org/TR/css3-text/"
+office:version="1.2"
+office:mimetype="application/vnd.oasis.opendocument.text">
 <office:font-face-decls>
    <style:font-face style:name="Courier New" svg:font-family="'Courier New'"
                     style:font-adornments="Regular"
index 53273ea4c2742512a3a1816b6b932d6e70556fd7..6951dab670e0d7811d59d61e59db8b25c8abb914 100644 (file)
@@ -1,39 +1,41 @@
 <?xml version="1.0" encoding="UTF-8"?>
 <office:document xmlns:office="urn:oasis:names:tc:opendocument:xmlns:office:1.0"
-     xmlns:style="urn:oasis:names:tc:opendocument:xmlns:style:1.0"
-     xmlns:text="urn:oasis:names:tc:opendocument:xmlns:text:1.0"
-     xmlns:table="urn:oasis:names:tc:opendocument:xmlns:table:1.0"
-     xmlns:draw="urn:oasis:names:tc:opendocument:xmlns:drawing:1.0"
-     xmlns:fo="urn:oasis:names:tc:opendocument:xmlns:xsl-fo-compatible:1.0"
-     xmlns:xlink="http://www.w3.org/1999/xlink"
-     xmlns:dc="http://purl.org/dc/elements/1.1/"
-     xmlns:meta="urn:oasis:names:tc:opendocument:xmlns:meta:1.0"
-     xmlns:number="urn:oasis:names:tc:opendocument:xmlns:datastyle:1.0"
-     xmlns:svg="urn:oasis:names:tc:opendocument:xmlns:svg-compatible:1.0"
-     xmlns:chart="urn:oasis:names:tc:opendocument:xmlns:chart:1.0"
-     xmlns:dr3d="urn:oasis:names:tc:opendocument:xmlns:dr3d:1.0"
-     xmlns:math="http://www.w3.org/1998/Math/MathML"
-     xmlns:form="urn:oasis:names:tc:opendocument:xmlns:form:1.0"
-     xmlns:script="urn:oasis:names:tc:opendocument:xmlns:script:1.0"
-     xmlns:config="urn:oasis:names:tc:opendocument:xmlns:config:1.0"
-     xmlns:ooo="http://openoffice.org/2004/office"
-     xmlns:ooow="http://openoffice.org/2004/writer"
-     xmlns:oooc="http://openoffice.org/2004/calc"
-     xmlns:dom="http://www.w3.org/2001/xml-events"
-     xmlns:xforms="http://www.w3.org/2002/xforms"
-     xmlns:xsd="http://www.w3.org/2001/XMLSchema"
-     xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
-     xmlns:rpt="http://openoffice.org/2005/report"
-     xmlns:of="urn:oasis:names:tc:opendocument:xmlns:of:1.2"
-     xmlns:xhtml="http://www.w3.org/1999/xhtml"
-     xmlns:grddl="http://www.w3.org/2003/g/data-view#"
-     xmlns:tableooo="http://openoffice.org/2009/table"
-     xmlns:field="urn:openoffice:names:experimental:ooo-ms-interop:xmlns:field:1.0"
-     xmlns:formx="urn:openoffice:names:experimental:ooxml-odf-interop:xmlns:form:1.0"
-     xmlns:css3t="http://www.w3.org/TR/css3-text/"
-     office:version="1.2"
-     grddl:transformation="http://docs.oasis-open.org/office/1.2/xslt/odf2rdf.xsl"
-     office:mimetype="application/vnd.oasis.opendocument.text">
+xmlns:style="urn:oasis:names:tc:opendocument:xmlns:style:1.0"
+xmlns:text="urn:oasis:names:tc:opendocument:xmlns:text:1.0"
+xmlns:table="urn:oasis:names:tc:opendocument:xmlns:table:1.0"
+xmlns:draw="urn:oasis:names:tc:opendocument:xmlns:drawing:1.0"
+xmlns:fo="urn:oasis:names:tc:opendocument:xmlns:xsl-fo-compatible:1.0"
+xmlns:xlink="http://www.w3.org/1999/xlink"
+xmlns:dc="http://purl.org/dc/elements/1.1/"
+xmlns:meta="urn:oasis:names:tc:opendocument:xmlns:meta:1.0"
+xmlns:number="urn:oasis:names:tc:opendocument:xmlns:datastyle:1.0"
+xmlns:svg="urn:oasis:names:tc:opendocument:xmlns:svg-compatible:1.0"
+xmlns:chart="urn:oasis:names:tc:opendocument:xmlns:chart:1.0"
+xmlns:dr3d="urn:oasis:names:tc:opendocument:xmlns:dr3d:1.0"
+xmlns:math="http://www.w3.org/1998/Math/MathML"
+xmlns:form="urn:oasis:names:tc:opendocument:xmlns:form:1.0"
+xmlns:script="urn:oasis:names:tc:opendocument:xmlns:script:1.0"
+xmlns:ooo="http://openoffice.org/2004/office"
+xmlns:ooow="http://openoffice.org/2004/writer"
+xmlns:oooc="http://openoffice.org/2004/calc"
+xmlns:dom="http://www.w3.org/2001/xml-events"
+xmlns:xforms="http://www.w3.org/2002/xforms"
+xmlns:xsd="http://www.w3.org/2001/XMLSchema"
+xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
+xmlns:rpt="http://openoffice.org/2005/report"
+xmlns:of="urn:oasis:names:tc:opendocument:xmlns:of:1.2"
+xmlns:xhtml="http://www.w3.org/1999/xhtml"
+xmlns:grddl="http://www.w3.org/2003/g/data-view#"
+xmlns:officeooo="http://openoffice.org/2009/office"
+xmlns:tableooo="http://openoffice.org/2009/table"
+xmlns:drawooo="http://openoffice.org/2010/draw"
+xmlns:calcext="urn:org:documentfoundation:names:experimental:calc:xmlns:calcext:1.0"
+xmlns:loext="urn:org:documentfoundation:names:experimental:office:xmlns:loext:1.0"
+xmlns:field="urn:openoffice:names:experimental:ooo-ms-interop:xmlns:field:1.0"
+xmlns:formx="urn:openoffice:names:experimental:ooxml-odf-interop:xmlns:form:1.0"
+xmlns:css3t="http://www.w3.org/TR/css3-text/"
+office:version="1.2"
+office:mimetype="application/vnd.oasis.opendocument.text">
 <office:font-face-decls>
    <style:font-face style:name="Courier New" svg:font-family="'Courier New'"
                     style:font-adornments="Regular"
index 4ffe68652c4ccb8af2226aa66241e1f7aeecbbcd..85c10e1041942266025b59a18d38d2b298625384 100644 (file)
@@ -1,39 +1,41 @@
 <?xml version="1.0" encoding="UTF-8"?>
 <office:document xmlns:office="urn:oasis:names:tc:opendocument:xmlns:office:1.0"
-     xmlns:style="urn:oasis:names:tc:opendocument:xmlns:style:1.0"
-     xmlns:text="urn:oasis:names:tc:opendocument:xmlns:text:1.0"
-     xmlns:table="urn:oasis:names:tc:opendocument:xmlns:table:1.0"
-     xmlns:draw="urn:oasis:names:tc:opendocument:xmlns:drawing:1.0"
-     xmlns:fo="urn:oasis:names:tc:opendocument:xmlns:xsl-fo-compatible:1.0"
-     xmlns:xlink="http://www.w3.org/1999/xlink"
-     xmlns:dc="http://purl.org/dc/elements/1.1/"
-     xmlns:meta="urn:oasis:names:tc:opendocument:xmlns:meta:1.0"
-     xmlns:number="urn:oasis:names:tc:opendocument:xmlns:datastyle:1.0"
-     xmlns:svg="urn:oasis:names:tc:opendocument:xmlns:svg-compatible:1.0"
-     xmlns:chart="urn:oasis:names:tc:opendocument:xmlns:chart:1.0"
-     xmlns:dr3d="urn:oasis:names:tc:opendocument:xmlns:dr3d:1.0"
-     xmlns:math="http://www.w3.org/1998/Math/MathML"
-     xmlns:form="urn:oasis:names:tc:opendocument:xmlns:form:1.0"
-     xmlns:script="urn:oasis:names:tc:opendocument:xmlns:script:1.0"
-     xmlns:config="urn:oasis:names:tc:opendocument:xmlns:config:1.0"
-     xmlns:ooo="http://openoffice.org/2004/office"
-     xmlns:ooow="http://openoffice.org/2004/writer"
-     xmlns:oooc="http://openoffice.org/2004/calc"
-     xmlns:dom="http://www.w3.org/2001/xml-events"
-     xmlns:xforms="http://www.w3.org/2002/xforms"
-     xmlns:xsd="http://www.w3.org/2001/XMLSchema"
-     xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
-     xmlns:rpt="http://openoffice.org/2005/report"
-     xmlns:of="urn:oasis:names:tc:opendocument:xmlns:of:1.2"
-     xmlns:xhtml="http://www.w3.org/1999/xhtml"
-     xmlns:grddl="http://www.w3.org/2003/g/data-view#"
-     xmlns:tableooo="http://openoffice.org/2009/table"
-     xmlns:field="urn:openoffice:names:experimental:ooo-ms-interop:xmlns:field:1.0"
-     xmlns:formx="urn:openoffice:names:experimental:ooxml-odf-interop:xmlns:form:1.0"
-     xmlns:css3t="http://www.w3.org/TR/css3-text/"
-     office:version="1.2"
-     grddl:transformation="http://docs.oasis-open.org/office/1.2/xslt/odf2rdf.xsl"
-     office:mimetype="application/vnd.oasis.opendocument.text">
+xmlns:style="urn:oasis:names:tc:opendocument:xmlns:style:1.0"
+xmlns:text="urn:oasis:names:tc:opendocument:xmlns:text:1.0"
+xmlns:table="urn:oasis:names:tc:opendocument:xmlns:table:1.0"
+xmlns:draw="urn:oasis:names:tc:opendocument:xmlns:drawing:1.0"
+xmlns:fo="urn:oasis:names:tc:opendocument:xmlns:xsl-fo-compatible:1.0"
+xmlns:xlink="http://www.w3.org/1999/xlink"
+xmlns:dc="http://purl.org/dc/elements/1.1/"
+xmlns:meta="urn:oasis:names:tc:opendocument:xmlns:meta:1.0"
+xmlns:number="urn:oasis:names:tc:opendocument:xmlns:datastyle:1.0"
+xmlns:svg="urn:oasis:names:tc:opendocument:xmlns:svg-compatible:1.0"
+xmlns:chart="urn:oasis:names:tc:opendocument:xmlns:chart:1.0"
+xmlns:dr3d="urn:oasis:names:tc:opendocument:xmlns:dr3d:1.0"
+xmlns:math="http://www.w3.org/1998/Math/MathML"
+xmlns:form="urn:oasis:names:tc:opendocument:xmlns:form:1.0"
+xmlns:script="urn:oasis:names:tc:opendocument:xmlns:script:1.0"
+xmlns:ooo="http://openoffice.org/2004/office"
+xmlns:ooow="http://openoffice.org/2004/writer"
+xmlns:oooc="http://openoffice.org/2004/calc"
+xmlns:dom="http://www.w3.org/2001/xml-events"
+xmlns:xforms="http://www.w3.org/2002/xforms"
+xmlns:xsd="http://www.w3.org/2001/XMLSchema"
+xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
+xmlns:rpt="http://openoffice.org/2005/report"
+xmlns:of="urn:oasis:names:tc:opendocument:xmlns:of:1.2"
+xmlns:xhtml="http://www.w3.org/1999/xhtml"
+xmlns:grddl="http://www.w3.org/2003/g/data-view#"
+xmlns:officeooo="http://openoffice.org/2009/office"
+xmlns:tableooo="http://openoffice.org/2009/table"
+xmlns:drawooo="http://openoffice.org/2010/draw"
+xmlns:calcext="urn:org:documentfoundation:names:experimental:calc:xmlns:calcext:1.0"
+xmlns:loext="urn:org:documentfoundation:names:experimental:office:xmlns:loext:1.0"
+xmlns:field="urn:openoffice:names:experimental:ooo-ms-interop:xmlns:field:1.0"
+xmlns:formx="urn:openoffice:names:experimental:ooxml-odf-interop:xmlns:form:1.0"
+xmlns:css3t="http://www.w3.org/TR/css3-text/"
+office:version="1.2"
+office:mimetype="application/vnd.oasis.opendocument.text">
 <office:font-face-decls>
    <style:font-face style:name="Courier New" svg:font-family="'Courier New'"
                     style:font-adornments="Regular"
index 2fa301e0fe274a09cd34a3d9a1f73d0175f940dc..ea496bd1bb5ce274fa317cd152c82755639ae051 100644 (file)
@@ -1,39 +1,41 @@
 <?xml version="1.0" encoding="UTF-8"?>
 <office:document xmlns:office="urn:oasis:names:tc:opendocument:xmlns:office:1.0"
-     xmlns:style="urn:oasis:names:tc:opendocument:xmlns:style:1.0"
-     xmlns:text="urn:oasis:names:tc:opendocument:xmlns:text:1.0"
-     xmlns:table="urn:oasis:names:tc:opendocument:xmlns:table:1.0"
-     xmlns:draw="urn:oasis:names:tc:opendocument:xmlns:drawing:1.0"
-     xmlns:fo="urn:oasis:names:tc:opendocument:xmlns:xsl-fo-compatible:1.0"
-     xmlns:xlink="http://www.w3.org/1999/xlink"
-     xmlns:dc="http://purl.org/dc/elements/1.1/"
-     xmlns:meta="urn:oasis:names:tc:opendocument:xmlns:meta:1.0"
-     xmlns:number="urn:oasis:names:tc:opendocument:xmlns:datastyle:1.0"
-     xmlns:svg="urn:oasis:names:tc:opendocument:xmlns:svg-compatible:1.0"
-     xmlns:chart="urn:oasis:names:tc:opendocument:xmlns:chart:1.0"
-     xmlns:dr3d="urn:oasis:names:tc:opendocument:xmlns:dr3d:1.0"
-     xmlns:math="http://www.w3.org/1998/Math/MathML"
-     xmlns:form="urn:oasis:names:tc:opendocument:xmlns:form:1.0"
-     xmlns:script="urn:oasis:names:tc:opendocument:xmlns:script:1.0"
-     xmlns:config="urn:oasis:names:tc:opendocument:xmlns:config:1.0"
-     xmlns:ooo="http://openoffice.org/2004/office"
-     xmlns:ooow="http://openoffice.org/2004/writer"
-     xmlns:oooc="http://openoffice.org/2004/calc"
-     xmlns:dom="http://www.w3.org/2001/xml-events"
-     xmlns:xforms="http://www.w3.org/2002/xforms"
-     xmlns:xsd="http://www.w3.org/2001/XMLSchema"
-     xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
-     xmlns:rpt="http://openoffice.org/2005/report"
-     xmlns:of="urn:oasis:names:tc:opendocument:xmlns:of:1.2"
-     xmlns:xhtml="http://www.w3.org/1999/xhtml"
-     xmlns:grddl="http://www.w3.org/2003/g/data-view#"
-     xmlns:tableooo="http://openoffice.org/2009/table"
-     xmlns:field="urn:openoffice:names:experimental:ooo-ms-interop:xmlns:field:1.0"
-     xmlns:formx="urn:openoffice:names:experimental:ooxml-odf-interop:xmlns:form:1.0"
-     xmlns:css3t="http://www.w3.org/TR/css3-text/"
-     office:version="1.2"
-     grddl:transformation="http://docs.oasis-open.org/office/1.2/xslt/odf2rdf.xsl"
-     office:mimetype="application/vnd.oasis.opendocument.text">
+xmlns:style="urn:oasis:names:tc:opendocument:xmlns:style:1.0"
+xmlns:text="urn:oasis:names:tc:opendocument:xmlns:text:1.0"
+xmlns:table="urn:oasis:names:tc:opendocument:xmlns:table:1.0"
+xmlns:draw="urn:oasis:names:tc:opendocument:xmlns:drawing:1.0"
+xmlns:fo="urn:oasis:names:tc:opendocument:xmlns:xsl-fo-compatible:1.0"
+xmlns:xlink="http://www.w3.org/1999/xlink"
+xmlns:dc="http://purl.org/dc/elements/1.1/"
+xmlns:meta="urn:oasis:names:tc:opendocument:xmlns:meta:1.0"
+xmlns:number="urn:oasis:names:tc:opendocument:xmlns:datastyle:1.0"
+xmlns:svg="urn:oasis:names:tc:opendocument:xmlns:svg-compatible:1.0"
+xmlns:chart="urn:oasis:names:tc:opendocument:xmlns:chart:1.0"
+xmlns:dr3d="urn:oasis:names:tc:opendocument:xmlns:dr3d:1.0"
+xmlns:math="http://www.w3.org/1998/Math/MathML"
+xmlns:form="urn:oasis:names:tc:opendocument:xmlns:form:1.0"
+xmlns:script="urn:oasis:names:tc:opendocument:xmlns:script:1.0"
+xmlns:ooo="http://openoffice.org/2004/office"
+xmlns:ooow="http://openoffice.org/2004/writer"
+xmlns:oooc="http://openoffice.org/2004/calc"
+xmlns:dom="http://www.w3.org/2001/xml-events"
+xmlns:xforms="http://www.w3.org/2002/xforms"
+xmlns:xsd="http://www.w3.org/2001/XMLSchema"
+xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
+xmlns:rpt="http://openoffice.org/2005/report"
+xmlns:of="urn:oasis:names:tc:opendocument:xmlns:of:1.2"
+xmlns:xhtml="http://www.w3.org/1999/xhtml"
+xmlns:grddl="http://www.w3.org/2003/g/data-view#"
+xmlns:officeooo="http://openoffice.org/2009/office"
+xmlns:tableooo="http://openoffice.org/2009/table"
+xmlns:drawooo="http://openoffice.org/2010/draw"
+xmlns:calcext="urn:org:documentfoundation:names:experimental:calc:xmlns:calcext:1.0"
+xmlns:loext="urn:org:documentfoundation:names:experimental:office:xmlns:loext:1.0"
+xmlns:field="urn:openoffice:names:experimental:ooo-ms-interop:xmlns:field:1.0"
+xmlns:formx="urn:openoffice:names:experimental:ooxml-odf-interop:xmlns:form:1.0"
+xmlns:css3t="http://www.w3.org/TR/css3-text/"
+office:version="1.2"
+office:mimetype="application/vnd.oasis.opendocument.text">
 <office:font-face-decls>
    <style:font-face style:name="Courier New" svg:font-family="'Courier New'"
                     style:font-adornments="Regular"
index 1ede6dc17e17625868accb67734a4fd0f776c3ab..b5fe9397300b00724ab5ce9407505d4d40af381e 100644 (file)
@@ -1,39 +1,41 @@
 <?xml version="1.0" encoding="UTF-8"?>
 <office:document xmlns:office="urn:oasis:names:tc:opendocument:xmlns:office:1.0"
-     xmlns:style="urn:oasis:names:tc:opendocument:xmlns:style:1.0"
-     xmlns:text="urn:oasis:names:tc:opendocument:xmlns:text:1.0"
-     xmlns:table="urn:oasis:names:tc:opendocument:xmlns:table:1.0"
-     xmlns:draw="urn:oasis:names:tc:opendocument:xmlns:drawing:1.0"
-     xmlns:fo="urn:oasis:names:tc:opendocument:xmlns:xsl-fo-compatible:1.0"
-     xmlns:xlink="http://www.w3.org/1999/xlink"
-     xmlns:dc="http://purl.org/dc/elements/1.1/"
-     xmlns:meta="urn:oasis:names:tc:opendocument:xmlns:meta:1.0"
-     xmlns:number="urn:oasis:names:tc:opendocument:xmlns:datastyle:1.0"
-     xmlns:svg="urn:oasis:names:tc:opendocument:xmlns:svg-compatible:1.0"
-     xmlns:chart="urn:oasis:names:tc:opendocument:xmlns:chart:1.0"
-     xmlns:dr3d="urn:oasis:names:tc:opendocument:xmlns:dr3d:1.0"
-     xmlns:math="http://www.w3.org/1998/Math/MathML"
-     xmlns:form="urn:oasis:names:tc:opendocument:xmlns:form:1.0"
-     xmlns:script="urn:oasis:names:tc:opendocument:xmlns:script:1.0"
-     xmlns:config="urn:oasis:names:tc:opendocument:xmlns:config:1.0"
-     xmlns:ooo="http://openoffice.org/2004/office"
-     xmlns:ooow="http://openoffice.org/2004/writer"
-     xmlns:oooc="http://openoffice.org/2004/calc"
-     xmlns:dom="http://www.w3.org/2001/xml-events"
-     xmlns:xforms="http://www.w3.org/2002/xforms"
-     xmlns:xsd="http://www.w3.org/2001/XMLSchema"
-     xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
-     xmlns:rpt="http://openoffice.org/2005/report"
-     xmlns:of="urn:oasis:names:tc:opendocument:xmlns:of:1.2"
-     xmlns:xhtml="http://www.w3.org/1999/xhtml"
-     xmlns:grddl="http://www.w3.org/2003/g/data-view#"
-     xmlns:tableooo="http://openoffice.org/2009/table"
-     xmlns:field="urn:openoffice:names:experimental:ooo-ms-interop:xmlns:field:1.0"
-     xmlns:formx="urn:openoffice:names:experimental:ooxml-odf-interop:xmlns:form:1.0"
-     xmlns:css3t="http://www.w3.org/TR/css3-text/"
-     office:version="1.2"
-     grddl:transformation="http://docs.oasis-open.org/office/1.2/xslt/odf2rdf.xsl"
-     office:mimetype="application/vnd.oasis.opendocument.text">
+xmlns:style="urn:oasis:names:tc:opendocument:xmlns:style:1.0"
+xmlns:text="urn:oasis:names:tc:opendocument:xmlns:text:1.0"
+xmlns:table="urn:oasis:names:tc:opendocument:xmlns:table:1.0"
+xmlns:draw="urn:oasis:names:tc:opendocument:xmlns:drawing:1.0"
+xmlns:fo="urn:oasis:names:tc:opendocument:xmlns:xsl-fo-compatible:1.0"
+xmlns:xlink="http://www.w3.org/1999/xlink"
+xmlns:dc="http://purl.org/dc/elements/1.1/"
+xmlns:meta="urn:oasis:names:tc:opendocument:xmlns:meta:1.0"
+xmlns:number="urn:oasis:names:tc:opendocument:xmlns:datastyle:1.0"
+xmlns:svg="urn:oasis:names:tc:opendocument:xmlns:svg-compatible:1.0"
+xmlns:chart="urn:oasis:names:tc:opendocument:xmlns:chart:1.0"
+xmlns:dr3d="urn:oasis:names:tc:opendocument:xmlns:dr3d:1.0"
+xmlns:math="http://www.w3.org/1998/Math/MathML"
+xmlns:form="urn:oasis:names:tc:opendocument:xmlns:form:1.0"
+xmlns:script="urn:oasis:names:tc:opendocument:xmlns:script:1.0"
+xmlns:ooo="http://openoffice.org/2004/office"
+xmlns:ooow="http://openoffice.org/2004/writer"
+xmlns:oooc="http://openoffice.org/2004/calc"
+xmlns:dom="http://www.w3.org/2001/xml-events"
+xmlns:xforms="http://www.w3.org/2002/xforms"
+xmlns:xsd="http://www.w3.org/2001/XMLSchema"
+xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
+xmlns:rpt="http://openoffice.org/2005/report"
+xmlns:of="urn:oasis:names:tc:opendocument:xmlns:of:1.2"
+xmlns:xhtml="http://www.w3.org/1999/xhtml"
+xmlns:grddl="http://www.w3.org/2003/g/data-view#"
+xmlns:officeooo="http://openoffice.org/2009/office"
+xmlns:tableooo="http://openoffice.org/2009/table"
+xmlns:drawooo="http://openoffice.org/2010/draw"
+xmlns:calcext="urn:org:documentfoundation:names:experimental:calc:xmlns:calcext:1.0"
+xmlns:loext="urn:org:documentfoundation:names:experimental:office:xmlns:loext:1.0"
+xmlns:field="urn:openoffice:names:experimental:ooo-ms-interop:xmlns:field:1.0"
+xmlns:formx="urn:openoffice:names:experimental:ooxml-odf-interop:xmlns:form:1.0"
+xmlns:css3t="http://www.w3.org/TR/css3-text/"
+office:version="1.2"
+office:mimetype="application/vnd.oasis.opendocument.text">
 <office:font-face-decls>
    <style:font-face style:name="Courier New" svg:font-family="'Courier New'"
                     style:font-adornments="Regular"
index f74d76d6937069a1a0bf56785157678b3257c630..897aec0a876137866aa46e4b938abb3bd9eefe6d 100644 (file)
@@ -1,39 +1,41 @@
 <?xml version="1.0" encoding="UTF-8"?>
 <office:document xmlns:office="urn:oasis:names:tc:opendocument:xmlns:office:1.0"
-     xmlns:style="urn:oasis:names:tc:opendocument:xmlns:style:1.0"
-     xmlns:text="urn:oasis:names:tc:opendocument:xmlns:text:1.0"
-     xmlns:table="urn:oasis:names:tc:opendocument:xmlns:table:1.0"
-     xmlns:draw="urn:oasis:names:tc:opendocument:xmlns:drawing:1.0"
-     xmlns:fo="urn:oasis:names:tc:opendocument:xmlns:xsl-fo-compatible:1.0"
-     xmlns:xlink="http://www.w3.org/1999/xlink"
-     xmlns:dc="http://purl.org/dc/elements/1.1/"
-     xmlns:meta="urn:oasis:names:tc:opendocument:xmlns:meta:1.0"
-     xmlns:number="urn:oasis:names:tc:opendocument:xmlns:datastyle:1.0"
-     xmlns:svg="urn:oasis:names:tc:opendocument:xmlns:svg-compatible:1.0"
-     xmlns:chart="urn:oasis:names:tc:opendocument:xmlns:chart:1.0"
-     xmlns:dr3d="urn:oasis:names:tc:opendocument:xmlns:dr3d:1.0"
-     xmlns:math="http://www.w3.org/1998/Math/MathML"
-     xmlns:form="urn:oasis:names:tc:opendocument:xmlns:form:1.0"
-     xmlns:script="urn:oasis:names:tc:opendocument:xmlns:script:1.0"
-     xmlns:config="urn:oasis:names:tc:opendocument:xmlns:config:1.0"
-     xmlns:ooo="http://openoffice.org/2004/office"
-     xmlns:ooow="http://openoffice.org/2004/writer"
-     xmlns:oooc="http://openoffice.org/2004/calc"
-     xmlns:dom="http://www.w3.org/2001/xml-events"
-     xmlns:xforms="http://www.w3.org/2002/xforms"
-     xmlns:xsd="http://www.w3.org/2001/XMLSchema"
-     xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
-     xmlns:rpt="http://openoffice.org/2005/report"
-     xmlns:of="urn:oasis:names:tc:opendocument:xmlns:of:1.2"
-     xmlns:xhtml="http://www.w3.org/1999/xhtml"
-     xmlns:grddl="http://www.w3.org/2003/g/data-view#"
-     xmlns:tableooo="http://openoffice.org/2009/table"
-     xmlns:field="urn:openoffice:names:experimental:ooo-ms-interop:xmlns:field:1.0"
-     xmlns:formx="urn:openoffice:names:experimental:ooxml-odf-interop:xmlns:form:1.0"
-     xmlns:css3t="http://www.w3.org/TR/css3-text/"
-     office:version="1.2"
-     grddl:transformation="http://docs.oasis-open.org/office/1.2/xslt/odf2rdf.xsl"
-     office:mimetype="application/vnd.oasis.opendocument.text">
+xmlns:style="urn:oasis:names:tc:opendocument:xmlns:style:1.0"
+xmlns:text="urn:oasis:names:tc:opendocument:xmlns:text:1.0"
+xmlns:table="urn:oasis:names:tc:opendocument:xmlns:table:1.0"
+xmlns:draw="urn:oasis:names:tc:opendocument:xmlns:drawing:1.0"
+xmlns:fo="urn:oasis:names:tc:opendocument:xmlns:xsl-fo-compatible:1.0"
+xmlns:xlink="http://www.w3.org/1999/xlink"
+xmlns:dc="http://purl.org/dc/elements/1.1/"
+xmlns:meta="urn:oasis:names:tc:opendocument:xmlns:meta:1.0"
+xmlns:number="urn:oasis:names:tc:opendocument:xmlns:datastyle:1.0"
+xmlns:svg="urn:oasis:names:tc:opendocument:xmlns:svg-compatible:1.0"
+xmlns:chart="urn:oasis:names:tc:opendocument:xmlns:chart:1.0"
+xmlns:dr3d="urn:oasis:names:tc:opendocument:xmlns:dr3d:1.0"
+xmlns:math="http://www.w3.org/1998/Math/MathML"
+xmlns:form="urn:oasis:names:tc:opendocument:xmlns:form:1.0"
+xmlns:script="urn:oasis:names:tc:opendocument:xmlns:script:1.0"
+xmlns:ooo="http://openoffice.org/2004/office"
+xmlns:ooow="http://openoffice.org/2004/writer"
+xmlns:oooc="http://openoffice.org/2004/calc"
+xmlns:dom="http://www.w3.org/2001/xml-events"
+xmlns:xforms="http://www.w3.org/2002/xforms"
+xmlns:xsd="http://www.w3.org/2001/XMLSchema"
+xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
+xmlns:rpt="http://openoffice.org/2005/report"
+xmlns:of="urn:oasis:names:tc:opendocument:xmlns:of:1.2"
+xmlns:xhtml="http://www.w3.org/1999/xhtml"
+xmlns:grddl="http://www.w3.org/2003/g/data-view#"
+xmlns:officeooo="http://openoffice.org/2009/office"
+xmlns:tableooo="http://openoffice.org/2009/table"
+xmlns:drawooo="http://openoffice.org/2010/draw"
+xmlns:calcext="urn:org:documentfoundation:names:experimental:calc:xmlns:calcext:1.0"
+xmlns:loext="urn:org:documentfoundation:names:experimental:office:xmlns:loext:1.0"
+xmlns:field="urn:openoffice:names:experimental:ooo-ms-interop:xmlns:field:1.0"
+xmlns:formx="urn:openoffice:names:experimental:ooxml-odf-interop:xmlns:form:1.0"
+xmlns:css3t="http://www.w3.org/TR/css3-text/"
+office:version="1.2"
+office:mimetype="application/vnd.oasis.opendocument.text">
 <office:font-face-decls>
    <style:font-face style:name="Courier New" svg:font-family="'Courier New'"
                     style:font-adornments="Regular"
index f090716e91d60f0a502dba2cf8faa43f741fdccd..4f34135870f5c40bc5f0dfda610232371cd74d38 100644 (file)
@@ -1,39 +1,41 @@
 <?xml version="1.0" encoding="UTF-8"?>
 <office:document xmlns:office="urn:oasis:names:tc:opendocument:xmlns:office:1.0"
-     xmlns:style="urn:oasis:names:tc:opendocument:xmlns:style:1.0"
-     xmlns:text="urn:oasis:names:tc:opendocument:xmlns:text:1.0"
-     xmlns:table="urn:oasis:names:tc:opendocument:xmlns:table:1.0"
-     xmlns:draw="urn:oasis:names:tc:opendocument:xmlns:drawing:1.0"
-     xmlns:fo="urn:oasis:names:tc:opendocument:xmlns:xsl-fo-compatible:1.0"
-     xmlns:xlink="http://www.w3.org/1999/xlink"
-     xmlns:dc="http://purl.org/dc/elements/1.1/"
-     xmlns:meta="urn:oasis:names:tc:opendocument:xmlns:meta:1.0"
-     xmlns:number="urn:oasis:names:tc:opendocument:xmlns:datastyle:1.0"
-     xmlns:svg="urn:oasis:names:tc:opendocument:xmlns:svg-compatible:1.0"
-     xmlns:chart="urn:oasis:names:tc:opendocument:xmlns:chart:1.0"
-     xmlns:dr3d="urn:oasis:names:tc:opendocument:xmlns:dr3d:1.0"
-     xmlns:math="http://www.w3.org/1998/Math/MathML"
-     xmlns:form="urn:oasis:names:tc:opendocument:xmlns:form:1.0"
-     xmlns:script="urn:oasis:names:tc:opendocument:xmlns:script:1.0"
-     xmlns:config="urn:oasis:names:tc:opendocument:xmlns:config:1.0"
-     xmlns:ooo="http://openoffice.org/2004/office"
-     xmlns:ooow="http://openoffice.org/2004/writer"
-     xmlns:oooc="http://openoffice.org/2004/calc"
-     xmlns:dom="http://www.w3.org/2001/xml-events"
-     xmlns:xforms="http://www.w3.org/2002/xforms"
-     xmlns:xsd="http://www.w3.org/2001/XMLSchema"
-     xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
-     xmlns:rpt="http://openoffice.org/2005/report"
-     xmlns:of="urn:oasis:names:tc:opendocument:xmlns:of:1.2"
-     xmlns:xhtml="http://www.w3.org/1999/xhtml"
-     xmlns:grddl="http://www.w3.org/2003/g/data-view#"
-     xmlns:tableooo="http://openoffice.org/2009/table"
-     xmlns:field="urn:openoffice:names:experimental:ooo-ms-interop:xmlns:field:1.0"
-     xmlns:formx="urn:openoffice:names:experimental:ooxml-odf-interop:xmlns:form:1.0"
-     xmlns:css3t="http://www.w3.org/TR/css3-text/"
-     office:version="1.2"
-     grddl:transformation="http://docs.oasis-open.org/office/1.2/xslt/odf2rdf.xsl"
-     office:mimetype="application/vnd.oasis.opendocument.text">
+xmlns:style="urn:oasis:names:tc:opendocument:xmlns:style:1.0"
+xmlns:text="urn:oasis:names:tc:opendocument:xmlns:text:1.0"
+xmlns:table="urn:oasis:names:tc:opendocument:xmlns:table:1.0"
+xmlns:draw="urn:oasis:names:tc:opendocument:xmlns:drawing:1.0"
+xmlns:fo="urn:oasis:names:tc:opendocument:xmlns:xsl-fo-compatible:1.0"
+xmlns:xlink="http://www.w3.org/1999/xlink"
+xmlns:dc="http://purl.org/dc/elements/1.1/"
+xmlns:meta="urn:oasis:names:tc:opendocument:xmlns:meta:1.0"
+xmlns:number="urn:oasis:names:tc:opendocument:xmlns:datastyle:1.0"
+xmlns:svg="urn:oasis:names:tc:opendocument:xmlns:svg-compatible:1.0"
+xmlns:chart="urn:oasis:names:tc:opendocument:xmlns:chart:1.0"
+xmlns:dr3d="urn:oasis:names:tc:opendocument:xmlns:dr3d:1.0"
+xmlns:math="http://www.w3.org/1998/Math/MathML"
+xmlns:form="urn:oasis:names:tc:opendocument:xmlns:form:1.0"
+xmlns:script="urn:oasis:names:tc:opendocument:xmlns:script:1.0"
+xmlns:ooo="http://openoffice.org/2004/office"
+xmlns:ooow="http://openoffice.org/2004/writer"
+xmlns:oooc="http://openoffice.org/2004/calc"
+xmlns:dom="http://www.w3.org/2001/xml-events"
+xmlns:xforms="http://www.w3.org/2002/xforms"
+xmlns:xsd="http://www.w3.org/2001/XMLSchema"
+xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
+xmlns:rpt="http://openoffice.org/2005/report"
+xmlns:of="urn:oasis:names:tc:opendocument:xmlns:of:1.2"
+xmlns:xhtml="http://www.w3.org/1999/xhtml"
+xmlns:grddl="http://www.w3.org/2003/g/data-view#"
+xmlns:officeooo="http://openoffice.org/2009/office"
+xmlns:tableooo="http://openoffice.org/2009/table"
+xmlns:drawooo="http://openoffice.org/2010/draw"
+xmlns:calcext="urn:org:documentfoundation:names:experimental:calc:xmlns:calcext:1.0"
+xmlns:loext="urn:org:documentfoundation:names:experimental:office:xmlns:loext:1.0"
+xmlns:field="urn:openoffice:names:experimental:ooo-ms-interop:xmlns:field:1.0"
+xmlns:formx="urn:openoffice:names:experimental:ooxml-odf-interop:xmlns:form:1.0"
+xmlns:css3t="http://www.w3.org/TR/css3-text/"
+office:version="1.2"
+office:mimetype="application/vnd.oasis.opendocument.text">
 <office:font-face-decls>
    <style:font-face style:name="Courier New" svg:font-family="'Courier New'"
                     style:font-adornments="Regular"
index c481f5df4c6cc0db6cf76c11fa05d3115bbee735..a36c0622fd955c81f3e5b84acfcc7bcb82644cc1 100644 (file)
@@ -1,39 +1,41 @@
 <?xml version="1.0" encoding="UTF-8"?>
 <office:document xmlns:office="urn:oasis:names:tc:opendocument:xmlns:office:1.0"
-     xmlns:style="urn:oasis:names:tc:opendocument:xmlns:style:1.0"
-     xmlns:text="urn:oasis:names:tc:opendocument:xmlns:text:1.0"
-     xmlns:table="urn:oasis:names:tc:opendocument:xmlns:table:1.0"
-     xmlns:draw="urn:oasis:names:tc:opendocument:xmlns:drawing:1.0"
-     xmlns:fo="urn:oasis:names:tc:opendocument:xmlns:xsl-fo-compatible:1.0"
-     xmlns:xlink="http://www.w3.org/1999/xlink"
-     xmlns:dc="http://purl.org/dc/elements/1.1/"
-     xmlns:meta="urn:oasis:names:tc:opendocument:xmlns:meta:1.0"
-     xmlns:number="urn:oasis:names:tc:opendocument:xmlns:datastyle:1.0"
-     xmlns:svg="urn:oasis:names:tc:opendocument:xmlns:svg-compatible:1.0"
-     xmlns:chart="urn:oasis:names:tc:opendocument:xmlns:chart:1.0"
-     xmlns:dr3d="urn:oasis:names:tc:opendocument:xmlns:dr3d:1.0"
-     xmlns:math="http://www.w3.org/1998/Math/MathML"
-     xmlns:form="urn:oasis:names:tc:opendocument:xmlns:form:1.0"
-     xmlns:script="urn:oasis:names:tc:opendocument:xmlns:script:1.0"
-     xmlns:config="urn:oasis:names:tc:opendocument:xmlns:config:1.0"
-     xmlns:ooo="http://openoffice.org/2004/office"
-     xmlns:ooow="http://openoffice.org/2004/writer"
-     xmlns:oooc="http://openoffice.org/2004/calc"
-     xmlns:dom="http://www.w3.org/2001/xml-events"
-     xmlns:xforms="http://www.w3.org/2002/xforms"
-     xmlns:xsd="http://www.w3.org/2001/XMLSchema"
-     xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
-     xmlns:rpt="http://openoffice.org/2005/report"
-     xmlns:of="urn:oasis:names:tc:opendocument:xmlns:of:1.2"
-     xmlns:xhtml="http://www.w3.org/1999/xhtml"
-     xmlns:grddl="http://www.w3.org/2003/g/data-view#"
-     xmlns:tableooo="http://openoffice.org/2009/table"
-     xmlns:field="urn:openoffice:names:experimental:ooo-ms-interop:xmlns:field:1.0"
-     xmlns:formx="urn:openoffice:names:experimental:ooxml-odf-interop:xmlns:form:1.0"
-     xmlns:css3t="http://www.w3.org/TR/css3-text/"
-     office:version="1.2"
-     grddl:transformation="http://docs.oasis-open.org/office/1.2/xslt/odf2rdf.xsl"
-     office:mimetype="application/vnd.oasis.opendocument.text">
+xmlns:style="urn:oasis:names:tc:opendocument:xmlns:style:1.0"
+xmlns:text="urn:oasis:names:tc:opendocument:xmlns:text:1.0"
+xmlns:table="urn:oasis:names:tc:opendocument:xmlns:table:1.0"
+xmlns:draw="urn:oasis:names:tc:opendocument:xmlns:drawing:1.0"
+xmlns:fo="urn:oasis:names:tc:opendocument:xmlns:xsl-fo-compatible:1.0"
+xmlns:xlink="http://www.w3.org/1999/xlink"
+xmlns:dc="http://purl.org/dc/elements/1.1/"
+xmlns:meta="urn:oasis:names:tc:opendocument:xmlns:meta:1.0"
+xmlns:number="urn:oasis:names:tc:opendocument:xmlns:datastyle:1.0"
+xmlns:svg="urn:oasis:names:tc:opendocument:xmlns:svg-compatible:1.0"
+xmlns:chart="urn:oasis:names:tc:opendocument:xmlns:chart:1.0"
+xmlns:dr3d="urn:oasis:names:tc:opendocument:xmlns:dr3d:1.0"
+xmlns:math="http://www.w3.org/1998/Math/MathML"
+xmlns:form="urn:oasis:names:tc:opendocument:xmlns:form:1.0"
+xmlns:script="urn:oasis:names:tc:opendocument:xmlns:script:1.0"
+xmlns:ooo="http://openoffice.org/2004/office"
+xmlns:ooow="http://openoffice.org/2004/writer"
+xmlns:oooc="http://openoffice.org/2004/calc"
+xmlns:dom="http://www.w3.org/2001/xml-events"
+xmlns:xforms="http://www.w3.org/2002/xforms"
+xmlns:xsd="http://www.w3.org/2001/XMLSchema"
+xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
+xmlns:rpt="http://openoffice.org/2005/report"
+xmlns:of="urn:oasis:names:tc:opendocument:xmlns:of:1.2"
+xmlns:xhtml="http://www.w3.org/1999/xhtml"
+xmlns:grddl="http://www.w3.org/2003/g/data-view#"
+xmlns:officeooo="http://openoffice.org/2009/office"
+xmlns:tableooo="http://openoffice.org/2009/table"
+xmlns:drawooo="http://openoffice.org/2010/draw"
+xmlns:calcext="urn:org:documentfoundation:names:experimental:calc:xmlns:calcext:1.0"
+xmlns:loext="urn:org:documentfoundation:names:experimental:office:xmlns:loext:1.0"
+xmlns:field="urn:openoffice:names:experimental:ooo-ms-interop:xmlns:field:1.0"
+xmlns:formx="urn:openoffice:names:experimental:ooxml-odf-interop:xmlns:form:1.0"
+xmlns:css3t="http://www.w3.org/TR/css3-text/"
+office:version="1.2"
+office:mimetype="application/vnd.oasis.opendocument.text">
 <office:font-face-decls>
    <style:font-face style:name="Courier New" svg:font-family="'Courier New'"
                     style:font-adornments="Regular"
index b2cbf9e041e7aa499886cf578d2bf0bc0234ccdc..f12d4162699c9b87edf38d979bd009b1f36e7849 100644 (file)
@@ -1,39 +1,41 @@
 <?xml version="1.0" encoding="UTF-8"?>
 <office:document xmlns:office="urn:oasis:names:tc:opendocument:xmlns:office:1.0"
-     xmlns:style="urn:oasis:names:tc:opendocument:xmlns:style:1.0"
-     xmlns:text="urn:oasis:names:tc:opendocument:xmlns:text:1.0"
-     xmlns:table="urn:oasis:names:tc:opendocument:xmlns:table:1.0"
-     xmlns:draw="urn:oasis:names:tc:opendocument:xmlns:drawing:1.0"
-     xmlns:fo="urn:oasis:names:tc:opendocument:xmlns:xsl-fo-compatible:1.0"
-     xmlns:xlink="http://www.w3.org/1999/xlink"
-     xmlns:dc="http://purl.org/dc/elements/1.1/"
-     xmlns:meta="urn:oasis:names:tc:opendocument:xmlns:meta:1.0"
-     xmlns:number="urn:oasis:names:tc:opendocument:xmlns:datastyle:1.0"
-     xmlns:svg="urn:oasis:names:tc:opendocument:xmlns:svg-compatible:1.0"
-     xmlns:chart="urn:oasis:names:tc:opendocument:xmlns:chart:1.0"
-     xmlns:dr3d="urn:oasis:names:tc:opendocument:xmlns:dr3d:1.0"
-     xmlns:math="http://www.w3.org/1998/Math/MathML"
-     xmlns:form="urn:oasis:names:tc:opendocument:xmlns:form:1.0"
-     xmlns:script="urn:oasis:names:tc:opendocument:xmlns:script:1.0"
-     xmlns:config="urn:oasis:names:tc:opendocument:xmlns:config:1.0"
-     xmlns:ooo="http://openoffice.org/2004/office"
-     xmlns:ooow="http://openoffice.org/2004/writer"
-     xmlns:oooc="http://openoffice.org/2004/calc"
-     xmlns:dom="http://www.w3.org/2001/xml-events"
-     xmlns:xforms="http://www.w3.org/2002/xforms"
-     xmlns:xsd="http://www.w3.org/2001/XMLSchema"
-     xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
-     xmlns:rpt="http://openoffice.org/2005/report"
-     xmlns:of="urn:oasis:names:tc:opendocument:xmlns:of:1.2"
-     xmlns:xhtml="http://www.w3.org/1999/xhtml"
-     xmlns:grddl="http://www.w3.org/2003/g/data-view#"
-     xmlns:tableooo="http://openoffice.org/2009/table"
-     xmlns:field="urn:openoffice:names:experimental:ooo-ms-interop:xmlns:field:1.0"
-     xmlns:formx="urn:openoffice:names:experimental:ooxml-odf-interop:xmlns:form:1.0"
-     xmlns:css3t="http://www.w3.org/TR/css3-text/"
-     office:version="1.2"
-     grddl:transformation="http://docs.oasis-open.org/office/1.2/xslt/odf2rdf.xsl"
-     office:mimetype="application/vnd.oasis.opendocument.text">
+xmlns:style="urn:oasis:names:tc:opendocument:xmlns:style:1.0"
+xmlns:text="urn:oasis:names:tc:opendocument:xmlns:text:1.0"
+xmlns:table="urn:oasis:names:tc:opendocument:xmlns:table:1.0"
+xmlns:draw="urn:oasis:names:tc:opendocument:xmlns:drawing:1.0"
+xmlns:fo="urn:oasis:names:tc:opendocument:xmlns:xsl-fo-compatible:1.0"
+xmlns:xlink="http://www.w3.org/1999/xlink"
+xmlns:dc="http://purl.org/dc/elements/1.1/"
+xmlns:meta="urn:oasis:names:tc:opendocument:xmlns:meta:1.0"
+xmlns:number="urn:oasis:names:tc:opendocument:xmlns:datastyle:1.0"
+xmlns:svg="urn:oasis:names:tc:opendocument:xmlns:svg-compatible:1.0"
+xmlns:chart="urn:oasis:names:tc:opendocument:xmlns:chart:1.0"
+xmlns:dr3d="urn:oasis:names:tc:opendocument:xmlns:dr3d:1.0"
+xmlns:math="http://www.w3.org/1998/Math/MathML"
+xmlns:form="urn:oasis:names:tc:opendocument:xmlns:form:1.0"
+xmlns:script="urn:oasis:names:tc:opendocument:xmlns:script:1.0"
+xmlns:ooo="http://openoffice.org/2004/office"
+xmlns:ooow="http://openoffice.org/2004/writer"
+xmlns:oooc="http://openoffice.org/2004/calc"
+xmlns:dom="http://www.w3.org/2001/xml-events"
+xmlns:xforms="http://www.w3.org/2002/xforms"
+xmlns:xsd="http://www.w3.org/2001/XMLSchema"
+xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
+xmlns:rpt="http://openoffice.org/2005/report"
+xmlns:of="urn:oasis:names:tc:opendocument:xmlns:of:1.2"
+xmlns:xhtml="http://www.w3.org/1999/xhtml"
+xmlns:grddl="http://www.w3.org/2003/g/data-view#"
+xmlns:officeooo="http://openoffice.org/2009/office"
+xmlns:tableooo="http://openoffice.org/2009/table"
+xmlns:drawooo="http://openoffice.org/2010/draw"
+xmlns:calcext="urn:org:documentfoundation:names:experimental:calc:xmlns:calcext:1.0"
+xmlns:loext="urn:org:documentfoundation:names:experimental:office:xmlns:loext:1.0"
+xmlns:field="urn:openoffice:names:experimental:ooo-ms-interop:xmlns:field:1.0"
+xmlns:formx="urn:openoffice:names:experimental:ooxml-odf-interop:xmlns:form:1.0"
+xmlns:css3t="http://www.w3.org/TR/css3-text/"
+office:version="1.2"
+office:mimetype="application/vnd.oasis.opendocument.text">
 <office:font-face-decls>
    <style:font-face style:name="Courier New" svg:font-family="'Courier New'"
                     style:font-adornments="Regular"
index e1660b24253788ccf23e3c1228065676228e25d6..ecdca37e8fbdcad12c53deb3699eda3351e80a57 100644 (file)
@@ -1,39 +1,41 @@
 <?xml version="1.0" encoding="UTF-8"?>
 <office:document xmlns:office="urn:oasis:names:tc:opendocument:xmlns:office:1.0"
-     xmlns:style="urn:oasis:names:tc:opendocument:xmlns:style:1.0"
-     xmlns:text="urn:oasis:names:tc:opendocument:xmlns:text:1.0"
-     xmlns:table="urn:oasis:names:tc:opendocument:xmlns:table:1.0"
-     xmlns:draw="urn:oasis:names:tc:opendocument:xmlns:drawing:1.0"
-     xmlns:fo="urn:oasis:names:tc:opendocument:xmlns:xsl-fo-compatible:1.0"
-     xmlns:xlink="http://www.w3.org/1999/xlink"
-     xmlns:dc="http://purl.org/dc/elements/1.1/"
-     xmlns:meta="urn:oasis:names:tc:opendocument:xmlns:meta:1.0"
-     xmlns:number="urn:oasis:names:tc:opendocument:xmlns:datastyle:1.0"
-     xmlns:svg="urn:oasis:names:tc:opendocument:xmlns:svg-compatible:1.0"
-     xmlns:chart="urn:oasis:names:tc:opendocument:xmlns:chart:1.0"
-     xmlns:dr3d="urn:oasis:names:tc:opendocument:xmlns:dr3d:1.0"
-     xmlns:math="http://www.w3.org/1998/Math/MathML"
-     xmlns:form="urn:oasis:names:tc:opendocument:xmlns:form:1.0"
-     xmlns:script="urn:oasis:names:tc:opendocument:xmlns:script:1.0"
-     xmlns:config="urn:oasis:names:tc:opendocument:xmlns:config:1.0"
-     xmlns:ooo="http://openoffice.org/2004/office"
-     xmlns:ooow="http://openoffice.org/2004/writer"
-     xmlns:oooc="http://openoffice.org/2004/calc"
-     xmlns:dom="http://www.w3.org/2001/xml-events"
-     xmlns:xforms="http://www.w3.org/2002/xforms"
-     xmlns:xsd="http://www.w3.org/2001/XMLSchema"
-     xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
-     xmlns:rpt="http://openoffice.org/2005/report"
-     xmlns:of="urn:oasis:names:tc:opendocument:xmlns:of:1.2"
-     xmlns:xhtml="http://www.w3.org/1999/xhtml"
-     xmlns:grddl="http://www.w3.org/2003/g/data-view#"
-     xmlns:tableooo="http://openoffice.org/2009/table"
-     xmlns:field="urn:openoffice:names:experimental:ooo-ms-interop:xmlns:field:1.0"
-     xmlns:formx="urn:openoffice:names:experimental:ooxml-odf-interop:xmlns:form:1.0"
-     xmlns:css3t="http://www.w3.org/TR/css3-text/"
-     office:version="1.2"
-     grddl:transformation="http://docs.oasis-open.org/office/1.2/xslt/odf2rdf.xsl"
-     office:mimetype="application/vnd.oasis.opendocument.text">
+xmlns:style="urn:oasis:names:tc:opendocument:xmlns:style:1.0"
+xmlns:text="urn:oasis:names:tc:opendocument:xmlns:text:1.0"
+xmlns:table="urn:oasis:names:tc:opendocument:xmlns:table:1.0"
+xmlns:draw="urn:oasis:names:tc:opendocument:xmlns:drawing:1.0"
+xmlns:fo="urn:oasis:names:tc:opendocument:xmlns:xsl-fo-compatible:1.0"
+xmlns:xlink="http://www.w3.org/1999/xlink"
+xmlns:dc="http://purl.org/dc/elements/1.1/"
+xmlns:meta="urn:oasis:names:tc:opendocument:xmlns:meta:1.0"
+xmlns:number="urn:oasis:names:tc:opendocument:xmlns:datastyle:1.0"
+xmlns:svg="urn:oasis:names:tc:opendocument:xmlns:svg-compatible:1.0"
+xmlns:chart="urn:oasis:names:tc:opendocument:xmlns:chart:1.0"
+xmlns:dr3d="urn:oasis:names:tc:opendocument:xmlns:dr3d:1.0"
+xmlns:math="http://www.w3.org/1998/Math/MathML"
+xmlns:form="urn:oasis:names:tc:opendocument:xmlns:form:1.0"
+xmlns:script="urn:oasis:names:tc:opendocument:xmlns:script:1.0"
+xmlns:ooo="http://openoffice.org/2004/office"
+xmlns:ooow="http://openoffice.org/2004/writer"
+xmlns:oooc="http://openoffice.org/2004/calc"
+xmlns:dom="http://www.w3.org/2001/xml-events"
+xmlns:xforms="http://www.w3.org/2002/xforms"
+xmlns:xsd="http://www.w3.org/2001/XMLSchema"
+xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
+xmlns:rpt="http://openoffice.org/2005/report"
+xmlns:of="urn:oasis:names:tc:opendocument:xmlns:of:1.2"
+xmlns:xhtml="http://www.w3.org/1999/xhtml"
+xmlns:grddl="http://www.w3.org/2003/g/data-view#"
+xmlns:officeooo="http://openoffice.org/2009/office"
+xmlns:tableooo="http://openoffice.org/2009/table"
+xmlns:drawooo="http://openoffice.org/2010/draw"
+xmlns:calcext="urn:org:documentfoundation:names:experimental:calc:xmlns:calcext:1.0"
+xmlns:loext="urn:org:documentfoundation:names:experimental:office:xmlns:loext:1.0"
+xmlns:field="urn:openoffice:names:experimental:ooo-ms-interop:xmlns:field:1.0"
+xmlns:formx="urn:openoffice:names:experimental:ooxml-odf-interop:xmlns:form:1.0"
+xmlns:css3t="http://www.w3.org/TR/css3-text/"
+office:version="1.2"
+office:mimetype="application/vnd.oasis.opendocument.text">
 <office:font-face-decls>
    <style:font-face style:name="Courier New" svg:font-family="'Courier New'"
                     style:font-adornments="Regular"
index aff8f36c5a9bffd27b7a9b2da43e5592e965c51b..4965225d67ec1245fbb145109a775e4b6347d458 100644 (file)
@@ -1,39 +1,41 @@
 <?xml version="1.0" encoding="UTF-8"?>
 <office:document xmlns:office="urn:oasis:names:tc:opendocument:xmlns:office:1.0"
-     xmlns:style="urn:oasis:names:tc:opendocument:xmlns:style:1.0"
-     xmlns:text="urn:oasis:names:tc:opendocument:xmlns:text:1.0"
-     xmlns:table="urn:oasis:names:tc:opendocument:xmlns:table:1.0"
-     xmlns:draw="urn:oasis:names:tc:opendocument:xmlns:drawing:1.0"
-     xmlns:fo="urn:oasis:names:tc:opendocument:xmlns:xsl-fo-compatible:1.0"
-     xmlns:xlink="http://www.w3.org/1999/xlink"
-     xmlns:dc="http://purl.org/dc/elements/1.1/"
-     xmlns:meta="urn:oasis:names:tc:opendocument:xmlns:meta:1.0"
-     xmlns:number="urn:oasis:names:tc:opendocument:xmlns:datastyle:1.0"
-     xmlns:svg="urn:oasis:names:tc:opendocument:xmlns:svg-compatible:1.0"
-     xmlns:chart="urn:oasis:names:tc:opendocument:xmlns:chart:1.0"
-     xmlns:dr3d="urn:oasis:names:tc:opendocument:xmlns:dr3d:1.0"
-     xmlns:math="http://www.w3.org/1998/Math/MathML"
-     xmlns:form="urn:oasis:names:tc:opendocument:xmlns:form:1.0"
-     xmlns:script="urn:oasis:names:tc:opendocument:xmlns:script:1.0"
-     xmlns:config="urn:oasis:names:tc:opendocument:xmlns:config:1.0"
-     xmlns:ooo="http://openoffice.org/2004/office"
-     xmlns:ooow="http://openoffice.org/2004/writer"
-     xmlns:oooc="http://openoffice.org/2004/calc"
-     xmlns:dom="http://www.w3.org/2001/xml-events"
-     xmlns:xforms="http://www.w3.org/2002/xforms"
-     xmlns:xsd="http://www.w3.org/2001/XMLSchema"
-     xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
-     xmlns:rpt="http://openoffice.org/2005/report"
-     xmlns:of="urn:oasis:names:tc:opendocument:xmlns:of:1.2"
-     xmlns:xhtml="http://www.w3.org/1999/xhtml"
-     xmlns:grddl="http://www.w3.org/2003/g/data-view#"
-     xmlns:tableooo="http://openoffice.org/2009/table"
-     xmlns:field="urn:openoffice:names:experimental:ooo-ms-interop:xmlns:field:1.0"
-     xmlns:formx="urn:openoffice:names:experimental:ooxml-odf-interop:xmlns:form:1.0"
-     xmlns:css3t="http://www.w3.org/TR/css3-text/"
-     office:version="1.2"
-     grddl:transformation="http://docs.oasis-open.org/office/1.2/xslt/odf2rdf.xsl"
-     office:mimetype="application/vnd.oasis.opendocument.text">
+xmlns:style="urn:oasis:names:tc:opendocument:xmlns:style:1.0"
+xmlns:text="urn:oasis:names:tc:opendocument:xmlns:text:1.0"
+xmlns:table="urn:oasis:names:tc:opendocument:xmlns:table:1.0"
+xmlns:draw="urn:oasis:names:tc:opendocument:xmlns:drawing:1.0"
+xmlns:fo="urn:oasis:names:tc:opendocument:xmlns:xsl-fo-compatible:1.0"
+xmlns:xlink="http://www.w3.org/1999/xlink"
+xmlns:dc="http://purl.org/dc/elements/1.1/"
+xmlns:meta="urn:oasis:names:tc:opendocument:xmlns:meta:1.0"
+xmlns:number="urn:oasis:names:tc:opendocument:xmlns:datastyle:1.0"
+xmlns:svg="urn:oasis:names:tc:opendocument:xmlns:svg-compatible:1.0"
+xmlns:chart="urn:oasis:names:tc:opendocument:xmlns:chart:1.0"
+xmlns:dr3d="urn:oasis:names:tc:opendocument:xmlns:dr3d:1.0"
+xmlns:math="http://www.w3.org/1998/Math/MathML"
+xmlns:form="urn:oasis:names:tc:opendocument:xmlns:form:1.0"
+xmlns:script="urn:oasis:names:tc:opendocument:xmlns:script:1.0"
+xmlns:ooo="http://openoffice.org/2004/office"
+xmlns:ooow="http://openoffice.org/2004/writer"
+xmlns:oooc="http://openoffice.org/2004/calc"
+xmlns:dom="http://www.w3.org/2001/xml-events"
+xmlns:xforms="http://www.w3.org/2002/xforms"
+xmlns:xsd="http://www.w3.org/2001/XMLSchema"
+xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
+xmlns:rpt="http://openoffice.org/2005/report"
+xmlns:of="urn:oasis:names:tc:opendocument:xmlns:of:1.2"
+xmlns:xhtml="http://www.w3.org/1999/xhtml"
+xmlns:grddl="http://www.w3.org/2003/g/data-view#"
+xmlns:officeooo="http://openoffice.org/2009/office"
+xmlns:tableooo="http://openoffice.org/2009/table"
+xmlns:drawooo="http://openoffice.org/2010/draw"
+xmlns:calcext="urn:org:documentfoundation:names:experimental:calc:xmlns:calcext:1.0"
+xmlns:loext="urn:org:documentfoundation:names:experimental:office:xmlns:loext:1.0"
+xmlns:field="urn:openoffice:names:experimental:ooo-ms-interop:xmlns:field:1.0"
+xmlns:formx="urn:openoffice:names:experimental:ooxml-odf-interop:xmlns:form:1.0"
+xmlns:css3t="http://www.w3.org/TR/css3-text/"
+office:version="1.2"
+office:mimetype="application/vnd.oasis.opendocument.text">
 <office:font-face-decls>
    <style:font-face style:name="Courier New" svg:font-family="'Courier New'"
                     style:font-adornments="Regular"
index 806384a25f48dc52821bd028c6373bbc1aafed87..d837913aa3a6ab7e6d2c13fb17925a2d2fb045a5 100644 (file)
@@ -1,39 +1,41 @@
 <?xml version="1.0" encoding="UTF-8"?>
 <office:document xmlns:office="urn:oasis:names:tc:opendocument:xmlns:office:1.0"
-     xmlns:style="urn:oasis:names:tc:opendocument:xmlns:style:1.0"
-     xmlns:text="urn:oasis:names:tc:opendocument:xmlns:text:1.0"
-     xmlns:table="urn:oasis:names:tc:opendocument:xmlns:table:1.0"
-     xmlns:draw="urn:oasis:names:tc:opendocument:xmlns:drawing:1.0"
-     xmlns:fo="urn:oasis:names:tc:opendocument:xmlns:xsl-fo-compatible:1.0"
-     xmlns:xlink="http://www.w3.org/1999/xlink"
-     xmlns:dc="http://purl.org/dc/elements/1.1/"
-     xmlns:meta="urn:oasis:names:tc:opendocument:xmlns:meta:1.0"
-     xmlns:number="urn:oasis:names:tc:opendocument:xmlns:datastyle:1.0"
-     xmlns:svg="urn:oasis:names:tc:opendocument:xmlns:svg-compatible:1.0"
-     xmlns:chart="urn:oasis:names:tc:opendocument:xmlns:chart:1.0"
-     xmlns:dr3d="urn:oasis:names:tc:opendocument:xmlns:dr3d:1.0"
-     xmlns:math="http://www.w3.org/1998/Math/MathML"
-     xmlns:form="urn:oasis:names:tc:opendocument:xmlns:form:1.0"
-     xmlns:script="urn:oasis:names:tc:opendocument:xmlns:script:1.0"
-     xmlns:config="urn:oasis:names:tc:opendocument:xmlns:config:1.0"
-     xmlns:ooo="http://openoffice.org/2004/office"
-     xmlns:ooow="http://openoffice.org/2004/writer"
-     xmlns:oooc="http://openoffice.org/2004/calc"
-     xmlns:dom="http://www.w3.org/2001/xml-events"
-     xmlns:xforms="http://www.w3.org/2002/xforms"
-     xmlns:xsd="http://www.w3.org/2001/XMLSchema"
-     xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
-     xmlns:rpt="http://openoffice.org/2005/report"
-     xmlns:of="urn:oasis:names:tc:opendocument:xmlns:of:1.2"
-     xmlns:xhtml="http://www.w3.org/1999/xhtml"
-     xmlns:grddl="http://www.w3.org/2003/g/data-view#"
-     xmlns:tableooo="http://openoffice.org/2009/table"
-     xmlns:field="urn:openoffice:names:experimental:ooo-ms-interop:xmlns:field:1.0"
-     xmlns:formx="urn:openoffice:names:experimental:ooxml-odf-interop:xmlns:form:1.0"
-     xmlns:css3t="http://www.w3.org/TR/css3-text/"
-     office:version="1.2"
-     grddl:transformation="http://docs.oasis-open.org/office/1.2/xslt/odf2rdf.xsl"
-     office:mimetype="application/vnd.oasis.opendocument.text">
+xmlns:style="urn:oasis:names:tc:opendocument:xmlns:style:1.0"
+xmlns:text="urn:oasis:names:tc:opendocument:xmlns:text:1.0"
+xmlns:table="urn:oasis:names:tc:opendocument:xmlns:table:1.0"
+xmlns:draw="urn:oasis:names:tc:opendocument:xmlns:drawing:1.0"
+xmlns:fo="urn:oasis:names:tc:opendocument:xmlns:xsl-fo-compatible:1.0"
+xmlns:xlink="http://www.w3.org/1999/xlink"
+xmlns:dc="http://purl.org/dc/elements/1.1/"
+xmlns:meta="urn:oasis:names:tc:opendocument:xmlns:meta:1.0"
+xmlns:number="urn:oasis:names:tc:opendocument:xmlns:datastyle:1.0"
+xmlns:svg="urn:oasis:names:tc:opendocument:xmlns:svg-compatible:1.0"
+xmlns:chart="urn:oasis:names:tc:opendocument:xmlns:chart:1.0"
+xmlns:dr3d="urn:oasis:names:tc:opendocument:xmlns:dr3d:1.0"
+xmlns:math="http://www.w3.org/1998/Math/MathML"
+xmlns:form="urn:oasis:names:tc:opendocument:xmlns:form:1.0"
+xmlns:script="urn:oasis:names:tc:opendocument:xmlns:script:1.0"
+xmlns:ooo="http://openoffice.org/2004/office"
+xmlns:ooow="http://openoffice.org/2004/writer"
+xmlns:oooc="http://openoffice.org/2004/calc"
+xmlns:dom="http://www.w3.org/2001/xml-events"
+xmlns:xforms="http://www.w3.org/2002/xforms"
+xmlns:xsd="http://www.w3.org/2001/XMLSchema"
+xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
+xmlns:rpt="http://openoffice.org/2005/report"
+xmlns:of="urn:oasis:names:tc:opendocument:xmlns:of:1.2"
+xmlns:xhtml="http://www.w3.org/1999/xhtml"
+xmlns:grddl="http://www.w3.org/2003/g/data-view#"
+xmlns:officeooo="http://openoffice.org/2009/office"
+xmlns:tableooo="http://openoffice.org/2009/table"
+xmlns:drawooo="http://openoffice.org/2010/draw"
+xmlns:calcext="urn:org:documentfoundation:names:experimental:calc:xmlns:calcext:1.0"
+xmlns:loext="urn:org:documentfoundation:names:experimental:office:xmlns:loext:1.0"
+xmlns:field="urn:openoffice:names:experimental:ooo-ms-interop:xmlns:field:1.0"
+xmlns:formx="urn:openoffice:names:experimental:ooxml-odf-interop:xmlns:form:1.0"
+xmlns:css3t="http://www.w3.org/TR/css3-text/"
+office:version="1.2"
+office:mimetype="application/vnd.oasis.opendocument.text">
 <office:font-face-decls>
    <style:font-face style:name="Courier New" svg:font-family="'Courier New'"
                     style:font-adornments="Regular"
index e28c9e9129f1492e5da2dae50a8e058bec9db234..d67535cfffce81d4c5bf12c430d81096b3112550 100644 (file)
@@ -1,39 +1,41 @@
 <?xml version="1.0" encoding="UTF-8"?>
 <office:document xmlns:office="urn:oasis:names:tc:opendocument:xmlns:office:1.0"
-     xmlns:style="urn:oasis:names:tc:opendocument:xmlns:style:1.0"
-     xmlns:text="urn:oasis:names:tc:opendocument:xmlns:text:1.0"
-     xmlns:table="urn:oasis:names:tc:opendocument:xmlns:table:1.0"
-     xmlns:draw="urn:oasis:names:tc:opendocument:xmlns:drawing:1.0"
-     xmlns:fo="urn:oasis:names:tc:opendocument:xmlns:xsl-fo-compatible:1.0"
-     xmlns:xlink="http://www.w3.org/1999/xlink"
-     xmlns:dc="http://purl.org/dc/elements/1.1/"
-     xmlns:meta="urn:oasis:names:tc:opendocument:xmlns:meta:1.0"
-     xmlns:number="urn:oasis:names:tc:opendocument:xmlns:datastyle:1.0"
-     xmlns:svg="urn:oasis:names:tc:opendocument:xmlns:svg-compatible:1.0"
-     xmlns:chart="urn:oasis:names:tc:opendocument:xmlns:chart:1.0"
-     xmlns:dr3d="urn:oasis:names:tc:opendocument:xmlns:dr3d:1.0"
-     xmlns:math="http://www.w3.org/1998/Math/MathML"
-     xmlns:form="urn:oasis:names:tc:opendocument:xmlns:form:1.0"
-     xmlns:script="urn:oasis:names:tc:opendocument:xmlns:script:1.0"
-     xmlns:config="urn:oasis:names:tc:opendocument:xmlns:config:1.0"
-     xmlns:ooo="http://openoffice.org/2004/office"
-     xmlns:ooow="http://openoffice.org/2004/writer"
-     xmlns:oooc="http://openoffice.org/2004/calc"
-     xmlns:dom="http://www.w3.org/2001/xml-events"
-     xmlns:xforms="http://www.w3.org/2002/xforms"
-     xmlns:xsd="http://www.w3.org/2001/XMLSchema"
-     xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
-     xmlns:rpt="http://openoffice.org/2005/report"
-     xmlns:of="urn:oasis:names:tc:opendocument:xmlns:of:1.2"
-     xmlns:xhtml="http://www.w3.org/1999/xhtml"
-     xmlns:grddl="http://www.w3.org/2003/g/data-view#"
-     xmlns:tableooo="http://openoffice.org/2009/table"
-     xmlns:field="urn:openoffice:names:experimental:ooo-ms-interop:xmlns:field:1.0"
-     xmlns:formx="urn:openoffice:names:experimental:ooxml-odf-interop:xmlns:form:1.0"
-     xmlns:css3t="http://www.w3.org/TR/css3-text/"
-     office:version="1.2"
-     grddl:transformation="http://docs.oasis-open.org/office/1.2/xslt/odf2rdf.xsl"
-     office:mimetype="application/vnd.oasis.opendocument.text">
+xmlns:style="urn:oasis:names:tc:opendocument:xmlns:style:1.0"
+xmlns:text="urn:oasis:names:tc:opendocument:xmlns:text:1.0"
+xmlns:table="urn:oasis:names:tc:opendocument:xmlns:table:1.0"
+xmlns:draw="urn:oasis:names:tc:opendocument:xmlns:drawing:1.0"
+xmlns:fo="urn:oasis:names:tc:opendocument:xmlns:xsl-fo-compatible:1.0"
+xmlns:xlink="http://www.w3.org/1999/xlink"
+xmlns:dc="http://purl.org/dc/elements/1.1/"
+xmlns:meta="urn:oasis:names:tc:opendocument:xmlns:meta:1.0"
+xmlns:number="urn:oasis:names:tc:opendocument:xmlns:datastyle:1.0"
+xmlns:svg="urn:oasis:names:tc:opendocument:xmlns:svg-compatible:1.0"
+xmlns:chart="urn:oasis:names:tc:opendocument:xmlns:chart:1.0"
+xmlns:dr3d="urn:oasis:names:tc:opendocument:xmlns:dr3d:1.0"
+xmlns:math="http://www.w3.org/1998/Math/MathML"
+xmlns:form="urn:oasis:names:tc:opendocument:xmlns:form:1.0"
+xmlns:script="urn:oasis:names:tc:opendocument:xmlns:script:1.0"
+xmlns:ooo="http://openoffice.org/2004/office"
+xmlns:ooow="http://openoffice.org/2004/writer"
+xmlns:oooc="http://openoffice.org/2004/calc"
+xmlns:dom="http://www.w3.org/2001/xml-events"
+xmlns:xforms="http://www.w3.org/2002/xforms"
+xmlns:xsd="http://www.w3.org/2001/XMLSchema"
+xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
+xmlns:rpt="http://openoffice.org/2005/report"
+xmlns:of="urn:oasis:names:tc:opendocument:xmlns:of:1.2"
+xmlns:xhtml="http://www.w3.org/1999/xhtml"
+xmlns:grddl="http://www.w3.org/2003/g/data-view#"
+xmlns:officeooo="http://openoffice.org/2009/office"
+xmlns:tableooo="http://openoffice.org/2009/table"
+xmlns:drawooo="http://openoffice.org/2010/draw"
+xmlns:calcext="urn:org:documentfoundation:names:experimental:calc:xmlns:calcext:1.0"
+xmlns:loext="urn:org:documentfoundation:names:experimental:office:xmlns:loext:1.0"
+xmlns:field="urn:openoffice:names:experimental:ooo-ms-interop:xmlns:field:1.0"
+xmlns:formx="urn:openoffice:names:experimental:ooxml-odf-interop:xmlns:form:1.0"
+xmlns:css3t="http://www.w3.org/TR/css3-text/"
+office:version="1.2"
+office:mimetype="application/vnd.oasis.opendocument.text">
 <office:font-face-decls>
    <style:font-face style:name="Courier New" svg:font-family="'Courier New'"
                     style:font-adornments="Regular"
     <style:header><text:h text:outline-level="2">Bibliography</text:h></style:header></style:master-page>
   <style:master-page style:name="Footnote" style:page-layout-name="pm2"/>
  </office:master-styles>
+<office:meta>
+</office:meta>
 <office:body>
 <office:text>
 <text:h text:outline-level="1"><text:bookmark text:name="markdown:syntax"/>Markdown: Syntax </text:h>
index e6d74cf8d09e4512c5ff8ae6ba3f11ffe7e3ef70..a512bf86d97aae2d791e895bb167fc4139520f57 100644 (file)
@@ -1,39 +1,41 @@
 <?xml version="1.0" encoding="UTF-8"?>
 <office:document xmlns:office="urn:oasis:names:tc:opendocument:xmlns:office:1.0"
-     xmlns:style="urn:oasis:names:tc:opendocument:xmlns:style:1.0"
-     xmlns:text="urn:oasis:names:tc:opendocument:xmlns:text:1.0"
-     xmlns:table="urn:oasis:names:tc:opendocument:xmlns:table:1.0"
-     xmlns:draw="urn:oasis:names:tc:opendocument:xmlns:drawing:1.0"
-     xmlns:fo="urn:oasis:names:tc:opendocument:xmlns:xsl-fo-compatible:1.0"
-     xmlns:xlink="http://www.w3.org/1999/xlink"
-     xmlns:dc="http://purl.org/dc/elements/1.1/"
-     xmlns:meta="urn:oasis:names:tc:opendocument:xmlns:meta:1.0"
-     xmlns:number="urn:oasis:names:tc:opendocument:xmlns:datastyle:1.0"
-     xmlns:svg="urn:oasis:names:tc:opendocument:xmlns:svg-compatible:1.0"
-     xmlns:chart="urn:oasis:names:tc:opendocument:xmlns:chart:1.0"
-     xmlns:dr3d="urn:oasis:names:tc:opendocument:xmlns:dr3d:1.0"
-     xmlns:math="http://www.w3.org/1998/Math/MathML"
-     xmlns:form="urn:oasis:names:tc:opendocument:xmlns:form:1.0"
-     xmlns:script="urn:oasis:names:tc:opendocument:xmlns:script:1.0"
-     xmlns:config="urn:oasis:names:tc:opendocument:xmlns:config:1.0"
-     xmlns:ooo="http://openoffice.org/2004/office"
-     xmlns:ooow="http://openoffice.org/2004/writer"
-     xmlns:oooc="http://openoffice.org/2004/calc"
-     xmlns:dom="http://www.w3.org/2001/xml-events"
-     xmlns:xforms="http://www.w3.org/2002/xforms"
-     xmlns:xsd="http://www.w3.org/2001/XMLSchema"
-     xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
-     xmlns:rpt="http://openoffice.org/2005/report"
-     xmlns:of="urn:oasis:names:tc:opendocument:xmlns:of:1.2"
-     xmlns:xhtml="http://www.w3.org/1999/xhtml"
-     xmlns:grddl="http://www.w3.org/2003/g/data-view#"
-     xmlns:tableooo="http://openoffice.org/2009/table"
-     xmlns:field="urn:openoffice:names:experimental:ooo-ms-interop:xmlns:field:1.0"
-     xmlns:formx="urn:openoffice:names:experimental:ooxml-odf-interop:xmlns:form:1.0"
-     xmlns:css3t="http://www.w3.org/TR/css3-text/"
-     office:version="1.2"
-     grddl:transformation="http://docs.oasis-open.org/office/1.2/xslt/odf2rdf.xsl"
-     office:mimetype="application/vnd.oasis.opendocument.text">
+xmlns:style="urn:oasis:names:tc:opendocument:xmlns:style:1.0"
+xmlns:text="urn:oasis:names:tc:opendocument:xmlns:text:1.0"
+xmlns:table="urn:oasis:names:tc:opendocument:xmlns:table:1.0"
+xmlns:draw="urn:oasis:names:tc:opendocument:xmlns:drawing:1.0"
+xmlns:fo="urn:oasis:names:tc:opendocument:xmlns:xsl-fo-compatible:1.0"
+xmlns:xlink="http://www.w3.org/1999/xlink"
+xmlns:dc="http://purl.org/dc/elements/1.1/"
+xmlns:meta="urn:oasis:names:tc:opendocument:xmlns:meta:1.0"
+xmlns:number="urn:oasis:names:tc:opendocument:xmlns:datastyle:1.0"
+xmlns:svg="urn:oasis:names:tc:opendocument:xmlns:svg-compatible:1.0"
+xmlns:chart="urn:oasis:names:tc:opendocument:xmlns:chart:1.0"
+xmlns:dr3d="urn:oasis:names:tc:opendocument:xmlns:dr3d:1.0"
+xmlns:math="http://www.w3.org/1998/Math/MathML"
+xmlns:form="urn:oasis:names:tc:opendocument:xmlns:form:1.0"
+xmlns:script="urn:oasis:names:tc:opendocument:xmlns:script:1.0"
+xmlns:ooo="http://openoffice.org/2004/office"
+xmlns:ooow="http://openoffice.org/2004/writer"
+xmlns:oooc="http://openoffice.org/2004/calc"
+xmlns:dom="http://www.w3.org/2001/xml-events"
+xmlns:xforms="http://www.w3.org/2002/xforms"
+xmlns:xsd="http://www.w3.org/2001/XMLSchema"
+xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
+xmlns:rpt="http://openoffice.org/2005/report"
+xmlns:of="urn:oasis:names:tc:opendocument:xmlns:of:1.2"
+xmlns:xhtml="http://www.w3.org/1999/xhtml"
+xmlns:grddl="http://www.w3.org/2003/g/data-view#"
+xmlns:officeooo="http://openoffice.org/2009/office"
+xmlns:tableooo="http://openoffice.org/2009/table"
+xmlns:drawooo="http://openoffice.org/2010/draw"
+xmlns:calcext="urn:org:documentfoundation:names:experimental:calc:xmlns:calcext:1.0"
+xmlns:loext="urn:org:documentfoundation:names:experimental:office:xmlns:loext:1.0"
+xmlns:field="urn:openoffice:names:experimental:ooo-ms-interop:xmlns:field:1.0"
+xmlns:formx="urn:openoffice:names:experimental:ooxml-odf-interop:xmlns:form:1.0"
+xmlns:css3t="http://www.w3.org/TR/css3-text/"
+office:version="1.2"
+office:mimetype="application/vnd.oasis.opendocument.text">
 <office:font-face-decls>
    <style:font-face style:name="Courier New" svg:font-family="'Courier New'"
                     style:font-adornments="Regular"
index 08cbd4247add12902ea0409a77ba365652dec665..59197da3f2a4b51d9d4aee999ee5d3f6fd33f3df 100644 (file)
@@ -1,39 +1,41 @@
 <?xml version="1.0" encoding="UTF-8"?>
 <office:document xmlns:office="urn:oasis:names:tc:opendocument:xmlns:office:1.0"
-     xmlns:style="urn:oasis:names:tc:opendocument:xmlns:style:1.0"
-     xmlns:text="urn:oasis:names:tc:opendocument:xmlns:text:1.0"
-     xmlns:table="urn:oasis:names:tc:opendocument:xmlns:table:1.0"
-     xmlns:draw="urn:oasis:names:tc:opendocument:xmlns:drawing:1.0"
-     xmlns:fo="urn:oasis:names:tc:opendocument:xmlns:xsl-fo-compatible:1.0"
-     xmlns:xlink="http://www.w3.org/1999/xlink"
-     xmlns:dc="http://purl.org/dc/elements/1.1/"
-     xmlns:meta="urn:oasis:names:tc:opendocument:xmlns:meta:1.0"
-     xmlns:number="urn:oasis:names:tc:opendocument:xmlns:datastyle:1.0"
-     xmlns:svg="urn:oasis:names:tc:opendocument:xmlns:svg-compatible:1.0"
-     xmlns:chart="urn:oasis:names:tc:opendocument:xmlns:chart:1.0"
-     xmlns:dr3d="urn:oasis:names:tc:opendocument:xmlns:dr3d:1.0"
-     xmlns:math="http://www.w3.org/1998/Math/MathML"
-     xmlns:form="urn:oasis:names:tc:opendocument:xmlns:form:1.0"
-     xmlns:script="urn:oasis:names:tc:opendocument:xmlns:script:1.0"
-     xmlns:config="urn:oasis:names:tc:opendocument:xmlns:config:1.0"
-     xmlns:ooo="http://openoffice.org/2004/office"
-     xmlns:ooow="http://openoffice.org/2004/writer"
-     xmlns:oooc="http://openoffice.org/2004/calc"
-     xmlns:dom="http://www.w3.org/2001/xml-events"
-     xmlns:xforms="http://www.w3.org/2002/xforms"
-     xmlns:xsd="http://www.w3.org/2001/XMLSchema"
-     xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
-     xmlns:rpt="http://openoffice.org/2005/report"
-     xmlns:of="urn:oasis:names:tc:opendocument:xmlns:of:1.2"
-     xmlns:xhtml="http://www.w3.org/1999/xhtml"
-     xmlns:grddl="http://www.w3.org/2003/g/data-view#"
-     xmlns:tableooo="http://openoffice.org/2009/table"
-     xmlns:field="urn:openoffice:names:experimental:ooo-ms-interop:xmlns:field:1.0"
-     xmlns:formx="urn:openoffice:names:experimental:ooxml-odf-interop:xmlns:form:1.0"
-     xmlns:css3t="http://www.w3.org/TR/css3-text/"
-     office:version="1.2"
-     grddl:transformation="http://docs.oasis-open.org/office/1.2/xslt/odf2rdf.xsl"
-     office:mimetype="application/vnd.oasis.opendocument.text">
+xmlns:style="urn:oasis:names:tc:opendocument:xmlns:style:1.0"
+xmlns:text="urn:oasis:names:tc:opendocument:xmlns:text:1.0"
+xmlns:table="urn:oasis:names:tc:opendocument:xmlns:table:1.0"
+xmlns:draw="urn:oasis:names:tc:opendocument:xmlns:drawing:1.0"
+xmlns:fo="urn:oasis:names:tc:opendocument:xmlns:xsl-fo-compatible:1.0"
+xmlns:xlink="http://www.w3.org/1999/xlink"
+xmlns:dc="http://purl.org/dc/elements/1.1/"
+xmlns:meta="urn:oasis:names:tc:opendocument:xmlns:meta:1.0"
+xmlns:number="urn:oasis:names:tc:opendocument:xmlns:datastyle:1.0"
+xmlns:svg="urn:oasis:names:tc:opendocument:xmlns:svg-compatible:1.0"
+xmlns:chart="urn:oasis:names:tc:opendocument:xmlns:chart:1.0"
+xmlns:dr3d="urn:oasis:names:tc:opendocument:xmlns:dr3d:1.0"
+xmlns:math="http://www.w3.org/1998/Math/MathML"
+xmlns:form="urn:oasis:names:tc:opendocument:xmlns:form:1.0"
+xmlns:script="urn:oasis:names:tc:opendocument:xmlns:script:1.0"
+xmlns:ooo="http://openoffice.org/2004/office"
+xmlns:ooow="http://openoffice.org/2004/writer"
+xmlns:oooc="http://openoffice.org/2004/calc"
+xmlns:dom="http://www.w3.org/2001/xml-events"
+xmlns:xforms="http://www.w3.org/2002/xforms"
+xmlns:xsd="http://www.w3.org/2001/XMLSchema"
+xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
+xmlns:rpt="http://openoffice.org/2005/report"
+xmlns:of="urn:oasis:names:tc:opendocument:xmlns:of:1.2"
+xmlns:xhtml="http://www.w3.org/1999/xhtml"
+xmlns:grddl="http://www.w3.org/2003/g/data-view#"
+xmlns:officeooo="http://openoffice.org/2009/office"
+xmlns:tableooo="http://openoffice.org/2009/table"
+xmlns:drawooo="http://openoffice.org/2010/draw"
+xmlns:calcext="urn:org:documentfoundation:names:experimental:calc:xmlns:calcext:1.0"
+xmlns:loext="urn:org:documentfoundation:names:experimental:office:xmlns:loext:1.0"
+xmlns:field="urn:openoffice:names:experimental:ooo-ms-interop:xmlns:field:1.0"
+xmlns:formx="urn:openoffice:names:experimental:ooxml-odf-interop:xmlns:form:1.0"
+xmlns:css3t="http://www.w3.org/TR/css3-text/"
+office:version="1.2"
+office:mimetype="application/vnd.oasis.opendocument.text">
 <office:font-face-decls>
    <style:font-face style:name="Courier New" svg:font-family="'Courier New'"
                     style:font-adornments="Regular"
index e65e943b189caf970d5be0b2b0769c36ea4a25b4..47acafc85262fb22cde7d7d23f21974a02ddbf46 100644 (file)
@@ -1,39 +1,41 @@
 <?xml version="1.0" encoding="UTF-8"?>
 <office:document xmlns:office="urn:oasis:names:tc:opendocument:xmlns:office:1.0"
-     xmlns:style="urn:oasis:names:tc:opendocument:xmlns:style:1.0"
-     xmlns:text="urn:oasis:names:tc:opendocument:xmlns:text:1.0"
-     xmlns:table="urn:oasis:names:tc:opendocument:xmlns:table:1.0"
-     xmlns:draw="urn:oasis:names:tc:opendocument:xmlns:drawing:1.0"
-     xmlns:fo="urn:oasis:names:tc:opendocument:xmlns:xsl-fo-compatible:1.0"
-     xmlns:xlink="http://www.w3.org/1999/xlink"
-     xmlns:dc="http://purl.org/dc/elements/1.1/"
-     xmlns:meta="urn:oasis:names:tc:opendocument:xmlns:meta:1.0"
-     xmlns:number="urn:oasis:names:tc:opendocument:xmlns:datastyle:1.0"
-     xmlns:svg="urn:oasis:names:tc:opendocument:xmlns:svg-compatible:1.0"
-     xmlns:chart="urn:oasis:names:tc:opendocument:xmlns:chart:1.0"
-     xmlns:dr3d="urn:oasis:names:tc:opendocument:xmlns:dr3d:1.0"
-     xmlns:math="http://www.w3.org/1998/Math/MathML"
-     xmlns:form="urn:oasis:names:tc:opendocument:xmlns:form:1.0"
-     xmlns:script="urn:oasis:names:tc:opendocument:xmlns:script:1.0"
-     xmlns:config="urn:oasis:names:tc:opendocument:xmlns:config:1.0"
-     xmlns:ooo="http://openoffice.org/2004/office"
-     xmlns:ooow="http://openoffice.org/2004/writer"
-     xmlns:oooc="http://openoffice.org/2004/calc"
-     xmlns:dom="http://www.w3.org/2001/xml-events"
-     xmlns:xforms="http://www.w3.org/2002/xforms"
-     xmlns:xsd="http://www.w3.org/2001/XMLSchema"
-     xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
-     xmlns:rpt="http://openoffice.org/2005/report"
-     xmlns:of="urn:oasis:names:tc:opendocument:xmlns:of:1.2"
-     xmlns:xhtml="http://www.w3.org/1999/xhtml"
-     xmlns:grddl="http://www.w3.org/2003/g/data-view#"
-     xmlns:tableooo="http://openoffice.org/2009/table"
-     xmlns:field="urn:openoffice:names:experimental:ooo-ms-interop:xmlns:field:1.0"
-     xmlns:formx="urn:openoffice:names:experimental:ooxml-odf-interop:xmlns:form:1.0"
-     xmlns:css3t="http://www.w3.org/TR/css3-text/"
-     office:version="1.2"
-     grddl:transformation="http://docs.oasis-open.org/office/1.2/xslt/odf2rdf.xsl"
-     office:mimetype="application/vnd.oasis.opendocument.text">
+xmlns:style="urn:oasis:names:tc:opendocument:xmlns:style:1.0"
+xmlns:text="urn:oasis:names:tc:opendocument:xmlns:text:1.0"
+xmlns:table="urn:oasis:names:tc:opendocument:xmlns:table:1.0"
+xmlns:draw="urn:oasis:names:tc:opendocument:xmlns:drawing:1.0"
+xmlns:fo="urn:oasis:names:tc:opendocument:xmlns:xsl-fo-compatible:1.0"
+xmlns:xlink="http://www.w3.org/1999/xlink"
+xmlns:dc="http://purl.org/dc/elements/1.1/"
+xmlns:meta="urn:oasis:names:tc:opendocument:xmlns:meta:1.0"
+xmlns:number="urn:oasis:names:tc:opendocument:xmlns:datastyle:1.0"
+xmlns:svg="urn:oasis:names:tc:opendocument:xmlns:svg-compatible:1.0"
+xmlns:chart="urn:oasis:names:tc:opendocument:xmlns:chart:1.0"
+xmlns:dr3d="urn:oasis:names:tc:opendocument:xmlns:dr3d:1.0"
+xmlns:math="http://www.w3.org/1998/Math/MathML"
+xmlns:form="urn:oasis:names:tc:opendocument:xmlns:form:1.0"
+xmlns:script="urn:oasis:names:tc:opendocument:xmlns:script:1.0"
+xmlns:ooo="http://openoffice.org/2004/office"
+xmlns:ooow="http://openoffice.org/2004/writer"
+xmlns:oooc="http://openoffice.org/2004/calc"
+xmlns:dom="http://www.w3.org/2001/xml-events"
+xmlns:xforms="http://www.w3.org/2002/xforms"
+xmlns:xsd="http://www.w3.org/2001/XMLSchema"
+xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
+xmlns:rpt="http://openoffice.org/2005/report"
+xmlns:of="urn:oasis:names:tc:opendocument:xmlns:of:1.2"
+xmlns:xhtml="http://www.w3.org/1999/xhtml"
+xmlns:grddl="http://www.w3.org/2003/g/data-view#"
+xmlns:officeooo="http://openoffice.org/2009/office"
+xmlns:tableooo="http://openoffice.org/2009/table"
+xmlns:drawooo="http://openoffice.org/2010/draw"
+xmlns:calcext="urn:org:documentfoundation:names:experimental:calc:xmlns:calcext:1.0"
+xmlns:loext="urn:org:documentfoundation:names:experimental:office:xmlns:loext:1.0"
+xmlns:field="urn:openoffice:names:experimental:ooo-ms-interop:xmlns:field:1.0"
+xmlns:formx="urn:openoffice:names:experimental:ooxml-odf-interop:xmlns:form:1.0"
+xmlns:css3t="http://www.w3.org/TR/css3-text/"
+office:version="1.2"
+office:mimetype="application/vnd.oasis.opendocument.text">
 <office:font-face-decls>
    <style:font-face style:name="Courier New" svg:font-family="'Courier New'"
                     style:font-adornments="Regular"
 <text:p text:style-name="Quotations">bar</text:p>
 
 <text:p text:style-name="Preformatted Text">*foo*<text:line-break/></text:p>
+
 </office:text>
 </office:body>
 </office:document>
index edca3350199aada2f49e363347623b2377a38d26..8a2b5c89a894bb331aeaa5e3c89c00e413cb825c 100644 (file)
@@ -1,39 +1,41 @@
 <?xml version="1.0" encoding="UTF-8"?>
 <office:document xmlns:office="urn:oasis:names:tc:opendocument:xmlns:office:1.0"
-     xmlns:style="urn:oasis:names:tc:opendocument:xmlns:style:1.0"
-     xmlns:text="urn:oasis:names:tc:opendocument:xmlns:text:1.0"
-     xmlns:table="urn:oasis:names:tc:opendocument:xmlns:table:1.0"
-     xmlns:draw="urn:oasis:names:tc:opendocument:xmlns:drawing:1.0"
-     xmlns:fo="urn:oasis:names:tc:opendocument:xmlns:xsl-fo-compatible:1.0"
-     xmlns:xlink="http://www.w3.org/1999/xlink"
-     xmlns:dc="http://purl.org/dc/elements/1.1/"
-     xmlns:meta="urn:oasis:names:tc:opendocument:xmlns:meta:1.0"
-     xmlns:number="urn:oasis:names:tc:opendocument:xmlns:datastyle:1.0"
-     xmlns:svg="urn:oasis:names:tc:opendocument:xmlns:svg-compatible:1.0"
-     xmlns:chart="urn:oasis:names:tc:opendocument:xmlns:chart:1.0"
-     xmlns:dr3d="urn:oasis:names:tc:opendocument:xmlns:dr3d:1.0"
-     xmlns:math="http://www.w3.org/1998/Math/MathML"
-     xmlns:form="urn:oasis:names:tc:opendocument:xmlns:form:1.0"
-     xmlns:script="urn:oasis:names:tc:opendocument:xmlns:script:1.0"
-     xmlns:config="urn:oasis:names:tc:opendocument:xmlns:config:1.0"
-     xmlns:ooo="http://openoffice.org/2004/office"
-     xmlns:ooow="http://openoffice.org/2004/writer"
-     xmlns:oooc="http://openoffice.org/2004/calc"
-     xmlns:dom="http://www.w3.org/2001/xml-events"
-     xmlns:xforms="http://www.w3.org/2002/xforms"
-     xmlns:xsd="http://www.w3.org/2001/XMLSchema"
-     xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
-     xmlns:rpt="http://openoffice.org/2005/report"
-     xmlns:of="urn:oasis:names:tc:opendocument:xmlns:of:1.2"
-     xmlns:xhtml="http://www.w3.org/1999/xhtml"
-     xmlns:grddl="http://www.w3.org/2003/g/data-view#"
-     xmlns:tableooo="http://openoffice.org/2009/table"
-     xmlns:field="urn:openoffice:names:experimental:ooo-ms-interop:xmlns:field:1.0"
-     xmlns:formx="urn:openoffice:names:experimental:ooxml-odf-interop:xmlns:form:1.0"
-     xmlns:css3t="http://www.w3.org/TR/css3-text/"
-     office:version="1.2"
-     grddl:transformation="http://docs.oasis-open.org/office/1.2/xslt/odf2rdf.xsl"
-     office:mimetype="application/vnd.oasis.opendocument.text">
+xmlns:style="urn:oasis:names:tc:opendocument:xmlns:style:1.0"
+xmlns:text="urn:oasis:names:tc:opendocument:xmlns:text:1.0"
+xmlns:table="urn:oasis:names:tc:opendocument:xmlns:table:1.0"
+xmlns:draw="urn:oasis:names:tc:opendocument:xmlns:drawing:1.0"
+xmlns:fo="urn:oasis:names:tc:opendocument:xmlns:xsl-fo-compatible:1.0"
+xmlns:xlink="http://www.w3.org/1999/xlink"
+xmlns:dc="http://purl.org/dc/elements/1.1/"
+xmlns:meta="urn:oasis:names:tc:opendocument:xmlns:meta:1.0"
+xmlns:number="urn:oasis:names:tc:opendocument:xmlns:datastyle:1.0"
+xmlns:svg="urn:oasis:names:tc:opendocument:xmlns:svg-compatible:1.0"
+xmlns:chart="urn:oasis:names:tc:opendocument:xmlns:chart:1.0"
+xmlns:dr3d="urn:oasis:names:tc:opendocument:xmlns:dr3d:1.0"
+xmlns:math="http://www.w3.org/1998/Math/MathML"
+xmlns:form="urn:oasis:names:tc:opendocument:xmlns:form:1.0"
+xmlns:script="urn:oasis:names:tc:opendocument:xmlns:script:1.0"
+xmlns:ooo="http://openoffice.org/2004/office"
+xmlns:ooow="http://openoffice.org/2004/writer"
+xmlns:oooc="http://openoffice.org/2004/calc"
+xmlns:dom="http://www.w3.org/2001/xml-events"
+xmlns:xforms="http://www.w3.org/2002/xforms"
+xmlns:xsd="http://www.w3.org/2001/XMLSchema"
+xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
+xmlns:rpt="http://openoffice.org/2005/report"
+xmlns:of="urn:oasis:names:tc:opendocument:xmlns:of:1.2"
+xmlns:xhtml="http://www.w3.org/1999/xhtml"
+xmlns:grddl="http://www.w3.org/2003/g/data-view#"
+xmlns:officeooo="http://openoffice.org/2009/office"
+xmlns:tableooo="http://openoffice.org/2009/table"
+xmlns:drawooo="http://openoffice.org/2010/draw"
+xmlns:calcext="urn:org:documentfoundation:names:experimental:calc:xmlns:calcext:1.0"
+xmlns:loext="urn:org:documentfoundation:names:experimental:office:xmlns:loext:1.0"
+xmlns:field="urn:openoffice:names:experimental:ooo-ms-interop:xmlns:field:1.0"
+xmlns:formx="urn:openoffice:names:experimental:ooxml-odf-interop:xmlns:form:1.0"
+xmlns:css3t="http://www.w3.org/TR/css3-text/"
+office:version="1.2"
+office:mimetype="application/vnd.oasis.opendocument.text">
 <office:font-face-decls>
    <style:font-face style:name="Courier New" svg:font-family="'Courier New'"
                     style:font-adornments="Regular"
index 22dbb7dc135c7d43aff9f643cb12394922871953..fa52a0be7a7306a856b05371b7b13e244e68cece 100644 (file)
@@ -1,39 +1,41 @@
 <?xml version="1.0" encoding="UTF-8"?>
 <office:document xmlns:office="urn:oasis:names:tc:opendocument:xmlns:office:1.0"
-     xmlns:style="urn:oasis:names:tc:opendocument:xmlns:style:1.0"
-     xmlns:text="urn:oasis:names:tc:opendocument:xmlns:text:1.0"
-     xmlns:table="urn:oasis:names:tc:opendocument:xmlns:table:1.0"
-     xmlns:draw="urn:oasis:names:tc:opendocument:xmlns:drawing:1.0"
-     xmlns:fo="urn:oasis:names:tc:opendocument:xmlns:xsl-fo-compatible:1.0"
-     xmlns:xlink="http://www.w3.org/1999/xlink"
-     xmlns:dc="http://purl.org/dc/elements/1.1/"
-     xmlns:meta="urn:oasis:names:tc:opendocument:xmlns:meta:1.0"
-     xmlns:number="urn:oasis:names:tc:opendocument:xmlns:datastyle:1.0"
-     xmlns:svg="urn:oasis:names:tc:opendocument:xmlns:svg-compatible:1.0"
-     xmlns:chart="urn:oasis:names:tc:opendocument:xmlns:chart:1.0"
-     xmlns:dr3d="urn:oasis:names:tc:opendocument:xmlns:dr3d:1.0"
-     xmlns:math="http://www.w3.org/1998/Math/MathML"
-     xmlns:form="urn:oasis:names:tc:opendocument:xmlns:form:1.0"
-     xmlns:script="urn:oasis:names:tc:opendocument:xmlns:script:1.0"
-     xmlns:config="urn:oasis:names:tc:opendocument:xmlns:config:1.0"
-     xmlns:ooo="http://openoffice.org/2004/office"
-     xmlns:ooow="http://openoffice.org/2004/writer"
-     xmlns:oooc="http://openoffice.org/2004/calc"
-     xmlns:dom="http://www.w3.org/2001/xml-events"
-     xmlns:xforms="http://www.w3.org/2002/xforms"
-     xmlns:xsd="http://www.w3.org/2001/XMLSchema"
-     xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
-     xmlns:rpt="http://openoffice.org/2005/report"
-     xmlns:of="urn:oasis:names:tc:opendocument:xmlns:of:1.2"
-     xmlns:xhtml="http://www.w3.org/1999/xhtml"
-     xmlns:grddl="http://www.w3.org/2003/g/data-view#"
-     xmlns:tableooo="http://openoffice.org/2009/table"
-     xmlns:field="urn:openoffice:names:experimental:ooo-ms-interop:xmlns:field:1.0"
-     xmlns:formx="urn:openoffice:names:experimental:ooxml-odf-interop:xmlns:form:1.0"
-     xmlns:css3t="http://www.w3.org/TR/css3-text/"
-     office:version="1.2"
-     grddl:transformation="http://docs.oasis-open.org/office/1.2/xslt/odf2rdf.xsl"
-     office:mimetype="application/vnd.oasis.opendocument.text">
+xmlns:style="urn:oasis:names:tc:opendocument:xmlns:style:1.0"
+xmlns:text="urn:oasis:names:tc:opendocument:xmlns:text:1.0"
+xmlns:table="urn:oasis:names:tc:opendocument:xmlns:table:1.0"
+xmlns:draw="urn:oasis:names:tc:opendocument:xmlns:drawing:1.0"
+xmlns:fo="urn:oasis:names:tc:opendocument:xmlns:xsl-fo-compatible:1.0"
+xmlns:xlink="http://www.w3.org/1999/xlink"
+xmlns:dc="http://purl.org/dc/elements/1.1/"
+xmlns:meta="urn:oasis:names:tc:opendocument:xmlns:meta:1.0"
+xmlns:number="urn:oasis:names:tc:opendocument:xmlns:datastyle:1.0"
+xmlns:svg="urn:oasis:names:tc:opendocument:xmlns:svg-compatible:1.0"
+xmlns:chart="urn:oasis:names:tc:opendocument:xmlns:chart:1.0"
+xmlns:dr3d="urn:oasis:names:tc:opendocument:xmlns:dr3d:1.0"
+xmlns:math="http://www.w3.org/1998/Math/MathML"
+xmlns:form="urn:oasis:names:tc:opendocument:xmlns:form:1.0"
+xmlns:script="urn:oasis:names:tc:opendocument:xmlns:script:1.0"
+xmlns:ooo="http://openoffice.org/2004/office"
+xmlns:ooow="http://openoffice.org/2004/writer"
+xmlns:oooc="http://openoffice.org/2004/calc"
+xmlns:dom="http://www.w3.org/2001/xml-events"
+xmlns:xforms="http://www.w3.org/2002/xforms"
+xmlns:xsd="http://www.w3.org/2001/XMLSchema"
+xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
+xmlns:rpt="http://openoffice.org/2005/report"
+xmlns:of="urn:oasis:names:tc:opendocument:xmlns:of:1.2"
+xmlns:xhtml="http://www.w3.org/1999/xhtml"
+xmlns:grddl="http://www.w3.org/2003/g/data-view#"
+xmlns:officeooo="http://openoffice.org/2009/office"
+xmlns:tableooo="http://openoffice.org/2009/table"
+xmlns:drawooo="http://openoffice.org/2010/draw"
+xmlns:calcext="urn:org:documentfoundation:names:experimental:calc:xmlns:calcext:1.0"
+xmlns:loext="urn:org:documentfoundation:names:experimental:office:xmlns:loext:1.0"
+xmlns:field="urn:openoffice:names:experimental:ooo-ms-interop:xmlns:field:1.0"
+xmlns:formx="urn:openoffice:names:experimental:ooxml-odf-interop:xmlns:form:1.0"
+xmlns:css3t="http://www.w3.org/TR/css3-text/"
+office:version="1.2"
+office:mimetype="application/vnd.oasis.opendocument.text">
 <office:font-face-decls>
    <style:font-face style:name="Courier New" svg:font-family="'Courier New'"
                     style:font-adornments="Regular"
index 33640b3b880168e9f33daf3c307eb30b4be98675..815e6486a111b2a3f052891c9470d66a299dd4d7 100644 (file)
@@ -7,7 +7,7 @@ latex config:   article</p>
 
 <p><code>*foo*</code>{=latex}</p>
 
-<p><code>*foo*</code>{=odf}</p>
+<p><code>*foo*</code>{=odt}</p>
 
 <p><code>*foo*</code>{=*}</p>
 
@@ -22,7 +22,7 @@ latex config: article</p>
 <p><code>{=latex}
 *foo*</code></p>
 
-<p><code>{=odf}
+<p><code>{=odt}
 *foo*</code></p>
 
 <p><code>{=*}
index ef70c7d47b7b373f96a0ceedcf7d86b726f70035..06f7011d42661f6dd628fa705e81aed6589eeb3d 100644 (file)
@@ -7,7 +7,7 @@ latex config:   article
 
 `*foo*`{=latex}
 
-`*foo*`{=odf}
+`*foo*`{=odt}
 
 `*foo*`{=*}
 
@@ -25,7 +25,7 @@ latex config: article
 *foo*
 ```
 
-```{=odf}
+```{=odt}
 *foo*
 ```
 
index 5bd69a63a2fd216945f245d78ee9d7fa58366990..bf930c6a24ef4d0ebc0440d31206fe12de0a38b9 100644 (file)
@@ -1,39 +1,41 @@
 <?xml version="1.0" encoding="UTF-8"?>
 <office:document xmlns:office="urn:oasis:names:tc:opendocument:xmlns:office:1.0"
-     xmlns:style="urn:oasis:names:tc:opendocument:xmlns:style:1.0"
-     xmlns:text="urn:oasis:names:tc:opendocument:xmlns:text:1.0"
-     xmlns:table="urn:oasis:names:tc:opendocument:xmlns:table:1.0"
-     xmlns:draw="urn:oasis:names:tc:opendocument:xmlns:drawing:1.0"
-     xmlns:fo="urn:oasis:names:tc:opendocument:xmlns:xsl-fo-compatible:1.0"
-     xmlns:xlink="http://www.w3.org/1999/xlink"
-     xmlns:dc="http://purl.org/dc/elements/1.1/"
-     xmlns:meta="urn:oasis:names:tc:opendocument:xmlns:meta:1.0"
-     xmlns:number="urn:oasis:names:tc:opendocument:xmlns:datastyle:1.0"
-     xmlns:svg="urn:oasis:names:tc:opendocument:xmlns:svg-compatible:1.0"
-     xmlns:chart="urn:oasis:names:tc:opendocument:xmlns:chart:1.0"
-     xmlns:dr3d="urn:oasis:names:tc:opendocument:xmlns:dr3d:1.0"
-     xmlns:math="http://www.w3.org/1998/Math/MathML"
-     xmlns:form="urn:oasis:names:tc:opendocument:xmlns:form:1.0"
-     xmlns:script="urn:oasis:names:tc:opendocument:xmlns:script:1.0"
-     xmlns:config="urn:oasis:names:tc:opendocument:xmlns:config:1.0"
-     xmlns:ooo="http://openoffice.org/2004/office"
-     xmlns:ooow="http://openoffice.org/2004/writer"
-     xmlns:oooc="http://openoffice.org/2004/calc"
-     xmlns:dom="http://www.w3.org/2001/xml-events"
-     xmlns:xforms="http://www.w3.org/2002/xforms"
-     xmlns:xsd="http://www.w3.org/2001/XMLSchema"
-     xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
-     xmlns:rpt="http://openoffice.org/2005/report"
-     xmlns:of="urn:oasis:names:tc:opendocument:xmlns:of:1.2"
-     xmlns:xhtml="http://www.w3.org/1999/xhtml"
-     xmlns:grddl="http://www.w3.org/2003/g/data-view#"
-     xmlns:tableooo="http://openoffice.org/2009/table"
-     xmlns:field="urn:openoffice:names:experimental:ooo-ms-interop:xmlns:field:1.0"
-     xmlns:formx="urn:openoffice:names:experimental:ooxml-odf-interop:xmlns:form:1.0"
-     xmlns:css3t="http://www.w3.org/TR/css3-text/"
-     office:version="1.2"
-     grddl:transformation="http://docs.oasis-open.org/office/1.2/xslt/odf2rdf.xsl"
-     office:mimetype="application/vnd.oasis.opendocument.text">
+xmlns:style="urn:oasis:names:tc:opendocument:xmlns:style:1.0"
+xmlns:text="urn:oasis:names:tc:opendocument:xmlns:text:1.0"
+xmlns:table="urn:oasis:names:tc:opendocument:xmlns:table:1.0"
+xmlns:draw="urn:oasis:names:tc:opendocument:xmlns:drawing:1.0"
+xmlns:fo="urn:oasis:names:tc:opendocument:xmlns:xsl-fo-compatible:1.0"
+xmlns:xlink="http://www.w3.org/1999/xlink"
+xmlns:dc="http://purl.org/dc/elements/1.1/"
+xmlns:meta="urn:oasis:names:tc:opendocument:xmlns:meta:1.0"
+xmlns:number="urn:oasis:names:tc:opendocument:xmlns:datastyle:1.0"
+xmlns:svg="urn:oasis:names:tc:opendocument:xmlns:svg-compatible:1.0"
+xmlns:chart="urn:oasis:names:tc:opendocument:xmlns:chart:1.0"
+xmlns:dr3d="urn:oasis:names:tc:opendocument:xmlns:dr3d:1.0"
+xmlns:math="http://www.w3.org/1998/Math/MathML"
+xmlns:form="urn:oasis:names:tc:opendocument:xmlns:form:1.0"
+xmlns:script="urn:oasis:names:tc:opendocument:xmlns:script:1.0"
+xmlns:ooo="http://openoffice.org/2004/office"
+xmlns:ooow="http://openoffice.org/2004/writer"
+xmlns:oooc="http://openoffice.org/2004/calc"
+xmlns:dom="http://www.w3.org/2001/xml-events"
+xmlns:xforms="http://www.w3.org/2002/xforms"
+xmlns:xsd="http://www.w3.org/2001/XMLSchema"
+xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
+xmlns:rpt="http://openoffice.org/2005/report"
+xmlns:of="urn:oasis:names:tc:opendocument:xmlns:of:1.2"
+xmlns:xhtml="http://www.w3.org/1999/xhtml"
+xmlns:grddl="http://www.w3.org/2003/g/data-view#"
+xmlns:officeooo="http://openoffice.org/2009/office"
+xmlns:tableooo="http://openoffice.org/2009/table"
+xmlns:drawooo="http://openoffice.org/2010/draw"
+xmlns:calcext="urn:org:documentfoundation:names:experimental:calc:xmlns:calcext:1.0"
+xmlns:loext="urn:org:documentfoundation:names:experimental:office:xmlns:loext:1.0"
+xmlns:field="urn:openoffice:names:experimental:ooo-ms-interop:xmlns:field:1.0"
+xmlns:formx="urn:openoffice:names:experimental:ooxml-odf-interop:xmlns:form:1.0"
+xmlns:css3t="http://www.w3.org/TR/css3-text/"
+office:version="1.2"
+office:mimetype="application/vnd.oasis.opendocument.text">
 <office:font-face-decls>
    <style:font-face style:name="Courier New" svg:font-family="'Courier New'"
                     style:font-adornments="Regular"
index 45a7bd8fa64c2a5dbd55732a441982179344a796..d5764c1b4b53a83099e4c6531548dd5487fbde13 100644 (file)
@@ -1,39 +1,41 @@
 <?xml version="1.0" encoding="UTF-8"?>
 <office:document xmlns:office="urn:oasis:names:tc:opendocument:xmlns:office:1.0"
-     xmlns:style="urn:oasis:names:tc:opendocument:xmlns:style:1.0"
-     xmlns:text="urn:oasis:names:tc:opendocument:xmlns:text:1.0"
-     xmlns:table="urn:oasis:names:tc:opendocument:xmlns:table:1.0"
-     xmlns:draw="urn:oasis:names:tc:opendocument:xmlns:drawing:1.0"
-     xmlns:fo="urn:oasis:names:tc:opendocument:xmlns:xsl-fo-compatible:1.0"
-     xmlns:xlink="http://www.w3.org/1999/xlink"
-     xmlns:dc="http://purl.org/dc/elements/1.1/"
-     xmlns:meta="urn:oasis:names:tc:opendocument:xmlns:meta:1.0"
-     xmlns:number="urn:oasis:names:tc:opendocument:xmlns:datastyle:1.0"
-     xmlns:svg="urn:oasis:names:tc:opendocument:xmlns:svg-compatible:1.0"
-     xmlns:chart="urn:oasis:names:tc:opendocument:xmlns:chart:1.0"
-     xmlns:dr3d="urn:oasis:names:tc:opendocument:xmlns:dr3d:1.0"
-     xmlns:math="http://www.w3.org/1998/Math/MathML"
-     xmlns:form="urn:oasis:names:tc:opendocument:xmlns:form:1.0"
-     xmlns:script="urn:oasis:names:tc:opendocument:xmlns:script:1.0"
-     xmlns:config="urn:oasis:names:tc:opendocument:xmlns:config:1.0"
-     xmlns:ooo="http://openoffice.org/2004/office"
-     xmlns:ooow="http://openoffice.org/2004/writer"
-     xmlns:oooc="http://openoffice.org/2004/calc"
-     xmlns:dom="http://www.w3.org/2001/xml-events"
-     xmlns:xforms="http://www.w3.org/2002/xforms"
-     xmlns:xsd="http://www.w3.org/2001/XMLSchema"
-     xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
-     xmlns:rpt="http://openoffice.org/2005/report"
-     xmlns:of="urn:oasis:names:tc:opendocument:xmlns:of:1.2"
-     xmlns:xhtml="http://www.w3.org/1999/xhtml"
-     xmlns:grddl="http://www.w3.org/2003/g/data-view#"
-     xmlns:tableooo="http://openoffice.org/2009/table"
-     xmlns:field="urn:openoffice:names:experimental:ooo-ms-interop:xmlns:field:1.0"
-     xmlns:formx="urn:openoffice:names:experimental:ooxml-odf-interop:xmlns:form:1.0"
-     xmlns:css3t="http://www.w3.org/TR/css3-text/"
-     office:version="1.2"
-     grddl:transformation="http://docs.oasis-open.org/office/1.2/xslt/odf2rdf.xsl"
-     office:mimetype="application/vnd.oasis.opendocument.text">
+xmlns:style="urn:oasis:names:tc:opendocument:xmlns:style:1.0"
+xmlns:text="urn:oasis:names:tc:opendocument:xmlns:text:1.0"
+xmlns:table="urn:oasis:names:tc:opendocument:xmlns:table:1.0"
+xmlns:draw="urn:oasis:names:tc:opendocument:xmlns:drawing:1.0"
+xmlns:fo="urn:oasis:names:tc:opendocument:xmlns:xsl-fo-compatible:1.0"
+xmlns:xlink="http://www.w3.org/1999/xlink"
+xmlns:dc="http://purl.org/dc/elements/1.1/"
+xmlns:meta="urn:oasis:names:tc:opendocument:xmlns:meta:1.0"
+xmlns:number="urn:oasis:names:tc:opendocument:xmlns:datastyle:1.0"
+xmlns:svg="urn:oasis:names:tc:opendocument:xmlns:svg-compatible:1.0"
+xmlns:chart="urn:oasis:names:tc:opendocument:xmlns:chart:1.0"
+xmlns:dr3d="urn:oasis:names:tc:opendocument:xmlns:dr3d:1.0"
+xmlns:math="http://www.w3.org/1998/Math/MathML"
+xmlns:form="urn:oasis:names:tc:opendocument:xmlns:form:1.0"
+xmlns:script="urn:oasis:names:tc:opendocument:xmlns:script:1.0"
+xmlns:ooo="http://openoffice.org/2004/office"
+xmlns:ooow="http://openoffice.org/2004/writer"
+xmlns:oooc="http://openoffice.org/2004/calc"
+xmlns:dom="http://www.w3.org/2001/xml-events"
+xmlns:xforms="http://www.w3.org/2002/xforms"
+xmlns:xsd="http://www.w3.org/2001/XMLSchema"
+xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
+xmlns:rpt="http://openoffice.org/2005/report"
+xmlns:of="urn:oasis:names:tc:opendocument:xmlns:of:1.2"
+xmlns:xhtml="http://www.w3.org/1999/xhtml"
+xmlns:grddl="http://www.w3.org/2003/g/data-view#"
+xmlns:officeooo="http://openoffice.org/2009/office"
+xmlns:tableooo="http://openoffice.org/2009/table"
+xmlns:drawooo="http://openoffice.org/2010/draw"
+xmlns:calcext="urn:org:documentfoundation:names:experimental:calc:xmlns:calcext:1.0"
+xmlns:loext="urn:org:documentfoundation:names:experimental:office:xmlns:loext:1.0"
+xmlns:field="urn:openoffice:names:experimental:ooo-ms-interop:xmlns:field:1.0"
+xmlns:formx="urn:openoffice:names:experimental:ooxml-odf-interop:xmlns:form:1.0"
+xmlns:css3t="http://www.w3.org/TR/css3-text/"
+office:version="1.2"
+office:mimetype="application/vnd.oasis.opendocument.text">
 <office:font-face-decls>
    <style:font-face style:name="Courier New" svg:font-family="'Courier New'"
                     style:font-adornments="Regular"
index 4ce286fb182af2e45aa631ec7d2b28016fd0c9b4..7ad598fda4da42fd280fa47cc0b8c64bc73ddced 100644 (file)
@@ -1,39 +1,41 @@
 <?xml version="1.0" encoding="UTF-8"?>
 <office:document xmlns:office="urn:oasis:names:tc:opendocument:xmlns:office:1.0"
-     xmlns:style="urn:oasis:names:tc:opendocument:xmlns:style:1.0"
-     xmlns:text="urn:oasis:names:tc:opendocument:xmlns:text:1.0"
-     xmlns:table="urn:oasis:names:tc:opendocument:xmlns:table:1.0"
-     xmlns:draw="urn:oasis:names:tc:opendocument:xmlns:drawing:1.0"
-     xmlns:fo="urn:oasis:names:tc:opendocument:xmlns:xsl-fo-compatible:1.0"
-     xmlns:xlink="http://www.w3.org/1999/xlink"
-     xmlns:dc="http://purl.org/dc/elements/1.1/"
-     xmlns:meta="urn:oasis:names:tc:opendocument:xmlns:meta:1.0"
-     xmlns:number="urn:oasis:names:tc:opendocument:xmlns:datastyle:1.0"
-     xmlns:svg="urn:oasis:names:tc:opendocument:xmlns:svg-compatible:1.0"
-     xmlns:chart="urn:oasis:names:tc:opendocument:xmlns:chart:1.0"
-     xmlns:dr3d="urn:oasis:names:tc:opendocument:xmlns:dr3d:1.0"
-     xmlns:math="http://www.w3.org/1998/Math/MathML"
-     xmlns:form="urn:oasis:names:tc:opendocument:xmlns:form:1.0"
-     xmlns:script="urn:oasis:names:tc:opendocument:xmlns:script:1.0"
-     xmlns:config="urn:oasis:names:tc:opendocument:xmlns:config:1.0"
-     xmlns:ooo="http://openoffice.org/2004/office"
-     xmlns:ooow="http://openoffice.org/2004/writer"
-     xmlns:oooc="http://openoffice.org/2004/calc"
-     xmlns:dom="http://www.w3.org/2001/xml-events"
-     xmlns:xforms="http://www.w3.org/2002/xforms"
-     xmlns:xsd="http://www.w3.org/2001/XMLSchema"
-     xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
-     xmlns:rpt="http://openoffice.org/2005/report"
-     xmlns:of="urn:oasis:names:tc:opendocument:xmlns:of:1.2"
-     xmlns:xhtml="http://www.w3.org/1999/xhtml"
-     xmlns:grddl="http://www.w3.org/2003/g/data-view#"
-     xmlns:tableooo="http://openoffice.org/2009/table"
-     xmlns:field="urn:openoffice:names:experimental:ooo-ms-interop:xmlns:field:1.0"
-     xmlns:formx="urn:openoffice:names:experimental:ooxml-odf-interop:xmlns:form:1.0"
-     xmlns:css3t="http://www.w3.org/TR/css3-text/"
-     office:version="1.2"
-     grddl:transformation="http://docs.oasis-open.org/office/1.2/xslt/odf2rdf.xsl"
-     office:mimetype="application/vnd.oasis.opendocument.text">
+xmlns:style="urn:oasis:names:tc:opendocument:xmlns:style:1.0"
+xmlns:text="urn:oasis:names:tc:opendocument:xmlns:text:1.0"
+xmlns:table="urn:oasis:names:tc:opendocument:xmlns:table:1.0"
+xmlns:draw="urn:oasis:names:tc:opendocument:xmlns:drawing:1.0"
+xmlns:fo="urn:oasis:names:tc:opendocument:xmlns:xsl-fo-compatible:1.0"
+xmlns:xlink="http://www.w3.org/1999/xlink"
+xmlns:dc="http://purl.org/dc/elements/1.1/"
+xmlns:meta="urn:oasis:names:tc:opendocument:xmlns:meta:1.0"
+xmlns:number="urn:oasis:names:tc:opendocument:xmlns:datastyle:1.0"
+xmlns:svg="urn:oasis:names:tc:opendocument:xmlns:svg-compatible:1.0"
+xmlns:chart="urn:oasis:names:tc:opendocument:xmlns:chart:1.0"
+xmlns:dr3d="urn:oasis:names:tc:opendocument:xmlns:dr3d:1.0"
+xmlns:math="http://www.w3.org/1998/Math/MathML"
+xmlns:form="urn:oasis:names:tc:opendocument:xmlns:form:1.0"
+xmlns:script="urn:oasis:names:tc:opendocument:xmlns:script:1.0"
+xmlns:ooo="http://openoffice.org/2004/office"
+xmlns:ooow="http://openoffice.org/2004/writer"
+xmlns:oooc="http://openoffice.org/2004/calc"
+xmlns:dom="http://www.w3.org/2001/xml-events"
+xmlns:xforms="http://www.w3.org/2002/xforms"
+xmlns:xsd="http://www.w3.org/2001/XMLSchema"
+xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
+xmlns:rpt="http://openoffice.org/2005/report"
+xmlns:of="urn:oasis:names:tc:opendocument:xmlns:of:1.2"
+xmlns:xhtml="http://www.w3.org/1999/xhtml"
+xmlns:grddl="http://www.w3.org/2003/g/data-view#"
+xmlns:officeooo="http://openoffice.org/2009/office"
+xmlns:tableooo="http://openoffice.org/2009/table"
+xmlns:drawooo="http://openoffice.org/2010/draw"
+xmlns:calcext="urn:org:documentfoundation:names:experimental:calc:xmlns:calcext:1.0"
+xmlns:loext="urn:org:documentfoundation:names:experimental:office:xmlns:loext:1.0"
+xmlns:field="urn:openoffice:names:experimental:ooo-ms-interop:xmlns:field:1.0"
+xmlns:formx="urn:openoffice:names:experimental:ooxml-odf-interop:xmlns:form:1.0"
+xmlns:css3t="http://www.w3.org/TR/css3-text/"
+office:version="1.2"
+office:mimetype="application/vnd.oasis.opendocument.text">
 <office:font-face-decls>
    <style:font-face style:name="Courier New" svg:font-family="'Courier New'"
                     style:font-adornments="Regular"
index 7d2cafcf4fa158a3fc9b03c483f7cb126418459c..c6055d4c193afa67df8a87ed7838cd91fec00ff9 100644 (file)
@@ -1,39 +1,41 @@
 <?xml version="1.0" encoding="UTF-8"?>
 <office:document xmlns:office="urn:oasis:names:tc:opendocument:xmlns:office:1.0"
-     xmlns:style="urn:oasis:names:tc:opendocument:xmlns:style:1.0"
-     xmlns:text="urn:oasis:names:tc:opendocument:xmlns:text:1.0"
-     xmlns:table="urn:oasis:names:tc:opendocument:xmlns:table:1.0"
-     xmlns:draw="urn:oasis:names:tc:opendocument:xmlns:drawing:1.0"
-     xmlns:fo="urn:oasis:names:tc:opendocument:xmlns:xsl-fo-compatible:1.0"
-     xmlns:xlink="http://www.w3.org/1999/xlink"
-     xmlns:dc="http://purl.org/dc/elements/1.1/"
-     xmlns:meta="urn:oasis:names:tc:opendocument:xmlns:meta:1.0"
-     xmlns:number="urn:oasis:names:tc:opendocument:xmlns:datastyle:1.0"
-     xmlns:svg="urn:oasis:names:tc:opendocument:xmlns:svg-compatible:1.0"
-     xmlns:chart="urn:oasis:names:tc:opendocument:xmlns:chart:1.0"
-     xmlns:dr3d="urn:oasis:names:tc:opendocument:xmlns:dr3d:1.0"
-     xmlns:math="http://www.w3.org/1998/Math/MathML"
-     xmlns:form="urn:oasis:names:tc:opendocument:xmlns:form:1.0"
-     xmlns:script="urn:oasis:names:tc:opendocument:xmlns:script:1.0"
-     xmlns:config="urn:oasis:names:tc:opendocument:xmlns:config:1.0"
-     xmlns:ooo="http://openoffice.org/2004/office"
-     xmlns:ooow="http://openoffice.org/2004/writer"
-     xmlns:oooc="http://openoffice.org/2004/calc"
-     xmlns:dom="http://www.w3.org/2001/xml-events"
-     xmlns:xforms="http://www.w3.org/2002/xforms"
-     xmlns:xsd="http://www.w3.org/2001/XMLSchema"
-     xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
-     xmlns:rpt="http://openoffice.org/2005/report"
-     xmlns:of="urn:oasis:names:tc:opendocument:xmlns:of:1.2"
-     xmlns:xhtml="http://www.w3.org/1999/xhtml"
-     xmlns:grddl="http://www.w3.org/2003/g/data-view#"
-     xmlns:tableooo="http://openoffice.org/2009/table"
-     xmlns:field="urn:openoffice:names:experimental:ooo-ms-interop:xmlns:field:1.0"
-     xmlns:formx="urn:openoffice:names:experimental:ooxml-odf-interop:xmlns:form:1.0"
-     xmlns:css3t="http://www.w3.org/TR/css3-text/"
-     office:version="1.2"
-     grddl:transformation="http://docs.oasis-open.org/office/1.2/xslt/odf2rdf.xsl"
-     office:mimetype="application/vnd.oasis.opendocument.text">
+xmlns:style="urn:oasis:names:tc:opendocument:xmlns:style:1.0"
+xmlns:text="urn:oasis:names:tc:opendocument:xmlns:text:1.0"
+xmlns:table="urn:oasis:names:tc:opendocument:xmlns:table:1.0"
+xmlns:draw="urn:oasis:names:tc:opendocument:xmlns:drawing:1.0"
+xmlns:fo="urn:oasis:names:tc:opendocument:xmlns:xsl-fo-compatible:1.0"
+xmlns:xlink="http://www.w3.org/1999/xlink"
+xmlns:dc="http://purl.org/dc/elements/1.1/"
+xmlns:meta="urn:oasis:names:tc:opendocument:xmlns:meta:1.0"
+xmlns:number="urn:oasis:names:tc:opendocument:xmlns:datastyle:1.0"
+xmlns:svg="urn:oasis:names:tc:opendocument:xmlns:svg-compatible:1.0"
+xmlns:chart="urn:oasis:names:tc:opendocument:xmlns:chart:1.0"
+xmlns:dr3d="urn:oasis:names:tc:opendocument:xmlns:dr3d:1.0"
+xmlns:math="http://www.w3.org/1998/Math/MathML"
+xmlns:form="urn:oasis:names:tc:opendocument:xmlns:form:1.0"
+xmlns:script="urn:oasis:names:tc:opendocument:xmlns:script:1.0"
+xmlns:ooo="http://openoffice.org/2004/office"
+xmlns:ooow="http://openoffice.org/2004/writer"
+xmlns:oooc="http://openoffice.org/2004/calc"
+xmlns:dom="http://www.w3.org/2001/xml-events"
+xmlns:xforms="http://www.w3.org/2002/xforms"
+xmlns:xsd="http://www.w3.org/2001/XMLSchema"
+xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
+xmlns:rpt="http://openoffice.org/2005/report"
+xmlns:of="urn:oasis:names:tc:opendocument:xmlns:of:1.2"
+xmlns:xhtml="http://www.w3.org/1999/xhtml"
+xmlns:grddl="http://www.w3.org/2003/g/data-view#"
+xmlns:officeooo="http://openoffice.org/2009/office"
+xmlns:tableooo="http://openoffice.org/2009/table"
+xmlns:drawooo="http://openoffice.org/2010/draw"
+xmlns:calcext="urn:org:documentfoundation:names:experimental:calc:xmlns:calcext:1.0"
+xmlns:loext="urn:org:documentfoundation:names:experimental:office:xmlns:loext:1.0"
+xmlns:field="urn:openoffice:names:experimental:ooo-ms-interop:xmlns:field:1.0"
+xmlns:formx="urn:openoffice:names:experimental:ooxml-odf-interop:xmlns:form:1.0"
+xmlns:css3t="http://www.w3.org/TR/css3-text/"
+office:version="1.2"
+office:mimetype="application/vnd.oasis.opendocument.text">
 <office:font-face-decls>
    <style:font-face style:name="Courier New" svg:font-family="'Courier New'"
                     style:font-adornments="Regular"
index bc649afe6d2eee0e3ae6fa2615029c805828e33f..f94fca17d950127e140aa3d770f8ab48282b2df9 100644 (file)
@@ -1,39 +1,41 @@
 <?xml version="1.0" encoding="UTF-8"?>
 <office:document xmlns:office="urn:oasis:names:tc:opendocument:xmlns:office:1.0"
-     xmlns:style="urn:oasis:names:tc:opendocument:xmlns:style:1.0"
-     xmlns:text="urn:oasis:names:tc:opendocument:xmlns:text:1.0"
-     xmlns:table="urn:oasis:names:tc:opendocument:xmlns:table:1.0"
-     xmlns:draw="urn:oasis:names:tc:opendocument:xmlns:drawing:1.0"
-     xmlns:fo="urn:oasis:names:tc:opendocument:xmlns:xsl-fo-compatible:1.0"
-     xmlns:xlink="http://www.w3.org/1999/xlink"
-     xmlns:dc="http://purl.org/dc/elements/1.1/"
-     xmlns:meta="urn:oasis:names:tc:opendocument:xmlns:meta:1.0"
-     xmlns:number="urn:oasis:names:tc:opendocument:xmlns:datastyle:1.0"
-     xmlns:svg="urn:oasis:names:tc:opendocument:xmlns:svg-compatible:1.0"
-     xmlns:chart="urn:oasis:names:tc:opendocument:xmlns:chart:1.0"
-     xmlns:dr3d="urn:oasis:names:tc:opendocument:xmlns:dr3d:1.0"
-     xmlns:math="http://www.w3.org/1998/Math/MathML"
-     xmlns:form="urn:oasis:names:tc:opendocument:xmlns:form:1.0"
-     xmlns:script="urn:oasis:names:tc:opendocument:xmlns:script:1.0"
-     xmlns:config="urn:oasis:names:tc:opendocument:xmlns:config:1.0"
-     xmlns:ooo="http://openoffice.org/2004/office"
-     xmlns:ooow="http://openoffice.org/2004/writer"
-     xmlns:oooc="http://openoffice.org/2004/calc"
-     xmlns:dom="http://www.w3.org/2001/xml-events"
-     xmlns:xforms="http://www.w3.org/2002/xforms"
-     xmlns:xsd="http://www.w3.org/2001/XMLSchema"
-     xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
-     xmlns:rpt="http://openoffice.org/2005/report"
-     xmlns:of="urn:oasis:names:tc:opendocument:xmlns:of:1.2"
-     xmlns:xhtml="http://www.w3.org/1999/xhtml"
-     xmlns:grddl="http://www.w3.org/2003/g/data-view#"
-     xmlns:tableooo="http://openoffice.org/2009/table"
-     xmlns:field="urn:openoffice:names:experimental:ooo-ms-interop:xmlns:field:1.0"
-     xmlns:formx="urn:openoffice:names:experimental:ooxml-odf-interop:xmlns:form:1.0"
-     xmlns:css3t="http://www.w3.org/TR/css3-text/"
-     office:version="1.2"
-     grddl:transformation="http://docs.oasis-open.org/office/1.2/xslt/odf2rdf.xsl"
-     office:mimetype="application/vnd.oasis.opendocument.text">
+xmlns:style="urn:oasis:names:tc:opendocument:xmlns:style:1.0"
+xmlns:text="urn:oasis:names:tc:opendocument:xmlns:text:1.0"
+xmlns:table="urn:oasis:names:tc:opendocument:xmlns:table:1.0"
+xmlns:draw="urn:oasis:names:tc:opendocument:xmlns:drawing:1.0"
+xmlns:fo="urn:oasis:names:tc:opendocument:xmlns:xsl-fo-compatible:1.0"
+xmlns:xlink="http://www.w3.org/1999/xlink"
+xmlns:dc="http://purl.org/dc/elements/1.1/"
+xmlns:meta="urn:oasis:names:tc:opendocument:xmlns:meta:1.0"
+xmlns:number="urn:oasis:names:tc:opendocument:xmlns:datastyle:1.0"
+xmlns:svg="urn:oasis:names:tc:opendocument:xmlns:svg-compatible:1.0"
+xmlns:chart="urn:oasis:names:tc:opendocument:xmlns:chart:1.0"
+xmlns:dr3d="urn:oasis:names:tc:opendocument:xmlns:dr3d:1.0"
+xmlns:math="http://www.w3.org/1998/Math/MathML"
+xmlns:form="urn:oasis:names:tc:opendocument:xmlns:form:1.0"
+xmlns:script="urn:oasis:names:tc:opendocument:xmlns:script:1.0"
+xmlns:ooo="http://openoffice.org/2004/office"
+xmlns:ooow="http://openoffice.org/2004/writer"
+xmlns:oooc="http://openoffice.org/2004/calc"
+xmlns:dom="http://www.w3.org/2001/xml-events"
+xmlns:xforms="http://www.w3.org/2002/xforms"
+xmlns:xsd="http://www.w3.org/2001/XMLSchema"
+xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
+xmlns:rpt="http://openoffice.org/2005/report"
+xmlns:of="urn:oasis:names:tc:opendocument:xmlns:of:1.2"
+xmlns:xhtml="http://www.w3.org/1999/xhtml"
+xmlns:grddl="http://www.w3.org/2003/g/data-view#"
+xmlns:officeooo="http://openoffice.org/2009/office"
+xmlns:tableooo="http://openoffice.org/2009/table"
+xmlns:drawooo="http://openoffice.org/2010/draw"
+xmlns:calcext="urn:org:documentfoundation:names:experimental:calc:xmlns:calcext:1.0"
+xmlns:loext="urn:org:documentfoundation:names:experimental:office:xmlns:loext:1.0"
+xmlns:field="urn:openoffice:names:experimental:ooo-ms-interop:xmlns:field:1.0"
+xmlns:formx="urn:openoffice:names:experimental:ooxml-odf-interop:xmlns:form:1.0"
+xmlns:css3t="http://www.w3.org/TR/css3-text/"
+office:version="1.2"
+office:mimetype="application/vnd.oasis.opendocument.text">
 <office:font-face-decls>
    <style:font-face style:name="Courier New" svg:font-family="'Courier New'"
                     style:font-adornments="Regular"
index f140e1607e560aa23dbf7608ed0102f7594ac3c0..547ae3285e373388190c6cfd5dea8f6ac5500d6a 100644 (file)
@@ -1,39 +1,41 @@
 <?xml version="1.0" encoding="UTF-8"?>
 <office:document xmlns:office="urn:oasis:names:tc:opendocument:xmlns:office:1.0"
-     xmlns:style="urn:oasis:names:tc:opendocument:xmlns:style:1.0"
-     xmlns:text="urn:oasis:names:tc:opendocument:xmlns:text:1.0"
-     xmlns:table="urn:oasis:names:tc:opendocument:xmlns:table:1.0"
-     xmlns:draw="urn:oasis:names:tc:opendocument:xmlns:drawing:1.0"
-     xmlns:fo="urn:oasis:names:tc:opendocument:xmlns:xsl-fo-compatible:1.0"
-     xmlns:xlink="http://www.w3.org/1999/xlink"
-     xmlns:dc="http://purl.org/dc/elements/1.1/"
-     xmlns:meta="urn:oasis:names:tc:opendocument:xmlns:meta:1.0"
-     xmlns:number="urn:oasis:names:tc:opendocument:xmlns:datastyle:1.0"
-     xmlns:svg="urn:oasis:names:tc:opendocument:xmlns:svg-compatible:1.0"
-     xmlns:chart="urn:oasis:names:tc:opendocument:xmlns:chart:1.0"
-     xmlns:dr3d="urn:oasis:names:tc:opendocument:xmlns:dr3d:1.0"
-     xmlns:math="http://www.w3.org/1998/Math/MathML"
-     xmlns:form="urn:oasis:names:tc:opendocument:xmlns:form:1.0"
-     xmlns:script="urn:oasis:names:tc:opendocument:xmlns:script:1.0"
-     xmlns:config="urn:oasis:names:tc:opendocument:xmlns:config:1.0"
-     xmlns:ooo="http://openoffice.org/2004/office"
-     xmlns:ooow="http://openoffice.org/2004/writer"
-     xmlns:oooc="http://openoffice.org/2004/calc"
-     xmlns:dom="http://www.w3.org/2001/xml-events"
-     xmlns:xforms="http://www.w3.org/2002/xforms"
-     xmlns:xsd="http://www.w3.org/2001/XMLSchema"
-     xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
-     xmlns:rpt="http://openoffice.org/2005/report"
-     xmlns:of="urn:oasis:names:tc:opendocument:xmlns:of:1.2"
-     xmlns:xhtml="http://www.w3.org/1999/xhtml"
-     xmlns:grddl="http://www.w3.org/2003/g/data-view#"
-     xmlns:tableooo="http://openoffice.org/2009/table"
-     xmlns:field="urn:openoffice:names:experimental:ooo-ms-interop:xmlns:field:1.0"
-     xmlns:formx="urn:openoffice:names:experimental:ooxml-odf-interop:xmlns:form:1.0"
-     xmlns:css3t="http://www.w3.org/TR/css3-text/"
-     office:version="1.2"
-     grddl:transformation="http://docs.oasis-open.org/office/1.2/xslt/odf2rdf.xsl"
-     office:mimetype="application/vnd.oasis.opendocument.text">
+xmlns:style="urn:oasis:names:tc:opendocument:xmlns:style:1.0"
+xmlns:text="urn:oasis:names:tc:opendocument:xmlns:text:1.0"
+xmlns:table="urn:oasis:names:tc:opendocument:xmlns:table:1.0"
+xmlns:draw="urn:oasis:names:tc:opendocument:xmlns:drawing:1.0"
+xmlns:fo="urn:oasis:names:tc:opendocument:xmlns:xsl-fo-compatible:1.0"
+xmlns:xlink="http://www.w3.org/1999/xlink"
+xmlns:dc="http://purl.org/dc/elements/1.1/"
+xmlns:meta="urn:oasis:names:tc:opendocument:xmlns:meta:1.0"
+xmlns:number="urn:oasis:names:tc:opendocument:xmlns:datastyle:1.0"
+xmlns:svg="urn:oasis:names:tc:opendocument:xmlns:svg-compatible:1.0"
+xmlns:chart="urn:oasis:names:tc:opendocument:xmlns:chart:1.0"
+xmlns:dr3d="urn:oasis:names:tc:opendocument:xmlns:dr3d:1.0"
+xmlns:math="http://www.w3.org/1998/Math/MathML"
+xmlns:form="urn:oasis:names:tc:opendocument:xmlns:form:1.0"
+xmlns:script="urn:oasis:names:tc:opendocument:xmlns:script:1.0"
+xmlns:ooo="http://openoffice.org/2004/office"
+xmlns:ooow="http://openoffice.org/2004/writer"
+xmlns:oooc="http://openoffice.org/2004/calc"
+xmlns:dom="http://www.w3.org/2001/xml-events"
+xmlns:xforms="http://www.w3.org/2002/xforms"
+xmlns:xsd="http://www.w3.org/2001/XMLSchema"
+xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
+xmlns:rpt="http://openoffice.org/2005/report"
+xmlns:of="urn:oasis:names:tc:opendocument:xmlns:of:1.2"
+xmlns:xhtml="http://www.w3.org/1999/xhtml"
+xmlns:grddl="http://www.w3.org/2003/g/data-view#"
+xmlns:officeooo="http://openoffice.org/2009/office"
+xmlns:tableooo="http://openoffice.org/2009/table"
+xmlns:drawooo="http://openoffice.org/2010/draw"
+xmlns:calcext="urn:org:documentfoundation:names:experimental:calc:xmlns:calcext:1.0"
+xmlns:loext="urn:org:documentfoundation:names:experimental:office:xmlns:loext:1.0"
+xmlns:field="urn:openoffice:names:experimental:ooo-ms-interop:xmlns:field:1.0"
+xmlns:formx="urn:openoffice:names:experimental:ooxml-odf-interop:xmlns:form:1.0"
+xmlns:css3t="http://www.w3.org/TR/css3-text/"
+office:version="1.2"
+office:mimetype="application/vnd.oasis.opendocument.text">
 <office:font-face-decls>
    <style:font-face style:name="Courier New" svg:font-family="'Courier New'"
                     style:font-adornments="Regular"
index 1341f431800f374ff629344d2a29c6b84f0add05..3dd046557ab3448586433bd25353935afca097c5 100644 (file)
@@ -1,39 +1,41 @@
 <?xml version="1.0" encoding="UTF-8"?>
 <office:document xmlns:office="urn:oasis:names:tc:opendocument:xmlns:office:1.0"
-     xmlns:style="urn:oasis:names:tc:opendocument:xmlns:style:1.0"
-     xmlns:text="urn:oasis:names:tc:opendocument:xmlns:text:1.0"
-     xmlns:table="urn:oasis:names:tc:opendocument:xmlns:table:1.0"
-     xmlns:draw="urn:oasis:names:tc:opendocument:xmlns:drawing:1.0"
-     xmlns:fo="urn:oasis:names:tc:opendocument:xmlns:xsl-fo-compatible:1.0"
-     xmlns:xlink="http://www.w3.org/1999/xlink"
-     xmlns:dc="http://purl.org/dc/elements/1.1/"
-     xmlns:meta="urn:oasis:names:tc:opendocument:xmlns:meta:1.0"
-     xmlns:number="urn:oasis:names:tc:opendocument:xmlns:datastyle:1.0"
-     xmlns:svg="urn:oasis:names:tc:opendocument:xmlns:svg-compatible:1.0"
-     xmlns:chart="urn:oasis:names:tc:opendocument:xmlns:chart:1.0"
-     xmlns:dr3d="urn:oasis:names:tc:opendocument:xmlns:dr3d:1.0"
-     xmlns:math="http://www.w3.org/1998/Math/MathML"
-     xmlns:form="urn:oasis:names:tc:opendocument:xmlns:form:1.0"
-     xmlns:script="urn:oasis:names:tc:opendocument:xmlns:script:1.0"
-     xmlns:config="urn:oasis:names:tc:opendocument:xmlns:config:1.0"
-     xmlns:ooo="http://openoffice.org/2004/office"
-     xmlns:ooow="http://openoffice.org/2004/writer"
-     xmlns:oooc="http://openoffice.org/2004/calc"
-     xmlns:dom="http://www.w3.org/2001/xml-events"
-     xmlns:xforms="http://www.w3.org/2002/xforms"
-     xmlns:xsd="http://www.w3.org/2001/XMLSchema"
-     xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
-     xmlns:rpt="http://openoffice.org/2005/report"
-     xmlns:of="urn:oasis:names:tc:opendocument:xmlns:of:1.2"
-     xmlns:xhtml="http://www.w3.org/1999/xhtml"
-     xmlns:grddl="http://www.w3.org/2003/g/data-view#"
-     xmlns:tableooo="http://openoffice.org/2009/table"
-     xmlns:field="urn:openoffice:names:experimental:ooo-ms-interop:xmlns:field:1.0"
-     xmlns:formx="urn:openoffice:names:experimental:ooxml-odf-interop:xmlns:form:1.0"
-     xmlns:css3t="http://www.w3.org/TR/css3-text/"
-     office:version="1.2"
-     grddl:transformation="http://docs.oasis-open.org/office/1.2/xslt/odf2rdf.xsl"
-     office:mimetype="application/vnd.oasis.opendocument.text">
+xmlns:style="urn:oasis:names:tc:opendocument:xmlns:style:1.0"
+xmlns:text="urn:oasis:names:tc:opendocument:xmlns:text:1.0"
+xmlns:table="urn:oasis:names:tc:opendocument:xmlns:table:1.0"
+xmlns:draw="urn:oasis:names:tc:opendocument:xmlns:drawing:1.0"
+xmlns:fo="urn:oasis:names:tc:opendocument:xmlns:xsl-fo-compatible:1.0"
+xmlns:xlink="http://www.w3.org/1999/xlink"
+xmlns:dc="http://purl.org/dc/elements/1.1/"
+xmlns:meta="urn:oasis:names:tc:opendocument:xmlns:meta:1.0"
+xmlns:number="urn:oasis:names:tc:opendocument:xmlns:datastyle:1.0"
+xmlns:svg="urn:oasis:names:tc:opendocument:xmlns:svg-compatible:1.0"
+xmlns:chart="urn:oasis:names:tc:opendocument:xmlns:chart:1.0"
+xmlns:dr3d="urn:oasis:names:tc:opendocument:xmlns:dr3d:1.0"
+xmlns:math="http://www.w3.org/1998/Math/MathML"
+xmlns:form="urn:oasis:names:tc:opendocument:xmlns:form:1.0"
+xmlns:script="urn:oasis:names:tc:opendocument:xmlns:script:1.0"
+xmlns:ooo="http://openoffice.org/2004/office"
+xmlns:ooow="http://openoffice.org/2004/writer"
+xmlns:oooc="http://openoffice.org/2004/calc"
+xmlns:dom="http://www.w3.org/2001/xml-events"
+xmlns:xforms="http://www.w3.org/2002/xforms"
+xmlns:xsd="http://www.w3.org/2001/XMLSchema"
+xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
+xmlns:rpt="http://openoffice.org/2005/report"
+xmlns:of="urn:oasis:names:tc:opendocument:xmlns:of:1.2"
+xmlns:xhtml="http://www.w3.org/1999/xhtml"
+xmlns:grddl="http://www.w3.org/2003/g/data-view#"
+xmlns:officeooo="http://openoffice.org/2009/office"
+xmlns:tableooo="http://openoffice.org/2009/table"
+xmlns:drawooo="http://openoffice.org/2010/draw"
+xmlns:calcext="urn:org:documentfoundation:names:experimental:calc:xmlns:calcext:1.0"
+xmlns:loext="urn:org:documentfoundation:names:experimental:office:xmlns:loext:1.0"
+xmlns:field="urn:openoffice:names:experimental:ooo-ms-interop:xmlns:field:1.0"
+xmlns:formx="urn:openoffice:names:experimental:ooxml-odf-interop:xmlns:form:1.0"
+xmlns:css3t="http://www.w3.org/TR/css3-text/"
+office:version="1.2"
+office:mimetype="application/vnd.oasis.opendocument.text">
 <office:font-face-decls>
    <style:font-face style:name="Courier New" svg:font-family="'Courier New'"
                     style:font-adornments="Regular"
index 968c464a208138f24972d27810cefd23af883a0d..68be201c915217686a843727e338b9677e88fb63 100644 (file)
@@ -1,39 +1,41 @@
 <?xml version="1.0" encoding="UTF-8"?>
 <office:document xmlns:office="urn:oasis:names:tc:opendocument:xmlns:office:1.0"
-     xmlns:style="urn:oasis:names:tc:opendocument:xmlns:style:1.0"
-     xmlns:text="urn:oasis:names:tc:opendocument:xmlns:text:1.0"
-     xmlns:table="urn:oasis:names:tc:opendocument:xmlns:table:1.0"
-     xmlns:draw="urn:oasis:names:tc:opendocument:xmlns:drawing:1.0"
-     xmlns:fo="urn:oasis:names:tc:opendocument:xmlns:xsl-fo-compatible:1.0"
-     xmlns:xlink="http://www.w3.org/1999/xlink"
-     xmlns:dc="http://purl.org/dc/elements/1.1/"
-     xmlns:meta="urn:oasis:names:tc:opendocument:xmlns:meta:1.0"
-     xmlns:number="urn:oasis:names:tc:opendocument:xmlns:datastyle:1.0"
-     xmlns:svg="urn:oasis:names:tc:opendocument:xmlns:svg-compatible:1.0"
-     xmlns:chart="urn:oasis:names:tc:opendocument:xmlns:chart:1.0"
-     xmlns:dr3d="urn:oasis:names:tc:opendocument:xmlns:dr3d:1.0"
-     xmlns:math="http://www.w3.org/1998/Math/MathML"
-     xmlns:form="urn:oasis:names:tc:opendocument:xmlns:form:1.0"
-     xmlns:script="urn:oasis:names:tc:opendocument:xmlns:script:1.0"
-     xmlns:config="urn:oasis:names:tc:opendocument:xmlns:config:1.0"
-     xmlns:ooo="http://openoffice.org/2004/office"
-     xmlns:ooow="http://openoffice.org/2004/writer"
-     xmlns:oooc="http://openoffice.org/2004/calc"
-     xmlns:dom="http://www.w3.org/2001/xml-events"
-     xmlns:xforms="http://www.w3.org/2002/xforms"
-     xmlns:xsd="http://www.w3.org/2001/XMLSchema"
-     xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
-     xmlns:rpt="http://openoffice.org/2005/report"
-     xmlns:of="urn:oasis:names:tc:opendocument:xmlns:of:1.2"
-     xmlns:xhtml="http://www.w3.org/1999/xhtml"
-     xmlns:grddl="http://www.w3.org/2003/g/data-view#"
-     xmlns:tableooo="http://openoffice.org/2009/table"
-     xmlns:field="urn:openoffice:names:experimental:ooo-ms-interop:xmlns:field:1.0"
-     xmlns:formx="urn:openoffice:names:experimental:ooxml-odf-interop:xmlns:form:1.0"
-     xmlns:css3t="http://www.w3.org/TR/css3-text/"
-     office:version="1.2"
-     grddl:transformation="http://docs.oasis-open.org/office/1.2/xslt/odf2rdf.xsl"
-     office:mimetype="application/vnd.oasis.opendocument.text">
+xmlns:style="urn:oasis:names:tc:opendocument:xmlns:style:1.0"
+xmlns:text="urn:oasis:names:tc:opendocument:xmlns:text:1.0"
+xmlns:table="urn:oasis:names:tc:opendocument:xmlns:table:1.0"
+xmlns:draw="urn:oasis:names:tc:opendocument:xmlns:drawing:1.0"
+xmlns:fo="urn:oasis:names:tc:opendocument:xmlns:xsl-fo-compatible:1.0"
+xmlns:xlink="http://www.w3.org/1999/xlink"
+xmlns:dc="http://purl.org/dc/elements/1.1/"
+xmlns:meta="urn:oasis:names:tc:opendocument:xmlns:meta:1.0"
+xmlns:number="urn:oasis:names:tc:opendocument:xmlns:datastyle:1.0"
+xmlns:svg="urn:oasis:names:tc:opendocument:xmlns:svg-compatible:1.0"
+xmlns:chart="urn:oasis:names:tc:opendocument:xmlns:chart:1.0"
+xmlns:dr3d="urn:oasis:names:tc:opendocument:xmlns:dr3d:1.0"
+xmlns:math="http://www.w3.org/1998/Math/MathML"
+xmlns:form="urn:oasis:names:tc:opendocument:xmlns:form:1.0"
+xmlns:script="urn:oasis:names:tc:opendocument:xmlns:script:1.0"
+xmlns:ooo="http://openoffice.org/2004/office"
+xmlns:ooow="http://openoffice.org/2004/writer"
+xmlns:oooc="http://openoffice.org/2004/calc"
+xmlns:dom="http://www.w3.org/2001/xml-events"
+xmlns:xforms="http://www.w3.org/2002/xforms"
+xmlns:xsd="http://www.w3.org/2001/XMLSchema"
+xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
+xmlns:rpt="http://openoffice.org/2005/report"
+xmlns:of="urn:oasis:names:tc:opendocument:xmlns:of:1.2"
+xmlns:xhtml="http://www.w3.org/1999/xhtml"
+xmlns:grddl="http://www.w3.org/2003/g/data-view#"
+xmlns:officeooo="http://openoffice.org/2009/office"
+xmlns:tableooo="http://openoffice.org/2009/table"
+xmlns:drawooo="http://openoffice.org/2010/draw"
+xmlns:calcext="urn:org:documentfoundation:names:experimental:calc:xmlns:calcext:1.0"
+xmlns:loext="urn:org:documentfoundation:names:experimental:office:xmlns:loext:1.0"
+xmlns:field="urn:openoffice:names:experimental:ooo-ms-interop:xmlns:field:1.0"
+xmlns:formx="urn:openoffice:names:experimental:ooxml-odf-interop:xmlns:form:1.0"
+xmlns:css3t="http://www.w3.org/TR/css3-text/"
+office:version="1.2"
+office:mimetype="application/vnd.oasis.opendocument.text">
 <office:font-face-decls>
    <style:font-face style:name="Courier New" svg:font-family="'Courier New'"
                     style:font-adornments="Regular"
index 0ebfbb5cd3a9be982c8caaf698a9d52514ff3b51..c24777ec3168cf317a4d323c171cbc06728150af 100644 (file)
@@ -1,39 +1,41 @@
 <?xml version="1.0" encoding="UTF-8"?>
 <office:document xmlns:office="urn:oasis:names:tc:opendocument:xmlns:office:1.0"
-     xmlns:style="urn:oasis:names:tc:opendocument:xmlns:style:1.0"
-     xmlns:text="urn:oasis:names:tc:opendocument:xmlns:text:1.0"
-     xmlns:table="urn:oasis:names:tc:opendocument:xmlns:table:1.0"
-     xmlns:draw="urn:oasis:names:tc:opendocument:xmlns:drawing:1.0"
-     xmlns:fo="urn:oasis:names:tc:opendocument:xmlns:xsl-fo-compatible:1.0"
-     xmlns:xlink="http://www.w3.org/1999/xlink"
-     xmlns:dc="http://purl.org/dc/elements/1.1/"
-     xmlns:meta="urn:oasis:names:tc:opendocument:xmlns:meta:1.0"
-     xmlns:number="urn:oasis:names:tc:opendocument:xmlns:datastyle:1.0"
-     xmlns:svg="urn:oasis:names:tc:opendocument:xmlns:svg-compatible:1.0"
-     xmlns:chart="urn:oasis:names:tc:opendocument:xmlns:chart:1.0"
-     xmlns:dr3d="urn:oasis:names:tc:opendocument:xmlns:dr3d:1.0"
-     xmlns:math="http://www.w3.org/1998/Math/MathML"
-     xmlns:form="urn:oasis:names:tc:opendocument:xmlns:form:1.0"
-     xmlns:script="urn:oasis:names:tc:opendocument:xmlns:script:1.0"
-     xmlns:config="urn:oasis:names:tc:opendocument:xmlns:config:1.0"
-     xmlns:ooo="http://openoffice.org/2004/office"
-     xmlns:ooow="http://openoffice.org/2004/writer"
-     xmlns:oooc="http://openoffice.org/2004/calc"
-     xmlns:dom="http://www.w3.org/2001/xml-events"
-     xmlns:xforms="http://www.w3.org/2002/xforms"
-     xmlns:xsd="http://www.w3.org/2001/XMLSchema"
-     xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
-     xmlns:rpt="http://openoffice.org/2005/report"
-     xmlns:of="urn:oasis:names:tc:opendocument:xmlns:of:1.2"
-     xmlns:xhtml="http://www.w3.org/1999/xhtml"
-     xmlns:grddl="http://www.w3.org/2003/g/data-view#"
-     xmlns:tableooo="http://openoffice.org/2009/table"
-     xmlns:field="urn:openoffice:names:experimental:ooo-ms-interop:xmlns:field:1.0"
-     xmlns:formx="urn:openoffice:names:experimental:ooxml-odf-interop:xmlns:form:1.0"
-     xmlns:css3t="http://www.w3.org/TR/css3-text/"
-     office:version="1.2"
-     grddl:transformation="http://docs.oasis-open.org/office/1.2/xslt/odf2rdf.xsl"
-     office:mimetype="application/vnd.oasis.opendocument.text">
+xmlns:style="urn:oasis:names:tc:opendocument:xmlns:style:1.0"
+xmlns:text="urn:oasis:names:tc:opendocument:xmlns:text:1.0"
+xmlns:table="urn:oasis:names:tc:opendocument:xmlns:table:1.0"
+xmlns:draw="urn:oasis:names:tc:opendocument:xmlns:drawing:1.0"
+xmlns:fo="urn:oasis:names:tc:opendocument:xmlns:xsl-fo-compatible:1.0"
+xmlns:xlink="http://www.w3.org/1999/xlink"
+xmlns:dc="http://purl.org/dc/elements/1.1/"
+xmlns:meta="urn:oasis:names:tc:opendocument:xmlns:meta:1.0"
+xmlns:number="urn:oasis:names:tc:opendocument:xmlns:datastyle:1.0"
+xmlns:svg="urn:oasis:names:tc:opendocument:xmlns:svg-compatible:1.0"
+xmlns:chart="urn:oasis:names:tc:opendocument:xmlns:chart:1.0"
+xmlns:dr3d="urn:oasis:names:tc:opendocument:xmlns:dr3d:1.0"
+xmlns:math="http://www.w3.org/1998/Math/MathML"
+xmlns:form="urn:oasis:names:tc:opendocument:xmlns:form:1.0"
+xmlns:script="urn:oasis:names:tc:opendocument:xmlns:script:1.0"
+xmlns:ooo="http://openoffice.org/2004/office"
+xmlns:ooow="http://openoffice.org/2004/writer"
+xmlns:oooc="http://openoffice.org/2004/calc"
+xmlns:dom="http://www.w3.org/2001/xml-events"
+xmlns:xforms="http://www.w3.org/2002/xforms"
+xmlns:xsd="http://www.w3.org/2001/XMLSchema"
+xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
+xmlns:rpt="http://openoffice.org/2005/report"
+xmlns:of="urn:oasis:names:tc:opendocument:xmlns:of:1.2"
+xmlns:xhtml="http://www.w3.org/1999/xhtml"
+xmlns:grddl="http://www.w3.org/2003/g/data-view#"
+xmlns:officeooo="http://openoffice.org/2009/office"
+xmlns:tableooo="http://openoffice.org/2009/table"
+xmlns:drawooo="http://openoffice.org/2010/draw"
+xmlns:calcext="urn:org:documentfoundation:names:experimental:calc:xmlns:calcext:1.0"
+xmlns:loext="urn:org:documentfoundation:names:experimental:office:xmlns:loext:1.0"
+xmlns:field="urn:openoffice:names:experimental:ooo-ms-interop:xmlns:field:1.0"
+xmlns:formx="urn:openoffice:names:experimental:ooxml-odf-interop:xmlns:form:1.0"
+xmlns:css3t="http://www.w3.org/TR/css3-text/"
+office:version="1.2"
+office:mimetype="application/vnd.oasis.opendocument.text">
 <office:font-face-decls>
    <style:font-face style:name="Courier New" svg:font-family="'Courier New'"
                     style:font-adornments="Regular"
index 417f359eee01351700e371b1637598021db644c4..3479e5de5efe161a9e587dc68b193501fca0c6fa 100644 (file)
@@ -1,39 +1,41 @@
 <?xml version="1.0" encoding="UTF-8"?>
 <office:document xmlns:office="urn:oasis:names:tc:opendocument:xmlns:office:1.0"
-     xmlns:style="urn:oasis:names:tc:opendocument:xmlns:style:1.0"
-     xmlns:text="urn:oasis:names:tc:opendocument:xmlns:text:1.0"
-     xmlns:table="urn:oasis:names:tc:opendocument:xmlns:table:1.0"
-     xmlns:draw="urn:oasis:names:tc:opendocument:xmlns:drawing:1.0"
-     xmlns:fo="urn:oasis:names:tc:opendocument:xmlns:xsl-fo-compatible:1.0"
-     xmlns:xlink="http://www.w3.org/1999/xlink"
-     xmlns:dc="http://purl.org/dc/elements/1.1/"
-     xmlns:meta="urn:oasis:names:tc:opendocument:xmlns:meta:1.0"
-     xmlns:number="urn:oasis:names:tc:opendocument:xmlns:datastyle:1.0"
-     xmlns:svg="urn:oasis:names:tc:opendocument:xmlns:svg-compatible:1.0"
-     xmlns:chart="urn:oasis:names:tc:opendocument:xmlns:chart:1.0"
-     xmlns:dr3d="urn:oasis:names:tc:opendocument:xmlns:dr3d:1.0"
-     xmlns:math="http://www.w3.org/1998/Math/MathML"
-     xmlns:form="urn:oasis:names:tc:opendocument:xmlns:form:1.0"
-     xmlns:script="urn:oasis:names:tc:opendocument:xmlns:script:1.0"
-     xmlns:config="urn:oasis:names:tc:opendocument:xmlns:config:1.0"
-     xmlns:ooo="http://openoffice.org/2004/office"
-     xmlns:ooow="http://openoffice.org/2004/writer"
-     xmlns:oooc="http://openoffice.org/2004/calc"
-     xmlns:dom="http://www.w3.org/2001/xml-events"
-     xmlns:xforms="http://www.w3.org/2002/xforms"
-     xmlns:xsd="http://www.w3.org/2001/XMLSchema"
-     xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
-     xmlns:rpt="http://openoffice.org/2005/report"
-     xmlns:of="urn:oasis:names:tc:opendocument:xmlns:of:1.2"
-     xmlns:xhtml="http://www.w3.org/1999/xhtml"
-     xmlns:grddl="http://www.w3.org/2003/g/data-view#"
-     xmlns:tableooo="http://openoffice.org/2009/table"
-     xmlns:field="urn:openoffice:names:experimental:ooo-ms-interop:xmlns:field:1.0"
-     xmlns:formx="urn:openoffice:names:experimental:ooxml-odf-interop:xmlns:form:1.0"
-     xmlns:css3t="http://www.w3.org/TR/css3-text/"
-     office:version="1.2"
-     grddl:transformation="http://docs.oasis-open.org/office/1.2/xslt/odf2rdf.xsl"
-     office:mimetype="application/vnd.oasis.opendocument.text">
+xmlns:style="urn:oasis:names:tc:opendocument:xmlns:style:1.0"
+xmlns:text="urn:oasis:names:tc:opendocument:xmlns:text:1.0"
+xmlns:table="urn:oasis:names:tc:opendocument:xmlns:table:1.0"
+xmlns:draw="urn:oasis:names:tc:opendocument:xmlns:drawing:1.0"
+xmlns:fo="urn:oasis:names:tc:opendocument:xmlns:xsl-fo-compatible:1.0"
+xmlns:xlink="http://www.w3.org/1999/xlink"
+xmlns:dc="http://purl.org/dc/elements/1.1/"
+xmlns:meta="urn:oasis:names:tc:opendocument:xmlns:meta:1.0"
+xmlns:number="urn:oasis:names:tc:opendocument:xmlns:datastyle:1.0"
+xmlns:svg="urn:oasis:names:tc:opendocument:xmlns:svg-compatible:1.0"
+xmlns:chart="urn:oasis:names:tc:opendocument:xmlns:chart:1.0"
+xmlns:dr3d="urn:oasis:names:tc:opendocument:xmlns:dr3d:1.0"
+xmlns:math="http://www.w3.org/1998/Math/MathML"
+xmlns:form="urn:oasis:names:tc:opendocument:xmlns:form:1.0"
+xmlns:script="urn:oasis:names:tc:opendocument:xmlns:script:1.0"
+xmlns:ooo="http://openoffice.org/2004/office"
+xmlns:ooow="http://openoffice.org/2004/writer"
+xmlns:oooc="http://openoffice.org/2004/calc"
+xmlns:dom="http://www.w3.org/2001/xml-events"
+xmlns:xforms="http://www.w3.org/2002/xforms"
+xmlns:xsd="http://www.w3.org/2001/XMLSchema"
+xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
+xmlns:rpt="http://openoffice.org/2005/report"
+xmlns:of="urn:oasis:names:tc:opendocument:xmlns:of:1.2"
+xmlns:xhtml="http://www.w3.org/1999/xhtml"
+xmlns:grddl="http://www.w3.org/2003/g/data-view#"
+xmlns:officeooo="http://openoffice.org/2009/office"
+xmlns:tableooo="http://openoffice.org/2009/table"
+xmlns:drawooo="http://openoffice.org/2010/draw"
+xmlns:calcext="urn:org:documentfoundation:names:experimental:calc:xmlns:calcext:1.0"
+xmlns:loext="urn:org:documentfoundation:names:experimental:office:xmlns:loext:1.0"
+xmlns:field="urn:openoffice:names:experimental:ooo-ms-interop:xmlns:field:1.0"
+xmlns:formx="urn:openoffice:names:experimental:ooxml-odf-interop:xmlns:form:1.0"
+xmlns:css3t="http://www.w3.org/TR/css3-text/"
+office:version="1.2"
+office:mimetype="application/vnd.oasis.opendocument.text">
 <office:font-face-decls>
    <style:font-face style:name="Courier New" svg:font-family="'Courier New'"
                     style:font-adornments="Regular"
index 87d87a44197bc14c4aa767e44c5c03218c6cdaab..9f47d06711d3037b456b590511e6a09b34919ea6 100644 (file)
@@ -1,39 +1,41 @@
 <?xml version="1.0" encoding="UTF-8"?>
 <office:document xmlns:office="urn:oasis:names:tc:opendocument:xmlns:office:1.0"
-     xmlns:style="urn:oasis:names:tc:opendocument:xmlns:style:1.0"
-     xmlns:text="urn:oasis:names:tc:opendocument:xmlns:text:1.0"
-     xmlns:table="urn:oasis:names:tc:opendocument:xmlns:table:1.0"
-     xmlns:draw="urn:oasis:names:tc:opendocument:xmlns:drawing:1.0"
-     xmlns:fo="urn:oasis:names:tc:opendocument:xmlns:xsl-fo-compatible:1.0"
-     xmlns:xlink="http://www.w3.org/1999/xlink"
-     xmlns:dc="http://purl.org/dc/elements/1.1/"
-     xmlns:meta="urn:oasis:names:tc:opendocument:xmlns:meta:1.0"
-     xmlns:number="urn:oasis:names:tc:opendocument:xmlns:datastyle:1.0"
-     xmlns:svg="urn:oasis:names:tc:opendocument:xmlns:svg-compatible:1.0"
-     xmlns:chart="urn:oasis:names:tc:opendocument:xmlns:chart:1.0"
-     xmlns:dr3d="urn:oasis:names:tc:opendocument:xmlns:dr3d:1.0"
-     xmlns:math="http://www.w3.org/1998/Math/MathML"
-     xmlns:form="urn:oasis:names:tc:opendocument:xmlns:form:1.0"
-     xmlns:script="urn:oasis:names:tc:opendocument:xmlns:script:1.0"
-     xmlns:config="urn:oasis:names:tc:opendocument:xmlns:config:1.0"
-     xmlns:ooo="http://openoffice.org/2004/office"
-     xmlns:ooow="http://openoffice.org/2004/writer"
-     xmlns:oooc="http://openoffice.org/2004/calc"
-     xmlns:dom="http://www.w3.org/2001/xml-events"
-     xmlns:xforms="http://www.w3.org/2002/xforms"
-     xmlns:xsd="http://www.w3.org/2001/XMLSchema"
-     xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
-     xmlns:rpt="http://openoffice.org/2005/report"
-     xmlns:of="urn:oasis:names:tc:opendocument:xmlns:of:1.2"
-     xmlns:xhtml="http://www.w3.org/1999/xhtml"
-     xmlns:grddl="http://www.w3.org/2003/g/data-view#"
-     xmlns:tableooo="http://openoffice.org/2009/table"
-     xmlns:field="urn:openoffice:names:experimental:ooo-ms-interop:xmlns:field:1.0"
-     xmlns:formx="urn:openoffice:names:experimental:ooxml-odf-interop:xmlns:form:1.0"
-     xmlns:css3t="http://www.w3.org/TR/css3-text/"
-     office:version="1.2"
-     grddl:transformation="http://docs.oasis-open.org/office/1.2/xslt/odf2rdf.xsl"
-     office:mimetype="application/vnd.oasis.opendocument.text">
+xmlns:style="urn:oasis:names:tc:opendocument:xmlns:style:1.0"
+xmlns:text="urn:oasis:names:tc:opendocument:xmlns:text:1.0"
+xmlns:table="urn:oasis:names:tc:opendocument:xmlns:table:1.0"
+xmlns:draw="urn:oasis:names:tc:opendocument:xmlns:drawing:1.0"
+xmlns:fo="urn:oasis:names:tc:opendocument:xmlns:xsl-fo-compatible:1.0"
+xmlns:xlink="http://www.w3.org/1999/xlink"
+xmlns:dc="http://purl.org/dc/elements/1.1/"
+xmlns:meta="urn:oasis:names:tc:opendocument:xmlns:meta:1.0"
+xmlns:number="urn:oasis:names:tc:opendocument:xmlns:datastyle:1.0"
+xmlns:svg="urn:oasis:names:tc:opendocument:xmlns:svg-compatible:1.0"
+xmlns:chart="urn:oasis:names:tc:opendocument:xmlns:chart:1.0"
+xmlns:dr3d="urn:oasis:names:tc:opendocument:xmlns:dr3d:1.0"
+xmlns:math="http://www.w3.org/1998/Math/MathML"
+xmlns:form="urn:oasis:names:tc:opendocument:xmlns:form:1.0"
+xmlns:script="urn:oasis:names:tc:opendocument:xmlns:script:1.0"
+xmlns:ooo="http://openoffice.org/2004/office"
+xmlns:ooow="http://openoffice.org/2004/writer"
+xmlns:oooc="http://openoffice.org/2004/calc"
+xmlns:dom="http://www.w3.org/2001/xml-events"
+xmlns:xforms="http://www.w3.org/2002/xforms"
+xmlns:xsd="http://www.w3.org/2001/XMLSchema"
+xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
+xmlns:rpt="http://openoffice.org/2005/report"
+xmlns:of="urn:oasis:names:tc:opendocument:xmlns:of:1.2"
+xmlns:xhtml="http://www.w3.org/1999/xhtml"
+xmlns:grddl="http://www.w3.org/2003/g/data-view#"
+xmlns:officeooo="http://openoffice.org/2009/office"
+xmlns:tableooo="http://openoffice.org/2009/table"
+xmlns:drawooo="http://openoffice.org/2010/draw"
+xmlns:calcext="urn:org:documentfoundation:names:experimental:calc:xmlns:calcext:1.0"
+xmlns:loext="urn:org:documentfoundation:names:experimental:office:xmlns:loext:1.0"
+xmlns:field="urn:openoffice:names:experimental:ooo-ms-interop:xmlns:field:1.0"
+xmlns:formx="urn:openoffice:names:experimental:ooxml-odf-interop:xmlns:form:1.0"
+xmlns:css3t="http://www.w3.org/TR/css3-text/"
+office:version="1.2"
+office:mimetype="application/vnd.oasis.opendocument.text">
 <office:font-face-decls>
    <style:font-face style:name="Courier New" svg:font-family="'Courier New'"
                     style:font-adornments="Regular"
index 6694267a94e41944c0e4d67ef43f14f10b5c4345..e343172062bce989d4a312a761ab6dd345be11d5 100644 (file)
@@ -1,39 +1,41 @@
 <?xml version="1.0" encoding="UTF-8"?>
 <office:document xmlns:office="urn:oasis:names:tc:opendocument:xmlns:office:1.0"
-     xmlns:style="urn:oasis:names:tc:opendocument:xmlns:style:1.0"
-     xmlns:text="urn:oasis:names:tc:opendocument:xmlns:text:1.0"
-     xmlns:table="urn:oasis:names:tc:opendocument:xmlns:table:1.0"
-     xmlns:draw="urn:oasis:names:tc:opendocument:xmlns:drawing:1.0"
-     xmlns:fo="urn:oasis:names:tc:opendocument:xmlns:xsl-fo-compatible:1.0"
-     xmlns:xlink="http://www.w3.org/1999/xlink"
-     xmlns:dc="http://purl.org/dc/elements/1.1/"
-     xmlns:meta="urn:oasis:names:tc:opendocument:xmlns:meta:1.0"
-     xmlns:number="urn:oasis:names:tc:opendocument:xmlns:datastyle:1.0"
-     xmlns:svg="urn:oasis:names:tc:opendocument:xmlns:svg-compatible:1.0"
-     xmlns:chart="urn:oasis:names:tc:opendocument:xmlns:chart:1.0"
-     xmlns:dr3d="urn:oasis:names:tc:opendocument:xmlns:dr3d:1.0"
-     xmlns:math="http://www.w3.org/1998/Math/MathML"
-     xmlns:form="urn:oasis:names:tc:opendocument:xmlns:form:1.0"
-     xmlns:script="urn:oasis:names:tc:opendocument:xmlns:script:1.0"
-     xmlns:config="urn:oasis:names:tc:opendocument:xmlns:config:1.0"
-     xmlns:ooo="http://openoffice.org/2004/office"
-     xmlns:ooow="http://openoffice.org/2004/writer"
-     xmlns:oooc="http://openoffice.org/2004/calc"
-     xmlns:dom="http://www.w3.org/2001/xml-events"
-     xmlns:xforms="http://www.w3.org/2002/xforms"
-     xmlns:xsd="http://www.w3.org/2001/XMLSchema"
-     xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
-     xmlns:rpt="http://openoffice.org/2005/report"
-     xmlns:of="urn:oasis:names:tc:opendocument:xmlns:of:1.2"
-     xmlns:xhtml="http://www.w3.org/1999/xhtml"
-     xmlns:grddl="http://www.w3.org/2003/g/data-view#"
-     xmlns:tableooo="http://openoffice.org/2009/table"
-     xmlns:field="urn:openoffice:names:experimental:ooo-ms-interop:xmlns:field:1.0"
-     xmlns:formx="urn:openoffice:names:experimental:ooxml-odf-interop:xmlns:form:1.0"
-     xmlns:css3t="http://www.w3.org/TR/css3-text/"
-     office:version="1.2"
-     grddl:transformation="http://docs.oasis-open.org/office/1.2/xslt/odf2rdf.xsl"
-     office:mimetype="application/vnd.oasis.opendocument.text">
+xmlns:style="urn:oasis:names:tc:opendocument:xmlns:style:1.0"
+xmlns:text="urn:oasis:names:tc:opendocument:xmlns:text:1.0"
+xmlns:table="urn:oasis:names:tc:opendocument:xmlns:table:1.0"
+xmlns:draw="urn:oasis:names:tc:opendocument:xmlns:drawing:1.0"
+xmlns:fo="urn:oasis:names:tc:opendocument:xmlns:xsl-fo-compatible:1.0"
+xmlns:xlink="http://www.w3.org/1999/xlink"
+xmlns:dc="http://purl.org/dc/elements/1.1/"
+xmlns:meta="urn:oasis:names:tc:opendocument:xmlns:meta:1.0"
+xmlns:number="urn:oasis:names:tc:opendocument:xmlns:datastyle:1.0"
+xmlns:svg="urn:oasis:names:tc:opendocument:xmlns:svg-compatible:1.0"
+xmlns:chart="urn:oasis:names:tc:opendocument:xmlns:chart:1.0"
+xmlns:dr3d="urn:oasis:names:tc:opendocument:xmlns:dr3d:1.0"
+xmlns:math="http://www.w3.org/1998/Math/MathML"
+xmlns:form="urn:oasis:names:tc:opendocument:xmlns:form:1.0"
+xmlns:script="urn:oasis:names:tc:opendocument:xmlns:script:1.0"
+xmlns:ooo="http://openoffice.org/2004/office"
+xmlns:ooow="http://openoffice.org/2004/writer"
+xmlns:oooc="http://openoffice.org/2004/calc"
+xmlns:dom="http://www.w3.org/2001/xml-events"
+xmlns:xforms="http://www.w3.org/2002/xforms"
+xmlns:xsd="http://www.w3.org/2001/XMLSchema"
+xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
+xmlns:rpt="http://openoffice.org/2005/report"
+xmlns:of="urn:oasis:names:tc:opendocument:xmlns:of:1.2"
+xmlns:xhtml="http://www.w3.org/1999/xhtml"
+xmlns:grddl="http://www.w3.org/2003/g/data-view#"
+xmlns:officeooo="http://openoffice.org/2009/office"
+xmlns:tableooo="http://openoffice.org/2009/table"
+xmlns:drawooo="http://openoffice.org/2010/draw"
+xmlns:calcext="urn:org:documentfoundation:names:experimental:calc:xmlns:calcext:1.0"
+xmlns:loext="urn:org:documentfoundation:names:experimental:office:xmlns:loext:1.0"
+xmlns:field="urn:openoffice:names:experimental:ooo-ms-interop:xmlns:field:1.0"
+xmlns:formx="urn:openoffice:names:experimental:ooxml-odf-interop:xmlns:form:1.0"
+xmlns:css3t="http://www.w3.org/TR/css3-text/"
+office:version="1.2"
+office:mimetype="application/vnd.oasis.opendocument.text">
 <office:font-face-decls>
    <style:font-face style:name="Courier New" svg:font-family="'Courier New'"
                     style:font-adornments="Regular"
index 5f484faf6f6b02309eff03cc93283d513c1a1386..f1cb323ce4f0cdbab585adfc12adb09e9cf29c9e 100644 (file)
@@ -1,39 +1,41 @@
 <?xml version="1.0" encoding="UTF-8"?>
 <office:document xmlns:office="urn:oasis:names:tc:opendocument:xmlns:office:1.0"
-     xmlns:style="urn:oasis:names:tc:opendocument:xmlns:style:1.0"
-     xmlns:text="urn:oasis:names:tc:opendocument:xmlns:text:1.0"
-     xmlns:table="urn:oasis:names:tc:opendocument:xmlns:table:1.0"
-     xmlns:draw="urn:oasis:names:tc:opendocument:xmlns:drawing:1.0"
-     xmlns:fo="urn:oasis:names:tc:opendocument:xmlns:xsl-fo-compatible:1.0"
-     xmlns:xlink="http://www.w3.org/1999/xlink"
-     xmlns:dc="http://purl.org/dc/elements/1.1/"
-     xmlns:meta="urn:oasis:names:tc:opendocument:xmlns:meta:1.0"
-     xmlns:number="urn:oasis:names:tc:opendocument:xmlns:datastyle:1.0"
-     xmlns:svg="urn:oasis:names:tc:opendocument:xmlns:svg-compatible:1.0"
-     xmlns:chart="urn:oasis:names:tc:opendocument:xmlns:chart:1.0"
-     xmlns:dr3d="urn:oasis:names:tc:opendocument:xmlns:dr3d:1.0"
-     xmlns:math="http://www.w3.org/1998/Math/MathML"
-     xmlns:form="urn:oasis:names:tc:opendocument:xmlns:form:1.0"
-     xmlns:script="urn:oasis:names:tc:opendocument:xmlns:script:1.0"
-     xmlns:config="urn:oasis:names:tc:opendocument:xmlns:config:1.0"
-     xmlns:ooo="http://openoffice.org/2004/office"
-     xmlns:ooow="http://openoffice.org/2004/writer"
-     xmlns:oooc="http://openoffice.org/2004/calc"
-     xmlns:dom="http://www.w3.org/2001/xml-events"
-     xmlns:xforms="http://www.w3.org/2002/xforms"
-     xmlns:xsd="http://www.w3.org/2001/XMLSchema"
-     xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
-     xmlns:rpt="http://openoffice.org/2005/report"
-     xmlns:of="urn:oasis:names:tc:opendocument:xmlns:of:1.2"
-     xmlns:xhtml="http://www.w3.org/1999/xhtml"
-     xmlns:grddl="http://www.w3.org/2003/g/data-view#"
-     xmlns:tableooo="http://openoffice.org/2009/table"
-     xmlns:field="urn:openoffice:names:experimental:ooo-ms-interop:xmlns:field:1.0"
-     xmlns:formx="urn:openoffice:names:experimental:ooxml-odf-interop:xmlns:form:1.0"
-     xmlns:css3t="http://www.w3.org/TR/css3-text/"
-     office:version="1.2"
-     grddl:transformation="http://docs.oasis-open.org/office/1.2/xslt/odf2rdf.xsl"
-     office:mimetype="application/vnd.oasis.opendocument.text">
+xmlns:style="urn:oasis:names:tc:opendocument:xmlns:style:1.0"
+xmlns:text="urn:oasis:names:tc:opendocument:xmlns:text:1.0"
+xmlns:table="urn:oasis:names:tc:opendocument:xmlns:table:1.0"
+xmlns:draw="urn:oasis:names:tc:opendocument:xmlns:drawing:1.0"
+xmlns:fo="urn:oasis:names:tc:opendocument:xmlns:xsl-fo-compatible:1.0"
+xmlns:xlink="http://www.w3.org/1999/xlink"
+xmlns:dc="http://purl.org/dc/elements/1.1/"
+xmlns:meta="urn:oasis:names:tc:opendocument:xmlns:meta:1.0"
+xmlns:number="urn:oasis:names:tc:opendocument:xmlns:datastyle:1.0"
+xmlns:svg="urn:oasis:names:tc:opendocument:xmlns:svg-compatible:1.0"
+xmlns:chart="urn:oasis:names:tc:opendocument:xmlns:chart:1.0"
+xmlns:dr3d="urn:oasis:names:tc:opendocument:xmlns:dr3d:1.0"
+xmlns:math="http://www.w3.org/1998/Math/MathML"
+xmlns:form="urn:oasis:names:tc:opendocument:xmlns:form:1.0"
+xmlns:script="urn:oasis:names:tc:opendocument:xmlns:script:1.0"
+xmlns:ooo="http://openoffice.org/2004/office"
+xmlns:ooow="http://openoffice.org/2004/writer"
+xmlns:oooc="http://openoffice.org/2004/calc"
+xmlns:dom="http://www.w3.org/2001/xml-events"
+xmlns:xforms="http://www.w3.org/2002/xforms"
+xmlns:xsd="http://www.w3.org/2001/XMLSchema"
+xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
+xmlns:rpt="http://openoffice.org/2005/report"
+xmlns:of="urn:oasis:names:tc:opendocument:xmlns:of:1.2"
+xmlns:xhtml="http://www.w3.org/1999/xhtml"
+xmlns:grddl="http://www.w3.org/2003/g/data-view#"
+xmlns:officeooo="http://openoffice.org/2009/office"
+xmlns:tableooo="http://openoffice.org/2009/table"
+xmlns:drawooo="http://openoffice.org/2010/draw"
+xmlns:calcext="urn:org:documentfoundation:names:experimental:calc:xmlns:calcext:1.0"
+xmlns:loext="urn:org:documentfoundation:names:experimental:office:xmlns:loext:1.0"
+xmlns:field="urn:openoffice:names:experimental:ooo-ms-interop:xmlns:field:1.0"
+xmlns:formx="urn:openoffice:names:experimental:ooxml-odf-interop:xmlns:form:1.0"
+xmlns:css3t="http://www.w3.org/TR/css3-text/"
+office:version="1.2"
+office:mimetype="application/vnd.oasis.opendocument.text">
 <office:font-face-decls>
    <style:font-face style:name="Courier New" svg:font-family="'Courier New'"
                     style:font-adornments="Regular"