Microsoft Word® automatically capitalize first letter of sentences by default. This can lead to MDWorkbench execution errors, as variables and types are case-sensitive. This auto-capitalization can be disabled:
| Microsoft Word 2007 |
|
| Microsoft Word 2003 |
|
Microsoft Word® automatically converts straight quotes (e.g. "Class") to smart quotes (e.g « Class ») by default. Doing this, Microsoft Word® inserts spaces between quotes and the quoted text. This can lead to MDWorkbench execution errors, as expressions are sensitive to spaces. This quote conversion can be disabled:
| Microsoft Word 2007 |
|
| Microsoft Word 2003 |
|
Sometimes it may not be easy to tweak the document generator to avoid empty paragraphs to be generated. In such case you may want to remove these paragraphs in the generated document itself:
^13{2;}^pEach time you change a source file, Eclipse makes a copy of this file into the bin directory, used for execution. But Eclipse is not notified by Microsoft Word® of changes in doc templates. MDWorkbench automatically checks doc templates to track changes and to notify Eclipse to refresh the workspace as necessary. So you should normaly never have to worry about this.
However, if for some reason this change listener is not running (the corresponding MDWorkbench plugin is not yet activated), you may have to manually refresh the doc template:
That's it, you can now relaunch the doc template evaluation. And if you performed the refresh in the MDWorkbench perspective, the change listener is now probably running, so you won't have to manually refresh your template gain.
Once the Microsoft Word® document is generated, you should open it an manually refresh the fields: