- Posts: 16
- Thank you received: 0
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
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é
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.
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.
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.
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é
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é
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
Last edit: 6 years 8 months ago by tommaso.
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?
Time to create page: 0.523 seconds