[Demo] Extracting text from RTF and DocX without visual components

Demos, code samples. Only questions related to the existing topics are allowed here.
Post Reply
Sergey Tkachenko
Site Admin
Posts: 17554
Joined: Sat Aug 27, 2005 10:28 am
Contact:

[Demo] Extracting text from RTF and DocX without visual components

Post by Sergey Tkachenko »

This demo uses TRichView's RTF and DocX parsers to extract a plain text from RTF and DocX files without creating TRichView or another visual control:
textfromwordfiles.zip
(3.39 KiB) Downloaded 2432 times

[+] History of updates
2022-Jan-3: updated for compatibility with TRichView 20. Supports not only RTF but also DocX files

2008-Dec-11: updated for compatibility with TRichView 11.
This version is here:
https://www.trichview.com/support/files/textfromrtf.zip - extracts ANSI text
https://www.trichview.com/support/files ... omrtfw.zip - extracts Unicode text
Sergey Tkachenko
Site Admin
Posts: 17554
Joined: Sat Aug 27, 2005 10:28 am
Contact:

Re: [Demo] Extracting text from RTF without visual components

Post by Sergey Tkachenko »

The demo is updated for compatibility with TRichView 20.
Now it extracts text not only from RTF, but also from DocX files.
Post Reply