Merge Cells Vertically in RTF

Posted by Jimmy Johnson on Stack Overflow See other posts from Stack Overflow or by Jimmy Johnson
Published on 2010-05-06T14:46:18Z Indexed on 2010/05/06 14:48 UTC
Read the original article Hit count: 882

Filed under:

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!

© Stack Overflow or respective owner

Related posts about rtf