Omni Systems, Inc.

  

Mif2Go User's Guide, Version 55

  

Valid HTML 4.01!

 

Made with Mif2Go

6 Converting to print RTF > 6.10 Modifying text appearance > 6.10.10 Replacing content in RTF output


6.10.10 Replacing content in RTF output

This method is deprecated in favor of the CodeReplace property described in §28.9.3 Surrounding or replacing text with code or macros.

You can direct Mif2Go to replace the content of a paragraph, or of a character-formatted span of text, with arbitrary RTF code:

[WordStyles]

; format (char or para) = keyword

; Replace deletes, and also puts out the RTF in [WordReplacements]

Parafmt = Replace

You specify the replacement RTF code as a property of the format to which you assigned the Replace property:

[WordReplacements]

; Replace causes the insertion of raw RTF code

; in place of the original content of the named para or char format

Parafmt = {some arcane string of RTF code}

See also:

§6.10.2.3 Keeping or removing empty paragraphs

§28.3.7.2 Inserting code with the CodeStore property.



6 Converting to print RTF > 6.10 Modifying text appearance > 6.10.10 Replacing content in RTF output