Magic User Group

Magic Wiki-Wakka : RtfMerge

HomePage :: CATEGORIES | Index :: Changes :: Comments :: Search :: Login/Register
CategoryHowTo

RTF-Merge a Print Solution

The function HTML-Merge can also used as an easy way to produce well formatted documents to MS-Word or other RTF-Word processors.

Short explanation

  1. Design your Template in Win Word.
  2. Put in this document the field names with "<!$MG_fieldname>" at the desired place.
  3. Save it as RTF used as merge template
  4. Turn off the conversation question in Word
  5. Output a new RTF using the template.rtf as merge file in Magic
  6. Open Word with the created RTF


Tables

For correct tables in word, we do it the following way:

Put in the cells of the table

1. Line: head of table

2. Line:
<!$MGREPEAT><!$MG_Order_Line_Description>
<!$MG_Order_Line_Unit>
<!$MG_Order_Line_Quantity>
<!$MG_Order_Line_Rate>
<!$MG_v_Extended>

3. Line cell one:
<!$MGENDREPEAT>


Note:
The first cell includes <!$MGREPEAT> AND <!$MG_Order_Line_Description>

You get a blank line at the end of the table between detail lines and
the totals, witch is not a (design) problem in most cases.

Sub-Sub Heading

Some more text


CategoryHowTo

There are no comments on this page. [Add comment]

Valid XHTML 1.0 Transitional :: Valid CSS :: Powered by Wikka Wakka Wiki trunk
Page was generated in 0.0398 seconds