DOCXExport and Rich text

edited 8:08PM in FastReport VCL
Hi,
Using VCL 6 with Delphi Rio.
I'm having some trouble with exporting formatted text to Word docx format.
If I use Rich Text Object the text appears as i picture in the Word document.
If I use Memo field I get the result as text but with the formatting characters as well.

How do I do to get the formatted text unformatted to the Memo in the report and Word document or is it possible to get the formatted text as text in the final Word document?

Regards
Dag

Comments

  • I have a similar problem, but all my memo texts are moved to the right after exporting to .docx... I haven't received an answer to this day... Do you know of any solution?

  • PolomintPolomint Australia

    G'day Jnr,

    I don't have current information on this (we stopped trying to use FR Docx Export a while back).

    The reason then was that the process relied on the creation of tables, and these had complex columns and merged cells which defied any form of predictable layout control.

    Do you need the export to be editable in Microsoft Word?

    If not consider export to PDF. Otherwise you may need to do what we did and break up the export into a number of plain text files...

    Cheers, Paul

  • Yes, I  need the export to be editable in Microsoft Word... How can i do this?

Leave a Comment

Rich Text Editor. To edit a paragraph's style, hit tab to get to the paragraph menu. From there you will be able to pick one style. Nothing defaults to paragraph. An inline formatting menu will show up when you select text. Hit tab to get into that menu. Some elements, such as rich link embeds, images, loading indicators, and error messages may get inserted into the editor. You may navigate to these using the arrow keys inside of the editor and delete them with the delete or backspace key.