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

No members online now.

Forum statistics

Threads
473,769
Messages
2,569,580
Members
45,054
Latest member
TrimKetoBoost

Latest Threads

Top