From 507524b97ef3bedb42f6c15ec93eedff8ee4b150 Mon Sep 17 00:00:00 2001 From: "(no author)" <(no author)> Date: Wed, 26 Nov 2003 02:12:18 +0000 Subject: New repository initialized by cvs2svn. --- .cvsignore | 22 - AUTHORS | 1 - BUGS | 3 - COPYING | 31 - ChangeLog | 19 - INSTALL | 12 - Makefile.am | 7 - NEWS | 1 - README | 3 - config.win32.h | 127 --- configure.in | 110 -- doc/rtfx.xsd | 486 --------- doc/sample.rtf | 68 -- doc/sample.xml | 1 - src/.cvsignore | 4 - src/Makefile.am | 14 - src/domhelpers.cpp | 370 ------- src/domhelpers.h | 165 --- src/levelhandler.cpp | 134 --- src/levelhandler.h | 88 -- src/reference.h | 157 --- src/rtfformatting.h | 190 ---- src/rtfparser.cpp | 442 -------- src/rtfparser.h | 143 --- src/rtfx.1 | 73 -- src/rtfx.cpp | 140 --- src/sablo.h | 2173 --------------------------------------- src/sablotr.cpp | 137 --- src/tags.h | 120 --- src/usuals.h | 69 -- src/xmlcomposehelpers.cpp | 159 --- src/xmlcomposehelpers.h | 167 --- src/xmlcomposer.cpp | 1245 ---------------------- src/xmlcomposer.h | 311 ------ src/xmlfixups.cpp | 794 -------------- src/xmlfixups.h | 155 --- win32/.cvsignore | 8 - win32/Makefile.am | 41 - win32/rtfx.dsp | 182 ---- win32/rtfx.dsw | 29 - win32/sablot/INSTALL | 364 ------- win32/sablot/INSTALL_WIN | 224 ---- win32/sablot/README | 174 ---- win32/sablot/README_JS | 214 ---- win32/sablot/RELEASE | 792 -------------- win32/sablot/bin/sabcmd.exe | Bin 53248 -> 0 bytes win32/sablot/bin/sablot.dll | Bin 364544 -> 0 bytes win32/sablot/include/sabdbg.h | 116 --- win32/sablot/include/sablot.h | 1134 -------------------- win32/sablot/include/sdom.h | 1878 --------------------------------- win32/sablot/include/shandler.h | 738 ------------- win32/sablot/include/sxpath.h | 664 ------------ win32/sablot/lib/sablot.lib | Bin 28652 -> 0 bytes win32/sablot/lib/sablotd.lib | Bin 28044 -> 0 bytes 54 files changed, 14699 deletions(-) delete mode 100644 .cvsignore delete mode 100644 AUTHORS delete mode 100644 BUGS delete mode 100644 COPYING delete mode 100644 ChangeLog delete mode 100644 INSTALL delete mode 100644 Makefile.am delete mode 100644 NEWS delete mode 100644 README delete mode 100644 config.win32.h delete mode 100644 configure.in delete mode 100644 doc/rtfx.xsd delete mode 100644 doc/sample.rtf delete mode 100644 doc/sample.xml delete mode 100644 src/.cvsignore delete mode 100644 src/Makefile.am delete mode 100644 src/domhelpers.cpp delete mode 100644 src/domhelpers.h delete mode 100644 src/levelhandler.cpp delete mode 100644 src/levelhandler.h delete mode 100644 src/reference.h delete mode 100644 src/rtfformatting.h delete mode 100644 src/rtfparser.cpp delete mode 100644 src/rtfparser.h delete mode 100644 src/rtfx.1 delete mode 100644 src/rtfx.cpp delete mode 100644 src/sablo.h delete mode 100644 src/sablotr.cpp delete mode 100644 src/tags.h delete mode 100644 src/usuals.h delete mode 100644 src/xmlcomposehelpers.cpp delete mode 100644 src/xmlcomposehelpers.h delete mode 100644 src/xmlcomposer.cpp delete mode 100644 src/xmlcomposer.h delete mode 100644 src/xmlfixups.cpp delete mode 100644 src/xmlfixups.h delete mode 100644 win32/.cvsignore delete mode 100644 win32/Makefile.am delete mode 100644 win32/rtfx.dsp delete mode 100644 win32/rtfx.dsw delete mode 100644 win32/sablot/INSTALL delete mode 100644 win32/sablot/INSTALL_WIN delete mode 100644 win32/sablot/README delete mode 100644 win32/sablot/README_JS delete mode 100644 win32/sablot/RELEASE delete mode 100644 win32/sablot/bin/sabcmd.exe delete mode 100644 win32/sablot/bin/sablot.dll delete mode 100644 win32/sablot/include/sabdbg.h delete mode 100644 win32/sablot/include/sablot.h delete mode 100644 win32/sablot/include/sdom.h delete mode 100644 win32/sablot/include/shandler.h delete mode 100644 win32/sablot/include/sxpath.h delete mode 100644 win32/sablot/lib/sablot.lib delete mode 100644 win32/sablot/lib/sablotd.lib diff --git a/.cvsignore b/.cvsignore deleted file mode 100644 index e35eeee..0000000 --- a/.cvsignore +++ /dev/null @@ -1,22 +0,0 @@ -test-files -config.h -autom4te.cache -Makefile -Makefile.in -aclocal.m4 -config.h -config.h.in -config.log -config.status -configure -depcomp -install-sh -missing -mkinstalldirs -stamp-* -*~ -*.zip -*.tar.gz -.project -.cdtproject - diff --git a/AUTHORS b/AUTHORS deleted file mode 100644 index d2e76d6..0000000 --- a/AUTHORS +++ /dev/null @@ -1 +0,0 @@ -nielsen@memberwebs.com diff --git a/BUGS b/BUGS deleted file mode 100644 index ebe310c..0000000 --- a/BUGS +++ /dev/null @@ -1,3 +0,0 @@ -RTFX Bugs - - No font support - - No color support diff --git a/COPYING b/COPYING deleted file mode 100644 index 763af15..0000000 --- a/COPYING +++ /dev/null @@ -1,31 +0,0 @@ - -Copyright (c) 2004, Nate Nielsen -All rights reserved. - -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. - * The names of contributors to this software may not 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 THE -COPYRIGHT OWNER OR CONTRIBUTORS 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. diff --git a/ChangeLog b/ChangeLog deleted file mode 100644 index cffbbb3..0000000 --- a/ChangeLog +++ /dev/null @@ -1,19 +0,0 @@ -Version 0.9.3 - - Code cleanup - - Fixed bug with non-existant destinations - -Version 0.9.2 - - Updated windows version to new sablot library - - Added support for foot notes - - Added support for super and sub script - - Removes extraneous duplicate tags - - Other small bug fixes - -Version 0.9.1 - - Changed name to 'rtfx' due to a naming conflict - -Version 0.9 - - Ported to Linux/FreeBSD - -Version 0.7 - - Stable released used regularly diff --git a/INSTALL b/INSTALL deleted file mode 100644 index e6a2bed..0000000 --- a/INSTALL +++ /dev/null @@ -1,12 +0,0 @@ -====================================================================== - RTFX 0.9.1 INSTALL - -REQUIREMENTS - You'll need to have a version of the sablotron XML library - (0.9.6 or later) installed. - -QUICK INSTALLATION: - # tar -zxvf rtfx-0.9.1.tar.gz - # ./configure - # make && make install - diff --git a/Makefile.am b/Makefile.am deleted file mode 100644 index a1b0af6..0000000 --- a/Makefile.am +++ /dev/null @@ -1,7 +0,0 @@ - -EXTRA_DIST = BUGS test-files config.win32.h -SUBDIRS = src win32 - -dist-hook: - rm -rf `find $(distdir)/ -name CVS` - diff --git a/NEWS b/NEWS deleted file mode 100644 index c7ab92a..0000000 --- a/NEWS +++ /dev/null @@ -1 +0,0 @@ -See ChangeLog \ No newline at end of file diff --git a/README b/README deleted file mode 100644 index 9d48435..0000000 --- a/README +++ /dev/null @@ -1,3 +0,0 @@ -================================================================= - RTFX 0.9.1 README - diff --git a/config.win32.h b/config.win32.h deleted file mode 100644 index 1d253c3..0000000 --- a/config.win32.h +++ /dev/null @@ -1,127 +0,0 @@ -/* config.h. Generated by configure. */ -/* config.h.in. Generated from configure.in by autoheader. */ - -/* Define to one of `_getb67', `GETB67', `getb67' for Cray-2 and Cray-YMP - systems. This function is required for `alloca.c' support on those systems. - */ -/* #undef CRAY_STACKSEG_END */ - -/* Define to 1 if using `alloca.c'. */ -/* #undef C_ALLOCA */ - -/* Define to 1 if you have `alloca', as a function or macro. */ -#define HAVE_ALLOCA 1 - -/* Define to 1 if you have and it should be used (not on Ultrix). - */ -/* #undef HAVE_ALLOCA_H */ - -/* Define to 1 if you have the header file. */ -#define HAVE_ASSERT_H 1 - -/* Define to 1 if you have the header file. */ -#define HAVE_ERRNO_H 1 - -/* Define to 1 if you have the header file. */ -#define HAVE_EXCEPTION 1 - -/* Define to 1 if you have the header file. */ -/* #undef HAVE_INTTYPES_H */ - -/* Define to 1 if you have the header file. */ -#define HAVE_MEMORY_H 1 - -/* Define to 1 if you have the `memset' function. */ -#define HAVE_MEMSET 1 - -/* Define to 1 if you have the header file. */ -#define HAVE_SABLOT_H 1 - -/* Define to 1 if you have the header file. */ -#define HAVE_SDOM_H 1 - -/* Define to 1 if you have the `sprintf' function. */ -#define HAVE_SPRINTF 1 - -/* Define to 1 if you have the header file. */ -#define HAVE_STACK 1 - -/* Define to 1 if you have the header file. */ -#define HAVE_STDDEF_H 1 - -/* Define to 1 if you have the header file. */ -#define HAVE_STDINT_H 1 - -/* Define to 1 if you have the header file. */ -#define HAVE_STDIO_H 1 - -/* Define to 1 if you have the header file. */ -#define HAVE_STDLIB_H 1 - -/* Define to 1 if you have the `strchr' function. */ -#define HAVE_STRCHR 1 - -/* Define to 1 if you have the `strerror' function. */ -#define HAVE_STRERROR 1 - -/* Define to 1 if you have the header file. */ -#define HAVE_STRING 1 - -/* Define to 1 if you have the header file. */ -#define HAVE_STRINGS_H 1 - -/* Define to 1 if you have the header file. */ -#define HAVE_STRING_H 1 - -/* Define to 1 if you have the header file. */ -/* #undef HAVE_SYS_STAT_H */ - -/* Define to 1 if you have the header file. */ -#define HAVE_SYS_TYPES_H 1 - -/* Define to 1 if you have the header file. */ -/* #undef HAVE_UNISTD_H */ - -/* Define to 1 if you have the header file. */ -#define HAVE_WCHAR_H 1 - -/* Define to 1 if the system has the type `wstring'. */ -#define HAVE_WSTRING 1 - -/* Name of package */ -#define PACKAGE "rtfx" - -/* Define to the address where bug reports for this package should be sent. */ -#define PACKAGE_BUGREPORT "nielsen@memberwebs.com" - -/* Define to the full name of this package. */ -#define PACKAGE_NAME "rtfx" - -/* Define to the full name and version of this package. */ -#define PACKAGE_STRING "rtfx 0.9.2" - -/* Define to the one symbol short name of this package. */ -#define PACKAGE_TARNAME "rtfx" - -/* Define to the version of this package. */ -#define PACKAGE_VERSION "0.9.2" - -/* If using the C implementation of alloca, define if you know the - direction of stack growth for your system; otherwise it will be - automatically deduced at run-time. - STACK_DIRECTION > 0 => grows toward higher addresses - STACK_DIRECTION < 0 => grows toward lower addresses - STACK_DIRECTION = 0 => direction of growth unknown */ -/* #undef STACK_DIRECTION */ - -/* Define to 1 if you have the ANSI C header files. */ -#define STDC_HEADERS 1 - -/* Version number of package */ -#define VERSION "0.9.2" - -/* Define to empty if `const' does not conform to ANSI C. */ -/* #undef const */ - -/* Define to `unsigned' if does not define. */ -/* #undef size_t */ diff --git a/configure.in b/configure.in deleted file mode 100644 index 21f472a..0000000 --- a/configure.in +++ /dev/null @@ -1,110 +0,0 @@ -dnl -dnl Copyright (c) 2004, Nate Nielsen -dnl All rights reserved. -dnl -dnl Redistribution and use in source and binary forms, with or without -dnl modification, are permitted provided that the following conditions -dnl are met: -dnl -dnl * Redistributions of source code must retain the above -dnl copyright notice, this list of conditions and the -dnl following disclaimer. -dnl * Redistributions in binary form must reproduce the -dnl above copyright notice, this list of conditions and -dnl the following disclaimer in the documentation and/or -dnl other materials provided with the distribution. -dnl * The names of contributors to this software may not be -dnl used to endorse or promote products derived from this -dnl software without specific prior written permission. -dnl -dnl THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS -dnl "AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT -dnl LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS -dnl FOR A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE -dnl COPYRIGHT OWNER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, -dnl INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, -dnl BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS -dnl OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED -dnl AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, -dnl OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF -dnl THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH -dnl DAMAGE. -dnl -dnl -dnl CONTRIBUTORS -dnl Nate Nielsen -dnl - -dnl Process this file with autoconf to produce a configure script. -AC_INIT(rtfx, 0.9.3, nielsen@memberwebs.com) -AM_INIT_AUTOMAKE(rtfx, 0.9.3) - -LDFLAGS="$LDFLAGS -L/usr/local/lib" -CPPFLAGS="$CPPFLAGS -I/usr/local/include" -CFLAGS="$CFLAGS -I/usr/local/include" - -AC_LANG_CPLUSPLUS - -AC_CONFIG_SRCDIR([src/rtfx.cpp]) -AM_CONFIG_HEADER([config.h]) - -# Checks for programs. -AC_PROG_CC -AC_PROG_CXX -AC_PROG_INSTALL -AC_PROG_LN_S -AC_PROG_MAKE_SET - -# Debug mode -AC_ARG_ENABLE(debug, - AC_HELP_STRING([--enable-debug], - [Compile binaries in debug mode])) - -if test "$enable_debug" = "yes"; then - CFLAGS="$CFLAGS -g -O0" - AC_DEFINE_UNQUOTED(_DEBUG, 1, [In debug mode]) - echo "enabling debug compile mode" -fi - -# Check for libraries -AC_CHECK_LIB(c, iconv, [ LIB_ICONV=""; ], - [ AC_CHECK_LIB(iconv, iconv, [ LIB_ICONV="-liconv"; LIBS="-liconv $LIBS" ], - [echo "ERROR: Must have iconv routines."; exit 1]) - ]) - -# Sablotron can depend on these libraries so include if present -AC_CHECK_LIB(termcap, tgetnum) -AC_CHECK_LIB(readline, readline) -AC_CHECK_LIB(expat, XML_Parse) -AC_CHECK_LIB(js, JS_NewContext) - -# Check for Sablotron -AC_CHECK_LIB(sablot, SDOM_createElement, , - [echo "ERROR: Must install sablotron libraries."; exit 1]) - -# Checks for header files. -AC_FUNC_ALLOCA -AC_HEADER_STDC -AC_CHECK_HEADERS([stddef.h stdlib.h wchar.h assert.h stdio.h errno.h], , - [echo "ERROR: Required C header missing"; exit 1]) -AC_CHECK_HEADERS([string exception stack], , - [echo "ERROR: Required STL header missing"; exit 1]) -AC_CHECK_HEADERS([sablot.h sdom.h], , - [echo "ERROR: Required Sablotron header missing"; exit 1]) - - -# Checks for typedefs, structures, and compiler characteristics. -AC_C_CONST -AC_TYPE_SIZE_T -AC_CHECK_TYPES(wstring, , , [ - #include - #include - using std::wstring; -]) - -# Required Functions -AC_CHECK_FUNCS([memset strchr strerror sprintf], , - [echo "ERROR: Required function missing"; exit 1]) - -AC_CONFIG_FILES([Makefile src/Makefile win32/Makefile]) -AC_OUTPUT diff --git a/doc/rtfx.xsd b/doc/rtfx.xsd deleted file mode 100644 index 922b0a6..0000000 --- a/doc/rtfx.xsd +++ /dev/null @@ -1,486 +0,0 @@ - - - - - - - - The entire RTF document. - - - - - - - - - - - - - - - - - Tags that that contain data about the document and general formatting. - - - - - - - - - - - - Contains a list of all the paragraph styles in the document, and their various formatting attributes. - - - - - - - - - - - - Represents a paragraph style used in the document. - - - - - The style name. - - - - - Style text bold. - - - - - Style text hidden. - - - - - Style text italicized. - - - - - Style text striken out. - - - - - Style text underlined. - - - - - Style text color [NOTE: This attribute is only generated in 'presentation' mode]. - - - - - Style font face [NOTE: This attribute is only generated in 'presentation' mode]. - - - - - Style font size [NOTE: This attribute is only generated in 'presentation' mode]. - - - - - - - - Document meta information. - - - - - - - The document title. - - - - - The document author. - - - - - The document operator. - - - - - - - - - Document options and defaults. - - - - - - - - - - - - - - - Tags that break a document into various sections. - - - - - - - - - - - - A section break. - - - - - - A 'hard' page break. - - - - - - A footnote. Footnotes are all usually grouped together at the end of the document. - - - - - - - - - The footnote number. - - - - - - - - - - - Block type elements. - - - - - - - - - - - - A paragraph. One of the main basic building blocks of the document. Basically all text and other 'inline' elements are contained in paragraphs. - - - - - - - - - The paragraph style name. - - - - - - - - A list. Lists contain paragraphs each of which is an item in the list. - - - - - - - - - - Whether a numbered list or not. - - - - - - For numbered lists the number to start at. - - - - - - The type of bullet or number on a list. - - - - - - - - - - - - - - - - - - - - - - A table. - - - - - - - - A row in a table. - - - - - - - - A cell in a table. Each cell can contain multiple paragraphs or other block elements. - - - - - - - - - - - - - - - - - - - - - Inline elements flow with the text and/or change attributes in the text. - - - - - - - - - - Inline elements flow with the text and/or change attributes in the text. - - - - - - - - - - - - - - - - - - - - A 'hard' line break. - - - - - - A tab. - - - - - - Contained text is bold. - - - - - - Contained text is italic. - - - - - - Contained text is underlined. - - - - - - Contained text is striken out. - - - - - - Contained text is superscript. - - - - - - Contained text is subscript. - - - - - - Contained text is hidden. - - - - - - A reference to another part of the document such as a footnote. - - - - - - - - - - The type of object this reference is pointing to. Currently only footnotes are supported. - - - - - - - - - - - The identifier of the object this reference is pointing to. - - - - - - - - - Font information for contained text [NOTE: This tag is only generated in 'presentation' mode]. - - - - - - - - - The name of the font. - - - - - - The size of the font. - - - - - - The color of the text. - - - - - - - - diff --git a/doc/sample.rtf b/doc/sample.rtf deleted file mode 100644 index c8072a6..0000000 --- a/doc/sample.rtf +++ /dev/null @@ -1,68 +0,0 @@ -{\rtf1\ansi\ansicpg1252\uc1\deff0\stshfdbch0\stshfloch0\stshfhich0\stshfbi0\deflang1033\deflangfe1033{\fonttbl{\f0\froman\fcharset0\fprq2{\*\panose 02020603050405020304}Times New Roman;}{\f1\fswiss\fcharset0\fprq2{\*\panose 020b0604020202020204}Arial;} -{\f2\fmodern\fcharset0\fprq1{\*\panose 02070309020205020404}Courier New;}{\f3\froman\fcharset2\fprq2{\*\panose 05050102010706020507}Symbol;}{\f10\fnil\fcharset2\fprq2{\*\panose 05000000000000000000}Wingdings;} -{\f121\froman\fcharset238\fprq2 Times New Roman CE;}{\f122\froman\fcharset204\fprq2 Times New Roman Cyr;}{\f124\froman\fcharset161\fprq2 Times New Roman Greek;}{\f125\froman\fcharset162\fprq2 Times New Roman Tur;} -{\f126\froman\fcharset177\fprq2 Times New Roman (Hebrew);}{\f127\froman\fcharset178\fprq2 Times New Roman (Arabic);}{\f128\froman\fcharset186\fprq2 Times New Roman Baltic;}{\f129\froman\fcharset163\fprq2 Times New Roman (Vietnamese);} -{\f131\fswiss\fcharset238\fprq2 Arial CE;}{\f132\fswiss\fcharset204\fprq2 Arial Cyr;}{\f134\fswiss\fcharset161\fprq2 Arial Greek;}{\f135\fswiss\fcharset162\fprq2 Arial Tur;}{\f136\fswiss\fcharset177\fprq2 Arial (Hebrew);} -{\f137\fswiss\fcharset178\fprq2 Arial (Arabic);}{\f138\fswiss\fcharset186\fprq2 Arial Baltic;}{\f139\fswiss\fcharset163\fprq2 Arial (Vietnamese);}{\f141\fmodern\fcharset238\fprq1 Courier New CE;}{\f142\fmodern\fcharset204\fprq1 Courier New Cyr;} -{\f144\fmodern\fcharset161\fprq1 Courier New Greek;}{\f145\fmodern\fcharset162\fprq1 Courier New Tur;}{\f146\fmodern\fcharset177\fprq1 Courier New (Hebrew);}{\f147\fmodern\fcharset178\fprq1 Courier New (Arabic);} -{\f148\fmodern\fcharset186\fprq1 Courier New Baltic;}{\f149\fmodern\fcharset163\fprq1 Courier New (Vietnamese);}}{\colortbl;\red0\green0\blue0;\red0\green0\blue255;\red0\green255\blue255;\red0\green255\blue0;\red255\green0\blue255;\red255\green0\blue0; -\red255\green255\blue0;\red255\green255\blue255;\red0\green0\blue128;\red0\green128\blue128;\red0\green128\blue0;\red128\green0\blue128;\red128\green0\blue0;\red128\green128\blue0;\red128\green128\blue128;\red192\green192\blue192;}{\stylesheet{ -\ql \li0\ri0\widctlpar\aspalpha\aspnum\faauto\adjustright\rin0\lin0\itap0 \fs24\lang1033\langfe1033\cgrid\langnp1033\langfenp1033 \snext0 Normal;}{\s1\ql \li0\ri0\sb240\sa60\keepn\widctlpar\aspalpha\aspnum\faauto\outlinelevel0\adjustright\rin0\lin0\itap0 -\b\f1\fs32\lang1033\langfe1033\kerning32\cgrid\langnp1033\langfenp1033 \sbasedon0 \snext0 \styrsid2294299 heading 1;}{\*\cs10 \additive \ssemihidden Default Paragraph Font;}{\* -\ts11\tsrowd\trftsWidthB3\trpaddl108\trpaddr108\trpaddfl3\trpaddft3\trpaddfb3\trpaddfr3\tscellwidthfts0\tsvertalt\tsbrdrt\tsbrdrl\tsbrdrb\tsbrdrr\tsbrdrdgl\tsbrdrdgr\tsbrdrh\tsbrdrv -\ql \li0\ri0\widctlpar\aspalpha\aspnum\faauto\adjustright\rin0\lin0\itap0 \fs20\lang1024\langfe1024\cgrid\langnp1024\langfenp1024 \snext11 \ssemihidden Normal Table;}{\*\ts15\tsrowd\trbrdrt\brdrs\brdrw10 \trbrdrl\brdrs\brdrw10 \trbrdrb\brdrs\brdrw10 -\trbrdrr\brdrs\brdrw10 \trbrdrh\brdrs\brdrw10 \trbrdrv\brdrs\brdrw10 \trftsWidthB3\trpaddl108\trpaddr108\trpaddfl3\trpaddft3\trpaddfb3\trpaddfr3\tscellwidthfts0\tsvertalt\tsbrdrt\tsbrdrl\tsbrdrb\tsbrdrr\tsbrdrdgl\tsbrdrdgr\tsbrdrh\tsbrdrv -\ql \li0\ri0\widctlpar\aspalpha\aspnum\faauto\adjustright\rin0\lin0\itap0 \fs20\lang1024\langfe1024\cgrid\langnp1024\langfenp1024 \sbasedon11 \snext15 \styrsid2294299 Table Grid;}{ -\s16\ql \li0\ri0\widctlpar\aspalpha\aspnum\faauto\adjustright\rin0\lin0\itap0 \fs20\lang1033\langfe1033\cgrid\langnp1033\langfenp1033 \sbasedon0 \snext16 \ssemihidden \styrsid1792631 footnote text;}{\*\cs17 \additive \super -\sbasedon10 \ssemihidden \styrsid1792631 footnote reference;}}{\*\latentstyles\lsdstimax156\lsdlockeddef0}{\*\listtable{\list\listtemplateid-767292450\listhybrid{\listlevel\levelnfc23\levelnfcn23\leveljc0\leveljcn0\levelfollow0\levelstartat1\levelspace360 -\levelindent0{\leveltext\leveltemplateid67698689\'01\u-3913 ?;}{\levelnumbers;}\f3\fbias0 \fi-360\li720\jclisttab\tx720\lin720 }{\listlevel\levelnfc23\levelnfcn23\leveljc0\leveljcn0\levelfollow0\levelstartat1\levelspace360\levelindent0{\leveltext -\leveltemplateid67698691\'01o;}{\levelnumbers;}\f2\fbias0 \fi-360\li1440\jclisttab\tx1440\lin1440 }{\listlevel\levelnfc23\levelnfcn23\leveljc0\leveljcn0\levelfollow0\levelstartat1\levelspace360\levelindent0{\leveltext\leveltemplateid67698693 -\'01\u-3929 ?;}{\levelnumbers;}\f10\fbias0 \fi-360\li2160\jclisttab\tx2160\lin2160 }{\listlevel\levelnfc23\levelnfcn23\leveljc0\leveljcn0\levelfollow0\levelstartat1\levelspace360\levelindent0{\leveltext\leveltemplateid67698689\'01\u-3913 ?;}{\levelnumbers -;}\f3\fbias0 \fi-360\li2880\jclisttab\tx2880\lin2880 }{\listlevel\levelnfc23\levelnfcn23\leveljc0\leveljcn0\levelfollow0\levelstartat1\levelspace360\levelindent0{\leveltext\leveltemplateid67698691\'01o;}{\levelnumbers;}\f2\fbias0 \fi-360\li3600 -\jclisttab\tx3600\lin3600 }{\listlevel\levelnfc23\levelnfcn23\leveljc0\leveljcn0\levelfollow0\levelstartat1\levelspace360\levelindent0{\leveltext\leveltemplateid67698693\'01\u-3929 ?;}{\levelnumbers;}\f10\fbias0 \fi-360\li4320\jclisttab\tx4320\lin4320 } -{\listlevel\levelnfc23\levelnfcn23\leveljc0\leveljcn0\levelfollow0\levelstartat1\levelspace360\levelindent0{\leveltext\leveltemplateid67698689\'01\u-3913 ?;}{\levelnumbers;}\f3\fbias0 \fi-360\li5040\jclisttab\tx5040\lin5040 }{\listlevel\levelnfc23 -\levelnfcn23\leveljc0\leveljcn0\levelfollow0\levelstartat1\levelspace360\levelindent0{\leveltext\leveltemplateid67698691\'01o;}{\levelnumbers;}\f2\fbias0 \fi-360\li5760\jclisttab\tx5760\lin5760 }{\listlevel\levelnfc23\levelnfcn23\leveljc0\leveljcn0 -\levelfollow0\levelstartat1\levelspace360\levelindent0{\leveltext\leveltemplateid67698693\'01\u-3929 ?;}{\levelnumbers;}\f10\fbias0 \fi-360\li6480\jclisttab\tx6480\lin6480 }{\listname ;}\listid687222349}}{\*\listoverridetable{\listoverride\listid687222349 -\listoverridecount0\ls1}}{\*\rsidtbl \rsid1792631\rsid2294299}{\*\generator Microsoft Word 11.0.6113;}{\info{\title This is a test RTF}{\author Nate}{\operator Nate}{\version2}}\widowctrl\ftnbj\aenddoc\noxlattoyen\expshrtn\noultrlspc\dntblnsbdb\nospaceforul\hyphcaps0\formshade\horzdoc\dgmargin\dghspace180\dgvspace180\dghorigin1800\dgvorigin1440 -\dghshow1\dgvshow1\jexpand\viewkind1\viewscale80\pgbrdrhead\pgbrdrfoot\splytwnine\ftnlytwnine\htmautsp\nolnhtadjtbl\useltbaln\alntblind\lytcalctblwd\lyttblrtgr\lnbrkrule\nobrkwrptbl\snaptogridincell\allowfieldendsel\wrppunct -\asianbrkrule\rsidroot2294299\newtblstyruls\nogrowautofit \fet0{\*\ftnsep \pard\plain \ql \li0\ri0\widctlpar\aspalpha\aspnum\faauto\adjustright\rin0\lin0\itap0 \fs24\lang1033\langfe1033\cgrid\langnp1033\langfenp1033 {\insrsid1792631 \chftnsep -\par }}{\*\ftnsepc \pard\plain \ql \li0\ri0\widctlpar\aspalpha\aspnum\faauto\adjustright\rin0\lin0\itap0 \fs24\lang1033\langfe1033\cgrid\langnp1033\langfenp1033 {\insrsid1792631 \chftnsepc -\par }}{\*\aftnsep \pard\plain \ql \li0\ri0\widctlpar\aspalpha\aspnum\faauto\adjustright\rin0\lin0\itap0 \fs24\lang1033\langfe1033\cgrid\langnp1033\langfenp1033 {\insrsid1792631 \chftnsep -\par }}{\*\aftnsepc \pard\plain \ql \li0\ri0\widctlpar\aspalpha\aspnum\faauto\adjustright\rin0\lin0\itap0 \fs24\lang1033\langfe1033\cgrid\langnp1033\langfenp1033 {\insrsid1792631 \chftnsepc -\par }}\sectd \linex0\endnhere\sectlinegrid360\sectdefaultcl\sftnbj {\*\pnseclvl1\pnucrm\pnstart1\pnindent720\pnhang {\pntxta .}}{\*\pnseclvl2\pnucltr\pnstart1\pnindent720\pnhang {\pntxta .}}{\*\pnseclvl3\pndec\pnstart1\pnindent720\pnhang {\pntxta .}} -{\*\pnseclvl4\pnlcltr\pnstart1\pnindent720\pnhang {\pntxta )}}{\*\pnseclvl5\pndec\pnstart1\pnindent720\pnhang {\pntxtb (}{\pntxta )}}{\*\pnseclvl6\pnlcltr\pnstart1\pnindent720\pnhang {\pntxtb (}{\pntxta )}}{\*\pnseclvl7\pnlcrm\pnstart1\pnindent720\pnhang -{\pntxtb (}{\pntxta )}}{\*\pnseclvl8\pnlcltr\pnstart1\pnindent720\pnhang {\pntxtb (}{\pntxta )}}{\*\pnseclvl9\pnlcrm\pnstart1\pnindent720\pnhang {\pntxtb (}{\pntxta )}}\pard\plain -\s1\ql \li0\ri0\sb240\sa60\keepn\widctlpar\aspalpha\aspnum\faauto\outlinelevel0\adjustright\rin0\lin0\itap0\pararsid2294299 \b\f1\fs32\lang1033\langfe1033\kerning32\cgrid\langnp1033\langfenp1033 {\insrsid2294299 This is a test RTF -\par }\pard\plain \ql \li0\ri0\widctlpar\aspalpha\aspnum\faauto\adjustright\rin0\lin0\itap0\pararsid2294299 \fs24\lang1033\langfe1033\cgrid\langnp1033\langfenp1033 {\insrsid2294299 Hi! I\rquote m a test file. This is some }{\b\insrsid2294299 bold}{ -\insrsid2294299 text, and some }{\i\insrsid2294299 italic}{\insrsid2294299 text, as well as some }{\ul\insrsid2294299 underline}{\insrsid2294299 text. And a bit of }{\v\insrsid2294299\charrsid2294299 hidden}{\insrsid2294299 text. So we\rquote -re going to end this paragraph here and go on to a nice little list: -\par -\par {\listtext\pard\plain\f3\insrsid2294299 \loch\af3\dbch\af0\hich\f3 \'b7\tab}}\pard \ql \fi-360\li720\ri0\widctlpar\jclisttab\tx720\aspalpha\aspnum\faauto\ls1\adjustright\rin0\lin720\itap0\pararsid2294299 {\insrsid2294299 Item 1 -\par {\listtext\pard\plain\f3\insrsid2294299 \loch\af3\dbch\af0\hich\f3 \'b7\tab}Item 2 -\par {\listtext\pard\plain\f3\insrsid2294299 \loch\af3\dbch\af0\hich\f3 \'b7\tab}Item 3 -\par {\listtext\pard\plain\f3\insrsid2294299 \loch\af3\dbch\af0\hich\f3 \'b7\tab}Item 4 -\par }\pard \ql \li0\ri0\widctlpar\aspalpha\aspnum\faauto\adjustright\rin0\lin0\itap0\pararsid2294299 {\insrsid2294299 -\par And now comes a fun table: -\par -\par }\trowd \irow0\irowband0\ts15\trgaph108\trleft-108\trbrdrt\brdrs\brdrw10 \trbrdrl\brdrs\brdrw10 \trbrdrb\brdrs\brdrw10 \trbrdrr\brdrs\brdrw10 \trbrdrh\brdrs\brdrw10 \trbrdrv\brdrs\brdrw10 -\trftsWidth1\trftsWidthB3\trautofit1\trpaddl108\trpaddr108\trpaddfl3\trpaddft3\trpaddfb3\trpaddfr3\tbllkhdrrows\tbllklastrow\tbllkhdrcols\tbllklastcol \clvertalt\clbrdrt\brdrs\brdrw10 \clbrdrl\brdrs\brdrw10 \clbrdrb\brdrs\brdrw10 \clbrdrr\brdrs\brdrw10 -\cltxlrtb\clftsWidth3\clwWidth2952\clshdrawnil \cellx2844\clvertalt\clbrdrt\brdrs\brdrw10 \clbrdrl\brdrs\brdrw10 \clbrdrb\brdrs\brdrw10 \clbrdrr\brdrs\brdrw10 \cltxlrtb\clftsWidth3\clwWidth2952\clshdrawnil \cellx5796\clvertalt\clbrdrt\brdrs\brdrw10 -\clbrdrl\brdrs\brdrw10 \clbrdrb\brdrs\brdrw10 \clbrdrr\brdrs\brdrw10 \cltxlrtb\clftsWidth3\clwWidth2952\clshdrawnil \cellx8748\pard\plain \ql \li0\ri0\widctlpar\intbl\aspalpha\aspnum\faauto\adjustright\rin0\lin0\pararsid2294299\yts15 -\fs24\lang1033\langfe1033\cgrid\langnp1033\langfenp1033 {\insrsid2294299 Cell 1\cell Cell 2 -\par More in cell 2\cell Cell 3\cell }\pard\plain \ql \li0\ri0\widctlpar\intbl\aspalpha\aspnum\faauto\adjustright\rin0\lin0 \fs24\lang1033\langfe1033\cgrid\langnp1033\langfenp1033 {\insrsid2294299 \trowd \irow0\irowband0\ts15\trgaph108\trleft-108\trbrdrt -\brdrs\brdrw10 \trbrdrl\brdrs\brdrw10 \trbrdrb\brdrs\brdrw10 \trbrdrr\brdrs\brdrw10 \trbrdrh\brdrs\brdrw10 \trbrdrv\brdrs\brdrw10 -\trftsWidth1\trftsWidthB3\trautofit1\trpaddl108\trpaddr108\trpaddfl3\trpaddft3\trpaddfb3\trpaddfr3\tbllkhdrrows\tbllklastrow\tbllkhdrcols\tbllklastcol \clvertalt\clbrdrt\brdrs\brdrw10 \clbrdrl\brdrs\brdrw10 \clbrdrb\brdrs\brdrw10 \clbrdrr\brdrs\brdrw10 -\cltxlrtb\clftsWidth3\clwWidth2952\clshdrawnil \cellx2844\clvertalt\clbrdrt\brdrs\brdrw10 \clbrdrl\brdrs\brdrw10 \clbrdrb\brdrs\brdrw10 \clbrdrr\brdrs\brdrw10 \cltxlrtb\clftsWidth3\clwWidth2952\clshdrawnil \cellx5796\clvertalt\clbrdrt\brdrs\brdrw10 -\clbrdrl\brdrs\brdrw10 \clbrdrb\brdrs\brdrw10 \clbrdrr\brdrs\brdrw10 \cltxlrtb\clftsWidth3\clwWidth2952\clshdrawnil \cellx8748\row }\pard\plain \ql \li0\ri0\widctlpar\intbl\aspalpha\aspnum\faauto\adjustright\rin0\lin0\pararsid2294299\yts15 -\fs24\lang1033\langfe1033\cgrid\langnp1033\langfenp1033 {\insrsid2294299 Next row\cell Next row \cell Next row\cell }\pard\plain \ql \li0\ri0\widctlpar\intbl\aspalpha\aspnum\faauto\adjustright\rin0\lin0 -\fs24\lang1033\langfe1033\cgrid\langnp1033\langfenp1033 {\insrsid2294299 \trowd \irow1\irowband1\lastrow \ts15\trgaph108\trleft-108\trbrdrt\brdrs\brdrw10 \trbrdrl\brdrs\brdrw10 \trbrdrb\brdrs\brdrw10 \trbrdrr\brdrs\brdrw10 \trbrdrh\brdrs\brdrw10 \trbrdrv -\brdrs\brdrw10 \trftsWidth1\trftsWidthB3\trautofit1\trpaddl108\trpaddr108\trpaddfl3\trpaddft3\trpaddfb3\trpaddfr3\tbllkhdrrows\tbllklastrow\tbllkhdrcols\tbllklastcol \clvertalt\clbrdrt\brdrs\brdrw10 \clbrdrl\brdrs\brdrw10 \clbrdrb\brdrs\brdrw10 \clbrdrr -\brdrs\brdrw10 \cltxlrtb\clftsWidth3\clwWidth2952\clshdrawnil \cellx2844\clvertalt\clbrdrt\brdrs\brdrw10 \clbrdrl\brdrs\brdrw10 \clbrdrb\brdrs\brdrw10 \clbrdrr\brdrs\brdrw10 \cltxlrtb\clftsWidth3\clwWidth2952\clshdrawnil \cellx5796\clvertalt\clbrdrt -\brdrs\brdrw10 \clbrdrl\brdrs\brdrw10 \clbrdrb\brdrs\brdrw10 \clbrdrr\brdrs\brdrw10 \cltxlrtb\clftsWidth3\clwWidth2952\clshdrawnil \cellx8748\row }\pard \ql \li0\ri0\widctlpar\aspalpha\aspnum\faauto\adjustright\rin0\lin0\itap0\pararsid2294299 { -\insrsid2294299 -\par A page break: -\par \page And here we\rquote re on the next page.}{\insrsid1792631 }{\insrsid2294299 -\par }{\insrsid1792631 This para has a }{\cs17\super\insrsid1792631 \chftn {\footnote \pard\plain \s16\ql \li0\ri0\widctlpar\aspalpha\aspnum\faauto\adjustright\rin0\lin0\itap0 \fs20\lang1033\langfe1033\cgrid\langnp1033\langfenp1033 {\cs17\super\insrsid1792631 -\chftn }{\insrsid1792631 This is the actual content of the footnote.}}}{\insrsid1792631 footnote. -\par And here\rquote s yet another paragraph. }{\insrsid1792631\charrsid2294299 -\par }} \ No newline at end of file diff --git a/doc/sample.xml b/doc/sample.xml deleted file mode 100644 index 85b8bfa..0000000 --- a/doc/sample.xml +++ /dev/null @@ -1 +0,0 @@ -This is a test RTFNateNate