Merge Cells Vertically in RTF
- by Jimmy Johnson
I need to programmatically generate an RTF document with a table that has a column vertically merged., e.x.
______________________________
| merged | foo | hello |
| cell | | |
| right |--------|----------|
| here | bar | world |
|_________|________|__________|
I looked up online and found that the codes are \clvmgf and \clvmrg
but I can't find a decent example.
I made a text rtf using MS word, but there's too much junk rtf codes in it for me to figure it out where to put the \clvmgf and \clvmrg to get this to work.
Could someone give me an rtf for above example table with no extraneous rtf codes so I can figure out how \clvmgf and \clvmrg works?
Any additional explanation would also be greatly appreciated.
Thanks!