Package io.leandev.appfuse.report.internal.pdf
package io.leandev.appfuse.report.internal.pdf
-
ClassDescription公開量測器的實作;與 FixedRenderer 共用 PdfTextMeasurer 與 FixedTextMetrics。與流式排版分離;只共用 PDF runtime、字型量測及圖片嵌入。
ReportFonts.Builder#build()的字型檢查PDFBox 實作的
ReportRenderer兩階段輸出(REP-03 契約「輸出語意」):產生階段排版、繪製並把完整 PDF 序列化到暫存檔;最後一次取消檢查通過後, 寫出階段才把暫存檔複製到
out。產生階段的任何失敗或取消都不寫出任何位元組。從已保存的 PDF 擷取選取的頁面(REP-08)renderer 的暫存檔:序列化完成的 PDF 與 PDFBox 的頁面內容暫存(scratch)