diff options
| -rw-r--r-- | doc/sample.xml | 63 | ||||
| -rw-r--r-- | doc/sample_p.xml | 65 | 
2 files changed, 126 insertions, 2 deletions
| diff --git a/doc/sample.xml b/doc/sample.xml index 2306e67..163c83c 100644 --- a/doc/sample.xml +++ b/doc/sample.xml @@ -1 +1,62 @@ -<?xml version="1.0" encoding="UTF-8"?><document xmlns="http://memberwebs.com/ns/rtfx/"><info><title>This is a test RTF</title><author>Nate</author><operator>Nate</operator></info><stylesheet><style name="Normal"/><style name="heading 1"/><style name="footnote text"/></stylesheet><para style="heading 1"><b>This is a test RTF</b></para><para>Hi! I’m a test file. This is some <b>bold</b> text, and some <i>italic</i> text, as well as some <u>underline</u> text. And a bit of <hide>hidden</hide> text. So we’re going to end this paragraph here and go on to a nice little list:</para><para/><list ordered="0" start="1"><para>Item 1</para><para>Item 2</para><para>Item 3</para><para>Item 4</para></list><para/><para>And now comes a fun table:</para><para/><table><row><cell><para>Cell 1</para></cell><cell><para>Cell 2</para><para>More in cell 2</para></cell><cell><para>Cell 3</para></cell></row><row><cell><para>Next row</para></cell><cell><para>Next row </para></cell><cell><para>Next row</para></cell></row></table><para/><para>A page break:</para><page/><para>And here we’re on the next page. </para><para>This para has a <ref type="footnote" to="1"/>footnote.</para><para>And here’s yet another paragraph. </para><para/><footnote id="1"><para> This is the actual content of the footnote.</para></footnote></document>
\ No newline at end of file +<?xml version="1.0"?> +<document xmlns="http://memberwebs.com/ns/rtfx/"> +    <info> +        <title>This is a test RTF</title> +        <author>Nate</author> +        <operator>Nate</operator> +    </info> +    <stylesheet> +        <style name="Normal"/> +        <style name="heading 1"/> +        <style name="Default Paragraph Font"/> +        <style name="footnote text"/> +        <style name="footnote reference"/> +    </stylesheet> +    <para style="heading 1"><b>This is a test RTF</b></para> +    <para>Hi! I’m a test file. This is some <b>bold</b> text, and some <i>italic</i> text, as well as some <u>underline</u> text. And a bit of <hide>hidden</hide> text. So we’re going to end this paragraph here and go on to a nice little list:</para> +    <para/> +    <list ordered="0" start="1"> +        <para>Item 1</para> +        <para>Item 2</para> +        <para>Item 3</para> +        <para>Item 4</para> +    </list> +    <para/> +    <para>And now comes a fun table:</para> +    <para/> +    <table> +        <row> +            <cell> +                <para>Cell 1</para> +            </cell> +            <cell> +                <para>Cell 2</para> +                <para>More in cell 2</para> +            </cell> +            <cell> +                <para>Cell 3</para> +            </cell> +        </row> +        <row> +            <cell> +                <para>Next row</para> +            </cell> +            <cell> +                <para>Next row </para> +            </cell> +            <cell> +                <para>Next row</para> +            </cell> +        </row> +    </table> +    <para/> +    <para>A page break:</para> +    <page/> +    <para>And here we’re on the next page. </para> +    <para>This para has a <ref type="footnote" to="1"/>footnote.</para> +    <para>And here’s yet another paragraph. </para> +    <para/> +    <footnote id="1"> +        <para> This is the actual content of the footnote.</para> +    </footnote> +</document> diff --git a/doc/sample_p.xml b/doc/sample_p.xml index c308b67..8a1cf6c 100644 --- a/doc/sample_p.xml +++ b/doc/sample_p.xml @@ -1,2 +1,65 @@  <?xml version="1.0"?> -<document xmlns="http://memberwebs.com/ns/rtfx/"><info><title>This is a test RTF</title><author>Nate</author><operator>Nate</operator></info><stylesheet><style name="Normal"/><style name="heading 1"/><style name="footnote text"/></stylesheet><options><font size="12" color="0" name="Times New Roman"/></options><para style="heading 1"><font size="16" name="Arial"><b>This is a test RTF</b></font></para><para>Hi! I’m a test file. This is some <b>bold</b> text, and some <i>italic</i> text, as well as some <u>underline</u> text. And a bit of <hide>hidden</hide> text. So we’re going to end this paragraph here and go on to a nice little list:</para><para/><list type="disc" ordered="0" start="1"><para>Item 1</para><para>Item 2</para><para>Item 3</para><para>Item 4</para></list><para/><para>And now comes a fun table:</para><para/><table><row><cell><para>Cell 1</para></cell><cell><para>Cell 2</para><para>More in cell 2</para></cell><cell><para>Cell 3</para></cell></row><row><cell><para>Next row</para></cell><cell><para>Next row </para></cell><cell><para>Next row</para></cell></row></table><para/><para>A page break:</para><page/><para>And here we’re on the next page. </para><para>This para has a <ref type="footnote" to="1"><super>1</super></ref>footnote.</para><para>And here’s yet another paragraph. </para><para/><footnote id="1"><para><font size="10"><super>1</super> This is the actual content of the footnote.</font></para></footnote></document> +<document xmlns="http://memberwebs.com/ns/rtfx/"> +    <info> +        <title>This is a test RTF</title> +        <author>Nate</author> +        <operator>Nate</operator> +    </info> +    <stylesheet> +        <style name="Normal"/> +        <style name="heading 1"/> +        <style name="Default Paragraph Font"/> +        <style name="footnote text"/> +        <style name="footnote reference"/> +    </stylesheet> +    <options> +        <font size="12" color="0" name="Times New Roman"/> +    </options> +    <para style="heading 1"><font size="16" name="Arial"><b>This is a test RTF</b></font></para> +    <para>Hi! I’m a test file. This is some <b>bold</b> text, and some <i>italic</i> text, as well as some <u>underline</u> text. And a bit of <hide>hidden</hide> text. So we’re going to end this paragraph here and go on to a nice little list:</para> +    <para/> +    <list type="disc" ordered="0" start="1"> +        <para indent="36">Item 1</para> +        <para indent="36">Item 2</para> +        <para indent="36">Item 3</para> +        <para indent="36">Item 4</para> +    </list> +    <para/> +    <para>And now comes a fun table:</para> +    <para/> +    <table> +        <row> +            <cell> +                <para>Cell 1</para> +            </cell> +            <cell> +                <para>Cell 2</para> +                <para>More in cell 2</para> +            </cell> +            <cell> +                <para>Cell 3</para> +            </cell> +        </row> +        <row> +            <cell> +                <para>Next row</para> +            </cell> +            <cell> +                <para>Next row </para> +            </cell> +            <cell> +                <para>Next row</para> +            </cell> +        </row> +    </table> +    <para/> +    <para>A page break:</para> +    <page/> +    <para>And here we’re on the next page. </para> +    <para>This para has a <ref type="footnote" to="1"><span style="footnote reference"><super>1</super></span></ref>footnote.</para> +    <para>And here’s yet another paragraph. </para> +    <para/> +    <footnote id="1"> +        <para><font size="10"> This is the actual content of the footnote.<span style="footnote reference"><super>1</super></span></font></para> +    </footnote> +</document> | 
