PrintAccessoryView.xib 4.9 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162636465666768697071
  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="1060" 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="SKPrintAccessoryController">
  10. <connections>
  11. <outlet property="autoRotateButton" destination="24" id="32"/>
  12. <outlet property="printScalingModeMatrix" destination="25" id="33"/>
  13. <outlet property="view" destination="23" id="29"/>
  14. </connections>
  15. </customObject>
  16. <customObject id="-1" userLabel="First Responder" customClass="FirstResponder"/>
  17. <customObject id="-3" userLabel="Application" customClass="NSObject"/>
  18. <customView id="23" userLabel="View">
  19. <rect key="frame" x="0.0" y="0.0" width="254" height="129"/>
  20. <autoresizingMask key="autoresizingMask"/>
  21. <subviews>
  22. <matrix verticalHuggingPriority="750" allowsEmptySelection="NO" autosizesCells="NO" translatesAutoresizingMaskIntoConstraints="NO" id="25">
  23. <rect key="frame" x="21" y="21" width="202" height="58"/>
  24. <color key="backgroundColor" name="controlColor" catalog="System" colorSpace="catalog"/>
  25. <size key="cellSize" width="202" height="18"/>
  26. <size key="intercellSpacing" width="4" height="2"/>
  27. <buttonCell key="prototype" type="radio" imagePosition="leading" alignment="left" inset="2" id="36">
  28. <behavior key="behavior" changeContents="YES" doesNotDimImage="YES" lightByContents="YES"/>
  29. <font key="font" metaFont="system"/>
  30. </buttonCell>
  31. <cells>
  32. <column>
  33. <buttonCell type="radio" title="No automatic page scaling" imagePosition="leading" alignment="left" state="on" inset="2" id="27">
  34. <behavior key="behavior" changeContents="YES" doesNotDimImage="YES" lightByContents="YES"/>
  35. <font key="font" metaFont="system"/>
  36. </buttonCell>
  37. <buttonCell type="radio" title="Scale each page to fit paper" imagePosition="leading" alignment="left" tag="1" inset="2" id="28">
  38. <behavior key="behavior" changeContents="YES" doesNotDimImage="YES" lightByContents="YES"/>
  39. <font key="font" metaFont="system"/>
  40. </buttonCell>
  41. <buttonCell type="radio" title="Only scale down large pages" imagePosition="leading" alignment="left" tag="2" inset="2" id="26">
  42. <behavior key="behavior" changeContents="YES" doesNotDimImage="YES" lightByContents="YES"/>
  43. <font key="font" metaFont="system"/>
  44. </buttonCell>
  45. </column>
  46. </cells>
  47. <connections>
  48. <binding destination="-2" name="selectedTag" keyPath="printScalingMode" id="31"/>
  49. </connections>
  50. </matrix>
  51. <button imageHugsTitle="YES" translatesAutoresizingMaskIntoConstraints="NO" id="24">
  52. <rect key="frame" x="19" y="94" width="214" height="18"/>
  53. <buttonCell key="cell" type="check" title="Automatically rotate each page" bezelStyle="regularSquare" imagePosition="leading" alignment="left" inset="2" id="35">
  54. <behavior key="behavior" changeContents="YES" doesNotDimImage="YES" lightByContents="YES"/>
  55. <font key="font" metaFont="system"/>
  56. </buttonCell>
  57. <connections>
  58. <binding destination="-2" name="value" keyPath="autoRotate" id="30"/>
  59. </connections>
  60. </button>
  61. </subviews>
  62. <constraints>
  63. <constraint firstItem="25" firstAttribute="leading" secondItem="24" secondAttribute="leading" id="HeF-pl-BUh"/>
  64. <constraint firstItem="25" firstAttribute="top" secondItem="24" secondAttribute="bottom" constant="16" id="Jiy-h6-zWm"/>
  65. <constraint firstItem="24" firstAttribute="top" secondItem="23" secondAttribute="top" constant="18" id="jIx-g1-jV8"/>
  66. <constraint firstItem="24" firstAttribute="centerX" secondItem="23" secondAttribute="centerX" id="vdR-Z4-w6r"/>
  67. </constraints>
  68. <point key="canvasLocation" x="132" y="-73"/>
  69. </customView>
  70. </objects>
  71. </document>