LeenO computo metrico con LibreOffice  3.22.0
Il software libero per la gestione di computi metrici e contabilità lavori.
Composti | Funzioni | Variabili
Riferimenti per il namespace pagerange

Composti

class  PageRange
 
class  ParseError
 

Funzioni

def parse_filename_page_ranges (args)
 

Variabili

string PAGE_RANGE_RE = "^({int}|({int}?(:{int}?(:{int}?)?)))$".format(int=_INT_RE)
 
string PAGE_RANGE_HELP
 
 PAGE_RANGE_ALL = PageRange(":")
 

Descrizione dettagliata

Representation and utils for ranges of PDF file pages.

Copyright (c) 2014, Steve Witham <switham_github@mac-guyver.com>.
All rights reserved. This software is available under a BSD license;
see https://github.com/mstamy2/PyPDF2/blob/master/LICENSE

Documentazione delle funzioni

◆ parse_filename_page_ranges()

def pagerange.parse_filename_page_ranges (   args)
Given a list of filenames and page ranges, return a list of
(filename, page_range) pairs.
First arg must be a filename; other ags are filenames, page-range
expressions, slice objects, or PageRange objects.
A filename not followed by a page range indicates all pages of the file.

Definizione alla linea 126 del file pagerange.py.

Documentazione delle variabili

◆ PAGE_RANGE_ALL

pagerange.PAGE_RANGE_ALL = PageRange(":")

Definizione alla linea 123 del file pagerange.py.

◆ PAGE_RANGE_HELP

string pagerange.PAGE_RANGE_HELP
Valore iniziale:
1 = """Remember, page indices start with zero.
2  Page range expression examples:
3  : all pages. -1 last page.
4  22 just the 23rd page. :-1 all but the last page.
5  0:3 the first three pages. -2 second-to-last page.
6  :3 the first three pages. -2: last two pages.
7  5: from the sixth page onward. -3:-1 third & second to last.
8  The third, "stride" or "step" number is also recognized.
9  ::2 0 2 4 ... to the end. 3:0:-1 3 2 1 but not 0.
10  1:10:2 1 3 5 7 9 2::-1 2 1 0.
11  ::-1 all pages in reverse order.
12 """

Definizione alla linea 22 del file pagerange.py.

◆ PAGE_RANGE_RE

string pagerange.PAGE_RANGE_RE = "^({int}|({int}?(:{int}?(:{int}?)?)))$".format(int=_INT_RE)

Definizione alla linea 14 del file pagerange.py.