123456789101112131415161718192021222324252627282930313233343536373839404142434445 |
- //
- // KMHeaderFooterModel.swift
- // PDF Master
- //
- // Created by tangchao on 2022/12/27.
- //
- import Cocoa
- class KMHeaderFooterModel: KMHeaderFooterAdjectiveModel {
-
- var dateFormatString: String = KMWatermarkAdjectiveTools.getDateFormats().first!
- var pageFormatString: String = KMWatermarkAdjectiveTools.getPageFormats().first!
-
- override init() {
- super.init()
-
- self.name = ""
- }
-
- override func copy() -> Any {
- let model = KMHeaderFooterModel()
- model.name = self.name
-
- model.leftMargin = self.leftMargin
- model.rightMargin = self.rightMargin
- model.bottomMargin = self.bottomMargin
- model.topMargin = self.topMargin
-
- model.topLeftString = self.topLeftString
- model.topCenterString = self.topCenterString
- model.topRightString = self.topRightString
-
- model.bottomLeftString = self.bottomLeftString
- model.bottomCenterString = self.bottomCenterString
- model.bottomRightString = self.bottomRightString
-
- model.startString = self.startString
-
- model.dateFormatString = self.dateFormatString
- model.pageFormatString = self.pageFormatString
-
- return model
- }
- }
|