We have moved to a new Sailfish OS Forum. Please start new discussions there.
27

Search in documents (pdf) [released]

asked 2014-02-10 09:38:41 +0300

Rolfa gravatar image

I have a lot of technical documentation in pdf format. To be able to search though a document would be very useful. Please add that feature.

The question has been closed for the following reason "released in a software update" by Damien Caliste
close date 2017-04-11 13:50:19.439021

add a comment

1 Answer

Sort by » oldest newest most voted
6

answered 2015-05-20 11:34:46 +0300

Hello,

I'm proposing an implementation for this, see : https://together.jolla.com/question/90317/help-improve-document-application/

Do you have any remarks on the interface for this ?

The code is visible in my github (toolbar branch).

link

Comments

I installed as follows:

This version works fine so far, but as I understand, the in-PDF search is not yet in that version. Could you please make a new rpm available? Thanks!

Rolfa ( 2015-05-20 15:06:15 +0300 )
1

I've done a 0.2 revision on github : https://github.com/dcaliste/sailfish-office/releases/ with the search function. Feel free to report any suggestion or bug.

Damien Caliste ( 2015-05-20 15:39:44 +0300 )

Hi, Grateful for your efforts on this. Works fine and highlighted text animation looks cute.

anandrkris ( 2015-05-20 16:57:57 +0300 )

I installed 1.1.14. In-pdf search is nicely implemented. Maybe a little animation of the magnifying glass while searching would be useful.

In some pdfs no text is found. I suspect because of embedded fonts. Example http://service.us.panasonic.com/OPERMANPDF/DMCLX7_ADV.PDF

Rolfa ( 2015-05-21 12:32:04 +0300 )

I didn't put it in the answer here, but some polishing in the implementation remain to be done, like a feeback during searching for long documet, indeed.

For your PDF example, I look for "pana" string and it (finally) found it in different places. It didn't highlight the pana of the logo on the first page because it is an image. But "pana" in the url below is found. for instance.

This implementation currently lacks of thinking for very long documents. Indeed, all occurencies are looked for before displaying them. Maybe a smarter implementation would be required at some point, but I think it's better to release this simple implementation first and optimize later, if needed.

Damien Caliste ( 2015-05-21 15:12:52 +0300 )
see more comments

Question tools

Follow
3 followers

Stats

Asked: 2014-02-10 09:38:41 +0300

Seen: 408 times

Last updated: May 20 '15