Interface PageSink


public interface PageSink
接收排版完成的頁面;PDF 實作繪製後即可釋放 box
  • Method Summary

    Modifier and Type
    Method
    Description
    void
    append(int number, List<Box> boxes)
    全部頁面完成後回填內容(例如含總頁數的頁首頁尾)
    void
    page(int number, List<Box> boxes)
    一頁排版完成
  • Method Details

    • page

      void page(int number, List<Box> boxes)
      一頁排版完成
      Parameters:
      number - 頁碼(從 1 起)
      boxes - 頁面內容
    • append

      void append(int number, List<Box> boxes)
      全部頁面完成後回填內容(例如含總頁數的頁首頁尾)
      Parameters:
      number - 頁碼
      boxes - 追加的內容