KMSignatureViewController.xib 19 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203
  1. <?xml version="1.0" encoding="UTF-8"?>
  2. <document type="com.apple.InterfaceBuilder3.Cocoa.XIB" version="3.0" toolsVersion="21507" targetRuntime="MacOSX.Cocoa" propertyAccessControl="none" useAutolayout="YES" customObjectInstantitationMethod="direct">
  3. <dependencies>
  4. <deployment identifier="macosx"/>
  5. <plugIn identifier="com.apple.InterfaceBuilder.CocoaPlugin" version="21507"/>
  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="KMSignatureViewController" customModule="PDF_Office" customModuleProvider="target">
  10. <connections>
  11. <outlet property="deleteButton" destination="xjC-Nf-2GS" id="RMS-Rf-Dye"/>
  12. <outlet property="emptyLabel" destination="8Qz-OH-3II" id="Nc6-cE-9lN"/>
  13. <outlet property="emptyView" destination="tZO-Hq-S3D" id="D11-Ym-gUw"/>
  14. <outlet property="sigOutlineView" destination="elC-Oa-N3Z" id="y4x-Vr-jYY"/>
  15. <outlet property="tipTextField" destination="YXK-ba-z0q" id="Ou1-cq-2G1"/>
  16. <outlet property="validationButton" destination="7mb-ge-mS2" id="RSd-UL-Nua"/>
  17. <outlet property="view" destination="Hz6-mo-xeY" id="0bl-1N-x8E"/>
  18. </connections>
  19. </customObject>
  20. <customObject id="-1" userLabel="First Responder" customClass="FirstResponder"/>
  21. <customObject id="-3" userLabel="Application" customClass="NSObject"/>
  22. <customView id="Hz6-mo-xeY">
  23. <rect key="frame" x="0.0" y="0.0" width="361" height="479"/>
  24. <autoresizingMask key="autoresizingMask" flexibleMaxX="YES" flexibleMinY="YES"/>
  25. <subviews>
  26. <customView translatesAutoresizingMaskIntoConstraints="NO" id="Yy5-ur-Thh">
  27. <rect key="frame" x="0.0" y="439" width="361" height="40"/>
  28. <subviews>
  29. <textField horizontalHuggingPriority="251" verticalHuggingPriority="750" translatesAutoresizingMaskIntoConstraints="NO" id="YXK-ba-z0q">
  30. <rect key="frame" x="14" y="12" width="40" height="17"/>
  31. <textFieldCell key="cell" lineBreakMode="clipping" title="Label" id="bp1-iO-jCh">
  32. <font key="font" metaFont="system" size="14"/>
  33. <color key="textColor" name="labelColor" catalog="System" colorSpace="catalog"/>
  34. <color key="backgroundColor" name="textBackgroundColor" catalog="System" colorSpace="catalog"/>
  35. </textFieldCell>
  36. </textField>
  37. <button verticalHuggingPriority="750" tag="6" translatesAutoresizingMaskIntoConstraints="NO" id="xjC-Nf-2GS">
  38. <rect key="frame" x="329" y="12" width="16" height="16"/>
  39. <constraints>
  40. <constraint firstAttribute="height" constant="16" id="b9M-xi-1xR"/>
  41. <constraint firstAttribute="width" constant="16" id="bJ0-HK-eVC"/>
  42. </constraints>
  43. <buttonCell key="cell" type="bevel" title="Button" bezelStyle="rounded" image="KMImageNameSidebarDeleteNor" imagePosition="only" alignment="center" imageScaling="proportionallyDown" inset="2" id="k48-GK-Xcm">
  44. <behavior key="behavior" pushIn="YES" lightByBackground="YES" lightByGray="YES"/>
  45. <font key="font" metaFont="system"/>
  46. </buttonCell>
  47. <connections>
  48. <action selector="deleteButtonAction:" target="-2" id="GhL-qv-7j9"/>
  49. </connections>
  50. </button>
  51. <button verticalHuggingPriority="750" tag="7" translatesAutoresizingMaskIntoConstraints="NO" id="7mb-ge-mS2">
  52. <rect key="frame" x="305" y="12" width="16" height="16"/>
  53. <constraints>
  54. <constraint firstAttribute="width" constant="16" id="6ig-Up-iIu"/>
  55. <constraint firstAttribute="height" constant="16" id="jn6-RK-eVV"/>
  56. </constraints>
  57. <buttonCell key="cell" type="bevel" title="Button" bezelStyle="rounded" image="KMImageNameSidebarValidationNor" imagePosition="only" alignment="center" imageScaling="proportionallyDown" inset="2" id="cUZ-Qc-ft4">
  58. <behavior key="behavior" pushIn="YES" lightByBackground="YES" lightByGray="YES"/>
  59. <font key="font" metaFont="system"/>
  60. </buttonCell>
  61. <connections>
  62. <action selector="validationButtonAction:" target="-2" id="O55-fm-XoL"/>
  63. </connections>
  64. </button>
  65. </subviews>
  66. <constraints>
  67. <constraint firstAttribute="trailing" secondItem="xjC-Nf-2GS" secondAttribute="trailing" constant="16" id="DT8-0R-jfA"/>
  68. <constraint firstAttribute="height" relation="greaterThanOrEqual" constant="40" id="Hgr-pU-g6O"/>
  69. <constraint firstItem="YXK-ba-z0q" firstAttribute="leading" secondItem="Yy5-ur-Thh" secondAttribute="leading" constant="16" id="bIF-xU-BxE"/>
  70. <constraint firstItem="7mb-ge-mS2" firstAttribute="centerY" secondItem="Yy5-ur-Thh" secondAttribute="centerY" id="bsI-3c-Ksm"/>
  71. <constraint firstAttribute="height" constant="40" id="eK7-FN-397"/>
  72. <constraint firstItem="xjC-Nf-2GS" firstAttribute="centerY" secondItem="Yy5-ur-Thh" secondAttribute="centerY" id="eUs-lv-q1r"/>
  73. <constraint firstItem="YXK-ba-z0q" firstAttribute="centerY" secondItem="Yy5-ur-Thh" secondAttribute="centerY" id="k9X-Lj-wXS"/>
  74. <constraint firstItem="xjC-Nf-2GS" firstAttribute="leading" secondItem="7mb-ge-mS2" secondAttribute="trailing" constant="8" id="zdc-Ce-mYh"/>
  75. </constraints>
  76. </customView>
  77. <customView translatesAutoresizingMaskIntoConstraints="NO" id="tZO-Hq-S3D">
  78. <rect key="frame" x="59" y="153" width="244" height="173"/>
  79. <subviews>
  80. <imageView horizontalHuggingPriority="251" verticalHuggingPriority="251" translatesAutoresizingMaskIntoConstraints="NO" id="Fbx-ED-uzg">
  81. <rect key="frame" x="52" y="33" width="140" height="140"/>
  82. <constraints>
  83. <constraint firstAttribute="width" constant="140" id="Kwl-oI-mok"/>
  84. <constraint firstAttribute="height" constant="140" id="QEp-bm-8dU"/>
  85. </constraints>
  86. <imageCell key="cell" refusesFirstResponder="YES" alignment="left" imageScaling="proportionallyDown" image="KMImageNameEmptySignature" id="3di-Cx-LFP"/>
  87. </imageView>
  88. <textField horizontalHuggingPriority="251" verticalHuggingPriority="750" translatesAutoresizingMaskIntoConstraints="NO" id="8Qz-OH-3II">
  89. <rect key="frame" x="18" y="0.0" width="208" height="17"/>
  90. <textFieldCell key="cell" alignment="center" title="No digital signature was added" id="j3G-I8-SQK">
  91. <font key="font" metaFont="system" size="14"/>
  92. <color key="textColor" name="labelColor" catalog="System" colorSpace="catalog"/>
  93. <color key="backgroundColor" name="textBackgroundColor" catalog="System" colorSpace="catalog"/>
  94. </textFieldCell>
  95. </textField>
  96. </subviews>
  97. <constraints>
  98. <constraint firstItem="Fbx-ED-uzg" firstAttribute="top" secondItem="tZO-Hq-S3D" secondAttribute="top" id="9p0-3D-r0X"/>
  99. <constraint firstItem="Fbx-ED-uzg" firstAttribute="centerX" secondItem="tZO-Hq-S3D" secondAttribute="centerX" id="ca0-xt-JTA"/>
  100. <constraint firstItem="8Qz-OH-3II" firstAttribute="centerX" secondItem="tZO-Hq-S3D" secondAttribute="centerX" id="kQn-qM-HVL"/>
  101. <constraint firstItem="8Qz-OH-3II" firstAttribute="top" secondItem="Fbx-ED-uzg" secondAttribute="bottom" constant="16" id="otH-Iw-thJ"/>
  102. <constraint firstAttribute="bottom" secondItem="8Qz-OH-3II" secondAttribute="bottom" id="p1J-wZ-tEI"/>
  103. <constraint firstAttribute="trailing" secondItem="8Qz-OH-3II" secondAttribute="trailing" constant="20" id="s64-bd-3h1"/>
  104. <constraint firstItem="8Qz-OH-3II" firstAttribute="leading" secondItem="tZO-Hq-S3D" secondAttribute="leading" constant="20" id="vfG-yk-30X"/>
  105. </constraints>
  106. </customView>
  107. <scrollView borderType="none" autohidesScrollers="YES" horizontalLineScroll="24" horizontalPageScroll="10" verticalLineScroll="24" verticalPageScroll="10" hasHorizontalScroller="NO" usesPredominantAxisScrolling="NO" translatesAutoresizingMaskIntoConstraints="NO" id="eyd-vk-V3X">
  108. <rect key="frame" x="0.0" y="0.0" width="361" height="439"/>
  109. <clipView key="contentView" drawsBackground="NO" copiesOnScroll="NO" id="T1r-sF-va5">
  110. <rect key="frame" x="0.0" y="0.0" width="361" height="439"/>
  111. <autoresizingMask key="autoresizingMask" widthSizable="YES" heightSizable="YES"/>
  112. <subviews>
  113. <outlineView verticalHuggingPriority="750" allowsExpansionToolTips="YES" columnAutoresizingStyle="lastColumnOnly" tableStyle="fullWidth" columnReordering="NO" columnResizing="NO" multipleSelection="NO" autosaveColumns="NO" typeSelect="NO" rowHeight="24" rowSizeStyle="automatic" viewBased="YES" indentationPerLevel="14" outlineTableColumn="rXd-b0-DXq" id="elC-Oa-N3Z" customClass="KMOutlineView">
  114. <rect key="frame" x="0.0" y="0.0" width="361" height="439"/>
  115. <autoresizingMask key="autoresizingMask" widthSizable="YES" heightSizable="YES"/>
  116. <size key="intercellSpacing" width="17" height="0.0"/>
  117. <color key="backgroundColor" name="controlBackgroundColor" catalog="System" colorSpace="catalog"/>
  118. <color key="gridColor" white="1" alpha="0.0" colorSpace="custom" customColorSpace="genericGamma22GrayColorSpace"/>
  119. <tableColumns>
  120. <tableColumn width="349" minWidth="16" maxWidth="1000" id="rXd-b0-DXq">
  121. <tableHeaderCell key="headerCell" lineBreakMode="truncatingTail" borderStyle="border">
  122. <color key="textColor" name="headerTextColor" catalog="System" colorSpace="catalog"/>
  123. <color key="backgroundColor" name="headerColor" catalog="System" colorSpace="catalog"/>
  124. </tableHeaderCell>
  125. <textFieldCell key="dataCell" lineBreakMode="truncatingTail" selectable="YES" editable="YES" id="RBt-Cj-ata">
  126. <font key="font" metaFont="system"/>
  127. <color key="textColor" name="controlTextColor" catalog="System" colorSpace="catalog"/>
  128. <color key="backgroundColor" name="controlBackgroundColor" catalog="System" colorSpace="catalog"/>
  129. </textFieldCell>
  130. <tableColumnResizingMask key="resizingMask" resizeWithTable="YES" userResizable="YES"/>
  131. <prototypeCellViews>
  132. <tableCellView identifier="KMSignatureCellView" id="p3o-nh-yOK" customClass="KMSignatureCellView" customModule="PDF_Office" customModuleProvider="target">
  133. <rect key="frame" x="8" y="0.0" width="344" height="24"/>
  134. <autoresizingMask key="autoresizingMask" widthSizable="YES" heightSizable="YES"/>
  135. <subviews>
  136. <imageView wantsLayer="YES" horizontalHuggingPriority="251" verticalHuggingPriority="251" translatesAutoresizingMaskIntoConstraints="NO" id="h9E-eT-q33">
  137. <rect key="frame" x="0.0" y="-4" width="32" height="32"/>
  138. <constraints>
  139. <constraint firstAttribute="height" constant="32" id="Kzy-V7-eC0"/>
  140. <constraint firstAttribute="width" constant="32" id="V4I-K3-rji"/>
  141. </constraints>
  142. <imageCell key="cell" refusesFirstResponder="YES" alignment="left" imageScaling="proportionallyDown" image="KMImageNameSigntureVerifySuccess" id="gCT-L9-eDs"/>
  143. </imageView>
  144. <textField horizontalHuggingPriority="251" verticalHuggingPriority="750" translatesAutoresizingMaskIntoConstraints="NO" id="RIX-89-X8K">
  145. <rect key="frame" x="34" y="4" width="312" height="16"/>
  146. <textFieldCell key="cell" lineBreakMode="truncatingTail" alignment="left" title="1000" id="iy4-mz-XED">
  147. <font key="font" usesAppearanceFont="YES"/>
  148. <color key="textColor" name="labelColor" catalog="System" colorSpace="catalog"/>
  149. <color key="backgroundColor" name="textBackgroundColor" catalog="System" colorSpace="catalog"/>
  150. </textFieldCell>
  151. </textField>
  152. </subviews>
  153. <constraints>
  154. <constraint firstAttribute="trailing" secondItem="RIX-89-X8K" secondAttribute="trailing" id="2aH-rs-8kF"/>
  155. <constraint firstItem="RIX-89-X8K" firstAttribute="leading" secondItem="p3o-nh-yOK" secondAttribute="leading" constant="36" id="ApF-zg-iKn"/>
  156. <constraint firstItem="h9E-eT-q33" firstAttribute="leading" secondItem="p3o-nh-yOK" secondAttribute="leading" id="Bvp-fC-uSq"/>
  157. <constraint firstItem="h9E-eT-q33" firstAttribute="centerY" secondItem="p3o-nh-yOK" secondAttribute="centerY" id="Of0-K4-Wfl"/>
  158. <constraint firstItem="RIX-89-X8K" firstAttribute="centerY" secondItem="p3o-nh-yOK" secondAttribute="centerY" id="gq4-Bh-OxQ"/>
  159. </constraints>
  160. <connections>
  161. <outlet property="contenLabel" destination="RIX-89-X8K" id="8TY-PK-PVY"/>
  162. <outlet property="leftOffset" destination="ApF-zg-iKn" id="gmy-UX-y7n"/>
  163. <outlet property="signatureImageView" destination="h9E-eT-q33" id="W8m-K4-2mC"/>
  164. </connections>
  165. </tableCellView>
  166. </prototypeCellViews>
  167. </tableColumn>
  168. </tableColumns>
  169. </outlineView>
  170. </subviews>
  171. <nil key="backgroundColor"/>
  172. </clipView>
  173. <scroller key="horizontalScroller" hidden="YES" wantsLayer="YES" verticalHuggingPriority="750" controlSize="mini" horizontal="YES" id="arj-M1-dO0">
  174. <rect key="frame" x="-100" y="-100" width="238" height="11"/>
  175. <autoresizingMask key="autoresizingMask"/>
  176. </scroller>
  177. <scroller key="verticalScroller" hidden="YES" wantsLayer="YES" verticalHuggingPriority="750" controlSize="mini" horizontal="NO" id="N7X-EG-cMS">
  178. <rect key="frame" x="224" y="17" width="11" height="102"/>
  179. <autoresizingMask key="autoresizingMask"/>
  180. </scroller>
  181. </scrollView>
  182. </subviews>
  183. <constraints>
  184. <constraint firstItem="Yy5-ur-Thh" firstAttribute="leading" secondItem="Hz6-mo-xeY" secondAttribute="leading" id="3R7-Do-dsQ"/>
  185. <constraint firstItem="tZO-Hq-S3D" firstAttribute="centerX" secondItem="Hz6-mo-xeY" secondAttribute="centerX" id="57U-0Q-da0"/>
  186. <constraint firstItem="eyd-vk-V3X" firstAttribute="top" secondItem="Yy5-ur-Thh" secondAttribute="bottom" id="8lh-n5-3B2"/>
  187. <constraint firstItem="tZO-Hq-S3D" firstAttribute="centerY" secondItem="Hz6-mo-xeY" secondAttribute="centerY" id="AcC-NC-lSh"/>
  188. <constraint firstAttribute="trailing" secondItem="Yy5-ur-Thh" secondAttribute="trailing" id="IF7-8b-ozi"/>
  189. <constraint firstAttribute="trailing" secondItem="eyd-vk-V3X" secondAttribute="trailing" id="Pd1-c7-Fne"/>
  190. <constraint firstAttribute="bottom" secondItem="eyd-vk-V3X" secondAttribute="bottom" id="dlc-YB-ApE"/>
  191. <constraint firstItem="Yy5-ur-Thh" firstAttribute="top" secondItem="Hz6-mo-xeY" secondAttribute="top" id="ouu-wm-PvC"/>
  192. <constraint firstItem="eyd-vk-V3X" firstAttribute="leading" secondItem="Hz6-mo-xeY" secondAttribute="leading" id="yfe-MO-cu8"/>
  193. </constraints>
  194. <point key="canvasLocation" x="-58.5" y="151.5"/>
  195. </customView>
  196. </objects>
  197. <resources>
  198. <image name="KMImageNameEmptySignature" width="140" height="140"/>
  199. <image name="KMImageNameSidebarDeleteNor" width="16" height="16"/>
  200. <image name="KMImageNameSidebarValidationNor" width="16" height="16"/>
  201. <image name="KMImageNameSigntureVerifySuccess" width="32" height="32"/>
  202. </resources>
  203. </document>