Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
25 changes: 23 additions & 2 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -8,6 +8,28 @@ follow semantic versioning; release dates are ISO 8601.

### Public API

- **A DOCX export writes a list composed in a table cell on the lines its table laid out for it, as
it does a paragraph there.** A composed cell's content is laid out under its table's path, so a
list there has no lines at a path of its own, and its items were matched to none: written at no
height at all, each stood at its face's own line in Word and LibreOffice, taller than the page's —
`SlateOrange`'s certifications, a list beside the education column, stood 0.26, 0.48, 0.84 and
1.18pt low in Word and 0.15 to 1.05pt in LibreOffice. A list composed in a cell now takes the run
of its table's lines that holds its items in turn, opening at a line no paragraph or list before it
took: each a line of the item's text as the page lays it out, the marker and indent the page sets
in that text before it, and, in a `hangingIndent` list, the line of the item's visible marker set
level before it in a column of its own; a paragraph before it that the page reads as markdown is
matched first. Its items then take from those lines what a list's in the flow take:
the height the page sets them at, the list's lineSpacing between a wrapped item's lines, a
`hangingIndent` list's marker column, and each item's seat on the page's baseline, an item in a
row Word keeps whole on its page rising into the gap above it, as a paragraph composed there does.
Having no place of its own, a Word list whose marker the page sets in its text keeps its stated
column. A list holding an item of runs, whose text is not read here, one with an item the page
reads as markdown, its marks dropped, or one it runs onto the next page, or a `hangingIndent` list
with a blank item the page draws as a marker alone, is written as before, and the report names its
lineSpacing as not written, whether an item wraps not measured. The certifications now stand
0.26, 0.00, 0.12 and 0.10pt low in Word, and 0.10pt low to 0.10pt high in LibreOffice on Windows
and 24.2; no other document of the corpus changed.

- **A DOCX export stands a list's items where the page sets them in their exact lines, as it does a
paragraph's.** Word and LibreOffice stand an exact line's baseline four fifths of the way down it,
the page its face's ascent below the line's top, and a paragraph's line is moved there; a list
Expand All @@ -28,8 +50,7 @@ follow semantic versioning; release dates are ISO 8601.
which LibreOffice does not move by the mark's position — lowered a point by both, `MidnightNavy`'s
duties stood 1.15pt under their bullets there — so its line keeps what the space above does not
take of it, and `MidnightNavy`'s and `NavySidebar`'s duties stand as high as before. An item the
layout's lines are not matched to, as `SlateOrange`'s certifications in a table's composed cell, is
not seated.
layout's lines are not matched to is not seated.

`ClassicInvoice`'s notes moved up 0.24 to 0.36pt in Word and 0.3pt in LibreOffice, to within
0.05pt of the page, `BoxedSections`' and `ModernProfessional`'s skills and projects 0.12 to 0.24pt
Expand Down
4 changes: 2 additions & 2 deletions docs/architecture/backend-capability-matrix.md

Large diffs are not rendered by default.

9 changes: 6 additions & 3 deletions docs/recipes/docx-export.md

Large diffs are not rendered by default.

Original file line number Diff line number Diff line change
Expand Up @@ -1477,10 +1477,10 @@ cv-slate_orange 0:84ba6b88f439 -0.25 0.07 certifications&training
cv-slate_orange 0:9d7190053be6 0.15 0.07 bachelorofartsincommunications
cv-slate_orange 0:f592b4ba6aa4 0.12 0.07 universityoftexasataustin
cv-slate_orange 0:3f84d2e470fe 0.12 0.07 austin,tx•graduatedmay2018
cv-slate_orange 0:99b337b1faf4 0.15 0.07 •googleprojectmanagementcertific
cv-slate_orange 0:4d1b69dc33a1 0.45 0.07 •hubspotcustomerservicecertifica
cv-slate_orange 0:01a1e16912b7 0.75 0.07 •microsoftexcel:advancedformulas
cv-slate_orange 0:07ef0ade6bb2 1.05 0.07 •servsafefoodhandlercertificatio
cv-slate_orange 0:99b337b1faf4 0.10 0.07 •googleprojectmanagementcertific
cv-slate_orange 0:4d1b69dc33a1 -0.10 0.07 •hubspotcustomerservicecertifica
cv-slate_orange 0:01a1e16912b7 -0.10 0.07 •microsoftexcel:advancedformulas
cv-slate_orange 0:07ef0ade6bb2 -0.10 0.07 •servsafefoodhandlercertificatio
cv-teal_pulse 0:a5800de7a5df -1.87 0.06 isabellamoore
cv-teal_pulse 0:aea71faf1482 -0.38 0.06 registerednurse
cv-teal_pulse 0:613c7b77c405 1.08 0.17 manchester,unitedkingdom
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,7 @@ cv-panel 1 1 79 74 0.26 0.55 0
cv-professional_sidebar 1 1 68 64 0.36 0.58 0
cv-serif_headline 1 1 103 103 0.44 0.88 0
cv-sidebar_portrait 1 1 49 49 0.17 0.31 0
cv-slate_orange 1 1 87 86 0.32 1.02 0
cv-slate_orange 1 1 87 86 0.31 0.99 0
cv-teal_pulse 1 1 57 57 0.22 0.63 0
cv-terracotta_rail 1 1 102 102 0.44 0.94 0
cv-timeline_minimal 2 2 89 87 0.45 0.49 0
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -1376,10 +1376,10 @@ cv-slate_orange 0:84ba6b88f439 -0.25 0.07 certifications&training
cv-slate_orange 0:9d7190053be6 0.15 0.07 bachelorofartsincommunications
cv-slate_orange 0:f592b4ba6aa4 0.12 0.07 universityoftexasataustin
cv-slate_orange 0:3f84d2e470fe 0.12 0.07 austin,tx•graduatedmay2018
cv-slate_orange 0:99b337b1faf4 0.15 0.07 •googleprojectmanagementcertific
cv-slate_orange 0:4d1b69dc33a1 0.45 0.07 •hubspotcustomerservicecertifica
cv-slate_orange 0:01a1e16912b7 0.75 0.07 •microsoftexcel:advancedformulas
cv-slate_orange 0:07ef0ade6bb2 1.05 0.07 •servsafefoodhandlercertificatio
cv-slate_orange 0:99b337b1faf4 0.10 0.07 •googleprojectmanagementcertific
cv-slate_orange 0:4d1b69dc33a1 -0.10 0.07 •hubspotcustomerservicecertifica
cv-slate_orange 0:01a1e16912b7 -0.10 0.07 •microsoftexcel:advancedformulas
cv-slate_orange 0:07ef0ade6bb2 -0.10 0.07 •servsafefoodhandlercertificatio
cv-teal_pulse 0:a5800de7a5df -1.87 0.06 isabellamoore
cv-teal_pulse 0:aea71faf1482 -0.38 0.06 registerednurse
cv-teal_pulse 0:613c7b77c405 1.08 0.12 manchester,unitedkingdom
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,7 @@ cv-panel 1 1 79 74 0.26 0.55 0
cv-professional_sidebar 1 1 68 64 0.36 0.58 0
cv-serif_headline 1 1 103 103 0.44 0.88 0
cv-sidebar_portrait 1 1 49 49 0.17 0.31 0
cv-slate_orange 1 1 87 86 0.32 1.02 0
cv-slate_orange 1 1 87 86 0.31 0.99 0
cv-teal_pulse 1 1 57 57 0.22 0.64 0
cv-terracotta_rail 1 1 102 102 0.44 0.94 0
cv-timeline_minimal 2 2 89 87 0.45 0.49 0
Expand Down
6 changes: 3 additions & 3 deletions qa/src/test/resources/docx-fidelity/word-windows-lines.tsv
Original file line number Diff line number Diff line change
Expand Up @@ -1475,9 +1475,9 @@ cv-slate_orange 0:9d7190053be6 0.34 0.06 bachelorofartsincommunications
cv-slate_orange 0:f592b4ba6aa4 0.27 0.06 universityoftexasataustin
cv-slate_orange 0:3f84d2e470fe 0.26 0.06 austin,tx•graduatedmay2018
cv-slate_orange 0:99b337b1faf4 0.26 0.09 •googleprojectmanagementcertific
cv-slate_orange 0:4d1b69dc33a1 0.48 0.09 •hubspotcustomerservicecertifica
cv-slate_orange 0:01a1e16912b7 0.84 0.09 •microsoftexcel:advancedformulas
cv-slate_orange 0:07ef0ade6bb2 1.18 0.09 •servsafefoodhandlercertificatio
cv-slate_orange 0:4d1b69dc33a1 0.00 0.09 •hubspotcustomerservicecertifica
cv-slate_orange 0:01a1e16912b7 0.12 0.09 •microsoftexcel:advancedformulas
cv-slate_orange 0:07ef0ade6bb2 0.10 0.09 •servsafefoodhandlercertificatio
cv-teal_pulse 0:a5800de7a5df -0.06 -0.03 isabellamoore
cv-teal_pulse 0:aea71faf1482 0.16 -0.03 registerednurse
cv-teal_pulse 0:613c7b77c405 1.20 0.01 manchester,unitedkingdom
Expand Down
2 changes: 1 addition & 1 deletion qa/src/test/resources/docx-fidelity/word-windows.tsv
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,7 @@ cv-panel 1 1 79 74 0.31 0.63 0
cv-professional_sidebar 1 1 68 64 0.30 0.49 0
cv-serif_headline 1 1 103 103 0.50 1.03 0
cv-sidebar_portrait 1 1 49 49 0.15 0.29 0
cv-slate_orange 1 1 87 85 0.40 1.17 0
cv-slate_orange 1 1 87 85 0.40 1.15 0
cv-teal_pulse 1 1 57 57 0.11 0.38 0
cv-terracotta_rail 1 1 102 102 0.36 0.87 0
cv-timeline_minimal 2 2 89 87 0.36 0.47 0
Expand Down
Loading
Loading