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: Tue Nov 04 12:25:53 CET 2025 
 Total time taken to generate the page: 0.06197 seconds 
 |