Microsoft Windows Phone 8.1 support ends (13 Jul 2017)

Microsoft has ended support for Windows Phone 8.1

Questions about Android development and PDF

PDF Search

More
IP: 79.60.238.187 6 years 8 months ago - 6 years 8 months ago #14528 by tommaso
PDF Search was created by tommaso
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é
Last edit: 6 years 8 months ago by tommaso.
More
IP: 37.183.44.177 6 years 8 months ago #14529 by luca.f
Replied by luca.f on topic PDF Search
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.
More
IP: 79.60.238.187 6 years 8 months ago #14530 by tommaso
Replied by tommaso on topic PDF Search
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é
More
IP: 79.60.238.187 6 years 8 months ago - 6 years 8 months ago #14531 by tommaso
Replied by tommaso on topic PDF Search
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
Last edit: 6 years 8 months ago by tommaso.
More
IP: 37.183.44.177 6 years 8 months ago #14532 by luca.f
Replied by luca.f on topic PDF Search
we can't replicate this problem with the demo version, could you provide the pdf file?
More
IP: 79.60.238.187 6 years 8 months ago #14533 by tommaso
Replied by tommaso on topic PDF Search
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
Time to create page: 0.523 seconds
Powered by Kunena Forum