example
<?php
/**
* Replaces a PHPDocX template variable by an external HTML document.
*
* @category Phpdocx
* @package examples
* @subpackage easy
* @copyright Copyright (c) 2009-2013 Narcea Producciones Multimedia S.L.
* (http://www.2mdc.com)
* @license http://www.phpdocx.com/wp-content/themes/lightword/pro_license.php
* @version 2012.12.26
* @link http://www.phpdocx.com
* @since File available since Release 2.3
*/
require_once '../../classes/CreateDocx.inc';
'<strong>David Hume</strong><br />
<em>Character is the result of a system of stereotyped principles.</em>',
'html');
$docx->createDocx('../docx/example_template_html');
|
|