sonnv56 / xdocreport

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

When convert docx to pdf, the formatting changed a lot #355

Open GoogleCodeExporter opened 9 years ago

GoogleCodeExporter commented 9 years ago
What steps will reproduce the problem?
1.Run template.docx through the PDF converer code (eg see 
     attached modified java and associated docx file).
2.Observe the output in the PDF conversion (see attached pdf file)

What is the expected output? What do you see instead?
It is expected that the pdf formatting matches the docx exactly.

What version of the product are you using? On what operating system?
XDocReport 1.0.3,
Windows 7 Professional (service pack 1)
JDK : 1.6.0_31-b05
Eclipse Indigo

Please provide any additional information below.

Original issue reported on code.google.com by suyi7...@gmail.com on 21 Jan 2014 at 6:31

Attachments:

GoogleCodeExporter commented 9 years ago
Hi,

Please describe more your problem insead of telling "the formatting changed a 
lot".

Many thank's.

Regards Angelo

Original comment by angelo.z...@gmail.com on 21 Jan 2014 at 7:53

GoogleCodeExporter commented 9 years ago
Hi,

Can you compare the docx and the pdf file? if you compare the two, you will 
found lots thing changed, border line missing, font changed, page break down 
etc, actually what i expect the pdf should be the same formatting as docx.

Thanks & Regards
Zhao Yu

Original comment by suyi7...@gmail.com on 21 Jan 2014 at 9:18

GoogleCodeExporter commented 9 years ago
Convert docx->pdf is a very hard task and we know that our converter are not 
perfect. To improve it, we need know each improvment to do. 

I have no time to study and compare docx and pdf file and I must know each 
problem to see if it's easy to do or not and creates after an issues per 
problem. That's why I would like to have a list of problems. It seems that you 
have problems with :

 * border line missing : border si done with table border? If it's that, I know that there is problem with table border but it's very hard to manage it.
 * font changed : (which font?) are use sure that you have installed font in your computer?
 * page break down. I must study why converter do that.

Original comment by angelo.z...@gmail.com on 21 Jan 2014 at 9:36