pdfshuffler-0.6.0/doc/pdfshuffler.10000664000175000017500000000144511747055153017040 0ustar logari81logari81.TH PDFSHUFFLER 1 "April 2012" "version 0.6" "User Manuals" .SH "NAME" PDF-Shuffler \- Application for PDF Merging, Rearranging, and Splitting .SH "SYNOPSIS" .B pdfshuffler [file1] [file2] ... .SH "DESCRIPTION" .B PDF-Shuffler is a small python-gtk application, which helps the user to merge or split pdf documents and rearrange their pages using an interactive and intuitive graphical interface. In the current version, page rotation and cropping is also supported. PDF-Shuffler is a frontend for python-pyPdf. .SH "OPTIONS" Currently PDF-Shuffler doesn't receive any options. .SH "FILES" Currently PDF-Shuffler has no configuration file. .SH "ENVIRONMENT" All gtk related enviroment variables. .SH "DIAGNOSTICS" Common python and gtk diagnostics. .SH "AUTHOR" Konstantinos Poulios pdfshuffler-0.6.0/bin/pdfshuffler0000775000175000017500000000216211724753146016706 0ustar logari81logari81#!/usr/bin/python # -*- coding: utf-8 -*- """ PdfShuffler 0.6.0 - GTK+ based utility for splitting, rearrangement and modification of PDF documents. Copyright (C) 2008-2012 Konstantinos Poulios This file is part of PdfShuffler. PdfShuffler is free software; you can redistribute it and/or modify it under the terms of the GNU General Public License as published by the Free Software Foundation; either version 3 of the License, or (at your option) any later version. This program is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License for more details. You should have received a copy of the GNU General Public License along with this program; if not, write to the Free Software Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA. """ try: from pdfshuffler.pdfshuffler import main main() except ImportError as e: print('Error: Could not import pdfshuffler') print('Cause: %s' % e) pdfshuffler-0.6.0/pdfshuffler/pdfshuffler.py0000664000175000017500000012743011746775565021115 0ustar logari81logari81#!/usr/bin/python # -*- coding: utf-8 -*- """ PdfShuffler 0.6.0 - GTK+ based utility for splitting, rearrangement and modification of PDF documents. Copyright (C) 2008-2012 Konstantinos Poulios This file is part of PdfShuffler. PdfShuffler is free software; you can redistribute it and/or modify it under the terms of the GNU General Public License as published by the Free Software Foundation; either version 3 of the License, or (at your option) any later version. This program is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License for more details. You should have received a copy of the GNU General Public License along with this program; if not, write to the Free Software Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA. """ import os import shutil # for file operations like whole directory deletion import sys # for proccessing of command line args import urllib # for parsing filename information passed by DnD import threading import tempfile from copy import copy import locale #for multilanguage support import gettext gettext.install('pdfshuffler', unicode=1) APPNAME = 'PdfShuffler' # PDF-Shuffler, PDFShuffler, pdfshuffler VERSION = '0.6.0' WEBSITE = 'http://pdfshuffler.sourceforge.net/' LICENSE = 'GNU General Public License (GPL) Version 3.' try: import pygtk pygtk.require('2.0') import gtk assert gtk.gtk_version >= (2, 10, 0) assert gtk.pygtk_version >= (2, 10, 0) except AssertionError: print('You do not have the required versions of GTK+ and PyGTK ' + 'installed.\n\n' + 'Installed GTK+ version is ' + '.'.join([str(n) for n in gtk.gtk_version]) + '\n' + 'Required GTK+ version is 2.10.0 or higher\n\n' 'Installed PyGTK version is ' + '.'.join([str(n) for n in gtk.pygtk_version]) + '\n' + 'Required PyGTK version is 2.10.0 or higher') sys.exit(1) except: print('PyGTK version 2.10.0 or higher is required to run this program.') print('No version of PyGTK was found on your system.') sys.exit(1) import gobject # for using custom signals import pango # for adjusting the text alignment in CellRendererText import gio # for inquiring mime types information import cairo import poppler #for the rendering of pdf pages from pyPdf import PdfFileWriter, PdfFileReader from pdfshuffler_iconview import CellRendererImage gobject.type_register(CellRendererImage) import time class PdfShuffler: prefs = { 'window width': min(700, gtk.gdk.screen_get_default().get_width() / 2), 'window height': min(600, gtk.gdk.screen_get_default().get_height() - 50), 'window x': 0, 'window y': 0, 'initial thumbnail size': 300, 'initial zoom level': -14, } MODEL_ROW_INTERN = 1001 MODEL_ROW_EXTERN = 1002 TEXT_URI_LIST = 1003 MODEL_ROW_MOTION = 1004 TARGETS_IV = [('MODEL_ROW_INTERN', gtk.TARGET_SAME_WIDGET, MODEL_ROW_INTERN), ('MODEL_ROW_EXTERN', gtk.TARGET_OTHER_APP, MODEL_ROW_EXTERN), ('MODEL_ROW_MOTION', 0, MODEL_ROW_MOTION)] TARGETS_SW = [('text/uri-list', 0, TEXT_URI_LIST), ('MODEL_ROW_EXTERN', gtk.TARGET_OTHER_APP, MODEL_ROW_EXTERN)] def __init__(self): # Create the temporary directory self.tmp_dir = tempfile.mkdtemp("pdfshuffler") os.chmod(self.tmp_dir, 0700) icon_theme = gtk.icon_theme_get_default() try: gtk.window_set_default_icon(icon_theme.load_icon("pdfshuffler", 64, 0)) except: print(_("Can't load icon. Application is not installed correctly.")) # Import the user interface file, trying different possible locations ui_path = '/usr/share/pdfshuffler/pdfshuffler.ui' if not os.path.exists(ui_path): ui_path = '/usr/local/share/pdfshuffler/pdfshuffler.ui' if not os.path.exists(ui_path): parent_dir = os.path.dirname( \ os.path.dirname(os.path.realpath(__file__))) ui_path = os.path.join(parent_dir, 'data', 'pdfshuffler.ui') if not os.path.exists(ui_path): head, tail = os.path.split(parent_dir) while tail != 'lib' and tail != '': head, tail = os.path.split(head) if tail == 'lib': ui_path = os.path.join(head, 'share', 'pdfshuffler', \ 'pdfshuffler.ui') self.uiXML = gtk.Builder() self.uiXML.add_from_file(ui_path) self.uiXML.connect_signals(self) # Create the main window, and attach delete_event signal to terminating # the application self.window = self.uiXML.get_object('main_window') self.window.set_title(APPNAME) self.window.set_border_width(0) self.window.move(self.prefs['window x'], self.prefs['window y']) self.window.set_default_size(self.prefs['window width'], self.prefs['window height']) self.window.connect('delete_event', self.close_application) # Create a scrolled window to hold the thumbnails-container self.sw = self.uiXML.get_object('scrolledwindow') self.sw.drag_dest_set(gtk.DEST_DEFAULT_MOTION | gtk.DEST_DEFAULT_HIGHLIGHT | gtk.DEST_DEFAULT_DROP | gtk.DEST_DEFAULT_MOTION, self.TARGETS_SW, gtk.gdk.ACTION_COPY | gtk.gdk.ACTION_MOVE) self.sw.connect('drag_data_received', self.sw_dnd_received_data) self.sw.connect('button_press_event', self.sw_button_press_event) self.sw.connect('scroll_event', self.sw_scroll_event) # Create an alignment to keep the thumbnails center-aligned align = gtk.Alignment(0.5, 0.5, 0, 0) self.sw.add_with_viewport(align) # Create ListStore model and IconView self.model = gtk.ListStore(str, # 0.Text descriptor gobject.TYPE_PYOBJECT, # 1.Cached page image int, # 2.Document number int, # 3.Page number float, # 4.Scale str, # 5.Document filename int, # 6.Rotation angle float, # 7.Crop left float, # 8.Crop right float, # 9.Crop top float, # 10.Crop bottom int, # 11.Page width int, # 12.Page height float) # 13.Resampling factor self.zoom_set(self.prefs['initial zoom level']) self.iv_col_width = self.prefs['initial thumbnail size'] self.iconview = gtk.IconView(self.model) self.iconview.set_item_width(self.iv_col_width + 12) self.cellthmb = CellRendererImage() self.iconview.pack_start(self.cellthmb, False) self.iconview.set_attributes(self.cellthmb, image=1, scale=4, rotation=6, cropL=7, cropR=8, cropT=9, cropB=10, width=11, height=12, resample=13) self.celltxt = gtk.CellRendererText() self.celltxt.set_property('width', self.iv_col_width) self.celltxt.set_property('wrap-width', self.iv_col_width) self.celltxt.set_property('alignment', pango.ALIGN_CENTER) self.iconview.pack_start(self.celltxt, False) self.iconview.set_attributes(self.celltxt, text=0) self.iconview.set_selection_mode(gtk.SELECTION_MULTIPLE) self.iconview.enable_model_drag_source(gtk.gdk.BUTTON1_MASK, self.TARGETS_IV, gtk.gdk.ACTION_COPY | gtk.gdk.ACTION_MOVE) self.iconview.enable_model_drag_dest(self.TARGETS_IV, gtk.gdk.ACTION_DEFAULT) self.iconview.connect('drag_begin', self.iv_drag_begin) self.iconview.connect('drag_data_get', self.iv_dnd_get_data) self.iconview.connect('drag_data_received', self.iv_dnd_received_data) self.iconview.connect('drag_data_delete', self.iv_dnd_data_delete) self.iconview.connect('drag_motion', self.iv_dnd_motion) self.iconview.connect('drag_leave', self.iv_dnd_leave_end) self.iconview.connect('drag_end', self.iv_dnd_leave_end) self.iconview.connect('button_press_event', self.iv_button_press_event) align.add(self.iconview) # Progress bar self.progress_bar = self.uiXML.get_object('progressbar') self.progress_bar_timeout_id = 0 # Define window callback function and show window self.window.connect('size_allocate', self.on_window_size_request) # resize self.window.connect('key_press_event', self.on_keypress_event ) # keypress self.window.show_all() self.progress_bar.hide_all() # Change iconview color background style = self.sw.get_style().copy() for state in (gtk.STATE_NORMAL, gtk.STATE_PRELIGHT, gtk.STATE_ACTIVE): style.base[state] = style.bg[gtk.STATE_NORMAL] self.iconview.set_style(style) # Creating the popup menu self.popup = gtk.Menu() popup_rotate_right = gtk.ImageMenuItem(_('_Rotate Right')) popup_rotate_left = gtk.ImageMenuItem(_('Rotate _Left')) popup_crop = gtk.MenuItem(_('C_rop...')) popup_delete = gtk.ImageMenuItem(gtk.STOCK_DELETE) popup_saveselection = gtk.MenuItem(_('_Export selection...')) popup_rotate_right.connect('activate', self.rotate_page_right) popup_rotate_left.connect('activate', self.rotate_page_left) popup_crop.connect('activate', self.crop_page_dialog) popup_delete.connect('activate', self.clear_selected) popup_saveselection.connect('activate', self.choose_export_pdf_name, True) popup_rotate_right.show() popup_rotate_left.show() popup_crop.show() popup_delete.show() popup_saveselection.show() self.popup.append(popup_rotate_right) self.popup.append(popup_rotate_left) self.popup.append(popup_crop) self.popup.append(popup_delete) self.popup.append(popup_saveselection) # Initializing variables self.export_directory = os.getenv('HOME') self.import_directory = self.export_directory self.nfile = 0 self.iv_auto_scroll_direction = 0 self.iv_auto_scroll_timer = None self.pdfqueue = [] gobject.type_register(PDF_Renderer) gobject.signal_new('update_thumbnail', PDF_Renderer, gobject.SIGNAL_RUN_FIRST, gobject.TYPE_NONE, [gobject.TYPE_INT, gobject.TYPE_PYOBJECT, gobject.TYPE_FLOAT]) self.rendering_thread = 0 self.set_unsaved(False) # Importing documents passed as command line arguments for filename in sys.argv[1:]: self.add_pdf_pages(filename) def render(self): if self.rendering_thread: self.rendering_thread.quit = True self.rendering_thread.join() #FIXME: the resample=2. factor has to be dynamic when lazy rendering # is implemented self.rendering_thread = PDF_Renderer(self.model, self.pdfqueue, 2) self.rendering_thread.connect('update_thumbnail', self.update_thumbnail) self.rendering_thread.start() if self.progress_bar_timeout_id: gobject.source_remove(self.progress_bar_timeout_id) self.progress_bar_timout_id = \ gobject.timeout_add(50, self.progress_bar_timeout) def set_unsaved(self, flag): self.is_unsaved = flag gobject.idle_add(self.retitle) def retitle(self): title = '' if len(self.pdfqueue) == 1: title += self.pdfqueue[0].filename elif len(self.pdfqueue) == 0: title += _("No document") else: title += _("Several documents") if self.is_unsaved: title += '*' title += ' - ' + APPNAME self.window.set_title(title) def progress_bar_timeout(self): cnt_finished = 0 cnt_all = 0 for row in self.model: cnt_all += 1 if row[1]: cnt_finished += 1 fraction = float(cnt_finished)/float(cnt_all) self.progress_bar.set_fraction(fraction) self.progress_bar.set_text(_('Rendering thumbnails... [%(i1)s/%(i2)s]') % {'i1' : cnt_finished, 'i2' : cnt_all}) if fraction >= 0.999: self.progress_bar.hide_all() return False elif not self.progress_bar.flags() & gtk.VISIBLE: self.progress_bar.show_all() return True def update_thumbnail(self, object, num, thumbnail, resample): row = self.model[num] gtk.gdk.threads_enter() row[13] = resample row[4] = self.zoom_scale row[1] = thumbnail gtk.gdk.threads_leave() def on_window_size_request(self, window, event): """Main Window resize - workaround for autosetting of iconview cols no.""" #add 12 because of: http://bugzilla.gnome.org/show_bug.cgi?id=570152 col_num = 9 * window.get_size()[0] \ / (10 * (self.iv_col_width + self.iconview.get_column_spacing() * 2)) self.iconview.set_columns(col_num) def update_geometry(self, iter): """Recomputes the width and height of the rotated page and saves the result in the ListStore""" if not self.model.iter_is_valid(iter): return nfile, npage, rotation = self.model.get(iter, 2, 3, 6) crop = self.model.get(iter, 7, 8, 9, 10) page = self.pdfqueue[nfile-1].document.get_page(npage-1) w0, h0 = page.get_size() rotation = int(rotation) % 360 rotation = ((rotation + 45) / 90) * 90 if rotation == 90 or rotation == 270: w1, h1 = h0, w0 else: w1, h1 = w0, h0 self.model.set(iter, 11, w1, 12, h1) def reset_iv_width(self, renderer=None): """Reconfigures the width of the iconview columns""" if not self.model.get_iter_first(): #just checking if model is empty return max_w = 10 + int(max(row[4]*row[11]*(1.-row[7]-row[8]) \ for row in self.model)) if max_w != self.iv_col_width: self.iv_col_width = max_w self.celltxt.set_property('width', self.iv_col_width) self.celltxt.set_property('wrap-width', self.iv_col_width) self.iconview.set_item_width(self.iv_col_width + 12) #-1) self.on_window_size_request(self.window, None) def on_keypress_event(self, widget, event): """Keypress events in Main Window""" #keyname = gtk.gdk.keyval_name(event.keyval) if event.keyval == 65535: # Delete keystroke self.clear_selected() def close_application(self, widget, event=None, data=None): """Termination""" if self.rendering_thread: self.rendering_thread.quit = True self.rendering_thread.join() if os.path.isdir(self.tmp_dir): shutil.rmtree(self.tmp_dir) if gtk.main_level(): gtk.main_quit() else: sys.exit(0) return False def add_pdf_pages(self, filename, firstpage=None, lastpage=None, angle=0, crop=[0.,0.,0.,0.]): """Add pages of a pdf document to the model""" res = False # Check if the document has already been loaded pdfdoc = None for it_pdfdoc in self.pdfqueue: if os.path.isfile(it_pdfdoc.filename) and \ os.path.samefile(filename, it_pdfdoc.filename) and \ os.path.getmtime(filename) is it_pdfdoc.mtime: pdfdoc = it_pdfdoc break if not pdfdoc: pdfdoc = PDF_Doc(filename, self.nfile, self.tmp_dir) self.import_directory = os.path.split(filename)[0] self.export_directory = self.import_directory if pdfdoc.nfile != 0 and pdfdoc != []: self.nfile = pdfdoc.nfile self.pdfqueue.append(pdfdoc) else: return res n_start = 1 n_end = pdfdoc.npage if firstpage: n_start = min(n_end, max(1, firstpage)) if lastpage: n_end = max(n_start, min(n_end, lastpage)) for npage in range(n_start, n_end + 1): descriptor = ''.join([pdfdoc.shortname, '\n', _('page'), ' ', str(npage)]) page = pdfdoc.document.get_page(npage-1) w, h = page.get_size() iter = self.model.append((descriptor, # 0 None, # 1 pdfdoc.nfile, # 2 npage, # 3 self.zoom_scale, # 4 pdfdoc.filename, # 5 angle, # 6 crop[0],crop[1], # 7-8 crop[2],crop[3], # 9-10 w,h, # 11-12 2. )) # 13 FIXME self.update_geometry(iter) res = True self.reset_iv_width() gobject.idle_add(self.retitle) if res: gobject.idle_add(self.render) return res def choose_export_pdf_name(self, widget=None, only_selected=False): """Handles choosing a name for exporting """ chooser = gtk.FileChooserDialog(title=_('Export ...'), action=gtk.FILE_CHOOSER_ACTION_SAVE, buttons=(gtk.STOCK_CANCEL, gtk.RESPONSE_CANCEL, gtk.STOCK_SAVE, gtk.RESPONSE_OK)) chooser.set_do_overwrite_confirmation(True) chooser.set_current_folder(self.export_directory) filter_pdf = gtk.FileFilter() filter_pdf.set_name(_('PDF files')) filter_pdf.add_mime_type('application/pdf') chooser.add_filter(filter_pdf) filter_all = gtk.FileFilter() filter_all.set_name(_('All files')) filter_all.add_pattern('*') chooser.add_filter(filter_all) while True: response = chooser.run() if response == gtk.RESPONSE_OK: file_out = chooser.get_filename() (path, shortname) = os.path.split(file_out) (shortname, ext) = os.path.splitext(shortname) if ext.lower() != '.pdf': file_out = file_out + '.pdf' try: self.export_to_file(file_out, only_selected) self.export_directory = path self.set_unsaved(False) except Exception, e: chooser.destroy() error_msg_dlg = gtk.MessageDialog(flags=gtk.DIALOG_MODAL, type=gtk.MESSAGE_ERROR, message_format=str(e), buttons=gtk.BUTTONS_OK) response = error_msg_dlg.run() if response == gtk.RESPONSE_OK: error_msg_dlg.destroy() return break chooser.destroy() def export_to_file(self, file_out, only_selected=False): """Export to file""" selection = self.iconview.get_selected_items() pdf_output = PdfFileWriter() pdf_input = [] for pdfdoc in self.pdfqueue: pdfdoc_inp = PdfFileReader(file(pdfdoc.copyname, 'rb')) if pdfdoc_inp.getIsEncrypted(): try: # Workaround for lp:#355479 stat = pdfdoc_inp.decrypt('') except: stat = 0 if (stat!=1): errmsg = _('File %s is encrypted.\n' 'Support for encrypted files has not been implemented yet.\n' 'File export failed.') % pdfdoc.filename raise Exception, errmsg #FIXME #else # ask for password and decrypt file pdf_input.append(pdfdoc_inp) for row in self.model: if only_selected and row.path not in selection: continue # add pages from input to output document nfile = row[2] npage = row[3] current_page = copy(pdf_input[nfile-1].getPage(npage-1)) angle = row[6] angle0 = current_page.get("/Rotate",0) crop = [row[7],row[8],row[9],row[10]] if angle != 0: current_page.rotateClockwise(angle) if crop != [0.,0.,0.,0.]: rotate_times = (((angle + angle0) % 360 + 45) / 90) % 4 crop_init = crop if rotate_times != 0: perm = [0,2,1,3] for it in range(rotate_times): perm.append(perm.pop(0)) perm.insert(1,perm.pop(2)) crop = [crop_init[perm[side]] for side in range(4)] #(x1, y1) = current_page.cropBox.lowerLeft #(x2, y2) = current_page.cropBox.upperRight (x1, y1) = [float(xy) for xy in current_page.mediaBox.lowerLeft] (x2, y2) = [float(xy) for xy in current_page.mediaBox.upperRight] x1_new = int(x1 + (x2-x1) * crop[0]) x2_new = int(x2 - (x2-x1) * crop[1]) y1_new = int(y1 + (y2-y1) * crop[3]) y2_new = int(y2 - (y2-y1) * crop[2]) #current_page.cropBox.lowerLeft = (x1_new, y1_new) #current_page.cropBox.upperRight = (x2_new, y2_new) current_page.mediaBox.lowerLeft = (x1_new, y1_new) current_page.mediaBox.upperRight = (x2_new, y2_new) pdf_output.addPage(current_page) # finally, write "output" to document-output.pdf pdf_output.write(file(file_out, 'wb')) def on_action_add_doc_activate(self, widget, data=None): """Import doc""" chooser = gtk.FileChooserDialog(title=_('Import...'), action=gtk.FILE_CHOOSER_ACTION_OPEN, buttons=(gtk.STOCK_CANCEL, gtk.RESPONSE_CANCEL, gtk.STOCK_OPEN, gtk.RESPONSE_OK)) chooser.set_current_folder(self.import_directory) chooser.set_select_multiple(True) filter_all = gtk.FileFilter() filter_all.set_name(_('All files')) filter_all.add_pattern('*') chooser.add_filter(filter_all) filter_pdf = gtk.FileFilter() filter_pdf.set_name(_('PDF files')) filter_pdf.add_mime_type('application/pdf') chooser.add_filter(filter_pdf) chooser.set_filter(filter_pdf) response = chooser.run() if response == gtk.RESPONSE_OK: for filename in chooser.get_filenames(): if os.path.isfile(filename): # FIXME f = gio.File(filename) f_info = f.query_info('standard::content-type') mime_type = f_info.get_content_type() expected_mime_type = 'application/pdf' if mime_type == expected_mime_type: self.add_pdf_pages(filename) elif mime_type[:34] == 'application/vnd.oasis.opendocument': print(_('OpenDocument not supported yet!')) elif mime_type[:5] == 'image': print(_('Image file not supported yet!')) else: print(_('File type not supported!')) else: print(_('File %s does not exist') % filename) elif response == gtk.RESPONSE_CANCEL: print(_('Closed, no files selected')) chooser.destroy() gobject.idle_add(self.retitle) def clear_selected(self, button=None): """Removes the selected elements in the IconView""" model = self.iconview.get_model() selection = self.iconview.get_selected_items() if selection: selection.sort(reverse=True) self.set_unsaved(True) for path in selection: iter = model.get_iter(path) model.remove(iter) path = selection[-1] self.iconview.select_path(path) if not self.iconview.path_is_selected(path): if len(model) > 0: # select the last row row = model[-1] path = row.path self.iconview.select_path(path) self.iconview.grab_focus() def iv_drag_begin(self, iconview, context): """Sets custom icon on drag begin for multiple items selected""" if len(iconview.get_selected_items()) > 1: iconview.stop_emission('drag_begin') context.set_icon_stock(gtk.STOCK_DND_MULTIPLE, 0, 0) def iv_dnd_get_data(self, iconview, context, selection_data, target_id, etime): """Handles requests for data by drag and drop in iconview""" model = iconview.get_model() selection = self.iconview.get_selected_items() selection.sort(key=lambda x: x[0]) data = [] for path in selection: if selection_data.target == 'MODEL_ROW_INTERN': data.append(str(path[0])) elif selection_data.target == 'MODEL_ROW_EXTERN': iter = model.get_iter(path) nfile, npage, angle = model.get(iter, 2, 3, 6) crop = model.get(iter, 7, 8, 9, 10) pdfdoc = self.pdfqueue[nfile - 1] data.append('\n'.join([pdfdoc.filename, str(npage), str(angle)] + [str(side) for side in crop])) if data: data = '\n;\n'.join(data) selection_data.set(selection_data.target, 8, data) def iv_dnd_received_data(self, iconview, context, x, y, selection_data, target_id, etime): """Handles received data by drag and drop in iconview""" model = iconview.get_model() data = selection_data.data if data: data = data.split('\n;\n') drop_info = iconview.get_dest_item_at_pos(x, y) iter_to = None if drop_info: path, position = drop_info ref_to = gtk.TreeRowReference(model,path) else: position = gtk.ICON_VIEW_DROP_RIGHT if len(model) > 0: #find the iterator of the last row row = model[-1] path = row.path ref_to = gtk.TreeRowReference(model,path) if ref_to: before = (position == gtk.ICON_VIEW_DROP_LEFT or position == gtk.ICON_VIEW_DROP_ABOVE) #if target_id == self.MODEL_ROW_INTERN: if selection_data.target == 'MODEL_ROW_INTERN': if before: data.sort(key=int) else: data.sort(key=int,reverse=True) ref_from_list = [gtk.TreeRowReference(model,path) for path in data] for ref_from in ref_from_list: path = ref_to.get_path() iter_to = model.get_iter(path) path = ref_from.get_path() iter_from = model.get_iter(path) row = model[iter_from] if before: model.insert_before(iter_to, row) else: model.insert_after(iter_to, row) if context.action == gtk.gdk.ACTION_MOVE: for ref_from in ref_from_list: path = ref_from.get_path() iter_from = model.get_iter(path) model.remove(iter_from) #elif target_id == self.MODEL_ROW_EXTERN: elif selection_data.target == 'MODEL_ROW_EXTERN': if not before: data.reverse() while data: tmp = data.pop(0).split('\n') filename = tmp[0] npage, angle = [int(k) for k in tmp[1:3]] crop = [float(side) for side in tmp[3:7]] if self.add_pdf_pages(filename, npage, npage, angle, crop): if len(model) > 0: path = ref_to.get_path() iter_to = model.get_iter(path) row = model[-1] #the last row path = row.path iter_from = model.get_iter(path) if before: model.move_before(iter_from, iter_to) else: model.move_after(iter_from, iter_to) if context.action == gtk.gdk.ACTION_MOVE: context.finish(True, True, etime) def iv_dnd_data_delete(self, widget, context): """Deletes dnd items after a successful move operation""" model = self.iconview.get_model() selection = self.iconview.get_selected_items() ref_del_list = [gtk.TreeRowReference(model,path) for path in selection] for ref_del in ref_del_list: path = ref_del.get_path() iter = model.get_iter(path) model.remove(iter) def iv_dnd_motion(self, iconview, context, x, y, etime): """Handles the drag-motion signal in order to auto-scroll the view""" autoscroll_area = 40 sw_vadj = self.sw.get_vadjustment() sw_height = self.sw.get_allocation().height if y -sw_vadj.get_value() < autoscroll_area: if not self.iv_auto_scroll_timer: self.iv_auto_scroll_direction = gtk.DIR_UP self.iv_auto_scroll_timer = gobject.timeout_add(150, self.iv_auto_scroll) elif y -sw_vadj.get_value() > sw_height - autoscroll_area: if not self.iv_auto_scroll_timer: self.iv_auto_scroll_direction = gtk.DIR_DOWN self.iv_auto_scroll_timer = gobject.timeout_add(150, self.iv_auto_scroll) elif self.iv_auto_scroll_timer: gobject.source_remove(self.iv_auto_scroll_timer) self.iv_auto_scroll_timer = None def iv_dnd_leave_end(self, widget, context, ignored=None): """Ends the auto-scroll during DND""" if self.iv_auto_scroll_timer: gobject.source_remove(self.iv_auto_scroll_timer) self.iv_auto_scroll_timer = None def iv_auto_scroll(self): """Timeout routine for auto-scroll""" sw_vadj = self.sw.get_vadjustment() sw_vpos = sw_vadj.get_value() if self.iv_auto_scroll_direction == gtk.DIR_UP: sw_vpos -= sw_vadj.step_increment sw_vadj.set_value(max(sw_vpos, sw_vadj.lower)) elif self.iv_auto_scroll_direction == gtk.DIR_DOWN: sw_vpos += sw_vadj.step_increment sw_vadj.set_value(min(sw_vpos, sw_vadj.upper - sw_vadj.page_size)) return True #call me again def iv_button_press_event(self, iconview, event): """Manages mouse clicks on the iconview""" if event.button == 3: x = int(event.x) y = int(event.y) time = event.time path = iconview.get_path_at_pos(x, y) selection = iconview.get_selected_items() if path: if path not in selection: iconview.unselect_all() iconview.select_path(path) iconview.grab_focus() self.popup.popup(None, None, None, event.button, time) return 1 def sw_dnd_received_data(self, scrolledwindow, context, x, y, selection_data, target_id, etime): """Handles received data by drag and drop in scrolledwindow""" data = selection_data.data if target_id == self.MODEL_ROW_EXTERN: self.model if data: data = data.split('\n;\n') while data: tmp = data.pop(0).split('\n') filename = tmp[0] npage, angle = [int(k) for k in tmp[1:3]] crop = [float(side) for side in tmp[3:7]] if self.add_pdf_pages(filename, npage, npage, angle, crop): if context.action == gtk.gdk.ACTION_MOVE: context.finish(True, True, etime) elif target_id == self.TEXT_URI_LIST: uri = data.strip() uri_splitted = uri.split() # we may have more than one file dropped for uri in uri_splitted: filename = self.get_file_path_from_dnd_dropped_uri(uri) if os.path.isfile(filename): # is it file? self.add_pdf_pages(filename) def sw_button_press_event(self, scrolledwindow, event): """Unselects all items in iconview on mouse click in scrolledwindow""" if event.button == 1: self.iconview.unselect_all() def sw_scroll_event(self, scrolledwindow, event): """Manages mouse scroll events in scrolledwindow""" if event.state & gtk.gdk.CONTROL_MASK: if event.direction == gtk.gdk.SCROLL_UP: self.zoom_change(1) return 1 elif event.direction == gtk.gdk.SCROLL_DOWN: self.zoom_change(-1) return 1 def zoom_set(self, level): """Sets the zoom level""" self.zoom_level = max(min(level, 5), -24) self.zoom_scale = 1.1 ** self.zoom_level for row in self.model: row[4] = self.zoom_scale self.reset_iv_width() def zoom_change(self, step=5): """Modifies the zoom level""" self.zoom_set(self.zoom_level + step) def zoom_in(self, widget=None): """Increases the zoom level by 5 steps""" self.zoom_change(5) def zoom_out(self, widget=None, step=5): """Reduces the zoom level by 5 steps""" self.zoom_change(-5) def get_file_path_from_dnd_dropped_uri(self, uri): """Extracts the path from an uri""" path = urllib.url2pathname(uri) # escape special chars path = path.strip('\r\n\x00') # remove \r\n and NULL # get the path to file if path.startswith('file:\\\\\\'): # windows path = path[8:] # 8 is len('file:///') elif path.startswith('file://'): # nautilus, rox path = path[7:] # 7 is len('file://') elif path.startswith('file:'): # xffm path = path[5:] # 5 is len('file:') return path def rotate_page_right(self, widget, data=None): self.rotate_page(90) def rotate_page_left(self, widget, data=None): self.rotate_page(-90) def rotate_page(self, angle): """Rotates the selected page in the IconView""" model = self.iconview.get_model() selection = self.iconview.get_selected_items() if len(selection) > 0: self.set_unsaved(True) rotate_times = (((-angle) % 360 + 45) / 90) % 4 if rotate_times is not 0: for path in selection: iter = model.get_iter(path) nfile = model.get_value(iter, 2) npage = model.get_value(iter, 3) crop = [0.,0.,0.,0.] perm = [0,2,1,3] for it in range(rotate_times): perm.append(perm.pop(0)) perm.insert(1,perm.pop(2)) crop = [model.get_value(iter, 7 + perm[side]) for side in range(4)] for side in range(4): model.set_value(iter, 7 + side, crop[side]) new_angle = model.get_value(iter, 6) + int(angle) new_angle = new_angle % 360 model.set_value(iter, 6, new_angle) self.update_geometry(iter) self.reset_iv_width() def crop_page_dialog(self, widget): """Opens a dialog box to define margins for page cropping""" sides = ('L', 'R', 'T', 'B') side_names = {'L':_('Left'), 'R':_('Right'), 'T':_('Top'), 'B':_('Bottom') } opposite_sides = {'L':'R', 'R':'L', 'T':'B', 'B':'T' } def set_crop_value(spinbutton, side): opp_side = opposite_sides[side] pos = sides.index(opp_side) adj = spin_list[pos].get_adjustment() adj.set_upper(99.0 - spinbutton.get_value()) model = self.iconview.get_model() selection = self.iconview.get_selected_items() crop = [0.,0.,0.,0.] if selection: path = selection[0] pos = model.get_iter(path) crop = [model.get_value(pos, 7 + side) for side in range(4)] dialog = gtk.Dialog(title=(_('Crop Selected Pages')), parent=self.window, flags=gtk.DIALOG_MODAL, buttons=(gtk.STOCK_CANCEL, gtk.RESPONSE_CANCEL, gtk.STOCK_OK, gtk.RESPONSE_OK)) dialog.set_size_request(340, 250) dialog.set_default_response(gtk.RESPONSE_OK) frame = gtk.Frame(_('Crop Margins')) dialog.vbox.pack_start(frame, False, False, 20) vbox = gtk.VBox(False, 0) frame.add(vbox) spin_list = [] units = 2 * [_('% of width')] + 2 * [_('% of height')] for side in sides: hbox = gtk.HBox(True, 0) vbox.pack_start(hbox, False, False, 5) label = gtk.Label(side_names[side]) label.set_alignment(0, 0.0) hbox.pack_start(label, True, True, 20) adj = gtk.Adjustment(100.*crop.pop(0), 0.0, 99.0, 1.0, 5.0, 0.0) spin = gtk.SpinButton(adj, 0, 1) spin.set_activates_default(True) spin.connect('value-changed', set_crop_value, side) spin_list.append(spin) hbox.pack_start(spin, False, False, 30) label = gtk.Label(units.pop(0)) label.set_alignment(0, 0.0) hbox.pack_start(label, True, True, 0) dialog.show_all() result = dialog.run() if result == gtk.RESPONSE_OK: modified = False crop = [spin.get_value()/100. for spin in spin_list] for path in selection: pos = model.get_iter(path) for it in range(4): old_val = model.get_value(pos, 7 + it) model.set_value(pos, 7 + it, crop[it]) if crop[it] != old_val: modified = True self.update_geometry(pos) if modified: self.set_unsaved(True) self.reset_iv_width() elif result == gtk.RESPONSE_CANCEL: print(_('Dialog closed')) dialog.destroy() def about_dialog(self, widget, data=None): about_dialog = gtk.AboutDialog() try: about_dialog.set_transient_for(self.window) about_dialog.set_modal(True) except: pass # FIXME about_dialog.set_name(APPNAME) about_dialog.set_version(VERSION) about_dialog.set_comments(_( '%s is a tool for rearranging and modifying PDF files. ' \ 'Developed using GTK+ and Python') % APPNAME) about_dialog.set_authors(['Konstantinos Poulios',]) about_dialog.set_website_label(WEBSITE) about_dialog.set_logo_icon_name('pdfshuffler') about_dialog.set_license(LICENSE) about_dialog.connect('response', lambda w, *args: w.destroy()) about_dialog.connect('delete_event', lambda w, *args: w.destroy()) about_dialog.show_all() class PDF_Doc: """Class handling PDF documents""" def __init__(self, filename, nfile, tmp_dir): self.filename = os.path.abspath(filename) (self.path, self.shortname) = os.path.split(self.filename) (self.shortname, self.ext) = os.path.splitext(self.shortname) f = gio.File(filename) mime_type = f.query_info('standard::content-type').get_content_type() expected_mime_type = 'application/pdf' file_prefix = 'file://' if mime_type == expected_mime_type: self.nfile = nfile + 1 self.mtime = os.path.getmtime(filename) self.copyname = os.path.join(tmp_dir, '%02d_' % self.nfile + self.shortname + '.pdf') shutil.copy(self.filename, self.copyname) self.document = poppler.document_new_from_file (file_prefix + self.copyname, None) self.npage = self.document.get_n_pages() else: self.nfile = 0 self.npage = 0 class PDF_Renderer(threading.Thread,gobject.GObject): def __init__(self, model, pdfqueue, resample=1.): threading.Thread.__init__(self) gobject.GObject.__init__(self) self.model = model self.pdfqueue = pdfqueue self.resample = resample self.quit = False def run(self): for idx, row in enumerate(self.model): if self.quit: return if not row[1]: try: nfile = row[2] npage = row[3] pdfdoc = self.pdfqueue[nfile - 1] page = pdfdoc.document.get_page(npage-1) w, h = page.get_size() thumbnail = cairo.ImageSurface(cairo.FORMAT_ARGB32, int(w/self.resample), int(h/self.resample)) cr = cairo.Context(thumbnail) if self.resample != 1.: cr.scale(1./self.resample, 1./self.resample) page.render(cr) time.sleep(0.003) gobject.idle_add(self.emit,'update_thumbnail', idx, thumbnail, self.resample, priority=gobject.PRIORITY_LOW) except Exception,e: print e def main(): """This function starts PdfShuffler""" gtk.gdk.threads_init() gobject.threads_init() PdfShuffler() gtk.main() if __name__ == '__main__': main() pdfshuffler-0.6.0/pdfshuffler/pdfshuffler_iconview.py0000664000175000017500000001260611746775565023016 0ustar logari81logari81#!/usr/bin/python # -*- coding: utf-8 -*- """ PdfShuffler 0.6.0 - GTK+ based utility for splitting, rearrangement and modification of PDF documents. Copyright (C) 2008-2012 Konstantinos Poulios This file is part of PdfShuffler. PdfShuffler is free software; you can redistribute it and/or modify it under the terms of the GNU General Public License as published by the Free Software Foundation; either version 3 of the License, or (at your option) any later version. This program is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License for more details. You should have received a copy of the GNU General Public License along with this program; if not, write to the Free Software Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA. """ import gtk import gobject import cairo from math import pi as M_PI class CellRendererImage(gtk.GenericCellRenderer): __gproperties__ = { "image": (gobject.TYPE_PYOBJECT, "Image", "Image", gobject.PARAM_READWRITE), "width": (gobject.TYPE_FLOAT, "Width", "Width", 0., 1.e4, 0., gobject.PARAM_READWRITE), "height": (gobject.TYPE_FLOAT, "Height", "Height", 0., 1.e4, 0., gobject.PARAM_READWRITE), "rotation": (gobject.TYPE_INT, "Rotation", "Rotation", 0, 360, 0, gobject.PARAM_READWRITE), "scale": (gobject.TYPE_FLOAT, "Scale", "Scale", 0.01, 100., 1., gobject.PARAM_READWRITE), "resample": (gobject.TYPE_FLOAT, "Resample", "Resample Coefficient", 1., 100., 1., gobject.PARAM_READWRITE), "cropL": (gobject.TYPE_FLOAT, "CropL", "CropL", 0., 1., 0., gobject.PARAM_READWRITE), "cropR": (gobject.TYPE_FLOAT, "CropR", "CropR", 0., 1., 0., gobject.PARAM_READWRITE), "cropT": (gobject.TYPE_FLOAT, "CropT", "CropT", 0., 1., 0., gobject.PARAM_READWRITE), "cropB": (gobject.TYPE_FLOAT, "CropB", "CropB", 0., 1., 0., gobject.PARAM_READWRITE), } def __init__(self): self.__gobject_init__() self.th1 = 2. # border thickness self.th2 = 3. # shadow thickness def get_geometry(self): rotation = int(self.rotation) % 360 rotation = ((rotation + 45) / 90) * 90 if not self.image: w0 = w1 = self.width / self.resample h0 = h1 = self.height / self.resample else: w0 = self.image.get_width() h0 = self.image.get_height() if rotation == 90 or rotation == 270: w1, h1 = h0, w0 else: w1, h1 = w0, h0 x = self.cropL * w1 y = self.cropT * h1 scale = self.resample * self.scale w2 = int(scale * (1. - self.cropL - self.cropR) * w1) h2 = int(scale * (1. - self.cropT - self.cropB) * h1) return w0,h0,w1,h1,w2,h2,rotation def do_set_property(self, pspec, value): setattr(self, pspec.name, value) def do_get_property(self, pspec): return getattr(self, pspec.name) def on_render(self, window, widget, background_area, cell_area, \ expose_area, flags): if not self.image: return w0,h0,w1,h1,w2,h2,rotation = self.get_geometry() th = int(2*self.th1+self.th2) w = w2 + th h = h2 + th x = cell_area.x y = cell_area.y if cell_area and w > 0 and h > 0: x += self.get_property('xalign') * \ (cell_area.width - w - self.get_property('xpad')) y += self.get_property('yalign') * \ (cell_area.height - h - self.get_property('ypad')) cr = window.cairo_create() cr.translate(x,y) x = self.cropL * w1 y = self.cropT * h1 #shadow cr.set_source_rgb(0.5, 0.5, 0.5) cr.rectangle(th, th, w2, h2) cr.fill() #border cr.set_source_rgb(0, 0, 0) cr.rectangle(0, 0, w2+2*self.th1, h2+2*self.th1) cr.fill() #image cr.set_source_rgb(1, 1, 1) cr.rectangle(self.th1, self.th1, w2, h2) cr.fill_preserve() cr.clip() cr.translate(self.th1,self.th1) scale = self.resample * self.scale cr.scale(scale, scale) cr.translate(-x,-y) if rotation > 0: cr.translate(w1/2,h1/2) cr.rotate(rotation * M_PI / 180) cr.translate(-w0/2,-h0/2) cr.set_source_surface(self.image) cr.paint() def on_get_size(self, widget, cell_area=None): x = y = 0 w0,h0,w1,h1,w2,h2,rotation = self.get_geometry() th = int(2*self.th1+self.th2) w = w2 + th h = h2 + th if cell_area and w > 0 and h > 0: x = self.get_property('xalign') * \ (cell_area.width - w - self.get_property('xpad')) y = self.get_property('yalign') * \ (cell_area.height - h - self.get_property('ypad')) w += 2 * self.get_property('xpad') h += 2 * self.get_property('ypad') return int(x), int(y), w, h pdfshuffler-0.6.0/pdfshuffler/__init__.py0000664000175000017500000000000011676425423020306 0ustar logari81logari81pdfshuffler-0.6.0/data/pdfshuffler.desktop0000664000175000017500000000033211305257563020506 0ustar logari81logari81[Desktop Entry] Version=1.0 Name=PDF-Shuffler Comment=PDF Merging, Rearranging, Splitting, Rotating and Cropping Type=Application Exec=pdfshuffler Icon=pdfshuffler Categories=Office; Terminal=false StartupNotify=false pdfshuffler-0.6.0/data/pdfshuffler.ui0000664000175000017500000005651311747046204017464 0ustar logari81logari81 False True False True False True False False _File True True False gtk-add True False False True True gtk-save False False True False True True gtk-save-as True False False True True True False gtk-quit True False False True True True False False _Edit True True False gtk-undo False False True False True True gtk-redo False False True False True True False False True Rotate left True False False False Rotate right True False False False True False Crop True False False False gtk-delete True False False True True True False False _View True True False Zoom in True False False True True Zoom out True False False True True True False False _Help True True False gtk-about True False False True True False True 0 True False True False True False True Open a file and append it to the current document False Import True gtk-add False True False False True False Save True gtk-save False True True False False Save as True gtk-save-as False True True False False True True False True Zoom in False Zoom in True gtk-zoom-in False True True False True Zoom out False Zoom out True gtk-zoom-out False True True False False True True False True Rotate left False Rotate left True object-rotate-left False True True False True Rotate right False Rotate right True object-rotate-right False True True False True Delete False Delete True gtk-delete False True True True 0 False True 1 True True never True True 2 20 True False False True 5 3 pdfshuffler-0.6.0/data/pdfshuffler.svg0000664000175000017500000003237011276303505017636 0ustar logari81logari81 image/svg+xml PDF PDF PDF-Shuffler pdfshuffler-0.6.0/data/pdfshuffler.ui.h0000664000175000017500000000060211725061356017677 0ustar logari81logari81char *s = N_("Crop"); char *s = N_("Delete"); char *s = N_("Import"); char *s = N_("Open a file and append it to the current document"); char *s = N_("Rotate left"); char *s = N_("Rotate right"); char *s = N_("Save"); char *s = N_("Save as"); char *s = N_("Zoom in"); char *s = N_("Zoom out"); char *s = N_("_Edit"); char *s = N_("_File"); char *s = N_("_Help"); char *s = N_("_View"); pdfshuffler-0.6.0/data/pdfshuffler.png0000664000175000017500000001035711276303505017624 0ustar logari81logari81PNG  IHDR00WsBIT|d pHYs77DtEXtSoftwarewww.inkscape.org<lIDATh՚yxUյyp@@ƈ`Q,HPA@iժZ[AZE Q *kA,4OIA!̒BI|{2(|;ܳ:ksvb.& - օWdJn\IM[=]J@^nSB3dѓR!AEɭ-j%JCs!)7S鎢!!D|ңf̵ZXS#+S RAi+so/&ݘ~yC?{:0UOZgcLsq(na``= ~H~p-ݩ쨺 gHwC zNųr"bUEn#?~6[o#ĉMCŜ9eYʕOI)}?TCY OoulFX.RdM35|.3{t7(2 EPFg>[o}9q?ӂQ-:LzިpvT鮯UZ3H$!H4iSg,\5mGkH-D/vXF^_Xk|*ܷv4\Ri$I[H59H1]!z Wn!gvYˢ@@4<0+*+[n?'3#b#` C-97ϒӰi 5⏏>:g_˖ѧmt}Pk"m˧H 9:h*OSOq֭Q$zA/n$:K ={v: =V,T5Iv)h:eբ_`Uݷ^ee85 q&eK3giMY#G(~[ Y(I0l<.WYܜˍ'pQ{XS7׌~_϶Hihᡇ0P2F)Q >4@\ӷov豊;ͫ^nK)Eя9C@c^+Yxǂ}z;{#Uӷ/z`ExE=cN 0q:&2cםxlBcuLzĢ$1&Mm,1]]|={Μs?!YH)X} 0a(8eM&j33ym---oХwYX 4o-[ydB*٨"wf *lv{5E7 DtލHŒPBO8]_z5u#Iz]g+7B~J$~V:lԂ6G}Kkx?\.>^y$YѨvb@ A֭?e s?  3uK> YL|UU'%%h6H[$? ođ{5hn5*^z!{зvCkrOZۿWTJJJaN~Qt >ՇvfGryq!tɕs!jv} k&L#7tY̾\cMKK`6o;j4Ȟ5x0.D|y[غ+|s@M Qr/0N魵̖-ޚL@\hxQ˫o `ĉ݃&;8c v{<݆ 54VP˗^e̘1mnx?8WCq/Ir^xff[WB 3\[Ғ%K @7F=W_b02:aҥTwҤI6myd"{"6B}F7844_n]R;@LJJJnݺWgKMMbΝ/xAJrNn.[lH)#ʤIJNt-3H*$㝾s[ a? cGi#wQȆG6(hܯ{h0!230"ۧAHgΐBVpkL$ 9POpwk>HdN_Cw`yE{߲p8ln9(kjb=&0_ᣢ SZ5M=De@36R]k8œyPVL>f#ńy,>FzTI^j-̛`ig0jcSЇ!B3!LQЈ&UZH`rjҚ " ?; #Z­$yǩݞ٣$m ԸS)C;+# ?V|GnALu5}ɣ c ^rBDAU]B K5Y = /E0iZ!À;;ºW" aLZ`Bf.hd@ !^oevVOݞ6bc<8T:l >|űŴ1j˜b%@"f4⦎bf5<Eؚa 8E߼Vt_= D="UΕRֶm\n" "Language-Team: Czech\n" "Language: Czech\n" "MIME-Version: 1.0\n" "Content-Type: text/plain; charset=UTF-8\n" "Content-Transfer-Encoding: 8bit\n" #: pdfshuffler/pdfshuffler.py:110 msgid "Can't load icon. Application is not installed correctly." msgstr "" #: pdfshuffler/pdfshuffler.py:233 msgid "_Rotate Right" msgstr "" #: pdfshuffler/pdfshuffler.py:234 msgid "Rotate _Left" msgstr "" #: pdfshuffler/pdfshuffler.py:235 msgid "C_rop..." msgstr "" #: pdfshuffler/pdfshuffler.py:237 #, fuzzy msgid "_Export selection..." msgstr "Exportovat..." #: pdfshuffler/pdfshuffler.py:299 msgid "No document" msgstr "" #: pdfshuffler/pdfshuffler.py:301 msgid "Several documents" msgstr "" #: pdfshuffler/pdfshuffler.py:317 #, python-format msgid "Rendering thumbnails... [%(i1)s/%(i2)s]" msgstr "" #: pdfshuffler/pdfshuffler.py:435 msgid "page" msgstr "stránka" #: pdfshuffler/pdfshuffler.py:461 msgid "Export ..." msgstr "Exportovat..." #: pdfshuffler/pdfshuffler.py:470 pdfshuffler/pdfshuffler.py:586 msgid "PDF files" msgstr "PDF soubory" #: pdfshuffler/pdfshuffler.py:475 pdfshuffler/pdfshuffler.py:581 msgid "All files" msgstr "Všechny soubory" #: pdfshuffler/pdfshuffler.py:518 #, fuzzy, python-format msgid "" "File %s is encrypted.\n" "Support for encrypted files has not been implemented yet.\n" "File export failed." msgstr "Podpora takových souborů ještě nebyla implementována." #: pdfshuffler/pdfshuffler.py:571 msgid "Import..." msgstr "Import..." #: pdfshuffler/pdfshuffler.py:604 msgid "OpenDocument not supported yet!" msgstr "OpenDocument ještě není podporován!" #: pdfshuffler/pdfshuffler.py:606 msgid "Image file not supported yet!" msgstr "Soubory obrázků ještě nejsou podporovány!" #: pdfshuffler/pdfshuffler.py:608 msgid "File type not supported!" msgstr "Tento typ souboru není podporován!" #: pdfshuffler/pdfshuffler.py:610 #, python-format msgid "File %s does not exist" msgstr "Soubor %s neexistuje" #: pdfshuffler/pdfshuffler.py:612 msgid "Closed, no files selected" msgstr "Zavírám, nebyly zvolený žádné soubory" #: pdfshuffler/pdfshuffler.py:921 msgid "Left" msgstr "Levý" #: pdfshuffler/pdfshuffler.py:921 msgid "Right" msgstr "Pravý" #: pdfshuffler/pdfshuffler.py:922 msgid "Top" msgstr "Horní" #: pdfshuffler/pdfshuffler.py:922 msgid "Bottom" msgstr "Spodní" #: pdfshuffler/pdfshuffler.py:940 #, fuzzy msgid "Crop Selected Pages" msgstr "Oříznout zvolenou/é stránku/y" #: pdfshuffler/pdfshuffler.py:948 msgid "Crop Margins" msgstr "Oříznout okraje" #: pdfshuffler/pdfshuffler.py:955 #, python-format msgid "% of width" msgstr "% šířky" #: pdfshuffler/pdfshuffler.py:955 #, python-format msgid "% of height" msgstr "% výšky" #: pdfshuffler/pdfshuffler.py:993 msgid "Dialog closed" msgstr "Dialog uzavřen" #: pdfshuffler/pdfshuffler.py:1007 #, python-format msgid "" "%s is a tool for rearranging and modifying PDF files. Developed using GTK+ " "and Python" msgstr "" #: data/pdfshuffler.ui.h:1 msgid "Crop" msgstr "" #: data/pdfshuffler.ui.h:2 #, fuzzy msgid "Delete" msgstr "Odstranit stránku/y" #: data/pdfshuffler.ui.h:3 #, fuzzy msgid "Import" msgstr "Import..." #: data/pdfshuffler.ui.h:4 msgid "Open a file and append it to the current document" msgstr "" #: data/pdfshuffler.ui.h:5 msgid "Rotate left" msgstr "" #: data/pdfshuffler.ui.h:6 msgid "Rotate right" msgstr "" #: data/pdfshuffler.ui.h:7 msgid "Save" msgstr "" #: data/pdfshuffler.ui.h:8 msgid "Save as" msgstr "" #: data/pdfshuffler.ui.h:9 msgid "Zoom in" msgstr "" #: data/pdfshuffler.ui.h:10 msgid "Zoom out" msgstr "" #: data/pdfshuffler.ui.h:11 msgid "_Edit" msgstr "" #: data/pdfshuffler.ui.h:12 msgid "_File" msgstr "" #: data/pdfshuffler.ui.h:13 msgid "_Help" msgstr "" #: data/pdfshuffler.ui.h:14 msgid "_View" msgstr "" #~ msgid "Import pdf" #~ msgstr "Importovat PDF" #~ msgid "Export pdf" #~ msgstr "Exportovat PDF" #~ msgid "About" #~ msgstr "O aplikaci" #~ msgid "Rotate Page(s) Clockwise" #~ msgstr "Otočit stránku/y doprava" #~ msgid "Rotate Page(s) Counterclockwise" #~ msgstr "Otočit stránku/y doleva" #~ msgid "Crop Page(s)" #~ msgstr "Oříznout stránku/y" #~ msgid "Error writing file: %s" #~ msgstr "Chyba při zapisování souboru: %s" #~ msgid "File %s is encrypted." #~ msgstr "Soubor %s je šifrovaný." #~ msgid "File export failed." #~ msgstr "Export souboru se nezdařil." #~ msgid "exporting to:" #~ msgstr "exportuji jako:" #~ msgid "" #~ "PDF-Shuffler is a simple pyGTK utility which lets you merge, split and " #~ "rearrange PDF documents. You can also rotate and crop individual pages of " #~ "a pdf document." #~ msgstr "" #~ "PDF-Shuffler je jednoduchý pyGTK nástroj, který umožňuje spojovat, " #~ "rozdělovat a přeskupovat PDF dokumenty. Umožňuje také otáčet a ořezávat " #~ "jednotlivé stránky dokumentu." pdfshuffler-0.6.0/po/es.po0000664000175000017500000001227211747057365015275 0ustar logari81logari81msgid "" msgstr "" "Project-Id-Version: PDF-Shuffler 0.5\n" "Report-Msgid-Bugs-To: \n" "POT-Creation-Date: 2012-04-28 23:13+0200\n" "PO-Revision-Date: 2012-03-05 07:51+0100\n" "Last-Translator: Konstantinos Poulios \n" "Language-Team: Konstantinos Poulios \n" "Language: \n" "MIME-Version: 1.0\n" "Content-Type: text/plain; charset=UTF-8\n" "Content-Transfer-Encoding: 8bit\n" "X-Poedit-Language: Spanish\n" #: pdfshuffler/pdfshuffler.py:110 msgid "Can't load icon. Application is not installed correctly." msgstr "" #: pdfshuffler/pdfshuffler.py:233 msgid "_Rotate Right" msgstr "" #: pdfshuffler/pdfshuffler.py:234 msgid "Rotate _Left" msgstr "" #: pdfshuffler/pdfshuffler.py:235 msgid "C_rop..." msgstr "_Recortar.." #: pdfshuffler/pdfshuffler.py:237 msgid "_Export selection..." msgstr "Exportar las páginas seleccionadas..." #: pdfshuffler/pdfshuffler.py:299 msgid "No document" msgstr "" #: pdfshuffler/pdfshuffler.py:301 msgid "Several documents" msgstr "" #: pdfshuffler/pdfshuffler.py:317 #, python-format msgid "Rendering thumbnails... [%(i1)s/%(i2)s]" msgstr "" #: pdfshuffler/pdfshuffler.py:435 msgid "page" msgstr "página" #: pdfshuffler/pdfshuffler.py:461 msgid "Export ..." msgstr "Exportar ..." #: pdfshuffler/pdfshuffler.py:470 pdfshuffler/pdfshuffler.py:586 msgid "PDF files" msgstr "Archivos PDF" #: pdfshuffler/pdfshuffler.py:475 pdfshuffler/pdfshuffler.py:581 msgid "All files" msgstr "Todos los archivos" #: pdfshuffler/pdfshuffler.py:518 #, fuzzy, python-format msgid "" "File %s is encrypted.\n" "Support for encrypted files has not been implemented yet.\n" "File export failed." msgstr "Aún no se ha añadido la compatibilidad con este tipo de archivos." #: pdfshuffler/pdfshuffler.py:571 msgid "Import..." msgstr "Importar..." #: pdfshuffler/pdfshuffler.py:604 msgid "OpenDocument not supported yet!" msgstr "" "Aún no se ha añadido la compatibilidad con archivos de tipo OpenDocument." #: pdfshuffler/pdfshuffler.py:606 msgid "Image file not supported yet!" msgstr "Aún no se ha añadido la compatibilidad con archivos de imagen." #: pdfshuffler/pdfshuffler.py:608 msgid "File type not supported!" msgstr "Archivos de este tipo no son compatibles." #: pdfshuffler/pdfshuffler.py:610 #, python-format msgid "File %s does not exist" msgstr "El archivo %s no existe" #: pdfshuffler/pdfshuffler.py:612 msgid "Closed, no files selected" msgstr "Cerrado, ningún archivo seleccionado" #: pdfshuffler/pdfshuffler.py:921 msgid "Left" msgstr "Izquierdo" #: pdfshuffler/pdfshuffler.py:921 msgid "Right" msgstr "Derecho" #: pdfshuffler/pdfshuffler.py:922 msgid "Top" msgstr "Superior" #: pdfshuffler/pdfshuffler.py:922 msgid "Bottom" msgstr "Inferior" #: pdfshuffler/pdfshuffler.py:940 msgid "Crop Selected Pages" msgstr "Recortar las páginas seleccionadas" #: pdfshuffler/pdfshuffler.py:948 msgid "Crop Margins" msgstr "Recortar los márgenes" #: pdfshuffler/pdfshuffler.py:955 #, python-format msgid "% of width" msgstr "% de la anchura" #: pdfshuffler/pdfshuffler.py:955 #, python-format msgid "% of height" msgstr "% de la altura" #: pdfshuffler/pdfshuffler.py:993 msgid "Dialog closed" msgstr "Ventana de dialogo cerrada" #: pdfshuffler/pdfshuffler.py:1007 #, python-format msgid "" "%s is a tool for rearranging and modifying PDF files. Developed using GTK+ " "and Python" msgstr "" #: data/pdfshuffler.ui.h:1 msgid "Crop" msgstr "Recortar" #: data/pdfshuffler.ui.h:2 msgid "Delete" msgstr "Borrar" #: data/pdfshuffler.ui.h:3 msgid "Import" msgstr "Importar" #: data/pdfshuffler.ui.h:4 msgid "Open a file and append it to the current document" msgstr "" #: data/pdfshuffler.ui.h:5 msgid "Rotate left" msgstr "" #: data/pdfshuffler.ui.h:6 msgid "Rotate right" msgstr "" #: data/pdfshuffler.ui.h:7 msgid "Save" msgstr "Guardar" #: data/pdfshuffler.ui.h:8 msgid "Save as" msgstr "Guardar como" #: data/pdfshuffler.ui.h:9 msgid "Zoom in" msgstr "" #: data/pdfshuffler.ui.h:10 msgid "Zoom out" msgstr "" #: data/pdfshuffler.ui.h:11 msgid "_Edit" msgstr "" #: data/pdfshuffler.ui.h:12 msgid "_File" msgstr "" #: data/pdfshuffler.ui.h:13 msgid "_Help" msgstr "_Ayuda" #: data/pdfshuffler.ui.h:14 msgid "_View" msgstr "" #~ msgid "Import pdf" #~ msgstr "Importar pdf" #~ msgid "Export pdf" #~ msgstr "Exportar pdf" #~ msgid "About" #~ msgstr "Acerca de" #~ msgid "Rotate Page(s) Clockwise" #~ msgstr "Girar página(s) hacia la derecha" #~ msgid "Rotate Page(s) Counterclockwise" #~ msgstr "Girar página(s) hacia la izquierda" #~ msgid "Crop Page(s)" #~ msgstr "Recortar página(s)" #~ msgid "Error writing file: %s" #~ msgstr "Se ha producido un error al guardar el archivo: %s" #~ msgid "File %s is encrypted." #~ msgstr "El archivo %s está encriptado." #~ msgid "File export failed." #~ msgstr "No se ha podido exportar el archivo." #~ msgid "exporting to:" #~ msgstr "exportando a:" #~ msgid "" #~ "PDF-Shuffler is a simple pyGTK utility which lets you merge, split and " #~ "rearrange PDF documents. You can also rotate and crop individual pages of " #~ "a pdf document." #~ msgstr "" #~ "PDF-Shuffler es una sencilla aplicación pyGTK que permite unir, dividir " #~ "archivos PDF y ordenar sus páginas. También permite girar y recortar " #~ "páginas individualmente." pdfshuffler-0.6.0/po/fr.po0000664000175000017500000001321711747057365015275 0ustar logari81logari81msgid "" msgstr "" "Project-Id-Version: PDF-Shuffler 0.5\n" "Report-Msgid-Bugs-To: \n" "POT-Creation-Date: 2012-04-28 23:13+0200\n" "PO-Revision-Date: 2012-03-05 23:44+0100\n" "Last-Translator: Emmanuel \n" "Language-Team: Emmanuel \n" "Language: \n" "MIME-Version: 1.0\n" "Content-Type: text/plain; charset=UTF-8\n" "Content-Transfer-Encoding: 8bit\n" "X-Poedit-Language: french\n" "X-Poedit-Country: FRANCE\n" #: pdfshuffler/pdfshuffler.py:110 msgid "Can't load icon. Application is not installed correctly." msgstr "" "Impossible de charger l'icône. L'application n'est pas installée " "correctement." #: pdfshuffler/pdfshuffler.py:233 msgid "_Rotate Right" msgstr "_Rotation à droite" #: pdfshuffler/pdfshuffler.py:234 msgid "Rotate _Left" msgstr "Rotation à gauche (_L)" #: pdfshuffler/pdfshuffler.py:235 msgid "C_rop..." msgstr "Découpe_r" #: pdfshuffler/pdfshuffler.py:237 msgid "_Export selection..." msgstr "_Exporter la sélection..." #: pdfshuffler/pdfshuffler.py:299 msgid "No document" msgstr "Pas de document" #: pdfshuffler/pdfshuffler.py:301 msgid "Several documents" msgstr "Plusieurs documents" #: pdfshuffler/pdfshuffler.py:317 #, python-format msgid "Rendering thumbnails... [%(i1)s/%(i2)s]" msgstr "Rendu des vignettes... [%(i1)s/%(i2)s]" #: pdfshuffler/pdfshuffler.py:435 msgid "page" msgstr "page" #: pdfshuffler/pdfshuffler.py:461 msgid "Export ..." msgstr "Exporter ..." #: pdfshuffler/pdfshuffler.py:470 pdfshuffler/pdfshuffler.py:586 msgid "PDF files" msgstr "Fichiers PDF" #: pdfshuffler/pdfshuffler.py:475 pdfshuffler/pdfshuffler.py:581 msgid "All files" msgstr "Tous les fichiers" #: pdfshuffler/pdfshuffler.py:518 #, python-format msgid "" "File %s is encrypted.\n" "Support for encrypted files has not been implemented yet.\n" "File export failed." msgstr "" "Le fichier %s est crypté.\n" "Le support des fichiers cryptés n'a pas encore été implémenté.\n" "L'export du fichier a échoué." #: pdfshuffler/pdfshuffler.py:571 msgid "Import..." msgstr "Importer ..." #: pdfshuffler/pdfshuffler.py:604 msgid "OpenDocument not supported yet!" msgstr "OpenDocument n'est pas encore supporté !" #: pdfshuffler/pdfshuffler.py:606 msgid "Image file not supported yet!" msgstr "Le format image n'est pas encore supporté !" #: pdfshuffler/pdfshuffler.py:608 msgid "File type not supported!" msgstr "Type de ficher pas encore supporté !" #: pdfshuffler/pdfshuffler.py:610 #, python-format msgid "File %s does not exist" msgstr "Le fichier %s n'existe pas" #: pdfshuffler/pdfshuffler.py:612 msgid "Closed, no files selected" msgstr "Fermé, aucun fichier sélectionné" #: pdfshuffler/pdfshuffler.py:921 msgid "Left" msgstr "Gauche" #: pdfshuffler/pdfshuffler.py:921 msgid "Right" msgstr "Droite" #: pdfshuffler/pdfshuffler.py:922 msgid "Top" msgstr "Haut" #: pdfshuffler/pdfshuffler.py:922 msgid "Bottom" msgstr "Bas" #: pdfshuffler/pdfshuffler.py:940 msgid "Crop Selected Pages" msgstr "Découper les pages sélectionnées" #: pdfshuffler/pdfshuffler.py:948 msgid "Crop Margins" msgstr "Découper les marges" #: pdfshuffler/pdfshuffler.py:955 #, python-format msgid "% of width" msgstr "% de la largeur" #: pdfshuffler/pdfshuffler.py:955 #, python-format msgid "% of height" msgstr "% de la hauteur" #: pdfshuffler/pdfshuffler.py:993 msgid "Dialog closed" msgstr "Fenêtre de dialogue fermée" #: pdfshuffler/pdfshuffler.py:1007 #, python-format msgid "" "%s is a tool for rearranging and modifying PDF files. Developed using GTK+ " "and Python" msgstr "" "%s est un outil pour réarranger et modifier les fichiers PDF. Développé en " "GTK+ et Python" #: data/pdfshuffler.ui.h:1 msgid "Crop" msgstr "Découper" #: data/pdfshuffler.ui.h:2 msgid "Delete" msgstr "Supprimer" #: data/pdfshuffler.ui.h:3 msgid "Import" msgstr "Importer" #: data/pdfshuffler.ui.h:4 msgid "Open a file and append it to the current document" msgstr "Ouvrir un fichier et l'ajouter au document en cours" #: data/pdfshuffler.ui.h:5 msgid "Rotate left" msgstr "Rotation à gauche" #: data/pdfshuffler.ui.h:6 msgid "Rotate right" msgstr "Rotation à droite" #: data/pdfshuffler.ui.h:7 msgid "Save" msgstr "Enregistrer" #: data/pdfshuffler.ui.h:8 msgid "Save as" msgstr "enregistrer sous" #: data/pdfshuffler.ui.h:9 msgid "Zoom in" msgstr "Zoom avant" #: data/pdfshuffler.ui.h:10 msgid "Zoom out" msgstr "Zoom arrière" #: data/pdfshuffler.ui.h:11 msgid "_Edit" msgstr "_Edition" #: data/pdfshuffler.ui.h:12 msgid "_File" msgstr "_Fichier" #: data/pdfshuffler.ui.h:13 msgid "_Help" msgstr "Aide (_H)" #: data/pdfshuffler.ui.h:14 msgid "_View" msgstr "_Vue" #~ msgid "Import pdf" #~ msgstr "Importer PDF" #~ msgid "Export pdf" #~ msgstr "Exporter PDF" #~ msgid "About" #~ msgstr "À propos" #~ msgid "Rotate Page(s) Clockwise" #~ msgstr "Rotation de la(les) page(s) en sens horaire" #~ msgid "Rotate Page(s) Counterclockwise" #~ msgstr "Rotation de la(les) page(s) en sens anti-horaire" #~ msgid "Crop Page(s)" #~ msgstr "Couper la(les) page(s)" #~ msgid "Error writing file: %s" #~ msgstr "Une erreur s'est produite pendant l'écriture du fichier : %s" #~ msgid "File %s is encrypted." #~ msgstr "Le fichier %s est codé." #~ msgid "File export failed." #~ msgstr "Exportation des fichiers échouée." #~ msgid "exporting to:" #~ msgstr "exporter en :" #~ msgid "" #~ "PDF-Shuffler is a simple pyGTK utility which lets you merge, split and " #~ "rearrange PDF documents. You can also rotate and crop individual pages of " #~ "a pdf document." #~ msgstr "" #~ "PDF-Shuffler est un simple outil pyGTK qui vous permet de réunir, couper " #~ "et réarrangez des documents PDF. Vous pouvez aussi pivoter et couper des " #~ "pages individuelles d'un document pdf." pdfshuffler-0.6.0/po/de.po0000664000175000017500000001240011747057365015247 0ustar logari81logari81msgid "" msgstr "" "Project-Id-Version: PDF-Shuffler 0.5\n" "Report-Msgid-Bugs-To: \n" "POT-Creation-Date: 2012-04-28 23:13+0200\n" "PO-Revision-Date: 2012-03-05 07:49+0100\n" "Last-Translator: Konstantinos Poulios \n" "Language-Team: Konstantinos Poulios \n" "Language: \n" "MIME-Version: 1.0\n" "Content-Type: text/plain; charset=UTF-8\n" "Content-Transfer-Encoding: 8bit\n" "X-Poedit-Language: German\n" #: pdfshuffler/pdfshuffler.py:110 msgid "Can't load icon. Application is not installed correctly." msgstr "" #: pdfshuffler/pdfshuffler.py:233 msgid "_Rotate Right" msgstr "_Rechts drehen" #: pdfshuffler/pdfshuffler.py:234 msgid "Rotate _Left" msgstr "_Links drehen" #: pdfshuffler/pdfshuffler.py:235 msgid "C_rop..." msgstr "" #: pdfshuffler/pdfshuffler.py:237 msgid "_Export selection..." msgstr "Markierte Seiten _Exportieren ..." #: pdfshuffler/pdfshuffler.py:299 #, fuzzy msgid "No document" msgstr "Keine Datei" #: pdfshuffler/pdfshuffler.py:301 #, fuzzy msgid "Several documents" msgstr "Mehrere Dateien" #: pdfshuffler/pdfshuffler.py:317 #, python-format msgid "Rendering thumbnails... [%(i1)s/%(i2)s]" msgstr "" #: pdfshuffler/pdfshuffler.py:435 msgid "page" msgstr "Seite" #: pdfshuffler/pdfshuffler.py:461 msgid "Export ..." msgstr "Exportieren ..." #: pdfshuffler/pdfshuffler.py:470 pdfshuffler/pdfshuffler.py:586 msgid "PDF files" msgstr "PDF Dateien" #: pdfshuffler/pdfshuffler.py:475 pdfshuffler/pdfshuffler.py:581 msgid "All files" msgstr "Alle Dateien" #: pdfshuffler/pdfshuffler.py:518 #, fuzzy, python-format msgid "" "File %s is encrypted.\n" "Support for encrypted files has not been implemented yet.\n" "File export failed." msgstr "Solche Dateien werden noch nicht unterstützt." #: pdfshuffler/pdfshuffler.py:571 msgid "Import..." msgstr "Importieren..." #: pdfshuffler/pdfshuffler.py:604 msgid "OpenDocument not supported yet!" msgstr "OpenDocument-Dateien werden noch nicht unterstützt!" #: pdfshuffler/pdfshuffler.py:606 msgid "Image file not supported yet!" msgstr "Bilddateien werden noch nicht unterstützt!" #: pdfshuffler/pdfshuffler.py:608 msgid "File type not supported!" msgstr "Dateityp wird nicht unterstützt!" #: pdfshuffler/pdfshuffler.py:610 #, python-format msgid "File %s does not exist" msgstr "Die Datei %s existiert nicht" #: pdfshuffler/pdfshuffler.py:612 msgid "Closed, no files selected" msgstr "Geschlossen, keine Datei wurde ausgewählt " #: pdfshuffler/pdfshuffler.py:921 msgid "Left" msgstr "Links" #: pdfshuffler/pdfshuffler.py:921 msgid "Right" msgstr "Rechts" #: pdfshuffler/pdfshuffler.py:922 msgid "Top" msgstr "Oben" #: pdfshuffler/pdfshuffler.py:922 msgid "Bottom" msgstr "Unten" #: pdfshuffler/pdfshuffler.py:940 msgid "Crop Selected Pages" msgstr "Markierte Seiten zuschneiden" #: pdfshuffler/pdfshuffler.py:948 msgid "Crop Margins" msgstr "Seitenränder zuschneiden" #: pdfshuffler/pdfshuffler.py:955 #, python-format msgid "% of width" msgstr "% der Seitenbreite" #: pdfshuffler/pdfshuffler.py:955 #, python-format msgid "% of height" msgstr "% der Seitenhöhe" #: pdfshuffler/pdfshuffler.py:993 msgid "Dialog closed" msgstr "Dialogfenster wurde geschlossen" #: pdfshuffler/pdfshuffler.py:1007 #, python-format msgid "" "%s is a tool for rearranging and modifying PDF files. Developed using GTK+ " "and Python" msgstr "" #: data/pdfshuffler.ui.h:1 msgid "Crop" msgstr "Zuschneiden" #: data/pdfshuffler.ui.h:2 msgid "Delete" msgstr "Εntfernen" #: data/pdfshuffler.ui.h:3 msgid "Import" msgstr "Importieren" #: data/pdfshuffler.ui.h:4 msgid "Open a file and append it to the current document" msgstr "" #: data/pdfshuffler.ui.h:5 msgid "Rotate left" msgstr "Rechts drehen" #: data/pdfshuffler.ui.h:6 msgid "Rotate right" msgstr "Links drehen" #: data/pdfshuffler.ui.h:7 msgid "Save" msgstr "Speichern" #: data/pdfshuffler.ui.h:8 msgid "Save as" msgstr "Speichern als" #: data/pdfshuffler.ui.h:9 msgid "Zoom in" msgstr "" #: data/pdfshuffler.ui.h:10 msgid "Zoom out" msgstr "" #: data/pdfshuffler.ui.h:11 msgid "_Edit" msgstr "" #: data/pdfshuffler.ui.h:12 msgid "_File" msgstr "_Datei" #: data/pdfshuffler.ui.h:13 msgid "_Help" msgstr "_Hilfe" #: data/pdfshuffler.ui.h:14 msgid "_View" msgstr "" #~ msgid "Import pdf" #~ msgstr "Importieren von PDF" #~ msgid "Export pdf" #~ msgstr "Exportieren in PDF" #~ msgid "About" #~ msgstr "Über" #~ msgid "Rotate Page(s) Clockwise" #~ msgstr "Seite(n) rechts drehen" #~ msgid "Rotate Page(s) Counterclockwise" #~ msgstr "Seite(n) links drehen" #~ msgid "Crop Page(s)" #~ msgstr "Seite(n) zuschneiden" #~ msgid "Error writing file: %s" #~ msgstr "Fehler beim Schreiben der Datei: %s" #~ msgid "File %s is encrypted." #~ msgstr "Die Datei %s ist verschlüsselt." #~ msgid "File export failed." #~ msgstr "Die Datei konnte nicht exportiert werden." #~ msgid "exporting to:" #~ msgstr "exportieren in:" #~ msgid "" #~ "PDF-Shuffler is a simple pyGTK utility which lets you merge, split and " #~ "rearrange PDF documents. You can also rotate and crop individual pages of " #~ "a pdf document." #~ msgstr "" #~ "PDF-Shuffler ist eine einfache pyGTK Anwendung, die Ihnen das " #~ "Zusammenfügen, die Zerteilung und das Umordnen von PDF-Dokumenten " #~ "ermöglicht. Darüber hinaus können Sie einzelne Seiten des PDF-Dokumentes " #~ "rotieren oder zuschneiden." pdfshuffler-0.6.0/po/genpot.sh0000775000175000017500000000221411725061356016143 0ustar logari81logari81#!/bin/sh # # PdfShuffler 0.6.0 - GTK+ based utility for splitting, rearrangement and # modification of PDF documents. # Copyright (C) 2008-2012 Konstantinos Poulios # # # This file is part of PdfShuffler. # # PdfShuffler is free software; you can redistribute it and/or modify # it under the terms of the GNU General Public License as published by # the Free Software Foundation; either version 3 of the License, or # (at your option) any later version. # # This program is distributed in the hope that it will be useful, # but WITHOUT ANY WARRANTY; without even the implied warranty of # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the # GNU General Public License for more details. # # You should have received a copy of the GNU General Public License along # with this program; if not, write to the Free Software Foundation, Inc., # 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA. # # Make translation files intltool-extract --type=gettext/glade data/pdfshuffler.ui xgettext --language=Python --keyword=_ --keyword=N_ --output=po/pdfshuffler.pot pdfshuffler/*.py data/pdfshuffler.ui.h pdfshuffler-0.6.0/po/ja.po0000664000175000017500000001271011747057365015255 0ustar logari81logari81# SOME DESCRIPTIVE TITLE. # Copyright (C) YEAR THE PACKAGE'S COPYRIGHT HOLDER # This file is distributed under the same license as the PACKAGE package. # Toshiharu Kudoh , 2010. # msgid "" msgstr "" "Project-Id-Version: 0.5.1\n" "Report-Msgid-Bugs-To: \n" "POT-Creation-Date: 2012-04-28 23:13+0200\n" "PO-Revision-Date: 2010-11-20 01:48+JST\n" "Last-Translator: Toshiharu Kudoh \n" "Language-Team: Japanese \n" "Language: ja\n" "MIME-Version: 1.0\n" "Content-Type: text/plain; charset=UTF-8\n" "Content-Transfer-Encoding: 8bit\n" #: pdfshuffler/pdfshuffler.py:110 msgid "Can't load icon. Application is not installed correctly." msgstr "" #: pdfshuffler/pdfshuffler.py:233 msgid "_Rotate Right" msgstr "" #: pdfshuffler/pdfshuffler.py:234 msgid "Rotate _Left" msgstr "" #: pdfshuffler/pdfshuffler.py:235 msgid "C_rop..." msgstr "" #: pdfshuffler/pdfshuffler.py:237 #, fuzzy msgid "_Export selection..." msgstr "エクスポート..." #: pdfshuffler/pdfshuffler.py:299 msgid "No document" msgstr "" #: pdfshuffler/pdfshuffler.py:301 msgid "Several documents" msgstr "" #: pdfshuffler/pdfshuffler.py:317 #, python-format msgid "Rendering thumbnails... [%(i1)s/%(i2)s]" msgstr "" #: pdfshuffler/pdfshuffler.py:435 msgid "page" msgstr "ページ" #: pdfshuffler/pdfshuffler.py:461 msgid "Export ..." msgstr "エクスポート..." #: pdfshuffler/pdfshuffler.py:470 pdfshuffler/pdfshuffler.py:586 msgid "PDF files" msgstr "PDF ファイル" #: pdfshuffler/pdfshuffler.py:475 pdfshuffler/pdfshuffler.py:581 msgid "All files" msgstr "全てのファイル" #: pdfshuffler/pdfshuffler.py:518 #, fuzzy, python-format msgid "" "File %s is encrypted.\n" "Support for encrypted files has not been implemented yet.\n" "File export failed." msgstr "そのファイルのサポートはまだ実装されていません。" #: pdfshuffler/pdfshuffler.py:571 msgid "Import..." msgstr "インポート..." #: pdfshuffler/pdfshuffler.py:604 msgid "OpenDocument not supported yet!" msgstr "OpenDocument はまだサポートされていません!" #: pdfshuffler/pdfshuffler.py:606 msgid "Image file not supported yet!" msgstr "画像ファイルはまだサポートされていません!" #: pdfshuffler/pdfshuffler.py:608 msgid "File type not supported!" msgstr "サポートされていないファイル形式です!" #: pdfshuffler/pdfshuffler.py:610 #, python-format msgid "File %s does not exist" msgstr "%s は存在しません" #: pdfshuffler/pdfshuffler.py:612 msgid "Closed, no files selected" msgstr "ファイルが選択されていませんので閉じられました" #: pdfshuffler/pdfshuffler.py:921 msgid "Left" msgstr "左" #: pdfshuffler/pdfshuffler.py:921 msgid "Right" msgstr "右" #: pdfshuffler/pdfshuffler.py:922 msgid "Top" msgstr "上" #: pdfshuffler/pdfshuffler.py:922 msgid "Bottom" msgstr "下" #: pdfshuffler/pdfshuffler.py:940 #, fuzzy msgid "Crop Selected Pages" msgstr "選択されたページのトリミング" #: pdfshuffler/pdfshuffler.py:948 msgid "Crop Margins" msgstr "余白のトリミング" #: pdfshuffler/pdfshuffler.py:955 #, python-format msgid "% of width" msgstr "% の幅" #: pdfshuffler/pdfshuffler.py:955 #, python-format msgid "% of height" msgstr "% の高さ" #: pdfshuffler/pdfshuffler.py:993 msgid "Dialog closed" msgstr "ダイアログが閉じられました" #: pdfshuffler/pdfshuffler.py:1007 #, python-format msgid "" "%s is a tool for rearranging and modifying PDF files. Developed using GTK+ " "and Python" msgstr "" #: data/pdfshuffler.ui.h:1 msgid "Crop" msgstr "" #: data/pdfshuffler.ui.h:2 #, fuzzy msgid "Delete" msgstr "ページの削除" #: data/pdfshuffler.ui.h:3 #, fuzzy msgid "Import" msgstr "インポート..." #: data/pdfshuffler.ui.h:4 msgid "Open a file and append it to the current document" msgstr "" #: data/pdfshuffler.ui.h:5 msgid "Rotate left" msgstr "" #: data/pdfshuffler.ui.h:6 msgid "Rotate right" msgstr "" #: data/pdfshuffler.ui.h:7 msgid "Save" msgstr "" #: data/pdfshuffler.ui.h:8 msgid "Save as" msgstr "" #: data/pdfshuffler.ui.h:9 msgid "Zoom in" msgstr "" #: data/pdfshuffler.ui.h:10 msgid "Zoom out" msgstr "" #: data/pdfshuffler.ui.h:11 msgid "_Edit" msgstr "" #: data/pdfshuffler.ui.h:12 msgid "_File" msgstr "" #: data/pdfshuffler.ui.h:13 msgid "_Help" msgstr "" #: data/pdfshuffler.ui.h:14 msgid "_View" msgstr "" #~ msgid "Import pdf" #~ msgstr "PDF をインポート" #~ msgid "Export pdf" #~ msgstr "PDF をエクスポート" #~ msgid "About" #~ msgstr "情報" #~ msgid "Rotate Page(s) Clockwise" #~ msgstr "ページを時計回りで回転" #~ msgid "Rotate Page(s) Counterclockwise" #~ msgstr "ページを反時計回りで回転" #~ msgid "Crop Page(s)" #~ msgstr "ページのトリミング" #~ msgid "Error writing file: %s" #~ msgstr "%s の書き出し中にエラーが発生しました" #~ msgid "File %s is encrypted." #~ msgstr "%s は暗号化されています。" #~ msgid "File export failed." #~ msgstr "ファイルの書き出しに失敗しました。" #~ msgid "" #~ "PDF-Shuffler is a simple pyGTK utility which lets you merge, split and " #~ "rearrange PDF documents. You can also rotate and crop individual pages of " #~ "a pdf document." #~ msgstr "" #~ "PDF-Shuffler は PDF ドキュメントのマージ、分割、回転、ページの再配置をさせ" #~ "るシンプルな pyGTK ユーティリティです。PDF ドキュメントの個々のページを回" #~ "転させたり、トリミングすることも可能です。" pdfshuffler-0.6.0/po/it.po0000664000175000017500000001063511747057365015303 0ustar logari81logari81msgid "" msgstr "" "Project-Id-Version: PDF-Shuffler 0.4\n" "Report-Msgid-Bugs-To: \n" "POT-Creation-Date: 2012-04-28 23:13+0200\n" "PO-Revision-Date: 2009-06-25 14:11+0100\n" "Last-Translator: netcelli \n" "Language-Team: netcelli \n" "Language: \n" "MIME-Version: 1.0\n" "Content-Type: text/plain; charset=UTF-8\n" "Content-Transfer-Encoding: 8bit\n" "X-Poedit-Language: Italian\n" "X-Poedit-Country: ITALY\n" #: pdfshuffler/pdfshuffler.py:110 msgid "Can't load icon. Application is not installed correctly." msgstr "" #: pdfshuffler/pdfshuffler.py:233 msgid "_Rotate Right" msgstr "" #: pdfshuffler/pdfshuffler.py:234 msgid "Rotate _Left" msgstr "" #: pdfshuffler/pdfshuffler.py:235 msgid "C_rop..." msgstr "" #: pdfshuffler/pdfshuffler.py:237 #, fuzzy msgid "_Export selection..." msgstr "Esporta ..." #: pdfshuffler/pdfshuffler.py:299 msgid "No document" msgstr "" #: pdfshuffler/pdfshuffler.py:301 msgid "Several documents" msgstr "" #: pdfshuffler/pdfshuffler.py:317 #, python-format msgid "Rendering thumbnails... [%(i1)s/%(i2)s]" msgstr "" #: pdfshuffler/pdfshuffler.py:435 msgid "page" msgstr "pagina" #: pdfshuffler/pdfshuffler.py:461 msgid "Export ..." msgstr "Esporta ..." #: pdfshuffler/pdfshuffler.py:470 pdfshuffler/pdfshuffler.py:586 msgid "PDF files" msgstr "File PDF" #: pdfshuffler/pdfshuffler.py:475 pdfshuffler/pdfshuffler.py:581 msgid "All files" msgstr "Tutti i file" #: pdfshuffler/pdfshuffler.py:518 #, fuzzy, python-format msgid "" "File %s is encrypted.\n" "Support for encrypted files has not been implemented yet.\n" "File export failed." msgstr "Il supporto per questo tipo di file non è ancora stato implementato" #: pdfshuffler/pdfshuffler.py:571 #, fuzzy msgid "Import..." msgstr "Importa ..." #: pdfshuffler/pdfshuffler.py:604 msgid "OpenDocument not supported yet!" msgstr "" #: pdfshuffler/pdfshuffler.py:606 msgid "Image file not supported yet!" msgstr "" #: pdfshuffler/pdfshuffler.py:608 msgid "File type not supported!" msgstr "" #: pdfshuffler/pdfshuffler.py:610 #, python-format msgid "File %s does not exist" msgstr "Il file %s non esiste" #: pdfshuffler/pdfshuffler.py:612 msgid "Closed, no files selected" msgstr "Chiuso, nessun file selezionato" #: pdfshuffler/pdfshuffler.py:921 msgid "Left" msgstr "Sinistra" #: pdfshuffler/pdfshuffler.py:921 msgid "Right" msgstr "Destra" #: pdfshuffler/pdfshuffler.py:922 msgid "Top" msgstr "Alto" #: pdfshuffler/pdfshuffler.py:922 msgid "Bottom" msgstr "Basso" #: pdfshuffler/pdfshuffler.py:940 #, fuzzy msgid "Crop Selected Pages" msgstr "Taglia pagina(e) seleziona(e)" #: pdfshuffler/pdfshuffler.py:948 msgid "Crop Margins" msgstr "Taglia margini" #: pdfshuffler/pdfshuffler.py:955 #, python-format msgid "% of width" msgstr "% in larghezza" #: pdfshuffler/pdfshuffler.py:955 #, python-format msgid "% of height" msgstr "% in altezza" #: pdfshuffler/pdfshuffler.py:993 msgid "Dialog closed" msgstr "FInestra di dialogo chiusa" #: pdfshuffler/pdfshuffler.py:1007 #, python-format msgid "" "%s is a tool for rearranging and modifying PDF files. Developed using GTK+ " "and Python" msgstr "" #: data/pdfshuffler.ui.h:1 msgid "Crop" msgstr "" #: data/pdfshuffler.ui.h:2 #, fuzzy msgid "Delete" msgstr "Cancella pagina(e)" #: data/pdfshuffler.ui.h:3 #, fuzzy msgid "Import" msgstr "Importa ..." #: data/pdfshuffler.ui.h:4 msgid "Open a file and append it to the current document" msgstr "" #: data/pdfshuffler.ui.h:5 msgid "Rotate left" msgstr "" #: data/pdfshuffler.ui.h:6 msgid "Rotate right" msgstr "" #: data/pdfshuffler.ui.h:7 msgid "Save" msgstr "" #: data/pdfshuffler.ui.h:8 msgid "Save as" msgstr "" #: data/pdfshuffler.ui.h:9 msgid "Zoom in" msgstr "" #: data/pdfshuffler.ui.h:10 msgid "Zoom out" msgstr "" #: data/pdfshuffler.ui.h:11 msgid "_Edit" msgstr "" #: data/pdfshuffler.ui.h:12 msgid "_File" msgstr "" #: data/pdfshuffler.ui.h:13 msgid "_Help" msgstr "" #: data/pdfshuffler.ui.h:14 msgid "_View" msgstr "" #~ msgid "Import pdf" #~ msgstr "Importa PDF" #~ msgid "Export pdf" #~ msgstr "Esporta PDF" #~ msgid "Rotate Page(s) Clockwise" #~ msgstr "Ruota pagina(e) in senso orario" #~ msgid "Rotate Page(s) Counterclockwise" #~ msgstr "Ruota pagina(e) in senso antiorario" #~ msgid "Crop Page(s)" #~ msgstr "Taglia pagina(e)" #~ msgid "File %s is encrypted." #~ msgstr "Il file %s è criptato." #~ msgid "File export failed." #~ msgstr "Esportazione dei file fallita" #~ msgid "exporting to:" #~ msgstr "esporta in:" pdfshuffler-0.6.0/po/pdfshuffler.pot0000664000175000017500000000723611747057365017366 0ustar logari81logari81# SOME DESCRIPTIVE TITLE. # Copyright (C) YEAR THE PACKAGE'S COPYRIGHT HOLDER # This file is distributed under the same license as the PACKAGE package. # FIRST AUTHOR , YEAR. # #, fuzzy msgid "" msgstr "" "Project-Id-Version: PACKAGE VERSION\n" "Report-Msgid-Bugs-To: \n" "POT-Creation-Date: 2012-04-28 23:13+0200\n" "PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n" "Last-Translator: FULL NAME \n" "Language-Team: LANGUAGE \n" "Language: \n" "MIME-Version: 1.0\n" "Content-Type: text/plain; charset=CHARSET\n" "Content-Transfer-Encoding: 8bit\n" #: pdfshuffler/pdfshuffler.py:110 msgid "Can't load icon. Application is not installed correctly." msgstr "" #: pdfshuffler/pdfshuffler.py:233 msgid "_Rotate Right" msgstr "" #: pdfshuffler/pdfshuffler.py:234 msgid "Rotate _Left" msgstr "" #: pdfshuffler/pdfshuffler.py:235 msgid "C_rop..." msgstr "" #: pdfshuffler/pdfshuffler.py:237 msgid "_Export selection..." msgstr "" #: pdfshuffler/pdfshuffler.py:299 msgid "No document" msgstr "" #: pdfshuffler/pdfshuffler.py:301 msgid "Several documents" msgstr "" #: pdfshuffler/pdfshuffler.py:317 #, python-format msgid "Rendering thumbnails... [%(i1)s/%(i2)s]" msgstr "" #: pdfshuffler/pdfshuffler.py:435 msgid "page" msgstr "" #: pdfshuffler/pdfshuffler.py:461 msgid "Export ..." msgstr "" #: pdfshuffler/pdfshuffler.py:470 pdfshuffler/pdfshuffler.py:586 msgid "PDF files" msgstr "" #: pdfshuffler/pdfshuffler.py:475 pdfshuffler/pdfshuffler.py:581 msgid "All files" msgstr "" #: pdfshuffler/pdfshuffler.py:518 #, python-format msgid "" "File %s is encrypted.\n" "Support for encrypted files has not been implemented yet.\n" "File export failed." msgstr "" #: pdfshuffler/pdfshuffler.py:571 msgid "Import..." msgstr "" #: pdfshuffler/pdfshuffler.py:604 msgid "OpenDocument not supported yet!" msgstr "" #: pdfshuffler/pdfshuffler.py:606 msgid "Image file not supported yet!" msgstr "" #: pdfshuffler/pdfshuffler.py:608 msgid "File type not supported!" msgstr "" #: pdfshuffler/pdfshuffler.py:610 #, python-format msgid "File %s does not exist" msgstr "" #: pdfshuffler/pdfshuffler.py:612 msgid "Closed, no files selected" msgstr "" #: pdfshuffler/pdfshuffler.py:921 msgid "Left" msgstr "" #: pdfshuffler/pdfshuffler.py:921 msgid "Right" msgstr "" #: pdfshuffler/pdfshuffler.py:922 msgid "Top" msgstr "" #: pdfshuffler/pdfshuffler.py:922 msgid "Bottom" msgstr "" #: pdfshuffler/pdfshuffler.py:940 msgid "Crop Selected Pages" msgstr "" #: pdfshuffler/pdfshuffler.py:948 msgid "Crop Margins" msgstr "" #: pdfshuffler/pdfshuffler.py:955 #, python-format msgid "% of width" msgstr "" #: pdfshuffler/pdfshuffler.py:955 #, python-format msgid "% of height" msgstr "" #: pdfshuffler/pdfshuffler.py:993 msgid "Dialog closed" msgstr "" #: pdfshuffler/pdfshuffler.py:1007 #, python-format msgid "" "%s is a tool for rearranging and modifying PDF files. Developed using GTK+ " "and Python" msgstr "" #: data/pdfshuffler.ui.h:1 msgid "Crop" msgstr "" #: data/pdfshuffler.ui.h:2 msgid "Delete" msgstr "" #: data/pdfshuffler.ui.h:3 msgid "Import" msgstr "" #: data/pdfshuffler.ui.h:4 msgid "Open a file and append it to the current document" msgstr "" #: data/pdfshuffler.ui.h:5 msgid "Rotate left" msgstr "" #: data/pdfshuffler.ui.h:6 msgid "Rotate right" msgstr "" #: data/pdfshuffler.ui.h:7 msgid "Save" msgstr "" #: data/pdfshuffler.ui.h:8 msgid "Save as" msgstr "" #: data/pdfshuffler.ui.h:9 msgid "Zoom in" msgstr "" #: data/pdfshuffler.ui.h:10 msgid "Zoom out" msgstr "" #: data/pdfshuffler.ui.h:11 msgid "_Edit" msgstr "" #: data/pdfshuffler.ui.h:12 msgid "_File" msgstr "" #: data/pdfshuffler.ui.h:13 msgid "_Help" msgstr "" #: data/pdfshuffler.ui.h:14 msgid "_View" msgstr "" pdfshuffler-0.6.0/po/hu.po0000664000175000017500000001223011747057365015274 0ustar logari81logari81# SOME DESCRIPTIVE TITLE. # Copyright (C) YEAR THE PACKAGE'S COPYRIGHT HOLDER # This file is distributed under the same license as the PACKAGE package. # FIRST AUTHOR , YEAR. # msgid "" msgstr "" "Project-Id-Version: PDF-Shuffler 0.6.0\n" "Report-Msgid-Bugs-To: \n" "POT-Creation-Date: 2012-04-28 23:13+0200\n" "PO-Revision-Date: 2011-11-25 18:26+0100\n" "Last-Translator: Peter Bojtos \n" "Language-Team: SuliX Support Team \n" "Language: \n" "MIME-Version: 1.0\n" "Content-Type: text/plain; charset=UTF-8\n" "Content-Transfer-Encoding: 8bit\n" "X-Poedit-Language: Hungarian\n" "X-Poedit-Country: HUNGARY\n" "X-Poedit-SourceCharset: utf-8\n" #: pdfshuffler/pdfshuffler.py:110 msgid "Can't load icon. Application is not installed correctly." msgstr "" "Az ikon betöltése nem sikerült, az alkalmazás nincs megfelelően telepítve." #: pdfshuffler/pdfshuffler.py:233 msgid "_Rotate Right" msgstr "Forgatás _Jobbra" #: pdfshuffler/pdfshuffler.py:234 msgid "Rotate _Left" msgstr "Forgatás _Balra" #: pdfshuffler/pdfshuffler.py:235 msgid "C_rop..." msgstr "_Vágás..." #: pdfshuffler/pdfshuffler.py:237 #, fuzzy msgid "_Export selection..." msgstr "Exportálás..." #: pdfshuffler/pdfshuffler.py:299 msgid "No document" msgstr "Nincs dokumentum" #: pdfshuffler/pdfshuffler.py:301 msgid "Several documents" msgstr "Néhány dokumentum" #: pdfshuffler/pdfshuffler.py:317 #, python-format msgid "Rendering thumbnails... [%(i1)s/%(i2)s]" msgstr "Bélyegképek előállítása... [%(i1)s/%(i2)s]" #: pdfshuffler/pdfshuffler.py:435 msgid "page" msgstr "oldal" #: pdfshuffler/pdfshuffler.py:461 msgid "Export ..." msgstr "Exportálás..." #: pdfshuffler/pdfshuffler.py:470 pdfshuffler/pdfshuffler.py:586 msgid "PDF files" msgstr "PDF fájlok" #: pdfshuffler/pdfshuffler.py:475 pdfshuffler/pdfshuffler.py:581 msgid "All files" msgstr "Minden fájl" #: pdfshuffler/pdfshuffler.py:518 #, fuzzy, python-format msgid "" "File %s is encrypted.\n" "Support for encrypted files has not been implemented yet.\n" "File export failed." msgstr "Az ilyen típusú fájlok jelenleg még nem támogatottak." #: pdfshuffler/pdfshuffler.py:571 #, fuzzy msgid "Import..." msgstr "_Importálás..." #: pdfshuffler/pdfshuffler.py:604 msgid "OpenDocument not supported yet!" msgstr "Az OpenDocument formátum még nem támogatott!" #: pdfshuffler/pdfshuffler.py:606 msgid "Image file not supported yet!" msgstr "A képfájl még nem támogatott!" #: pdfshuffler/pdfshuffler.py:608 msgid "File type not supported!" msgstr "A fájltípus nem támogatott!" #: pdfshuffler/pdfshuffler.py:610 #, python-format msgid "File %s does not exist" msgstr "A fájl nem létezik: %s" #: pdfshuffler/pdfshuffler.py:612 msgid "Closed, no files selected" msgstr "Bezárva, nincs fájl kiválasztva" #: pdfshuffler/pdfshuffler.py:921 msgid "Left" msgstr "Balra" #: pdfshuffler/pdfshuffler.py:921 msgid "Right" msgstr "Jobbra" #: pdfshuffler/pdfshuffler.py:922 msgid "Top" msgstr "Fent" #: pdfshuffler/pdfshuffler.py:922 msgid "Bottom" msgstr "Lent" #: pdfshuffler/pdfshuffler.py:940 msgid "Crop Selected Pages" msgstr "A kiválasztott oldalak levágása" #: pdfshuffler/pdfshuffler.py:948 msgid "Crop Margins" msgstr "Margók levágása" #: pdfshuffler/pdfshuffler.py:955 #, fuzzy, python-format msgid "% of width" msgstr "% szélesség" #: pdfshuffler/pdfshuffler.py:955 #, fuzzy, python-format msgid "% of height" msgstr "% magasság" #: pdfshuffler/pdfshuffler.py:993 msgid "Dialog closed" msgstr "Párbeszédablak bezárva" #: pdfshuffler/pdfshuffler.py:1007 #, fuzzy, python-format msgid "" "%s is a tool for rearranging and modifying PDF files. Developed using GTK+ " "and Python" msgstr "" "A %s egy olyan eszköz, mellyel átrendezhetők és módosíthatóak a PDF fájlok. " "GTK+ és Python segítségével írták" #: data/pdfshuffler.ui.h:1 msgid "Crop" msgstr "Levágás" #: data/pdfshuffler.ui.h:2 msgid "Delete" msgstr "Törlés" #: data/pdfshuffler.ui.h:3 #, fuzzy msgid "Import" msgstr "_Importálás..." #: data/pdfshuffler.ui.h:4 msgid "Open a file and append it to the current document" msgstr "" #: data/pdfshuffler.ui.h:5 msgid "Rotate left" msgstr "Forgatás balra" #: data/pdfshuffler.ui.h:6 msgid "Rotate right" msgstr "Forgatás jobbra" #: data/pdfshuffler.ui.h:7 msgid "Save" msgstr "Mentés" #: data/pdfshuffler.ui.h:8 msgid "Save as" msgstr "Mentés másként" #: data/pdfshuffler.ui.h:9 msgid "Zoom in" msgstr "Nagyítás" #: data/pdfshuffler.ui.h:10 msgid "Zoom out" msgstr "Kicsinyítés" #: data/pdfshuffler.ui.h:11 msgid "_Edit" msgstr "_Szerkesztés" #: data/pdfshuffler.ui.h:12 msgid "_File" msgstr "_Fájl" #: data/pdfshuffler.ui.h:13 msgid "_Help" msgstr "_Súgó" #: data/pdfshuffler.ui.h:14 msgid "_View" msgstr "_Nézet" #~ msgid "Error writing file: %s" #~ msgstr "Nem sikerült írni a következő fájlba: %s" #~ msgid "File %s is encrypted." #~ msgstr "A következő fájl titkosított: %s." #~ msgid "File export failed." #~ msgstr "A fájl exportálása nem sikerült" #~ msgid "exporting to:" #~ msgstr "exportálás ide:" #~ msgid "Rendering thumbnails... [%(i1)s/%(i1)s]" #~ msgstr "Bélyegképek előállítása... [%(i1)s/%(i1)s]" #~ msgid "Open" #~ msgstr "Megnyitás" pdfshuffler-0.6.0/po/updatepo.sh0000775000175000017500000000205011725061356016466 0ustar logari81logari81#!/bin/sh # # PdfShuffler 0.6.0 - GTK+ based utility for splitting, rearrangement and # modification of PDF documents. # Copyright (C) 2008-2012 Konstantinos Poulios # # # This file is part of PdfShuffler. # # PdfShuffler is free software; you can redistribute it and/or modify # it under the terms of the GNU General Public License as published by # the Free Software Foundation; either version 3 of the License, or # (at your option) any later version. # # This program is distributed in the hope that it will be useful, # but WITHOUT ANY WARRANTY; without even the implied warranty of # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the # GNU General Public License for more details. # # You should have received a copy of the GNU General Public License along # with this program; if not, write to the Free Software Foundation, Inc., # 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA. # # Update translation files find ./po -type f -iname "*.po" -exec msgmerge -U {} po/pdfshuffler.pot \; pdfshuffler-0.6.0/po/el.po0000664000175000017500000001553211747057365015270 0ustar logari81logari81# PDF-Shuffler Greek Translation. # Copyright (C) 2009 # This file is distributed under the same license as the pdfshuffler package. # Konstantinos Poulios , 2009. # msgid "" msgstr "" "Project-Id-Version: PDF-Shuffler 0.5\n" "Report-Msgid-Bugs-To: \n" "POT-Creation-Date: 2012-04-28 23:13+0200\n" "PO-Revision-Date: 2012-03-05 07:45+0100\n" "Last-Translator: Konstantinos Poulios \n" "Language-Team: Konstantinos Poulios \n" "Language: \n" "MIME-Version: 1.0\n" "Content-Type: text/plain; charset=UTF-8\n" "Content-Transfer-Encoding: 8bit\n" "X-Poedit-Language: Greek\n" #: pdfshuffler/pdfshuffler.py:110 msgid "Can't load icon. Application is not installed correctly." msgstr "Αδυναμία φόρτωσης εικονιδίου. Η εφαρμογή δεν έχει εγκατασταθεί σωστά." #: pdfshuffler/pdfshuffler.py:233 msgid "_Rotate Right" msgstr "Περιστροφή _Δεξιά" #: pdfshuffler/pdfshuffler.py:234 msgid "Rotate _Left" msgstr "Περιστροφή _Αριστερά" #: pdfshuffler/pdfshuffler.py:235 msgid "C_rop..." msgstr "_Περικοπή" #: pdfshuffler/pdfshuffler.py:237 msgid "_Export selection..." msgstr "Εξαγωγή επιλεγμένων..." #: pdfshuffler/pdfshuffler.py:299 msgid "No document" msgstr "Κανένα έγγραφο" #: pdfshuffler/pdfshuffler.py:301 msgid "Several documents" msgstr "Διάφορα έγγραφα" #: pdfshuffler/pdfshuffler.py:317 #, python-format msgid "Rendering thumbnails... [%(i1)s/%(i2)s]" msgstr "Απεικόνιση μικρογραφιών... [%(i1)s/%(i2)s]" #: pdfshuffler/pdfshuffler.py:435 msgid "page" msgstr "σελίδα" #: pdfshuffler/pdfshuffler.py:461 msgid "Export ..." msgstr "Εξαγωγή ..." #: pdfshuffler/pdfshuffler.py:470 pdfshuffler/pdfshuffler.py:586 msgid "PDF files" msgstr "Αρχεία PDF" #: pdfshuffler/pdfshuffler.py:475 pdfshuffler/pdfshuffler.py:581 msgid "All files" msgstr "Όλα τα αρχεία" #: pdfshuffler/pdfshuffler.py:518 #, python-format msgid "" "File %s is encrypted.\n" "Support for encrypted files has not been implemented yet.\n" "File export failed." msgstr "" "Το αρχείο e %s είναι κρυπτογραφημένο.\n" "Η υποστήριξη για κρυπτογραφημένα αρχεία δεν έχει υλοποιηθεί ακόμα.Η εξαγωγή " "του αρχείου απέτυχε." #: pdfshuffler/pdfshuffler.py:571 msgid "Import..." msgstr "Εισαγωγή ..." #: pdfshuffler/pdfshuffler.py:604 msgid "OpenDocument not supported yet!" msgstr "Αρχεία τύπου OpenDocument δεν υποστηρίζονται!" #: pdfshuffler/pdfshuffler.py:606 msgid "Image file not supported yet!" msgstr "Αρχεία εικόνων δεν υποστηρίζονται ακόμα!" #: pdfshuffler/pdfshuffler.py:608 msgid "File type not supported!" msgstr "Αυτός ο τύπος αρχείου δεν υποστηρίζεται!" #: pdfshuffler/pdfshuffler.py:610 #, python-format msgid "File %s does not exist" msgstr "Το αρχείο %s δεν υπάρχει" #: pdfshuffler/pdfshuffler.py:612 msgid "Closed, no files selected" msgstr "Κλείσιμο χωρίς επιλογή αρχείου" #: pdfshuffler/pdfshuffler.py:921 msgid "Left" msgstr "Αριστερά" #: pdfshuffler/pdfshuffler.py:921 msgid "Right" msgstr "Δεξιά" #: pdfshuffler/pdfshuffler.py:922 msgid "Top" msgstr "Πάνω" #: pdfshuffler/pdfshuffler.py:922 msgid "Bottom" msgstr "Κάτω" #: pdfshuffler/pdfshuffler.py:940 msgid "Crop Selected Pages" msgstr "Περικοπή επιλεγμένων σελίδων" #: pdfshuffler/pdfshuffler.py:948 msgid "Crop Margins" msgstr "Αποκοπή περιθωρίων" #: pdfshuffler/pdfshuffler.py:955 #, python-format msgid "% of width" msgstr "% του πλάτους" #: pdfshuffler/pdfshuffler.py:955 #, python-format msgid "% of height" msgstr "% του ύψους" #: pdfshuffler/pdfshuffler.py:993 msgid "Dialog closed" msgstr "Κλείσιμο διαλόγου" #: pdfshuffler/pdfshuffler.py:1007 #, python-format msgid "" "%s is a tool for rearranging and modifying PDF files. Developed using GTK+ " "and Python" msgstr "" "Το %s είναι ένα εργαλείο για αναδιάταξη και τροποποίηση αρχείων PDF. Είναι " "γραμμένο σε GTK+ και Python" #: data/pdfshuffler.ui.h:1 msgid "Crop" msgstr "Περικοπή" #: data/pdfshuffler.ui.h:2 msgid "Delete" msgstr "Διαγραφή" #: data/pdfshuffler.ui.h:3 msgid "Import" msgstr "Εισαγωγή" #: data/pdfshuffler.ui.h:4 msgid "Open a file and append it to the current document" msgstr "Άνοιγμα ενός αρχείου και προσάρτηση στο τρέχον έγγραφο" #: data/pdfshuffler.ui.h:5 msgid "Rotate left" msgstr "Περιστροφή αριστερά" #: data/pdfshuffler.ui.h:6 msgid "Rotate right" msgstr "Περιστροφή δεξιά" #: data/pdfshuffler.ui.h:7 msgid "Save" msgstr "Αποθήκευση" #: data/pdfshuffler.ui.h:8 msgid "Save as" msgstr "Αποθήκευση ως" #: data/pdfshuffler.ui.h:9 msgid "Zoom in" msgstr "Μεγέθυνση" #: data/pdfshuffler.ui.h:10 msgid "Zoom out" msgstr "Σμίκρυνση" #: data/pdfshuffler.ui.h:11 msgid "_Edit" msgstr "_Επεξεργασία" #: data/pdfshuffler.ui.h:12 msgid "_File" msgstr "_Αρχείο" #: data/pdfshuffler.ui.h:13 msgid "_Help" msgstr "_Βοήθεια" #: data/pdfshuffler.ui.h:14 msgid "_View" msgstr "_Προβολή" #~ msgid "Import pdf" #~ msgstr "Εισαγωγή pdf" #~ msgid "Export pdf" #~ msgstr "Εξαγωγή pdf" #~ msgid "About" #~ msgstr "Περί" #~ msgid "Rotate Page(s) Clockwise" #~ msgstr "Περιστροφή σελίδας/ων ωρολογιακά" #~ msgid "Rotate Page(s) Counterclockwise" #~ msgstr "Περιστροφή σελίδας/ων αντιωρολογιακά" #~ msgid "Crop Page(s)" #~ msgstr "Περικοπή σελίδας/ων" #~ msgid "Error writing file: %s" #~ msgstr "Σφάλμα εγγραφής στο αρχείο: %s" #~ msgid "File %s is encrypted." #~ msgstr "Το αρχείο %s είναι κρυπτογραφημένο." #~ msgid "File export failed." #~ msgstr "Αποτυχία εξαγωγής αρχείου." #~ msgid "exporting to:" #~ msgstr "εξαγωγή:" #~ msgid "" #~ "PDF-Shuffler is a simple pyGTK utility which lets you merge, split and " #~ "rearrange PDF documents. You can also rotate and crop individual pages of " #~ "a pdf document." #~ msgstr "" #~ "Το PDF-Shuffler είναι μία απλή εφαρμογή pyGTK που σας επιτρέπει να " #~ "συνενώσετε, διαχωρίσετε και να αναδιατάξετε έγγραφα pdf. Επίσης μπορείτε " #~ "να περιστρέψετε και να περικόψετε τις σελίδες ενός εγγράφου pdf." pdfshuffler-0.6.0/po/zh_CN.po0000664000175000017500000001177511747057365015676 0ustar logari81logari81# SOME DESCRIPTIVE TITLE. # Copyright (C) YEAR THE PACKAGE'S COPYRIGHT HOLDER # This file is distributed under the same license as the PACKAGE package. # FIRST AUTHOR , YEAR. # msgid "" msgstr "" "Project-Id-Version: pdfshuffler\n" "Report-Msgid-Bugs-To: \n" "POT-Creation-Date: 2012-04-28 23:13+0200\n" "PO-Revision-Date: 2010-10-15 16:38+0800\n" "Last-Translator: Dean Lee \n" "Language-Team: Chinese Simp \n" "Language: \n" "MIME-Version: 1.0\n" "Content-Type: text/plain; charset=UTF-8\n" "Content-Transfer-Encoding: 8bit\n" "X-Poedit-Language: Chinese\n" "X-Poedit-Country: CHINA\n" #: pdfshuffler/pdfshuffler.py:110 msgid "Can't load icon. Application is not installed correctly." msgstr "" #: pdfshuffler/pdfshuffler.py:233 msgid "_Rotate Right" msgstr "" #: pdfshuffler/pdfshuffler.py:234 msgid "Rotate _Left" msgstr "" #: pdfshuffler/pdfshuffler.py:235 msgid "C_rop..." msgstr "" #: pdfshuffler/pdfshuffler.py:237 #, fuzzy msgid "_Export selection..." msgstr "导出..." #: pdfshuffler/pdfshuffler.py:299 msgid "No document" msgstr "" #: pdfshuffler/pdfshuffler.py:301 msgid "Several documents" msgstr "" #: pdfshuffler/pdfshuffler.py:317 #, python-format msgid "Rendering thumbnails... [%(i1)s/%(i2)s]" msgstr "" #: pdfshuffler/pdfshuffler.py:435 msgid "page" msgstr "页面" #: pdfshuffler/pdfshuffler.py:461 msgid "Export ..." msgstr "导出..." #: pdfshuffler/pdfshuffler.py:470 pdfshuffler/pdfshuffler.py:586 msgid "PDF files" msgstr "PDF 文件" #: pdfshuffler/pdfshuffler.py:475 pdfshuffler/pdfshuffler.py:581 msgid "All files" msgstr "所有文件" #: pdfshuffler/pdfshuffler.py:518 #, fuzzy, python-format msgid "" "File %s is encrypted.\n" "Support for encrypted files has not been implemented yet.\n" "File export failed." msgstr "尚未实现对此类文件的支持。" #: pdfshuffler/pdfshuffler.py:571 msgid "Import..." msgstr "导入..." #: pdfshuffler/pdfshuffler.py:604 msgid "OpenDocument not supported yet!" msgstr "尚未支持 OpenDocument 文档!" #: pdfshuffler/pdfshuffler.py:606 msgid "Image file not supported yet!" msgstr "尚未支持图像文件!" #: pdfshuffler/pdfshuffler.py:608 msgid "File type not supported!" msgstr "尚未支持该文件格式!" #: pdfshuffler/pdfshuffler.py:610 #, python-format msgid "File %s does not exist" msgstr "文件 %s 不存在" #: pdfshuffler/pdfshuffler.py:612 msgid "Closed, no files selected" msgstr "已关闭,未选择文件" #: pdfshuffler/pdfshuffler.py:921 msgid "Left" msgstr "左" #: pdfshuffler/pdfshuffler.py:921 msgid "Right" msgstr "右" #: pdfshuffler/pdfshuffler.py:922 msgid "Top" msgstr "顶" #: pdfshuffler/pdfshuffler.py:922 msgid "Bottom" msgstr "底" #: pdfshuffler/pdfshuffler.py:940 #, fuzzy msgid "Crop Selected Pages" msgstr "裁减所选页面" #: pdfshuffler/pdfshuffler.py:948 msgid "Crop Margins" msgstr "裁减量" #: pdfshuffler/pdfshuffler.py:955 #, python-format msgid "% of width" msgstr "% 的宽度" #: pdfshuffler/pdfshuffler.py:955 #, python-format msgid "% of height" msgstr "% 的高度" #: pdfshuffler/pdfshuffler.py:993 msgid "Dialog closed" msgstr "对话框已关闭" #: pdfshuffler/pdfshuffler.py:1007 #, python-format msgid "" "%s is a tool for rearranging and modifying PDF files. Developed using GTK+ " "and Python" msgstr "" #: data/pdfshuffler.ui.h:1 msgid "Crop" msgstr "" #: data/pdfshuffler.ui.h:2 #, fuzzy msgid "Delete" msgstr "删除页面" #: data/pdfshuffler.ui.h:3 #, fuzzy msgid "Import" msgstr "导入..." #: data/pdfshuffler.ui.h:4 msgid "Open a file and append it to the current document" msgstr "" #: data/pdfshuffler.ui.h:5 msgid "Rotate left" msgstr "" #: data/pdfshuffler.ui.h:6 msgid "Rotate right" msgstr "" #: data/pdfshuffler.ui.h:7 msgid "Save" msgstr "" #: data/pdfshuffler.ui.h:8 msgid "Save as" msgstr "" #: data/pdfshuffler.ui.h:9 msgid "Zoom in" msgstr "" #: data/pdfshuffler.ui.h:10 msgid "Zoom out" msgstr "" #: data/pdfshuffler.ui.h:11 msgid "_Edit" msgstr "" #: data/pdfshuffler.ui.h:12 msgid "_File" msgstr "" #: data/pdfshuffler.ui.h:13 msgid "_Help" msgstr "" #: data/pdfshuffler.ui.h:14 msgid "_View" msgstr "" #~ msgid "Import pdf" #~ msgstr "导入 pdf" #~ msgid "Export pdf" #~ msgstr "导出 pdf" #~ msgid "About" #~ msgstr "关于" #~ msgid "Rotate Page(s) Clockwise" #~ msgstr "顺时针旋转页面" #~ msgid "Rotate Page(s) Counterclockwise" #~ msgstr "逆时针旋转页面" #~ msgid "Crop Page(s)" #~ msgstr "裁减页面" #~ msgid "Error writing file: %s" #~ msgstr "文件写入错误: %s" #~ msgid "File %s is encrypted." #~ msgstr "文件 %s 已加密。" #~ msgid "File export failed." #~ msgstr "文件导出失败。" #~ msgid "exporting to:" #~ msgstr "导出至:" #~ msgid "" #~ "PDF-Shuffler is a simple pyGTK utility which lets you merge, split and " #~ "rearrange PDF documents. You can also rotate and crop individual pages of " #~ "a pdf document." #~ msgstr "" #~ "PDF-Shuffler 是一款可合并、分割和重组 PDF 文档的简单 pyGTK 实用工具。您还" #~ "可以旋转和裁减 pdf 文档的指定页面。" pdfshuffler-0.6.0/AUTHORS0000664000175000017500000000006111724643761014745 0ustar logari81logari81Konstantinos Poulios pdfshuffler-0.6.0/TODO0000664000175000017500000000047311747055153014371 0ustar logari81logari81TODO list for PDF-Shuffler -------------------------- * Add crop inspection mode. * Add program configuration dialog. * Add an export image option. * Add an import image option. * Add support for encrypted files. * Lazy thumbnails rendering. * Support autoscroll during navigation with the keyboard arrows. pdfshuffler-0.6.0/ChangeLog0000664000175000017500000000575411725071421015452 0ustar logari81logari81Version 0.6: -------------- * Cairo based rendering. * Zooming support. * Progressbar indicating loading of files. * New user interface with a conventional menubar and toolbar. * Export only selected pages option in the right-click menu from Alexander Hirzel. * Hungarian, Japanese and Chinese translations. Version 0.5.1: -------------- * Many bug fixes (3011515, 3027933, 3030180). * Czech translation. Version 0.5: -------------- * "About" dialog from rodolphe. * Italian and French translations. * Remember last export/import directory. * Replace confirmation message from ftsamis. * Failed to export error message from Külaots. * Patch fixing multiple rotations from Külaots. Version 0.4.2: -------------- * Patch cancel-file-open-fix.patch from Serafeim Zanikolas. * Patch fix-temp-dirname.patch from Serafeim Zanikolas. * The problem with thumbnail creation on Xservers with color depth other than 24 has been fixed. Closes bug #2789181. * Pressing quit button during loading a document doesn't freeze the application anymore. * Dimensions of the main window respecting small screen sizes. Version 0.4.1: -------------- * Forced MediaBox dimensions returned from pyPdf to be of type float. * Fixed a bug which messed up cropping if the imported document included already rotated pages. Version 0.4: -------------- * The library python-poppler replaced ghostscript for the rendering of pdf pages. * A multi-threading mechanism has been implemented in order to prevent program from becoming inactive during loading of pdf files with many pages. * A workaround for bug lp:#355479 has been included. * File permissions have been corrected. * The patch from fabianaffolter has been applied on the .desktop file and the Category of the application has been changed from "Graphics" to "Office". Version 0.3.1: -------------- * Fixes the bug, that was leading to loss of the crop information of a page after draggging ane dropping it to a second instance of pdfshuffler. Version 0.3: ------------ * Page rotation and cropping has been added. * Multiple items selection has been enabled and drag and drop support for multiple selected items has been implemented. * Autoscroll during drag and drop. * Multilanguage support has been implemented. German, spanish and greek translations incluced. * Export to pdf with filename which overrides an imported pdf filename now works. Version 0.2: ------------ * A great part of the programm has been rewritten. A new and more flexible mechanism for loading the document pages has been implemented. * Drag and drop functionality has been improved. Now drag and drop of pages between different instances of PDF-Shuffler is possible. * An application icon has been created. Version 0.1: ------------ * First release. Implementation of a GUI for pyPdf using python-gtk. For the rendering of the pdf documents the programm gs (ghostscript) has been used. This is a first just working approach. There is a lot more to do. pdfshuffler-0.6.0/setup.py0000775000175000017500000000454111724753146015420 0ustar logari81logari81#!/usr/bin/python # # PdfShuffler 0.6.0 - GTK+ based utility for splitting, rearrangement and # modification of PDF documents. # Copyright (C) 2008-2012 Konstantinos Poulios # # # This program is free software; you can redistribute it and/or modify # it under the terms of the GNU General Public License as published by # the Free Software Foundation; either version 3 of the License, or # (at your option) any later version. # # This program is distributed in the hope that it will be useful, # but WITHOUT ANY WARRANTY; without even the implied warranty of # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the # GNU General Public License for more details. # # You should have received a copy of the GNU General Public License along # with this program; if not, write to the Free Software Foundation, Inc., # 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA. # import os import re from distutils.core import setup data_files=[('share/pdfshuffler', ['data/pdfshuffler.ui']), ('share/applications', ['data/pdfshuffler.desktop']), ('share/man/man1', ['doc/pdfshuffler.1']), ('share/pixmaps', ['data/pdfshuffler.png']), ('share/pdfshuffler/icons/hicolor/scalable', ['data/pdfshuffler.svg']) ] # Freshly generate .mo from .po, add to data_files: if os.path.isdir('mo/'): os.system ('rm -r mo/') for name in os.listdir('po'): m = re.match(r'(.+)\.po$', name) if m != None: lang = m.group(1) out_dir = 'mo/%s/LC_MESSAGES' % lang out_name = os.path.join(out_dir, 'pdfshuffler.mo') install_dir = 'share/locale/%s/LC_MESSAGES/' % lang os.makedirs(out_dir) os.system('msgfmt -o %s po/%s' % (out_name, name)) data_files.append((install_dir, [out_name])) setup(name='pdfshuffler', version='0.6.0', author='Konstantinos Poulios', author_email='logari81 at gmail dot com', description='A simple application for PDF Merging, Rearranging, and Splitting', url = 'https://sourceforge.net/projects/pdfshuffler', license='GNU GPL-3', scripts=['bin/pdfshuffler'], packages=['pdfshuffler'], data_files=data_files ) # Clean up temporary files if os.path.isdir('mo/'): os.system ('rm -r mo/') if os.path.isdir('build/'): os.system ('rm -r build/') pdfshuffler-0.6.0/COPYING0000664000175000017500000010451411453434242014727 0ustar logari81logari81 GNU GENERAL PUBLIC LICENSE Version 3, 29 June 2007 Copyright (C) 2007 Free Software Foundation, Inc. Everyone is permitted to copy and distribute verbatim copies of this license document, but changing it is not allowed. Preamble The GNU General Public License is a free, copyleft license for software and other kinds of works. The licenses for most software and other practical works are designed to take away your freedom to share and change the works. By contrast, the GNU General Public License is intended to guarantee your freedom to share and change all versions of a program--to make sure it remains free software for all its users. We, the Free Software Foundation, use the GNU General Public License for most of our software; it applies also to any other work released this way by its authors. You can apply it to your programs, too. When we speak of free software, we are referring to freedom, not price. Our General Public Licenses are designed to make sure that you have the freedom to distribute copies of free software (and charge for them if you wish), that you receive source code or can get it if you want it, that you can change the software or use pieces of it in new free programs, and that you know you can do these things. To protect your rights, we need to prevent others from denying you these rights or asking you to surrender the rights. Therefore, you have certain responsibilities if you distribute copies of the software, or if you modify it: responsibilities to respect the freedom of others. For example, if you distribute copies of such a program, whether gratis or for a fee, you must pass on to the recipients the same freedoms that you received. You must make sure that they, too, receive or can get the source code. And you must show them these terms so they know their rights. Developers that use the GNU GPL protect your rights with two steps: (1) assert copyright on the software, and (2) offer you this License giving you legal permission to copy, distribute and/or modify it. For the developers' and authors' protection, the GPL clearly explains that there is no warranty for this free software. For both users' and authors' sake, the GPL requires that modified versions be marked as changed, so that their problems will not be attributed erroneously to authors of previous versions. Some devices are designed to deny users access to install or run modified versions of the software inside them, although the manufacturer can do so. This is fundamentally incompatible with the aim of protecting users' freedom to change the software. The systematic pattern of such abuse occurs in the area of products for individuals to use, which is precisely where it is most unacceptable. Therefore, we have designed this version of the GPL to prohibit the practice for those products. If such problems arise substantially in other domains, we stand ready to extend this provision to those domains in future versions of the GPL, as needed to protect the freedom of users. Finally, every program is threatened constantly by software patents. States should not allow patents to restrict development and use of software on general-purpose computers, but in those that do, we wish to avoid the special danger that patents applied to a free program could make it effectively proprietary. To prevent this, the GPL assures that patents cannot be used to render the program non-free. The precise terms and conditions for copying, distribution and modification follow. TERMS AND CONDITIONS 0. Definitions. "This License" refers to version 3 of the GNU General Public License. "Copyright" also means copyright-like laws that apply to other kinds of works, such as semiconductor masks. "The Program" refers to any copyrightable work licensed under this License. Each licensee is addressed as "you". "Licensees" and "recipients" may be individuals or organizations. To "modify" a work means to copy from or adapt all or part of the work in a fashion requiring copyright permission, other than the making of an exact copy. The resulting work is called a "modified version" of the earlier work or a work "based on" the earlier work. A "covered work" means either the unmodified Program or a work based on the Program. To "propagate" a work means to do anything with it that, without permission, would make you directly or secondarily liable for infringement under applicable copyright law, except executing it on a computer or modifying a private copy. Propagation includes copying, distribution (with or without modification), making available to the public, and in some countries other activities as well. To "convey" a work means any kind of propagation that enables other parties to make or receive copies. Mere interaction with a user through a computer network, with no transfer of a copy, is not conveying. An interactive user interface displays "Appropriate Legal Notices" to the extent that it includes a convenient and prominently visible feature that (1) displays an appropriate copyright notice, and (2) tells the user that there is no warranty for the work (except to the extent that warranties are provided), that licensees may convey the work under this License, and how to view a copy of this License. If the interface presents a list of user commands or options, such as a menu, a prominent item in the list meets this criterion. 1. Source Code. The "source code" for a work means the preferred form of the work for making modifications to it. "Object code" means any non-source form of a work. A "Standard Interface" means an interface that either is an official standard defined by a recognized standards body, or, in the case of interfaces specified for a particular programming language, one that is widely used among developers working in that language. The "System Libraries" of an executable work include anything, other than the work as a whole, that (a) is included in the normal form of packaging a Major Component, but which is not part of that Major Component, and (b) serves only to enable use of the work with that Major Component, or to implement a Standard Interface for which an implementation is available to the public in source code form. A "Major Component", in this context, means a major essential component (kernel, window system, and so on) of the specific operating system (if any) on which the executable work runs, or a compiler used to produce the work, or an object code interpreter used to run it. The "Corresponding Source" for a work in object code form means all the source code needed to generate, install, and (for an executable work) run the object code and to modify the work, including scripts to control those activities. However, it does not include the work's System Libraries, or general-purpose tools or generally available free programs which are used unmodified in performing those activities but which are not part of the work. For example, Corresponding Source includes interface definition files associated with source files for the work, and the source code for shared libraries and dynamically linked subprograms that the work is specifically designed to require, such as by intimate data communication or control flow between those subprograms and other parts of the work. The Corresponding Source need not include anything that users can regenerate automatically from other parts of the Corresponding Source. The Corresponding Source for a work in source code form is that same work. 2. Basic Permissions. All rights granted under this License are granted for the term of copyright on the Program, and are irrevocable provided the stated conditions are met. This License explicitly affirms your unlimited permission to run the unmodified Program. The output from running a covered work is covered by this License only if the output, given its content, constitutes a covered work. This License acknowledges your rights of fair use or other equivalent, as provided by copyright law. You may make, run and propagate covered works that you do not convey, without conditions so long as your license otherwise remains in force. You may convey covered works to others for the sole purpose of having them make modifications exclusively for you, or provide you with facilities for running those works, provided that you comply with the terms of this License in conveying all material for which you do not control copyright. Those thus making or running the covered works for you must do so exclusively on your behalf, under your direction and control, on terms that prohibit them from making any copies of your copyrighted material outside their relationship with you. Conveying under any other circumstances is permitted solely under the conditions stated below. Sublicensing is not allowed; section 10 makes it unnecessary. 3. Protecting Users' Legal Rights From Anti-Circumvention Law. No covered work shall be deemed part of an effective technological measure under any applicable law fulfilling obligations under article 11 of the WIPO copyright treaty adopted on 20 December 1996, or similar laws prohibiting or restricting circumvention of such measures. When you convey a covered work, you waive any legal power to forbid circumvention of technological measures to the extent such circumvention is effected by exercising rights under this License with respect to the covered work, and you disclaim any intention to limit operation or modification of the work as a means of enforcing, against the work's users, your or third parties' legal rights to forbid circumvention of technological measures. 4. Conveying Verbatim Copies. You may convey verbatim copies of the Program's source code as you receive it, in any medium, provided that you conspicuously and appropriately publish on each copy an appropriate copyright notice; keep intact all notices stating that this License and any non-permissive terms added in accord with section 7 apply to the code; keep intact all notices of the absence of any warranty; and give all recipients a copy of this License along with the Program. You may charge any price or no price for each copy that you convey, and you may offer support or warranty protection for a fee. 5. Conveying Modified Source Versions. You may convey a work based on the Program, or the modifications to produce it from the Program, in the form of source code under the terms of section 4, provided that you also meet all of these conditions: a) The work must carry prominent notices stating that you modified it, and giving a relevant date. b) The work must carry prominent notices stating that it is released under this License and any conditions added under section 7. This requirement modifies the requirement in section 4 to "keep intact all notices". c) You must license the entire work, as a whole, under this License to anyone who comes into possession of a copy. This License will therefore apply, along with any applicable section 7 additional terms, to the whole of the work, and all its parts, regardless of how they are packaged. This License gives no permission to license the work in any other way, but it does not invalidate such permission if you have separately received it. d) If the work has interactive user interfaces, each must display Appropriate Legal Notices; however, if the Program has interactive interfaces that do not display Appropriate Legal Notices, your work need not make them do so. A compilation of a covered work with other separate and independent works, which are not by their nature extensions of the covered work, and which are not combined with it such as to form a larger program, in or on a volume of a storage or distribution medium, is called an "aggregate" if the compilation and its resulting copyright are not used to limit the access or legal rights of the compilation's users beyond what the individual works permit. Inclusion of a covered work in an aggregate does not cause this License to apply to the other parts of the aggregate. 6. Conveying Non-Source Forms. You may convey a covered work in object code form under the terms of sections 4 and 5, provided that you also convey the machine-readable Corresponding Source under the terms of this License, in one of these ways: a) Convey the object code in, or embodied in, a physical product (including a physical distribution medium), accompanied by the Corresponding Source fixed on a durable physical medium customarily used for software interchange. b) Convey the object code in, or embodied in, a physical product (including a physical distribution medium), accompanied by a written offer, valid for at least three years and valid for as long as you offer spare parts or customer support for that product model, to give anyone who possesses the object code either (1) a copy of the Corresponding Source for all the software in the product that is covered by this License, on a durable physical medium customarily used for software interchange, for a price no more than your reasonable cost of physically performing this conveying of source, or (2) access to copy the Corresponding Source from a network server at no charge. c) Convey individual copies of the object code with a copy of the written offer to provide the Corresponding Source. This alternative is allowed only occasionally and noncommercially, and only if you received the object code with such an offer, in accord with subsection 6b. d) Convey the object code by offering access from a designated place (gratis or for a charge), and offer equivalent access to the Corresponding Source in the same way through the same place at no further charge. You need not require recipients to copy the Corresponding Source along with the object code. If the place to copy the object code is a network server, the Corresponding Source may be on a different server (operated by you or a third party) that supports equivalent copying facilities, provided you maintain clear directions next to the object code saying where to find the Corresponding Source. Regardless of what server hosts the Corresponding Source, you remain obligated to ensure that it is available for as long as needed to satisfy these requirements. e) Convey the object code using peer-to-peer transmission, provided you inform other peers where the object code and Corresponding Source of the work are being offered to the general public at no charge under subsection 6d. A separable portion of the object code, whose source code is excluded from the Corresponding Source as a System Library, need not be included in conveying the object code work. A "User Product" is either (1) a "consumer product", which means any tangible personal property which is normally used for personal, family, or household purposes, or (2) anything designed or sold for incorporation into a dwelling. In determining whether a product is a consumer product, doubtful cases shall be resolved in favor of coverage. For a particular product received by a particular user, "normally used" refers to a typical or common use of that class of product, regardless of the status of the particular user or of the way in which the particular user actually uses, or expects or is expected to use, the product. A product is a consumer product regardless of whether the product has substantial commercial, industrial or non-consumer uses, unless such uses represent the only significant mode of use of the product. "Installation Information" for a User Product means any methods, procedures, authorization keys, or other information required to install and execute modified versions of a covered work in that User Product from a modified version of its Corresponding Source. The information must suffice to ensure that the continued functioning of the modified object code is in no case prevented or interfered with solely because modification has been made. If you convey an object code work under this section in, or with, or specifically for use in, a User Product, and the conveying occurs as part of a transaction in which the right of possession and use of the User Product is transferred to the recipient in perpetuity or for a fixed term (regardless of how the transaction is characterized), the Corresponding Source conveyed under this section must be accompanied by the Installation Information. But this requirement does not apply if neither you nor any third party retains the ability to install modified object code on the User Product (for example, the work has been installed in ROM). The requirement to provide Installation Information does not include a requirement to continue to provide support service, warranty, or updates for a work that has been modified or installed by the recipient, or for the User Product in which it has been modified or installed. Access to a network may be denied when the modification itself materially and adversely affects the operation of the network or violates the rules and protocols for communication across the network. Corresponding Source conveyed, and Installation Information provided, in accord with this section must be in a format that is publicly documented (and with an implementation available to the public in source code form), and must require no special password or key for unpacking, reading or copying. 7. Additional Terms. "Additional permissions" are terms that supplement the terms of this License by making exceptions from one or more of its conditions. Additional permissions that are applicable to the entire Program shall be treated as though they were included in this License, to the extent that they are valid under applicable law. If additional permissions apply only to part of the Program, that part may be used separately under those permissions, but the entire Program remains governed by this License without regard to the additional permissions. When you convey a copy of a covered work, you may at your option remove any additional permissions from that copy, or from any part of it. (Additional permissions may be written to require their own removal in certain cases when you modify the work.) You may place additional permissions on material, added by you to a covered work, for which you have or can give appropriate copyright permission. Notwithstanding any other provision of this License, for material you add to a covered work, you may (if authorized by the copyright holders of that material) supplement the terms of this License with terms: a) Disclaiming warranty or limiting liability differently from the terms of sections 15 and 16 of this License; or b) Requiring preservation of specified reasonable legal notices or author attributions in that material or in the Appropriate Legal Notices displayed by works containing it; or c) Prohibiting misrepresentation of the origin of that material, or requiring that modified versions of such material be marked in reasonable ways as different from the original version; or d) Limiting the use for publicity purposes of names of licensors or authors of the material; or e) Declining to grant rights under trademark law for use of some trade names, trademarks, or service marks; or f) Requiring indemnification of licensors and authors of that material by anyone who conveys the material (or modified versions of it) with contractual assumptions of liability to the recipient, for any liability that these contractual assumptions directly impose on those licensors and authors. All other non-permissive additional terms are considered "further restrictions" within the meaning of section 10. If the Program as you received it, or any part of it, contains a notice stating that it is governed by this License along with a term that is a further restriction, you may remove that term. If a license document contains a further restriction but permits relicensing or conveying under this License, you may add to a covered work material governed by the terms of that license document, provided that the further restriction does not survive such relicensing or conveying. If you add terms to a covered work in accord with this section, you must place, in the relevant source files, a statement of the additional terms that apply to those files, or a notice indicating where to find the applicable terms. Additional terms, permissive or non-permissive, may be stated in the form of a separately written license, or stated as exceptions; the above requirements apply either way. 8. Termination. You may not propagate or modify a covered work except as expressly provided under this License. Any attempt otherwise to propagate or modify it is void, and will automatically terminate your rights under this License (including any patent licenses granted under the third paragraph of section 11). However, if you cease all violation of this License, then your license from a particular copyright holder is reinstated (a) provisionally, unless and until the copyright holder explicitly and finally terminates your license, and (b) permanently, if the copyright holder fails to notify you of the violation by some reasonable means prior to 60 days after the cessation. Moreover, your license from a particular copyright holder is reinstated permanently if the copyright holder notifies you of the violation by some reasonable means, this is the first time you have received notice of violation of this License (for any work) from that copyright holder, and you cure the violation prior to 30 days after your receipt of the notice. Termination of your rights under this section does not terminate the licenses of parties who have received copies or rights from you under this License. If your rights have been terminated and not permanently reinstated, you do not qualify to receive new licenses for the same material under section 10. 9. Acceptance Not Required for Having Copies. You are not required to accept this License in order to receive or run a copy of the Program. Ancillary propagation of a covered work occurring solely as a consequence of using peer-to-peer transmission to receive a copy likewise does not require acceptance. However, nothing other than this License grants you permission to propagate or modify any covered work. These actions infringe copyright if you do not accept this License. Therefore, by modifying or propagating a covered work, you indicate your acceptance of this License to do so. 10. Automatic Licensing of Downstream Recipients. Each time you convey a covered work, the recipient automatically receives a license from the original licensors, to run, modify and propagate that work, subject to this License. You are not responsible for enforcing compliance by third parties with this License. An "entity transaction" is a transaction transferring control of an organization, or substantially all assets of one, or subdividing an organization, or merging organizations. If propagation of a covered work results from an entity transaction, each party to that transaction who receives a copy of the work also receives whatever licenses to the work the party's predecessor in interest had or could give under the previous paragraph, plus a right to possession of the Corresponding Source of the work from the predecessor in interest, if the predecessor has it or can get it with reasonable efforts. You may not impose any further restrictions on the exercise of the rights granted or affirmed under this License. For example, you may not impose a license fee, royalty, or other charge for exercise of rights granted under this License, and you may not initiate litigation (including a cross-claim or counterclaim in a lawsuit) alleging that any patent claim is infringed by making, using, selling, offering for sale, or importing the Program or any portion of it. 11. Patents. A "contributor" is a copyright holder who authorizes use under this License of the Program or a work on which the Program is based. The work thus licensed is called the contributor's "contributor version". A contributor's "essential patent claims" are all patent claims owned or controlled by the contributor, whether already acquired or hereafter acquired, that would be infringed by some manner, permitted by this License, of making, using, or selling its contributor version, but do not include claims that would be infringed only as a consequence of further modification of the contributor version. For purposes of this definition, "control" includes the right to grant patent sublicenses in a manner consistent with the requirements of this License. Each contributor grants you a non-exclusive, worldwide, royalty-free patent license under the contributor's essential patent claims, to make, use, sell, offer for sale, import and otherwise run, modify and propagate the contents of its contributor version. In the following three paragraphs, a "patent license" is any express agreement or commitment, however denominated, not to enforce a patent (such as an express permission to practice a patent or covenant not to sue for patent infringement). To "grant" such a patent license to a party means to make such an agreement or commitment not to enforce a patent against the party. If you convey a covered work, knowingly relying on a patent license, and the Corresponding Source of the work is not available for anyone to copy, free of charge and under the terms of this License, through a publicly available network server or other readily accessible means, then you must either (1) cause the Corresponding Source to be so available, or (2) arrange to deprive yourself of the benefit of the patent license for this particular work, or (3) arrange, in a manner consistent with the requirements of this License, to extend the patent license to downstream recipients. "Knowingly relying" means you have actual knowledge that, but for the patent license, your conveying the covered work in a country, or your recipient's use of the covered work in a country, would infringe one or more identifiable patents in that country that you have reason to believe are valid. If, pursuant to or in connection with a single transaction or arrangement, you convey, or propagate by procuring conveyance of, a covered work, and grant a patent license to some of the parties receiving the covered work authorizing them to use, propagate, modify or convey a specific copy of the covered work, then the patent license you grant is automatically extended to all recipients of the covered work and works based on it. A patent license is "discriminatory" if it does not include within the scope of its coverage, prohibits the exercise of, or is conditioned on the non-exercise of one or more of the rights that are specifically granted under this License. You may not convey a covered work if you are a party to an arrangement with a third party that is in the business of distributing software, under which you make payment to the third party based on the extent of your activity of conveying the work, and under which the third party grants, to any of the parties who would receive the covered work from you, a discriminatory patent license (a) in connection with copies of the covered work conveyed by you (or copies made from those copies), or (b) primarily for and in connection with specific products or compilations that contain the covered work, unless you entered into that arrangement, or that patent license was granted, prior to 28 March 2007. Nothing in this License shall be construed as excluding or limiting any implied license or other defenses to infringement that may otherwise be available to you under applicable patent law. 12. No Surrender of Others' Freedom. If conditions are imposed on you (whether by court order, agreement or otherwise) that contradict the conditions of this License, they do not excuse you from the conditions of this License. If you cannot convey a covered work so as to satisfy simultaneously your obligations under this License and any other pertinent obligations, then as a consequence you may not convey it at all. For example, if you agree to terms that obligate you to collect a royalty for further conveying from those to whom you convey the Program, the only way you could satisfy both those terms and this License would be to refrain entirely from conveying the Program. 13. Use with the GNU Affero General Public License. Notwithstanding any other provision of this License, you have permission to link or combine any covered work with a work licensed under version 3 of the GNU Affero General Public License into a single combined work, and to convey the resulting work. The terms of this License will continue to apply to the part which is the covered work, but the special requirements of the GNU Affero General Public License, section 13, concerning interaction through a network will apply to the combination as such. 14. Revised Versions of this License. The Free Software Foundation may publish revised and/or new versions of the GNU General Public License from time to time. Such new versions will be similar in spirit to the present version, but may differ in detail to address new problems or concerns. Each version is given a distinguishing version number. If the Program specifies that a certain numbered version of the GNU General Public License "or any later version" applies to it, you have the option of following the terms and conditions either of that numbered version or of any later version published by the Free Software Foundation. If the Program does not specify a version number of the GNU General Public License, you may choose any version ever published by the Free Software Foundation. If the Program specifies that a proxy can decide which future versions of the GNU General Public License can be used, that proxy's public statement of acceptance of a version permanently authorizes you to choose that version for the Program. Later license versions may give you additional or different permissions. However, no additional obligations are imposed on any author or copyright holder as a result of your choosing to follow a later version. 15. Disclaimer of Warranty. THERE IS NO WARRANTY FOR THE PROGRAM, TO THE EXTENT PERMITTED BY APPLICABLE LAW. EXCEPT WHEN OTHERWISE STATED IN WRITING THE COPYRIGHT HOLDERS AND/OR OTHER PARTIES PROVIDE THE PROGRAM "AS IS" WITHOUT WARRANTY OF ANY KIND, EITHER EXPRESSED OR IMPLIED, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE. THE ENTIRE RISK AS TO THE QUALITY AND PERFORMANCE OF THE PROGRAM IS WITH YOU. SHOULD THE PROGRAM PROVE DEFECTIVE, YOU ASSUME THE COST OF ALL NECESSARY SERVICING, REPAIR OR CORRECTION. 16. Limitation of Liability. IN NO EVENT UNLESS REQUIRED BY APPLICABLE LAW OR AGREED TO IN WRITING WILL ANY COPYRIGHT HOLDER, OR ANY OTHER PARTY WHO MODIFIES AND/OR CONVEYS THE PROGRAM AS PERMITTED ABOVE, BE LIABLE TO YOU FOR DAMAGES, INCLUDING ANY GENERAL, SPECIAL, INCIDENTAL OR CONSEQUENTIAL DAMAGES ARISING OUT OF THE USE OR INABILITY TO USE THE PROGRAM (INCLUDING BUT NOT LIMITED TO LOSS OF DATA OR DATA BEING RENDERED INACCURATE OR LOSSES SUSTAINED BY YOU OR THIRD PARTIES OR A FAILURE OF THE PROGRAM TO OPERATE WITH ANY OTHER PROGRAMS), EVEN IF SUCH HOLDER OR OTHER PARTY HAS BEEN ADVISED OF THE POSSIBILITY OF SUCH DAMAGES. 17. Interpretation of Sections 15 and 16. If the disclaimer of warranty and limitation of liability provided above cannot be given local legal effect according to their terms, reviewing courts shall apply local law that most closely approximates an absolute waiver of all civil liability in connection with the Program, unless a warranty or assumption of liability accompanies a copy of the Program in return for a fee. END OF TERMS AND CONDITIONS How to Apply These Terms to Your New Programs If you develop a new program, and you want it to be of the greatest possible use to the public, the best way to achieve this is to make it free software which everyone can redistribute and change under these terms. To do so, attach the following notices to the program. It is safest to attach them to the start of each source file to most effectively state the exclusion of warranty; and each file should have at least the "copyright" line and a pointer to where the full notice is found. Copyright (C) This program is free software: you can redistribute it and/or modify it under the terms of the GNU General Public License as published by the Free Software Foundation, either version 3 of the License, or (at your option) any later version. This program is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License for more details. You should have received a copy of the GNU General Public License along with this program. If not, see . Also add information on how to contact you by electronic and paper mail. If the program does terminal interaction, make it output a short notice like this when it starts in an interactive mode: Copyright (C) This program comes with ABSOLUTELY NO WARRANTY; for details type `show w'. This is free software, and you are welcome to redistribute it under certain conditions; type `show c' for details. The hypothetical commands `show w' and `show c' should show the appropriate parts of the General Public License. Of course, your program's commands might be different; for a GUI interface, you would use an "about box". You should also get your employer (if you work as a programmer) or school, if any, to sign a "copyright disclaimer" for the program, if necessary. For more information on this, and how to apply and follow the GNU GPL, see . The GNU General Public License does not permit incorporating your program into proprietary programs. If your program is a subroutine library, you may consider it more useful to permit linking proprietary applications with the library. If this is what you want to do, use the GNU Lesser General Public License instead of this License. But first, please read . pdfshuffler-0.6.0/README0000664000175000017500000000163711747055153014564 0ustar logari81logari81 PDF-Shuffler 0.6 ------------------ This is the latest release of PDF-Shuffler, a simple pyGTK utility to merge, split and rearrange PDF documents. PDF-Shuffler lets also rotate and crop individual pages of a pdf document. PDF-Shuffler requires python-poppler and version 1.10 or newer of python-pypdf. PDF-Shuffler is written in Python using PyGTK. It is released under the GNU GPL-3. In order to install run: python setup.py install as superuser. What's new in this version: --------------------------- * Cairo based rendering. * Zooming support. * Progressbar indicating loading of files. * New user interface with a conventional menubar and toolbar. * Export only selected pages option in the right-click menu from Alexander Hirzel. * Hungarian, Japanese and Chinese translations. Known issues: ------------- * High memory consumption. * No autoscrolling during navigation with the keyboard arrows. pdfshuffler-0.6.0/doc/0000775000175000017500000000000011747061704014441 5ustar logari81logari81pdfshuffler-0.6.0/bin/0000775000175000017500000000000011747061704014444 5ustar logari81logari81pdfshuffler-0.6.0/pdfshuffler/0000775000175000017500000000000011747061704016204 5ustar logari81logari81pdfshuffler-0.6.0/data/0000775000175000017500000000000011747061704014605 5ustar logari81logari81pdfshuffler-0.6.0/po/0000775000175000017500000000000011747061704014312 5ustar logari81logari81pdfshuffler-0.6.0/0000775000175000017500000000000011747061704013674 5ustar logari81logari81