|
@@ -111,7 +111,7 @@ class KMPDFToolbarManager: NSObject {
|
|
|
let eyeProperty = ComponentButtonProperty(type: .text_gray_opacity, size: .xs, onlyIcon: true, icon: NSImage(named: "markup_show"), identifier: KMPDFToolbar_eye_Identifier)
|
|
|
|
|
|
//MARK: -Edit
|
|
|
- let edit_text_Property = ComponentButtonProperty(type: .text_gray_opacity, size: .xs, showLeftIcon: true, buttonText: "Text", icon: NSImage(named: "markup_text"), identifier: KMPDFToolbar_edit_text_Identifier)
|
|
|
+ let edit_text_Property = ComponentButtonProperty(type: .text_gray_opacity, size: .xs, showLeftIcon: true, buttonText: "Text", icon: NSImage(named: "edit_text"), identifier: KMPDFToolbar_edit_text_Identifier)
|
|
|
let edit_image_Property = ComponentButtonProperty(type: .text_gray_opacity, size: .xs, showLeftIcon: true, buttonText: "Image", icon: NSImage(named: "edit_image"), identifier: KMPDFToolbar_edit_image_Identifier)
|
|
|
let edit_link_Property = ComponentButtonProperty(type: .text_gray_opacity, size: .xs, showLeftIcon: true, buttonText: "Link", icon: NSImage(named: "edit_link"), identifier: KMPDFToolbar_edit_link_Identifier)
|
|
|
|
|
@@ -197,13 +197,13 @@ class KMPDFToolbarManager: NSObject {
|
|
|
//MARK: -Protect
|
|
|
let protect_redact_Property = ComponentButtonProperty(type: .text_gray_opacity, size: .xs, showLeftIcon: true, buttonText: "Redact", icon: NSImage(named: "protect_redact"), identifier: KMPDFToolbar_protect_redact_Identifier)
|
|
|
let protect_security_Property = ComponentButtonProperty(type: .text_gray_opacity, size: .xs, showLeftIcon: true, buttonText: "Security", icon: NSImage(named: "protect_security"), identifier: KMPDFToolbar_protect_security_Identifier)
|
|
|
- let protect_removeSecurity_Property = ComponentButtonProperty(type: .text_gray_opacity, size: .xs, showLeftIcon: true, buttonText: "Remove Security", icon: NSImage(named: "protect_security"), identifier: KMPDFToolbar_protect_removeSecurity_Identifier)
|
|
|
+ let protect_removeSecurity_Property = ComponentButtonProperty(type: .text_gray_opacity, size: .xs, showLeftIcon: true, buttonText: "Remove Security", icon: NSImage(named: "protect_security_remove"), identifier: KMPDFToolbar_protect_removeSecurity_Identifier)
|
|
|
let protect_digitalSign_Property = ComponentButtonProperty(type: .text_gray_opacity, size: .xs, showLeftIcon: true, buttonText: "Digital Signature", icon: NSImage(named: "form_digitalSign"), identifier: KMPDFToolbar_protect_digitalSign_Identifier)
|
|
|
|
|
|
//MARK: -Tools
|
|
|
let tools_OCR_Property = ComponentButtonProperty(type: .text_gray_opacity, size: .xs, showLeftIcon: true, buttonText: "OCR", icon: NSImage(named: "tools_OCR"), identifier: KMPDFToolbar_tools_OCR_Identifier)
|
|
|
let tools_merge_Property = ComponentButtonProperty(type: .text_gray_opacity, size: .xs, showLeftIcon: true, buttonText: "Merge", icon: NSImage(named: "tools_merge"), identifier: KMPDFToolbar_tools_merge_Identifier)
|
|
|
- let tools_compress_Property = ComponentDropdownToolProperty(state: .normal, text: "Compress", leftIcon: NSImage(named: "tools_compare"), showDropdown: true, arrowIcon: NSImage(named: "toolbar_arrowDown_fill"))
|
|
|
+ let tools_compress_Property = ComponentDropdownToolProperty(state: .normal, text: "Compress", leftIcon: NSImage(named: "tools_compress"), showDropdown: true, arrowIcon: NSImage(named: "toolbar_arrowDown_fill"))
|
|
|
var tools_compress_compress_Property: ComponentMenuitemProperty = ComponentMenuitemProperty(text: "Compress", identifier: KMPDFToolbar_tools_compress_Identifier)
|
|
|
var tools_compress_batchCompress_Property: ComponentMenuitemProperty = ComponentMenuitemProperty(text: "Batch Compress", identifier: KMPDFToolbar_tools_batch_compress_Identifier)
|
|
|
|