XmpInformation 类¶
- class pypdf.xmp.XmpInformation(stream: ContentStream)[源代码]¶
基类:
PdfObject
An object that represents Extensible Metadata Platform (XMP) metadata. Usually accessed by
xmp_metadata()
.- 抛出:
PdfReadError -- if XML is invalid
- property dc_contributor: List[str] | None¶
Contributors to the resource (other than the authors).
An unsorted array of names.
- property dc_creator: List[Any] | None¶
A sorted array of names of the authors of the resource, listed in order of precedence.
- property dc_date: List[Any] | None¶
A sorted array of dates (datetime.datetime instances) of significance to the resource.
The dates and times are in UTC.
- property dc_description: Dict[Any, Any] | None¶
A language-keyed dictionary of textual descriptions of the content of the resource.
- property dc_language: List[str] | None¶
An unordered array specifying the languages used in the resource.
- property dc_relation: List[str] | None¶
An unordered array of text descriptions of relationships to other documents.
- property dc_rights: Dict[Any, Any] | None¶
A language-keyed dictionary of textual descriptions of the rights the user has to this resource.
- property dc_subject: List[str] | None¶
An unordered array of descriptive phrases or keywords that specify the topic of the content of the resource.
- property dc_type: List[str] | None¶
An unordered array of textual descriptions of the document type.
- property xmp_create_date: Any | None¶
The date and time the resource was originally created.
The date and time are returned as a UTC datetime.datetime object.
- property xmp_modify_date: Any | None¶
The date and time the resource was last modified.
The date and time are returned as a UTC datetime.datetime object.
- property xmp_metadata_date: Any | None¶
The date and time that any metadata for this resource was last changed.
The date and time are returned as a UTC datetime.datetime object.
- property xmp_creator_tool: Any | None¶
The name of the first known tool used to create the resource.
- property xmpmm_document_id: Any | None¶
The common identifier for all versions and renditions of this resource.