我有DocumentPaginator
(包括页眉和页脚)的自定义实现,我想在FlowDocumentPageViewer.
我该怎么做?我试图在我的自定义 DocumentPaginator 中实现IDocumentPaginatorSource,但 FlowDocumentPageViewer 抛出异常:"FlowDocumentPageViewer supports only FlowDocument as content."
我有DocumentPaginator
(包括页眉和页脚)的自定义实现,我想在FlowDocumentPageViewer.
我该怎么做?我试图在我的自定义 DocumentPaginator 中实现IDocumentPaginatorSource,但 FlowDocumentPageViewer 抛出异常:"FlowDocumentPageViewer supports only FlowDocument as content."