Forum


Replies: 4   Views: 4119
Docx to html trubble with lists
Topic closed:
Please note this is an old forum thread. Information in this post may be out-to-date and/or erroneous.
Every phpdocx version includes new features and improvements. Previously unsupported features may have been added to newer releases, or past issues may have been corrected.
We encourage you to download the current phpdocx version and check the Documentation available.

Posted by techno77  · 13-08-2013 - 09:56

Hello,



I'm converting docx to HTML. Using PHPDOCX 3.3.



$document = new TransformDoc();

$document->setStrFile($docxfilename);

$document->generateXHTML();

$document->validatorXHTML();

$row["html"] = $document->getStrXHTML();



 



That's ok, but when we have markered lists in DOCX document after converting phpdocx give us <p class="ae-P">.



Regural paragraph looks like <p class="Normal-P"> after convertion.



How to fix this problem? How to get standard HTML markered list

<ul>

<li>Item 1</li>

<li>Item 2</li>

<li>Item 3</li>

</ul>



insted of not usful <p class="ae-P">???