123456789101112131415161718192021222324252627282930313233343536373839404142434445464748 |
- //
- // KMBatesModel.swift
- // PDF Master
- //
- // 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"
- }
-
- 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
- }
- }
|