DisplayPreferences.xib 24 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317
  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">
  3. <dependencies>
  4. <deployment version="101100" 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="KMDisplayPreferences" customModule="PDF_Master" customModuleProvider="target">
  10. <connections>
  11. <outlet property="antiAliasCheckButton" destination="9" id="101"/>
  12. <outlet property="colorControls" destination="121" id="133"/>
  13. <outlet property="colorLabels" destination="117" id="132"/>
  14. <outlet property="greekingLabelField" destination="11" id="88"/>
  15. <outlet property="greekingTextField" destination="10" id="89"/>
  16. <outlet property="tableFontComboBox" destination="29" id="90"/>
  17. <outlet property="tableFontLabelField" destination="28" id="91"/>
  18. <outlet property="thumbnailSizeControls" destination="109" id="115"/>
  19. <outlet property="thumbnailSizeLabels" destination="108" id="116"/>
  20. <outlet property="view" destination="1" id="81"/>
  21. </connections>
  22. </customObject>
  23. <customObject id="-1" userLabel="First Responder" customClass="FirstResponder"/>
  24. <customObject id="-3" userLabel="Application"/>
  25. <customView id="1">
  26. <rect key="frame" x="0.0" y="0.0" width="339" height="434"/>
  27. <autoresizingMask key="autoresizingMask" flexibleMaxX="YES" flexibleMaxY="YES"/>
  28. <subviews>
  29. <textField verticalHuggingPriority="750" fixedFrame="YES" translatesAutoresizingMaskIntoConstraints="NO" id="2">
  30. <rect key="frame" x="57" y="372" width="45" height="17"/>
  31. <autoresizingMask key="autoresizingMask"/>
  32. <textFieldCell key="cell" scrollable="YES" lineBreakMode="clipping" sendsActionOnEndEditing="YES" alignment="right" title="Pages:" id="50">
  33. <font key="font" metaFont="system"/>
  34. <color key="textColor" name="controlTextColor" catalog="System" colorSpace="catalog"/>
  35. <color key="backgroundColor" name="controlColor" catalog="System" colorSpace="catalog"/>
  36. </textFieldCell>
  37. </textField>
  38. <slider toolTip="Set the size of the thumbnails" verticalHuggingPriority="750" fixedFrame="YES" translatesAutoresizingMaskIntoConstraints="NO" id="3">
  39. <rect key="frame" x="105" y="368" width="149" height="21"/>
  40. <autoresizingMask key="autoresizingMask"/>
  41. <sliderCell key="cell" alignment="left" minValue="32" maxValue="256" doubleValue="64" tickMarkPosition="above" sliderType="linear" id="49">
  42. <font key="font" size="12" name="Helvetica"/>
  43. </sliderCell>
  44. <connections>
  45. <accessibilityConnection property="link" destination="5" id="104"/>
  46. <accessibilityConnection property="title" destination="2" id="52"/>
  47. <binding destination="61" name="value" keyPath="values.SKThumbnailSize" id="62"/>
  48. </connections>
  49. </slider>
  50. <textField verticalHuggingPriority="750" fixedFrame="YES" translatesAutoresizingMaskIntoConstraints="NO" id="4">
  51. <rect key="frame" x="29" y="340" width="73" height="17"/>
  52. <autoresizingMask key="autoresizingMask"/>
  53. <textFieldCell key="cell" scrollable="YES" lineBreakMode="clipping" sendsActionOnEndEditing="YES" alignment="right" title="Snapshots:" id="48">
  54. <font key="font" metaFont="system"/>
  55. <color key="textColor" name="controlTextColor" catalog="System" colorSpace="catalog"/>
  56. <color key="backgroundColor" name="controlColor" catalog="System" colorSpace="catalog"/>
  57. </textFieldCell>
  58. </textField>
  59. <slider toolTip="Set the size of the thumbnails" verticalHuggingPriority="750" fixedFrame="YES" translatesAutoresizingMaskIntoConstraints="NO" id="5">
  60. <rect key="frame" x="105" y="336" width="149" height="21"/>
  61. <autoresizingMask key="autoresizingMask"/>
  62. <sliderCell key="cell" alignment="left" minValue="32" maxValue="256" doubleValue="128" tickMarkPosition="above" sliderType="linear" id="47">
  63. <font key="font" size="12" name="Helvetica"/>
  64. </sliderCell>
  65. <connections>
  66. <accessibilityConnection property="title" destination="4" id="57"/>
  67. <binding destination="61" name="value" keyPath="values.SKSnapshotThumbnailSize" id="63"/>
  68. </connections>
  69. </slider>
  70. <button toolTip="Restrict thumbnail sizes to discrete values" fixedFrame="YES" imageHugsTitle="YES" translatesAutoresizingMaskIntoConstraints="NO" id="6">
  71. <rect key="frame" x="105" y="304" width="110" height="18"/>
  72. <autoresizingMask key="autoresizingMask"/>
  73. <buttonCell key="cell" type="check" title="Discrete sizes" bezelStyle="regularSquare" imagePosition="leading" alignment="left" inset="2" id="46">
  74. <behavior key="behavior" changeContents="YES" doesNotDimImage="YES" lightByContents="YES"/>
  75. <font key="font" metaFont="system"/>
  76. </buttonCell>
  77. <connections>
  78. <accessibilityConnection property="link" destination="3" id="105"/>
  79. <accessibilityConnection property="link" destination="5" id="106"/>
  80. <action selector="changeDiscreteThumbnailSizes:" target="-2" id="84"/>
  81. </connections>
  82. </button>
  83. <textField verticalHuggingPriority="750" fixedFrame="YES" translatesAutoresizingMaskIntoConstraints="NO" id="7">
  84. <rect key="frame" x="17" y="397" width="459" height="17"/>
  85. <autoresizingMask key="autoresizingMask" widthSizable="YES"/>
  86. <textFieldCell key="cell" scrollable="YES" lineBreakMode="clipping" sendsActionOnEndEditing="YES" title="Thumbnail sizes:" id="45">
  87. <font key="font" metaFont="system"/>
  88. <color key="textColor" name="controlTextColor" catalog="System" colorSpace="catalog"/>
  89. <color key="backgroundColor" name="controlColor" catalog="System" colorSpace="catalog"/>
  90. </textFieldCell>
  91. </textField>
  92. <box verticalHuggingPriority="750" fixedFrame="YES" boxType="separator" translatesAutoresizingMaskIntoConstraints="NO" id="8">
  93. <rect key="frame" x="12" y="291" width="315" height="5"/>
  94. <autoresizingMask key="autoresizingMask" widthSizable="YES"/>
  95. </box>
  96. <button toolTip="Render smooth text" fixedFrame="YES" imageHugsTitle="YES" translatesAutoresizingMaskIntoConstraints="NO" id="9">
  97. <rect key="frame" x="30" y="166" width="189" height="18"/>
  98. <autoresizingMask key="autoresizingMask"/>
  99. <buttonCell key="cell" type="check" title="Anti-alias text and line art" bezelStyle="regularSquare" imagePosition="leading" alignment="left" state="on" inset="2" id="44">
  100. <behavior key="behavior" changeContents="YES" doesNotDimImage="YES" lightByContents="YES"/>
  101. <font key="font" metaFont="system"/>
  102. </buttonCell>
  103. <connections>
  104. <binding destination="61" name="value" keyPath="values.SKShouldAntiAlias" id="68"/>
  105. </connections>
  106. </button>
  107. <textField toolTip="Don't render characters smaller than this size" verticalHuggingPriority="750" fixedFrame="YES" translatesAutoresizingMaskIntoConstraints="NO" id="10">
  108. <rect key="frame" x="164" y="188" width="53" height="22"/>
  109. <autoresizingMask key="autoresizingMask"/>
  110. <textFieldCell key="cell" scrollable="YES" lineBreakMode="clipping" selectable="YES" editable="YES" sendsActionOnEndEditing="YES" state="on" borderStyle="bezel" drawsBackground="YES" id="42">
  111. <numberFormatter key="formatter" formatterBehavior="10_0" positiveFormat="#,##0.##" negativeFormat="-#,##0.##" localizesFormat="NO" thousandSeparator="," id="43">
  112. <attributedString key="attributedStringForZero">
  113. <fragment content="0"/>
  114. </attributedString>
  115. <decimal key="minimum" value="NaN"/>
  116. <decimal key="maximum" value="NaN"/>
  117. </numberFormatter>
  118. <font key="font" metaFont="system"/>
  119. <color key="textColor" name="controlTextColor" catalog="System" colorSpace="catalog"/>
  120. <color key="backgroundColor" name="textBackgroundColor" catalog="System" colorSpace="catalog"/>
  121. </textFieldCell>
  122. <connections>
  123. <accessibilityConnection property="title" destination="11" id="54"/>
  124. <binding destination="61" name="value" keyPath="values.SKGreekingThreshold" id="67"/>
  125. </connections>
  126. </textField>
  127. <textField verticalHuggingPriority="750" fixedFrame="YES" translatesAutoresizingMaskIntoConstraints="NO" id="11">
  128. <rect key="frame" x="29" y="190" width="130" height="17"/>
  129. <autoresizingMask key="autoresizingMask"/>
  130. <textFieldCell key="cell" scrollable="YES" lineBreakMode="clipping" sendsActionOnEndEditing="YES" alignment="right" title="Greeking threshold:" id="41">
  131. <font key="font" metaFont="system"/>
  132. <color key="textColor" name="controlTextColor" catalog="System" colorSpace="catalog"/>
  133. <color key="backgroundColor" name="controlColor" catalog="System" colorSpace="catalog"/>
  134. </textFieldCell>
  135. </textField>
  136. <textField verticalHuggingPriority="750" fixedFrame="YES" translatesAutoresizingMaskIntoConstraints="NO" id="12">
  137. <rect key="frame" x="17" y="218" width="305" height="17"/>
  138. <autoresizingMask key="autoresizingMask" widthSizable="YES"/>
  139. <textFieldCell key="cell" scrollable="YES" lineBreakMode="clipping" sendsActionOnEndEditing="YES" title="PDF display:" id="40">
  140. <font key="font" metaFont="system"/>
  141. <color key="textColor" name="controlTextColor" catalog="System" colorSpace="catalog"/>
  142. <color key="backgroundColor" name="controlColor" catalog="System" colorSpace="catalog"/>
  143. </textFieldCell>
  144. </textField>
  145. <textField verticalHuggingPriority="750" fixedFrame="YES" translatesAutoresizingMaskIntoConstraints="NO" id="13">
  146. <rect key="frame" x="17" y="126" width="305" height="17"/>
  147. <autoresizingMask key="autoresizingMask" widthSizable="YES"/>
  148. <textFieldCell key="cell" scrollable="YES" lineBreakMode="clipping" sendsActionOnEndEditing="YES" title="Background color:" id="39">
  149. <font key="font" metaFont="system"/>
  150. <color key="textColor" name="controlTextColor" catalog="System" colorSpace="catalog"/>
  151. <color key="backgroundColor" name="controlColor" catalog="System" colorSpace="catalog"/>
  152. </textFieldCell>
  153. </textField>
  154. <textField verticalHuggingPriority="750" fixedFrame="YES" translatesAutoresizingMaskIntoConstraints="NO" id="14">
  155. <rect key="frame" x="29" y="98" width="55" height="17"/>
  156. <autoresizingMask key="autoresizingMask"/>
  157. <textFieldCell key="cell" scrollable="YES" lineBreakMode="clipping" sendsActionOnEndEditing="YES" alignment="right" title="Normal:" id="38">
  158. <font key="font" metaFont="system"/>
  159. <color key="textColor" name="controlTextColor" catalog="System" colorSpace="catalog"/>
  160. <color key="backgroundColor" name="controlColor" catalog="System" colorSpace="catalog"/>
  161. </textFieldCell>
  162. </textField>
  163. <textField verticalHuggingPriority="750" fixedFrame="YES" translatesAutoresizingMaskIntoConstraints="NO" id="15">
  164. <rect key="frame" x="158" y="98" width="77" height="17"/>
  165. <autoresizingMask key="autoresizingMask"/>
  166. <textFieldCell key="cell" scrollable="YES" lineBreakMode="clipping" sendsActionOnEndEditing="YES" alignment="right" title="Full Screen:" id="37">
  167. <font key="font" metaFont="system"/>
  168. <color key="textColor" name="controlTextColor" catalog="System" colorSpace="catalog"/>
  169. <color key="backgroundColor" name="controlColor" catalog="System" colorSpace="catalog"/>
  170. </textFieldCell>
  171. </textField>
  172. <colorWell toolTip="Color to use for the background of the PDF view in normal mode" fixedFrame="YES" translatesAutoresizingMaskIntoConstraints="NO" id="16">
  173. <rect key="frame" x="89" y="94" width="52" height="24"/>
  174. <autoresizingMask key="autoresizingMask"/>
  175. <color key="color" red="0.40000000600000002" green="0.40000000600000002" blue="0.40000000600000002" alpha="1" colorSpace="calibratedRGB"/>
  176. <connections>
  177. <accessibilityConnection property="link" destination="17" id="107"/>
  178. <accessibilityConnection property="title" destination="14" id="59"/>
  179. <binding destination="61" name="value" keyPath="values.SKBackgroundColor" id="76">
  180. <dictionary key="options">
  181. <string key="NSValueTransformerName">NSUnarchiveFromData</string>
  182. </dictionary>
  183. </binding>
  184. <outlet property="nextKeyView" destination="17" id="51"/>
  185. </connections>
  186. </colorWell>
  187. <colorWell toolTip="Color to use for the background of the PDF view in full screen mode" fixedFrame="YES" translatesAutoresizingMaskIntoConstraints="NO" id="17">
  188. <rect key="frame" x="240" y="94" width="52" height="24"/>
  189. <autoresizingMask key="autoresizingMask"/>
  190. <color key="color" red="0.0" green="0.0" blue="0.0" alpha="1" colorSpace="calibratedRGB"/>
  191. <connections>
  192. <accessibilityConnection property="title" destination="15" id="53"/>
  193. <binding destination="61" name="value" keyPath="values.SKFullScreenBackgroundColor" id="75">
  194. <dictionary key="options">
  195. <string key="NSValueTransformerName">NSUnarchiveFromData</string>
  196. </dictionary>
  197. </binding>
  198. </connections>
  199. </colorWell>
  200. <box verticalHuggingPriority="750" fixedFrame="YES" boxType="separator" translatesAutoresizingMaskIntoConstraints="NO" id="20">
  201. <rect key="frame" x="12" y="79" width="315" height="5"/>
  202. <autoresizingMask key="autoresizingMask" widthSizable="YES"/>
  203. </box>
  204. <textField verticalHuggingPriority="750" fixedFrame="YES" translatesAutoresizingMaskIntoConstraints="NO" id="22">
  205. <rect key="frame" x="17" y="52" width="305" height="17"/>
  206. <autoresizingMask key="autoresizingMask" widthSizable="YES"/>
  207. <textFieldCell key="cell" scrollable="YES" lineBreakMode="clipping" sendsActionOnEndEditing="YES" title="Reading bar:" id="35">
  208. <font key="font" metaFont="system"/>
  209. <color key="textColor" name="controlTextColor" catalog="System" colorSpace="catalog"/>
  210. <color key="backgroundColor" name="controlColor" catalog="System" colorSpace="catalog"/>
  211. </textFieldCell>
  212. </textField>
  213. <colorWell toolTip="Color to use for the reading bar" fixedFrame="YES" translatesAutoresizingMaskIntoConstraints="NO" id="23">
  214. <rect key="frame" x="89" y="20" width="52" height="24"/>
  215. <autoresizingMask key="autoresizingMask"/>
  216. <color key="color" red="1" green="1" blue="0.0" alpha="1" colorSpace="calibratedRGB"/>
  217. <connections>
  218. <accessibilityConnection property="link" destination="24" id="102"/>
  219. <accessibilityConnection property="title" destination="25" id="55"/>
  220. <binding destination="61" name="value" keyPath="values.SKReadingBarColor" id="79">
  221. <dictionary key="options">
  222. <string key="NSValueTransformerName">NSUnarchiveFromData</string>
  223. </dictionary>
  224. </binding>
  225. </connections>
  226. </colorWell>
  227. <button toolTip="Select to mask the text outside the reading bar" fixedFrame="YES" imageHugsTitle="YES" translatesAutoresizingMaskIntoConstraints="NO" id="24">
  228. <rect key="frame" x="159" y="23" width="83" height="18"/>
  229. <autoresizingMask key="autoresizingMask"/>
  230. <buttonCell key="cell" type="check" title="Invert bar" bezelStyle="regularSquare" imagePosition="leading" alignment="left" inset="2" id="34">
  231. <behavior key="behavior" changeContents="YES" doesNotDimImage="YES" lightByContents="YES"/>
  232. <font key="font" metaFont="system"/>
  233. </buttonCell>
  234. <connections>
  235. <binding destination="61" name="value" keyPath="values.SKReadingBarInvert" id="80"/>
  236. </connections>
  237. </button>
  238. <textField verticalHuggingPriority="750" fixedFrame="YES" translatesAutoresizingMaskIntoConstraints="NO" id="25">
  239. <rect key="frame" x="41" y="24" width="43" height="17"/>
  240. <autoresizingMask key="autoresizingMask"/>
  241. <textFieldCell key="cell" scrollable="YES" lineBreakMode="clipping" sendsActionOnEndEditing="YES" alignment="right" title="Color:" id="33">
  242. <font key="font" metaFont="system"/>
  243. <color key="textColor" name="controlTextColor" catalog="System" colorSpace="catalog"/>
  244. <color key="backgroundColor" name="controlColor" catalog="System" colorSpace="catalog"/>
  245. </textFieldCell>
  246. </textField>
  247. <box verticalHuggingPriority="750" fixedFrame="YES" boxType="separator" translatesAutoresizingMaskIntoConstraints="NO" id="26">
  248. <rect key="frame" x="12" y="153" width="315" height="5"/>
  249. <autoresizingMask key="autoresizingMask" widthSizable="YES"/>
  250. </box>
  251. <box verticalHuggingPriority="750" fixedFrame="YES" boxType="separator" translatesAutoresizingMaskIntoConstraints="NO" id="27">
  252. <rect key="frame" x="12" y="245" width="315" height="5"/>
  253. <autoresizingMask key="autoresizingMask" widthSizable="YES"/>
  254. </box>
  255. <textField verticalHuggingPriority="750" fixedFrame="YES" translatesAutoresizingMaskIntoConstraints="NO" id="28">
  256. <rect key="frame" x="17" y="261" width="102" height="17"/>
  257. <autoresizingMask key="autoresizingMask"/>
  258. <textFieldCell key="cell" scrollable="YES" lineBreakMode="clipping" sendsActionOnEndEditing="YES" alignment="right" title="Outline font size:" id="32">
  259. <font key="font" metaFont="system"/>
  260. <color key="textColor" name="controlTextColor" catalog="System" colorSpace="catalog"/>
  261. <color key="backgroundColor" name="controlColor" catalog="System" colorSpace="catalog"/>
  262. </textFieldCell>
  263. </textField>
  264. <comboBox toolTip="Font size to use for outlines" verticalHuggingPriority="750" fixedFrame="YES" textCompletion="NO" translatesAutoresizingMaskIntoConstraints="NO" id="29">
  265. <rect key="frame" x="124" y="257" width="57" height="26"/>
  266. <autoresizingMask key="autoresizingMask"/>
  267. <comboBoxCell key="cell" scrollable="YES" lineBreakMode="clipping" selectable="YES" editable="YES" sendsActionOnEndEditing="YES" borderStyle="bezel" drawsBackground="YES" completes="NO" numberOfVisibleItems="15" id="30">
  268. <numberFormatter key="formatter" formatterBehavior="10_0" positiveFormat="#,##0.#" negativeFormat="-#,##0.#" thousandSeparator="," id="31">
  269. <attributedString key="attributedStringForZero">
  270. <fragment content="0"/>
  271. </attributedString>
  272. <decimal key="minimum" value="NaN"/>
  273. <decimal key="maximum" value="NaN"/>
  274. </numberFormatter>
  275. <font key="font" metaFont="system"/>
  276. <color key="textColor" name="controlTextColor" catalog="System" colorSpace="catalog"/>
  277. <color key="backgroundColor" name="textBackgroundColor" catalog="System" colorSpace="catalog"/>
  278. </comboBoxCell>
  279. <connections>
  280. <accessibilityConnection property="title" destination="28" id="58"/>
  281. <binding destination="61" name="value" keyPath="values.SKTableFontSize" id="Ab9-ya-Ccs"/>
  282. </connections>
  283. </comboBox>
  284. </subviews>
  285. <point key="canvasLocation" x="-3" y="154"/>
  286. </customView>
  287. <userDefaultsController representsSharedInstance="YES" id="61"/>
  288. <customObject id="108" userLabel="Thumbnail Size Labels" customClass="SKIBArray">
  289. <connections>
  290. <outlet property="object1" destination="2" id="110"/>
  291. <outlet property="object2" destination="4" id="111"/>
  292. </connections>
  293. </customObject>
  294. <customObject id="109" userLabel="Thumbnail Size Controls" customClass="SKIBArray">
  295. <connections>
  296. <outlet property="object1" destination="3" id="112"/>
  297. <outlet property="object2" destination="5" id="113"/>
  298. <outlet property="object3" destination="6" id="114"/>
  299. </connections>
  300. </customObject>
  301. <customObject id="117" userLabel="Color Labels" customClass="SKIBArray">
  302. <connections>
  303. <outlet property="object1" destination="14" id="125"/>
  304. <outlet property="object2" destination="25" id="126"/>
  305. </connections>
  306. </customObject>
  307. <customObject id="121" userLabel="Color Controls" customClass="SKIBArray">
  308. <connections>
  309. <outlet property="object1" destination="16" id="127"/>
  310. <outlet property="object2" destination="15" id="128"/>
  311. <outlet property="object3" destination="17" id="129"/>
  312. <outlet property="object4" destination="23" id="130"/>
  313. <outlet property="object5" destination="24" id="131"/>
  314. </connections>
  315. </customObject>
  316. </objects>
  317. </document>