12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152 |
- //
- // KMHeaderFooterObject.swift
- // PDF Reader Pro
- //
- // Created by tangchao on 2022/12/28.
- //
- import Cocoa
- @objcMembers class KMBatesModel: KMHeaderFooterAdjectiveModel {
-
- var prefixString: String = ""
- var suffixString: String = ""
- var digits: Int = 1
-
- override init() {
- super.init()
-
- self.name = "Bates Number"
- }
-
- required init?(coder: NSCoder) {
- fatalError("init(coder:) has not been implemented")
- }
-
- override func copy() -> Any {
- let model = KMBatesModel()
- 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.prefixString = self.prefixString
- model.suffixString = self.suffixString
- model.digits = self.digits
-
- return model
- }
- }
|