KMPDFRedactViewController.xib 22 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226
  1. <?xml version="1.0" encoding="UTF-8"?>
  2. <document type="com.apple.InterfaceBuilder3.Cocoa.XIB" version="3.0" toolsVersion="22505" targetRuntime="MacOSX.Cocoa" propertyAccessControl="none" useAutolayout="YES" customObjectInstantitationMethod="direct">
  3. <dependencies>
  4. <deployment identifier="macosx"/>
  5. <plugIn identifier="com.apple.InterfaceBuilder.CocoaPlugin" version="22505"/>
  6. <capability name="documents saved in the Xcode 8 format" minToolsVersion="8.0"/>
  7. </dependencies>
  8. <objects>
  9. <customObject id="-2" userLabel="File's Owner" customClass="KMPDFRedactViewController" customModule="PDF_Reader_Pro" customModuleProvider="target">
  10. <connections>
  11. <outlet property="applyBox" destination="p57-Ip-T2T" id="yYz-yx-0RG"/>
  12. <outlet property="applyButton" destination="jgL-Z5-PR3" id="fHy-NQ-YtV"/>
  13. <outlet property="exitBox" destination="dDh-hJ-cIA" id="o57-Zt-G95"/>
  14. <outlet property="exitButton" destination="pup-Oa-y3G" id="uAO-zj-9h7"/>
  15. <outlet property="propertiesBox" destination="iwX-y1-ea2" id="Bxj-bw-w1v"/>
  16. <outlet property="propertiesButton" destination="G4u-HY-WcV" id="j9h-KE-Uqx"/>
  17. <outlet property="propertiesLabel" destination="9vB-gG-Xmd" id="EpZ-II-dke"/>
  18. <outlet property="redactPdfView" destination="Ljd-Vm-9rM" id="5be-1E-Uob"/>
  19. <outlet property="redactTextBox" destination="aoK-i3-jUv" id="UeG-Pz-3fU"/>
  20. <outlet property="redactTextButton" destination="ryk-qe-WA4" id="nRS-P5-FLH"/>
  21. <outlet property="redactTextLabel" destination="bf1-3b-pkO" id="y8J-XA-3uO"/>
  22. <outlet property="redactTipLabel" destination="YU9-ht-l5r" id="Z1O-ZP-7Xa"/>
  23. <outlet property="toolView" destination="2S1-Gb-ePE" id="QY0-Kq-JcW"/>
  24. <outlet property="view" destination="Hz6-mo-xeY" id="0bl-1N-x8E"/>
  25. </connections>
  26. </customObject>
  27. <customObject id="-1" userLabel="First Responder" customClass="FirstResponder"/>
  28. <customObject id="-3" userLabel="Application" customClass="NSObject"/>
  29. <customView id="Hz6-mo-xeY">
  30. <rect key="frame" x="0.0" y="0.0" width="1000" height="361"/>
  31. <autoresizingMask key="autoresizingMask" flexibleMaxX="YES" flexibleMinY="YES"/>
  32. <subviews>
  33. <customView translatesAutoresizingMaskIntoConstraints="NO" id="2S1-Gb-ePE">
  34. <rect key="frame" x="0.0" y="321" width="1000" height="40"/>
  35. <subviews>
  36. <box boxType="custom" borderType="none" cornerRadius="4" title="Box" titlePosition="noTitle" translatesAutoresizingMaskIntoConstraints="NO" id="aoK-i3-jUv">
  37. <rect key="frame" x="413" y="8" width="81" height="24"/>
  38. <view key="contentView" id="cu2-VR-LMh">
  39. <rect key="frame" x="0.0" y="0.0" width="81" height="24"/>
  40. <autoresizingMask key="autoresizingMask" widthSizable="YES" heightSizable="YES"/>
  41. <subviews>
  42. <imageView horizontalHuggingPriority="251" verticalHuggingPriority="251" translatesAutoresizingMaskIntoConstraints="NO" id="UVs-wD-kHf">
  43. <rect key="frame" x="10" y="2" width="20" height="20"/>
  44. <constraints>
  45. <constraint firstAttribute="width" constant="20" id="0fK-DJ-icK"/>
  46. <constraint firstAttribute="height" constant="20" id="uC1-em-ML9"/>
  47. </constraints>
  48. <imageCell key="cell" refusesFirstResponder="YES" alignment="left" imageScaling="proportionallyDown" image="KMImageNameButtonRedactText" id="10J-Vc-p1f"/>
  49. </imageView>
  50. <textField focusRingType="none" horizontalHuggingPriority="251" verticalHuggingPriority="750" translatesAutoresizingMaskIntoConstraints="NO" id="bf1-3b-pkO">
  51. <rect key="frame" x="36" y="4" width="37" height="16"/>
  52. <textFieldCell key="cell" lineBreakMode="clipping" title="Label" id="SQB-JZ-YQd">
  53. <font key="font" metaFont="system"/>
  54. <color key="textColor" name="labelColor" catalog="System" colorSpace="catalog"/>
  55. <color key="backgroundColor" name="textBackgroundColor" catalog="System" colorSpace="catalog"/>
  56. </textFieldCell>
  57. </textField>
  58. <button verticalHuggingPriority="750" translatesAutoresizingMaskIntoConstraints="NO" id="ryk-qe-WA4" customClass="KMCustomButton" customModule="PDF_Reader_Pro" customModuleProvider="target">
  59. <rect key="frame" x="0.0" y="0.0" width="81" height="24"/>
  60. <buttonCell key="cell" type="bevel" bezelStyle="regularSquare" alignment="center" state="on" imageScaling="proportionallyDown" inset="2" id="HKN-QE-F2Y">
  61. <behavior key="behavior" pushIn="YES" lightByBackground="YES" lightByGray="YES"/>
  62. <font key="font" metaFont="system"/>
  63. </buttonCell>
  64. </button>
  65. </subviews>
  66. <constraints>
  67. <constraint firstItem="ryk-qe-WA4" firstAttribute="leading" secondItem="cu2-VR-LMh" secondAttribute="leading" id="0ml-x2-817"/>
  68. <constraint firstAttribute="trailing" secondItem="ryk-qe-WA4" secondAttribute="trailing" id="1xK-nj-ccm"/>
  69. <constraint firstAttribute="bottom" secondItem="ryk-qe-WA4" secondAttribute="bottom" id="2lW-go-6eQ"/>
  70. <constraint firstItem="bf1-3b-pkO" firstAttribute="leading" secondItem="UVs-wD-kHf" secondAttribute="trailing" constant="8" id="AVI-KH-18V"/>
  71. <constraint firstAttribute="trailing" secondItem="bf1-3b-pkO" secondAttribute="trailing" constant="10" id="WRX-4x-oKU"/>
  72. <constraint firstItem="UVs-wD-kHf" firstAttribute="leading" secondItem="cu2-VR-LMh" secondAttribute="leading" constant="10" id="ZCC-uD-EvM"/>
  73. <constraint firstItem="bf1-3b-pkO" firstAttribute="centerY" secondItem="UVs-wD-kHf" secondAttribute="centerY" id="fPi-51-EcZ"/>
  74. <constraint firstItem="ryk-qe-WA4" firstAttribute="top" secondItem="cu2-VR-LMh" secondAttribute="top" id="hHJ-vU-tyU"/>
  75. <constraint firstItem="UVs-wD-kHf" firstAttribute="centerY" secondItem="cu2-VR-LMh" secondAttribute="centerY" id="zjk-6O-sRF"/>
  76. </constraints>
  77. </view>
  78. <constraints>
  79. <constraint firstAttribute="height" constant="24" id="cDN-lX-Jb8"/>
  80. </constraints>
  81. </box>
  82. <textField focusRingType="none" horizontalHuggingPriority="251" verticalHuggingPriority="750" translatesAutoresizingMaskIntoConstraints="NO" id="YU9-ht-l5r">
  83. <rect key="frame" x="14" y="12" width="60" height="17"/>
  84. <textFieldCell key="cell" lineBreakMode="clipping" title="Edit PDF" id="xwB-CI-KY9">
  85. <font key="font" metaFont="system" size="14"/>
  86. <color key="textColor" red="0.99999600649999998" green="1" blue="1" alpha="1" colorSpace="custom" customColorSpace="sRGB"/>
  87. <color key="backgroundColor" name="textBackgroundColor" catalog="System" colorSpace="catalog"/>
  88. </textFieldCell>
  89. </textField>
  90. <box boxType="custom" borderWidth="0.0" cornerRadius="1" title="Box" translatesAutoresizingMaskIntoConstraints="NO" id="p57-Ip-T2T" customClass="KMBox" customModule="PDF_Reader_Pro" customModuleProvider="target">
  91. <rect key="frame" x="906" y="8" width="79" height="24"/>
  92. <view key="contentView" id="SkL-h8-Tpz">
  93. <rect key="frame" x="0.0" y="0.0" width="79" height="24"/>
  94. <autoresizingMask key="autoresizingMask" widthSizable="YES" heightSizable="YES"/>
  95. <subviews>
  96. <button verticalHuggingPriority="750" translatesAutoresizingMaskIntoConstraints="NO" id="jgL-Z5-PR3">
  97. <rect key="frame" x="20" y="4" width="39" height="16"/>
  98. <buttonCell key="cell" type="bevel" title="Apply" bezelStyle="rounded" alignment="center" imageScaling="proportionallyDown" inset="2" id="Avm-LZ-ePg">
  99. <behavior key="behavior" pushIn="YES" lightByBackground="YES" lightByGray="YES"/>
  100. <font key="font" metaFont="system"/>
  101. </buttonCell>
  102. <connections>
  103. <action selector="apply_button:" target="-2" id="e1M-4e-CN2"/>
  104. </connections>
  105. </button>
  106. </subviews>
  107. <constraints>
  108. <constraint firstAttribute="trailing" secondItem="jgL-Z5-PR3" secondAttribute="trailing" constant="20" id="O24-kg-iaR"/>
  109. <constraint firstItem="jgL-Z5-PR3" firstAttribute="leading" secondItem="SkL-h8-Tpz" secondAttribute="leading" constant="20" id="YiZ-mR-yNH"/>
  110. <constraint firstItem="jgL-Z5-PR3" firstAttribute="centerY" secondItem="SkL-h8-Tpz" secondAttribute="centerY" id="lxb-En-69V"/>
  111. </constraints>
  112. </view>
  113. <color key="fillColor" red="1" green="1" blue="1" alpha="1" colorSpace="custom" customColorSpace="sRGB"/>
  114. </box>
  115. <box boxType="custom" borderWidth="0.0" cornerRadius="1" title="Box" translatesAutoresizingMaskIntoConstraints="NO" id="dDh-hJ-cIA" customClass="KMBox" customModule="PDF_Reader_Pro" customModuleProvider="target">
  116. <rect key="frame" x="827" y="8" width="67" height="24"/>
  117. <view key="contentView" id="qpy-I2-8jU">
  118. <rect key="frame" x="0.0" y="0.0" width="67" height="24"/>
  119. <autoresizingMask key="autoresizingMask" widthSizable="YES" heightSizable="YES"/>
  120. <subviews>
  121. <button verticalHuggingPriority="750" translatesAutoresizingMaskIntoConstraints="NO" id="pup-Oa-y3G">
  122. <rect key="frame" x="20" y="4" width="27" height="16"/>
  123. <buttonCell key="cell" type="bevel" title="Exit" bezelStyle="rounded" alignment="center" imageScaling="proportionallyDown" inset="2" id="TcM-v9-HPa">
  124. <behavior key="behavior" pushIn="YES" lightByBackground="YES" lightByGray="YES"/>
  125. <font key="font" metaFont="system"/>
  126. </buttonCell>
  127. <connections>
  128. <action selector="exit_button:" target="-2" id="jp5-Zg-WXB"/>
  129. </connections>
  130. </button>
  131. </subviews>
  132. <constraints>
  133. <constraint firstItem="pup-Oa-y3G" firstAttribute="leading" secondItem="qpy-I2-8jU" secondAttribute="leading" constant="20" id="3fF-7j-K5P"/>
  134. <constraint firstItem="pup-Oa-y3G" firstAttribute="centerY" secondItem="qpy-I2-8jU" secondAttribute="centerY" id="VpB-D0-d0P"/>
  135. <constraint firstAttribute="trailing" secondItem="pup-Oa-y3G" secondAttribute="trailing" constant="20" id="k6e-jp-K9d"/>
  136. </constraints>
  137. </view>
  138. <color key="fillColor" red="1" green="1" blue="1" alpha="1" colorSpace="custom" customColorSpace="sRGB"/>
  139. </box>
  140. <box boxType="custom" borderType="none" cornerRadius="4" title="Box" titlePosition="noTitle" translatesAutoresizingMaskIntoConstraints="NO" id="iwX-y1-ea2">
  141. <rect key="frame" x="506" y="8" width="81" height="24"/>
  142. <view key="contentView" id="ZZF-jp-flc">
  143. <rect key="frame" x="0.0" y="0.0" width="81" height="24"/>
  144. <autoresizingMask key="autoresizingMask" widthSizable="YES" heightSizable="YES"/>
  145. <subviews>
  146. <imageView horizontalHuggingPriority="251" verticalHuggingPriority="251" translatesAutoresizingMaskIntoConstraints="NO" id="wmd-of-I4h">
  147. <rect key="frame" x="10" y="2" width="20" height="20"/>
  148. <constraints>
  149. <constraint firstAttribute="height" constant="20" id="YcT-7F-lSr"/>
  150. <constraint firstAttribute="width" constant="20" id="a4d-Wr-CJW"/>
  151. </constraints>
  152. <imageCell key="cell" refusesFirstResponder="YES" alignment="left" imageScaling="proportionallyDown" image="KMImageNameButtonRedactProperties" id="ORk-5j-x9i"/>
  153. </imageView>
  154. <textField focusRingType="none" horizontalHuggingPriority="251" verticalHuggingPriority="750" translatesAutoresizingMaskIntoConstraints="NO" id="9vB-gG-Xmd">
  155. <rect key="frame" x="36" y="4" width="37" height="16"/>
  156. <textFieldCell key="cell" lineBreakMode="clipping" title="Label" id="RIY-Ss-doB">
  157. <font key="font" metaFont="system"/>
  158. <color key="textColor" name="labelColor" catalog="System" colorSpace="catalog"/>
  159. <color key="backgroundColor" name="textBackgroundColor" catalog="System" colorSpace="catalog"/>
  160. </textFieldCell>
  161. </textField>
  162. <button verticalHuggingPriority="750" translatesAutoresizingMaskIntoConstraints="NO" id="G4u-HY-WcV" customClass="KMCustomButton" customModule="PDF_Reader_Pro" customModuleProvider="target">
  163. <rect key="frame" x="0.0" y="0.0" width="81" height="24"/>
  164. <buttonCell key="cell" type="bevel" bezelStyle="regularSquare" alignment="center" state="on" imageScaling="proportionallyDown" inset="2" id="pAw-R5-ae6">
  165. <behavior key="behavior" pushIn="YES" lightByBackground="YES" lightByGray="YES"/>
  166. <font key="font" metaFont="system"/>
  167. </buttonCell>
  168. <connections>
  169. <action selector="showProperties_button:" target="-2" id="ak9-cG-D94"/>
  170. </connections>
  171. </button>
  172. </subviews>
  173. <constraints>
  174. <constraint firstItem="wmd-of-I4h" firstAttribute="centerY" secondItem="ZZF-jp-flc" secondAttribute="centerY" id="3qQ-y5-pYZ"/>
  175. <constraint firstItem="wmd-of-I4h" firstAttribute="leading" secondItem="ZZF-jp-flc" secondAttribute="leading" constant="10" id="54F-VB-DTy"/>
  176. <constraint firstItem="G4u-HY-WcV" firstAttribute="leading" secondItem="ZZF-jp-flc" secondAttribute="leading" id="607-kv-oZS"/>
  177. <constraint firstAttribute="bottom" secondItem="G4u-HY-WcV" secondAttribute="bottom" id="I5N-mL-JG8"/>
  178. <constraint firstItem="9vB-gG-Xmd" firstAttribute="centerY" secondItem="wmd-of-I4h" secondAttribute="centerY" id="KnA-gl-wY3"/>
  179. <constraint firstAttribute="trailing" secondItem="G4u-HY-WcV" secondAttribute="trailing" id="agX-Gn-XLd"/>
  180. <constraint firstItem="G4u-HY-WcV" firstAttribute="top" secondItem="ZZF-jp-flc" secondAttribute="top" id="hFT-HB-gbq"/>
  181. <constraint firstAttribute="trailing" secondItem="9vB-gG-Xmd" secondAttribute="trailing" constant="10" id="iKd-Gb-9CH"/>
  182. <constraint firstItem="9vB-gG-Xmd" firstAttribute="leading" secondItem="wmd-of-I4h" secondAttribute="trailing" constant="8" id="vAH-9A-ypo"/>
  183. </constraints>
  184. </view>
  185. <constraints>
  186. <constraint firstAttribute="height" constant="24" id="eCk-ic-tUa"/>
  187. </constraints>
  188. </box>
  189. </subviews>
  190. <constraints>
  191. <constraint firstItem="YU9-ht-l5r" firstAttribute="centerY" secondItem="2S1-Gb-ePE" secondAttribute="centerY" id="Fvh-Id-qhM"/>
  192. <constraint firstItem="aoK-i3-jUv" firstAttribute="centerY" secondItem="2S1-Gb-ePE" secondAttribute="centerY" id="I0v-ft-szS"/>
  193. <constraint firstAttribute="trailing" secondItem="p57-Ip-T2T" secondAttribute="trailing" constant="15" id="VSh-yG-pTg"/>
  194. <constraint firstItem="dDh-hJ-cIA" firstAttribute="top" secondItem="2S1-Gb-ePE" secondAttribute="top" constant="8" id="WH3-I9-gGf"/>
  195. <constraint firstItem="p57-Ip-T2T" firstAttribute="top" secondItem="2S1-Gb-ePE" secondAttribute="top" constant="8" id="WR2-Qc-g35"/>
  196. <constraint firstAttribute="height" constant="40" id="WUy-y7-LrA"/>
  197. <constraint firstItem="YU9-ht-l5r" firstAttribute="leading" secondItem="2S1-Gb-ePE" secondAttribute="leading" constant="16" id="aT9-aj-pzQ"/>
  198. <constraint firstItem="iwX-y1-ea2" firstAttribute="centerX" secondItem="2S1-Gb-ePE" secondAttribute="centerX" constant="46" id="bXp-VB-JyA"/>
  199. <constraint firstItem="p57-Ip-T2T" firstAttribute="leading" secondItem="dDh-hJ-cIA" secondAttribute="trailing" constant="12" id="iIc-KL-0gR"/>
  200. <constraint firstAttribute="bottom" secondItem="dDh-hJ-cIA" secondAttribute="bottom" constant="8" id="m6o-zI-Wdu"/>
  201. <constraint firstAttribute="bottom" secondItem="p57-Ip-T2T" secondAttribute="bottom" constant="8" id="mtN-jR-bCV"/>
  202. <constraint firstItem="iwX-y1-ea2" firstAttribute="leading" secondItem="aoK-i3-jUv" secondAttribute="trailing" constant="12" id="qqF-pS-UzL"/>
  203. <constraint firstItem="iwX-y1-ea2" firstAttribute="centerY" secondItem="2S1-Gb-ePE" secondAttribute="centerY" id="sWN-bH-6QS"/>
  204. </constraints>
  205. </customView>
  206. <customView translatesAutoresizingMaskIntoConstraints="NO" id="Ljd-Vm-9rM" customClass="KMRedactPDFView" customModule="PDF_Reader_Pro" customModuleProvider="target">
  207. <rect key="frame" x="0.0" y="0.0" width="1000" height="321"/>
  208. </customView>
  209. </subviews>
  210. <constraints>
  211. <constraint firstItem="2S1-Gb-ePE" firstAttribute="leading" secondItem="Hz6-mo-xeY" secondAttribute="leading" id="8jh-Dz-18G"/>
  212. <constraint firstItem="Ljd-Vm-9rM" firstAttribute="leading" secondItem="Hz6-mo-xeY" secondAttribute="leading" id="9dF-4q-8Uw"/>
  213. <constraint firstAttribute="trailing" secondItem="Ljd-Vm-9rM" secondAttribute="trailing" id="Rm0-EU-FOU"/>
  214. <constraint firstItem="Ljd-Vm-9rM" firstAttribute="top" secondItem="2S1-Gb-ePE" secondAttribute="bottom" id="YPB-Ng-n7R"/>
  215. <constraint firstItem="2S1-Gb-ePE" firstAttribute="top" secondItem="Hz6-mo-xeY" secondAttribute="top" id="bKr-kB-74n"/>
  216. <constraint firstAttribute="bottom" secondItem="Ljd-Vm-9rM" secondAttribute="bottom" id="jYf-ow-CxC"/>
  217. <constraint firstAttribute="trailing" secondItem="2S1-Gb-ePE" secondAttribute="trailing" id="oJq-Zw-u7u"/>
  218. </constraints>
  219. <point key="canvasLocation" x="274" y="171.5"/>
  220. </customView>
  221. </objects>
  222. <resources>
  223. <image name="KMImageNameButtonRedactProperties" width="20" height="20"/>
  224. <image name="KMImageNameButtonRedactText" width="20" height="20"/>
  225. </resources>
  226. </document>