get/set pdf page number

Think CEF could benefit from a new feature or capability? Discuss CEF feature requests here.

get/set pdf page number

Postby RaelB » Mon Jul 22, 2019 6:06 pm

Hello,

As far as I can tell this does not yet exist. It would be useful to be able to get/set current pdf page number.

Thanks
Rael
RaelB
Newbie
 
Posts: 3
Joined: Mon Jul 22, 2019 2:31 pm

Re: get/set pdf page number

Postby magreenblatt » Mon Jul 22, 2019 6:40 pm

Do you mean print a range of pages?
magreenblatt
Site Admin
 
Posts: 9831
Joined: Fri May 29, 2009 6:57 pm

Re: get/set pdf page number

Postby RaelB » Sun Jul 28, 2019 10:12 pm

No. After a pdf file is loaded into the browser (from url), have the possibility to move to a certain page. The exact page number would be saved from a previous session.

In my application, the user can browse through a collection of pdf files. I would like to be able to move to the location they were last at for each pdf file.
RaelB
Newbie
 
Posts: 3
Joined: Mon Jul 22, 2019 2:31 pm

Re: get/set pdf page number

Postby magreenblatt » Mon Jul 29, 2019 10:05 am

You can specify the page as part of the URL, for example https://pdfobject.com/static/.
magreenblatt
Site Admin
 
Posts: 9831
Joined: Fri May 29, 2009 6:57 pm

Re: get/set pdf page number

Postby RaelB » Mon Jul 29, 2019 10:46 am

That is useful. But how to read what page the user is on?
RaelB
Newbie
 
Posts: 3
Joined: Mon Jul 22, 2019 2:31 pm

Re: get/set pdf page number

Postby magreenblatt » Mon Jul 29, 2019 10:52 am

RaelB wrote:That is useful. But how to read what page the user is on?

That does not appear to be supported by the Chrome PDF viewer. One potential hack is mentioned here.
magreenblatt
Site Admin
 
Posts: 9831
Joined: Fri May 29, 2009 6:57 pm


Return to Feature Request Forum

Who is online

Users browsing this forum: No registered users and 2 guests