The best way to append a document to an TWPRichText?

  • Hello :)

    In my application I need to combine many different TWPRichTexts into one big Document. I get those Documents from the Database (in WP File format), so I can access them as string.

    At the moment I load them into a seperate TWPRichText and Append them via fastappendtext to the main document. As I read that this function shouldn't be used I asked myself how to do something like that in another way, but I didn't get any idea :(

    Shall I just add them via:

    Code
    wp_MainDocument->AsString = wp_MainDocument->AsString + StringFromDatabase;

    I need to keep the formatting of all added paragraphs as the were originally entered.

    Hope you understand what I want to do. What be great if anyone could helpt.

    Thanks in advance,
    Florian Fanderl