27. Juli 2011 um 20:59 #1 Hello All,Is there an easy way of stripping out tables from RTF snippets ?I'm using TParagraph.LoadFromString to load RTF chunks, but some of the chunks have tables (pasted from Word) and I just want the text.Regards, Paul
11. August 2011 um 15:07 Offizieller Beitrag #3 Hi,the code should help. Code var par : TParagraph; par := WPRichText1.FirstPar; while par<>nil do begin if par.ParagraphType = wpIsTable then par := par.DeleteParagraph else par := par.NextPar; end; WPRichText1.ReformatAll(false, true); Alles anzeigen Julian