KMMainViewController.xib 21 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255
  1. <?xml version="1.0" encoding="UTF-8"?>
  2. <document type="com.apple.InterfaceBuilder3.Cocoa.XIB" version="3.0" toolsVersion="21701" targetRuntime="MacOSX.Cocoa" propertyAccessControl="none" useAutolayout="YES" customObjectInstantitationMethod="direct">
  3. <dependencies>
  4. <deployment identifier="macosx"/>
  5. <plugIn identifier="com.apple.InterfaceBuilder.CocoaPlugin" version="21701"/>
  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="KMMainViewController" customModule="PDF_Master" customModuleProvider="target">
  10. <connections>
  11. <outlet property="PDFContendView" destination="yMu-ou-GV9" id="diy-Q0-PHp"/>
  12. <outlet property="bottomAreaView" destination="z7q-Gv-vF1" id="7WI-Yd-Ayi"/>
  13. <outlet property="childToolbarController" destination="2rl-M4-8Gt" id="qVG-Sq-Xvd"/>
  14. <outlet property="exitFullButton" destination="Qt3-H1-Txz" id="4bA-7e-JGM"/>
  15. <outlet property="heightOffset" destination="iA2-6j-Qjy" id="jkh-Z9-By7"/>
  16. <outlet property="leftView" destination="vrW-lc-OvI" id="VkU-t5-h1z"/>
  17. <outlet property="listView" destination="Cdz-fv-u4h" id="BLf-Jo-GG8"/>
  18. <outlet property="locationPageView" destination="lNB-M6-fxu" id="HMk-jd-IjS"/>
  19. <outlet property="mianSplitView" destination="uhq-Ou-HaH" id="BSo-qg-XXn"/>
  20. <outlet property="pageNumberDisplayView" destination="WjC-fF-x99" id="TH2-oe-F6s"/>
  21. <outlet property="pdfContentView" destination="2Kn-qX-BRm" id="K5Y-gR-sT6"/>
  22. <outlet property="pdfSplitSecondView" destination="Zhm-9e-eFs" id="I1I-R1-1We"/>
  23. <outlet property="pdfSplitView" destination="r2n-G7-pBF" id="zCH-LA-o4V"/>
  24. <outlet property="readContentView" destination="Qs2-A4-zLE" id="Oc4-ih-YsE"/>
  25. <outlet property="readModelView" destination="3E1-9V-2lu" id="UgX-gC-aGe"/>
  26. <outlet property="readModelViewWidthConstraint" destination="8go-j7-y2w" id="rT7-mj-MvK"/>
  27. <outlet property="rightView" destination="0Bt-mG-vsA" id="pZR-oX-ScK"/>
  28. <outlet property="secondaryPdfView" destination="Cyg-1v-mQT" id="FJh-z9-Seg"/>
  29. <outlet property="tipCurrentPageBox" destination="zKE-Pq-I7d" id="CYY-Lt-phh"/>
  30. <outlet property="tipCurrentPageBoxWidthConstraint" destination="z3X-e4-sUM" id="uXT-Me-dKQ"/>
  31. <outlet property="tipLabel" destination="wp0-L3-5I3" id="DWH-os-mvm"/>
  32. <outlet property="toolbarBox" destination="fsa-Dd-jjO" id="IWg-8f-X0p"/>
  33. <outlet property="toolbarController" destination="IRu-me-bV3" id="FYz-uc-cky"/>
  34. <outlet property="topTipBox" destination="nv7-P5-0d3" id="qXe-k0-kQa"/>
  35. <outlet property="view" destination="Hz6-mo-xeY" id="0bl-1N-x8E"/>
  36. </connections>
  37. </customObject>
  38. <customObject id="-1" userLabel="First Responder" customClass="FirstResponder"/>
  39. <customObject id="-3" userLabel="Application" customClass="NSObject"/>
  40. <customView id="Hz6-mo-xeY">
  41. <rect key="frame" x="0.0" y="0.0" width="1335" height="695"/>
  42. <autoresizingMask key="autoresizingMask" flexibleMaxX="YES" flexibleMinY="YES"/>
  43. <subviews>
  44. <button verticalHuggingPriority="750" translatesAutoresizingMaskIntoConstraints="NO" id="Qt3-H1-Txz">
  45. <rect key="frame" x="667" y="347" width="1" height="1"/>
  46. <constraints>
  47. <constraint firstAttribute="height" constant="0.10000000000000001" id="3Ah-UW-M3a"/>
  48. <constraint firstAttribute="width" constant="0.10000000000000001" id="Iz6-2Y-Kn5"/>
  49. </constraints>
  50. <buttonCell key="cell" type="bevel" bezelStyle="rounded" alignment="center" imageScaling="proportionallyDown" inset="2" id="RgE-Pm-Sre">
  51. <behavior key="behavior" pushIn="YES" lightByBackground="YES" lightByGray="YES"/>
  52. <font key="font" metaFont="system"/>
  53. <string key="keyEquivalent" base64-UTF8="YES">
  54. Gw
  55. </string>
  56. </buttonCell>
  57. <connections>
  58. <action selector="exitFullScreen:" target="-2" id="eVN-b0-2s4"/>
  59. </connections>
  60. </button>
  61. <customView translatesAutoresizingMaskIntoConstraints="NO" id="yMu-ou-GV9">
  62. <rect key="frame" x="0.0" y="0.0" width="1335" height="578"/>
  63. <subviews>
  64. <splitView arrangesAllSubviews="NO" dividerStyle="thin" vertical="YES" translatesAutoresizingMaskIntoConstraints="NO" id="uhq-Ou-HaH" customClass="KMSplitView">
  65. <rect key="frame" x="0.0" y="0.0" width="1335" height="578"/>
  66. <subviews>
  67. <customView fixedFrame="YES" id="vrW-lc-OvI">
  68. <rect key="frame" x="0.0" y="0.0" width="77" height="578"/>
  69. <autoresizingMask key="autoresizingMask" flexibleMaxX="YES" flexibleMinY="YES"/>
  70. </customView>
  71. <customView id="Qs2-A4-zLE">
  72. <rect key="frame" x="78" y="0.0" width="1000" height="578"/>
  73. <autoresizingMask key="autoresizingMask" flexibleMaxX="YES" flexibleMinY="YES"/>
  74. <subviews>
  75. <customView translatesAutoresizingMaskIntoConstraints="NO" id="Cdz-fv-u4h" customClass="CPDFListView">
  76. <rect key="frame" x="0.0" y="0.0" width="1000" height="578"/>
  77. </customView>
  78. <customView hidden="YES" translatesAutoresizingMaskIntoConstraints="NO" id="3E1-9V-2lu" customClass="KMReadModelView" customModule="PDF_Master" customModuleProvider="target">
  79. <rect key="frame" x="300" y="16" width="400" height="32"/>
  80. <constraints>
  81. <constraint firstAttribute="width" constant="400" id="8go-j7-y2w"/>
  82. <constraint firstAttribute="height" constant="32" id="Opl-4j-wTU"/>
  83. </constraints>
  84. </customView>
  85. <box boxType="custom" borderWidth="0.0" cornerRadius="4" title="Box" translatesAutoresizingMaskIntoConstraints="NO" id="zKE-Pq-I7d" customClass="KMBox" customModule="PDF_Master" customModuleProvider="target">
  86. <rect key="frame" x="16" y="16" width="82" height="36"/>
  87. <view key="contentView" id="cbK-wK-42I">
  88. <rect key="frame" x="0.0" y="0.0" width="82" height="36"/>
  89. <autoresizingMask key="autoresizingMask" widthSizable="YES" heightSizable="YES"/>
  90. <subviews>
  91. <customView translatesAutoresizingMaskIntoConstraints="NO" id="WjC-fF-x99" customClass="KMPageNumberDisplayView" customModule="PDF_Master" customModuleProvider="target">
  92. <rect key="frame" x="0.0" y="0.0" width="82" height="36"/>
  93. </customView>
  94. </subviews>
  95. <constraints>
  96. <constraint firstItem="WjC-fF-x99" firstAttribute="top" secondItem="cbK-wK-42I" secondAttribute="top" id="KCR-y4-bsp"/>
  97. <constraint firstAttribute="bottom" secondItem="WjC-fF-x99" secondAttribute="bottom" id="LEG-lv-ufS"/>
  98. <constraint firstAttribute="trailing" secondItem="WjC-fF-x99" secondAttribute="trailing" id="YBc-Lb-UZM"/>
  99. <constraint firstItem="WjC-fF-x99" firstAttribute="leading" secondItem="cbK-wK-42I" secondAttribute="leading" id="upx-Do-uTP"/>
  100. </constraints>
  101. </view>
  102. <constraints>
  103. <constraint firstAttribute="height" constant="36" id="yPh-H7-5s2"/>
  104. <constraint firstAttribute="width" constant="82" id="z3X-e4-sUM"/>
  105. </constraints>
  106. </box>
  107. </subviews>
  108. <constraints>
  109. <constraint firstItem="zKE-Pq-I7d" firstAttribute="leading" secondItem="Qs2-A4-zLE" secondAttribute="leading" constant="16" id="3s6-Bj-2o2"/>
  110. <constraint firstAttribute="bottom" secondItem="3E1-9V-2lu" secondAttribute="bottom" constant="16" id="DW1-wF-7bS"/>
  111. <constraint firstItem="Cdz-fv-u4h" firstAttribute="leading" secondItem="Qs2-A4-zLE" secondAttribute="leading" id="HaE-rw-x9w"/>
  112. <constraint firstAttribute="bottom" secondItem="zKE-Pq-I7d" secondAttribute="bottom" constant="16" id="KgI-r0-IvY"/>
  113. <constraint firstItem="Cdz-fv-u4h" firstAttribute="top" secondItem="Qs2-A4-zLE" secondAttribute="top" id="OKy-PG-6NE"/>
  114. <constraint firstItem="3E1-9V-2lu" firstAttribute="centerX" secondItem="Qs2-A4-zLE" secondAttribute="centerX" id="OOC-jQ-Ybs"/>
  115. <constraint firstAttribute="bottom" secondItem="Cdz-fv-u4h" secondAttribute="bottom" id="QSL-Y5-hK2"/>
  116. <constraint firstAttribute="trailing" secondItem="Cdz-fv-u4h" secondAttribute="trailing" id="cKK-EX-OXI"/>
  117. </constraints>
  118. </customView>
  119. <customView fixedFrame="YES" id="0Bt-mG-vsA">
  120. <rect key="frame" x="1079" y="0.0" width="256" height="578"/>
  121. <autoresizingMask key="autoresizingMask" flexibleMaxX="YES" flexibleMinY="YES"/>
  122. </customView>
  123. </subviews>
  124. <holdingPriorities>
  125. <real value="250"/>
  126. <real value="250"/>
  127. <real value="250"/>
  128. </holdingPriorities>
  129. <connections>
  130. <outlet property="delegate" destination="-2" id="YcF-pK-Dlb"/>
  131. </connections>
  132. </splitView>
  133. <box boxType="custom" borderWidth="0.0" title="Box" translatesAutoresizingMaskIntoConstraints="NO" id="nv7-P5-0d3">
  134. <rect key="frame" x="0.0" y="536" width="1335" height="32"/>
  135. <view key="contentView" id="1Ij-Tb-MuY">
  136. <rect key="frame" x="0.0" y="0.0" width="1335" height="32"/>
  137. <autoresizingMask key="autoresizingMask" widthSizable="YES" heightSizable="YES"/>
  138. </view>
  139. <constraints>
  140. <constraint firstAttribute="height" constant="32" id="Yz2-02-Ux4"/>
  141. </constraints>
  142. </box>
  143. <box boxType="custom" borderWidth="0.0" cornerRadius="4" translatesAutoresizingMaskIntoConstraints="NO" id="z7q-Gv-vF1" customClass="KMBox" customModule="PDF_Master" customModuleProvider="target">
  144. <rect key="frame" x="0.0" y="0.0" width="1335" height="48"/>
  145. <view key="contentView" id="y3C-Id-Gzh">
  146. <rect key="frame" x="0.0" y="0.0" width="1335" height="48"/>
  147. <autoresizingMask key="autoresizingMask" widthSizable="YES" heightSizable="YES"/>
  148. </view>
  149. <constraints>
  150. <constraint firstAttribute="height" constant="48" id="gO1-9O-4UB"/>
  151. </constraints>
  152. </box>
  153. </subviews>
  154. <constraints>
  155. <constraint firstAttribute="bottom" secondItem="uhq-Ou-HaH" secondAttribute="bottom" id="AbP-GY-khK"/>
  156. <constraint firstItem="nv7-P5-0d3" firstAttribute="leading" secondItem="yMu-ou-GV9" secondAttribute="leading" id="BEM-FN-659"/>
  157. <constraint firstItem="uhq-Ou-HaH" firstAttribute="top" secondItem="yMu-ou-GV9" secondAttribute="top" constant="0.5" id="CKx-9E-25D"/>
  158. <constraint firstItem="z7q-Gv-vF1" firstAttribute="leading" secondItem="yMu-ou-GV9" secondAttribute="leading" id="FfP-V1-SH3"/>
  159. <constraint firstItem="uhq-Ou-HaH" firstAttribute="leading" secondItem="yMu-ou-GV9" secondAttribute="leading" id="dsI-4r-SUj"/>
  160. <constraint firstAttribute="bottom" secondItem="z7q-Gv-vF1" secondAttribute="bottom" id="fxi-ff-Gcf"/>
  161. <constraint firstAttribute="trailing" secondItem="uhq-Ou-HaH" secondAttribute="trailing" id="s69-TM-sfe"/>
  162. <constraint firstAttribute="trailing" secondItem="z7q-Gv-vF1" secondAttribute="trailing" id="th9-iB-CmS"/>
  163. <constraint firstItem="nv7-P5-0d3" firstAttribute="top" secondItem="yMu-ou-GV9" secondAttribute="top" constant="10" id="ygy-64-hY6"/>
  164. <constraint firstAttribute="trailing" secondItem="nv7-P5-0d3" secondAttribute="trailing" id="zUu-zg-738"/>
  165. </constraints>
  166. </customView>
  167. <box boxType="custom" borderWidth="0.0" title="Box" translatesAutoresizingMaskIntoConstraints="NO" id="fsa-Dd-jjO">
  168. <rect key="frame" x="0.0" y="578" width="1335" height="117"/>
  169. <view key="contentView" id="MN2-6o-G1i">
  170. <rect key="frame" x="0.0" y="0.0" width="1335" height="117"/>
  171. <autoresizingMask key="autoresizingMask" widthSizable="YES" heightSizable="YES"/>
  172. </view>
  173. <constraints>
  174. <constraint firstAttribute="height" constant="117" id="iA2-6j-Qjy"/>
  175. </constraints>
  176. </box>
  177. </subviews>
  178. <constraints>
  179. <constraint firstAttribute="trailing" secondItem="yMu-ou-GV9" secondAttribute="trailing" id="5Dl-dZ-tKN"/>
  180. <constraint firstAttribute="bottom" secondItem="yMu-ou-GV9" secondAttribute="bottom" id="8vL-uz-oKR"/>
  181. <constraint firstItem="Qt3-H1-Txz" firstAttribute="centerX" secondItem="Hz6-mo-xeY" secondAttribute="centerX" id="Asv-Ub-cev"/>
  182. <constraint firstItem="fsa-Dd-jjO" firstAttribute="leading" secondItem="Hz6-mo-xeY" secondAttribute="leading" id="RqT-Ks-AE6"/>
  183. <constraint firstAttribute="trailing" secondItem="fsa-Dd-jjO" secondAttribute="trailing" id="T4A-wr-G6P"/>
  184. <constraint firstItem="Qt3-H1-Txz" firstAttribute="centerY" secondItem="Hz6-mo-xeY" secondAttribute="centerY" id="Y5R-BQ-jOQ"/>
  185. <constraint firstItem="fsa-Dd-jjO" firstAttribute="top" secondItem="Hz6-mo-xeY" secondAttribute="top" id="YlB-ub-DZs"/>
  186. <constraint firstItem="yMu-ou-GV9" firstAttribute="top" secondItem="fsa-Dd-jjO" secondAttribute="bottom" id="hZO-Wg-0Rw"/>
  187. <constraint firstItem="yMu-ou-GV9" firstAttribute="leading" secondItem="Hz6-mo-xeY" secondAttribute="leading" id="yEB-OY-nrB"/>
  188. </constraints>
  189. <point key="canvasLocation" x="457.5" y="352.5"/>
  190. </customView>
  191. <viewController id="2rl-M4-8Gt" customClass="KMToolbarViewController" customModule="PDF_Master" customModuleProvider="target"/>
  192. <viewController id="IRu-me-bV3" customClass="KMToolbarController" customModule="PDF_Master" customModuleProvider="target"/>
  193. <splitView dividerStyle="thin" vertical="YES" id="r2n-G7-pBF" customClass="KMSplitView">
  194. <rect key="frame" x="0.0" y="0.0" width="265" height="250"/>
  195. <autoresizingMask key="autoresizingMask" widthSizable="YES" heightSizable="YES"/>
  196. <subviews>
  197. <customView fixedFrame="YES" id="2Kn-qX-BRm" customClass="CPDFListView">
  198. <rect key="frame" x="0.0" y="0.0" width="111" height="250"/>
  199. <autoresizingMask key="autoresizingMask"/>
  200. </customView>
  201. <box fixedFrame="YES" boxType="custom" borderWidth="0.0" title="Box" id="Zhm-9e-eFs">
  202. <rect key="frame" x="112" y="0.0" width="153" height="250"/>
  203. <autoresizingMask key="autoresizingMask" flexibleMaxX="YES" flexibleMinY="YES"/>
  204. <view key="contentView" id="tG1-sz-xXY">
  205. <rect key="frame" x="0.0" y="0.0" width="153" height="250"/>
  206. <autoresizingMask key="autoresizingMask" widthSizable="YES" heightSizable="YES"/>
  207. </view>
  208. </box>
  209. </subviews>
  210. <holdingPriorities>
  211. <real value="250"/>
  212. <real value="250"/>
  213. </holdingPriorities>
  214. <point key="canvasLocation" x="-101.5" y="-401"/>
  215. </splitView>
  216. <customView id="Cyg-1v-mQT" customClass="CPDFView">
  217. <rect key="frame" x="0.0" y="0.0" width="204" height="252"/>
  218. <autoresizingMask key="autoresizingMask" flexibleMaxX="YES" flexibleMinY="YES"/>
  219. <point key="canvasLocation" x="226" y="-402"/>
  220. </customView>
  221. <customView id="lNB-M6-fxu">
  222. <rect key="frame" x="0.0" y="0.0" width="620" height="32"/>
  223. <autoresizingMask key="autoresizingMask" flexibleMaxX="YES" flexibleMinY="YES"/>
  224. <subviews>
  225. <imageView horizontalHuggingPriority="251" verticalHuggingPriority="251" translatesAutoresizingMaskIntoConstraints="NO" id="1tC-wW-Fbk">
  226. <rect key="frame" x="5" y="8" width="16" height="16"/>
  227. <constraints>
  228. <constraint firstAttribute="width" constant="16" id="JrS-Vw-YjE"/>
  229. <constraint firstAttribute="height" constant="16" id="Mvd-ei-za3"/>
  230. </constraints>
  231. <imageCell key="cell" refusesFirstResponder="YES" alignment="left" imageScaling="proportionallyDown" image="icon_tip_info_small" id="OeM-gK-2cL"/>
  232. </imageView>
  233. <textField horizontalHuggingPriority="251" verticalHuggingPriority="750" translatesAutoresizingMaskIntoConstraints="NO" id="wp0-L3-5I3">
  234. <rect key="frame" x="21" y="8" width="734" height="17"/>
  235. <textFieldCell key="cell" lineBreakMode="clipping" title="Please use the scroll bar, thumbnail tool to locate the target page, click or box the area to select the target range." id="P3j-kh-acn">
  236. <font key="font" metaFont="system" size="14"/>
  237. <color key="textColor" name="labelColor" catalog="System" colorSpace="catalog"/>
  238. <color key="backgroundColor" name="textBackgroundColor" catalog="System" colorSpace="catalog"/>
  239. </textFieldCell>
  240. </textField>
  241. </subviews>
  242. <constraints>
  243. <constraint firstItem="1tC-wW-Fbk" firstAttribute="centerY" secondItem="lNB-M6-fxu" secondAttribute="centerY" id="7Ls-Rn-8pc"/>
  244. <constraint firstItem="wp0-L3-5I3" firstAttribute="leading" secondItem="1tC-wW-Fbk" secondAttribute="trailing" constant="2" id="FXi-6E-KRI"/>
  245. <constraint firstAttribute="height" constant="32" id="ZSU-XD-np8"/>
  246. <constraint firstItem="wp0-L3-5I3" firstAttribute="centerY" secondItem="lNB-M6-fxu" secondAttribute="centerY" id="bgf-Nz-lg0"/>
  247. <constraint firstItem="1tC-wW-Fbk" firstAttribute="leading" secondItem="lNB-M6-fxu" secondAttribute="leading" constant="5" id="xNc-J0-LXI"/>
  248. </constraints>
  249. <point key="canvasLocation" x="-223" y="849"/>
  250. </customView>
  251. </objects>
  252. <resources>
  253. <image name="icon_tip_info_small" width="16" height="16"/>
  254. </resources>
  255. </document>