Spire.PDF is a professional PDF library applied to creating, writing, editing, handling and reading PDF files without any external dependencies. Get free and professional technical support for Spire.PDF for .NET, Java, Android, C++, Python.

Thu Nov 30, 2017 2:08 pm

Hi

If you use extract text on the appended PDF you get the following result, plus some watermark stuff from the tool i used to edit out sensitive information. Also, some of the lines get a linebreak here in the forum where there actually isn't any, but the issue can be seen nonetheless:

Code: Select all
CHF                                                                                                         100%500 000     2 % Something or another bond                                                                                            103.65%                3.65%               518 250           0.29
2015-07.11.2020 Zinstermine:                            Kein Rating                                                                                             5 556           0.00
07.11. - 1                                                                                                                3.65%
1.34% EV             21.02.2017              29.09.2017
1.45% DR


The interesting part is the first line, as you can see the "100%" comes before the "500 000" and the "2% something or another bond", but if you look at the PDF, it comes afterwards.

Now, editing the file caused some changes to happen with the spaces, when converting the original file that first line looks like this:
Code: Select all
CHF100%       500 000     2 % Something or another bond                                                                                           103.65%                3.65%               518 250           0.29


What i'd expect is something like this:
Code: Select all
CHF       500 000     2 % Something or another bond             100%                                                                                          103.65%                3.65%               518 250           0.29

Naryoril
 
Posts: 6
Joined: Wed Sep 20, 2017 10:18 am

Fri Dec 01, 2017 3:11 am

Hello,

Thanks for your inquiry.
I have noticed the wrong order issue and referred it to our dev team.
Once there's any update, I will let you know.
Sorry for the inconvenience caused.

Sincerely,
Jane
E-iceblue support team
User avatar

Jane.Bai
 
Posts: 1156
Joined: Tue Nov 29, 2016 1:47 am

Mon Dec 04, 2017 7:23 am

Hello,

After a further investigation, our dev team found the "CHF" and “%100” are actually next to each other in the same line, because there is relatively large displacement between them, and the whole string overlaps the following string, it looks likes they are separate. Below is the screen shoot for the structure stated, I dragged the line upward to make it clearer.
12292.png

Since our Spire.PDF extracts the text on the basis of per string, the issue might not be resolved.
Sorry for the inconvenience caused.

Sincerely,
Jane
E-iceblue support team
User avatar

Jane.Bai
 
Posts: 1156
Joined: Tue Nov 29, 2016 1:47 am

Return to Spire.PDF