D20868: Support '#page=<pagenum>' fragment to open at page <pagenum>

Michael Weghorn noreply at phabricator.kde.org
Sat Apr 27 15:07:11 BST 2019


michaelweghorn created this revision.
michaelweghorn added a reviewer: Okular.
Herald added a project: Okular.
Herald added a subscriber: okular-devel.
michaelweghorn requested review of this revision.

REVISION SUMMARY
  Support the '#page=<pagenum>' fragment to specify which page
  to open the document at, in addition to the existing '#<pagenum>'
  syntax.
  For PDF, the '#page=<pagenum>' fragment is specified in RFC 8118,
  section 3.
  
  BUG: 406831

TEST PLAN
  1. Put a test file that has multiple pages at '/tmp/testfile.pdf'
  2. Check that all of the following commands open the test file on page 2:
  
    okular /tmp/testfile.pdf#2 okular /tmp/testfile.pdf#page=2 okular file:///tmp/testfile.pdf#2 okular file:///tmp/testfile.pdf#page=2

REPOSITORY
  R223 Okular

BRANCH
  michaelweghorn/kdebug406831_support_rfc_compliant_way_to_open_at_page

REVISION DETAIL
  https://phabricator.kde.org/D20868

AFFECTED FILES
  part.cpp

To: michaelweghorn, #okular
Cc: okular-devel, joaonetto, tfella, ngraham, darcyshen, aacid
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.kde.org/pipermail/okular-devel/attachments/20190427/69cedf31/attachment.html>


More information about the Okular-devel mailing list