Menu

#6 Add ability to duplicate pages

open
logari81
None
5
2011-05-23
2011-04-04
No

Unless I'm missing something, the only way to duplicate pages is to import the PDF file multiple times and delete the pages you only want once. The attached patch adds that capability. When multiple pages are selected, it inserts the duplicates after the final page of the selection. This makes sense for contiguous selections, perhaps less so for non-contiguous selections. This patch takes advantage of the observation that the last page of the selection is the first returned in iconview.get_selected_items(). But I don't know if this behavior is guaranteed or just an accident.

Discussion

  • Robert Schroll

    Robert Schroll - 2011-04-04

    Patch

     
  • logari81

    logari81 - 2011-05-23

    thanks for your patch,

    however there is already support for duplicating pages. You can just press Ctrl while dragging the pages to the position you want to have the duplicate.

    I can consider including your patch in some future version so that this is also possible through the menu.

     
  • logari81

    logari81 - 2011-05-23
    • assigned_to: nobody --> logari81
     

Log in to post a comment.