- <text>" Next we'll show an indented paragraph."</text>
- </paragraph>
- <paragraph leftindent="60" leftsubindent="0" parspacingafter="20" parspacingbefore="0">
- <text>It was in January, the most down-trodden month of an Edinburgh winter. An attractive woman came into the cafe, which is nothing remarkable.</text>
- </paragraph>
- <paragraph parspacingafter="20" parspacingbefore="0">
- <text>Next, we'll show a first-line indent, achieved using BeginLeftIndent(100, -40).</text>
- </paragraph>
- <paragraph leftindent="100" leftsubindent="-40" parspacingafter="20" parspacingbefore="0">
- <text>It was in January, the most down-trodden month of an Edinburgh winter. An attractive woman came into the cafe, which is nothing remarkable.</text>
- </paragraph>
- <paragraph parspacingafter="20" parspacingbefore="0">
- <text>Numbered bullets are possible, again using subindents:</text>
- </paragraph>
- <paragraph leftindent="100" leftsubindent="60" parspacingafter="20" parspacingbefore="0" bulletstyle="257" bulletnumber="1">
- <text>This is my first item. Note that wxRichTextCtrl can apply numbering and bullets automatically based on list styles, but this list is formatted explicitly by setting indents.</text>
- </paragraph>
- <paragraph leftindent="100" leftsubindent="60" parspacingafter="20" parspacingbefore="0" bulletstyle="257" bulletnumber="2">
- <text>This is my second item.</text>
- </paragraph>
- <paragraph parspacingafter="20" parspacingbefore="0">
- <text>The following paragraph is right-indented:</text>
- </paragraph>
- <paragraph rightindent="200" parspacingafter="20" parspacingbefore="0">
- <text>It was in January, the most down-trodden month of an Edinburgh winter. An attractive woman came into the cafe, which is nothing remarkable.</text>
- </paragraph>
- <paragraph parspacingafter="20" parspacingbefore="0">
- <text>The following paragraph is right-aligned with 1.5 line spacing:</text>
- </paragraph>
- <paragraph alignment="3" parspacingafter="20" parspacingbefore="0" linespacing="15">
- <text>It was in January, the most down-trodden month of an Edinburgh winter. An attractive woman came into the cafe, which is nothing remarkable.</text>
- </paragraph>
- <paragraph tabs="400,600,800,1000">
- <text>This line contains tabs: First tab Second tab Third tab</text>
- </paragraph>
- <paragraph tabs="400,600,800,1000">
- <text>Other notable features of wxRichTextCtrl include:</text>
- </paragraph>
- <paragraph leftindent="100" leftsubindent="60" bulletstyle="32" bulletsymbol="42" bulletfont="" tabs="400,600,800,1000">
- <text>Compatibility with wxTextCtrl API</text>
- </paragraph>
- <paragraph leftindent="100" leftsubindent="60" bulletstyle="32" bulletsymbol="42" bulletfont="" tabs="400,600,800,1000">
- <text>Easy stack-based BeginXXX()...EndXXX() style setting in addition to SetStyle()</text>
- </paragraph>
- <paragraph leftindent="100" leftsubindent="60" bulletstyle="32" bulletsymbol="42" bulletfont="" tabs="400,600,800,1000">
- <text>XML loading and saving</text>
- </paragraph>
- <paragraph leftindent="100" leftsubindent="60" bulletstyle="32" bulletsymbol="42" bulletfont="" tabs="400,600,800,1000">
- <text>Undo/Redo, with batching option and Undo suppressing</text>
- </paragraph>
- <paragraph leftindent="100" leftsubindent="60" bulletstyle="32" bulletsymbol="42" bulletfont="" tabs="400,600,800,1000">
- <text>Clipboard copy and paste</text>
- </paragraph>
- <paragraph leftindent="100" leftsubindent="60" bulletstyle="32" bulletsymbol="42" bulletfont="" tabs="400,600,800,1000">
- <text>wxRichTextStyleSheet with named character and paragraph styles, and control for applying named styles</text>
- </paragraph>
- <paragraph leftindent="100" leftsubindent="60" bulletstyle="32" bulletsymbol="42" bulletfont="" tabs="400,600,800,1000">
- <text>A design that can easily be extended to other content types, ultimately with text boxes, tables, controls, and so on</text>
- </paragraph>
- <paragraph tabs="400,600,800,1000">
- <text>"wxRichTextCtrl can also display URLs, such as this one: "</text>
- <text textcolor="#0000FF" fontunderlined="1" url="http://www.wxwidgets.org">The wxWidgets Web Site</text>
- <text>. Click on the URL to generate an event.</text>
- </paragraph>
- <paragraph tabs="400,600,800,1000">
- <text>Note: this sample content was generated programmatically from within the MyFrame constructor in the demo. The images were loaded from inline XPMs. Enjoy wxRichTextCtrl!</text>