|
@@ -331,7 +331,7 @@ class KMBatchOperateAddWatermarkViewController: KMBatchOperateBaseViewController
|
|
|
}
|
|
|
|
|
|
@IBAction func buttonClicked_addtemplate(_ sender: NSButton) {
|
|
|
- let filePath: String = Bundle.main.path(forResource: "PDF Reader Pro User Guide", ofType: "pdf") ?? ""
|
|
|
+ let filePath: String = Bundle.main.path(forResource: "Quick Start Guide", ofType: "pdf") ?? ""
|
|
|
var cdocument = self.pdfView?.document
|
|
|
if isBatchOperation {
|
|
|
cdocument = CPDFDocument(url: URL(fileURLWithPath: filePath))
|
|
@@ -653,7 +653,7 @@ extension KMBatchOperateAddWatermarkViewController {
|
|
|
}
|
|
|
}
|
|
|
func editBackground(_ background: KMBackgroundModel) {
|
|
|
- var filePath: String = Bundle.main.path(forResource: "PDF Reader Pro User Guide", ofType: "pdf") ?? ""
|
|
|
+ var filePath: String = Bundle.main.path(forResource: "Quick Start Guide", ofType: "pdf") ?? ""
|
|
|
if self.pdfView?.document.documentURL.path.count ?? 0 > 0 {
|
|
|
filePath = self.pdfView?.document.documentURL.path ?? ""
|
|
|
}
|
|
@@ -702,7 +702,7 @@ extension KMBatchOperateAddWatermarkViewController {
|
|
|
|
|
|
func editWatermark(_ waterMark: KMWatermarkModel) {
|
|
|
if !isBackground {
|
|
|
- var filePath: String = Bundle.main.path(forResource: "PDF Reader Pro User Guide", ofType: "pdf") ?? ""
|
|
|
+ var filePath: String = Bundle.main.path(forResource: "Quick Start Guide", ofType: "pdf") ?? ""
|
|
|
if self.pdfView?.document.documentURL.path.count ?? 0 > 0 {
|
|
|
filePath = self.pdfView?.document.documentURL.path ?? ""
|
|
|
}
|