mirror of
https://github.com/mozilla/pdf.js.git
synced 2025-04-28 23:28:16 +02:00
XFA -- Add attributes and children in XFAObject
- in order to evaluate SOM expressions nodes and their attributes must be checked in the same order as in the xml; - add an object XFAObjectArray with a parameter max to handle multiple children with the same name.
This commit is contained in:
parent
86a4ba55c5
commit
7e0554afe2
3 changed files with 105 additions and 28 deletions
|
@ -19,6 +19,7 @@ import {
|
|||
$nodeName,
|
||||
$onChildCheck,
|
||||
XFAObject,
|
||||
XFAObjectArray,
|
||||
} from "./xfa_object.js";
|
||||
|
||||
const XDP_NS_ID = NamespaceIds.xdp.id;
|
||||
|
@ -32,7 +33,7 @@ class Xdp extends XFAObject {
|
|||
this.connectionSet = null;
|
||||
this.datasets = null;
|
||||
this.localeSet = null;
|
||||
this.stylesheet = [];
|
||||
this.stylesheet = new XFAObjectArray();
|
||||
this.template = null;
|
||||
}
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue