I must convert html file to docx, I used the XHTMLImportDocument;
the docx generated has lost the layout defined by css,
my Html is
- Code: Select all
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"><html xmlns="http://www.w3.org/1999/xhtml">
<head><meta content="text/html; charset='UTF-8'" http-equiv="Content-Type" /><link href="css/editor.css" type="text/css" rel="stylesheet" /> <title>WebSuite 4</title>
</head><body><p style="text-align: center;"><strong>TRIBUNALE DI ROMA</strong></p>
<p style="text-align: center;"><strong>ATTO DI CITAZIONE</strong></p>
<p style="text-align: center;"><strong>IN FATTO</strong></p>
<p style="text-align: justify;">Il signor Scategni Giuseppe , nato a Roma(RM), il 14/10/1959, residente in Roma (RM) in Via della Bufalotta, 378, (C.F.SCTGPP59R14H501I)</p>
<p style="text-align: justify;">Il signor Scategni Stefano , xxxx nato a Roma(RM), il 23/09/1963, residente in Ladispoli (RM) in Piazza del comune, 29, (C.F.SCTSFN61P23H501Q)</p>
<p>Esposizione dei fatti articolati per punti specifici.</p>
<p style="text-align: center;"><strong>IN DIRITTO</strong></p>
<p>Luogo e data</p>
<p>Avv. (firma)</p></body></html>
i think depends on my html page
can you help me thanks