Copy Text Category

Description
The text copying can be done either using load and save procedures (LoadFromStream/SaveToStream or "AsString") or using the AppendParCopy procedure which is implicitely used by FastAppendText, too.
If you need to extract only parts of the text AppendParCopy can help you a lot. It makes it, for example, possible to only copy the paragraphs or table rows which are not empty. It can also skip certain object types, such as fields to create a clean output file which does not contain control codes.
Properties
TWPCustomRtfEdit.AsString
TWPCustomRtfEdit.ClipboardOptions
TWPCustomRtfEdit.SelectionAsString
TWPRichText.ClipboardOptions

Methods
TWPRTFDataBlock.AppendParCopy
TWPRTFDataCollection.Append
TWPRTFDataCollection.AppendAsSection
TWPRTFDataCollection.AsANSIString
TWPCustomRtfEdit.AsANSIString
TWPCustomRtfEdit.FastAppendActiveLine
TWPCustomRtfEdit.FastAppendText
TWPCustomRtfEdit.FastAppendTextParID
TWPCustomRtfEdit.FastAppendTextWithParID


Copyright (C) by WPCUBED GmbH - Munich
http://www.wpcubed.com