mirror of
https://github.com/storytold/pdfcraft.git
synced 2026-11-10 10:20:32 -06:00
Three or more rows at one repeated step stay one paragraph when the file has no TL, which is how LibreOffice writes each line. A rewrite that leaves a source row still marks the whole paragraph, so the neighbour survives a second edit. Dragging the box width keeps the line breaks.
10 lines
320 B
JSON
10 lines
320 B
JSON
{
|
|
"name": "repeated step Td inside one BT",
|
|
"content": "BT /F1 12 Tf 1 0 0 1 72 700 Tm (One) Tj 0 -27.6 Td (Two) Tj 0 -27.6 Td (Three) Tj ET",
|
|
"steps": [
|
|
{"command": {"id": "edit.edit_text"}},
|
|
{"click_page": {"x": 90, "y": 676}},
|
|
{"expect_editor": {"contains": "Two", "text": "One\nTwo\nThree"}}
|
|
]
|
|
}
|