Exit
  • Global community
    • Language:
      • Deutsch
      • English
      • EspaƱol
      • FranƧais
      • PortuguĆŖs
  • ę—„ęœ¬čŖžć‚³ćƒŸćƒ„ćƒ‹ćƒ†ć‚£
  • ķ•œźµ­ ģ»¤ė®¤ė‹ˆķ‹°
0

find paragraph in pdf or find multi line in the pdf using javascript

New Here ,
Jul 26, 2022 Jul 26, 2022

hey guys ,

i want to search paragraph in pdf using ctrl+f/ using  find field.but the problem is that i cant able to find paragragh/multi line in the pdf. Is there any way to find paragraph using javascript or is there any way to increase character limit in find field. please let me know the solutions/ideas.

TOPICS
Edit and convert PDFs , General troubleshooting , How to , JavaScript , Rich media and 3D , Standards and accessibility
1.7K
Translate
Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
Community Expert ,
Jul 26, 2022 Jul 26, 2022

Your question is not very clear. Do you want to search the text using a script, or using the built-in Search command? Either way, you can't limit it to a paragraph, as there's no such concept in a PDF file.

If you use a script you might be able to detect where one paragraph ends and another begins, but it's quite complicated to implement and you're probably going to get some false results.

Translate
Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
New Here ,
Jul 26, 2022 Jul 26, 2022

i would like to select the paragraph in the pdf , so i need to know if there is way to search paragraph through javascript in the adobe.js.png

Translate
Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
Community Expert ,
Jul 26, 2022 Jul 26, 2022

I don't think this will be possible.

Translate
Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
New Here ,
Jul 26, 2022 Jul 26, 2022

thanks dude for replying...I founded the javascript solution for it and its working pretty good šŸ™‚

text.png

Translate
Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
New Here ,
Sep 05, 2024 Sep 05, 2024
LATEST

Could you please provide that JavaScript code?

Translate
Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines