Home » U++ Library support » RichText,QTF,RTF... » AIBRichEdit (a class derived from RichEdit)
AIBRichEdit -> CtrlCore\ParseRTF.cpp read token "line" and "MERGEFIELD" [message #47236 is a reply to message #47219] |
Fri, 30 December 2016 15:34 |
wqcmaster
Messages: 37 Registered: March 2013
|
Member |
|
|
a second simple extension:
in CtrlCore\ParseRTF.cpp:
read token "line" and "MERGEFIELD" from a rtf file.
> if(symdef[0] == "MERGEFIELD" && symdef.GetCount() >= 1){ // add dagobert Nov 2016
> para.Cat(Upp::Id("MERGEFIELD"),symdef[1],state.charformat);
> return true;
> }
In our AIBWord solution, we haven't registerd a fieldtype "MERGEFIELD". In AIBWord we replace this field "MERGEFIELD" with a suitable element that meets the relevant criteria.
and here our patchfiles for this feature current release 2015.2 (rev 9251):
[Updated on: Fri, 30 December 2016 15:37] Report message to a moderator
|
|
|
Goto Forum:
Current Time: Sun May 05 18:22:08 CEST 2024
Total time taken to generate the page: 0.03388 seconds
|