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

TOPIC:

PDF Search 4 years 7 months ago #14528

  • tommaso
  • tommaso's Avatar Topic Author
  • Offline
  • New Member
  • New Member
  • 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 4 years 7 months ago #14529

  • luca.f
  • luca.f's Avatar
  • Offline
  • User is blocked
  • User is blocked
  • Posts: 93
  • Thank you received: 10
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 4 years 7 months ago #14530

  • tommaso
  • tommaso's Avatar Topic Author
  • Offline
  • New Member
  • New Member
  • 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 4 years 7 months ago #14531

  • tommaso
  • tommaso's Avatar Topic Author
  • Offline
  • New Member
  • New Member
  • 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 4 years 7 months ago #14532

  • luca.f
  • luca.f's Avatar
  • Offline
  • User is blocked
  • User is blocked
  • Posts: 93
  • Thank you received: 10
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 4 years 7 months ago #14533

  • tommaso
  • tommaso's Avatar Topic Author
  • Offline
  • New Member
  • New Member
  • 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