Page 1 of 1

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

Posted: Mon Aug 25, 2008 3:29 pm
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 2402 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

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

Posted: Mon Jan 03, 2022 5:08 pm
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.