KMBookMarkViewController.xib 23 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225
  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="KMBookMarkViewController" customModule="PDF_Office" customModuleProvider="target">
  10. <connections>
  11. <outlet property="addBookButton" destination="3yQ-un-hNE" id="kxu-QV-1AM"/>
  12. <outlet property="bigTipLabel" destination="BO0-hw-zv2" id="hvD-cO-67N"/>
  13. <outlet property="bookTableView" destination="jMm-Al-ZqF" id="9wa-Z0-JAz"/>
  14. <outlet property="emptyView" destination="H5X-YQ-dvn" id="6p4-Ta-8tF"/>
  15. <outlet property="tipLabel" destination="Msu-u0-gPn" id="ffr-tn-AMo"/>
  16. <outlet property="titleTextField" destination="3oi-0L-gXH" id="nKT-yM-6bo"/>
  17. <outlet property="topSeplineView" destination="ep4-a0-YrH" id="10a-WM-HdS"/>
  18. <outlet property="view" destination="Hz6-mo-xeY" id="0bl-1N-x8E"/>
  19. </connections>
  20. </customObject>
  21. <customObject id="-1" userLabel="First Responder" customClass="FirstResponder"/>
  22. <customObject id="-3" userLabel="Application" customClass="NSObject"/>
  23. <customView appearanceType="aqua" misplaced="YES" id="Hz6-mo-xeY">
  24. <rect key="frame" x="0.0" y="0.0" width="260" height="423"/>
  25. <autoresizingMask key="autoresizingMask" widthSizable="YES" heightSizable="YES"/>
  26. <subviews>
  27. <customView id="Pzi-Vp-0aL">
  28. <rect key="frame" x="0.0" y="0.0" width="260" height="423"/>
  29. <autoresizingMask key="autoresizingMask" widthSizable="YES" heightSizable="YES"/>
  30. <subviews>
  31. <customView translatesAutoresizingMaskIntoConstraints="NO" id="ZOC-6Y-3av">
  32. <rect key="frame" x="0.0" y="0.0" width="260" height="422"/>
  33. <subviews>
  34. <view translatesAutoresizingMaskIntoConstraints="NO" id="bIK-U7-Zqf">
  35. <rect key="frame" x="0.0" y="378" width="260" height="44"/>
  36. <subviews>
  37. <textField horizontalHuggingPriority="251" verticalHuggingPriority="750" translatesAutoresizingMaskIntoConstraints="NO" id="3oi-0L-gXH">
  38. <rect key="frame" x="18" y="14" width="35" height="16"/>
  39. <textFieldCell key="cell" lineBreakMode="clipping" title="book" id="Lva-jT-T3H">
  40. <font key="font" usesAppearanceFont="YES"/>
  41. <color key="textColor" name="labelColor" catalog="System" colorSpace="catalog"/>
  42. <color key="backgroundColor" name="textBackgroundColor" catalog="System" colorSpace="catalog"/>
  43. </textFieldCell>
  44. </textField>
  45. <button verticalHuggingPriority="750" translatesAutoresizingMaskIntoConstraints="NO" id="3yQ-un-hNE">
  46. <rect key="frame" x="214" y="10" width="24" height="24"/>
  47. <constraints>
  48. <constraint firstAttribute="height" constant="24" id="54D-pF-AoV"/>
  49. <constraint firstAttribute="width" constant="24" id="oZP-jn-egC"/>
  50. </constraints>
  51. <buttonCell key="cell" type="smallSquare" bezelStyle="smallSquare" image="KMImageNameBookMarksAdd" imagePosition="overlaps" alignment="center" lineBreakMode="truncatingTail" state="on" imageScaling="proportionallyDown" inset="2" id="wPd-bK-WYA">
  52. <behavior key="behavior" pushIn="YES" lightByBackground="YES" lightByGray="YES"/>
  53. <font key="font" metaFont="system"/>
  54. </buttonCell>
  55. <connections>
  56. <action selector="addBookmarkAction:" target="-2" id="LYe-dO-Oje"/>
  57. </connections>
  58. </button>
  59. <customView fixedFrame="YES" translatesAutoresizingMaskIntoConstraints="NO" id="ep4-a0-YrH">
  60. <rect key="frame" x="0.0" y="0.0" width="260" height="1"/>
  61. <autoresizingMask key="autoresizingMask" widthSizable="YES" flexibleMaxY="YES"/>
  62. </customView>
  63. </subviews>
  64. <constraints>
  65. <constraint firstItem="3oi-0L-gXH" firstAttribute="centerY" secondItem="bIK-U7-Zqf" secondAttribute="centerY" id="Dx4-hO-Mw9"/>
  66. <constraint firstAttribute="trailing" secondItem="3yQ-un-hNE" secondAttribute="trailing" constant="22" id="SeY-1V-RIE"/>
  67. <constraint firstAttribute="height" constant="44" id="VqR-5n-kaA"/>
  68. <constraint firstItem="3oi-0L-gXH" firstAttribute="leading" secondItem="bIK-U7-Zqf" secondAttribute="leading" constant="20" id="Zaz-F0-rX0"/>
  69. <constraint firstItem="3yQ-un-hNE" firstAttribute="centerY" secondItem="bIK-U7-Zqf" secondAttribute="centerY" id="kXJ-wD-hOY"/>
  70. </constraints>
  71. </view>
  72. </subviews>
  73. <constraints>
  74. <constraint firstItem="bIK-U7-Zqf" firstAttribute="leading" secondItem="ZOC-6Y-3av" secondAttribute="leading" id="N4Q-QB-Wxh"/>
  75. <constraint firstAttribute="trailing" secondItem="bIK-U7-Zqf" secondAttribute="trailing" id="SNG-1i-cqG"/>
  76. <constraint firstItem="bIK-U7-Zqf" firstAttribute="top" secondItem="ZOC-6Y-3av" secondAttribute="top" id="qZQ-ok-kM8"/>
  77. </constraints>
  78. </customView>
  79. <box fixedFrame="YES" borderType="none" title="Box" titlePosition="noTitle" translatesAutoresizingMaskIntoConstraints="NO" id="QXl-f3-0nT">
  80. <rect key="frame" x="0.0" y="0.0" width="260" height="379"/>
  81. <autoresizingMask key="autoresizingMask" widthSizable="YES" heightSizable="YES"/>
  82. <view key="contentView" id="5Km-Gq-7Y6">
  83. <rect key="frame" x="0.0" y="0.0" width="260" height="379"/>
  84. <autoresizingMask key="autoresizingMask" widthSizable="YES" heightSizable="YES"/>
  85. <subviews>
  86. <scrollView fixedFrame="YES" autohidesScrollers="YES" horizontalLineScroll="35" horizontalPageScroll="10" verticalLineScroll="35" verticalPageScroll="10" usesPredominantAxisScrolling="NO" translatesAutoresizingMaskIntoConstraints="NO" id="P2v-Ak-LWO">
  87. <rect key="frame" x="0.0" y="2" width="260" height="377"/>
  88. <autoresizingMask key="autoresizingMask" widthSizable="YES" heightSizable="YES"/>
  89. <clipView key="contentView" id="KFG-R9-2uc">
  90. <rect key="frame" x="1" y="1" width="258" height="375"/>
  91. <autoresizingMask key="autoresizingMask" widthSizable="YES" heightSizable="YES"/>
  92. <subviews>
  93. <tableView verticalHuggingPriority="750" allowsExpansionToolTips="YES" columnAutoresizingStyle="lastColumnOnly" multipleSelection="NO" autosaveColumns="NO" rowHeight="35" rowSizeStyle="automatic" viewBased="YES" id="jMm-Al-ZqF">
  94. <rect key="frame" x="0.0" y="0.0" width="258" height="375"/>
  95. <autoresizingMask key="autoresizingMask" widthSizable="YES" heightSizable="YES"/>
  96. <size key="intercellSpacing" width="17" height="0.0"/>
  97. <color key="backgroundColor" name="controlBackgroundColor" catalog="System" colorSpace="catalog"/>
  98. <color key="gridColor" name="gridColor" catalog="System" colorSpace="catalog"/>
  99. <tableColumns>
  100. <tableColumn identifier="AutomaticTableColumnIdentifier.0" width="246" minWidth="40" maxWidth="1000" id="5vi-WM-WUD">
  101. <tableHeaderCell key="headerCell" lineBreakMode="truncatingTail" borderStyle="border">
  102. <color key="textColor" name="headerTextColor" catalog="System" colorSpace="catalog"/>
  103. <color key="backgroundColor" name="headerColor" catalog="System" colorSpace="catalog"/>
  104. </tableHeaderCell>
  105. <textFieldCell key="dataCell" lineBreakMode="truncatingTail" selectable="YES" editable="YES" title="Text Cell" id="NTY-yR-c5t">
  106. <font key="font" metaFont="system"/>
  107. <color key="textColor" name="controlTextColor" catalog="System" colorSpace="catalog"/>
  108. <color key="backgroundColor" name="controlBackgroundColor" catalog="System" colorSpace="catalog"/>
  109. </textFieldCell>
  110. <tableColumnResizingMask key="resizingMask" resizeWithTable="YES" userResizable="YES"/>
  111. <prototypeCellViews>
  112. <tableCellView identifier="KMBookCellView" id="qIV-zJ-BTn" customClass="KMBookCellView" customModule="PDF_Office" customModuleProvider="target">
  113. <rect key="frame" x="8" y="0.0" width="241" height="35"/>
  114. <autoresizingMask key="autoresizingMask" widthSizable="YES" heightSizable="YES"/>
  115. <subviews>
  116. <textField horizontalHuggingPriority="251" verticalHuggingPriority="750" horizontalCompressionResistancePriority="250" fixedFrame="YES" translatesAutoresizingMaskIntoConstraints="NO" id="rcv-Rq-TyR">
  117. <rect key="frame" x="25" y="10" width="215" height="16"/>
  118. <autoresizingMask key="autoresizingMask" widthSizable="YES" flexibleMinY="YES" flexibleMaxY="YES"/>
  119. <textFieldCell key="cell" lineBreakMode="truncatingTail" sendsActionOnEndEditing="YES" title="Table View Cell" id="f2w-oF-jeX">
  120. <font key="font" usesAppearanceFont="YES"/>
  121. <color key="textColor" name="controlTextColor" catalog="System" colorSpace="catalog"/>
  122. <color key="backgroundColor" name="textBackgroundColor" catalog="System" colorSpace="catalog"/>
  123. </textFieldCell>
  124. </textField>
  125. <imageView horizontalHuggingPriority="251" verticalHuggingPriority="251" translatesAutoresizingMaskIntoConstraints="NO" id="jVn-Rk-t92">
  126. <rect key="frame" x="0.0" y="10" width="16" height="16"/>
  127. <imageCell key="cell" refusesFirstResponder="YES" alignment="left" imageScaling="proportionallyDown" image="KMImageNameSidebarBookCellMark" id="8wC-vm-GhN"/>
  128. </imageView>
  129. </subviews>
  130. <constraints>
  131. <constraint firstItem="jVn-Rk-t92" firstAttribute="centerY" secondItem="qIV-zJ-BTn" secondAttribute="centerY" id="fuR-xg-pTe"/>
  132. <constraint firstItem="jVn-Rk-t92" firstAttribute="leading" secondItem="qIV-zJ-BTn" secondAttribute="leading" id="x3B-Pd-T0N"/>
  133. </constraints>
  134. <connections>
  135. <outlet property="bookTitle" destination="rcv-Rq-TyR" id="MR2-sT-XU9"/>
  136. <outlet property="textField" destination="rcv-Rq-TyR" id="fvG-17-CgJ"/>
  137. </connections>
  138. </tableCellView>
  139. </prototypeCellViews>
  140. </tableColumn>
  141. </tableColumns>
  142. <connections>
  143. <outlet property="dataSource" destination="-2" id="NL4-lv-f59"/>
  144. <outlet property="delegate" destination="-2" id="wfi-fB-Y3W"/>
  145. </connections>
  146. </tableView>
  147. </subviews>
  148. </clipView>
  149. <scroller key="horizontalScroller" hidden="YES" wantsLayer="YES" verticalHuggingPriority="750" horizontal="YES" id="UbR-Pn-9tg">
  150. <rect key="frame" x="1" y="238" width="258" height="15"/>
  151. <autoresizingMask key="autoresizingMask"/>
  152. </scroller>
  153. <scroller key="verticalScroller" hidden="YES" wantsLayer="YES" verticalHuggingPriority="750" horizontal="NO" id="Ali-DJ-95W">
  154. <rect key="frame" x="224" y="17" width="15" height="102"/>
  155. <autoresizingMask key="autoresizingMask"/>
  156. </scroller>
  157. </scrollView>
  158. </subviews>
  159. </view>
  160. </box>
  161. <customView translatesAutoresizingMaskIntoConstraints="NO" id="H5X-YQ-dvn">
  162. <rect key="frame" x="0.0" y="0.0" width="260" height="378"/>
  163. <subviews>
  164. <imageView horizontalHuggingPriority="251" verticalHuggingPriority="251" translatesAutoresizingMaskIntoConstraints="NO" id="8R5-DW-bXb">
  165. <rect key="frame" x="64" y="99" width="132" height="128"/>
  166. <imageCell key="cell" refusesFirstResponder="YES" alignment="left" imageScaling="proportionallyDown" image="KMImageNameBookMarkEmpty" id="6Kl-9F-c8Y"/>
  167. </imageView>
  168. <textField horizontalHuggingPriority="251" verticalHuggingPriority="750" translatesAutoresizingMaskIntoConstraints="NO" id="BO0-hw-zv2">
  169. <rect key="frame" x="62" y="69" width="136" height="17"/>
  170. <textFieldCell key="cell" lineBreakMode="clipping" alignment="center" title="No bookmark found" id="6Wq-yY-yuD">
  171. <font key="font" metaFont="system" size="14"/>
  172. <color key="textColor" name="labelColor" catalog="System" colorSpace="catalog"/>
  173. <color key="backgroundColor" name="textBackgroundColor" catalog="System" colorSpace="catalog"/>
  174. </textFieldCell>
  175. </textField>
  176. <textField horizontalHuggingPriority="251" verticalHuggingPriority="750" translatesAutoresizingMaskIntoConstraints="NO" id="Msu-u0-gPn">
  177. <rect key="frame" x="33" y="54" width="194" height="15"/>
  178. <textFieldCell key="cell" alignment="center" id="bpF-T2-SUC">
  179. <font key="font" metaFont="cellTitle"/>
  180. <color key="textColor" name="labelColor" catalog="System" colorSpace="catalog"/>
  181. <color key="backgroundColor" name="textBackgroundColor" catalog="System" colorSpace="catalog"/>
  182. </textFieldCell>
  183. </textField>
  184. </subviews>
  185. <constraints>
  186. <constraint firstItem="BO0-hw-zv2" firstAttribute="centerX" secondItem="8R5-DW-bXb" secondAttribute="centerX" id="3xF-YB-i7s"/>
  187. <constraint firstItem="Msu-u0-gPn" firstAttribute="centerX" secondItem="8R5-DW-bXb" secondAttribute="centerX" id="Bbu-An-pt0"/>
  188. <constraint firstItem="BO0-hw-zv2" firstAttribute="trailing" secondItem="8R5-DW-bXb" secondAttribute="trailing" id="OL0-oR-eMj"/>
  189. <constraint firstItem="Msu-u0-gPn" firstAttribute="leading" secondItem="H5X-YQ-dvn" secondAttribute="leading" constant="35" id="W06-FV-M5o"/>
  190. <constraint firstItem="Msu-u0-gPn" firstAttribute="top" secondItem="BO0-hw-zv2" secondAttribute="bottom" id="cAD-Uc-2BD"/>
  191. <constraint firstAttribute="trailing" secondItem="Msu-u0-gPn" secondAttribute="trailing" constant="35" id="fpI-vC-wce"/>
  192. <constraint firstItem="8R5-DW-bXb" firstAttribute="centerX" secondItem="H5X-YQ-dvn" secondAttribute="centerX" id="h2y-aH-peY"/>
  193. <constraint firstItem="BO0-hw-zv2" firstAttribute="top" secondItem="8R5-DW-bXb" secondAttribute="bottom" constant="13" id="lqe-5Y-3vw"/>
  194. <constraint firstItem="8R5-DW-bXb" firstAttribute="top" secondItem="H5X-YQ-dvn" secondAttribute="top" constant="151" id="rhF-Ny-cyl"/>
  195. <constraint firstItem="BO0-hw-zv2" firstAttribute="leading" secondItem="8R5-DW-bXb" secondAttribute="leading" id="v9H-xv-zGQ"/>
  196. </constraints>
  197. </customView>
  198. </subviews>
  199. <constraints>
  200. <constraint firstItem="H5X-YQ-dvn" firstAttribute="top" secondItem="Pzi-Vp-0aL" secondAttribute="top" constant="44" id="0dy-zM-Gng"/>
  201. <constraint firstAttribute="bottom" secondItem="ZOC-6Y-3av" secondAttribute="bottom" id="4ov-Bb-8Lk"/>
  202. <constraint firstAttribute="bottom" secondItem="H5X-YQ-dvn" secondAttribute="bottom" id="7lI-ee-1T3"/>
  203. <constraint firstAttribute="trailing" secondItem="ZOC-6Y-3av" secondAttribute="trailing" id="EeR-9w-YDN"/>
  204. <constraint firstItem="ZOC-6Y-3av" firstAttribute="top" secondItem="Pzi-Vp-0aL" secondAttribute="top" id="ST1-fp-Ijg"/>
  205. <constraint firstItem="ZOC-6Y-3av" firstAttribute="leading" secondItem="Pzi-Vp-0aL" secondAttribute="leading" id="apt-tg-cnQ"/>
  206. <constraint firstAttribute="trailing" secondItem="H5X-YQ-dvn" secondAttribute="trailing" id="hYV-Ps-ktw"/>
  207. <constraint firstItem="H5X-YQ-dvn" firstAttribute="leading" secondItem="Pzi-Vp-0aL" secondAttribute="leading" id="ooT-we-LHE"/>
  208. </constraints>
  209. </customView>
  210. </subviews>
  211. <constraints>
  212. <constraint firstAttribute="trailing" secondItem="Pzi-Vp-0aL" secondAttribute="trailing" id="EgH-pS-Pio"/>
  213. <constraint firstAttribute="bottom" secondItem="Pzi-Vp-0aL" secondAttribute="bottom" id="ggO-g1-Ndz"/>
  214. <constraint firstItem="Pzi-Vp-0aL" firstAttribute="leading" secondItem="Hz6-mo-xeY" secondAttribute="leading" id="rYP-sd-AtW"/>
  215. <constraint firstItem="Pzi-Vp-0aL" firstAttribute="top" secondItem="Hz6-mo-xeY" secondAttribute="top" id="zTJ-d0-rbP"/>
  216. </constraints>
  217. <point key="canvasLocation" x="-296" y="229.5"/>
  218. </customView>
  219. </objects>
  220. <resources>
  221. <image name="KMImageNameBookMarkEmpty" width="128" height="128"/>
  222. <image name="KMImageNameBookMarksAdd" width="16" height="16"/>
  223. <image name="KMImageNameSidebarBookCellMark" width="16" height="16"/>
  224. </resources>
  225. </document>