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... » Problem copying from RichEdit to Word
Problem copying from RichEdit to Word [message #40952] Sun, 13 October 2013 00:24
koldo is currently offline  koldo
Messages: 3356
Registered: August 2008
Senior Veteran
Hello all

When copying from RichEdit (UWord sample) to Word, last paragraph formating is lost. However with LibreOffice works well.

It seems Word requires a \par label at the end of a rich text pasted from the clipboard. However this solution is not perfect as it adds a new line in Word.

I know this is not perfect, but Word compatibility would be improved doing this: In CtrlCore/EncodeRTF.cpp, RTFEncoder::PutTxt(), add a Command("par"); at the end.


Best regards
IƱaki
Previous Topic: Get String from RichText
Next Topic: Insert text data from file
Goto Forum:
  


Current Time: Fri Apr 19 01:36:08 CEST 2024

Total time taken to generate the page: 0.03272 seconds