KMMainViewController.xib 21 KB

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