Skip to main content

Module handler_chain

Module handler_chain 

Source
Expand description

基于优先级的写入处理程序执行链。

提供 WriteHandlerChain,管理按优先级排序的 PdfWriteHandler 实例。优先级值越小的处理程序越先执行。

§优先级常量

  • PRIORITY_HIGH(0.0)——样式、布局,必须最先执行。
  • PRIORITY_NORMAL(10.0)——大多数处理程序的默认优先级。
  • PRIORITY_LOW(20.0)——页码、水印、后处理。

Structs§

WriteHandlerChain
按优先级排序的 PdfWriteHandler 实例有序链。
WriteHandlerRegistration
与其执行优先级配对的 PdfWriteHandler

Constants§

PRIORITY_HIGH
高优先级(0.0)——样式、布局和必须最先运行的处理程序。
PRIORITY_LOW
低优先级(20.0)——页码、水印和后处理。
PRIORITY_NORMAL
普通优先级(10.0)——大多数处理程序的默认值。