1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162636465666768697071727374 |
- //
- // KMPDFEditToolbar.swift
- // PDF Reader Pro
- //
- // Created by tangchao on 2023/5/4.
- //
- import Cocoa
- enum KMPageEditType: Int {
- case none = 0
- case pageRange = 1
- case leftRotate
- case rightRotate
- case insert
- case extract
- case replace
- case split
- case reverse
- case copy
- case delete
-
- case zoomOut
- case zoomIn
-
- case paste = 100
-
- static var insert_files: Int {
- get {
- return self.insert.rawValue + 1000
- }
- }
- static var insert_blank_page: Int {
- get {
- return self.insert.rawValue + 1001
- }
- }
- static var insert_custom_page: Int {
- get {
- return self.insert.rawValue + 1002
- }
- }
-
- static var insert_fromImage: Int {
- get {
- return self.insert.rawValue + 1003
- }
- }
-
- static var insert_fromClipboard: Int {
- get {
- return self.insert.rawValue + 1004
- }
- }
-
- static var insert_fromScanner: Int {
- get {
- return self.insert.rawValue + 1005
- }
- }
-
- static var extract_selected_pages: Int {
- get {
- return self.extract.rawValue + 2000
- }
- }
-
- static var split_selected_pages: Int {
- get {
- return self.split.rawValue + 3000
- }
- }
- }
-
|