preserve multiple spaces between words using pdfbox

73 Views Asked by At

I have a pdf like this

pdf

but the extracted goes like this

Pocket,Light
Olive,M,469168485002
1475.63 364.23 1111.40 133.3761051020 2299.0

But i want the result with the preserved multi spaces present in the document

Hoodie with Kangaroo
Pocket,Light              61051020     2299.0     1475.63       364.23      1111.40       133.37
Olive,M,469168485002

I am expecting to get the result in preserved spaces that is present in pdf

0

There are 0 best solutions below