CustomStampTopToolbar.xib 21 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241
  1. <?xml version="1.0" encoding="UTF-8"?>
  2. <document type="com.apple.InterfaceBuilder3.Cocoa.XIB" version="3.0" toolsVersion="22505" targetRuntime="MacOSX.Cocoa" propertyAccessControl="none" useAutolayout="YES" customObjectInstantitationMethod="direct">
  3. <dependencies>
  4. <deployment identifier="macosx"/>
  5. <plugIn identifier="com.apple.InterfaceBuilder.CocoaPlugin" version="22505"/>
  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"/>
  10. <customObject id="-1" userLabel="First Responder" customClass="FirstResponder"/>
  11. <customObject id="-3" userLabel="Application" customClass="NSObject"/>
  12. <customView id="c22-O7-iKe" customClass="CustomStampTopToolbar" customModule="LynxPDF_Editor" customModuleProvider="target">
  13. <rect key="frame" x="0.0" y="0.0" width="442" height="32"/>
  14. <autoresizingMask key="autoresizingMask" flexibleMaxX="YES" flexibleMinY="YES"/>
  15. <subviews>
  16. <customView translatesAutoresizingMaskIntoConstraints="NO" id="SYH-ht-Luq">
  17. <rect key="frame" x="0.0" y="0.0" width="442" height="32"/>
  18. <subviews>
  19. <textField focusRingType="none" horizontalHuggingPriority="251" verticalHuggingPriority="750" translatesAutoresizingMaskIntoConstraints="NO" id="ATj-pD-FAo">
  20. <rect key="frame" x="-2" y="8" width="52" height="16"/>
  21. <textFieldCell key="cell" lineBreakMode="clipping" title="Preview" id="J2b-rs-WUP">
  22. <font key="font" usesAppearanceFont="YES"/>
  23. <color key="textColor" name="labelColor" catalog="System" colorSpace="catalog"/>
  24. <color key="backgroundColor" name="textBackgroundColor" catalog="System" colorSpace="catalog"/>
  25. </textFieldCell>
  26. </textField>
  27. <button tag="1" translatesAutoresizingMaskIntoConstraints="NO" id="aWo-Zi-KiT" customClass="KMButton" customModule="LynxPDF_Editor" customModuleProvider="target">
  28. <rect key="frame" x="180" y="4" width="24" height="24"/>
  29. <buttonCell key="cell" type="bevel" bezelStyle="rounded" image="csTopFit" imagePosition="overlaps" alignment="center" imageScaling="proportionallyDown" inset="2" id="PqL-UK-HHN">
  30. <behavior key="behavior" pushIn="YES" lightByBackground="YES" lightByGray="YES"/>
  31. <font key="font" metaFont="system"/>
  32. </buttonCell>
  33. <constraints>
  34. <constraint firstAttribute="height" constant="24" id="Dlp-0o-mMj"/>
  35. <constraint firstAttribute="width" constant="24" id="exu-f0-MHb"/>
  36. </constraints>
  37. <connections>
  38. <action selector="fitPageWidthAction:" target="c22-O7-iKe" id="RFG-SI-yUy"/>
  39. </connections>
  40. </button>
  41. <customView translatesAutoresizingMaskIntoConstraints="NO" id="F77-jK-ANe">
  42. <rect key="frame" x="212" y="8" width="1" height="16"/>
  43. <constraints>
  44. <constraint firstAttribute="height" constant="16" id="23D-aY-KIH"/>
  45. <constraint firstAttribute="width" constant="1" id="lD3-bO-kCB"/>
  46. </constraints>
  47. </customView>
  48. <button tag="1" translatesAutoresizingMaskIntoConstraints="NO" id="yAn-tI-nyJ" customClass="KMButton" customModule="LynxPDF_Editor" customModuleProvider="target">
  49. <rect key="frame" x="221" y="4" width="24" height="24"/>
  50. <buttonCell key="cell" type="bevel" bezelStyle="rounded" image="csTopIns" imagePosition="overlaps" alignment="center" imageScaling="proportionallyDown" inset="2" id="Mqr-DM-McN">
  51. <behavior key="behavior" pushIn="YES" lightByBackground="YES" lightByGray="YES"/>
  52. <font key="font" metaFont="system"/>
  53. </buttonCell>
  54. <constraints>
  55. <constraint firstAttribute="width" constant="24" id="ZDy-x4-ayZ"/>
  56. <constraint firstAttribute="height" constant="24" id="xfI-kE-lsm"/>
  57. </constraints>
  58. <connections>
  59. <action selector="increaseAction:" target="c22-O7-iKe" id="tcS-0Q-5z3"/>
  60. </connections>
  61. </button>
  62. <button tag="1" translatesAutoresizingMaskIntoConstraints="NO" id="q6N-ja-oQU" customClass="KMButton" customModule="LynxPDF_Editor" customModuleProvider="target">
  63. <rect key="frame" x="249" y="4" width="24" height="24"/>
  64. <buttonCell key="cell" type="bevel" bezelStyle="rounded" image="csTopDec" imagePosition="overlaps" alignment="center" imageScaling="proportionallyDown" inset="2" id="p6i-ax-ZUu">
  65. <behavior key="behavior" pushIn="YES" lightByBackground="YES" lightByGray="YES"/>
  66. <font key="font" metaFont="system"/>
  67. </buttonCell>
  68. <constraints>
  69. <constraint firstAttribute="width" constant="24" id="YIy-f2-cat"/>
  70. <constraint firstAttribute="height" constant="24" id="eGP-kt-fib"/>
  71. </constraints>
  72. <connections>
  73. <action selector="reduceAction:" target="c22-O7-iKe" id="whJ-Lp-0JH"/>
  74. </connections>
  75. </button>
  76. <view translatesAutoresizingMaskIntoConstraints="NO" id="jN7-4i-gsq">
  77. <rect key="frame" x="281" y="5" width="84" height="23"/>
  78. <subviews>
  79. <box fixedFrame="YES" boxType="custom" borderWidth="0.0" title="Box" translatesAutoresizingMaskIntoConstraints="NO" id="g8H-7m-uqn">
  80. <rect key="frame" x="0.0" y="0.0" width="84" height="23"/>
  81. <autoresizingMask key="autoresizingMask" widthSizable="YES" heightSizable="YES"/>
  82. <view key="contentView" id="rez-PY-1ZB">
  83. <rect key="frame" x="0.0" y="0.0" width="84" height="23"/>
  84. <autoresizingMask key="autoresizingMask" widthSizable="YES" heightSizable="YES"/>
  85. </view>
  86. </box>
  87. <textField focusRingType="none" verticalHuggingPriority="750" translatesAutoresizingMaskIntoConstraints="NO" id="ZIq-LE-awg">
  88. <rect key="frame" x="0.0" y="3" width="69" height="16"/>
  89. <textFieldCell key="cell" scrollable="YES" lineBreakMode="clipping" selectable="YES" editable="YES" sendsActionOnEndEditing="YES" state="on" focusRingType="none" alignment="center" title="100%" drawsBackground="YES" id="D7u-7E-JS8">
  90. <numberFormatter key="formatter" formatterBehavior="10_0" positiveFormat="0%" negativeFormat="-0%" hasThousandSeparators="NO" thousandSeparator="," id="cDO-KT-LWy" customClass="KMCSTextFormatter" customModule="LynxPDF_Editor" customModuleProvider="target">
  91. <attributedString key="attributedStringForZero">
  92. <fragment content="0%"/>
  93. </attributedString>
  94. <real key="minimum" value="0.0"/>
  95. <decimal key="maximum" value="NaN"/>
  96. </numberFormatter>
  97. <font key="font" metaFont="system"/>
  98. <color key="textColor" name="textColor" catalog="System" colorSpace="catalog"/>
  99. <color key="backgroundColor" white="0.0" alpha="0.0" colorSpace="custom" customColorSpace="genericGamma22GrayColorSpace"/>
  100. </textFieldCell>
  101. </textField>
  102. <popUpButton translatesAutoresizingMaskIntoConstraints="NO" id="gRa-Zg-uN7">
  103. <rect key="frame" x="64" y="1" width="20" height="20"/>
  104. <popUpButtonCell key="cell" type="bevel" title="Item" bezelStyle="regularSquare" alignment="left" lineBreakMode="truncatingTail" tag="10000" imageScaling="proportionallyDown" inset="2" pullsDown="YES" arrowPosition="noArrow" autoenablesItems="NO" altersStateOfSelectedItem="NO" selectedItem="Ilw-G5-SeA" id="ciY-I4-1ku" userLabel="Fit ">
  105. <behavior key="behavior" pushIn="YES" lightByBackground="YES" lightByGray="YES"/>
  106. <font key="font" metaFont="menu"/>
  107. <menu key="menu" autoenablesItems="NO" id="Lps-Bk-pRR">
  108. <items>
  109. <menuItem title="Item" image="KMImageNameUXIconBtnArrowDown" tag="10000" hidden="YES" id="Ilw-G5-SeA">
  110. <modifierMask key="keyEquivalentModifierMask"/>
  111. </menuItem>
  112. <menuItem title="Automatically Resize" id="B1C-Wk-9Kx"/>
  113. <menuItem title="Actual Size" tag="2" id="ee3-jX-Uy1">
  114. <modifierMask key="keyEquivalentModifierMask"/>
  115. </menuItem>
  116. <menuItem title="Zoom To Fit" tag="1" id="C9L-2g-FcK">
  117. <modifierMask key="keyEquivalentModifierMask"/>
  118. </menuItem>
  119. <menuItem isSeparatorItem="YES" tag="2" id="xYU-8R-F0V"/>
  120. <menuItem title="10%" tag="3" id="wPr-UI-pVN"/>
  121. <menuItem title="25%" tag="4" id="54O-md-f6r"/>
  122. <menuItem title="50%" tag="5" id="yGM-ao-Yyt">
  123. <modifierMask key="keyEquivalentModifierMask"/>
  124. </menuItem>
  125. <menuItem title="75%" tag="6" id="VTh-MW-Ehm">
  126. <modifierMask key="keyEquivalentModifierMask"/>
  127. </menuItem>
  128. <menuItem title="100%" tag="7" id="nFV-X4-Xhv">
  129. <modifierMask key="keyEquivalentModifierMask"/>
  130. </menuItem>
  131. <menuItem title="150%" tag="8" id="77u-65-gBe">
  132. <modifierMask key="keyEquivalentModifierMask"/>
  133. </menuItem>
  134. <menuItem title="200%" tag="9" id="puw-Pn-cfV">
  135. <modifierMask key="keyEquivalentModifierMask"/>
  136. </menuItem>
  137. <menuItem title="400%" tag="10" id="8W2-fS-DUw">
  138. <modifierMask key="keyEquivalentModifierMask"/>
  139. </menuItem>
  140. <menuItem title="800%" tag="11" id="85E-PB-9e4">
  141. <modifierMask key="keyEquivalentModifierMask"/>
  142. </menuItem>
  143. <menuItem title="1600%" tag="12" id="zaI-7m-YRj">
  144. <modifierMask key="keyEquivalentModifierMask"/>
  145. </menuItem>
  146. <menuItem title="3200%" tag="13" id="OFV-ib-fWB">
  147. <modifierMask key="keyEquivalentModifierMask"/>
  148. </menuItem>
  149. <menuItem title="6400%" tag="14" id="Fgr-2r-gDN">
  150. <modifierMask key="keyEquivalentModifierMask"/>
  151. </menuItem>
  152. <menuItem title="10000%" tag="15" id="iEp-eb-1gC">
  153. <modifierMask key="keyEquivalentModifierMask"/>
  154. </menuItem>
  155. </items>
  156. </menu>
  157. </popUpButtonCell>
  158. <constraints>
  159. <constraint firstAttribute="width" constant="15" id="Axv-hX-YQt"/>
  160. <constraint firstAttribute="height" constant="20" id="naX-cr-EkA"/>
  161. </constraints>
  162. <connections>
  163. <action selector="zoomModelSelectButtonAction:" target="c22-O7-iKe" id="UIr-bC-Kab"/>
  164. </connections>
  165. </popUpButton>
  166. </subviews>
  167. <constraints>
  168. <constraint firstAttribute="height" constant="23" id="5x9-Gi-0pD"/>
  169. <constraint firstAttribute="width" constant="84" id="FKr-GW-rEx"/>
  170. <constraint firstItem="ZIq-LE-awg" firstAttribute="centerY" secondItem="jN7-4i-gsq" secondAttribute="centerY" id="FpG-ih-gH6"/>
  171. <constraint firstItem="gRa-Zg-uN7" firstAttribute="centerY" secondItem="jN7-4i-gsq" secondAttribute="centerY" id="LKB-jq-GbM"/>
  172. <constraint firstAttribute="trailing" secondItem="gRa-Zg-uN7" secondAttribute="trailing" id="cy1-7q-lMK"/>
  173. <constraint firstItem="ZIq-LE-awg" firstAttribute="leading" secondItem="jN7-4i-gsq" secondAttribute="leading" id="eSo-Qb-3zZ"/>
  174. <constraint firstItem="gRa-Zg-uN7" firstAttribute="leading" secondItem="ZIq-LE-awg" secondAttribute="trailing" id="lhG-7w-zUy"/>
  175. </constraints>
  176. </view>
  177. <customView translatesAutoresizingMaskIntoConstraints="NO" id="k5b-87-eUi">
  178. <rect key="frame" x="373" y="8" width="1" height="16"/>
  179. <constraints>
  180. <constraint firstAttribute="width" constant="1" id="pvQ-36-RER"/>
  181. <constraint firstAttribute="height" constant="16" id="z3v-U6-uht"/>
  182. </constraints>
  183. </customView>
  184. <customView translatesAutoresizingMaskIntoConstraints="NO" id="cuz-H9-our">
  185. <rect key="frame" x="382" y="2" width="60" height="28"/>
  186. <constraints>
  187. <constraint firstAttribute="height" constant="28" id="fzy-yM-VSZ"/>
  188. <constraint firstAttribute="width" constant="60" id="g6J-Pg-BtU"/>
  189. </constraints>
  190. </customView>
  191. </subviews>
  192. <constraints>
  193. <constraint firstItem="aWo-Zi-KiT" firstAttribute="centerY" secondItem="SYH-ht-Luq" secondAttribute="centerY" id="DOg-7U-3nL"/>
  194. <constraint firstItem="k5b-87-eUi" firstAttribute="centerY" secondItem="SYH-ht-Luq" secondAttribute="centerY" id="Ku7-dJ-plC"/>
  195. <constraint firstItem="ATj-pD-FAo" firstAttribute="centerY" secondItem="SYH-ht-Luq" secondAttribute="centerY" id="Nr0-xU-3G7"/>
  196. <constraint firstAttribute="trailing" secondItem="cuz-H9-our" secondAttribute="trailing" id="P19-oj-IXA"/>
  197. <constraint firstItem="cuz-H9-our" firstAttribute="centerY" secondItem="SYH-ht-Luq" secondAttribute="centerY" id="VNa-TL-PsG"/>
  198. <constraint firstItem="jN7-4i-gsq" firstAttribute="centerY" secondItem="SYH-ht-Luq" secondAttribute="centerY" id="bLZ-zN-Pt5"/>
  199. <constraint firstItem="k5b-87-eUi" firstAttribute="leading" secondItem="jN7-4i-gsq" secondAttribute="trailing" constant="8" id="d18-SQ-mDx"/>
  200. <constraint firstItem="jN7-4i-gsq" firstAttribute="leading" secondItem="q6N-ja-oQU" secondAttribute="trailing" constant="8" id="dDH-xA-nGi"/>
  201. <constraint firstItem="F77-jK-ANe" firstAttribute="centerY" secondItem="SYH-ht-Luq" secondAttribute="centerY" id="hw6-UP-xaH"/>
  202. <constraint firstItem="yAn-tI-nyJ" firstAttribute="centerY" secondItem="SYH-ht-Luq" secondAttribute="centerY" id="mUs-JK-A7I"/>
  203. <constraint firstItem="cuz-H9-our" firstAttribute="leading" secondItem="k5b-87-eUi" secondAttribute="trailing" constant="8" id="peW-7m-oez"/>
  204. <constraint firstItem="q6N-ja-oQU" firstAttribute="leading" secondItem="yAn-tI-nyJ" secondAttribute="trailing" constant="4" id="qx0-0f-wyw"/>
  205. <constraint firstItem="F77-jK-ANe" firstAttribute="leading" secondItem="aWo-Zi-KiT" secondAttribute="trailing" constant="8" id="s3z-RB-tqk"/>
  206. <constraint firstItem="yAn-tI-nyJ" firstAttribute="leading" secondItem="F77-jK-ANe" secondAttribute="trailing" constant="8" id="sbz-e8-tOe"/>
  207. <constraint firstItem="q6N-ja-oQU" firstAttribute="centerY" secondItem="SYH-ht-Luq" secondAttribute="centerY" id="wD9-x1-RX3"/>
  208. <constraint firstItem="ATj-pD-FAo" firstAttribute="leading" secondItem="SYH-ht-Luq" secondAttribute="leading" id="whm-Ne-D06"/>
  209. </constraints>
  210. </customView>
  211. </subviews>
  212. <constraints>
  213. <constraint firstItem="SYH-ht-Luq" firstAttribute="top" secondItem="c22-O7-iKe" secondAttribute="top" id="8gR-XD-fF7"/>
  214. <constraint firstAttribute="bottom" secondItem="SYH-ht-Luq" secondAttribute="bottom" id="Rbu-6I-bdY"/>
  215. <constraint firstItem="SYH-ht-Luq" firstAttribute="leading" secondItem="c22-O7-iKe" secondAttribute="leading" id="w7e-C4-T3x"/>
  216. <constraint firstAttribute="trailing" secondItem="SYH-ht-Luq" secondAttribute="trailing" id="xqu-E8-qVB"/>
  217. </constraints>
  218. <connections>
  219. <outlet property="colorBGView" destination="cuz-H9-our" id="vOR-qI-rAy"/>
  220. <outlet property="contendView" destination="SYH-ht-Luq" id="BCb-PO-hIL"/>
  221. <outlet property="fitWidthBtn" destination="aWo-Zi-KiT" id="igT-NS-uMb"/>
  222. <outlet property="increaseBtn" destination="yAn-tI-nyJ" id="09y-M5-VjO"/>
  223. <outlet property="reduceBtn" destination="q6N-ja-oQU" id="AgA-yh-4AV"/>
  224. <outlet property="seplineView1" destination="F77-jK-ANe" id="LEg-4h-ojm"/>
  225. <outlet property="seplineView2" destination="k5b-87-eUi" id="Ql1-ru-2sa"/>
  226. <outlet property="titleLabel" destination="ATj-pD-FAo" id="X2b-bm-8Nj"/>
  227. <outlet property="zoomBox" destination="g8H-7m-uqn" id="KlY-OL-cAE"/>
  228. <outlet property="zoomButton" destination="gRa-Zg-uN7" id="EqB-ze-uN7"/>
  229. <outlet property="zoomTextField" destination="ZIq-LE-awg" id="Zug-hY-o3S"/>
  230. <outlet property="zoomView" destination="jN7-4i-gsq" id="ZT8-Uh-gKC"/>
  231. </connections>
  232. <point key="canvasLocation" x="132" y="-72"/>
  233. </customView>
  234. </objects>
  235. <resources>
  236. <image name="KMImageNameUXIconBtnArrowDown" width="17" height="16"/>
  237. <image name="csTopDec" width="24" height="24"/>
  238. <image name="csTopFit" width="24" height="24"/>
  239. <image name="csTopIns" width="24" height="24"/>
  240. </resources>
  241. </document>