Calixte Denizet
a4c986515f
XFA -- Display text content
...
- display xhtml;
- allow spaces in xhtml (xfa-spacerun:yes);
- support column layout;
- fix some border issues.
2021-04-12 14:13:49 +02:00
Calixte Denizet
3243672727
XFA - Create Form DOM in merging template and data trees
...
- Spec: http://citeseerx.ist.psu.edu/viewdoc/download?doi=10.1.1.364.2157&rep=rep1&type=pdf#page=171 ;
- support for the 2 ways of merging: consumeData and matchTemplate;
- create additional nodes in template DOM when occur node allows it;
- support for global values in data DOM.
2021-03-08 14:10:30 +01:00
calixteman
0fa9976268
XFA - Add support for prototypes ( #12979 )
...
- specifications: http://citeseerx.ist.psu.edu/viewdoc/download?doi=10.1.1.364.2157&rep=rep1&type=pdf#page=225&zoom=auto,-207,784
- add a clone method on nodes in order to be able to clone a proto;
- support ids in template namespace;
- prevent from cycle when applying protos.
2021-02-18 10:32:25 +01:00
Jonas Jenwald
b66f294f64
Move the XML-parser to the src/core/
-folder
...
With the previous patch this functionality is now *only* accessed on the worker-thread, hence it's no longer necessary to include it in the *built* `pdf.js` file.
2021-02-17 13:12:01 +01:00
calixteman
0479deef4e
XFA -- Add other objects ( #12949 )
...
- connectionSet: http://citeseerx.ist.psu.edu/viewdoc/download?doi=10.1.1.364.2157&rep=rep1&type=pdf#page=969
- datasets: http://citeseerx.ist.psu.edu/viewdoc/download?doi=10.1.1.364.2157&rep=rep1&type=pdf#page=1038
- signature: http://citeseerx.ist.psu.edu/viewdoc/download?doi=10.1.1.364.2157&rep=rep1&type=pdf#page=1040
- stylesheet: the same
- xhtml: http://citeseerx.ist.psu.edu/viewdoc/download?doi=10.1.1.364.2157&rep=rep1&type=pdf#page=1187
2021-02-11 12:30:37 +01:00
Calixte Denizet
0ff5cd7eb5
XFA - Add a parser for XFA files
...
- the parser is base on a class extending XMLParserBase
- it handle xml namespaces:
* each namespace is assocated with a builder
* builder builds nodes belonging to the namespace
* when a node is inserted in the parent namespace compatibility is checked (if required)
- to avoid name collision between xml names and object properties, use Symbol.
2021-02-01 13:45:31 +01:00