Overview
Examples
Screenshots
Comparisons
Applications
Download
Documentation
Tutorials
Bazaar
Status & Roadmap
FAQ
Authors & License
Forums
Funding Ultimate++
Search on this site
Search in forums












SourceForge.net Logo
Home » U++ Library support » RichText,QTF,RTF... » Remove empty paragraphs
Remove empty paragraphs [message #57378] Sun, 25 July 2021 16:33 Go to previous message
mubeta is currently offline  mubeta
Messages: 77
Registered: October 2006
Member
Hi all,
how I can remove the last empty paragraph, if there is, from a QTF source, prior to merge it with a second QTF text? For exemple:
  
  RichText rta, rtb;
  ParseQTF(rta, a);
  ParseQTF(rtb, b);
  rta.CatPick(pick(rtb));
  return AsQTF(rta, CHARSET_UTF8, options);


How can check if in rta the last paragraph is empty and remove it?
 
Read Message
Read Message
Previous Topic: RichTextView::GetData() Method
Next Topic: How do I set the pagesize (in points or mm) of RichEdit?
Goto Forum:
  


Current Time: Sat Apr 20 12:50:32 CEST 2024

Total time taken to generate the page: 0.03119 seconds