danishiumca / xdocreport

Automatically exported from code.google.com/p/xdocreport
0 stars 0 forks source link

HTML Text Styling is not retaining source font size and formatting #363

Open GoogleCodeExporter opened 9 years ago

GoogleCodeExporter commented 9 years ago
I tried to generate docx report using HTML Text Styling and used 
SyntaxKind.Html.  The generated output not retaining font size as well as 
formatting such as underlines etc. Am I missing something here to get the 
expected output?
 PFA attached document which depicts actual out put and expected out put.
 I am ready to give more information if required.

Xdoc version : docxandvelocity-0.9.1  
operating system :Windows XP SP3

Original issue reported on code.google.com by jvchb...@gmail.com on 30 Jan 2014 at 8:53

Attachments:

GoogleCodeExporter commented 9 years ago
0.9.1 doesn't support text styling. Please use 1.0.3 and see supported styles 
at 
https://code.google.com/p/xdocreport/wiki/DocxReportingJavaMainHTMLTextStyling

Original comment by angelo.z...@gmail.com on 30 Jan 2014 at 9:55

GoogleCodeExporter commented 9 years ago
The xdocreport version is 1.0.3. earlier comment has typo for version.

Original comment by jvchb...@gmail.com on 30 Jan 2014 at 10:12

GoogleCodeExporter commented 9 years ago
Please attach a simple java main+docx. Without that I cannot help you more.

Original comment by angelo.z...@gmail.com on 30 Jan 2014 at 10:14

GoogleCodeExporter commented 9 years ago
I attached java, data source file and output document for expected output.
DB credentials removed from java source files.

Original comment by jvchb...@gmail.com on 5 Feb 2014 at 6:52

Attachments:

GoogleCodeExporter commented 9 years ago
[deleted comment]
GoogleCodeExporter commented 9 years ago
Hi.
We have the same problem.
How we can do to have correct color for example.
HTML code:
<table style="width: 192px; height: 106px;" border="1">
<tbody>
<tr>
<td><strong>Cellule A1</strong></td>
<td><span style="color: #ff0000;">Cellule B1</span></td>
<td>Cellule C1</td>
</tr>
<tr>
<td>Cellule A2</td>
<td>Cellule B2</td>
<td>Cellule C2</td>
</tr>
<tr>
<td>Cellule A3</td>
<td>Cellule B3</td>
<td>Cellule C3</td>
</tr>
</tbody>
</table>

For example, style="color: #ff0000;" and border="1" is ignored 

Original comment by pmint.vi...@gmail.com on 22 Jan 2015 at 1:16

GoogleCodeExporter commented 9 years ago
Today it's not implemented, any contributions are welcome!

Original comment by angelo.z...@gmail.com on 22 Jan 2015 at 1:32