Repository navigation
feat: date, page number and page count fields - #201
Conversation
…eld, shaded in the window and filled page by page in the PDF
…Office's adjustments and numerals, until the pages settle, and following dates saved in their own style
|
Review fixes are in the second commit. Important
Minors
Every new test fails on the reviewed code. |
Closes #170
edit/field.rsprovidesinsert_field(content, path, at, Field::{Date { fixed }, PageNumber, PageCount}, today). Each field is written as LibreOffice writes it:text:datewithtext:date-value(andtext:fixed="true"for a fixed date),text:page-number text:select-page="current", andtext:page-count.follow_dateswrites today into the dates that follow the day. The shell calls it before each save.doc::date_showngives what a following date shows today, in its own data style. The PDF bands use it too.odox_ui::today()is now local time, not UTC.page_number_in_body_filled_per_page_in_pdf,page_count_in_pdf.