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
Messages: 3437 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
|
|
|
Goto Forum:
Current Time: Tue Jun 10 04:42:50 CEST 2025
Total time taken to generate the page: 0.03925 seconds
|