PdfExportLayout
Corex\Config\Export\PdfExportLayout · class · Config layer
An export as a document to file, as the HTML a PDF library is handed (spec 103, US8). Every page is headed by the site’s name and the document’s title, and signed as CoreX’s: its logo, a copyright line, and the page’s number of how many. The owner, of what “signed off with the identity” meant: “pdf exported should has the corex logo on it as it has the copyrights of the tool”. The colours are ink on paper, written out: a PDF has no stylesheet of the site’s to read them from.
Public API
Section titled “Public API”__construct(Closure $siteName, Closure $rightToLeft, string $signatureFile, Closure $now)
Section titled “__construct(Closure $siteName, Closure $rightToLeft, string $signatureFile, Closure $now)”rightToLeft(): bool
Section titled “rightToLeft(): bool”header(ExportDocument $document): string
Section titled “header(ExportDocument $document): string”footer(): string
Section titled “footer(): string”CoreX’s signature, and where the page stands. {PAGENO} and {nbpg} are the PDF library’s names for the two numbers; it puts them in.
styles(): string
Section titled “styles(): string”opening(ExportDocument $document): string
Section titled “opening(ExportDocument $document): string”The title, and what a reader is told about the export before its records.
sheet(ExportSheet $sheet, bool $named): iterable
Section titled “sheet(ExportSheet $sheet, bool $named): iterable”One sheet, in pieces the PDF library takes one at a time. Each piece is whole: a table is never left open between two of them.