mirror of
https://github.com/mozilla/pdf.js.git
synced 2025-04-22 16:18:08 +02:00
[api-minor] Change the "dc:creator" Metadata field to an Array
- add scripting support for doc.info.authors - doc.info.metadata is the raw string with xml code
This commit is contained in:
parent
35845d1bbb
commit
43d5512f5c
10 changed files with 97 additions and 33 deletions
|
@ -1655,7 +1655,8 @@ const PDFViewerApplication = {
|
|||
baseURL: this.baseUrl,
|
||||
filesize: this._contentLength,
|
||||
filename: this._docFilename,
|
||||
metadata: this.metadata,
|
||||
metadata: this.metadata?.getRaw(),
|
||||
authors: this.metadata?.get("dc:creator"),
|
||||
numPages: pdfDocument.numPages,
|
||||
URL: this.url,
|
||||
actions: docActions,
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue