From 1902a68457525e7f92d5dee8d77dc38a173f5438 Mon Sep 17 00:00:00 2001 From: Graeme Geldenhuys Date: Wed, 17 Aug 2011 16:57:36 +0200 Subject: richview syntax and information file renamed so it is easier to spot --- docview/components/richtext/README.txt | 60 ++++++++++++++++++++++++++++ docview/components/richtext/RichTextView.txt | 60 ---------------------------- 2 files changed, 60 insertions(+), 60 deletions(-) create mode 100644 docview/components/richtext/README.txt delete mode 100644 docview/components/richtext/RichTextView.txt (limited to 'docview/components/richtext') diff --git a/docview/components/richtext/README.txt b/docview/components/richtext/README.txt new file mode 100644 index 00000000..df0ed03e --- /dev/null +++ b/docview/components/richtext/README.txt @@ -0,0 +1,60 @@ +TRichTextView component +for fpGUI Toolkit + +Summary +------- + +This component displays 'rich' text, with various fonts, colors, +styles and alignment. + +The major features are: + Fast, accurate drawing of text + +Features to come... + Selection and copy + Built-in default popup menu + + +Using the component +------------------- + +Put a component on your form. Adjust the properties as you see fit. +At runtime, load the text into the control using AddText, AddParagraph, +and Clear. + +Formatting syntax + +This is a HTML-like set of tags. But note that tag pairs don't have to +match up. + + bold on, off + underline on, off + italic on, off +

heading 1-3, set with Heading1Font etc + normal text + fixed font + etc colors + left alignment (word wrap) + no right margin +
centered + right alignment + full justification (not implemented) + default alignment + set left margin to x pixels + + start, end link. + The OnClickLink and OnOverLink events are called with linktext + Display image x from associated TImageList + + +Example + +RichText.AddParagraph( '

This is a big heading' ); +RichText.AddParagraph( 'Here is some bold text' ); + + +Problems/limitations +-------------------- +Yes, there probably are some. :) + + diff --git a/docview/components/richtext/RichTextView.txt b/docview/components/richtext/RichTextView.txt deleted file mode 100644 index df0ed03e..00000000 --- a/docview/components/richtext/RichTextView.txt +++ /dev/null @@ -1,60 +0,0 @@ -TRichTextView component -for fpGUI Toolkit - -Summary -------- - -This component displays 'rich' text, with various fonts, colors, -styles and alignment. - -The major features are: - Fast, accurate drawing of text - -Features to come... - Selection and copy - Built-in default popup menu - - -Using the component -------------------- - -Put a component on your form. Adjust the properties as you see fit. -At runtime, load the text into the control using AddText, AddParagraph, -and Clear. - -Formatting syntax - -This is a HTML-like set of tags. But note that tag pairs don't have to -match up. - - bold on, off - underline on, off - italic on, off -

heading 1-3, set with Heading1Font etc - normal text - fixed font - etc colors - left alignment (word wrap) - no right margin -
centered - right alignment - full justification (not implemented) - default alignment - set left margin to x pixels - - start, end link. - The OnClickLink and OnOverLink events are called with linktext - Display image x from associated TImageList - - -Example - -RichText.AddParagraph( '

This is a big heading' ); -RichText.AddParagraph( 'Here is some bold text' ); - - -Problems/limitations --------------------- -Yes, there probably are some. :) - - -- cgit v1.2.3-70-g09d2