ソースを参照

PDFTools(iOS)编辑模块高保真处理

chenyu 1 年間 前
コミット
5d1e2d6397
100 ファイル変更2712 行追加503 行削除
  1. 0 8
      compdfkit-tools/compdfkit-tools.xcodeproj/project.pbxproj
  2. 62 0
      compdfkit-tools/compdfkit-tools/Annotation/PDFProperties/PDFInk/Image.xcassets/CPDFInkImageRedo.imageset/Contents.json
  3. 84 0
      compdfkit-tools/compdfkit-tools/Annotation/PDFProperties/PDFInk/Image.xcassets/CPDFInkImageRedo.imageset/redo_d 1.pdf
  4. 84 0
      compdfkit-tools/compdfkit-tools/Annotation/PDFProperties/PDFInk/Image.xcassets/CPDFInkImageRedo.imageset/redo_w 1.pdf
  5. 62 0
      compdfkit-tools/compdfkit-tools/Annotation/PDFProperties/PDFInk/Image.xcassets/CPDFInkImageUndo.imageset/Contents.json
  6. 84 0
      compdfkit-tools/compdfkit-tools/Annotation/PDFProperties/PDFInk/Image.xcassets/CPDFInkImageUndo.imageset/undo 1.pdf
  7. 84 0
      compdfkit-tools/compdfkit-tools/Annotation/PDFProperties/PDFInk/Image.xcassets/CPDFInkImageUndo.imageset/undo_w.pdf
  8. 4 4
      compdfkit-tools/compdfkit-tools/Common/Utils/CPDFDropDownMenu.m
  9. 45 0
      compdfkit-tools/compdfkit-tools/Common/Views/PDFActivityIndicatorView/PDFNavigationRightView/CNavigationRightView.h
  10. 145 0
      compdfkit-tools/compdfkit-tools/Common/Views/PDFActivityIndicatorView/PDFNavigationRightView/CNavigationRightView.m
  11. 0 0
      compdfkit-tools/compdfkit-tools/Common/Views/PDFActivityIndicatorView/PDFNavigationRightView/NavigationRightImage.xcassets/CNavigationImageNameBackArrow.imageset/Contents.json
  12. 0 0
      compdfkit-tools/compdfkit-tools/Common/Views/PDFActivityIndicatorView/PDFNavigationRightView/NavigationRightImage.xcassets/CNavigationImageNameBackArrow.imageset/syasarrow.pdf
  13. 0 0
      compdfkit-tools/compdfkit-tools/Common/Views/PDFActivityIndicatorView/PDFNavigationRightView/NavigationRightImage.xcassets/CNavigationImageNameBota.imageset/Contents.json
  14. 0 0
      compdfkit-tools/compdfkit-tools/Common/Views/PDFActivityIndicatorView/PDFNavigationRightView/NavigationRightImage.xcassets/CNavigationImageNameBota.imageset/book@2x.png
  15. 0 0
      compdfkit-tools/compdfkit-tools/Common/Views/PDFActivityIndicatorView/PDFNavigationRightView/NavigationRightImage.xcassets/CNavigationImageNameBota.imageset/book@3x.png
  16. 0 0
      compdfkit-tools/compdfkit-tools/Common/Views/PDFActivityIndicatorView/PDFNavigationRightView/NavigationRightImage.xcassets/CNavigationImageNameEditTool.imageset/Contents.json
  17. 0 0
      compdfkit-tools/compdfkit-tools/Common/Views/PDFActivityIndicatorView/PDFNavigationRightView/NavigationRightImage.xcassets/CNavigationImageNameEditTool.imageset/edittool.pdf
  18. 0 0
      compdfkit-tools/compdfkit-tools/Common/Views/PDFActivityIndicatorView/PDFNavigationRightView/NavigationRightImage.xcassets/CNavigationImageNameInformation.imageset/Contents.json
  19. 0 0
      compdfkit-tools/compdfkit-tools/Common/Views/PDFActivityIndicatorView/PDFNavigationRightView/NavigationRightImage.xcassets/CNavigationImageNameInformation.imageset/imformation.pdf
  20. 0 0
      compdfkit-tools/compdfkit-tools/Common/Views/PDFActivityIndicatorView/PDFNavigationRightView/NavigationRightImage.xcassets/CNavigationImageNameMore.imageset/Contents.json
  21. 0 0
      compdfkit-tools/compdfkit-tools/Common/Views/PDFActivityIndicatorView/PDFNavigationRightView/NavigationRightImage.xcassets/CNavigationImageNameMore.imageset/More@2x.png
  22. 0 0
      compdfkit-tools/compdfkit-tools/Common/Views/PDFActivityIndicatorView/PDFNavigationRightView/NavigationRightImage.xcassets/CNavigationImageNameMore.imageset/More@3x.png
  23. 0 0
      compdfkit-tools/compdfkit-tools/Common/Views/PDFActivityIndicatorView/PDFNavigationRightView/NavigationRightImage.xcassets/CNavigationImageNameNewFile.imageset/Contents.json
  24. 0 0
      compdfkit-tools/compdfkit-tools/Common/Views/PDFActivityIndicatorView/PDFNavigationRightView/NavigationRightImage.xcassets/CNavigationImageNameNewFile.imageset/newfile.pdf
  25. 0 0
      compdfkit-tools/compdfkit-tools/Common/Views/PDFActivityIndicatorView/PDFNavigationRightView/NavigationRightImage.xcassets/CNavigationImageNamePreview.imageset/Contents.json
  26. 0 0
      compdfkit-tools/compdfkit-tools/Common/Views/PDFActivityIndicatorView/PDFNavigationRightView/NavigationRightImage.xcassets/CNavigationImageNamePreview.imageset/pageset.pdf
  27. 0 0
      compdfkit-tools/compdfkit-tools/Common/Views/PDFActivityIndicatorView/PDFNavigationRightView/NavigationRightImage.xcassets/CNavigationImageNameSearch.imageset/Contents.json
  28. 0 0
      compdfkit-tools/compdfkit-tools/Common/Views/PDFActivityIndicatorView/PDFNavigationRightView/NavigationRightImage.xcassets/CNavigationImageNameSearch.imageset/search@2x.png
  29. 0 0
      compdfkit-tools/compdfkit-tools/Common/Views/PDFActivityIndicatorView/PDFNavigationRightView/NavigationRightImage.xcassets/CNavigationImageNameSearch.imageset/search@3x.png
  30. 0 0
      compdfkit-tools/compdfkit-tools/Common/Views/PDFActivityIndicatorView/PDFNavigationRightView/NavigationRightImage.xcassets/CNavigationImageNameShare.imageset/Contents.json
  31. 0 0
      compdfkit-tools/compdfkit-tools/Common/Views/PDFActivityIndicatorView/PDFNavigationRightView/NavigationRightImage.xcassets/CNavigationImageNameShare.imageset/share.pdf
  32. 0 0
      compdfkit-tools/compdfkit-tools/Common/Views/PDFActivityIndicatorView/PDFNavigationRightView/NavigationRightImage.xcassets/CNavigationImageNameViewer.imageset/Contents.json
  33. 0 0
      compdfkit-tools/compdfkit-tools/Common/Views/PDFActivityIndicatorView/PDFNavigationRightView/NavigationRightImage.xcassets/CNavigationImageNameViewer.imageset/pageset.pdf
  34. 0 0
      compdfkit-tools/compdfkit-tools/Common/Views/PDFActivityIndicatorView/PDFNavigationRightView/NavigationRightImage.xcassets/Contents.json
  35. 5 1
      compdfkit-tools/compdfkit-tools/Edit/CPDFEditCell/CPDFEditFontNameSelectView.m
  36. 249 17
      compdfkit-tools/compdfkit-tools/Edit/CPDFEditCell/CPDFImagePropertyCell.m
  37. 0 237
      compdfkit-tools/compdfkit-tools/Edit/CPDFEditCell/CPDFImagePropertyCell.xib
  38. 4 2
      compdfkit-tools/compdfkit-tools/Edit/CPDFEditCell/CPDFTextPropertyCell.h
  39. 188 24
      compdfkit-tools/compdfkit-tools/Edit/CPDFEditCell/CPDFTextPropertyCell.m
  40. 0 164
      compdfkit-tools/compdfkit-tools/Edit/CPDFEditCell/CPDFTextPropertyCell.xib
  41. 21 0
      compdfkit-tools/compdfkit-tools/Edit/CPDFEditImageAssets.xcassets/CPDFEditAddImage.imageset/Contents.json
  42. 107 0
      compdfkit-tools/compdfkit-tools/Edit/CPDFEditImageAssets.xcassets/CPDFEditAddImage.imageset/subtoolbar_editpdf_addimage.pdf
  43. 21 0
      compdfkit-tools/compdfkit-tools/Edit/CPDFEditImageAssets.xcassets/CPDFEditAddText.imageset/Contents.json
  44. 115 0
      compdfkit-tools/compdfkit-tools/Edit/CPDFEditImageAssets.xcassets/CPDFEditAddText.imageset/addtext.pdf
  45. BIN
      compdfkit-tools/compdfkit-tools/Edit/CPDFEditImageAssets.xcassets/CPDFEditAligmentCenter.imageset/AligmentCenter@2x.png
  46. BIN
      compdfkit-tools/compdfkit-tools/Edit/CPDFEditImageAssets.xcassets/CPDFEditAligmentCenter.imageset/AligmentCenter@3x.png
  47. 1 2
      compdfkit-tools/compdfkit-tools/Edit/CPDFEditImageAssets.xcassets/CPDFEditAligmentCenter.imageset/Contents.json
  48. 83 0
      compdfkit-tools/compdfkit-tools/Edit/CPDFEditImageAssets.xcassets/CPDFEditAligmentCenter.imageset/ic.pdf
  49. BIN
      compdfkit-tools/compdfkit-tools/Edit/CPDFEditImageAssets.xcassets/CPDFEditAlignmentLeft.imageset/AlignmentLeft@2x.png
  50. BIN
      compdfkit-tools/compdfkit-tools/Edit/CPDFEditImageAssets.xcassets/CPDFEditAlignmentLeft.imageset/AlignmentLeft@3x.png
  51. 1 2
      compdfkit-tools/compdfkit-tools/Edit/CPDFEditImageAssets.xcassets/CPDFEditAlignmentLeft.imageset/Contents.json
  52. 83 0
      compdfkit-tools/compdfkit-tools/Edit/CPDFEditImageAssets.xcassets/CPDFEditAlignmentLeft.imageset/ic.pdf
  53. BIN
      compdfkit-tools/compdfkit-tools/Edit/CPDFEditImageAssets.xcassets/CPDFEditAlignmentRight.imageset/AlignmentRight@2x.png
  54. BIN
      compdfkit-tools/compdfkit-tools/Edit/CPDFEditImageAssets.xcassets/CPDFEditAlignmentRight.imageset/AlignmentRight@3x.png
  55. 1 2
      compdfkit-tools/compdfkit-tools/Edit/CPDFEditImageAssets.xcassets/CPDFEditAlignmentRight.imageset/Contents.json
  56. 83 0
      compdfkit-tools/compdfkit-tools/Edit/CPDFEditImageAssets.xcassets/CPDFEditAlignmentRight.imageset/ic.pdf
  57. 21 0
      compdfkit-tools/compdfkit-tools/Edit/CPDFEditImageAssets.xcassets/CPDFEditArrow.imageset/Contents.json
  58. 70 0
      compdfkit-tools/compdfkit-tools/Edit/CPDFEditImageAssets.xcassets/CPDFEditArrow.imageset/arrow.pdf
  59. BIN
      compdfkit-tools/compdfkit-tools/Edit/CPDFEditImageAssets.xcassets/CPDFEditBoldNormal.imageset/BoldNormal@2x.png
  60. BIN
      compdfkit-tools/compdfkit-tools/Edit/CPDFEditImageAssets.xcassets/CPDFEditBoldNormal.imageset/BoldNormal@3x.png
  61. 1 2
      compdfkit-tools/compdfkit-tools/Edit/CPDFEditImageAssets.xcassets/CPDFEditBoldNormal.imageset/Contents.json
  62. 105 0
      compdfkit-tools/compdfkit-tools/Edit/CPDFEditImageAssets.xcassets/CPDFEditBoldNormal.imageset/ic.pdf
  63. 1 2
      compdfkit-tools/compdfkit-tools/Edit/CPDFEditImageAssets.xcassets/CPDFEditCrop.imageset/Contents.json
  64. BIN
      compdfkit-tools/compdfkit-tools/Edit/CPDFEditImageAssets.xcassets/CPDFEditCrop.imageset/crop@2x.png
  65. BIN
      compdfkit-tools/compdfkit-tools/Edit/CPDFEditImageAssets.xcassets/CPDFEditCrop.imageset/crop@3x.png
  66. 120 0
      compdfkit-tools/compdfkit-tools/Edit/CPDFEditImageAssets.xcassets/CPDFEditCrop.imageset/tailor.pdf
  67. 1 2
      compdfkit-tools/compdfkit-tools/Edit/CPDFEditImageAssets.xcassets/CPDFEditExport.imageset/Contents.json
  68. 96 0
      compdfkit-tools/compdfkit-tools/Edit/CPDFEditImageAssets.xcassets/CPDFEditExport.imageset/download.pdf
  69. BIN
      compdfkit-tools/compdfkit-tools/Edit/CPDFEditImageAssets.xcassets/CPDFEditExport.imageset/export@2x.png
  70. BIN
      compdfkit-tools/compdfkit-tools/Edit/CPDFEditImageAssets.xcassets/CPDFEditExport.imageset/export@3x.png
  71. BIN
      compdfkit-tools/compdfkit-tools/Edit/CPDFEditImageAssets.xcassets/CPDFEditHorizontalFlip.imageset/CPDFEditHorizontalFlip@2x.png
  72. BIN
      compdfkit-tools/compdfkit-tools/Edit/CPDFEditImageAssets.xcassets/CPDFEditHorizontalFlip.imageset/CPDFEditHorizontalFlip@3x.png
  73. 1 2
      compdfkit-tools/compdfkit-tools/Edit/CPDFEditImageAssets.xcassets/CPDFEditHorizontalFlip.imageset/Contents.json
  74. 98 0
      compdfkit-tools/compdfkit-tools/Edit/CPDFEditImageAssets.xcassets/CPDFEditHorizontalFlip.imageset/Icon.pdf
  75. 1 2
      compdfkit-tools/compdfkit-tools/Edit/CPDFEditImageAssets.xcassets/CPDFEditIRotate.imageset/Contents.json
  76. BIN
      compdfkit-tools/compdfkit-tools/Edit/CPDFEditImageAssets.xcassets/CPDFEditIRotate.imageset/lRotate@2x.png
  77. BIN
      compdfkit-tools/compdfkit-tools/Edit/CPDFEditImageAssets.xcassets/CPDFEditIRotate.imageset/lRotate@3x.png
  78. 86 0
      compdfkit-tools/compdfkit-tools/Edit/CPDFEditImageAssets.xcassets/CPDFEditIRotate.imageset/rotate.pdf
  79. 1 2
      compdfkit-tools/compdfkit-tools/Edit/CPDFEditImageAssets.xcassets/CPDFEditItalicNormal.imageset/Contents.json
  80. BIN
      compdfkit-tools/compdfkit-tools/Edit/CPDFEditImageAssets.xcassets/CPDFEditItalicNormal.imageset/ItalicNormal@2x.png
  81. BIN
      compdfkit-tools/compdfkit-tools/Edit/CPDFEditImageAssets.xcassets/CPDFEditItalicNormal.imageset/ItalicNormal@3x.png
  82. 79 0
      compdfkit-tools/compdfkit-tools/Edit/CPDFEditImageAssets.xcassets/CPDFEditItalicNormal.imageset/ic.pdf
  83. 1 2
      compdfkit-tools/compdfkit-tools/Edit/CPDFEditImageAssets.xcassets/CPDFEditRRotate.imageset/Contents.json
  84. BIN
      compdfkit-tools/compdfkit-tools/Edit/CPDFEditImageAssets.xcassets/CPDFEditRRotate.imageset/rRotate@2x.png
  85. BIN
      compdfkit-tools/compdfkit-tools/Edit/CPDFEditImageAssets.xcassets/CPDFEditRRotate.imageset/rRotate@3x.png
  86. 86 0
      compdfkit-tools/compdfkit-tools/Edit/CPDFEditImageAssets.xcassets/CPDFEditRRotate.imageset/rotate.pdf
  87. 1 2
      compdfkit-tools/compdfkit-tools/Edit/CPDFEditImageAssets.xcassets/CPDFEditRedo.imageset/Contents.json
  88. 84 0
      compdfkit-tools/compdfkit-tools/Edit/CPDFEditImageAssets.xcassets/CPDFEditRedo.imageset/redo.pdf
  89. BIN
      compdfkit-tools/compdfkit-tools/Edit/CPDFEditImageAssets.xcassets/CPDFEditRedo.imageset/redo@2x.png
  90. BIN
      compdfkit-tools/compdfkit-tools/Edit/CPDFEditImageAssets.xcassets/CPDFEditRedo.imageset/redo@3x.png
  91. 0 22
      compdfkit-tools/compdfkit-tools/Edit/CPDFEditImageAssets.xcassets/CPDFEditRedoDisable.imageset/Contents.json
  92. BIN
      compdfkit-tools/compdfkit-tools/Edit/CPDFEditImageAssets.xcassets/CPDFEditRedoDisable.imageset/redoDisable@2x.png
  93. BIN
      compdfkit-tools/compdfkit-tools/Edit/CPDFEditImageAssets.xcassets/CPDFEditRedoDisable.imageset/redoDisable@3x.png
  94. 21 0
      compdfkit-tools/compdfkit-tools/Edit/CPDFEditImageAssets.xcassets/CPDFEditReplace.imageset/Contents.json
  95. 137 0
      compdfkit-tools/compdfkit-tools/Edit/CPDFEditImageAssets.xcassets/CPDFEditReplace.imageset/extract.pdf
  96. 1 2
      compdfkit-tools/compdfkit-tools/Edit/CPDFEditImageAssets.xcassets/CPDFEditUndo.imageset/Contents.json
  97. 84 0
      compdfkit-tools/compdfkit-tools/Edit/CPDFEditImageAssets.xcassets/CPDFEditUndo.imageset/undo.pdf
  98. BIN
      compdfkit-tools/compdfkit-tools/Edit/CPDFEditImageAssets.xcassets/CPDFEditUndo.imageset/undo@2x.png
  99. BIN
      compdfkit-tools/compdfkit-tools/Edit/CPDFEditImageAssets.xcassets/CPDFEditUndo.imageset/undo@3x.png
  100. 0 0
      compdfkit-tools/compdfkit-tools/Edit/CPDFEditImageAssets.xcassets/CPDFEditUndoDisable.imageset/Contents.json

+ 0 - 8
compdfkit-tools/compdfkit-tools.xcodeproj/project.pbxproj

@@ -19,10 +19,8 @@
 		4F1131B029F8EEA800950564 /* CPDFEditViewController.m in Sources */ = {isa = PBXBuildFile; fileRef = 4F1131AE29F8EEA800950564 /* CPDFEditViewController.m */; };
 		4F1131B429F90E7200950564 /* CPDFImagePropertyCell.h in Headers */ = {isa = PBXBuildFile; fileRef = 4F1131B129F90E7200950564 /* CPDFImagePropertyCell.h */; };
 		4F1131B529F90E7200950564 /* CPDFImagePropertyCell.m in Sources */ = {isa = PBXBuildFile; fileRef = 4F1131B229F90E7200950564 /* CPDFImagePropertyCell.m */; };
-		4F1131B629F90E7200950564 /* CPDFImagePropertyCell.xib in Resources */ = {isa = PBXBuildFile; fileRef = 4F1131B329F90E7200950564 /* CPDFImagePropertyCell.xib */; };
 		4F1131BA29F911A800950564 /* CPDFTextPropertyCell.h in Headers */ = {isa = PBXBuildFile; fileRef = 4F1131B729F911A800950564 /* CPDFTextPropertyCell.h */; };
 		4F1131BB29F911A800950564 /* CPDFTextPropertyCell.m in Sources */ = {isa = PBXBuildFile; fileRef = 4F1131B829F911A800950564 /* CPDFTextPropertyCell.m */; };
-		4F1131BC29F911A800950564 /* CPDFTextPropertyCell.xib in Resources */ = {isa = PBXBuildFile; fileRef = 4F1131B929F911A800950564 /* CPDFTextPropertyCell.xib */; };
 		4F1131BE29F9232300950564 /* CPDFEditImageAssets.xcassets in Resources */ = {isa = PBXBuildFile; fileRef = 4F1131BD29F9232300950564 /* CPDFEditImageAssets.xcassets */; };
 		4F5986912A03411700F06A1B /* CPDFDropDownMenu.h in Headers */ = {isa = PBXBuildFile; fileRef = 4F59868F2A03411700F06A1B /* CPDFDropDownMenu.h */; };
 		4F5986922A03411700F06A1B /* CPDFDropDownMenu.m in Sources */ = {isa = PBXBuildFile; fileRef = 4F5986902A03411700F06A1B /* CPDFDropDownMenu.m */; };
@@ -228,10 +226,8 @@
 		4F1131AE29F8EEA800950564 /* CPDFEditViewController.m */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.c.objc; path = CPDFEditViewController.m; sourceTree = "<group>"; };
 		4F1131B129F90E7200950564 /* CPDFImagePropertyCell.h */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.c.h; path = CPDFImagePropertyCell.h; sourceTree = "<group>"; };
 		4F1131B229F90E7200950564 /* CPDFImagePropertyCell.m */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.c.objc; path = CPDFImagePropertyCell.m; sourceTree = "<group>"; };
-		4F1131B329F90E7200950564 /* CPDFImagePropertyCell.xib */ = {isa = PBXFileReference; lastKnownFileType = file.xib; path = CPDFImagePropertyCell.xib; sourceTree = "<group>"; };
 		4F1131B729F911A800950564 /* CPDFTextPropertyCell.h */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.c.h; path = CPDFTextPropertyCell.h; sourceTree = "<group>"; };
 		4F1131B829F911A800950564 /* CPDFTextPropertyCell.m */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.c.objc; path = CPDFTextPropertyCell.m; sourceTree = "<group>"; };
-		4F1131B929F911A800950564 /* CPDFTextPropertyCell.xib */ = {isa = PBXFileReference; lastKnownFileType = file.xib; path = CPDFTextPropertyCell.xib; sourceTree = "<group>"; };
 		4F1131BD29F9232300950564 /* CPDFEditImageAssets.xcassets */ = {isa = PBXFileReference; lastKnownFileType = folder.assetcatalog; path = CPDFEditImageAssets.xcassets; sourceTree = "<group>"; };
 		4F59868F2A03411700F06A1B /* CPDFDropDownMenu.h */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.c.h; path = CPDFDropDownMenu.h; sourceTree = "<group>"; };
 		4F5986902A03411700F06A1B /* CPDFDropDownMenu.m */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.c.objc; path = CPDFDropDownMenu.m; sourceTree = "<group>"; };
@@ -474,10 +470,8 @@
 			children = (
 				4F1131B129F90E7200950564 /* CPDFImagePropertyCell.h */,
 				4F1131B229F90E7200950564 /* CPDFImagePropertyCell.m */,
-				4F1131B329F90E7200950564 /* CPDFImagePropertyCell.xib */,
 				4F1131B729F911A800950564 /* CPDFTextPropertyCell.h */,
 				4F1131B829F911A800950564 /* CPDFTextPropertyCell.m */,
-				4F1131B929F911A800950564 /* CPDFTextPropertyCell.xib */,
 				4F6C796829FBD532008C9501 /* CPDFEditFontNameSelectView.h */,
 				4F6C796929FBD532008C9501 /* CPDFEditFontNameSelectView.m */,
 			);
@@ -1240,10 +1234,8 @@
 				4FD34DE32A0B677E005CEAB6 /* CPDFPopMenuItem.xib in Resources */,
 				C9AF182629EE8AB600EC4979 /* UtilsColor.xcassets in Resources */,
 				4F1131BE29F9232300950564 /* CPDFEditImageAssets.xcassets in Resources */,
-				4F1131BC29F911A800950564 /* CPDFTextPropertyCell.xib in Resources */,
 				C918CED829FB5ADF00D43974 /* Image.xcassets in Resources */,
 				F382636C29EFD0D9003F1DFD /* CPDFSliderImage.xcassets in Resources */,
-				4F1131B629F90E7200950564 /* CPDFImagePropertyCell.xib in Resources */,
 				C91BE7DF2A03CF080038F2BC /* Image.xcassets in Resources */,
 			);
 			runOnlyForDeploymentPostprocessing = 0;

+ 62 - 0
compdfkit-tools/compdfkit-tools/Annotation/PDFProperties/PDFInk/Image.xcassets/CPDFInkImageRedo.imageset/Contents.json

@@ -1,15 +1,77 @@
 {
   "images" : [
     {
+      "filename" : "redo_d 1.pdf",
+      "idiom" : "universal",
+      "scale" : "1x"
+    },
+    {
+      "appearances" : [
+        {
+          "appearance" : "luminosity",
+          "value" : "light"
+        }
+      ],
       "filename" : "redo.pdf",
       "idiom" : "universal",
       "scale" : "1x"
     },
     {
+      "appearances" : [
+        {
+          "appearance" : "luminosity",
+          "value" : "dark"
+        }
+      ],
+      "filename" : "redo_w 1.pdf",
+      "idiom" : "universal",
+      "scale" : "1x"
+    },
+    {
+      "idiom" : "universal",
+      "scale" : "2x"
+    },
+    {
+      "appearances" : [
+        {
+          "appearance" : "luminosity",
+          "value" : "light"
+        }
+      ],
       "idiom" : "universal",
       "scale" : "2x"
     },
     {
+      "appearances" : [
+        {
+          "appearance" : "luminosity",
+          "value" : "dark"
+        }
+      ],
+      "idiom" : "universal",
+      "scale" : "2x"
+    },
+    {
+      "idiom" : "universal",
+      "scale" : "3x"
+    },
+    {
+      "appearances" : [
+        {
+          "appearance" : "luminosity",
+          "value" : "light"
+        }
+      ],
+      "idiom" : "universal",
+      "scale" : "3x"
+    },
+    {
+      "appearances" : [
+        {
+          "appearance" : "luminosity",
+          "value" : "dark"
+        }
+      ],
       "idiom" : "universal",
       "scale" : "3x"
     }

+ 84 - 0
compdfkit-tools/compdfkit-tools/Annotation/PDFProperties/PDFInk/Image.xcassets/CPDFInkImageRedo.imageset/redo_d 1.pdf

@@ -0,0 +1,84 @@
+%PDF-1.7
+
+1 0 obj
+  << >>
+endobj
+
+2 0 obj
+  << /Length 3 0 R >>
+stream
+/DeviceRGB CS
+/DeviceRGB cs
+q
+-1.000000 -0.000000 -0.000000 1.000000 16.810547 4.098389 cm
+0.262745 0.278431 0.301961 scn
+0.530330 8.280304 m
+0.000000 7.749974 l
+0.530330 7.219644 l
+4.151638 3.598336 l
+5.212297 4.658997 l
+2.871320 6.999974 l
+9.560660 6.999974 l
+11.079443 6.999974 12.310660 5.768757 12.310660 4.249974 c
+12.310660 2.731191 11.079443 1.499973 9.560660 1.499973 c
+2.060660 1.499973 l
+2.060660 -0.000027 l
+9.560660 -0.000027 l
+11.907870 -0.000027 13.810660 1.902763 13.810660 4.249974 c
+13.810660 6.597184 11.907870 8.499973 9.560660 8.499973 c
+2.871320 8.499973 l
+5.212297 10.840951 l
+4.151638 11.901611 l
+0.530330 8.280304 l
+h
+f*
+n
+Q
+
+endstream
+endobj
+
+3 0 obj
+  650
+endobj
+
+4 0 obj
+  << /Annots []
+     /Type /Page
+     /MediaBox [ 0.000000 0.000000 20.000000 20.000000 ]
+     /Resources 1 0 R
+     /Contents 2 0 R
+     /Parent 5 0 R
+  >>
+endobj
+
+5 0 obj
+  << /Kids [ 4 0 R ]
+     /Count 1
+     /Type /Pages
+  >>
+endobj
+
+6 0 obj
+  << /Pages 5 0 R
+     /Type /Catalog
+  >>
+endobj
+
+xref
+0 7
+0000000000 65535 f
+0000000010 00000 n
+0000000034 00000 n
+0000000740 00000 n
+0000000762 00000 n
+0000000935 00000 n
+0000001009 00000 n
+trailer
+<< /ID [ (some) (id) ]
+   /Root 6 0 R
+   /Size 7
+>>
+startxref
+1068
+%%EOF

+ 84 - 0
compdfkit-tools/compdfkit-tools/Annotation/PDFProperties/PDFInk/Image.xcassets/CPDFInkImageRedo.imageset/redo_w 1.pdf

@@ -0,0 +1,84 @@
+%PDF-1.7
+
+1 0 obj
+  << >>
+endobj
+
+2 0 obj
+  << /Length 3 0 R >>
+stream
+/DeviceRGB CS
+/DeviceRGB cs
+q
+-1.000000 -0.000000 -0.000000 1.000000 16.810547 4.098389 cm
+1.000000 1.000000 1.000000 scn
+0.530330 8.280304 m
+0.000000 7.749974 l
+0.530330 7.219644 l
+4.151638 3.598336 l
+5.212297 4.658997 l
+2.871320 6.999974 l
+9.560660 6.999974 l
+11.079443 6.999974 12.310660 5.768757 12.310660 4.249974 c
+12.310660 2.731191 11.079443 1.499973 9.560660 1.499973 c
+2.060660 1.499973 l
+2.060660 -0.000027 l
+9.560660 -0.000027 l
+11.907870 -0.000027 13.810660 1.902763 13.810660 4.249974 c
+13.810660 6.597184 11.907870 8.499973 9.560660 8.499973 c
+2.871320 8.499973 l
+5.212297 10.840951 l
+4.151638 11.901611 l
+0.530330 8.280304 l
+h
+f*
+n
+Q
+
+endstream
+endobj
+
+3 0 obj
+  650
+endobj
+
+4 0 obj
+  << /Annots []
+     /Type /Page
+     /MediaBox [ 0.000000 0.000000 20.000000 20.000000 ]
+     /Resources 1 0 R
+     /Contents 2 0 R
+     /Parent 5 0 R
+  >>
+endobj
+
+5 0 obj
+  << /Kids [ 4 0 R ]
+     /Count 1
+     /Type /Pages
+  >>
+endobj
+
+6 0 obj
+  << /Pages 5 0 R
+     /Type /Catalog
+  >>
+endobj
+
+xref
+0 7
+0000000000 65535 f
+0000000010 00000 n
+0000000034 00000 n
+0000000740 00000 n
+0000000762 00000 n
+0000000935 00000 n
+0000001009 00000 n
+trailer
+<< /ID [ (some) (id) ]
+   /Root 6 0 R
+   /Size 7
+>>
+startxref
+1068
+%%EOF

+ 62 - 0
compdfkit-tools/compdfkit-tools/Annotation/PDFProperties/PDFInk/Image.xcassets/CPDFInkImageUndo.imageset/Contents.json

@@ -1,15 +1,77 @@
 {
   "images" : [
     {
+      "filename" : "undo 1.pdf",
+      "idiom" : "universal",
+      "scale" : "1x"
+    },
+    {
+      "appearances" : [
+        {
+          "appearance" : "luminosity",
+          "value" : "light"
+        }
+      ],
       "filename" : "undo.pdf",
       "idiom" : "universal",
       "scale" : "1x"
     },
     {
+      "appearances" : [
+        {
+          "appearance" : "luminosity",
+          "value" : "dark"
+        }
+      ],
+      "filename" : "undo_w.pdf",
+      "idiom" : "universal",
+      "scale" : "1x"
+    },
+    {
+      "idiom" : "universal",
+      "scale" : "2x"
+    },
+    {
+      "appearances" : [
+        {
+          "appearance" : "luminosity",
+          "value" : "light"
+        }
+      ],
       "idiom" : "universal",
       "scale" : "2x"
     },
     {
+      "appearances" : [
+        {
+          "appearance" : "luminosity",
+          "value" : "dark"
+        }
+      ],
+      "idiom" : "universal",
+      "scale" : "2x"
+    },
+    {
+      "idiom" : "universal",
+      "scale" : "3x"
+    },
+    {
+      "appearances" : [
+        {
+          "appearance" : "luminosity",
+          "value" : "light"
+        }
+      ],
+      "idiom" : "universal",
+      "scale" : "3x"
+    },
+    {
+      "appearances" : [
+        {
+          "appearance" : "luminosity",
+          "value" : "dark"
+        }
+      ],
       "idiom" : "universal",
       "scale" : "3x"
     }

+ 84 - 0
compdfkit-tools/compdfkit-tools/Annotation/PDFProperties/PDFInk/Image.xcassets/CPDFInkImageUndo.imageset/undo 1.pdf

@@ -0,0 +1,84 @@
+%PDF-1.7
+
+1 0 obj
+  << >>
+endobj
+
+2 0 obj
+  << /Length 3 0 R >>
+stream
+/DeviceRGB CS
+/DeviceRGB cs
+q
+1.000000 0.000000 -0.000000 1.000000 3.000000 4.098389 cm
+0.262745 0.278431 0.301961 scn
+0.530330 8.280304 m
+0.000000 7.749974 l
+0.530330 7.219644 l
+4.151638 3.598336 l
+5.212297 4.658997 l
+2.871320 6.999974 l
+9.560660 6.999974 l
+11.079443 6.999974 12.310660 5.768757 12.310660 4.249974 c
+12.310660 2.731191 11.079443 1.499973 9.560660 1.499973 c
+2.060660 1.499973 l
+2.060660 -0.000027 l
+9.560660 -0.000027 l
+11.907870 -0.000027 13.810660 1.902763 13.810660 4.249974 c
+13.810660 6.597184 11.907870 8.499973 9.560660 8.499973 c
+2.871320 8.499973 l
+5.212297 10.840951 l
+4.151638 11.901611 l
+0.530330 8.280304 l
+h
+f*
+n
+Q
+
+endstream
+endobj
+
+3 0 obj
+  647
+endobj
+
+4 0 obj
+  << /Annots []
+     /Type /Page
+     /MediaBox [ 0.000000 0.000000 20.000000 20.000000 ]
+     /Resources 1 0 R
+     /Contents 2 0 R
+     /Parent 5 0 R
+  >>
+endobj
+
+5 0 obj
+  << /Kids [ 4 0 R ]
+     /Count 1
+     /Type /Pages
+  >>
+endobj
+
+6 0 obj
+  << /Pages 5 0 R
+     /Type /Catalog
+  >>
+endobj
+
+xref
+0 7
+0000000000 65535 f
+0000000010 00000 n
+0000000034 00000 n
+0000000737 00000 n
+0000000759 00000 n
+0000000932 00000 n
+0000001006 00000 n
+trailer
+<< /ID [ (some) (id) ]
+   /Root 6 0 R
+   /Size 7
+>>
+startxref
+1065
+%%EOF

+ 84 - 0
compdfkit-tools/compdfkit-tools/Annotation/PDFProperties/PDFInk/Image.xcassets/CPDFInkImageUndo.imageset/undo_w.pdf

@@ -0,0 +1,84 @@
+%PDF-1.7
+
+1 0 obj
+  << >>
+endobj
+
+2 0 obj
+  << /Length 3 0 R >>
+stream
+/DeviceRGB CS
+/DeviceRGB cs
+q
+1.000000 0.000000 -0.000000 1.000000 3.000000 4.098389 cm
+1.000000 1.000000 1.000000 scn
+0.530330 8.280304 m
+0.000000 7.749974 l
+0.530330 7.219644 l
+4.151638 3.598336 l
+5.212297 4.658997 l
+2.871320 6.999974 l
+9.560660 6.999974 l
+11.079443 6.999974 12.310660 5.768757 12.310660 4.249974 c
+12.310660 2.731191 11.079443 1.499973 9.560660 1.499973 c
+2.060660 1.499973 l
+2.060660 -0.000027 l
+9.560660 -0.000027 l
+11.907870 -0.000027 13.810660 1.902763 13.810660 4.249974 c
+13.810660 6.597184 11.907870 8.499973 9.560660 8.499973 c
+2.871320 8.499973 l
+5.212297 10.840951 l
+4.151638 11.901611 l
+0.530330 8.280304 l
+h
+f*
+n
+Q
+
+endstream
+endobj
+
+3 0 obj
+  647
+endobj
+
+4 0 obj
+  << /Annots []
+     /Type /Page
+     /MediaBox [ 0.000000 0.000000 20.000000 20.000000 ]
+     /Resources 1 0 R
+     /Contents 2 0 R
+     /Parent 5 0 R
+  >>
+endobj
+
+5 0 obj
+  << /Kids [ 4 0 R ]
+     /Count 1
+     /Type /Pages
+  >>
+endobj
+
+6 0 obj
+  << /Pages 5 0 R
+     /Type /Catalog
+  >>
+endobj
+
+xref
+0 7
+0000000000 65535 f
+0000000010 00000 n
+0000000034 00000 n
+0000000737 00000 n
+0000000759 00000 n
+0000000932 00000 n
+0000001006 00000 n
+trailer
+<< /ID [ (some) (id) ]
+   /Root 6 0 R
+   /Size 7
+>>
+startxref
+1065
+%%EOF

+ 4 - 4
compdfkit-tools/compdfkit-tools/Common/Utils/CPDFDropDownMenu.m

@@ -44,7 +44,7 @@
     
     self.pullDownButton = [UIButton buttonWithType:UIButtonTypeCustom];
     [self.pullDownButton addTarget:self action:@selector(showOrHide) forControlEvents:UIControlEventTouchUpInside];
-    [self.pullDownButton setImage:[UIImage imageNamed:@"CPDFEditDown" inBundle:[NSBundle bundleForClass:self.class] compatibleWithTraitCollection:nil] forState:UIControlStateNormal];
+    [self.pullDownButton setImage:[UIImage imageNamed:@"CPDFEditArrow" inBundle:[NSBundle bundleForClass:self.class] compatibleWithTraitCollection:nil] forState:UIControlStateNormal];
     [self addSubview:self.pullDownButton];
     
     self.showBorder = YES;
@@ -149,15 +149,15 @@
 - (UITableView *)optionList{
     if(!_optionList){
         CGRect frame = CGRectMake(self.frame.origin.x, self.frame.origin.y + self.frame.size.height, self.frame.size.width, 0);
-        CGRect newFrame = [self convertRect:frame toView:self.superview.superview];
-        _optionList = [[UITableView alloc]initWithFrame:newFrame style:UITableViewStylePlain];
+//        CGRect newFrame = [self convertRect:frame toView:self.superview];
+        _optionList = [[UITableView alloc]initWithFrame:frame style:UITableViewStylePlain];
         _optionList.backgroundColor = [UIColor colorWithRed:0.9 green:0.9 blue:0.9 alpha:1.0];
         _optionList.delegate = self;
         _optionList.dataSource = self;
         _optionList.layer.borderColor = [UIColor lightGrayColor].CGColor;
         _optionList.layer.borderWidth = 0.5;
         _optionList.allowsSelection = YES;
-        [self.superview.superview addSubview:_optionList];
+        [self addSubview:_optionList];
     }
     
     return _optionList;

+ 45 - 0
compdfkit-tools/compdfkit-tools/Common/Views/PDFActivityIndicatorView/PDFNavigationRightView/CNavigationRightView.h

@@ -0,0 +1,45 @@
+//
+//  CNavigationRightView.h
+//  compdfkit-tools
+//
+//  Copyright © 2014-2023 PDF Technologies, Inc. All Rights Reserved.
+//
+//  THIS SOURCE CODE AND ANY ACCOMPANYING DOCUMENTATION ARE PROTECTED BY INTERNATIONAL COPYRIGHT LAW
+//  AND MAY NOT BE RESOLD OR REDISTRIBUTED. USAGE IS BOUND TO THE ComPDFKit LICENSE AGREEMENT.
+//  UNAUTHORIZED REPRODUCTION OR DISTRIBUTION IS SUBJECT TO CIVIL AND CRIMINAL PENALTIES.
+//  This notice may not be removed from this file.
+//
+
+#import <UIKit/UIKit.h>
+
+typedef NS_ENUM(NSUInteger, CNavigationRightType) {
+    CNavigationRightTypeSearch = 0,
+    CNavigationRightTypeBota,
+    CNavigationRightTypeMore
+};
+
+NS_ASSUME_NONNULL_BEGIN
+
+#pragma mark - CNavigationRightAction
+
+@interface CNavigationRightAction : NSObject
+
++ (CNavigationRightAction *)actionWithImage:(UIImage *)image tag:(NSUInteger)tag;
+
+@property(nonatomic, readonly) UIImage *image;
+
+@property(nonatomic, readonly) NSUInteger tag;
+
+@end
+
+#pragma mark - CNavigationRightView
+
+@interface CNavigationRightView : UIView
+
+- (instancetype)initWithRightActions:(NSArray<CNavigationRightAction *> *)rightActions clickBack:(void (^)(NSUInteger tag))clickBack;
+
+- (instancetype)initWithDefaultItemsClickBack:(void (^)(NSUInteger tag))clickBack;
+
+@end
+
+NS_ASSUME_NONNULL_END

+ 145 - 0
compdfkit-tools/compdfkit-tools/Common/Views/PDFActivityIndicatorView/PDFNavigationRightView/CNavigationRightView.m

@@ -0,0 +1,145 @@
+//
+//  CNavigationRightView.m
+//  compdfkit-tools
+//
+//  Copyright © 2014-2023 PDF Technologies, Inc. All Rights Reserved.
+//
+//  THIS SOURCE CODE AND ANY ACCOMPANYING DOCUMENTATION ARE PROTECTED BY INTERNATIONAL COPYRIGHT LAW
+//  AND MAY NOT BE RESOLD OR REDISTRIBUTED. USAGE IS BOUND TO THE ComPDFKit LICENSE AGREEMENT.
+//  UNAUTHORIZED REPRODUCTION OR DISTRIBUTION IS SUBJECT TO CIVIL AND CRIMINAL PENALTIES.
+//  This notice may not be removed from this file.
+//
+
+#import "CNavigationRightView.h"
+
+#pragma mark - CNavigationRightAction
+
+@interface CNavigationRightAction ()
+
+@property(nonatomic, strong) UIImage *image;
+
+@property(nonatomic, assign) NSUInteger tag;
+
+@end
+
+@implementation CNavigationRightAction
+
++ (CNavigationRightAction *)actionWithImage:(UIImage *)image tag:(NSUInteger)tag {
+    CNavigationRightAction *action = [[CNavigationRightAction alloc] init];
+    action.image = image;
+    action.tag = tag;    
+    return action;
+}
+
+@end
+
+#pragma mark - CNavigationRightView
+
+@interface CNavigationRightView ()
+
+typedef void (^Clickback) (NSUInteger tag);
+
+@property(nonatomic,copy)Clickback clickBack;
+
+@property(nonatomic,strong)NSArray <CNavigationRightAction *> *dataArray;
+
+@end
+
+@implementation CNavigationRightView
+
+#pragma mark - Initializers
+
+- (instancetype)initWithRightActions:(NSArray<CNavigationRightAction *> *)rightActions clickBack:(void (^)(NSUInteger tag))clickBack {
+    if(self = [super init]) {
+        self.dataArray = rightActions;
+        
+        [self configurationUI];
+        self.clickBack = clickBack;
+    }
+    return self;
+}
+
+- (instancetype)initWithDefaultItemsClickBack:(void (^)(NSUInteger tag))clickBack {
+    if(self = [super init]) {
+        NSArray *nums = [self defaultItems];
+        NSMutableArray *actions = [NSMutableArray array];
+        for (NSNumber *num in nums) {
+            NSString *imageName = nil;
+            switch (num.integerValue) {
+                case CNavigationRightTypeSearch:
+                    imageName = @"CNavigationImageNameSearch";
+                    break;
+                case CNavigationRightTypeBota:
+                    imageName = @"CNavigationImageNameBota";
+                    break;
+                default:
+                case CNavigationRightTypeMore:
+                    imageName = @"CNavigationImageNameMore";
+                    break;
+            }
+            UIImage *image = [UIImage imageNamed:imageName
+                                        inBundle:[NSBundle bundleForClass:self.class]
+                   compatibleWithTraitCollection:nil];
+            CNavigationRightAction *action = [CNavigationRightAction actionWithImage:image tag:num.integerValue];
+            [actions addObject:action];
+        }
+        self.dataArray = actions;
+        
+        [self configurationUI];
+        
+        self.clickBack = clickBack;
+
+    }
+    return self;
+}
+
+- (NSArray *)defaultItems {
+    return @[@(CNavigationRightTypeSearch),@(CNavigationRightTypeBota),@(CNavigationRightTypeMore)];
+}
+
+#pragma mark - Private method
+
+- (void)configurationUI {
+    
+    CGFloat offset = 10;
+    if (UIUserInterfaceIdiomPad == UI_USER_INTERFACE_IDIOM()) {
+        offset = 20;
+    }
+    CGFloat height = 0;
+    CGFloat width = offset;
+
+    for (NSUInteger i = 0; i< self.dataArray.count; i++) {
+        CNavigationRightAction *rightAction = self.dataArray[i];
+        UIImage *image = rightAction.image;
+        height = MAX(height, image.size.height);
+        
+        if(i == 0) {
+            width = 0;
+        }
+        
+        UIButton *button = [[UIButton alloc]initWithFrame:CGRectMake(width, 0, image.size.width, image.size.height)];
+        [button setImage:image forState:UIControlStateNormal];
+        button.tag = rightAction.tag;
+        [button addTarget:self action:@selector(buttonClickItem:) forControlEvents:UIControlEventTouchUpInside];
+        [self addSubview:button];
+        if(i == self.dataArray.count - 1){
+            width += offset;
+        }else{
+            width += (button.frame.size.width + offset);
+        }
+
+    }
+    
+    self.bounds = CGRectMake(0, 0, width + offset, height);
+}
+
+#pragma mark - Action
+- (IBAction)buttonClickItem:(UIButton *)sender {
+    NSUInteger tag = sender.tag;
+    
+    if (self.clickBack) {
+        self.clickBack(tag);
+    }
+}
+
+@end

compdfkit-tools/compdfkit-tools/Common/Views/PDFNavigationRightView/NavigationRightImage.xcassets/CNavigationImageNameBackArrow.imageset/Contents.json → compdfkit-tools/compdfkit-tools/Common/Views/PDFActivityIndicatorView/PDFNavigationRightView/NavigationRightImage.xcassets/CNavigationImageNameBackArrow.imageset/Contents.json


compdfkit-tools/compdfkit-tools/Common/Views/PDFNavigationRightView/NavigationRightImage.xcassets/CNavigationImageNameBackArrow.imageset/syasarrow.pdf → compdfkit-tools/compdfkit-tools/Common/Views/PDFActivityIndicatorView/PDFNavigationRightView/NavigationRightImage.xcassets/CNavigationImageNameBackArrow.imageset/syasarrow.pdf


compdfkit-tools/compdfkit-tools/Common/Views/PDFNavigationRightView/NavigationRightImage.xcassets/CNavigationImageNameBota.imageset/Contents.json → compdfkit-tools/compdfkit-tools/Common/Views/PDFActivityIndicatorView/PDFNavigationRightView/NavigationRightImage.xcassets/CNavigationImageNameBota.imageset/Contents.json


compdfkit-tools/compdfkit-tools/Common/Views/PDFNavigationRightView/NavigationRightImage.xcassets/CNavigationImageNameBota.imageset/book@2x.png → compdfkit-tools/compdfkit-tools/Common/Views/PDFActivityIndicatorView/PDFNavigationRightView/NavigationRightImage.xcassets/CNavigationImageNameBota.imageset/book@2x.png


compdfkit-tools/compdfkit-tools/Common/Views/PDFNavigationRightView/NavigationRightImage.xcassets/CNavigationImageNameBota.imageset/book@3x.png → compdfkit-tools/compdfkit-tools/Common/Views/PDFActivityIndicatorView/PDFNavigationRightView/NavigationRightImage.xcassets/CNavigationImageNameBota.imageset/book@3x.png


compdfkit-tools/compdfkit-tools/Common/Views/PDFNavigationRightView/NavigationRightImage.xcassets/CNavigationImageNameEditTool.imageset/Contents.json → compdfkit-tools/compdfkit-tools/Common/Views/PDFActivityIndicatorView/PDFNavigationRightView/NavigationRightImage.xcassets/CNavigationImageNameEditTool.imageset/Contents.json


compdfkit-tools/compdfkit-tools/Common/Views/PDFNavigationRightView/NavigationRightImage.xcassets/CNavigationImageNameEditTool.imageset/edittool.pdf → compdfkit-tools/compdfkit-tools/Common/Views/PDFActivityIndicatorView/PDFNavigationRightView/NavigationRightImage.xcassets/CNavigationImageNameEditTool.imageset/edittool.pdf


compdfkit-tools/compdfkit-tools/Common/Views/PDFNavigationRightView/NavigationRightImage.xcassets/CNavigationImageNameInformation.imageset/Contents.json → compdfkit-tools/compdfkit-tools/Common/Views/PDFActivityIndicatorView/PDFNavigationRightView/NavigationRightImage.xcassets/CNavigationImageNameInformation.imageset/Contents.json


compdfkit-tools/compdfkit-tools/Common/Views/PDFNavigationRightView/NavigationRightImage.xcassets/CNavigationImageNameInformation.imageset/imformation.pdf → compdfkit-tools/compdfkit-tools/Common/Views/PDFActivityIndicatorView/PDFNavigationRightView/NavigationRightImage.xcassets/CNavigationImageNameInformation.imageset/imformation.pdf


compdfkit-tools/compdfkit-tools/Common/Views/PDFNavigationRightView/NavigationRightImage.xcassets/CNavigationImageNameMore.imageset/Contents.json → compdfkit-tools/compdfkit-tools/Common/Views/PDFActivityIndicatorView/PDFNavigationRightView/NavigationRightImage.xcassets/CNavigationImageNameMore.imageset/Contents.json


compdfkit-tools/compdfkit-tools/Common/Views/PDFNavigationRightView/NavigationRightImage.xcassets/CNavigationImageNameMore.imageset/More@2x.png → compdfkit-tools/compdfkit-tools/Common/Views/PDFActivityIndicatorView/PDFNavigationRightView/NavigationRightImage.xcassets/CNavigationImageNameMore.imageset/More@2x.png


compdfkit-tools/compdfkit-tools/Common/Views/PDFNavigationRightView/NavigationRightImage.xcassets/CNavigationImageNameMore.imageset/More@3x.png → compdfkit-tools/compdfkit-tools/Common/Views/PDFActivityIndicatorView/PDFNavigationRightView/NavigationRightImage.xcassets/CNavigationImageNameMore.imageset/More@3x.png


compdfkit-tools/compdfkit-tools/Common/Views/PDFNavigationRightView/NavigationRightImage.xcassets/CNavigationImageNameNewFile.imageset/Contents.json → compdfkit-tools/compdfkit-tools/Common/Views/PDFActivityIndicatorView/PDFNavigationRightView/NavigationRightImage.xcassets/CNavigationImageNameNewFile.imageset/Contents.json


compdfkit-tools/compdfkit-tools/Common/Views/PDFNavigationRightView/NavigationRightImage.xcassets/CNavigationImageNameNewFile.imageset/newfile.pdf → compdfkit-tools/compdfkit-tools/Common/Views/PDFActivityIndicatorView/PDFNavigationRightView/NavigationRightImage.xcassets/CNavigationImageNameNewFile.imageset/newfile.pdf


compdfkit-tools/compdfkit-tools/Common/Views/PDFNavigationRightView/NavigationRightImage.xcassets/CNavigationImageNamePreview.imageset/Contents.json → compdfkit-tools/compdfkit-tools/Common/Views/PDFActivityIndicatorView/PDFNavigationRightView/NavigationRightImage.xcassets/CNavigationImageNamePreview.imageset/Contents.json


compdfkit-tools/compdfkit-tools/Common/Views/PDFNavigationRightView/NavigationRightImage.xcassets/CNavigationImageNamePreview.imageset/pageset.pdf → compdfkit-tools/compdfkit-tools/Common/Views/PDFActivityIndicatorView/PDFNavigationRightView/NavigationRightImage.xcassets/CNavigationImageNamePreview.imageset/pageset.pdf


compdfkit-tools/compdfkit-tools/Common/Views/PDFNavigationRightView/NavigationRightImage.xcassets/CNavigationImageNameSearch.imageset/Contents.json → compdfkit-tools/compdfkit-tools/Common/Views/PDFActivityIndicatorView/PDFNavigationRightView/NavigationRightImage.xcassets/CNavigationImageNameSearch.imageset/Contents.json


compdfkit-tools/compdfkit-tools/Common/Views/PDFNavigationRightView/NavigationRightImage.xcassets/CNavigationImageNameSearch.imageset/search@2x.png → compdfkit-tools/compdfkit-tools/Common/Views/PDFActivityIndicatorView/PDFNavigationRightView/NavigationRightImage.xcassets/CNavigationImageNameSearch.imageset/search@2x.png


compdfkit-tools/compdfkit-tools/Common/Views/PDFNavigationRightView/NavigationRightImage.xcassets/CNavigationImageNameSearch.imageset/search@3x.png → compdfkit-tools/compdfkit-tools/Common/Views/PDFActivityIndicatorView/PDFNavigationRightView/NavigationRightImage.xcassets/CNavigationImageNameSearch.imageset/search@3x.png


compdfkit-tools/compdfkit-tools/Common/Views/PDFNavigationRightView/NavigationRightImage.xcassets/CNavigationImageNameShare.imageset/Contents.json → compdfkit-tools/compdfkit-tools/Common/Views/PDFActivityIndicatorView/PDFNavigationRightView/NavigationRightImage.xcassets/CNavigationImageNameShare.imageset/Contents.json


compdfkit-tools/compdfkit-tools/Common/Views/PDFNavigationRightView/NavigationRightImage.xcassets/CNavigationImageNameShare.imageset/share.pdf → compdfkit-tools/compdfkit-tools/Common/Views/PDFActivityIndicatorView/PDFNavigationRightView/NavigationRightImage.xcassets/CNavigationImageNameShare.imageset/share.pdf


compdfkit-tools/compdfkit-tools/Common/Views/PDFNavigationRightView/NavigationRightImage.xcassets/CNavigationImageNameViewer.imageset/Contents.json → compdfkit-tools/compdfkit-tools/Common/Views/PDFActivityIndicatorView/PDFNavigationRightView/NavigationRightImage.xcassets/CNavigationImageNameViewer.imageset/Contents.json


compdfkit-tools/compdfkit-tools/Common/Views/PDFNavigationRightView/NavigationRightImage.xcassets/CNavigationImageNameViewer.imageset/pageset.pdf → compdfkit-tools/compdfkit-tools/Common/Views/PDFActivityIndicatorView/PDFNavigationRightView/NavigationRightImage.xcassets/CNavigationImageNameViewer.imageset/pageset.pdf


compdfkit-tools/compdfkit-tools/Common/Views/PDFNavigationRightView/NavigationRightImage.xcassets/Contents.json → compdfkit-tools/compdfkit-tools/Common/Views/PDFActivityIndicatorView/PDFNavigationRightView/NavigationRightImage.xcassets/Contents.json


+ 5 - 1
compdfkit-tools/compdfkit-tools/Edit/CPDFEditCell/CPDFEditFontNameSelectView.m

@@ -60,11 +60,13 @@
     }
 }
 
+
 #pragma mark - Private Methods
 
 #pragma mark - Action
 
 - (void)buttonItemClicked_back:(id)sender {
+
     [self removeFromSuperview];
     if (self.delegate && [self.delegate respondsToSelector:@selector(pickerView:fontName:)]) {
         [self.delegate pickerView:self fontName:self.selectedFontName];
@@ -84,7 +86,8 @@
         cell = [[UITableViewCell alloc] initWithStyle:UITableViewCellStyleDefault reuseIdentifier:cellIdentity];
     }
     cell.textLabel.text = self.fontNameArr[indexPath.row];
-    cell.accessoryType  = UITableViewCellAccessoryNone;
+//    cell.accessoryType  = UITableViewCellAccessoryNone;
+    
     return cell;
 }
 
@@ -95,6 +98,7 @@
     UITableViewCell *cell = [tableView cellForRowAtIndexPath:indexPath];
     cell.accessoryType = UITableViewCellAccessoryCheckmark;
     self.selectedFontName = self.fontNameArr[indexPath.row];
+    self.fontName = self.selectedFontName;
     
     if(self.delegate && [self.delegate respondsToSelector:@selector(pickerView:fontName:)]){
         [self.delegate pickerView:self fontName:self.selectedFontName];

+ 249 - 17
compdfkit-tools/compdfkit-tools/Edit/CPDFEditCell/CPDFImagePropertyCell.m

@@ -9,37 +9,269 @@
 
 #import "CPDFImagePropertyCell.h"
 #import "CPDFDropDownMenu.h"
+#import "CPDFOpacitySliderView.h"
 
 @interface CPDFImagePropertyCell()<CPDFDropDownMenuDelegate>
 
-@property (weak, nonatomic) IBOutlet UIView *opacityView;
 @property (nonatomic, strong) CPDFDropDownMenu * menu;
 @property (weak, nonatomic) IBOutlet UISlider *transparencySlider;
 
-@end
+@property (nonatomic, strong) UILabel *rotateLabel;
+@property (nonatomic, strong) UILabel *transformLabel;
+@property (nonatomic, strong) UILabel *opacityLabel;
+@property (nonatomic, strong) UILabel *toolsLabel;
 
-@implementation CPDFImagePropertyCell
+@property (nonatomic, strong) UIView * leftRotateView;
+@property (nonatomic, strong) UILabel * leftRotateLabel;
+@property (nonatomic, strong) UIImageView * leftImageView;
+@property (nonatomic, strong) UIButton * leftRotateBtn;
 
+@property (nonatomic, strong) UIView * rightRotateView;
+@property (nonatomic, strong) UILabel * rightRorateLabel;
+@property (nonatomic, strong) UIImageView * rightImageView;
+@property (nonatomic, strong) UIButton * rightRotateBtn;
 
-+(instancetype)CPDFImagePropertyCell {
-    NSBundle *bundle = [NSBundle bundleForClass:[self class]];
-    return [[bundle loadNibNamed:@"CPDFImagePropertyCell" owner:nil options:nil] lastObject];
-}
+@property (nonatomic, strong) UIView * transformView;
+
+@property (nonatomic, strong) UIButton * hBtn;
+@property (nonatomic, strong) UIButton * vBtn;
+
+@property (nonatomic, strong) CPDFOpacitySliderView * opacityView;
 
+@property (nonatomic, strong) UIView * replaceView;
+@property (nonatomic, strong) UILabel * replaceLabel;
+@property (nonatomic, strong) UIImageView * replaceImageView;
+@property (nonatomic, strong) UIButton * replaceBtn;
+
+@property (nonatomic, strong) UIView * exportView;
+@property (nonatomic, strong) UILabel * exportLabel;
+@property (nonatomic, strong) UIImageView * exportImageView;
+@property (nonatomic, strong) UIButton * exportBtn;
+
+@property (nonatomic, strong) UIView * cropView;
+@property (nonatomic, strong) UILabel * cropLabel;
+@property (nonatomic, strong) UIImageView * cropImageView;
+@property (nonatomic, strong) UIButton * cropBtn;
+
+
+@end
 
+@implementation CPDFImagePropertyCell
+
+- (instancetype)initWithStyle:(UITableViewCellStyle)style reuseIdentifier:(NSString *)reuseIdentifier {
+    if (self = [super initWithStyle:style reuseIdentifier:reuseIdentifier]) {
+        
+        self.rotateLabel = [[UILabel alloc] init];
+        self.rotateLabel.font = [UIFont systemFontOfSize:13];
+        self.rotateLabel.text =  NSLocalizedString(@"Rotate", nil);
+        self.rotateLabel.textColor = [UIColor colorWithRed:153./255 green:153./255 blue:153./255 alpha:1.];
+        [self.contentView addSubview:self.rotateLabel];
+        
+        self.leftRotateView = [[UIView alloc] init];
+        self.leftRotateView.layer.borderWidth = 1;
+        self.leftRotateView.layer.borderColor = [UIColor colorWithRed:0 green:0 blue:0 alpha:0.1].CGColor;
+        [self.contentView addSubview:self.leftRotateView];
+        
+        self.leftImageView = [[UIImageView alloc] init];
+        self.leftImageView.image = [UIImage imageNamed:@"CPDFEditIRotate" inBundle:[NSBundle bundleForClass:self.class] compatibleWithTraitCollection:nil];
+        [self.leftRotateView addSubview:self.leftImageView];
+        
+        self.leftRotateLabel = [[UILabel alloc] init];
+        self.leftRotateLabel.text = NSLocalizedString(@"Left", nil);
+        self.leftRotateLabel.font = [UIFont systemFontOfSize:14];
+        self.leftRotateLabel.textColor = [UIColor colorWithRed:67/255. green:71/255. blue:77/255. alpha:1.];
+        [self.leftRotateView addSubview:self.leftRotateLabel];
+        
+        self.leftRotateBtn = [UIButton buttonWithType:UIButtonTypeCustom];
+        [self.leftRotateBtn addTarget:self action:@selector(leftRotateAction:) forControlEvents:UIControlEventTouchUpInside];
+        [self.leftRotateView addSubview:self.leftRotateBtn];
+        
+        
+        self.rightRotateView = [[UIView alloc] init];
+        self.rightRotateView.layer.borderWidth = 1;
+        self.rightRotateView.layer.borderColor = [UIColor colorWithRed:0 green:0 blue:0 alpha:0.1].CGColor;
+        [self.contentView addSubview:self.rightRotateView];
+        
+        self.rightImageView = [[UIImageView alloc] init];
+        self.rightImageView.image =  [UIImage imageNamed:@"CPDFEditRRotate" inBundle:[NSBundle bundleForClass:self.class] compatibleWithTraitCollection:nil];
+        [self.rightRotateView addSubview:self.rightImageView];
+        
+        self.rightRorateLabel = [[UILabel alloc] init];
+        self.rightRorateLabel.text = NSLocalizedString(@"Right", nil);
+        self.rightRorateLabel.font = [UIFont systemFontOfSize:14];
+        self.rightRorateLabel.textColor = [UIColor colorWithRed:67/255. green:71/255. blue:77/255. alpha:1.];
+        [self.rightRotateView addSubview:self.rightRorateLabel];
+        
+        self.rightRotateBtn = [UIButton buttonWithType:UIButtonTypeCustom];
+        [self.rightRotateBtn addTarget:self action:@selector(rightRotateAction:) forControlEvents:UIControlEventTouchUpInside];
+        [self.rightRotateView addSubview:self.rightRotateBtn];
+        
+        
+        self.transformLabel = [[UILabel alloc] init];
+        self.transformLabel.font = [UIFont systemFontOfSize:13];
+        self.transformLabel.text =  NSLocalizedString(@"Transform", nil);
+        self.transformLabel.textColor = [UIColor colorWithRed:153./255 green:153./255 blue:153./255 alpha:1.];
+        [self.contentView addSubview:self.transformLabel];
+        
+        self.transformView = [[UIView alloc] init];
+        self.transformView.layer.borderWidth = 1;
+        self.transformView.layer.borderColor = [UIColor colorWithRed:0 green:0 blue:0 alpha:0.2].CGColor;
+        [self.contentView addSubview:self.transformView];
+        
+        self.vBtn = [UIButton buttonWithType:UIButtonTypeCustom];
+        [self.vBtn setImage:[UIImage imageNamed:@"CPDFEditVerticalFlip" inBundle:[NSBundle bundleForClass:self.class] compatibleWithTraitCollection:nil] forState:UIControlStateNormal];
+        [self.vBtn addTarget:self action:@selector(verticalAction:) forControlEvents:UIControlEventTouchUpInside];
+        
+        self.hBtn = [UIButton buttonWithType:UIButtonTypeCustom];
+        [self.hBtn setImage:[UIImage imageNamed:@"CPDFEditHorizontalFlip" inBundle:[NSBundle bundleForClass:self.class] compatibleWithTraitCollection:nil] forState:UIControlStateNormal];
+        [self.hBtn addTarget:self action:@selector(horizontalAction:) forControlEvents:UIControlEventTouchUpInside];
+        
+        [self.transformView addSubview:self.hBtn];
+        [self.transformView addSubview:self.vBtn];
+        
+        self.opacityLabel = [[UILabel alloc] init];
+        self.opacityLabel.font = [UIFont systemFontOfSize:13];
+        self.opacityLabel.text =  NSLocalizedString(@"Opacity", nil);
+        self.opacityLabel.textColor = [UIColor colorWithRed:153./255 green:153./255 blue:153./255 alpha:1.];
+        [self.contentView addSubview:self.opacityLabel];
+        
+        self.opacityView = [[CPDFOpacitySliderView alloc] init];
+        self.opacityView.autoresizingMask = UIViewAutoresizingFlexibleWidth;
+        self.opacityView.titleLabel.text = NSLocalizedString(@"", nil);
+        self.opacityView.startLabel.text = @"0";
+        self.opacityView.opacitySlider.value = 0.14;
+        self.opacityView.delegate = self;
+        [self.contentView addSubview:self.opacityView];
+        
+        self.toolsLabel = [[UILabel alloc] init];
+        self.toolsLabel.font = [UIFont systemFontOfSize:13];
+        self.toolsLabel.text =  NSLocalizedString(@"Tools", nil);
+        self.toolsLabel.textColor = [UIColor colorWithRed:153./255 green:153./255 blue:153./255 alpha:1.];
+        [self.contentView addSubview:self.toolsLabel];
+        
+        self.replaceView = [[UIView alloc] init];
+        self.replaceView.layer.borderWidth = 1;
+        self.replaceView.layer.borderColor = [UIColor colorWithRed:0 green:0 blue:0 alpha:0.1].CGColor;
+        [self.contentView addSubview:self.replaceView];
+        
+        
+        self.replaceImageView = [[UIImageView alloc] init];
+        self.replaceImageView.image = [UIImage imageNamed:@"CPDFEditReplace" inBundle:[NSBundle bundleForClass:self.class] compatibleWithTraitCollection:nil];
+        [self.replaceView addSubview:self.replaceImageView];
+        
+        self.replaceLabel = [[UILabel alloc] init];
+        self.replaceLabel.text = NSLocalizedString(@"Replace", nil);
+        self.replaceLabel.font = [UIFont systemFontOfSize:14];
+        self.replaceLabel.textColor = [UIColor colorWithRed:67/255. green:71/255. blue:77/255. alpha:1.];
+        [self.replaceView addSubview:self.replaceLabel];
+        
+        self.replaceBtn = [UIButton buttonWithType:UIButtonTypeCustom];
+        [self.replaceBtn addTarget:self action:@selector(replaceImageAction:) forControlEvents:UIControlEventTouchUpInside];
+        [self.replaceView addSubview:self.replaceBtn];
+        
+        
+        self.exportView = [[UIView alloc] init];
+        self.exportView.layer.borderWidth = 1;
+        self.exportView.layer.borderColor = [UIColor colorWithRed:0 green:0 blue:0 alpha:0.1].CGColor;
+        [self.contentView addSubview:self.exportView];
+        
+        
+        self.exportImageView = [[UIImageView alloc] init];
+        self.exportImageView.image = [UIImage imageNamed:@"CPDFEditExport" inBundle:[NSBundle bundleForClass:self.class] compatibleWithTraitCollection:nil];
+        [self.exportView addSubview:self.exportImageView];
+        
+        self.exportLabel = [[UILabel alloc] init];
+        self.exportLabel.text = NSLocalizedString(@"Export", nil);
+        self.exportLabel.font = [UIFont systemFontOfSize:14];
+        self.exportLabel.textColor = [UIColor colorWithRed:67/255. green:71/255. blue:77/255. alpha:1.];
+        [self.exportView addSubview:self.exportLabel];
+        
+        self.exportBtn = [UIButton buttonWithType:UIButtonTypeCustom];
+        [self.exportBtn addTarget:self action:@selector(exportImageAction:) forControlEvents:UIControlEventTouchUpInside];
+        [self.exportView addSubview:self.exportBtn];
+        
+        
+        self.cropView = [[UIView alloc] init];
+        self.cropView.layer.borderWidth = 1;
+        self.cropView.layer.borderColor = [UIColor colorWithRed:0 green:0 blue:0 alpha:0.1].CGColor;
+        [self.contentView addSubview:self.cropView];
+        
+        
+        self.cropImageView = [[UIImageView alloc] init];
+        self.cropImageView.image = [UIImage imageNamed:@"CPDFEditCrop" inBundle:[NSBundle bundleForClass:self.class] compatibleWithTraitCollection:nil];
+        [self.cropView addSubview:self.cropImageView];
+        
+        self.cropLabel = [[UILabel alloc] init];
+        self.cropLabel.text = NSLocalizedString(@"Crop", nil);
+        self.cropLabel.font = [UIFont systemFontOfSize:14];
+        self.cropLabel.textColor = [UIColor colorWithRed:67/255. green:71/255. blue:77/255. alpha:1.];
+        [self.cropView addSubview:self.cropLabel];
+        
+        self.cropBtn = [UIButton buttonWithType:UIButtonTypeCustom];
+        [self.cropBtn addTarget:self action:@selector(cropImageAction:) forControlEvents:UIControlEventTouchUpInside];
+        [self.cropView addSubview:self.cropBtn];
+        
+        
+        
+    }
+    return self;
+}
 
-- (void)awakeFromNib {
-    [super awakeFromNib];
-    // Initialization code
-    self.menu = [[CPDFDropDownMenu alloc] initWithFrame:self.opacityView.bounds];
-    [self.opacityView addSubview:self.menu];
-    self.menu.delegate = self;
+- (void)layoutSubviews {
+    [super layoutSubviews];
+    
+    self.rotateLabel.frame = CGRectMake(16, 0, self.bounds.size.width, 20);
+    
+    self.leftRotateView.frame = CGRectMake(16, CGRectGetMaxY(self.rotateLabel.frame) + 12, (self.bounds.size.width - 16*2 - 8)/2, 32);
+    
+    self.leftImageView.frame = CGRectMake(self.leftRotateView.bounds.size.width/2-20, 10, 15, 15);
+    self.leftRotateLabel.frame = CGRectMake(self.leftRotateView.bounds.size.width/2 + 5, 8, self.leftRotateView.bounds.size.width/2, 20);
+    self.leftRotateBtn.frame = self.leftRotateView.bounds;
+    
     
-    self.menu.options = [[NSMutableArray alloc]initWithObjects:@"1.0",@"0.75",@"0.5",@"0.25",nil];
-    self.menu.menuHeight = 200;
+    self.rightRotateView.frame = CGRectMake(CGRectGetMaxX(self.leftRotateView.frame) + 4, CGRectGetMaxY(self.rotateLabel.frame) + 12, (self.bounds.size.width - 16*2 -8)/2, 32);
     
-    self.transparencySlider.value = 1.;
-    self.menu.defaultValue = @"1.0";
+    self.rightImageView.frame = CGRectMake(self.rightRotateView.bounds.size.width/2-20, 10, 15, 15);
+    self.rightRorateLabel.frame = CGRectMake(self.rightRotateView.bounds.size.width/2 + 5, 8, self.rightRotateView.bounds.size.width/2, 20);
+    self.rightRotateBtn.frame = self.rightRotateView.bounds;
+    
+    self.transformLabel.frame = CGRectMake(16, CGRectGetMaxY(self.leftRotateView.frame) + 16, self.bounds.size.width, 20);
+    
+    self.transformView.frame = CGRectMake(16, CGRectGetMaxY(self.transformLabel.frame) + 16, 100, 32);
+    self.hBtn.frame =  CGRectMake(0, 0, 50, 32);
+    self.vBtn.frame = CGRectMake(50, 0, 50, 32);
+    
+    
+    self.opacityLabel.frame = CGRectMake(16, CGRectGetMaxY(self.transformView.frame) + 16, self.bounds.size.width, 20);
+    
+    self.opacityView.frame = CGRectMake(16, CGRectGetMaxY(self.opacityLabel.frame)+ 10, self.frame.size.width-20, 60);
+    
+    self.toolsLabel.frame = CGRectMake(16, CGRectGetMaxY(self.opacityView.frame) + 16, self.bounds.size.width, 20);
+    
+    
+    self.replaceView.frame = CGRectMake(16, CGRectGetMaxY(self.toolsLabel.frame) + 16,(self.bounds.size.width - 16 * 2 - 8*2)/3, 32);
+    
+    self.replaceImageView.frame = CGRectMake(self.replaceView.bounds.size.width/2-20, 10, 15, 15);
+    self.replaceLabel.frame = CGRectMake(self.replaceView.bounds.size.width/2 + 5, 8, self.leftRotateView.bounds.size.width/2, 20);
+    self.replaceBtn.frame = self.replaceView.bounds;
+    
+    
+    
+    self.exportView.frame = CGRectMake(CGRectGetMaxX(self.replaceView.frame) + 8, CGRectGetMaxY(self.toolsLabel.frame) + 16,(self.bounds.size.width - 16 * 2 - 8*2)/3, 32);
+    
+    self.exportImageView.frame = CGRectMake(self.exportView.bounds.size.width/2-20, 10, 15, 15);
+    self.exportLabel.frame = CGRectMake(self.exportView.bounds.size.width/2 + 5, 8, self.exportView.bounds.size.width/2, 20);
+    self.exportBtn.frame = self.exportView.bounds;
+    
+    self.cropView.frame = CGRectMake(CGRectGetMaxX(self.exportView.frame) + 8, CGRectGetMaxY(self.toolsLabel.frame) + 16,(self.bounds.size.width - 16 * 2 - 8*2)/3, 32);
+    
+    self.cropImageView.frame = CGRectMake(self.cropView.bounds.size.width/2-20, 10, 15, 15);
+    self.cropLabel.frame = CGRectMake(self.cropView.bounds.size.width/2 + 5, 8, self.cropView.bounds.size.width/2, 20);
+    self.cropBtn.frame = self.cropView.bounds;
+    
+    
+    
+
 }
 
 

+ 0 - 237
compdfkit-tools/compdfkit-tools/Edit/CPDFEditCell/CPDFImagePropertyCell.xib

@@ -1,237 +0,0 @@
-<?xml version="1.0" encoding="UTF-8"?>
-<document type="com.apple.InterfaceBuilder3.CocoaTouch.XIB" version="3.0" toolsVersion="21507" targetRuntime="iOS.CocoaTouch" propertyAccessControl="none" useAutolayout="YES" useTraitCollections="YES" useSafeAreas="YES" colorMatched="YES">
-    <device id="retina6_12" orientation="portrait" appearance="light"/>
-    <dependencies>
-        <deployment identifier="iOS"/>
-        <plugIn identifier="com.apple.InterfaceBuilder.IBCocoaTouchPlugin" version="21505"/>
-        <capability name="Safe area layout guides" minToolsVersion="9.0"/>
-        <capability name="System colors in document resources" minToolsVersion="11.0"/>
-        <capability name="documents saved in the Xcode 8 format" minToolsVersion="8.0"/>
-    </dependencies>
-    <objects>
-        <placeholder placeholderIdentifier="IBFilesOwner" id="-1" userLabel="File's Owner"/>
-        <placeholder placeholderIdentifier="IBFirstResponder" id="-2" customClass="UIResponder"/>
-        <tableViewCell contentMode="scaleToFill" selectionStyle="default" indentationWidth="10" rowHeight="421" id="KGk-i7-Jjw" customClass="CPDFImagePropertyCell">
-            <rect key="frame" x="0.0" y="0.0" width="353" height="420"/>
-            <autoresizingMask key="autoresizingMask" flexibleMaxX="YES" flexibleMaxY="YES"/>
-            <tableViewCellContentView key="contentView" opaque="NO" clipsSubviews="YES" multipleTouchEnabled="YES" contentMode="center" tableViewCell="KGk-i7-Jjw" id="H2p-sc-9uM">
-                <rect key="frame" x="0.0" y="0.0" width="353" height="420"/>
-                <autoresizingMask key="autoresizingMask"/>
-                <subviews>
-                    <label opaque="NO" userInteractionEnabled="NO" contentMode="left" horizontalHuggingPriority="251" verticalHuggingPriority="251" text="Rotate:" textAlignment="natural" lineBreakMode="tailTruncation" baselineAdjustment="alignBaselines" adjustsFontSizeToFit="NO" translatesAutoresizingMaskIntoConstraints="NO" id="aRx-DE-HGO">
-                        <rect key="frame" x="40" y="0.0" width="55" height="21"/>
-                        <fontDescription key="fontDescription" type="system" pointSize="17"/>
-                        <nil key="textColor"/>
-                        <nil key="highlightedColor"/>
-                    </label>
-                    <button opaque="NO" contentMode="scaleToFill" contentHorizontalAlignment="center" contentVerticalAlignment="center" lineBreakMode="middleTruncation" translatesAutoresizingMaskIntoConstraints="NO" id="n2j-U4-BXE">
-                        <rect key="frame" x="40" y="31" width="40" height="40"/>
-                        <constraints>
-                            <constraint firstAttribute="height" constant="40" id="Mnm-ZZ-oBk"/>
-                            <constraint firstAttribute="width" constant="40" id="hxa-ce-aNy"/>
-                        </constraints>
-                        <inset key="imageEdgeInsets" minX="0.0" minY="0.0" maxX="2.2250738585072014e-308" maxY="0.0"/>
-                        <state key="normal" title="Button" image="CPDFEditIRotate"/>
-                        <state key="selected" image="CPDFEditIRotateH"/>
-                        <connections>
-                            <action selector="leftRotateAction:" destination="KGk-i7-Jjw" eventType="touchUpInside" id="0y1-cU-XVF"/>
-                        </connections>
-                    </button>
-                    <button opaque="NO" contentMode="scaleToFill" contentHorizontalAlignment="center" contentVerticalAlignment="center" lineBreakMode="middleTruncation" translatesAutoresizingMaskIntoConstraints="NO" id="QIY-I8-jze">
-                        <rect key="frame" x="273" y="31" width="40" height="40"/>
-                        <constraints>
-                            <constraint firstAttribute="height" constant="40" id="ZRS-ZG-Hc3"/>
-                            <constraint firstAttribute="width" constant="40" id="ly0-4q-cUx"/>
-                        </constraints>
-                        <inset key="imageEdgeInsets" minX="0.0" minY="0.0" maxX="2.2250738585072014e-308" maxY="0.0"/>
-                        <state key="normal" title="Button" image="CPDFEditRRotate"/>
-                        <state key="selected" image="CPDFEditRRotateH"/>
-                        <connections>
-                            <action selector="rightRotateAction:" destination="KGk-i7-Jjw" eventType="touchUpInside" id="wQi-jr-fEI"/>
-                        </connections>
-                    </button>
-                    <label opaque="NO" userInteractionEnabled="NO" contentMode="left" horizontalHuggingPriority="251" verticalHuggingPriority="251" text="TransformShape:" textAlignment="natural" lineBreakMode="tailTruncation" baselineAdjustment="alignBaselines" adjustsFontSizeToFit="NO" translatesAutoresizingMaskIntoConstraints="NO" id="2Bf-8k-BNs">
-                        <rect key="frame" x="40" y="91" width="130.33333333333334" height="21"/>
-                        <fontDescription key="fontDescription" type="system" pointSize="17"/>
-                        <nil key="textColor"/>
-                        <nil key="highlightedColor"/>
-                    </label>
-                    <button opaque="NO" contentMode="scaleToFill" contentHorizontalAlignment="center" contentVerticalAlignment="center" lineBreakMode="middleTruncation" translatesAutoresizingMaskIntoConstraints="NO" id="who-Mn-OKt">
-                        <rect key="frame" x="40" y="122" width="40" height="40"/>
-                        <constraints>
-                            <constraint firstAttribute="height" constant="40" id="Idy-1W-f5K"/>
-                            <constraint firstAttribute="width" constant="40" id="QDn-V1-uwc"/>
-                        </constraints>
-                        <inset key="imageEdgeInsets" minX="0.0" minY="0.0" maxX="2.2250738585072014e-308" maxY="0.0"/>
-                        <state key="normal" title="Horenzatol" image="CPDFEditHorizontalFlip"/>
-                        <state key="selected" image="CPDFEditHorizontalFlipH"/>
-                        <connections>
-                            <action selector="horizontalAction:" destination="KGk-i7-Jjw" eventType="touchUpInside" id="Ukp-fi-UAD"/>
-                        </connections>
-                    </button>
-                    <button opaque="NO" contentMode="scaleToFill" contentHorizontalAlignment="center" contentVerticalAlignment="center" lineBreakMode="middleTruncation" translatesAutoresizingMaskIntoConstraints="NO" id="dA7-GZ-Kj2">
-                        <rect key="frame" x="263" y="122" width="40" height="40"/>
-                        <constraints>
-                            <constraint firstAttribute="height" constant="40" id="3Gu-wZ-xww"/>
-                            <constraint firstAttribute="width" constant="40" id="b86-2o-gr7"/>
-                        </constraints>
-                        <inset key="imageEdgeInsets" minX="0.0" minY="0.0" maxX="2.2250738585072014e-308" maxY="0.0"/>
-                        <state key="normal" title="Button" image="CPDFEditVerticalFlip"/>
-                        <state key="selected" image="CPDFEditVerticalFlipH"/>
-                        <connections>
-                            <action selector="verticalAction:" destination="KGk-i7-Jjw" eventType="touchUpInside" id="Ago-No-A24"/>
-                        </connections>
-                    </button>
-                    <label opaque="NO" userInteractionEnabled="NO" contentMode="left" horizontalHuggingPriority="251" verticalHuggingPriority="251" text="Image Transparency:" textAlignment="natural" lineBreakMode="tailTruncation" baselineAdjustment="alignBaselines" adjustsFontSizeToFit="NO" translatesAutoresizingMaskIntoConstraints="NO" id="KHd-Dh-MMI">
-                        <rect key="frame" x="40" y="182" width="159" height="21"/>
-                        <fontDescription key="fontDescription" type="system" pointSize="17"/>
-                        <nil key="textColor"/>
-                        <nil key="highlightedColor"/>
-                    </label>
-                    <slider opaque="NO" contentMode="scaleToFill" contentHorizontalAlignment="center" contentVerticalAlignment="center" value="0.5" minValue="0.0" maxValue="1" translatesAutoresizingMaskIntoConstraints="NO" id="7i1-sQ-oZ3">
-                        <rect key="frame" x="38" y="213" width="118" height="34"/>
-                        <connections>
-                            <action selector="sliderAction:" destination="KGk-i7-Jjw" eventType="valueChanged" id="tpe-nm-1Fm"/>
-                        </connections>
-                    </slider>
-                    <label opaque="NO" userInteractionEnabled="NO" contentMode="left" horizontalHuggingPriority="251" verticalHuggingPriority="251" text="Replace image:" textAlignment="natural" lineBreakMode="tailTruncation" baselineAdjustment="alignBaselines" adjustsFontSizeToFit="NO" translatesAutoresizingMaskIntoConstraints="NO" id="A5n-Aq-3ze">
-                        <rect key="frame" x="39.999999999999993" y="276" width="116.33333333333331" height="21"/>
-                        <fontDescription key="fontDescription" type="system" pointSize="17"/>
-                        <nil key="textColor"/>
-                        <nil key="highlightedColor"/>
-                    </label>
-                    <label opaque="NO" userInteractionEnabled="NO" contentMode="left" horizontalHuggingPriority="251" verticalHuggingPriority="251" text="image export:" textAlignment="natural" lineBreakMode="tailTruncation" baselineAdjustment="alignBaselines" adjustsFontSizeToFit="NO" translatesAutoresizingMaskIntoConstraints="NO" id="Zt5-QF-WOf">
-                        <rect key="frame" x="39.999999999999993" y="328" width="104.33333333333331" height="21"/>
-                        <fontDescription key="fontDescription" type="system" pointSize="17"/>
-                        <nil key="textColor"/>
-                        <nil key="highlightedColor"/>
-                    </label>
-                    <view contentMode="scaleToFill" translatesAutoresizingMaskIntoConstraints="NO" id="qhu-MQ-xkY">
-                        <rect key="frame" x="40" y="359" width="283" height="1"/>
-                        <color key="backgroundColor" white="0.66666666666666663" alpha="1" colorSpace="custom" customColorSpace="genericGamma22GrayColorSpace"/>
-                    </view>
-                    <label opaque="NO" userInteractionEnabled="NO" contentMode="left" horizontalHuggingPriority="251" verticalHuggingPriority="251" text="image crop:" textAlignment="natural" lineBreakMode="tailTruncation" baselineAdjustment="alignBaselines" adjustsFontSizeToFit="NO" translatesAutoresizingMaskIntoConstraints="NO" id="Iar-AU-dds">
-                        <rect key="frame" x="40" y="380" width="90" height="21"/>
-                        <fontDescription key="fontDescription" type="system" pointSize="17"/>
-                        <nil key="textColor"/>
-                        <nil key="highlightedColor"/>
-                    </label>
-                    <button opaque="NO" contentMode="scaleToFill" contentHorizontalAlignment="center" contentVerticalAlignment="center" lineBreakMode="middleTruncation" translatesAutoresizingMaskIntoConstraints="NO" id="epi-iZ-bX6">
-                        <rect key="frame" x="268" y="274" width="25" height="25"/>
-                        <constraints>
-                            <constraint firstAttribute="width" constant="25" id="0rZ-eT-S4g"/>
-                            <constraint firstAttribute="height" constant="25" id="BoC-AB-HkH"/>
-                        </constraints>
-                        <inset key="imageEdgeInsets" minX="0.0" minY="0.0" maxX="2.2250738585072014e-308" maxY="0.0"/>
-                        <state key="normal" image="CPDFEditImageDefault"/>
-                        <connections>
-                            <action selector="replaceImageAction:" destination="KGk-i7-Jjw" eventType="touchUpInside" id="846-yh-DUt"/>
-                        </connections>
-                    </button>
-                    <button opaque="NO" contentMode="scaleToFill" contentHorizontalAlignment="center" contentVerticalAlignment="center" lineBreakMode="middleTruncation" translatesAutoresizingMaskIntoConstraints="NO" id="ce0-Af-lyc">
-                        <rect key="frame" x="268" y="326" width="25" height="25"/>
-                        <constraints>
-                            <constraint firstAttribute="width" constant="25" id="HlN-cm-iL6"/>
-                            <constraint firstAttribute="height" constant="25" id="mg7-ZO-ZTM"/>
-                        </constraints>
-                        <inset key="imageEdgeInsets" minX="0.0" minY="0.0" maxX="2.2250738585072014e-308" maxY="0.0"/>
-                        <state key="normal" image="CPDFEditExport"/>
-                        <connections>
-                            <action selector="exportImageAction:" destination="KGk-i7-Jjw" eventType="touchUpInside" id="au6-Db-k5c"/>
-                        </connections>
-                    </button>
-                    <button opaque="NO" contentMode="scaleToFill" contentHorizontalAlignment="center" contentVerticalAlignment="center" lineBreakMode="middleTruncation" translatesAutoresizingMaskIntoConstraints="NO" id="x97-GO-glq">
-                        <rect key="frame" x="268" y="378" width="25" height="25"/>
-                        <constraints>
-                            <constraint firstAttribute="width" constant="25" id="JlN-Ah-6bW"/>
-                            <constraint firstAttribute="height" constant="25" id="VCo-qW-HOp"/>
-                        </constraints>
-                        <inset key="imageEdgeInsets" minX="0.0" minY="0.0" maxX="2.2250738585072014e-308" maxY="0.0"/>
-                        <state key="normal" image="CPDFEditCrop"/>
-                        <connections>
-                            <action selector="cropImageAction:" destination="KGk-i7-Jjw" eventType="touchUpInside" id="VEq-jz-mQ2"/>
-                        </connections>
-                    </button>
-                    <view contentMode="scaleToFill" translatesAutoresizingMaskIntoConstraints="NO" id="S1c-pL-3pg">
-                        <rect key="frame" x="40" y="307" width="283" height="1"/>
-                        <color key="backgroundColor" white="0.66666666666666663" alpha="1" colorSpace="custom" customColorSpace="genericGamma22GrayColorSpace"/>
-                        <constraints>
-                            <constraint firstAttribute="height" constant="1" id="x36-UJ-jKZ"/>
-                        </constraints>
-                    </view>
-                    <view contentMode="scaleToFill" translatesAutoresizingMaskIntoConstraints="NO" id="psP-AR-tkD">
-                        <rect key="frame" x="193" y="214.66666666666666" width="150" height="30"/>
-                        <color key="backgroundColor" systemColor="systemBackgroundColor"/>
-                        <constraints>
-                            <constraint firstAttribute="height" constant="30" id="tvQ-90-UpW"/>
-                            <constraint firstAttribute="width" constant="150" id="wjq-BB-pNZ"/>
-                        </constraints>
-                    </view>
-                </subviews>
-                <constraints>
-                    <constraint firstItem="aRx-DE-HGO" firstAttribute="leading" secondItem="H2p-sc-9uM" secondAttribute="leading" constant="40" id="1c9-Ay-ldg"/>
-                    <constraint firstItem="7i1-sQ-oZ3" firstAttribute="top" secondItem="KHd-Dh-MMI" secondAttribute="bottom" constant="10" id="2LD-Uo-fFd"/>
-                    <constraint firstItem="aRx-DE-HGO" firstAttribute="top" secondItem="H2p-sc-9uM" secondAttribute="top" id="2MS-RB-43X"/>
-                    <constraint firstItem="n2j-U4-BXE" firstAttribute="top" secondItem="aRx-DE-HGO" secondAttribute="bottom" constant="10" id="38m-hu-VhR"/>
-                    <constraint firstItem="S1c-pL-3pg" firstAttribute="top" secondItem="A5n-Aq-3ze" secondAttribute="bottom" constant="10" id="3Eh-Ot-Aj5"/>
-                    <constraint firstItem="Iar-AU-dds" firstAttribute="leading" secondItem="Zt5-QF-WOf" secondAttribute="leading" id="5vO-p9-eas"/>
-                    <constraint firstItem="psP-AR-tkD" firstAttribute="centerY" secondItem="7i1-sQ-oZ3" secondAttribute="centerY" id="62i-6G-KNg"/>
-                    <constraint firstItem="qhu-MQ-xkY" firstAttribute="height" secondItem="S1c-pL-3pg" secondAttribute="height" id="6ka-2Y-ybh"/>
-                    <constraint firstItem="QIY-I8-jze" firstAttribute="top" secondItem="n2j-U4-BXE" secondAttribute="top" id="8E9-ad-bk7"/>
-                    <constraint firstItem="x97-GO-glq" firstAttribute="centerY" secondItem="Iar-AU-dds" secondAttribute="centerY" id="8uH-6n-zHk"/>
-                    <constraint firstItem="2Bf-8k-BNs" firstAttribute="top" secondItem="n2j-U4-BXE" secondAttribute="bottom" constant="20" id="BQF-ST-iDT"/>
-                    <constraint firstItem="who-Mn-OKt" firstAttribute="leading" secondItem="2Bf-8k-BNs" secondAttribute="leading" id="BcB-5I-w6z"/>
-                    <constraint firstItem="A5n-Aq-3ze" firstAttribute="top" secondItem="7i1-sQ-oZ3" secondAttribute="bottom" constant="30" id="CTC-Du-dAp"/>
-                    <constraint firstAttribute="trailing" secondItem="QIY-I8-jze" secondAttribute="trailing" constant="40" id="Ffu-Oz-9W9"/>
-                    <constraint firstItem="x97-GO-glq" firstAttribute="trailing" secondItem="ce0-Af-lyc" secondAttribute="trailing" id="Gwm-rY-awS"/>
-                    <constraint firstItem="ce0-Af-lyc" firstAttribute="centerY" secondItem="Zt5-QF-WOf" secondAttribute="centerY" id="HuH-80-54R"/>
-                    <constraint firstItem="qhu-MQ-xkY" firstAttribute="trailing" secondItem="S1c-pL-3pg" secondAttribute="trailing" id="I9c-YO-qlv"/>
-                    <constraint firstItem="Zt5-QF-WOf" firstAttribute="top" secondItem="S1c-pL-3pg" secondAttribute="bottom" constant="20" id="IQc-1I-ypq"/>
-                    <constraint firstItem="S1c-pL-3pg" firstAttribute="leading" secondItem="A5n-Aq-3ze" secondAttribute="leading" id="Kmj-VW-4hN"/>
-                    <constraint firstItem="qhu-MQ-xkY" firstAttribute="top" secondItem="Zt5-QF-WOf" secondAttribute="bottom" constant="10" id="L6m-aq-Rbb"/>
-                    <constraint firstAttribute="trailingMargin" secondItem="S1c-pL-3pg" secondAttribute="trailing" constant="10" id="LqH-wZ-TR4"/>
-                    <constraint firstItem="KHd-Dh-MMI" firstAttribute="leading" secondItem="2Bf-8k-BNs" secondAttribute="leading" id="Nix-2y-hl7"/>
-                    <constraint firstItem="KHd-Dh-MMI" firstAttribute="top" secondItem="who-Mn-OKt" secondAttribute="bottom" constant="20" id="PLg-Ki-QbW"/>
-                    <constraint firstItem="S1c-pL-3pg" firstAttribute="top" secondItem="A5n-Aq-3ze" secondAttribute="bottom" constant="10" id="PoD-ic-BaC"/>
-                    <constraint firstItem="epi-iZ-bX6" firstAttribute="centerY" secondItem="A5n-Aq-3ze" secondAttribute="centerY" id="RB7-P9-5Dj"/>
-                    <constraint firstItem="7i1-sQ-oZ3" firstAttribute="width" secondItem="H2p-sc-9uM" secondAttribute="width" multiplier="0.322946" id="S3Y-Tv-J9H"/>
-                    <constraint firstAttribute="trailing" secondItem="dA7-GZ-Kj2" secondAttribute="trailing" constant="50" id="Tcj-yM-Vgh"/>
-                    <constraint firstItem="qhu-MQ-xkY" firstAttribute="leading" secondItem="S1c-pL-3pg" secondAttribute="leading" id="V8m-tZ-Opj"/>
-                    <constraint firstItem="ce0-Af-lyc" firstAttribute="trailing" secondItem="epi-iZ-bX6" secondAttribute="trailing" id="WWx-QQ-ZZ6"/>
-                    <constraint firstItem="Iar-AU-dds" firstAttribute="top" secondItem="qhu-MQ-xkY" secondAttribute="bottom" constant="20" id="X6E-RU-TNc"/>
-                    <constraint firstItem="who-Mn-OKt" firstAttribute="top" secondItem="2Bf-8k-BNs" secondAttribute="bottom" constant="10" id="Zfa-wv-E8I"/>
-                    <constraint firstItem="psP-AR-tkD" firstAttribute="trailing" secondItem="H2p-sc-9uM" secondAttribute="trailingMargin" constant="10" id="mqM-Xv-FhL"/>
-                    <constraint firstItem="Zt5-QF-WOf" firstAttribute="leading" secondItem="A5n-Aq-3ze" secondAttribute="leading" id="o5K-qj-6aH"/>
-                    <constraint firstItem="7i1-sQ-oZ3" firstAttribute="leading" secondItem="KHd-Dh-MMI" secondAttribute="leading" id="q23-QR-FRp"/>
-                    <constraint firstItem="2Bf-8k-BNs" firstAttribute="leading" secondItem="aRx-DE-HGO" secondAttribute="leading" id="tXf-ye-V5v"/>
-                    <constraint firstItem="A5n-Aq-3ze" firstAttribute="leading" secondItem="7i1-sQ-oZ3" secondAttribute="leading" id="vsd-5T-HV6"/>
-                    <constraint firstAttribute="trailingMargin" secondItem="epi-iZ-bX6" secondAttribute="trailing" constant="40" id="xNF-Ii-j9S"/>
-                    <constraint firstItem="dA7-GZ-Kj2" firstAttribute="centerY" secondItem="who-Mn-OKt" secondAttribute="centerY" id="xho-IX-goR"/>
-                    <constraint firstItem="n2j-U4-BXE" firstAttribute="leading" secondItem="aRx-DE-HGO" secondAttribute="leading" id="yeV-4n-cWP"/>
-                </constraints>
-            </tableViewCellContentView>
-            <viewLayoutGuide key="safeArea" id="aW0-zy-SZf"/>
-            <connections>
-                <outlet property="opacityView" destination="psP-AR-tkD" id="1b9-NG-7eu"/>
-                <outlet property="transparencySlider" destination="7i1-sQ-oZ3" id="0yc-Qb-e3f"/>
-            </connections>
-            <point key="canvasLocation" x="67.938931297709928" y="121.12676056338029"/>
-        </tableViewCell>
-    </objects>
-    <resources>
-        <image name="CPDFEditCrop" width="26" height="25"/>
-        <image name="CPDFEditExport" width="25" height="25"/>
-        <image name="CPDFEditHorizontalFlip" width="41" height="41"/>
-        <image name="CPDFEditHorizontalFlipH" width="41" height="41"/>
-        <image name="CPDFEditIRotate" width="41" height="41"/>
-        <image name="CPDFEditIRotateH" width="41" height="41"/>
-        <image name="CPDFEditImageDefault" width="20" height="21"/>
-        <image name="CPDFEditRRotate" width="41" height="41"/>
-        <image name="CPDFEditRRotateH" width="41" height="41"/>
-        <image name="CPDFEditVerticalFlip" width="41" height="41"/>
-        <image name="CPDFEditVerticalFlipH" width="41" height="41"/>
-        <systemColor name="systemBackgroundColor">
-            <color white="1" alpha="1" colorSpace="custom" customColorSpace="genericGamma22GrayColorSpace"/>
-        </systemColor>
-    </resources>
-</document>

+ 4 - 2
compdfkit-tools/compdfkit-tools/Edit/CPDFEditCell/CPDFTextPropertyCell.h

@@ -27,8 +27,6 @@ NS_ASSUME_NONNULL_BEGIN
 
 @interface CPDFTextPropertyCell : UITableViewCell
 
-+(instancetype)CPDFTextPropertyCell;
-
 @property (nonatomic, strong) void(^actionBlock)(CPDFTextActionType actionType);
 
 @property (nonatomic, strong) void(^colorBlock)(UIColor * selectColor);
@@ -37,10 +35,14 @@ NS_ASSUME_NONNULL_BEGIN
 
 @property (nonatomic, strong) void(^italicBlock)(BOOL  isItalic);
 
+@property (nonatomic, strong) void(^opacityBlock)(CGFloat opacity);
+
 @property (nonatomic, strong) void(^alignmentBlock)(CPDFTextAlignment alignment);
 
 @property (nonatomic, strong) void(^fontSizeBlock)(CGFloat fontSize);
 
+@property (nonatomic, strong) NSString * currentSelectFontName;
+
 
 @end
 

+ 188 - 24
compdfkit-tools/compdfkit-tools/Edit/CPDFEditCell/CPDFTextPropertyCell.m

@@ -12,54 +12,194 @@
 #import "CPDFColorSelectView.h"
 #import "CPDFOpacitySliderView.h"
 #import "CPDFColorPickerView.h"
+#import "CPDFThicknessSliderView.h"
+#import "CPDFDropDownMenu.h"
 
 @interface CPDFTextPropertyCell()<CPDFColorSelectViewDelegate,CPDFOpacitySliderViewDelegate>
 @property (weak, nonatomic) IBOutlet UIView *colorAreaView;
-@property (nonatomic, strong) CPDFColorSelectView * colorView;
 @property (weak, nonatomic) IBOutlet UIView *sliderArea;
+
+
+
+@property (nonatomic, strong) CPDFColorSelectView * colorView;
+
 @property (nonatomic, strong) CPDFOpacitySliderView * opacityView;
 @property (nonatomic, strong) CPDFColorPickerView * colorPickerView;
+@property (nonatomic, strong) CPDFThicknessSliderView * thickSliderView;
 
-@property (weak, nonatomic) IBOutlet UIButton *leftAlignBtn;
-@property (weak, nonatomic) IBOutlet UIButton *centerAlignBtn;
-@property (weak, nonatomic) IBOutlet UIButton *rightAlignBtn;
+@property (nonatomic, strong) UIView * fontView;
+@property (nonatomic, strong) UIView * alignmentView;
+@property (nonatomic, strong) UIView * alignmnetCoverView;
+@property (nonatomic, strong) UIView * styleView;
+@property (nonatomic, strong) UIView * dropMenuView;
+@property (nonatomic, strong) UIView * splitView;
+@property (nonatomic, strong) CPDFDropDownMenu * menu;
 
+@property (nonatomic, strong) UIImageView *dropDownIcon;
 
-@end
+@property (nonatomic, strong) UILabel * fontNameLabel;
+@property (nonatomic, strong) UILabel * alignmentLabel;
+@property (nonatomic, strong) UILabel * fontNameSelectLabel;
 
-@implementation CPDFTextPropertyCell
+@property (nonatomic, strong) UIButton *leftAlignBtn;
+@property (nonatomic, strong) UIButton *centerAlignBtn;
+@property (nonatomic, strong) UIButton *rightAlignBtn;
 
+@property (nonatomic, strong) UIButton * boldBtn;
+@property (nonatomic, strong) UIButton * italicBtn;
+@property (nonatomic, strong) UIButton * fontSelectBtn;
 
-+(instancetype)CPDFTextPropertyCell {
-    NSBundle *bundle = [NSBundle bundleForClass:[self class]];
-    return [[bundle loadNibNamed:@"CPDFTextPropertyCell" owner:nil options:nil] lastObject];
-}
+@end
+
+@implementation CPDFTextPropertyCell
 
-- (void)awakeFromNib {
-    [super awakeFromNib];
-    // Initialization code
-    if(!self.colorView){
-        self.colorView  = [[CPDFColorSelectView alloc] initWithFrame:CGRectMake(10, 0, self.frame.size.width-20, 90)];
+- (instancetype)initWithStyle:(UITableViewCellStyle)style reuseIdentifier:(NSString *)reuseIdentifier {
+    if (self = [super initWithStyle:style reuseIdentifier:reuseIdentifier]) {
+        
+        self.colorView  = [[CPDFColorSelectView alloc] init];
         self.colorView.autoresizingMask = UIViewAutoresizingFlexibleWidth;
         self.colorView.colorLabel.text = NSLocalizedString(@"Font Color:", nil);
         self.colorView.delegate = self;
-        [self.colorAreaView addSubview:self.colorView];
-    }
-    
-
-    if(!self.opacityView){
-        self.opacityView = [[CPDFOpacitySliderView alloc] initWithFrame:CGRectMake(10, 0, self.frame.size.width-20, 90)];
+        [self.contentView addSubview:self.colorView];
+        
+        
+        self.opacityView = [[CPDFOpacitySliderView alloc] init];
         self.opacityView.autoresizingMask = UIViewAutoresizingFlexibleWidth;
-        self.opacityView.titleLabel.text = NSLocalizedString(@"Font Size:", nil);
+        self.opacityView.titleLabel.text = NSLocalizedString(@"Opacity:", nil);
         self.opacityView.startLabel.text = @"0";
-//        self.opacityView.endLabel.text = @"100";
         self.opacityView.opacitySlider.value = 0.14;
         self.opacityView.delegate = self;
-        [self.sliderArea addSubview:self.opacityView];
+        [self.contentView addSubview:self.opacityView];
+        
+        self.fontView = [[UIView alloc] init];
+        self.fontView.autoresizingMask = UIViewAutoresizingFlexibleWidth;
+        [self.contentView addSubview:self.fontView];
+        
+        self.fontNameLabel = [[UILabel alloc] init];
+        self.fontNameLabel.text =  NSLocalizedString(@"Font", nil);
+        self.fontNameLabel.font = [UIFont systemFontOfSize:14];
+        self.fontNameLabel.textColor = [UIColor colorWithRed:153./255 green:153./255 blue:153./255 alpha:1.];
+        [self.fontView addSubview:self.fontNameLabel];
+    
+        
+        self.alignmentView = [[UIView alloc] init];
+        self.alignmentView.autoresizingMask = UIViewAutoresizingFlexibleWidth;
+        [self.contentView addSubview:self.alignmentView];
+        
+        self.alignmentLabel = [[UILabel alloc] init];
+        self.alignmentLabel.text =  NSLocalizedString(@"Alignmnet", nil);
+        self.alignmentLabel.font = [UIFont systemFontOfSize:14];
+        self.alignmentLabel.textColor = [UIColor colorWithRed:153./255 green:153./255 blue:153./255 alpha:1.];
+        [self.alignmentView addSubview:self.alignmentLabel];
+        
+        self.alignmnetCoverView = [[UIView alloc] init];
+        self.alignmnetCoverView.layer.borderColor = [UIColor colorWithRed:0.886 green:0.89 blue:0.902 alpha:1.].CGColor;
+        self.alignmnetCoverView.layer.borderWidth = 1.;
+        [self.alignmentView addSubview:self.alignmnetCoverView];
+        
+        self.leftAlignBtn = [UIButton buttonWithType:UIButtonTypeCustom];
+        [self.leftAlignBtn setImage:[UIImage imageNamed:@"CPDFEditAlignmentLeft" inBundle:[NSBundle bundleForClass:self.class] compatibleWithTraitCollection:nil]  forState:UIControlStateNormal];
+        [self.leftAlignBtn addTarget:self action:@selector(fontAlignmentAction:) forControlEvents:UIControlEventTouchUpInside];
+        
+        self.rightAlignBtn = [UIButton buttonWithType:UIButtonTypeCustom];
+        [self.rightAlignBtn setImage:[UIImage imageNamed:@"CPDFEditAlignmentRight" inBundle:[NSBundle bundleForClass:self.class] compatibleWithTraitCollection:nil]  forState:UIControlStateNormal];
+        [self.rightAlignBtn addTarget:self action:@selector(fontAlignmentAction:)
+                     forControlEvents:UIControlEventTouchUpInside];
+        
+        self.centerAlignBtn = [UIButton buttonWithType:UIButtonTypeCustom];
+        [self.centerAlignBtn setImage:[UIImage imageNamed:@"CPDFEditAligmentCenter" inBundle:[NSBundle bundleForClass:self.class] compatibleWithTraitCollection:nil]  forState:UIControlStateNormal];
+        [self.centerAlignBtn addTarget:self action:@selector(fontAlignmentAction:) forControlEvents:UIControlEventTouchUpInside];
+        
+        [self.alignmnetCoverView addSubview:self.leftAlignBtn];
+        [self.alignmnetCoverView addSubview:self.centerAlignBtn];
+        [self.alignmnetCoverView addSubview:self.rightAlignBtn];
+        
+        
+        self.thickSliderView = [[CPDFThicknessSliderView alloc] initWithFrame:CGRectMake(10, CGRectGetMaxY(self.fontView.frame) + 10, self.frame.size.width-20, 90)];
+        [self.contentView addSubview:self.thickSliderView];
+        
+        self.backgroundColor = [UIColor colorWithRed:250./255 green:252./255 blue:255./255 alpha:1.];
+        
+        self.italicBtn = [UIButton buttonWithType:UIButtonTypeCustom];
+        [self.italicBtn setImage:[UIImage imageNamed:@"CPDFEditItalicNormal" inBundle:[NSBundle bundleForClass:self.class] compatibleWithTraitCollection:nil] forState:UIControlStateNormal];
+        [self.italicBtn addTarget:self action:@selector(fontItalicAction:) forControlEvents:UIControlEventTouchUpInside];
+        
+        self.boldBtn = [UIButton buttonWithType:UIButtonTypeCustom];
+        [self.boldBtn setImage:[UIImage imageNamed:@"CPDFEditBoldNormal" inBundle:[NSBundle bundleForClass:self.class] compatibleWithTraitCollection:nil] forState:UIControlStateNormal];
+        [self.boldBtn addTarget:self action:@selector(fontBoldAction:) forControlEvents:UIControlEventTouchUpInside];
+    
+        
+        self.styleView = [[UIView alloc] init];
+        self.styleView.layer.cornerRadius = 4;
+        [self.fontView addSubview:self.styleView];
+        [self.styleView addSubview:self.italicBtn];
+        [self.styleView addSubview:self.boldBtn];
+        
+        self.dropMenuView = [[UIView alloc] init];
+        [self.fontView addSubview:self.dropMenuView];
+        
+        self.splitView = [[UIView alloc] init];
+        self.splitView.backgroundColor = [UIColor colorWithRed:0 green:0 blue:0 alpha:0.2];
+        [self.dropMenuView addSubview:self.splitView];
+        
+        self.dropDownIcon = [[UIImageView alloc] init];
+        self.dropDownIcon.image = [UIImage imageNamed:@"CPDFEditArrow" inBundle:[NSBundle bundleForClass:self.class] compatibleWithTraitCollection:nil];
+        [self.dropMenuView addSubview:self.dropDownIcon];
+        
+        self.fontNameSelectLabel = [[UILabel alloc] init];
+        self.fontNameSelectLabel.font = [UIFont systemFontOfSize:14];
+        self.fontNameSelectLabel.textColor = [UIColor blackColor];
+        [self.dropMenuView addSubview:self.fontNameSelectLabel];
+        
+        self.fontSelectBtn = [UIButton buttonWithType:UIButtonTypeCustom];
+        self.fontSelectBtn.backgroundColor = [UIColor clearColor];
+        [self.fontSelectBtn addTarget:self action:@selector(showFontNameAction:) forControlEvents:UIControlEventTouchUpInside];
+        [self.dropMenuView addSubview:self.fontSelectBtn];
+        
+        self.styleView.backgroundColor = [UIColor colorWithRed:73/255. green:130/255. blue:230/255. alpha:0.08];
+        
     }
+    return self;
+}
+
+-(void)layoutSubviews {
+    [super layoutSubviews];
+    
+    self.colorView.frame = CGRectMake(10, 0, self.frame.size.width-20, 70);
+    self.opacityView.frame = CGRectMake(10, CGRectGetMaxY(self.colorView.frame)+ 10, self.frame.size.width-20, 60);
+    self.fontView.frame = CGRectMake(10, CGRectGetMaxY(self.opacityView.frame) + 10, self.frame.size.width-20, 30);
+    self.alignmentView.frame = CGRectMake(10, CGRectGetMaxY(self.fontView.frame) + 10, self.frame.size.width-20, 30);
+    self.thickSliderView.frame = CGRectMake(10, CGRectGetMaxY(self.alignmentView.frame) + 10, self.frame.size.width-20, 60);
+    self.styleView.frame  = CGRectMake(self.frame.size.width - 100, 0, 80, 30);
+    
+    self.alignmnetCoverView.frame = CGRectMake(self.frame.size.width - 170, 0, 150, 30);
+    
+    self.fontNameLabel.frame = CGRectMake(10, 0, 30, 30);
+    self.alignmentLabel.frame = CGRectMake(10, 0, 100, 30);
+    
+    self.leftAlignBtn.frame = CGRectMake(0, 0, 50, 30);
+    self.centerAlignBtn.frame = CGRectMake(50, 0, 50, 30);
+    self.rightAlignBtn.frame = CGRectMake(100, 0, 50, 30);
+    self.boldBtn.frame = CGRectMake(0, 0, 40, 30);
+    self.italicBtn.frame = CGRectMake(40, 0, 40, 30);
+    
+    self.dropMenuView.frame = CGRectMake(CGRectGetMaxX(self.fontNameLabel.frame) + 20, 0, self.frame.size.width - CGRectGetMaxX(self.fontNameLabel.frame) - 20 -  20 - 80 - 20, 30);
+    self.splitView.frame = CGRectMake(0, 29, self.dropMenuView.bounds.size.width, 1);
+    
+    self.dropDownIcon.frame = CGRectMake(self.dropMenuView.bounds.size.width - 24 - 5, 3, 24, 24);
+    self.fontNameSelectLabel.frame = CGRectMake(10, 0, self.dropMenuView.bounds.size.width - 40, 29);
+    
+    self.fontSelectBtn.frame = self.dropMenuView.bounds;
+    
     
 }
 
+- (void)setCurrentSelectFontName:(NSString *)currentSelectFontName {
+    _currentSelectFontName = currentSelectFontName;
+    self.fontNameSelectLabel.text = currentSelectFontName;
+}
+#pragma mark - CPDFDropDownMenuDelegate
+
 - (void)setSelected:(BOOL)selected animated:(BOOL)animated {
     [super setSelected:selected animated:animated];
     
@@ -90,6 +230,11 @@
 
 - (IBAction)fontBoldAction:(UIButton *)sender {
     sender.selected = !sender.selected;
+    if(sender.selected == YES ) {
+        [sender setBackgroundColor:[UIColor colorWithRed:73/255. green:130/255. blue:230/255. alpha:0.2]];
+    }else{
+        [sender setBackgroundColor:[UIColor clearColor]];
+    }
     if(self.boldBlock){
         self.boldBlock(sender.selected);
     }
@@ -97,6 +242,11 @@
 
 - (IBAction)fontItalicAction:(UIButton *)sender {
     sender.selected = !sender.selected;
+    if(sender.selected == YES ) {
+        [sender setBackgroundColor:[UIColor colorWithRed:73/255. green:130/255. blue:230/255. alpha:0.2]];
+    }else{
+        [sender setBackgroundColor:[UIColor clearColor]];
+    }
     if(self.italicBlock){
         self.italicBlock(sender.selected);
     }
@@ -105,10 +255,17 @@
 - (IBAction)fontAlignmentAction:(UIButton *)sender {
     sender.selected = !sender.selected;
     
+    if(sender.selected == YES) {
+        [sender setBackgroundColor:[UIColor colorWithRed:73/255. green:130./255. blue:230/255. alpha:0.16]];
+    }
+    
     if(sender == self.leftAlignBtn && sender.isSelected){
         [self.centerAlignBtn setSelected:NO];
         [self.rightAlignBtn setSelected:NO];
         
+        [self.centerAlignBtn setBackgroundColor:[UIColor clearColor]];
+        [self.rightAlignBtn setBackgroundColor:[UIColor clearColor]];
+        
         if(self.alignmentBlock){
             self.alignmentBlock(CPDFTextAlignmentLeft);
         }
@@ -116,12 +273,19 @@
         [self.rightAlignBtn setSelected:NO];
         [self.leftAlignBtn setSelected:NO];
         
+        [self.leftAlignBtn setBackgroundColor:[UIColor clearColor]];
+        [self.rightAlignBtn setBackgroundColor:[UIColor clearColor]];
+        
         if(self.alignmentBlock){
             self.alignmentBlock(CPDFTextAlignmentCenter);
         }
     }else if(sender == self.rightAlignBtn && sender.isSelected){
         [self.leftAlignBtn setSelected:NO];
         [self.centerAlignBtn setSelected:NO];
+        
+        [self.centerAlignBtn setBackgroundColor:[UIColor clearColor]];
+        [self.leftAlignBtn setBackgroundColor:[UIColor clearColor]];
+        
         if(self.alignmentBlock){
             self.alignmentBlock(CPDFTextAlignmentRight);
         }

+ 0 - 164
compdfkit-tools/compdfkit-tools/Edit/CPDFEditCell/CPDFTextPropertyCell.xib

@@ -1,164 +0,0 @@
-<?xml version="1.0" encoding="UTF-8"?>
-<document type="com.apple.InterfaceBuilder3.CocoaTouch.XIB" version="3.0" toolsVersion="21507" targetRuntime="iOS.CocoaTouch" propertyAccessControl="none" useAutolayout="YES" useTraitCollections="YES" useSafeAreas="YES" colorMatched="YES">
-    <device id="retina6_12" orientation="portrait" appearance="light"/>
-    <dependencies>
-        <deployment identifier="iOS"/>
-        <plugIn identifier="com.apple.InterfaceBuilder.IBCocoaTouchPlugin" version="21505"/>
-        <capability name="Safe area layout guides" minToolsVersion="9.0"/>
-        <capability name="System colors in document resources" minToolsVersion="11.0"/>
-        <capability name="documents saved in the Xcode 8 format" minToolsVersion="8.0"/>
-    </dependencies>
-    <objects>
-        <placeholder placeholderIdentifier="IBFilesOwner" id="-1" userLabel="File's Owner"/>
-        <placeholder placeholderIdentifier="IBFirstResponder" id="-2" customClass="UIResponder"/>
-        <tableViewCell contentMode="scaleToFill" selectionStyle="default" indentationWidth="10" rowHeight="326" id="KGk-i7-Jjw" customClass="CPDFTextPropertyCell">
-            <rect key="frame" x="0.0" y="0.0" width="358" height="326"/>
-            <autoresizingMask key="autoresizingMask" flexibleMaxX="YES" flexibleMaxY="YES"/>
-            <tableViewCellContentView key="contentView" opaque="NO" clipsSubviews="YES" multipleTouchEnabled="YES" contentMode="center" tableViewCell="KGk-i7-Jjw" id="H2p-sc-9uM">
-                <rect key="frame" x="0.0" y="0.0" width="358" height="326"/>
-                <autoresizingMask key="autoresizingMask"/>
-                <subviews>
-                    <view contentMode="scaleToFill" layoutMarginsFollowReadableWidth="YES" translatesAutoresizingMaskIntoConstraints="NO" id="uhx-SF-mln">
-                        <rect key="frame" x="0.0" y="10" width="358" height="90"/>
-                        <color key="backgroundColor" systemColor="systemBackgroundColor"/>
-                        <constraints>
-                            <constraint firstAttribute="height" constant="90" id="INN-EU-pwF"/>
-                        </constraints>
-                    </view>
-                    <button opaque="NO" contentMode="scaleToFill" contentHorizontalAlignment="center" contentVerticalAlignment="center" lineBreakMode="middleTruncation" translatesAutoresizingMaskIntoConstraints="NO" id="tx4-bt-cUh">
-                        <rect key="frame" x="328" y="130.66666666666666" width="20" height="20"/>
-                        <constraints>
-                            <constraint firstAttribute="height" constant="20" id="8nQ-SM-7iS"/>
-                            <constraint firstAttribute="width" constant="20" id="LZH-zV-W4B"/>
-                        </constraints>
-                        <inset key="imageEdgeInsets" minX="0.0" minY="0.0" maxX="2.2250738585072014e-308" maxY="0.0"/>
-                        <state key="normal" image="CPDFEditItalicNormal"/>
-                        <state key="selected" image="CPDFEditItalicHighlight"/>
-                        <connections>
-                            <action selector="fontItalicAction:" destination="KGk-i7-Jjw" eventType="touchUpInside" id="jb1-qR-BcM"/>
-                        </connections>
-                    </button>
-                    <label opaque="NO" userInteractionEnabled="NO" contentMode="left" horizontalHuggingPriority="251" verticalHuggingPriority="251" text="Align Style:" textAlignment="natural" lineBreakMode="tailTruncation" baselineAdjustment="alignBaselines" adjustsFontSizeToFit="NO" translatesAutoresizingMaskIntoConstraints="NO" id="lXb-G8-H3F">
-                        <rect key="frame" x="10" y="175" width="85.333333333333329" height="21"/>
-                        <fontDescription key="fontDescription" type="system" pointSize="17"/>
-                        <nil key="textColor"/>
-                        <nil key="highlightedColor"/>
-                    </label>
-                    <button opaque="NO" tag="102" contentMode="scaleToFill" contentHorizontalAlignment="center" contentVerticalAlignment="center" lineBreakMode="middleTruncation" translatesAutoresizingMaskIntoConstraints="NO" id="SQc-1y-yHE">
-                        <rect key="frame" x="328" y="175.66666666666666" width="20" height="20"/>
-                        <constraints>
-                            <constraint firstAttribute="height" constant="20" id="Cvz-Nz-wH1"/>
-                            <constraint firstAttribute="width" constant="20" id="hu6-Rm-8ke"/>
-                        </constraints>
-                        <inset key="imageEdgeInsets" minX="0.0" minY="0.0" maxX="2.2250738585072014e-308" maxY="0.0"/>
-                        <state key="normal" image="CPDFEditAlignmentRight"/>
-                        <state key="selected" image="CPDFEditAlignmentRightH"/>
-                        <connections>
-                            <action selector="fontAlignmentAction:" destination="KGk-i7-Jjw" eventType="touchUpInside" id="V70-hN-tcV"/>
-                        </connections>
-                    </button>
-                    <button opaque="NO" tag="101" contentMode="scaleToFill" contentHorizontalAlignment="center" contentVerticalAlignment="center" lineBreakMode="middleTruncation" translatesAutoresizingMaskIntoConstraints="NO" id="VsT-rp-W0E">
-                        <rect key="frame" x="292" y="174.66666666666666" width="16" height="22"/>
-                        <inset key="imageEdgeInsets" minX="0.0" minY="0.0" maxX="2.2250738585072014e-308" maxY="0.0"/>
-                        <state key="normal" image="CPDFEditAligmentCenter"/>
-                        <state key="selected" image="CPDFEditAligmentCenterH"/>
-                        <connections>
-                            <action selector="fontAlignmentAction:" destination="KGk-i7-Jjw" eventType="touchUpInside" id="fM6-cf-4BE"/>
-                        </connections>
-                    </button>
-                    <button opaque="NO" tag="100" contentMode="scaleToFill" contentHorizontalAlignment="center" contentVerticalAlignment="center" lineBreakMode="middleTruncation" translatesAutoresizingMaskIntoConstraints="NO" id="n1n-vD-767">
-                        <rect key="frame" x="256" y="174.66666666666666" width="16" height="22"/>
-                        <inset key="imageEdgeInsets" minX="0.0" minY="0.0" maxX="2.2250738585072014e-308" maxY="0.0"/>
-                        <state key="normal" image="CPDFEditAlignmentLeft"/>
-                        <state key="selected" image="CPDFEditAlignmentLeftHigh"/>
-                        <connections>
-                            <action selector="fontAlignmentAction:" destination="KGk-i7-Jjw" eventType="touchUpInside" id="MQz-uS-uX9"/>
-                        </connections>
-                    </button>
-                    <view contentMode="scaleToFill" translatesAutoresizingMaskIntoConstraints="NO" id="ohh-qk-Inu">
-                        <rect key="frame" x="0.0" y="215.66666666666663" width="358" height="90"/>
-                        <color key="backgroundColor" systemColor="systemBackgroundColor"/>
-                        <constraints>
-                            <constraint firstAttribute="height" constant="90" id="dE5-pY-qzE"/>
-                        </constraints>
-                    </view>
-                    <label opaque="NO" userInteractionEnabled="NO" contentMode="left" horizontalHuggingPriority="251" verticalHuggingPriority="251" text="Show Font Name &gt;" textAlignment="natural" lineBreakMode="tailTruncation" baselineAdjustment="alignBaselines" adjustsFontSizeToFit="NO" translatesAutoresizingMaskIntoConstraints="NO" id="3ni-3O-NWD">
-                        <rect key="frame" x="10" y="130" width="144.33333333333334" height="21"/>
-                        <fontDescription key="fontDescription" type="system" pointSize="17"/>
-                        <nil key="textColor"/>
-                        <nil key="highlightedColor"/>
-                    </label>
-                    <button opaque="NO" contentMode="scaleToFill" contentHorizontalAlignment="center" contentVerticalAlignment="center" lineBreakMode="middleTruncation" translatesAutoresizingMaskIntoConstraints="NO" id="H2Y-8R-CMe">
-                        <rect key="frame" x="288" y="131.66666666666666" width="20" height="17.666666666666657"/>
-                        <inset key="imageEdgeInsets" minX="0.0" minY="0.0" maxX="2.2250738585072014e-308" maxY="0.0"/>
-                        <state key="normal" image="CPDFEditBoldNormal"/>
-                        <state key="selected" image="CPDFEditHiglight"/>
-                        <connections>
-                            <action selector="fontBoldAction:" destination="KGk-i7-Jjw" eventType="touchUpInside" id="pF5-Zd-wqv"/>
-                        </connections>
-                    </button>
-                    <button opaque="NO" contentMode="scaleToFill" contentHorizontalAlignment="center" contentVerticalAlignment="center" lineBreakMode="middleTruncation" translatesAutoresizingMaskIntoConstraints="NO" id="sp9-EM-5gs">
-                        <rect key="frame" x="10" y="123" width="145" height="34"/>
-                        <constraints>
-                            <constraint firstAttribute="width" constant="145" id="NTm-QQ-tAp"/>
-                        </constraints>
-                        <inset key="imageEdgeInsets" minX="0.0" minY="0.0" maxX="2.2250738585072014e-308" maxY="0.0"/>
-                        <connections>
-                            <action selector="showFontNameAction:" destination="KGk-i7-Jjw" eventType="touchUpInside" id="6kL-hH-nE7"/>
-                        </connections>
-                    </button>
-                </subviews>
-                <constraints>
-                    <constraint firstItem="tx4-bt-cUh" firstAttribute="leading" secondItem="H2Y-8R-CMe" secondAttribute="trailing" constant="20" id="An4-9q-kCf"/>
-                    <constraint firstAttribute="trailing" secondItem="uhx-SF-mln" secondAttribute="trailing" id="CcO-Mn-VMl"/>
-                    <constraint firstItem="H2Y-8R-CMe" firstAttribute="height" secondItem="tx4-bt-cUh" secondAttribute="height" multiplier="0.875" id="EOq-0u-oce"/>
-                    <constraint firstItem="sp9-EM-5gs" firstAttribute="top" secondItem="uhx-SF-mln" secondAttribute="bottom" constant="23" id="Gi6-yn-hhK"/>
-                    <constraint firstAttribute="trailing" secondItem="ohh-qk-Inu" secondAttribute="trailing" id="Hnl-9t-9H0"/>
-                    <constraint firstAttribute="trailing" secondItem="SQc-1y-yHE" secondAttribute="trailing" constant="10" id="J4d-yv-7u0"/>
-                    <constraint firstItem="VsT-rp-W0E" firstAttribute="leading" secondItem="n1n-vD-767" secondAttribute="trailing" constant="20" id="KO2-f1-XVf"/>
-                    <constraint firstItem="VsT-rp-W0E" firstAttribute="centerY" secondItem="SQc-1y-yHE" secondAttribute="centerY" id="M1e-vD-VJ5"/>
-                    <constraint firstItem="lXb-G8-H3F" firstAttribute="top" secondItem="3ni-3O-NWD" secondAttribute="bottom" constant="24" id="NoF-ZO-9Xz"/>
-                    <constraint firstItem="uhx-SF-mln" firstAttribute="leading" secondItem="H2p-sc-9uM" secondAttribute="leading" id="ONy-qh-BWJ"/>
-                    <constraint firstItem="ohh-qk-Inu" firstAttribute="top" secondItem="SQc-1y-yHE" secondAttribute="bottom" constant="20" id="VCF-iN-cJh"/>
-                    <constraint firstItem="3ni-3O-NWD" firstAttribute="top" secondItem="uhx-SF-mln" secondAttribute="bottom" constant="30" id="VD8-pK-fua"/>
-                    <constraint firstItem="SQc-1y-yHE" firstAttribute="leading" secondItem="VsT-rp-W0E" secondAttribute="trailing" constant="20" id="VRg-RR-Wid"/>
-                    <constraint firstAttribute="trailing" secondItem="tx4-bt-cUh" secondAttribute="trailing" constant="10" id="W7O-qb-aim"/>
-                    <constraint firstItem="lXb-G8-H3F" firstAttribute="leading" secondItem="3ni-3O-NWD" secondAttribute="leading" id="Xjv-F8-Ayu"/>
-                    <constraint firstItem="uhx-SF-mln" firstAttribute="top" secondItem="H2p-sc-9uM" secondAttribute="top" constant="10" id="ahr-dh-XdX"/>
-                    <constraint firstItem="n1n-vD-767" firstAttribute="centerY" secondItem="VsT-rp-W0E" secondAttribute="centerY" id="dT4-ef-cLa"/>
-                    <constraint firstItem="3ni-3O-NWD" firstAttribute="leading" secondItem="H2p-sc-9uM" secondAttribute="leading" constant="10" id="e1S-Zj-dYo"/>
-                    <constraint firstItem="tx4-bt-cUh" firstAttribute="centerY" secondItem="3ni-3O-NWD" secondAttribute="centerY" id="fFJ-sa-EN4"/>
-                    <constraint firstItem="ohh-qk-Inu" firstAttribute="leading" secondItem="H2p-sc-9uM" secondAttribute="leading" id="iKM-NL-byz"/>
-                    <constraint firstItem="sp9-EM-5gs" firstAttribute="leading" secondItem="H2p-sc-9uM" secondAttribute="leading" constant="10" id="q9p-v7-lEr"/>
-                    <constraint firstItem="SQc-1y-yHE" firstAttribute="centerY" secondItem="lXb-G8-H3F" secondAttribute="centerY" id="vPZ-NC-AKb"/>
-                    <constraint firstItem="H2Y-8R-CMe" firstAttribute="width" secondItem="tx4-bt-cUh" secondAttribute="width" id="vRw-fM-hZK"/>
-                    <constraint firstItem="H2Y-8R-CMe" firstAttribute="centerY" secondItem="tx4-bt-cUh" secondAttribute="centerY" id="wMP-WK-vLX"/>
-                </constraints>
-            </tableViewCellContentView>
-            <viewLayoutGuide key="safeArea" id="aW0-zy-SZf"/>
-            <connections>
-                <outlet property="centerAlignBtn" destination="VsT-rp-W0E" id="zNm-Kr-m3M"/>
-                <outlet property="colorAreaView" destination="uhx-SF-mln" id="8nr-Sz-JCZ"/>
-                <outlet property="leftAlignBtn" destination="n1n-vD-767" id="3YB-B6-02M"/>
-                <outlet property="rightAlignBtn" destination="SQc-1y-yHE" id="RKz-tl-IYE"/>
-                <outlet property="sliderArea" destination="ohh-qk-Inu" id="hfq-6F-dgM"/>
-            </connections>
-            <point key="canvasLocation" x="181.67938931297709" y="84.507042253521135"/>
-        </tableViewCell>
-    </objects>
-    <resources>
-        <image name="CPDFEditAligmentCenter" width="16" height="15"/>
-        <image name="CPDFEditAligmentCenterH" width="16" height="15"/>
-        <image name="CPDFEditAlignmentLeft" width="16" height="15"/>
-        <image name="CPDFEditAlignmentLeftHigh" width="16" height="15"/>
-        <image name="CPDFEditAlignmentRight" width="16" height="15"/>
-        <image name="CPDFEditAlignmentRightH" width="16" height="15"/>
-        <image name="CPDFEditBoldNormal" width="15" height="16"/>
-        <image name="CPDFEditHiglight" width="15" height="16"/>
-        <image name="CPDFEditItalicHighlight" width="16" height="16"/>
-        <image name="CPDFEditItalicNormal" width="16" height="16"/>
-        <systemColor name="systemBackgroundColor">
-            <color white="1" alpha="1" colorSpace="custom" customColorSpace="genericGamma22GrayColorSpace"/>
-        </systemColor>
-    </resources>
-</document>

+ 21 - 0
compdfkit-tools/compdfkit-tools/Edit/CPDFEditImageAssets.xcassets/CPDFEditAddImage.imageset/Contents.json

@@ -0,0 +1,21 @@
+{
+  "images" : [
+    {
+      "filename" : "subtoolbar_editpdf_addimage.pdf",
+      "idiom" : "universal",
+      "scale" : "1x"
+    },
+    {
+      "idiom" : "universal",
+      "scale" : "2x"
+    },
+    {
+      "idiom" : "universal",
+      "scale" : "3x"
+    }
+  ],
+  "info" : {
+    "author" : "xcode",
+    "version" : 1
+  }
+}

+ 107 - 0
compdfkit-tools/compdfkit-tools/Edit/CPDFEditImageAssets.xcassets/CPDFEditAddImage.imageset/subtoolbar_editpdf_addimage.pdf

@@ -0,0 +1,107 @@
+%PDF-1.7
+
+1 0 obj
+  << >>
+endobj
+
+2 0 obj
+  << /Length 3 0 R >>
+stream
+/DeviceRGB CS
+/DeviceRGB cs
+q
+1.000000 0.000000 -0.000000 1.000000 0.000000 0.000000 cm
+0.262745 0.278431 0.301961 scn
+0.750000 14.000000 m
+0.000000 14.000000 l
+0.000000 13.250000 l
+0.000000 0.750000 l
+0.000000 0.000000 l
+0.750000 0.000000 l
+17.250000 0.000000 l
+18.000000 0.000000 l
+18.000000 0.750000 l
+18.000000 7.000000 l
+16.500000 7.000000 l
+16.500000 1.500000 l
+16.464727 1.500000 l
+11.121848 6.182244 l
+8.814282 3.750000 l
+4.544956 7.250000 l
+1.500000 4.040523 l
+1.500000 12.500000 l
+12.000000 12.500000 l
+12.000000 14.000000 l
+0.750000 14.000000 l
+h
+12.750000 8.750000 m
+12.750000 7.921573 12.078427 7.250000 11.250000 7.250000 c
+10.421573 7.250000 9.750000 7.921573 9.750000 8.750000 c
+9.750000 9.578427 10.421573 10.250000 11.250000 10.250000 c
+12.078427 10.250000 12.750000 9.578427 12.750000 8.750000 c
+h
+15.000000 10.250000 m
+12.750000 10.250000 l
+12.750000 11.750000 l
+15.000000 11.750000 l
+15.000000 14.000000 l
+16.500000 14.000000 l
+16.500000 11.750000 l
+18.750000 11.750000 l
+18.750000 10.250000 l
+16.500000 10.250000 l
+16.500000 8.000000 l
+15.000000 8.000000 l
+15.000000 10.250000 l
+h
+f*
+n
+Q
+
+endstream
+endobj
+
+3 0 obj
+  1110
+endobj
+
+4 0 obj
+  << /Annots []
+     /Type /Page
+     /MediaBox [ 0.000000 0.000000 18.750000 14.000000 ]
+     /Resources 1 0 R
+     /Contents 2 0 R
+     /Parent 5 0 R
+  >>
+endobj
+
+5 0 obj
+  << /Kids [ 4 0 R ]
+     /Count 1
+     /Type /Pages
+  >>
+endobj
+
+6 0 obj
+  << /Pages 5 0 R
+     /Type /Catalog
+  >>
+endobj
+
+xref
+0 7
+0000000000 65535 f
+0000000010 00000 n
+0000000034 00000 n
+0000001200 00000 n
+0000001223 00000 n
+0000001396 00000 n
+0000001470 00000 n
+trailer
+<< /ID [ (some) (id) ]
+   /Root 6 0 R
+   /Size 7
+>>
+startxref
+1529
+%%EOF

+ 21 - 0
compdfkit-tools/compdfkit-tools/Edit/CPDFEditImageAssets.xcassets/CPDFEditAddText.imageset/Contents.json

@@ -0,0 +1,21 @@
+{
+  "images" : [
+    {
+      "filename" : "addtext.pdf",
+      "idiom" : "universal",
+      "scale" : "1x"
+    },
+    {
+      "idiom" : "universal",
+      "scale" : "2x"
+    },
+    {
+      "idiom" : "universal",
+      "scale" : "3x"
+    }
+  ],
+  "info" : {
+    "author" : "xcode",
+    "version" : 1
+  }
+}

+ 115 - 0
compdfkit-tools/compdfkit-tools/Edit/CPDFEditImageAssets.xcassets/CPDFEditAddText.imageset/addtext.pdf

@@ -0,0 +1,115 @@
+%PDF-1.7
+
+1 0 obj
+  << >>
+endobj
+
+2 0 obj
+  << /Length 3 0 R >>
+stream
+/DeviceRGB CS
+/DeviceRGB cs
+q
+1.000000 0.000000 -0.000000 1.000000 1.000000 3.000000 cm
+0.262745 0.278431 0.301961 scn
+0.750000 14.000000 m
+0.000000 14.000000 l
+0.000000 13.250000 l
+0.000000 0.750000 l
+0.000000 0.000000 l
+0.750000 0.000000 l
+17.250000 0.000000 l
+18.000000 0.000000 l
+18.000000 0.750000 l
+18.000000 7.000000 l
+16.500000 7.000000 l
+16.500000 1.500000 l
+1.500000 1.500000 l
+1.500000 12.500000 l
+12.000000 12.500000 l
+12.000000 14.000000 l
+0.750000 14.000000 l
+h
+11.000000 9.000000 m
+11.000000 11.500000 l
+3.000000 11.500000 l
+3.000000 9.000000 l
+4.500000 9.000000 l
+4.500000 10.000000 l
+6.250000 10.000000 l
+6.250000 4.000000 l
+5.500000 4.000000 l
+5.500000 2.500000 l
+8.500000 2.500000 l
+8.500000 4.000000 l
+7.750000 4.000000 l
+7.750000 10.000000 l
+9.500000 10.000000 l
+9.500000 9.000000 l
+11.000000 9.000000 l
+h
+15.250000 10.250000 m
+13.000000 10.250000 l
+13.000000 11.750000 l
+15.250000 11.750000 l
+15.250000 14.000000 l
+16.750000 14.000000 l
+16.750000 11.750000 l
+19.000000 11.750000 l
+19.000000 10.250000 l
+16.750000 10.250000 l
+16.750000 8.000000 l
+15.250000 8.000000 l
+15.250000 10.250000 l
+h
+f*
+n
+Q
+
+endstream
+endobj
+
+3 0 obj
+  1120
+endobj
+
+4 0 obj
+  << /Annots []
+     /Type /Page
+     /MediaBox [ 0.000000 0.000000 20.000000 20.000000 ]
+     /Resources 1 0 R
+     /Contents 2 0 R
+     /Parent 5 0 R
+  >>
+endobj
+
+5 0 obj
+  << /Kids [ 4 0 R ]
+     /Count 1
+     /Type /Pages
+  >>
+endobj
+
+6 0 obj
+  << /Pages 5 0 R
+     /Type /Catalog
+  >>
+endobj
+
+xref
+0 7
+0000000000 65535 f
+0000000010 00000 n
+0000000034 00000 n
+0000001210 00000 n
+0000001233 00000 n
+0000001406 00000 n
+0000001480 00000 n
+trailer
+<< /ID [ (some) (id) ]
+   /Root 6 0 R
+   /Size 7
+>>
+startxref
+1539
+%%EOF

BIN
compdfkit-tools/compdfkit-tools/Edit/CPDFEditImageAssets.xcassets/CPDFEditAligmentCenter.imageset/AligmentCenter@2x.png


BIN
compdfkit-tools/compdfkit-tools/Edit/CPDFEditImageAssets.xcassets/CPDFEditAligmentCenter.imageset/AligmentCenter@3x.png


+ 1 - 2
compdfkit-tools/compdfkit-tools/Edit/CPDFEditImageAssets.xcassets/CPDFEditAligmentCenter.imageset/Contents.json

@@ -1,16 +1,15 @@
 {
   "images" : [
     {
+      "filename" : "ic.pdf",
       "idiom" : "universal",
       "scale" : "1x"
     },
     {
-      "filename" : "AligmentCenter@2x.png",
       "idiom" : "universal",
       "scale" : "2x"
     },
     {
-      "filename" : "AligmentCenter@3x.png",
       "idiom" : "universal",
       "scale" : "3x"
     }

+ 83 - 0
compdfkit-tools/compdfkit-tools/Edit/CPDFEditImageAssets.xcassets/CPDFEditAligmentCenter.imageset/ic.pdf

@@ -0,0 +1,83 @@
+%PDF-1.7
+
+1 0 obj
+  << >>
+endobj
+
+2 0 obj
+  << /Length 3 0 R >>
+stream
+/DeviceRGB CS
+/DeviceRGB cs
+q
+1.000000 0.000000 -0.000000 1.000000 0.000000 4.000000 cm
+0.000000 0.000000 0.000000 scn
+16.000000 8.000000 m
+16.000000 9.000000 l
+0.000000 9.000000 l
+0.000000 8.000000 l
+16.000000 8.000000 l
+h
+16.000000 0.000000 m
+16.000000 1.000000 l
+0.000000 1.000000 l
+0.000000 0.000000 l
+16.000000 0.000000 l
+h
+13.000000 5.000000 m
+13.000000 4.000000 l
+3.000000 4.000000 l
+3.000000 5.000000 l
+13.000000 5.000000 l
+h
+f*
+n
+Q
+
+endstream
+endobj
+
+3 0 obj
+  441
+endobj
+
+4 0 obj
+  << /Annots []
+     /Type /Page
+     /MediaBox [ 0.000000 0.000000 16.000000 16.000000 ]
+     /Resources 1 0 R
+     /Contents 2 0 R
+     /Parent 5 0 R
+  >>
+endobj
+
+5 0 obj
+  << /Kids [ 4 0 R ]
+     /Count 1
+     /Type /Pages
+  >>
+endobj
+
+6 0 obj
+  << /Pages 5 0 R
+     /Type /Catalog
+  >>
+endobj
+
+xref
+0 7
+0000000000 65535 f
+0000000010 00000 n
+0000000034 00000 n
+0000000531 00000 n
+0000000553 00000 n
+0000000726 00000 n
+0000000800 00000 n
+trailer
+<< /ID [ (some) (id) ]
+   /Root 6 0 R
+   /Size 7
+>>
+startxref
+859
+%%EOF

BIN
compdfkit-tools/compdfkit-tools/Edit/CPDFEditImageAssets.xcassets/CPDFEditAlignmentLeft.imageset/AlignmentLeft@2x.png


BIN
compdfkit-tools/compdfkit-tools/Edit/CPDFEditImageAssets.xcassets/CPDFEditAlignmentLeft.imageset/AlignmentLeft@3x.png


+ 1 - 2
compdfkit-tools/compdfkit-tools/Edit/CPDFEditImageAssets.xcassets/CPDFEditAlignmentLeft.imageset/Contents.json

@@ -1,16 +1,15 @@
 {
   "images" : [
     {
+      "filename" : "ic.pdf",
       "idiom" : "universal",
       "scale" : "1x"
     },
     {
-      "filename" : "AlignmentLeft@2x.png",
       "idiom" : "universal",
       "scale" : "2x"
     },
     {
-      "filename" : "AlignmentLeft@3x.png",
       "idiom" : "universal",
       "scale" : "3x"
     }

+ 83 - 0
compdfkit-tools/compdfkit-tools/Edit/CPDFEditImageAssets.xcassets/CPDFEditAlignmentLeft.imageset/ic.pdf

@@ -0,0 +1,83 @@
+%PDF-1.7
+
+1 0 obj
+  << >>
+endobj
+
+2 0 obj
+  << /Length 3 0 R >>
+stream
+/DeviceRGB CS
+/DeviceRGB cs
+q
+1.000000 0.000000 -0.000000 1.000000 0.000000 4.000000 cm
+0.000000 0.000000 0.000000 scn
+13.000000 8.000000 m
+13.000000 9.000000 l
+0.000000 9.000000 l
+0.000000 8.000000 l
+13.000000 8.000000 l
+h
+16.000000 4.000000 m
+16.000000 5.000000 l
+0.000000 5.000000 l
+0.000000 4.000000 l
+16.000000 4.000000 l
+h
+10.000000 1.000000 m
+10.000000 0.000000 l
+0.000000 0.000000 l
+0.000000 1.000000 l
+10.000000 1.000000 l
+h
+f*
+n
+Q
+
+endstream
+endobj
+
+3 0 obj
+  441
+endobj
+
+4 0 obj
+  << /Annots []
+     /Type /Page
+     /MediaBox [ 0.000000 0.000000 16.000000 16.000000 ]
+     /Resources 1 0 R
+     /Contents 2 0 R
+     /Parent 5 0 R
+  >>
+endobj
+
+5 0 obj
+  << /Kids [ 4 0 R ]
+     /Count 1
+     /Type /Pages
+  >>
+endobj
+
+6 0 obj
+  << /Pages 5 0 R
+     /Type /Catalog
+  >>
+endobj
+
+xref
+0 7
+0000000000 65535 f
+0000000010 00000 n
+0000000034 00000 n
+0000000531 00000 n
+0000000553 00000 n
+0000000726 00000 n
+0000000800 00000 n
+trailer
+<< /ID [ (some) (id) ]
+   /Root 6 0 R
+   /Size 7
+>>
+startxref
+859
+%%EOF

BIN
compdfkit-tools/compdfkit-tools/Edit/CPDFEditImageAssets.xcassets/CPDFEditAlignmentRight.imageset/AlignmentRight@2x.png


BIN
compdfkit-tools/compdfkit-tools/Edit/CPDFEditImageAssets.xcassets/CPDFEditAlignmentRight.imageset/AlignmentRight@3x.png


+ 1 - 2
compdfkit-tools/compdfkit-tools/Edit/CPDFEditImageAssets.xcassets/CPDFEditAlignmentRight.imageset/Contents.json

@@ -1,16 +1,15 @@
 {
   "images" : [
     {
+      "filename" : "ic.pdf",
       "idiom" : "universal",
       "scale" : "1x"
     },
     {
-      "filename" : "AlignmentRight@2x.png",
       "idiom" : "universal",
       "scale" : "2x"
     },
     {
-      "filename" : "AlignmentRight@3x.png",
       "idiom" : "universal",
       "scale" : "3x"
     }

+ 83 - 0
compdfkit-tools/compdfkit-tools/Edit/CPDFEditImageAssets.xcassets/CPDFEditAlignmentRight.imageset/ic.pdf

@@ -0,0 +1,83 @@
+%PDF-1.7
+
+1 0 obj
+  << >>
+endobj
+
+2 0 obj
+  << /Length 3 0 R >>
+stream
+/DeviceRGB CS
+/DeviceRGB cs
+q
+1.000000 0.000000 -0.000000 1.000000 0.000977 4.000000 cm
+0.000000 0.000000 0.000000 scn
+15.999023 8.000000 m
+15.999023 9.000000 l
+2.999817 9.000000 l
+2.999817 8.000000 l
+15.999023 8.000000 l
+h
+15.999023 4.000000 m
+15.999023 5.000000 l
+0.000000 5.000000 l
+0.000000 4.000000 l
+15.999023 4.000000 l
+h
+15.999023 1.000000 m
+15.999023 0.000000 l
+5.999634 0.000000 l
+5.999634 1.000000 l
+15.999023 1.000000 l
+h
+f*
+n
+Q
+
+endstream
+endobj
+
+3 0 obj
+  441
+endobj
+
+4 0 obj
+  << /Annots []
+     /Type /Page
+     /MediaBox [ 0.000000 0.000000 16.000000 16.000000 ]
+     /Resources 1 0 R
+     /Contents 2 0 R
+     /Parent 5 0 R
+  >>
+endobj
+
+5 0 obj
+  << /Kids [ 4 0 R ]
+     /Count 1
+     /Type /Pages
+  >>
+endobj
+
+6 0 obj
+  << /Pages 5 0 R
+     /Type /Catalog
+  >>
+endobj
+
+xref
+0 7
+0000000000 65535 f
+0000000010 00000 n
+0000000034 00000 n
+0000000531 00000 n
+0000000553 00000 n
+0000000726 00000 n
+0000000800 00000 n
+trailer
+<< /ID [ (some) (id) ]
+   /Root 6 0 R
+   /Size 7
+>>
+startxref
+859
+%%EOF

+ 21 - 0
compdfkit-tools/compdfkit-tools/Edit/CPDFEditImageAssets.xcassets/CPDFEditArrow.imageset/Contents.json

@@ -0,0 +1,21 @@
+{
+  "images" : [
+    {
+      "filename" : "arrow.pdf",
+      "idiom" : "universal",
+      "scale" : "1x"
+    },
+    {
+      "idiom" : "universal",
+      "scale" : "2x"
+    },
+    {
+      "idiom" : "universal",
+      "scale" : "3x"
+    }
+  ],
+  "info" : {
+    "author" : "xcode",
+    "version" : 1
+  }
+}

+ 70 - 0
compdfkit-tools/compdfkit-tools/Edit/CPDFEditImageAssets.xcassets/CPDFEditArrow.imageset/arrow.pdf

@@ -0,0 +1,70 @@
+%PDF-1.7
+
+1 0 obj
+  << >>
+endobj
+
+2 0 obj
+  << /Length 3 0 R >>
+stream
+/DeviceRGB CS
+/DeviceRGB cs
+q
+1.000000 0.000000 -0.000000 1.000000 7.000000 9.000000 cm
+0.258000 0.273273 0.300000 scn
+0.000000 5.000000 m
+5.000000 0.000000 l
+10.000000 5.000000 l
+0.000000 5.000000 l
+h
+f
+n
+Q
+
+endstream
+endobj
+
+3 0 obj
+  208
+endobj
+
+4 0 obj
+  << /Annots []
+     /Type /Page
+     /MediaBox [ 0.000000 0.000000 24.000000 24.000000 ]
+     /Resources 1 0 R
+     /Contents 2 0 R
+     /Parent 5 0 R
+  >>
+endobj
+
+5 0 obj
+  << /Kids [ 4 0 R ]
+     /Count 1
+     /Type /Pages
+  >>
+endobj
+
+6 0 obj
+  << /Pages 5 0 R
+     /Type /Catalog
+  >>
+endobj
+
+xref
+0 7
+0000000000 65535 f
+0000000010 00000 n
+0000000034 00000 n
+0000000298 00000 n
+0000000320 00000 n
+0000000493 00000 n
+0000000567 00000 n
+trailer
+<< /ID [ (some) (id) ]
+   /Root 6 0 R
+   /Size 7
+>>
+startxref
+626
+%%EOF

BIN
compdfkit-tools/compdfkit-tools/Edit/CPDFEditImageAssets.xcassets/CPDFEditBoldNormal.imageset/BoldNormal@2x.png


BIN
compdfkit-tools/compdfkit-tools/Edit/CPDFEditImageAssets.xcassets/CPDFEditBoldNormal.imageset/BoldNormal@3x.png


+ 1 - 2
compdfkit-tools/compdfkit-tools/Edit/CPDFEditImageAssets.xcassets/CPDFEditBoldNormal.imageset/Contents.json

@@ -1,16 +1,15 @@
 {
   "images" : [
     {
+      "filename" : "ic.pdf",
       "idiom" : "universal",
       "scale" : "1x"
     },
     {
-      "filename" : "BoldNormal@2x.png",
       "idiom" : "universal",
       "scale" : "2x"
     },
     {
-      "filename" : "BoldNormal@3x.png",
       "idiom" : "universal",
       "scale" : "3x"
     }

+ 105 - 0
compdfkit-tools/compdfkit-tools/Edit/CPDFEditImageAssets.xcassets/CPDFEditBoldNormal.imageset/ic.pdf

@@ -0,0 +1,105 @@
+%PDF-1.7
+
+1 0 obj
+  << >>
+endobj
+
+2 0 obj
+  << /Length 3 0 R >>
+stream
+/DeviceRGB CS
+/DeviceRGB cs
+q
+1.000000 0.000000 -0.000000 1.000000 6.628906 5.000000 cm
+0.286275 0.509804 0.901961 scn
+8.751858 7.259878 m
+8.876074 7.308465 8.992642 7.362464 9.101562 7.421875 c
+9.680989 7.740885 10.094401 8.154297 10.341797 8.662109 c
+10.589192 9.169922 10.712891 9.713541 10.712891 10.292969 c
+10.712891 10.957031 10.585938 11.533203 10.332031 12.021484 c
+10.078125 12.516276 9.707031 12.926433 9.218750 13.251953 c
+8.736979 13.577474 8.151042 13.818359 7.460938 13.974609 c
+6.770833 14.137370 5.986328 14.218750 5.107422 14.218750 c
+0.000000 14.218750 l
+0.000000 0.000000 l
+5.664062 0.000000 l
+6.835938 0.000000 7.819010 0.156250 8.613281 0.468750 c
+9.407552 0.781250 10.003255 1.250000 10.400391 1.875000 c
+10.804036 2.500000 11.005859 3.277995 11.005859 4.208984 c
+11.005859 4.755859 10.885417 5.279948 10.644531 5.781250 c
+10.403646 6.282552 10.003255 6.686198 9.443359 6.992188 c
+9.239742 7.104776 9.009242 7.194005 8.751858 7.259878 c
+h
+3.427734 6.044922 m
+3.427734 2.636719 l
+5.664062 2.636719 l
+6.132812 2.636719 6.507162 2.708333 6.787109 2.851562 c
+7.073568 3.001302 7.278646 3.196614 7.402344 3.437500 c
+7.532552 3.684896 7.597656 3.958333 7.597656 4.257812 c
+7.597656 4.622396 7.535807 4.938151 7.412109 5.205078 c
+7.294922 5.472005 7.106120 5.677083 6.845703 5.820312 c
+6.585287 5.970052 6.236979 6.044922 5.800781 6.044922 c
+3.427734 6.044922 l
+h
+5.087891 8.291016 m
+5.621745 8.291016 6.048177 8.349609 6.367188 8.466797 c
+6.686198 8.590494 6.917318 8.769531 7.060547 9.003906 c
+7.210287 9.238281 7.285156 9.531250 7.285156 9.882812 c
+7.285156 10.286458 7.210287 10.611979 7.060547 10.859375 c
+6.910807 11.106771 6.673177 11.285808 6.347656 11.396484 c
+6.028646 11.513672 5.615234 11.572266 5.107422 11.572266 c
+3.427734 11.572266 l
+3.427734 8.291016 l
+5.087891 8.291016 l
+h
+f*
+n
+Q
+
+endstream
+endobj
+
+3 0 obj
+  1815
+endobj
+
+4 0 obj
+  << /Annots []
+     /Type /Page
+     /MediaBox [ 0.000000 0.000000 24.000000 24.000000 ]
+     /Resources 1 0 R
+     /Contents 2 0 R
+     /Parent 5 0 R
+  >>
+endobj
+
+5 0 obj
+  << /Kids [ 4 0 R ]
+     /Count 1
+     /Type /Pages
+  >>
+endobj
+
+6 0 obj
+  << /Pages 5 0 R
+     /Type /Catalog
+  >>
+endobj
+
+xref
+0 7
+0000000000 65535 f
+0000000010 00000 n
+0000000034 00000 n
+0000001905 00000 n
+0000001928 00000 n
+0000002101 00000 n
+0000002175 00000 n
+trailer
+<< /ID [ (some) (id) ]
+   /Root 6 0 R
+   /Size 7
+>>
+startxref
+2234
+%%EOF

+ 1 - 2
compdfkit-tools/compdfkit-tools/Edit/CPDFEditImageAssets.xcassets/CPDFEditCrop.imageset/Contents.json

@@ -1,16 +1,15 @@
 {
   "images" : [
     {
+      "filename" : "tailor.pdf",
       "idiom" : "universal",
       "scale" : "1x"
     },
     {
-      "filename" : "crop@2x.png",
       "idiom" : "universal",
       "scale" : "2x"
     },
     {
-      "filename" : "crop@3x.png",
       "idiom" : "universal",
       "scale" : "3x"
     }

BIN
compdfkit-tools/compdfkit-tools/Edit/CPDFEditImageAssets.xcassets/CPDFEditCrop.imageset/crop@2x.png


BIN
compdfkit-tools/compdfkit-tools/Edit/CPDFEditImageAssets.xcassets/CPDFEditCrop.imageset/crop@3x.png


+ 120 - 0
compdfkit-tools/compdfkit-tools/Edit/CPDFEditImageAssets.xcassets/CPDFEditCrop.imageset/tailor.pdf

@@ -0,0 +1,120 @@
+%PDF-1.7
+
+1 0 obj
+  << >>
+endobj
+
+2 0 obj
+  << /Length 3 0 R >>
+stream
+/DeviceRGB CS
+/DeviceRGB cs
+q
+1.000000 0.000000 -0.000000 1.000000 0.000000 0.500000 cm
+0.262745 0.278431 0.301961 scn
+4.750000 3.750000 m
+4.750000 15.250000 l
+14.407419 15.250000 l
+13.951709 14.761739 l
+15.048291 13.738261 l
+15.250000 13.954378 l
+15.250000 3.750000 l
+4.750000 3.750000 l
+h
+3.250000 3.000000 m
+3.250000 15.250000 l
+0.000000 15.250000 l
+0.000000 16.750000 l
+3.250000 16.750000 l
+3.250000 19.000000 l
+4.750000 19.000000 l
+4.750000 16.750000 l
+16.000000 16.750000 l
+16.750000 16.750000 l
+16.750000 16.000000 l
+16.750000 3.750000 l
+20.000000 3.750000 l
+20.000000 2.250000 l
+16.750000 2.250000 l
+16.750000 0.000000 l
+15.250000 0.000000 l
+15.250000 2.250000 l
+4.000000 2.250000 l
+3.250000 2.250000 l
+3.250000 3.000000 l
+h
+17.848289 16.738260 m
+18.548290 17.488262 l
+17.451710 18.511738 l
+16.751707 17.761738 l
+17.848289 16.738260 l
+h
+12.248292 10.738262 m
+13.648292 12.238260 l
+12.551708 13.261738 l
+11.151709 11.761739 l
+12.248292 10.738262 l
+h
+9.448292 7.738261 m
+10.848291 9.238261 l
+9.751709 10.261738 l
+8.351708 8.761739 l
+9.448292 7.738261 l
+h
+6.648292 4.738261 m
+8.048292 6.238261 l
+6.951709 7.261739 l
+5.551709 5.761739 l
+6.648292 4.738261 l
+h
+f*
+n
+Q
+
+endstream
+endobj
+
+3 0 obj
+  1170
+endobj
+
+4 0 obj
+  << /Annots []
+     /Type /Page
+     /MediaBox [ 0.000000 0.000000 20.000000 20.000000 ]
+     /Resources 1 0 R
+     /Contents 2 0 R
+     /Parent 5 0 R
+  >>
+endobj
+
+5 0 obj
+  << /Kids [ 4 0 R ]
+     /Count 1
+     /Type /Pages
+  >>
+endobj
+
+6 0 obj
+  << /Pages 5 0 R
+     /Type /Catalog
+  >>
+endobj
+
+xref
+0 7
+0000000000 65535 f
+0000000010 00000 n
+0000000034 00000 n
+0000001260 00000 n
+0000001283 00000 n
+0000001456 00000 n
+0000001530 00000 n
+trailer
+<< /ID [ (some) (id) ]
+   /Root 6 0 R
+   /Size 7
+>>
+startxref
+1589
+%%EOF

+ 1 - 2
compdfkit-tools/compdfkit-tools/Edit/CPDFEditImageAssets.xcassets/CPDFEditExport.imageset/Contents.json

@@ -1,16 +1,15 @@
 {
   "images" : [
     {
+      "filename" : "download.pdf",
       "idiom" : "universal",
       "scale" : "1x"
     },
     {
-      "filename" : "export@2x.png",
       "idiom" : "universal",
       "scale" : "2x"
     },
     {
-      "filename" : "export@3x.png",
       "idiom" : "universal",
       "scale" : "3x"
     }

+ 96 - 0
compdfkit-tools/compdfkit-tools/Edit/CPDFEditImageAssets.xcassets/CPDFEditExport.imageset/download.pdf

@@ -0,0 +1,96 @@
+%PDF-1.7
+
+1 0 obj
+  << >>
+endobj
+
+2 0 obj
+  << /Length 3 0 R >>
+stream
+/DeviceRGB CS
+/DeviceRGB cs
+q
+1.000000 0.000000 -0.000000 1.000000 2.000000 2.143555 cm
+0.262745 0.278431 0.301961 scn
+9.963589 14.356445 m
+13.340351 14.356445 l
+6.465892 7.382970 l
+7.534108 6.329921 l
+14.356445 13.250523 l
+14.356445 9.567984 l
+15.856445 9.567984 l
+15.856445 15.106445 l
+15.856445 15.856445 l
+15.106445 15.856445 l
+9.963589 15.856445 l
+9.963589 14.356445 l
+h
+0.750000 15.230019 m
+0.000000 15.230019 l
+0.000000 14.480019 l
+0.000000 0.750039 l
+0.000000 0.000039 l
+0.750000 0.000039 l
+14.479980 0.000039 l
+15.229980 0.000039 l
+15.229980 0.750039 l
+15.229980 7.615028 l
+13.729980 7.615028 l
+13.729980 1.500039 l
+1.500000 1.500039 l
+1.500000 13.730019 l
+7.614990 13.730019 l
+7.614990 15.230019 l
+0.750000 15.230019 l
+h
+f*
+n
+Q
+
+endstream
+endobj
+
+3 0 obj
+  738
+endobj
+
+4 0 obj
+  << /Annots []
+     /Type /Page
+     /MediaBox [ 0.000000 0.000000 20.000000 20.000000 ]
+     /Resources 1 0 R
+     /Contents 2 0 R
+     /Parent 5 0 R
+  >>
+endobj
+
+5 0 obj
+  << /Kids [ 4 0 R ]
+     /Count 1
+     /Type /Pages
+  >>
+endobj
+
+6 0 obj
+  << /Pages 5 0 R
+     /Type /Catalog
+  >>
+endobj
+
+xref
+0 7
+0000000000 65535 f
+0000000010 00000 n
+0000000034 00000 n
+0000000828 00000 n
+0000000850 00000 n
+0000001023 00000 n
+0000001097 00000 n
+trailer
+<< /ID [ (some) (id) ]
+   /Root 6 0 R
+   /Size 7
+>>
+startxref
+1156
+%%EOF

BIN
compdfkit-tools/compdfkit-tools/Edit/CPDFEditImageAssets.xcassets/CPDFEditExport.imageset/export@2x.png


BIN
compdfkit-tools/compdfkit-tools/Edit/CPDFEditImageAssets.xcassets/CPDFEditExport.imageset/export@3x.png


BIN
compdfkit-tools/compdfkit-tools/Edit/CPDFEditImageAssets.xcassets/CPDFEditHorizontalFlip.imageset/CPDFEditHorizontalFlip@2x.png


BIN
compdfkit-tools/compdfkit-tools/Edit/CPDFEditImageAssets.xcassets/CPDFEditHorizontalFlip.imageset/CPDFEditHorizontalFlip@3x.png


+ 1 - 2
compdfkit-tools/compdfkit-tools/Edit/CPDFEditImageAssets.xcassets/CPDFEditHorizontalFlip.imageset/Contents.json

@@ -1,16 +1,15 @@
 {
   "images" : [
     {
+      "filename" : "Icon.pdf",
       "idiom" : "universal",
       "scale" : "1x"
     },
     {
-      "filename" : "CPDFEditHorizontalFlip@2x.png",
       "idiom" : "universal",
       "scale" : "2x"
     },
     {
-      "filename" : "CPDFEditHorizontalFlip@3x.png",
       "idiom" : "universal",
       "scale" : "3x"
     }

+ 98 - 0
compdfkit-tools/compdfkit-tools/Edit/CPDFEditImageAssets.xcassets/CPDFEditHorizontalFlip.imageset/Icon.pdf

@@ -0,0 +1,98 @@
+%PDF-1.7
+
+1 0 obj
+  << >>
+endobj
+
+2 0 obj
+  << /Length 3 0 R >>
+stream
+/DeviceRGB CS
+/DeviceRGB cs
+q
+1.000000 0.000000 -0.000000 1.000000 0.000000 0.000000 cm
+0.866667 0.912108 1.000000 scn
+0.000000 32.000000 m
+49.000000 32.000000 l
+49.000000 0.000000 l
+0.000000 0.000000 l
+0.000000 32.000000 l
+h
+f
+n
+Q
+q
+1.000000 0.000000 -0.000000 1.000000 17.000000 9.500000 cm
+0.262745 0.278431 0.301961 scn
+7.529412 0.000050 m
+0.000000 0.000050 l
+7.529412 13.000000 l
+7.529412 0.000050 l
+h
+9.470588 1.000050 m
+14.265192 1.000050 l
+9.470588 9.278200 l
+9.470588 1.000050 l
+h
+16.000000 0.000050 m
+14.844379 0.000050 l
+9.470588 0.000050 l
+8.470588 0.000050 l
+8.470588 1.000050 l
+8.470588 11.004756 l
+8.470588 13.000000 l
+9.470588 11.273444 l
+15.420813 1.000050 l
+16.000000 0.000050 l
+h
+f*
+n
+Q
+
+endstream
+endobj
+
+3 0 obj
+  706
+endobj
+
+4 0 obj
+  << /Annots []
+     /Type /Page
+     /MediaBox [ 0.000000 0.000000 49.000000 32.000000 ]
+     /Resources 1 0 R
+     /Contents 2 0 R
+     /Parent 5 0 R
+  >>
+endobj
+
+5 0 obj
+  << /Kids [ 4 0 R ]
+     /Count 1
+     /Type /Pages
+  >>
+endobj
+
+6 0 obj
+  << /Pages 5 0 R
+     /Type /Catalog
+  >>
+endobj
+
+xref
+0 7
+0000000000 65535 f
+0000000010 00000 n
+0000000034 00000 n
+0000000796 00000 n
+0000000818 00000 n
+0000000991 00000 n
+0000001065 00000 n
+trailer
+<< /ID [ (some) (id) ]
+   /Root 6 0 R
+   /Size 7
+>>
+startxref
+1124
+%%EOF

+ 1 - 2
compdfkit-tools/compdfkit-tools/Edit/CPDFEditImageAssets.xcassets/CPDFEditIRotate.imageset/Contents.json

@@ -1,16 +1,15 @@
 {
   "images" : [
     {
+      "filename" : "rotate.pdf",
       "idiom" : "universal",
       "scale" : "1x"
     },
     {
-      "filename" : "lRotate@2x.png",
       "idiom" : "universal",
       "scale" : "2x"
     },
     {
-      "filename" : "lRotate@3x.png",
       "idiom" : "universal",
       "scale" : "3x"
     }

BIN
compdfkit-tools/compdfkit-tools/Edit/CPDFEditImageAssets.xcassets/CPDFEditIRotate.imageset/lRotate@2x.png


BIN
compdfkit-tools/compdfkit-tools/Edit/CPDFEditImageAssets.xcassets/CPDFEditIRotate.imageset/lRotate@3x.png


+ 86 - 0
compdfkit-tools/compdfkit-tools/Edit/CPDFEditImageAssets.xcassets/CPDFEditIRotate.imageset/rotate.pdf

@@ -0,0 +1,86 @@
+%PDF-1.7
+
+1 0 obj
+  << >>
+endobj
+
+2 0 obj
+  << /Length 3 0 R >>
+stream
+/DeviceRGB CS
+/DeviceRGB cs
+q
+1.000000 0.000000 -0.000000 1.000000 1.000000 0.000000 cm
+0.262745 0.278431 0.301961 scn
+6.146447 13.732195 m
+5.792893 13.378642 l
+6.146447 13.025088 l
+8.267767 10.903769 l
+8.974874 11.610875 l
+7.635837 12.949912 l
+7.942323 12.926481 l
+10.808236 12.474705 13.000000 9.992842 13.000000 6.999980 c
+13.000000 3.686272 10.313708 0.999980 7.000000 0.999980 c
+3.686291 0.999980 1.000000 3.686272 1.000000 6.999980 c
+1.000000 8.984998 1.963437 10.744915 3.450374 11.837889 c
+2.858110 12.643633 l
+1.125861 11.370342 0.000000 9.316601 0.000000 6.999980 c
+0.000000 3.133986 3.134007 -0.000020 7.000000 -0.000020 c
+10.865993 -0.000020 14.000000 3.133986 14.000000 6.999980 c
+14.000000 10.500211 11.431445 13.399603 8.076302 13.917675 c
+7.979780 13.932579 7.882627 13.945509 7.784888 13.956423 c
+8.974874 15.146409 l
+8.267767 15.853516 l
+6.146447 13.732195 l
+h
+f*
+n
+Q
+
+endstream
+endobj
+
+3 0 obj
+  886
+endobj
+
+4 0 obj
+  << /Annots []
+     /Type /Page
+     /MediaBox [ 0.000000 0.000000 16.000000 16.000000 ]
+     /Resources 1 0 R
+     /Contents 2 0 R
+     /Parent 5 0 R
+  >>
+endobj
+
+5 0 obj
+  << /Kids [ 4 0 R ]
+     /Count 1
+     /Type /Pages
+  >>
+endobj
+
+6 0 obj
+  << /Pages 5 0 R
+     /Type /Catalog
+  >>
+endobj
+
+xref
+0 7
+0000000000 65535 f
+0000000010 00000 n
+0000000034 00000 n
+0000000976 00000 n
+0000000998 00000 n
+0000001171 00000 n
+0000001245 00000 n
+trailer
+<< /ID [ (some) (id) ]
+   /Root 6 0 R
+   /Size 7
+>>
+startxref
+1304
+%%EOF

+ 1 - 2
compdfkit-tools/compdfkit-tools/Edit/CPDFEditImageAssets.xcassets/CPDFEditItalicNormal.imageset/Contents.json

@@ -1,16 +1,15 @@
 {
   "images" : [
     {
+      "filename" : "ic.pdf",
       "idiom" : "universal",
       "scale" : "1x"
     },
     {
-      "filename" : "ItalicNormal@2x.png",
       "idiom" : "universal",
       "scale" : "2x"
     },
     {
-      "filename" : "ItalicNormal@3x.png",
       "idiom" : "universal",
       "scale" : "3x"
     }

BIN
compdfkit-tools/compdfkit-tools/Edit/CPDFEditImageAssets.xcassets/CPDFEditItalicNormal.imageset/ItalicNormal@2x.png


BIN
compdfkit-tools/compdfkit-tools/Edit/CPDFEditImageAssets.xcassets/CPDFEditItalicNormal.imageset/ItalicNormal@3x.png


+ 79 - 0
compdfkit-tools/compdfkit-tools/Edit/CPDFEditImageAssets.xcassets/CPDFEditItalicNormal.imageset/ic.pdf

@@ -0,0 +1,79 @@
+%PDF-1.7
+
+1 0 obj
+  << >>
+endobj
+
+2 0 obj
+  << /Length 3 0 R >>
+stream
+/DeviceRGB CS
+/DeviceRGB cs
+q
+1.000000 0.000000 -0.000000 1.000000 6.500000 5.000000 cm
+0.258000 0.273273 0.300000 scn
+11.000000 11.000000 m
+8.333333 11.000000 l
+5.666667 3.000000 l
+8.000000 3.000000 l
+8.000000 0.000000 l
+0.000000 0.000000 l
+0.000000 3.000000 l
+2.666667 3.000000 l
+5.333333 11.000000 l
+3.000000 11.000000 l
+3.000000 14.000000 l
+11.000000 14.000000 l
+11.000000 11.000000 l
+h
+f*
+n
+Q
+
+endstream
+endobj
+
+3 0 obj
+  398
+endobj
+
+4 0 obj
+  << /Annots []
+     /Type /Page
+     /MediaBox [ 0.000000 0.000000 24.000000 24.000000 ]
+     /Resources 1 0 R
+     /Contents 2 0 R
+     /Parent 5 0 R
+  >>
+endobj
+
+5 0 obj
+  << /Kids [ 4 0 R ]
+     /Count 1
+     /Type /Pages
+  >>
+endobj
+
+6 0 obj
+  << /Pages 5 0 R
+     /Type /Catalog
+  >>
+endobj
+
+xref
+0 7
+0000000000 65535 f
+0000000010 00000 n
+0000000034 00000 n
+0000000488 00000 n
+0000000510 00000 n
+0000000683 00000 n
+0000000757 00000 n
+trailer
+<< /ID [ (some) (id) ]
+   /Root 6 0 R
+   /Size 7
+>>
+startxref
+816
+%%EOF

+ 1 - 2
compdfkit-tools/compdfkit-tools/Edit/CPDFEditImageAssets.xcassets/CPDFEditRRotate.imageset/Contents.json

@@ -1,16 +1,15 @@
 {
   "images" : [
     {
+      "filename" : "rotate.pdf",
       "idiom" : "universal",
       "scale" : "1x"
     },
     {
-      "filename" : "rRotate@2x.png",
       "idiom" : "universal",
       "scale" : "2x"
     },
     {
-      "filename" : "rRotate@3x.png",
       "idiom" : "universal",
       "scale" : "3x"
     }

BIN
compdfkit-tools/compdfkit-tools/Edit/CPDFEditImageAssets.xcassets/CPDFEditRRotate.imageset/rRotate@2x.png


BIN
compdfkit-tools/compdfkit-tools/Edit/CPDFEditImageAssets.xcassets/CPDFEditRRotate.imageset/rRotate@3x.png


+ 86 - 0
compdfkit-tools/compdfkit-tools/Edit/CPDFEditImageAssets.xcassets/CPDFEditRRotate.imageset/rotate.pdf

@@ -0,0 +1,86 @@
+%PDF-1.7
+
+1 0 obj
+  << >>
+endobj
+
+2 0 obj
+  << /Length 3 0 R >>
+stream
+/DeviceRGB CS
+/DeviceRGB cs
+q
+-1.000000 -0.000000 -0.000000 1.000000 15.000000 0.000000 cm
+0.262745 0.278431 0.301961 scn
+6.146447 13.732195 m
+5.792893 13.378642 l
+6.146447 13.025088 l
+8.267767 10.903769 l
+8.974874 11.610875 l
+7.635837 12.949912 l
+7.942323 12.926481 l
+10.808236 12.474705 13.000000 9.992842 13.000000 6.999980 c
+13.000000 3.686272 10.313708 0.999980 7.000000 0.999980 c
+3.686291 0.999980 1.000000 3.686272 1.000000 6.999980 c
+1.000000 8.984998 1.963437 10.744915 3.450374 11.837889 c
+2.858110 12.643633 l
+1.125861 11.370342 0.000000 9.316601 0.000000 6.999980 c
+0.000000 3.133986 3.134007 -0.000020 7.000000 -0.000020 c
+10.865993 -0.000020 14.000000 3.133986 14.000000 6.999980 c
+14.000000 10.500211 11.431445 13.399603 8.076302 13.917675 c
+7.979780 13.932579 7.882627 13.945509 7.784888 13.956423 c
+8.974874 15.146409 l
+8.267767 15.853516 l
+6.146447 13.732195 l
+h
+f*
+n
+Q
+
+endstream
+endobj
+
+3 0 obj
+  889
+endobj
+
+4 0 obj
+  << /Annots []
+     /Type /Page
+     /MediaBox [ 0.000000 0.000000 16.000000 16.000000 ]
+     /Resources 1 0 R
+     /Contents 2 0 R
+     /Parent 5 0 R
+  >>
+endobj
+
+5 0 obj
+  << /Kids [ 4 0 R ]
+     /Count 1
+     /Type /Pages
+  >>
+endobj
+
+6 0 obj
+  << /Pages 5 0 R
+     /Type /Catalog
+  >>
+endobj
+
+xref
+0 7
+0000000000 65535 f
+0000000010 00000 n
+0000000034 00000 n
+0000000979 00000 n
+0000001001 00000 n
+0000001174 00000 n
+0000001248 00000 n
+trailer
+<< /ID [ (some) (id) ]
+   /Root 6 0 R
+   /Size 7
+>>
+startxref
+1307
+%%EOF

+ 1 - 2
compdfkit-tools/compdfkit-tools/Edit/CPDFEditImageAssets.xcassets/CPDFEditRedo.imageset/Contents.json

@@ -1,16 +1,15 @@
 {
   "images" : [
     {
+      "filename" : "redo.pdf",
       "idiom" : "universal",
       "scale" : "1x"
     },
     {
-      "filename" : "redo@2x.png",
       "idiom" : "universal",
       "scale" : "2x"
     },
     {
-      "filename" : "redo@3x.png",
       "idiom" : "universal",
       "scale" : "3x"
     }

+ 84 - 0
compdfkit-tools/compdfkit-tools/Edit/CPDFEditImageAssets.xcassets/CPDFEditRedo.imageset/redo.pdf

@@ -0,0 +1,84 @@
+%PDF-1.7
+
+1 0 obj
+  << >>
+endobj
+
+2 0 obj
+  << /Length 3 0 R >>
+stream
+/DeviceRGB CS
+/DeviceRGB cs
+q
+-1.000000 -0.000000 -0.000000 1.000000 16.810547 4.098362 cm
+0.262745 0.278431 0.301961 scn
+0.530330 8.280331 m
+0.000000 7.750000 l
+0.530330 7.219670 l
+4.151638 3.598363 l
+5.212297 4.659023 l
+2.871320 7.000000 l
+9.560660 7.000000 l
+11.079443 7.000000 12.310660 5.768784 12.310660 4.250000 c
+12.310660 2.731217 11.079443 1.500000 9.560660 1.500000 c
+2.060660 1.500000 l
+2.060660 0.000000 l
+9.560660 0.000000 l
+11.907870 0.000000 13.810660 1.902790 13.810660 4.250000 c
+13.810660 6.597211 11.907870 8.500000 9.560660 8.500000 c
+2.871320 8.500000 l
+5.212297 10.840978 l
+4.151638 11.901638 l
+0.530330 8.280331 l
+h
+f*
+n
+Q
+
+endstream
+endobj
+
+3 0 obj
+  647
+endobj
+
+4 0 obj
+  << /Annots []
+     /Type /Page
+     /MediaBox [ 0.000000 0.000000 20.000000 20.000000 ]
+     /Resources 1 0 R
+     /Contents 2 0 R
+     /Parent 5 0 R
+  >>
+endobj
+
+5 0 obj
+  << /Kids [ 4 0 R ]
+     /Count 1
+     /Type /Pages
+  >>
+endobj
+
+6 0 obj
+  << /Pages 5 0 R
+     /Type /Catalog
+  >>
+endobj
+
+xref
+0 7
+0000000000 65535 f
+0000000010 00000 n
+0000000034 00000 n
+0000000737 00000 n
+0000000759 00000 n
+0000000932 00000 n
+0000001006 00000 n
+trailer
+<< /ID [ (some) (id) ]
+   /Root 6 0 R
+   /Size 7
+>>
+startxref
+1065
+%%EOF

BIN
compdfkit-tools/compdfkit-tools/Edit/CPDFEditImageAssets.xcassets/CPDFEditRedo.imageset/redo@2x.png


BIN
compdfkit-tools/compdfkit-tools/Edit/CPDFEditImageAssets.xcassets/CPDFEditRedo.imageset/redo@3x.png


+ 0 - 22
compdfkit-tools/compdfkit-tools/Edit/CPDFEditImageAssets.xcassets/CPDFEditRedoDisable.imageset/Contents.json

@@ -1,22 +0,0 @@
-{
-  "images" : [
-    {
-      "idiom" : "universal",
-      "scale" : "1x"
-    },
-    {
-      "filename" : "redoDisable@2x.png",
-      "idiom" : "universal",
-      "scale" : "2x"
-    },
-    {
-      "filename" : "redoDisable@3x.png",
-      "idiom" : "universal",
-      "scale" : "3x"
-    }
-  ],
-  "info" : {
-    "author" : "xcode",
-    "version" : 1
-  }
-}

BIN
compdfkit-tools/compdfkit-tools/Edit/CPDFEditImageAssets.xcassets/CPDFEditRedoDisable.imageset/redoDisable@2x.png


BIN
compdfkit-tools/compdfkit-tools/Edit/CPDFEditImageAssets.xcassets/CPDFEditRedoDisable.imageset/redoDisable@3x.png


+ 21 - 0
compdfkit-tools/compdfkit-tools/Edit/CPDFEditImageAssets.xcassets/CPDFEditReplace.imageset/Contents.json

@@ -0,0 +1,21 @@
+{
+  "images" : [
+    {
+      "filename" : "extract.pdf",
+      "idiom" : "universal",
+      "scale" : "1x"
+    },
+    {
+      "idiom" : "universal",
+      "scale" : "2x"
+    },
+    {
+      "idiom" : "universal",
+      "scale" : "3x"
+    }
+  ],
+  "info" : {
+    "author" : "xcode",
+    "version" : 1
+  }
+}

+ 137 - 0
compdfkit-tools/compdfkit-tools/Edit/CPDFEditImageAssets.xcassets/CPDFEditReplace.imageset/extract.pdf

@@ -0,0 +1,137 @@
+%PDF-1.7
+
+1 0 obj
+  << >>
+endobj
+
+2 0 obj
+  << /Length 3 0 R >>
+stream
+/DeviceRGB CS
+/DeviceRGB cs
+q
+1.000000 0.000000 -0.000000 1.000000 0.380371 1.170898 cm
+0.262745 0.278431 0.301961 scn
+0.750000 16.948730 m
+0.000000 16.948730 l
+0.000000 16.198730 l
+0.000000 4.432031 l
+0.000000 3.682031 l
+0.750000 3.682031 l
+4.090684 3.682031 l
+4.090684 2.570153 l
+4.090684 1.070153 l
+5.590684 1.070153 l
+11.607220 1.070153 l
+11.607220 1.914136 l
+11.619578 2.829084 l
+8.266512 4.431990 l
+5.590684 2.845269 l
+5.590684 11.336853 l
+17.623653 11.336853 l
+17.623653 6.112976 l
+19.123653 6.112976 l
+19.123653 11.336853 l
+19.123653 12.836853 l
+17.623653 12.836853 l
+16.532969 12.836853 l
+16.532969 16.198730 l
+16.532969 16.948730 l
+15.782969 16.948730 l
+0.750000 16.948730 l
+h
+15.032969 12.836853 m
+15.032969 15.448730 l
+1.500000 15.448730 l
+1.500000 5.182031 l
+4.090684 5.182031 l
+4.090684 11.336853 l
+4.090684 12.836853 l
+5.590684 12.836853 l
+15.032969 12.836853 l
+h
+14.277487 8.302644 m
+14.829772 8.302644 15.277487 8.753208 15.277487 9.309006 c
+15.277487 9.864805 14.829772 10.315369 14.277487 10.315369 c
+13.725202 10.315369 13.277487 9.864805 13.277487 9.309006 c
+13.277487 8.753208 13.725202 8.302644 14.277487 8.302644 c
+h
+14.983579 6.351968 m
+14.506440 6.930620 l
+15.663745 7.884897 l
+16.140884 7.306246 l
+17.602921 5.533154 l
+18.614780 4.306014 l
+17.024267 4.306014 l
+12.619555 4.306014 l
+11.869555 4.306014 l
+11.869555 5.806015 l
+12.619555 5.806015 l
+15.433755 5.806015 l
+14.983579 6.351968 l
+h
+15.420850 1.533169 m
+15.897989 0.954516 l
+14.740684 0.000240 l
+14.263545 0.578892 l
+12.801509 2.351984 l
+11.789648 3.579123 l
+13.380161 3.579123 l
+17.784874 3.579123 l
+18.534874 3.579123 l
+18.534874 2.079123 l
+17.784874 2.079123 l
+14.970674 2.079123 l
+15.420850 1.533169 l
+h
+f*
+n
+Q
+
+endstream
+endobj
+
+3 0 obj
+  1698
+endobj
+
+4 0 obj
+  << /Annots []
+     /Type /Page
+     /MediaBox [ 0.000000 0.000000 20.000000 20.000000 ]
+     /Resources 1 0 R
+     /Contents 2 0 R
+     /Parent 5 0 R
+  >>
+endobj
+
+5 0 obj
+  << /Kids [ 4 0 R ]
+     /Count 1
+     /Type /Pages
+  >>
+endobj
+
+6 0 obj
+  << /Pages 5 0 R
+     /Type /Catalog
+  >>
+endobj
+
+xref
+0 7
+0000000000 65535 f
+0000000010 00000 n
+0000000034 00000 n
+0000001788 00000 n
+0000001811 00000 n
+0000001984 00000 n
+0000002058 00000 n
+trailer
+<< /ID [ (some) (id) ]
+   /Root 6 0 R
+   /Size 7
+>>
+startxref
+2117
+%%EOF

+ 1 - 2
compdfkit-tools/compdfkit-tools/Edit/CPDFEditImageAssets.xcassets/CPDFEditUndo.imageset/Contents.json

@@ -1,16 +1,15 @@
 {
   "images" : [
     {
+      "filename" : "undo.pdf",
       "idiom" : "universal",
       "scale" : "1x"
     },
     {
-      "filename" : "undo@2x.png",
       "idiom" : "universal",
       "scale" : "2x"
     },
     {
-      "filename" : "undo@3x.png",
       "idiom" : "universal",
       "scale" : "3x"
     }

+ 84 - 0
compdfkit-tools/compdfkit-tools/Edit/CPDFEditImageAssets.xcassets/CPDFEditUndo.imageset/undo.pdf

@@ -0,0 +1,84 @@
+%PDF-1.7
+
+1 0 obj
+  << >>
+endobj
+
+2 0 obj
+  << /Length 3 0 R >>
+stream
+/DeviceRGB CS
+/DeviceRGB cs
+q
+1.000000 0.000000 -0.000000 1.000000 3.000000 4.098362 cm
+0.262745 0.278431 0.301961 scn
+0.530330 8.280331 m
+0.000000 7.750000 l
+0.530330 7.219670 l
+4.151638 3.598363 l
+5.212297 4.659023 l
+2.871320 7.000000 l
+9.560660 7.000000 l
+11.079443 7.000000 12.310660 5.768784 12.310660 4.250000 c
+12.310660 2.731217 11.079443 1.500000 9.560660 1.500000 c
+2.060660 1.500000 l
+2.060660 0.000000 l
+9.560660 0.000000 l
+11.907870 0.000000 13.810660 1.902790 13.810660 4.250000 c
+13.810660 6.597211 11.907870 8.500000 9.560660 8.500000 c
+2.871320 8.500000 l
+5.212297 10.840978 l
+4.151638 11.901638 l
+0.530330 8.280331 l
+h
+f*
+n
+Q
+
+endstream
+endobj
+
+3 0 obj
+  644
+endobj
+
+4 0 obj
+  << /Annots []
+     /Type /Page
+     /MediaBox [ 0.000000 0.000000 20.000000 20.000000 ]
+     /Resources 1 0 R
+     /Contents 2 0 R
+     /Parent 5 0 R
+  >>
+endobj
+
+5 0 obj
+  << /Kids [ 4 0 R ]
+     /Count 1
+     /Type /Pages
+  >>
+endobj
+
+6 0 obj
+  << /Pages 5 0 R
+     /Type /Catalog
+  >>
+endobj
+
+xref
+0 7
+0000000000 65535 f
+0000000010 00000 n
+0000000034 00000 n
+0000000734 00000 n
+0000000756 00000 n
+0000000929 00000 n
+0000001003 00000 n
+trailer
+<< /ID [ (some) (id) ]
+   /Root 6 0 R
+   /Size 7
+>>
+startxref
+1062
+%%EOF

BIN
compdfkit-tools/compdfkit-tools/Edit/CPDFEditImageAssets.xcassets/CPDFEditUndo.imageset/undo@2x.png


BIN
compdfkit-tools/compdfkit-tools/Edit/CPDFEditImageAssets.xcassets/CPDFEditUndo.imageset/undo@3x.png


+ 0 - 0
compdfkit-tools/compdfkit-tools/Edit/CPDFEditImageAssets.xcassets/CPDFEditUndoDisable.imageset/Contents.json


この差分においてかなりの量のファイルが変更されているため、一部のファイルを表示していません