Formatting lists with MModal VR

Navigation:  Technicial References > Server Setup > Setting Up a Rendering Server >

Formatting lists with MModal VR

Previous pageReturn to chapter overviewNext page

Runwordmacro is used to define list formatting when rendering documents using the MModal voice recognition engine.

 

RunWordMacro.exe will be utilized from the mtcda2word.exe rendering program.  RunWordMacro.exe will read the RunWordMacro.ini file located in the same directory that it is in.  This is in the \\ChartNet\Bin folder and is used for rendering.  The default values are as follows with the choices for each in parenthesis. RunWordMacro.ini is only required if any of these settings are changed.

 

 

LogLevel=3

(0-4. The higher the number, the more detail. 0 = No Logging)

WordVisible=0

(0 = suppress MS Word from being visible, 1 = Show MS Word on the screen)

ResetListLevels=1

(1 = Allows list levels to be a different character for each level. 0 = do not change the character type when going to the next level. NOTE: This MUST be set to 1 if you are using ListType=Bullets)

ResetLists=1

(1 = restart the numbered list at 1 for each list in the document. 0 = continue the numbering for all lists in the document)

CleanIndents=1

(1 = remove indents at the beginning of each paragraph. 0 = keep the indents)

RemoveBookmarks=1

(1 = remove all bookmarks from the document, 0 = keep the bookmarks)

MaxListLevel=3

(Valid choices are 1-3. This is the maximum number of numbered List Levels allowed)

ExitImmediately=0

(0 = Will use Word to make the changes that are specified in the .ini. 1 = RUNWORDMACRO will do nothing to the document..)

ListType=Numbered

(Numbered or Bullets. This will be for the whole document. You cannot mix types within a document. NOTE: If you are using Bullets, you must set ResetListLevels=1)

 

If you wish to change a default value for a particular item, list that change under the “[Default]” section. The [Default] section is not required if you are not changing any specific default value. If you do list an item, then this will then become the “Default” value for all documents, unless it is specifically changed for that Form. For example, to keep the indents and change the logging level to 2:

[Default]

LogLevel=2

CleanIndents=0

 

For a particular form that will OVERRIDE some initial default values and the “[Default]” values listed above, you need a section for that Form. In this example, the form U1 in site 1001, the LogLevel will be set to 4 and the MaxListLevel is 2. Also note that the CleanIndents will remain 0 (from the [Default] section above) since it is not listed below. These values will only be for this Sites Form.

[1_7-TEMPLATE_1001_U1.DOCX.AmpTemplate]

LogLevel=4

MaxListLevel=2

 

Note:  There is a known issue of items in a list creating a blank list item (i.e. another blank number or blank bullet item) when the list is at the end of the document with no additional text.  This can be corrected by entering a period or another visual character in the signature block so the list will automatically have text after.