PDF Search - RadaeePDF.com
Signin/Signup with: 
Welcome, Guest
Username: Password: Remember me
Questions about Android development and PDF
  • Page:
  • 1
  • 2

TOPIC: PDF Search

PDF Search 1 week 1 day ago #14528

  • tommaso
  • tommaso's Avatar Topic Author
  • Offline
  • Fresh Boarder
  • Fresh Boarder
  • Posts: 16
  • Thank you received: 0
Hi,
I've a problem searching text on pdf document.

I'm using com.radaee.reader -> PDFGLLayoutView to open pdf
and com.radaee.reader.PDFGLLayoutView -> PDFFindStart("02", false, false) to start search
and com.radaee.reader.PDFGLLayoutView -> PDFFind(1) for next occurrence
but seem that PDFFind doesn't work proprely doesn't change page according to search, and doesn't clear previous selection
probably I missing something



Thanks in advance
regards
Tommaso Honoré
Attachments:

Please Log in or Create an account to join the conversation.

Last edit: by tommaso.

PDF Search 1 week 9 hours ago #14529

  • luca.f
  • luca.f's Avatar
  • Offline
  • Moderator
  • Moderator
  • Posts: 23
  • Thank you received: 1
Dear user,
Have you tried with the default implementation on the demo? We tested this and didn't encounter any problem.
What do you mean by it not working properly?
if you're writing a custom implementation i suggest you to take a look at the method activateSearch() of PDFViewController(), and keep it as a reference.

Please Log in or Create an account to join the conversation.

PDF Search 1 week 9 hours ago #14530

  • tommaso
  • tommaso's Avatar Topic Author
  • Offline
  • Fresh Boarder
  • Fresh Boarder
  • Posts: 16
  • Thank you received: 0
Hi Luca,
as you can see in the image attached the pdf page doesn't change correctly
and previously selections when I search next result remain active.
I simply use com.radaee.reader.PDFGLLayoutView with ILayoutView implementation of search calling:
PDFFindStart("02", false, false)
PDFFind(1)
Ps Managed on PdfViewDual in the same way works fine (But PdfViewDual is deprecated)

Thanks
Tommaso Honoré
Attachments:

Please Log in or Create an account to join the conversation.

PDF Search 1 week 4 hours ago #14531

  • tommaso
  • tommaso's Avatar Topic Author
  • Offline
  • Fresh Boarder
  • Fresh Boarder
  • Posts: 16
  • Thank you received: 0
Hi Luca,
I've try with com.radaee.util.RadaeePDFManager
but the problem persist, first time search seems to be ok but on next result page doesn't change and selection remain active
Attachments:

Please Log in or Create an account to join the conversation.

Last edit: by tommaso.

PDF Search 6 days 10 hours ago #14532

  • luca.f
  • luca.f's Avatar
  • Offline
  • Moderator
  • Moderator
  • Posts: 23
  • Thank you received: 1
we can't replicate this problem with the demo version, could you provide the pdf file?

Please Log in or Create an account to join the conversation.

PDF Search 6 days 9 hours ago #14533

  • tommaso
  • tommaso's Avatar Topic Author
  • Offline
  • Fresh Boarder
  • Fresh Boarder
  • Posts: 16
  • Thank you received: 0
Hi Luca,
I've the same issue with all pdf file.
Have you try to use right arrow to search for next result on a pdf drawed in landscape? global.SetField("def_view", 6)

Seems that work only first time and on serchedittext_ReturnClick but not on next previous arrow
Attachments:

Please Log in or Create an account to join the conversation.

  • Page:
  • 1
  • 2
Powered by Kunena Forum