@@ -155,6 +155,7 @@ class KMHeaderFooterView: KMBaseXibView, NSTextViewDelegate, NSComboBoxDelegate
var type: KMBatchModifyTemplateType = .Add // Replace with the actual type
var pdfDocument: CPDFDocument? {
didSet {
+ self.pdfView.document = pdfDocument
self.reloadData()
}
@@ -72,6 +72,7 @@ class KMAddBackgroundView: KMBaseXibView, NSComboBoxDelegate {
var type: KMBackgroundManagerType = .add
@@ -97,6 +97,7 @@ class KMWatermarkView: KMBaseXibView, NSTextFieldDelegate, NSComboBoxDelegate, N
var type: KMWatermarkManagerType = .add