[code]<?php
require_once '../phpdocx_pro/classes/CreateDocx.inc'; // don't forget change path!
$docx = new CreateDocx();
$docx->enableCompatibilityMode();
$return_txt = "<table style="width:400pt;">";
$return_txt .= "<tr style="height:150pt; vertical-align:top;"><td style="width:100pt;border:1px solid black"><p>My question is not so simple</p></td>";
$return_txt .= "<td style="width:300pt;border:1px dotted red; vertical-align:middle;"><p style="text-align: center;">here image</p></td></tr>";
$return_txt .= "</table>";
$docx->embedHTML($return_txt);
$return_txt = "<table style="width:100%;">";
$return_txt .= "<tr style="height:150pt; vertical-align:top;"><td style="width:100pt;border:1px solid black"><p>My question is not so simple</p></td>";
$return_txt .= "<td style="border:1px dotted red; vertical-align:middle;"><p style="text-align: center;">here image</p></td></tr>";
$return_txt .= "</table>";
$docx->embedHTML($return_txt);
$docx->createDocx('Example');
?>[/code]