// // KMPreferenceEnum.swift // PDF Master // // Created by tangchao on 2023/3/13. // import Foundation //enum KMPreference { // case leftSideDisplayType = KMPreferenceLeftSideDisplayType.closeWhenOpenFile //} enum KMPreferenceCloseFilePromptType: Int { case promp = 0 case noPromp = 1 } enum KMPreferenceSavePasswordType: Int { case always = 0 case never = 1 case ask = 2 } enum KMPreferenceViewSetting: String { case pageNumber = "pageNumber" } enum KMPreferenceLeftSideDisplayType: Int { case closeWhenOpenFile = 0 // 打开文件时收起 case openAppSaveLastSelect // 打开App记住上次选择 case showOutlineIfHas // 显示大纲列表,如果有 } enum KMPreferencePropertyPanelExpandType: Int { case auto = 0 case manual } enum KMPreferencePageIndicatorDisplayType: Int { case automatic = 0 case always case never } enum KMPreferenceMarkupColorKey: Int { case highlight = 0 case rectangleFill case strikthrough case rectangleBorder case underline case circleFill case pen case circleBorder case text case line case note case arrow }