pd4ml 1.1.1 → 1.1.2
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- checksums.yaml +4 -4
- data/README.md +2 -1
- data/docs/guide.md +5 -1
- data/lib/pd4ml/pd4ml-bridge.jar +0 -0
- data/lib/pd4ml/version.rb +1 -1
- metadata +1 -1
checksums.yaml
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
---
|
|
2
2
|
SHA256:
|
|
3
|
-
metadata.gz:
|
|
4
|
-
data.tar.gz:
|
|
3
|
+
metadata.gz: 5f3f328b0ad4e184f8d1b35bdf80f51c1e2708798e4e782a765e3c71d5d98ebc
|
|
4
|
+
data.tar.gz: 133a2003170431c83600e3d2eb7bdae3f12cb4af14c9edf365e38e95b9a9b25b
|
|
5
5
|
SHA512:
|
|
6
|
-
metadata.gz:
|
|
7
|
-
data.tar.gz:
|
|
6
|
+
metadata.gz: fdd66e32394009f7a81e1a6cc5e51798bd0d798bde2463c0c5a2a81bf30b5c945afd1723a5a7fa2909e842a801606fdcfa7e5bdbedd9f43c46388d694525e6ff
|
|
7
|
+
data.tar.gz: f95260d4d7e77b25563a7f23f3ad00d58c6ed0a7e9f77b11d13f9a36e128e6878f951811b67e35d69bea5c4d2ee9f38a5772bab0e4d685540a7886e3535ad9db
|
data/README.md
CHANGED
|
@@ -57,7 +57,8 @@ The gem adds Ruby I/O on top: paths, URLs, binary Strings and IO objects in and
|
|
|
57
57
|
for progress listeners. Several processes can share one bridge server: run `pd4ml serve` and set
|
|
58
58
|
`PD4ML_BRIDGE=tcp://127.0.0.1:8723`.
|
|
59
59
|
|
|
60
|
-
With PD4ML 4.2, the gem also reads e-mail messages and saved web pages (`read_eml`, `read_mht
|
|
60
|
+
With PD4ML 4.2, the gem also reads e-mail messages and saved web pages (`read_eml`, `read_mht`; DMS
|
|
61
|
+
and UA editions),
|
|
61
62
|
and gives access to the parsed document before it is written (`get_document`, `layout`: the DOM
|
|
62
63
|
API of the DMS and UA editions, whose lists come back as Ruby Arrays). See the
|
|
63
64
|
[guide](docs/guide.md#516-e-mail-messages-and-saved-web-pages).
|
data/docs/guide.md
CHANGED
|
@@ -652,6 +652,10 @@ and is reachable through `Pd4ml::Java.type(...)`.
|
|
|
652
652
|
|
|
653
653
|
### 5.16 E-mail messages and saved web pages
|
|
654
654
|
|
|
655
|
+
> **Editions.** E-mail and saved web page input — `read_eml`/`read_mht`, and `read_html` for input it
|
|
656
|
+
> recognizes as one of them — is part of the PD4ML **DMS and UA editions**. With an STD or PRO license it
|
|
657
|
+
> works, but the output carries the "PD4ML EVALUATION MODE" banners.
|
|
658
|
+
|
|
655
659
|
PD4ML 4.2 reads e-mail messages (`.eml`) and web pages saved as a single file (`.mht`, `.mhtml`)
|
|
656
660
|
and writes them to any output format:
|
|
657
661
|
|
|
@@ -908,7 +912,7 @@ Without a license, PD4ML is fully functional but marks its output. See
|
|
|
908
912
|
|---|---|
|
|
909
913
|
| `read_html(source, base_url = nil, encoding = nil)` | `source`: a path or URL (String, Pathname, URI), a binary String or IO, or a Java `URL`/`InputStream` |
|
|
910
914
|
| `read_html_string(html, base_url = nil)` | the document as a String |
|
|
911
|
-
| `read_eml(source)`, `read_mht(source)` | an e-mail message, a saved web page ([5.16](#516-e-mail-messages-and-saved-web-pages)); `source` as for `read_html` |
|
|
915
|
+
| `read_eml(source)`, `read_mht(source)` | an e-mail message, a saved web page ([5.16](#516-e-mail-messages-and-saved-web-pages)), DMS and UA editions; `source` as for `read_html` |
|
|
912
916
|
| `write_pdf(target = nil, spec: nil)` | `target`: a path or IO; none: returns a binary String. `spec`: a `PdfSpec`, a keyword (`'pdf/a-2b'`) or `'PDF'`/`'PDFA'`/`'PDFUA'` |
|
|
913
917
|
| `write_docx(target = nil)`, `write_rtf(target = nil, rtf_wmf: false)` | as `write_pdf` |
|
|
914
918
|
| `render_as_images(format)`, `render_png` | pages as encoded images (binary Strings); `render_as_images(dir, name, format)` writes files |
|
data/lib/pd4ml/pd4ml-bridge.jar
CHANGED
|
Binary file
|
data/lib/pd4ml/version.rb
CHANGED