KMOCRChooseView.xib 11 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130
  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="KMOCRChooseView" customModule="PDF_Office" customModuleProvider="target">
  10. <connections>
  11. <outlet property="exportFormatLabel" destination="CGa-CI-bJQ" id="p4w-pM-or9"/>
  12. <outlet property="exportPDFButton" destination="ACz-Lf-s02" id="of2-4A-Cj4"/>
  13. <outlet property="exportTXTButton" destination="hKc-MC-gYa" id="Vr4-ct-836"/>
  14. <outlet property="languageButton" destination="Dtq-Nl-yLO" id="PG8-a8-iKK"/>
  15. <outlet property="titleLabel" destination="EKL-J3-8ZT" id="XIc-At-ZuL"/>
  16. </connections>
  17. </customObject>
  18. <customObject id="-1" userLabel="First Responder" customClass="FirstResponder"/>
  19. <customObject id="-3" userLabel="Application" customClass="NSObject"/>
  20. <customView id="c22-O7-iKe">
  21. <rect key="frame" x="0.0" y="0.0" width="322" height="584"/>
  22. <autoresizingMask key="autoresizingMask" flexibleMaxX="YES" flexibleMinY="YES"/>
  23. <subviews>
  24. <customView translatesAutoresizingMaskIntoConstraints="NO" id="hv1-YI-dF1">
  25. <rect key="frame" x="0.0" y="380" width="322" height="180"/>
  26. <subviews>
  27. <textField horizontalHuggingPriority="251" verticalHuggingPriority="750" translatesAutoresizingMaskIntoConstraints="NO" id="EKL-J3-8ZT">
  28. <rect key="frame" x="14" y="160" width="32" height="20"/>
  29. <constraints>
  30. <constraint firstAttribute="height" constant="20" id="Gpz-xR-rCq"/>
  31. </constraints>
  32. <textFieldCell key="cell" lineBreakMode="clipping" title="OCR" id="iaB-ia-IG4">
  33. <font key="font" metaFont="system"/>
  34. <color key="textColor" name="labelColor" catalog="System" colorSpace="catalog"/>
  35. <color key="backgroundColor" name="textBackgroundColor" catalog="System" colorSpace="catalog"/>
  36. </textFieldCell>
  37. </textField>
  38. <textField horizontalHuggingPriority="251" verticalHuggingPriority="750" translatesAutoresizingMaskIntoConstraints="NO" id="CGa-CI-bJQ">
  39. <rect key="frame" x="14" y="80" width="294" height="20"/>
  40. <constraints>
  41. <constraint firstAttribute="height" constant="20" id="HOr-EV-2Vs"/>
  42. </constraints>
  43. <textFieldCell key="cell" lineBreakMode="clipping" title="导出格式" id="m1k-bw-lwc">
  44. <font key="font" metaFont="system"/>
  45. <color key="textColor" name="labelColor" catalog="System" colorSpace="catalog"/>
  46. <color key="backgroundColor" name="textBackgroundColor" catalog="System" colorSpace="catalog"/>
  47. </textFieldCell>
  48. </textField>
  49. <button verticalHuggingPriority="750" translatesAutoresizingMaskIntoConstraints="NO" id="Dtq-Nl-yLO">
  50. <rect key="frame" x="16" y="124" width="290" height="32"/>
  51. <constraints>
  52. <constraint firstAttribute="height" constant="32" id="vAW-eb-5h7"/>
  53. </constraints>
  54. <buttonCell key="cell" type="square" title="English" bezelStyle="shadowlessSquare" alignment="center" borderStyle="border" imageScaling="proportionallyDown" inset="2" id="7xS-W5-EN1">
  55. <behavior key="behavior" pushIn="YES" lightByBackground="YES" lightByGray="YES"/>
  56. <font key="font" metaFont="system"/>
  57. </buttonCell>
  58. <connections>
  59. <action selector="languageAction:" target="-2" id="lNr-xk-v3h"/>
  60. </connections>
  61. </button>
  62. <button verticalHuggingPriority="750" translatesAutoresizingMaskIntoConstraints="NO" id="hKc-MC-gYa">
  63. <rect key="frame" x="14" y="23" width="80" height="22"/>
  64. <constraints>
  65. <constraint firstAttribute="height" constant="20" id="9Dm-gX-rKN"/>
  66. </constraints>
  67. <buttonCell key="cell" type="check" title="导出TXT" bezelStyle="regularSquare" imagePosition="left" inset="2" id="AVH-dr-D1y">
  68. <behavior key="behavior" changeContents="YES" doesNotDimImage="YES" lightByContents="YES"/>
  69. <font key="font" metaFont="system"/>
  70. </buttonCell>
  71. <connections>
  72. <action selector="exportTXTAction:" target="-2" id="COh-g0-Mxs"/>
  73. </connections>
  74. </button>
  75. <button verticalHuggingPriority="750" translatesAutoresizingMaskIntoConstraints="NO" id="ACz-Lf-s02">
  76. <rect key="frame" x="14" y="51" width="80" height="22"/>
  77. <constraints>
  78. <constraint firstAttribute="height" constant="20" id="l72-nQ-8Na"/>
  79. </constraints>
  80. <buttonCell key="cell" type="check" title="导出PDF" bezelStyle="regularSquare" imagePosition="left" inset="2" id="JOV-WT-rk0">
  81. <behavior key="behavior" changeContents="YES" doesNotDimImage="YES" lightByContents="YES"/>
  82. <font key="font" metaFont="system"/>
  83. </buttonCell>
  84. <connections>
  85. <action selector="exportPDFAction:" target="-2" id="aNh-D5-Xga"/>
  86. </connections>
  87. </button>
  88. </subviews>
  89. <constraints>
  90. <constraint firstItem="CGa-CI-bJQ" firstAttribute="top" secondItem="Dtq-Nl-yLO" secondAttribute="bottom" constant="24" id="2TH-ff-ETY"/>
  91. <constraint firstItem="ACz-Lf-s02" firstAttribute="leading" secondItem="hv1-YI-dF1" secondAttribute="leading" constant="16" id="4nl-CI-2dq"/>
  92. <constraint firstItem="ACz-Lf-s02" firstAttribute="top" secondItem="CGa-CI-bJQ" secondAttribute="bottom" constant="8" id="BvU-aE-0jK"/>
  93. <constraint firstItem="Dtq-Nl-yLO" firstAttribute="leading" secondItem="hv1-YI-dF1" secondAttribute="leading" constant="16" id="F82-GU-eYE"/>
  94. <constraint firstAttribute="trailing" secondItem="Dtq-Nl-yLO" secondAttribute="trailing" constant="16" id="JAW-Ic-U1V"/>
  95. <constraint firstItem="EKL-J3-8ZT" firstAttribute="leading" secondItem="hv1-YI-dF1" secondAttribute="leading" constant="16" id="Jrm-ah-X2q"/>
  96. <constraint firstItem="hKc-MC-gYa" firstAttribute="top" secondItem="ACz-Lf-s02" secondAttribute="bottom" constant="8" id="NLI-PZ-z3W"/>
  97. <constraint firstItem="CGa-CI-bJQ" firstAttribute="leading" secondItem="hv1-YI-dF1" secondAttribute="leading" constant="16" id="P5M-pd-CcL"/>
  98. <constraint firstItem="EKL-J3-8ZT" firstAttribute="top" secondItem="hv1-YI-dF1" secondAttribute="top" id="eXd-bC-38X"/>
  99. <constraint firstAttribute="trailing" secondItem="CGa-CI-bJQ" secondAttribute="trailing" constant="16" id="hTI-n2-Q1p"/>
  100. <constraint firstItem="Dtq-Nl-yLO" firstAttribute="top" secondItem="EKL-J3-8ZT" secondAttribute="bottom" constant="4" id="tUx-K3-Xj4"/>
  101. <constraint firstItem="hKc-MC-gYa" firstAttribute="leading" secondItem="hv1-YI-dF1" secondAttribute="leading" constant="16" id="wPA-bm-k6b"/>
  102. <constraint firstAttribute="height" constant="180" id="zle-Wj-6EI"/>
  103. </constraints>
  104. </customView>
  105. <button verticalHuggingPriority="750" translatesAutoresizingMaskIntoConstraints="NO" id="wj4-h6-TmH">
  106. <rect key="frame" x="16" y="16" width="290" height="40"/>
  107. <constraints>
  108. <constraint firstAttribute="height" constant="40" id="tAu-ck-JOw"/>
  109. </constraints>
  110. <buttonCell key="cell" type="square" title="导出" bezelStyle="shadowlessSquare" alignment="center" borderStyle="border" imageScaling="proportionallyDown" inset="2" id="ywy-Px-jzh">
  111. <behavior key="behavior" pushIn="YES" lightByBackground="YES" lightByGray="YES"/>
  112. <font key="font" metaFont="system"/>
  113. </buttonCell>
  114. <connections>
  115. <action selector="exportAction:" target="-2" id="w2I-7n-aKH"/>
  116. </connections>
  117. </button>
  118. </subviews>
  119. <constraints>
  120. <constraint firstAttribute="trailing" secondItem="wj4-h6-TmH" secondAttribute="trailing" constant="16" id="4kN-5f-Iet"/>
  121. <constraint firstItem="wj4-h6-TmH" firstAttribute="leading" secondItem="c22-O7-iKe" secondAttribute="leading" constant="16" id="GwX-rE-703"/>
  122. <constraint firstItem="hv1-YI-dF1" firstAttribute="top" secondItem="c22-O7-iKe" secondAttribute="top" constant="24" id="Vjw-r3-bSJ"/>
  123. <constraint firstAttribute="bottom" secondItem="wj4-h6-TmH" secondAttribute="bottom" constant="16" id="YHQ-l2-8Cu"/>
  124. <constraint firstAttribute="trailing" secondItem="hv1-YI-dF1" secondAttribute="trailing" id="iXs-O9-mY8"/>
  125. <constraint firstItem="hv1-YI-dF1" firstAttribute="leading" secondItem="c22-O7-iKe" secondAttribute="leading" id="rVt-L7-CIA"/>
  126. </constraints>
  127. <point key="canvasLocation" x="-71" y="-108"/>
  128. </customView>
  129. </objects>
  130. </document>