zkh152 / xdocreport

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

docx->pdf converter: PDF output shows unexpected whitespace #323

Open GoogleCodeExporter opened 9 years ago

GoogleCodeExporter commented 9 years ago
What steps will reproduce the problem?
Create text in a docx not by continous typing but by copy/paste
See attached Sample.docx: 
- Type "XDoc" <Return> "Report"
- Cut "Report" and paste it behind "XDoc"
- Delete the blank between "XDoc" and "Report" inserted by Word's paste 
operation

What is the expected output? What do you see instead?
Converting this document to pdf shows a blank between "XDoc" and "Report"

What version of the product are you using? On what operating system?
1.0.4-SNAPSHOT on Windows XP

Please provide any additional information below.
Within Sample.docx the text is saved as:

- <w:p w:rsidR="00D62416" w:rsidRDefault="00D62416" w:rsidP="00D62416">
-  <w:r>
    <w:t>XDoc</w:t> 
   </w:r>
   <w:bookmarkStart w:id="0" w:name="_GoBack" /> 
   <w:bookmarkEnd w:id="0" /> 
-  <w:r>
    <w:t>Report</w:t> 
   </w:r>
  </w:p>
  <w:p w:rsidR="00374745" w:rsidRDefault="00374745" /> 

Original issue reported on code.google.com by jarland...@googlemail.com on 14 Nov 2013 at 9:03

Attachments:

GoogleCodeExporter commented 9 years ago

Original comment by angelo.z...@gmail.com on 14 Nov 2013 at 9:06

GoogleCodeExporter commented 9 years ago
Thank's to attach docx. I will try to fix when I will have time.

Regards Angelo

Original comment by angelo.z...@gmail.com on 14 Nov 2013 at 9:07

GoogleCodeExporter commented 9 years ago
The reasons for this "bookmark" tags and similar "rsidR" Tags are explained in 
this article:
http://answers.microsoft.com/en-us/office/forum/office_2010-word/how-to-save-an-
ms-word-2010-document-without-the/7c98753b-425b-40c5-a95f-e73f1c6f99e8?msgId=164
8dca9-2598-4c47-9f54-1072670628c0

However, administrative tags should not lead to extra characters in the pdf 
document...

Thank you!

Original comment by jarland...@googlemail.com on 14 Nov 2013 at 9:55