|
| title = property(lambda self: self.getText("/Title")) |
|
| title_raw = property(lambda self: self.get("/Title")) |
|
| author = property(lambda self: self.getText("/Author")) |
|
| author_raw = property(lambda self: self.get("/Author")) |
|
| subject = property(lambda self: self.getText("/Subject")) |
|
| subject_raw = property(lambda self: self.get("/Subject")) |
|
| creator = property(lambda self: self.getText("/Creator")) |
|
| creator_raw = property(lambda self: self.get("/Creator")) |
|
| producer = property(lambda self: self.getText("/Producer")) |
|
| producer_raw = property(lambda self: self.get("/Producer")) |
|
| xmpMetadata = property(lambda self: self.getXmpMetadata(), None, None) |
| Read-only property that accesses the {getXmpData} function. Continua...
|
|
A class representing the basic document metadata provided in a PDF File.
This class is accessible through
:meth:`getDocumentInfo()<PyPDF2.PdfFileReader.getDocumentInfo()>`
All text properties of the document metadata have
*two* properties, eg. author and author_raw. The non-raw property will
always return a ``TextStringObject``, making it ideal for a case where
the metadata is being displayed. The raw property can sometimes return
a ``ByteStringObject``, if PyPDF2 was unable to decode the string's
text encoding; this requires additional safety in the caller and
therefore is not as commonly accessed.
Definizione alla linea 2781 del file pdf.py.
La documentazione per questa classe è stata generata a partire dal seguente file: