mirror of
https://github.com/mozilla/pdf.js.git
synced 2025-04-22 08:08:07 +02:00
XFA -- Display text content
- display xhtml; - allow spaces in xhtml (xfa-spacerun:yes); - support column layout; - fix some border issues.
This commit is contained in:
parent
a3669a4f0d
commit
a4c986515f
9 changed files with 552 additions and 164 deletions
|
@ -42,6 +42,7 @@
|
|||
"writer_spec.js",
|
||||
"xfa_formcalc_spec.js",
|
||||
"xfa_parser_spec.js",
|
||||
"xfa_tohtml_spec.js",
|
||||
"xml_spec.js"
|
||||
]
|
||||
}
|
||||
|
|
|
@ -330,9 +330,9 @@ describe("XFAParser", function () {
|
|||
);
|
||||
expect(p[$text]()).toEqual(
|
||||
[
|
||||
"The first line of this paragraph is indented a half-inch.\n",
|
||||
"Successive lines are not indented.\n",
|
||||
"This is the last line of the paragraph.\n",
|
||||
" The first line of this paragraph is indented a half-inch.\n",
|
||||
" Successive lines are not indented.\n",
|
||||
" This is the last line of the paragraph.\n ",
|
||||
].join("")
|
||||
);
|
||||
});
|
||||
|
|
|
@ -81,7 +81,9 @@ describe("XFAFactory", function () {
|
|||
fontSize: "7px",
|
||||
height: "22px",
|
||||
left: "2px",
|
||||
padding: "1px 4px 2px 3px",
|
||||
position: "absolute",
|
||||
textAlign: "left",
|
||||
top: "1px",
|
||||
transform: "rotate(-90deg)",
|
||||
transformOrigin: "top left",
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue