// // KMPDFConfig.swift // PDF Reader Pro // // Created by Niehaoyu on 2024/10/21. // import Cocoa //工具类型 @objc public enum KMPDFViewToolsType: Int, CaseIterable { case Select = 0 case Scroll case Content_Selection case Magnify case AreaZoom } //一级工具栏模式 /* 默认为View_Select,代表选择模式。 */ @objc public enum KMPDFToolsMode: Int, CaseIterable { case None = 0 case Markup case Edit case Form case Fill case Convert case Protect case Tools } //二级工具栏 @objc public enum KMPDFSubToolMode: Int, CaseIterable { case None = 0 case Highlight case Underline case Waveline case Strikethrough case Text case Note case Pen case Eraser case Rectangle case Circle case Arrow case Line case Stamp case Sign case Edit_text case Edit_Image case Edit_Link case Edit_Crop case Form_text case Form_checkbox case Form_radio case Form_list case Form_dropdown case Form_OK case Form_digitalSign case Fill_tick case fill_fork case fill_rectangle case fill_line case fill_dot case fill_date case fill_sign } //侧边栏样式 @objc public enum KMPDFSidebarType : Int { case none = 0 case search case thumbnail case outline case bookmark case annotation } //编辑模块类型 @objc public enum KMPDFEditModeType : Int { case none = 0 case watermark case background case header_Footer case bates } @objc public enum KMPDFEditSubModeType : Int { case none = 0 case template case add case edit }