FredApps and Dylan M. Taylor
f405f89da4
Formats: port the craft-libs cutover follow-ups from #2734 to main ( #2838 )
...
* Formats: port the craft-libs cutover follow-ups from #2734 to main (craft-libs#778)
Brings #2734 's changes (made against the release branch) to main:
IDML CDATA on write and table span parsing, DOCX plain-text accepted
changes, XLSX invalid number cells shown as written, shared CMYK JPEG
polarity, exact PPTX opacity, PDF CMYK fallback wording, and the
craft-libs re-pins. Imported DOCX built-in headings keep main's and
v0.21.0's spelling ("Heading 1"), with a test. craft-pdf, craft-prepress,
craft-cms, the krilla/hayro patches and craft-xml-dtd move to the #1322
squash merge on craft-libs main (a5ac3aa0).
Co-authored-by: Dylan M. Taylor <dylan@dylanmtaylor.com >
* Point the PDF dependency check at the craft-libs main pin
Co-authored-by: Dylan M. Taylor <dylan@dylanmtaylor.com >
* Formats: address review on the cutover follow-ups
- PDF: keep main's CMYK fallback warning. The shared decoder reads planar
CMYK TIFFs and makes associated alpha straight, so neither falls back;
a test now checks both keep their inks.
- DOCX plain-text import uses craft-wordmodel's Paragraph::final_text,
which already drops tracked deletions and expands inline objects.
- IDML: a test pins numeric table spans (fractions round down, spans past
the table or past 32 bits reach its edge, anything under 1 or not a
number spans one cell).
- Cargo.lock: craft-rtf takes craft-codepage at bfea7d98 after the merge
with main.
* PDF test: expect the CMYK fallback warning's main wording
---------
Co-authored-by: Dylan M. Taylor <dylan@dylanmtaylor.com >
2026-11-15 22:45:42 +01:00
aiongg
957e073664
DES-10 T9: IDML and INDD imports link the graphics they reference
...
(cherry picked from commit 995b248cd3b591cae6dd7dd0f9a1b10cac89f22d)
2026-11-14 06:45:09 +00:00
aiongg
55a0c7da3d
DES-10 T2: port asset byte users to AssetData
...
Export, import, links, preflight, alpha wrap and the UI read bytes with
AssetData::load; every asset is still embedded.
2026-11-14 05:15:03 +00:00
Dylan M. Taylor
382fc27a5b
fix(idml,images,pptx,textimport): update adapters and tests for craft-libs cutover
2026-11-14 03:35:09 +00:00
Dylan M. Taylor
32274e843a
Merge codex/designcraft-craft-libs into origin/main: cut over document formats and codecs to craft-libs
2026-11-14 02:13:28 +00:00
Dylan M. Taylor
4fbe39af99
Use shared IDML index parser
2026-11-13 09:33:26 -05:00
Dylan M. Taylor
c74cf007d0
Use shared cell and table style decorations
2026-11-13 09:13:02 -05:00
Dylan M. Taylor
61f6a83de5
Use shared IDML object style values
2026-11-13 09:10:17 -05:00
Dylan M. Taylor
90f6ddba6e
Use shared IDML graphic MIME fallback
2026-11-13 09:07:49 -05:00
Dylan M. Taylor
41bbd27a40
Use shared placed graphic metadata
2026-11-13 09:04:34 -05:00
Dylan M. Taylor
611fe571da
Use shared IDML anchored object values
2026-11-13 09:00:48 -05:00
Dylan M. Taylor
7f2ac33275
Use shared IDML frame fitting values
2026-11-13 08:58:46 -05:00
Dylan M. Taylor
a92db95301
Delegate IDML object style merging to craft-idml
2026-11-13 08:56:24 -05:00
Dylan M. Taylor
75eeeca16f
Use shared IDML table style values
2026-11-13 08:50:49 -05:00
Dylan M. Taylor
862c052c2f
Use shared IDML cell style values
2026-11-13 08:49:14 -05:00
Dylan M. Taylor
9ea7beb6f3
Format IDML cross-reference mapper
2026-11-13 08:47:15 -05:00
Dylan M. Taylor
b782bdde6d
Read IDML conditions and lists from shared models
2026-11-13 08:44:55 -05:00
Dylan M. Taylor
b45c58f2e3
Use shared IDML cross-reference and EPUB models
2026-11-13 08:43:04 -05:00
Dylan M. Taylor
5b524b5554
Read IDML text variables through shared model
2026-11-13 08:39:54 -05:00
Dylan M. Taylor
eeb085fb63
Read IDML table of contents styles through shared model
2026-11-13 08:37:27 -05:00
Dylan M. Taylor
54a4b1ceec
Read footnote preferences through shared IDML model
2026-11-13 08:32:57 -05:00
Dylan M. Taylor
14c0ebd166
Use typed IDML range style accessor
2026-11-13 08:30:00 -05:00
Dylan M. Taylor
5d1b5ccb17
Read document preferences through shared IDML model
2026-11-13 08:24:20 -05:00
Dylan M. Taylor
1942a99634
Read custom kenten values through shared IDML model
2026-11-13 08:16:49 -05:00
Dylan M. Taylor
b820166872
Read paragraph list and span settings through shared model
2026-11-13 08:15:00 -05:00
Dylan M. Taylor
1a7a6e3e4b
Read CJK paragraph settings through shared IDML model
2026-11-13 08:12:23 -05:00
Dylan M. Taylor
2a0551b73a
Read paragraph box values through shared IDML model
2026-11-13 08:10:32 -05:00
Dylan M. Taylor
b46323ffda
Read special character properties through shared IDML model
2026-11-13 08:05:07 -05:00
Dylan M. Taylor
c91887f49e
Read Ruby properties through shared IDML model
2026-11-13 08:02:41 -05:00
Dylan M. Taylor
e9fe18a0f6
Read paragraph alignment and flow through shared model
2026-11-13 07:59:52 -05:00
Dylan M. Taylor
22de685d98
Read character appearance through shared IDML model
2026-11-13 07:57:17 -05:00
Dylan M. Taylor
36db87ba20
Read character typography through shared IDML model
2026-11-13 07:55:42 -05:00
Dylan M. Taylor
3d8ddc5978
Use shared codec for placed graphic options
2026-11-13 07:32:50 -05:00
Dylan M. Taylor
e61f7baf54
Read IDML clipping paths through shared model
2026-11-13 07:26:47 -05:00
Dylan M. Taylor
6474733d7c
Map paragraph list values from craft-idml
2026-11-13 07:22:14 -05:00
Dylan M. Taylor
3dc8c11162
Read nested IDML styles through shared model
2026-11-13 07:19:59 -05:00
Dylan M. Taylor
a928e8805c
Read OpenType attributes through shared IDML model
2026-11-13 07:18:28 -05:00
Dylan M. Taylor
36520cce34
Map shared IDML CJK character values
2026-11-13 07:16:31 -05:00
Dylan M. Taylor
e9c55ca75e
Use shared IDML ACE codes in text import
2026-11-13 07:14:07 -05:00
Dylan M. Taylor
192d892318
Parse mojikumi rows with shared IDML model
2026-11-13 07:12:50 -05:00
Dylan M. Taylor
fdbc815f3b
Read IDML tab stops through shared model
2026-11-13 07:11:19 -05:00
Dylan M. Taylor
d6f0ec054b
Use shared codec for EPUB style tags
2026-11-13 07:09:57 -05:00
Dylan M. Taylor
75d1b844f3
Read table cells through shared IDML model
2026-11-13 07:02:41 -05:00
Dylan M. Taylor
aad973279a
Use shared IDML text frame preferences model
2026-11-13 07:00:32 -05:00
Dylan M. Taylor
4c5d990a07
Use shared IDML fill values for import
2026-11-13 06:56:46 -05:00
Dylan M. Taylor
69ebd3e7a1
Use shared IDML stroke values for import
2026-11-13 06:54:43 -05:00
Dylan M. Taylor
b8f5fcc2e2
Use shared IDML transparency settings model
2026-11-13 06:51:28 -05:00
Dylan M. Taylor
dbc21ce1e9
Use shared IDML document tree for import
2026-11-13 06:27:05 -05:00
Dylan M. Taylor
e96849e2ef
Traverse IDML stories through shared model tree
2026-11-13 06:18:42 -05:00
Dylan M. Taylor
b4b3849098
Read IDML saved cross-reference text through shared model
2026-11-13 06:10:40 -05:00