Page 1 of 1

horizontal rule

PostPosted: Sun May 08, 2016 5:04 am
by hgosalia
Hi - I'm using v3.3.0 and I have an XHTML page i'm converting to DOCX. I have horizontal rules <hr> tags across my XHTML document but they seem to be styled using the hardcoded style as specified in XHTMLImporterImpl.java (see code block below)... is there a plan to support a custom style for <hr> tags?

Code: Select all
<w:p xmlns:w="http://schemas.openxmlformats.org/wordprocessingml/2006/main">
  <w:r>
     <w:pict>
         <v:rect xmlns:v="urn:schemas-microsoft-com:vml" xmlns:o="urn:schemas-microsoft-com:office:office" id="_x0000_i1025" style="width:0;height:1.5pt" o:hralign="center" o:hrstd="t" o:hr="t" fillcolor="#a0a0a0" stroked="f"/>
     </w:pict>
  </w:r>
</w:p>

Re: horizontal rule

PostPosted: Sun May 08, 2016 1:20 pm
by jason
No plans to do that, but pull requests welcome :-)