Spire.Doc is a professional Word .NET library specifically designed for developers to create, read, write, convert and print Word document files from any .NET platform (C#, VB.NET, ASP.NET, .NET Core) and Java applications (J2SE and J2EE) with fast and high quality performance.

Mon Aug 05, 2013 3:30 pm

I am using spire doc to parse through large word documents and save separate pages to PDFs. Basically it is splitting the word document into multiple PDF documents based on a barcode font. Attached is a text file with the method that creates a separate PDF file any time it finds a new barcode.

The issue I am having is that the format is not the same as the original document. For instance there is often a new line in the middle of a word instead of the word falling to a new line. So as an example in the original it may show
Long sentence written by Daniel

After I have it parsed by this method it would show
Long sentence written by Daniel Po

Any advice on how I improve how I parse through the document?
Thank You,
You do not have the required permissions to view the files attached to this post.

Posts: 7
Joined: Thu Mar 07, 2013 3:23 am

Tue Aug 06, 2013 3:05 am

Hello Daniel,

Thanks for your inquiry.

Sorry that we couldn't reproduce your issue, please provide us your original document to help us reproduce the issue, and we would work out the solution for you ASAP. If the document is large, and it couldn't be uploaded, you could send it to our Email(support@e-iceblue.com). Thanks.

E-iceblue support team
User avatar

Posts: 1380
Joined: Thu Apr 04, 2013 1:30 am

Return to Spire.Doc