Microsoft KB Archive/211422

From BetaArchive Wiki
Knowledge Base


Article ID: 211422

Article Last Modified on 12/6/2000



APPLIES TO

  • Microsoft Word 2000 Standard Edition



This article was previously published under Q211422


SYMPTOMS

The option settings for the Text with Layout converter are not available when you use the EditConversionOptions macro.

WORKAROUND

You cannot use the EditConversionOptions macro to change how Word converts a Text with Layout document.

To change how Microsoft Word converts a Text with Layout document, you will need to create a Mstxtcnv.ini (if one does not already exist) in WordPad with the following information, and then save it as a text file with the name of Mstxtcnv.ini in the Windows folder:

[TextLytConv]
CharMaps=a,a
Width=80
PointSize=24


If there is a Mstxtcnv.ini file, open it in WordPad, type or change the information, and then save and close the file.

Once the Mstxtcnv.ini file exists in the Windows folder, the Text with Layout converter will use it when a Text with Layout file is saved or opened in Microsoft Word.

STATUS

Microsoft has confirmed that this is a problem in the Microsoft products that are listed at the beginning of this article.

MORE INFORMATION

The Mstxtcnv.ini text file is used to modify how Word converts documents by changing the converter's filter options. For example, if you want to open a Text with Layout file in a point size of 14, you need to modify the Text with Layout converter filter options for a point size of 14.

The following information defines each of the available settings within the TextLytConv section of the Mstxtcnv.ini file:

  • === CharMaps=a,a ===

    Enter a Word character followed by a comma and the character that you want to map this Word character to when saving as Text with Layout. Multiple mappings are separated by a semicolon. For example, a, b, and c can be mapped to A, B, and C by specifying "a,A;b,B;c,C" (without the quotation marks). The neutral default setting of "a,a" is provided as a syntax example.

  • === Width=80 ===

    Enter a value between 1 and 80 characters to specify the absolute maximum number of characters that can appear on one line when saving as Text with Layout. Specifying a lesser value allows full lines to be displayed on screens that display fewer than 80 characters per line. If the formatting in your Word document allows fewer characters per line, document formatting takes precedence over this setting.

  • === PointSize=24 ===

    Enter a point size to control the number of characters that fit per line. Specifying a value lower than 12 allows more characters to fit on each line, and can be used to prevent premature line wrapping in a text file.

This functionality is different from Microsoft Word 6.0 for Windows and Microsoft Word for Windows 95. The EditConversionOptions macro in these earlier versions enabled you to change the Text with Layout converter's filter options from within Microsoft Word.

REFERENCES

For additional information about how to access sample macros, click the article numbers below to view the articles in the Microsoft Knowledge Base:

237356 WD2000: How to Access Sample Macros for Word 2000


211195 WD2000: How Text with Layout Converter Determines Line Length


Keywords: kbbug kbnofix kbconversion kblayout KB211422