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: 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
|
|
|
Goto Forum:
Current Time: Sat Apr 20 02:07:34 CEST 2024
Total time taken to generate the page: 0.05610 seconds
|