1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950 |
- //
- // KMPreferenceCommon.swift
- // PDF Reader Pro
- //
- // Created by tangchao on 2024/1/16.
- //
- import Foundation
- // general
- public let KMUserNameKey = "SKUserName"
- public let KMReopenLastOpenFilesKey = "SKReopenLastOpenFiles"
- public let KMOpenDocumentInTabKey = "KMOpenDocumentInTab"
- public let KMInitialWindowSizeOptionKey = "SKInitialWindowSizeOption"
- public let KMOpenContentsPaneOnlyForTOCKey = "SKOpenContentsPaneOnlyForTOC"
- public let KMRememberSnapshotsKey = "SKRememberSnapshots"
- public let KMDefaultPDFDisplaySettingsKey = "SKDefaultPDFDisplaySettings"
- public let KMDefaultFullScreenPDFDisplaySettingsKey = "SKDefaultFullScreenPDFDisplaySettings"
- public let KMAutoSaveSkimNotesKey = "SKAutoSaveSkimNotes"
- public let KMSnapshotsOnTopKey = "SKSnapshotsOnTop"
- public let KMSavePasswordOptionKey = "SKSavePasswordOption"
- // display
- public let KMThumbnailSizeKey = "SKThumbnailSize"
- public let KMTableFontSizeKey = "SKTableFontSize"
- public let KMGreekingThresholdKey = "SKGreekingThreshold"
- public let KMShouldAntiAliasKey = "SKShouldAntiAlias"
- public let KMBackgroundColorKey = "SKBackgroundColor"
- public let KMFullScreenBackgroundColorKey = "SKFullScreenBackgroundColor"
- public let KMReadingBarColorKey = "SKReadingBarColor"
- public let KMReadingBarInvertKey = "SKReadingBarInvert"
- func KMPreferenceKeyToCKey(pKey: KMPreferenceKey) -> String? {
-
- return nil
- }
- // MARK: - NSUserDefault key 与 偏好设置 key 相互转换
- func KMPreferenceKeyToUDKey(pKey: KMPreferenceKey) -> String? {
-
- return nil
- }
- func KMPreferenceKeyFromUDKey(udKey: String) -> KMPreferenceKey? {
-
-
- return nil
- }
|