|
| def | __init__ (self, title, page, typ, *args) |
| |
| def | getDestArray (self) |
| |
| def | writeToStream (self, stream, encryption_key) |
| |
| def | __init__ (self) |
| |
| def | hasChildren (self) |
| |
| def | __iter__ (self) |
| |
| def | children (self) |
| |
| def | addChild (self, child, pdf) |
| |
| def | removeChild (self, child) |
| |
| def | emptyTree (self) |
| |
| def | raw_get (self, key) |
| |
| def | __setitem__ (self, key, value) |
| |
| def | setdefault (self, key, value=None) |
| |
| def | __getitem__ (self, key) |
| |
| def | getXmpMetadata (self) |
| | Retrieves XMP (Extensible Metadata Platform) data relevant to the this object, if available. Continua...
|
| |
| def | readFromStream (stream, pdf) |
| |
| def | getObject (self) |
| |
|
| | title = property(lambda self: self.get("/Title")) |
| |
| | page = property(lambda self: self.get("/Page")) |
| |
| | typ = property(lambda self: self.get("/Type")) |
| |
| | zoom = property(lambda self: self.get("/Zoom", None)) |
| |
| | left = property(lambda self: self.get("/Left", None)) |
| |
| | right = property(lambda self: self.get("/Right", None)) |
| |
| | top = property(lambda self: self.get("/Top", None)) |
| |
| | bottom = property(lambda self: self.get("/Bottom", None)) |
| |
| | xmpMetadata = property(lambda self: self.getXmpMetadata(), None, None) |
| | Read-only property that accesses the {getXmpData} function. Continua...
|
| |
A class representing a destination within a PDF file.
See section 8.2.1 of the PDF 1.6 reference.
:param str title: Title of this destination.
:param int page: Page number of this destination.
:param str typ: How the destination is displayed.
:param args: Additional arguments may be necessary depending on the type.
:raises PdfReadError: If destination type is invalid.
Valid ``typ`` arguments (see PDF spec for details):
/Fit No additional arguments
/XYZ [left] [top] [zoomFactor]
/FitH [top]
/FitV [left]
/FitR [left] [bottom] [right] [top]
/FitB No additional arguments
/FitBH [top]
/FitBV [left]
Definizione alla linea 1024 del file generic.py.
La documentazione per questa classe è stata generata a partire dal seguente file: