KMMainViewController.xib 21 KB

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