blob: 20ca181545fdeec5a5cbe97c5836c83fd0400cac [file] [log] [blame]
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
<html>
<head>
<title>Enclose the external document</title>
<link rel="stylesheet" type="text/css" href="userguide.css">
</head>
<body>
<h2>Enclose the external document</h2>
<p>Gendoc offers the possibility of importing the content of an external document inside output,
<strong><u>for Microsoft Word templates only</u></strong>, through tag <span class="code">&lt;include&gt;</span>.</p>
<p><span class="code">&lt;include&gt;</span> tag must be contained in a <span class="code">&lt;gendoc&gt;</span> tag.</p>
<p>The absolute path of the file to be imported is defined in filePath attribute.
The following file formats are supported: docx, txt, html.</p>
<div class="codeBox cbBg code">
<p>
&lt;gendoc&gt;<br/>
&emsp;&emsp;&lt;include filePath=&lsquo;C:/myFolder/anotherFile.docx&rsquo;/&gt;<br/>
&lt;/gendoc&gt;
</p>
</div>
</body>
</html>