How to recognize in Acrobat new line "\n" or any whitespaces in PDF using javascript ?

P

Ptaku25

I need so hard find in PDF file whitespaces ( the most important for me
is new line "\n" ) after each row in PDF file using Acrobat Javascript
Object version 5.0, but I don't know how to do this :-(. Because I need
to know when each line of row is finish. How to recognize if each line
is finish in PDF file ??? One of the method is find the newline sign
"\n". Do you know about other method ???

I can try use: getPageNumWords() function but this function only can
catch words but unfortunattely NOT whitespace even if I set parameter
bStrip to false:
"bStrip is a boolean indicating that punctuation and whitespace should
be removed from the
word before returning. Default is true.

Or maybe I should use other method ??? Or other SDK in other
programming language ???
How to do this ???


Regards,
Piotrek
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Members online

Forum statistics

Threads
473,982
Messages
2,570,190
Members
46,740
Latest member
AdolphBig6

Latest Threads

Top