summaryrefslogtreecommitdiff
path: root/ios
diff options
context:
space:
mode:
authorjan Iversen <jani@libreoffice.org>2017-06-16 08:06:03 +0200
committerjan Iversen <jani@libreoffice.org>2017-06-16 08:08:14 +0200
commit9e425891f79a834abb03e3d69ee0c3665944faaa (patch)
tree5aa8b27a62e845809c07866c05dfb0cb8197b53f /ios
parentaf63fbad1933b343631c89283d9e57dcdf9fdab2 (diff)
iOS, iCloud picker added
Use documentPicker instead of own programming Change-Id: Ibd4e0f987254830aeaba1140ec1f84b649ca1387
Diffstat (limited to 'ios')
-rwxr-xr-xios/experimental/LibreOfficeLight/LibreOfficeLight/DocumentController.swift181
-rwxr-xr-xios/experimental/LibreOfficeLight/LibreOfficeLight/Info.plist2
-rwxr-xr-xios/experimental/LibreOfficeLight/LibreOfficeLight/en.lproj/Main.storyboard136
3 files changed, 136 insertions, 183 deletions
diff --git a/ios/experimental/LibreOfficeLight/LibreOfficeLight/DocumentController.swift b/ios/experimental/LibreOfficeLight/LibreOfficeLight/DocumentController.swift
index 683b82a357fe..4016bfc1d81c 100755
--- a/ios/experimental/LibreOfficeLight/LibreOfficeLight/DocumentController.swift
+++ b/ios/experimental/LibreOfficeLight/LibreOfficeLight/DocumentController.swift
@@ -9,16 +9,19 @@ import UIKit
-class DocumentController: UIViewController, DocumentActionsControlDelegate, UIDocumentMenuDelegate
+class DocumentController: UIViewController, MenuDelegate, UIDocumentPickerDelegate
{
- func documentMenu(_: UIDocumentMenuViewController, didPickDocumentPicker: UIDocumentPickerViewController)
+ public func documentPicker(_ controller: UIDocumentPickerViewController, didPickDocumentAt url: URL)
{
}
- func documentMenuWasCancelled(_: UIDocumentMenuViewController)
+ func documentPickerWasCancelled(_ controller: UIDocumentPickerViewController)
{
}
+
+
+
// Show sidemenu (part of documentcontroller)
@IBAction func doMenu(_ sender: UIBarButtonItem)
{
@@ -72,86 +75,44 @@ class DocumentController: UIViewController, DocumentActionsControlDelegate, UIDo
- func actionNew(_ name : String)
- {
- // JIX Close active documents if any
- // Start new (with default name
-
- // Only interact with DocumentBrowser
-
- }
-
-
-
- func actionOpen()
- {
- let importMenu = UIDocumentMenuViewController(documentTypes: [], in: .import)
-// let importMenu = UIDocumentMenuViewController(documentTypes: ["com.jani.Editors.docx",
-// "com.jani.Editors.doc",
-// "com.jani.Editors.xlsx",
-// "com.jani.Editors.xls",
-// "com.jani.Editors.pptx",
-// "com.jani.Editors.ppt",
-// "com.jani.Editors.pdf",
-// "com.jani.Editors.odt",
-// "com.jani.Editors.ods",
-// "com.jani.Editors.odp"], in: .import)
- importMenu.delegate = self
- self.present(importMenu, animated: true, completion: nil)
-
- // JIX Close active documents if any
- // Present FileManager
-// performSegue(withIdentifier: "showFileManager", sender: self)
-
- // start DocumentBrowser with new document
- }
-
-
-
- // Called when returning from filemanager
- @IBAction func returned(segue: UIStoryboardSegue)
- {
- // JIX actually open document
- print("I returned")
- }
-
-
-
- func actionDelete()
+ func actionMenuSelected(_ tag : Int)
{
- // JIX Close active documents if any
- // Delete document
- }
+ switch tag
+ {
+ case 1: // New
+ print("menu New to be done")
+ case 2: // Open...
+ let openMenu = UIDocumentPickerViewController(documentTypes: ["public.content"], in: .open)
+ openMenu.delegate = self
+ self.present(openMenu, animated: true, completion: nil)
+ print("menu Open... to be done")
+ case 3: // Save
+ print("menu Save to be done")
- func actionSave()
- {
- // call save in DocumentBrowser
-
- }
+ case 4: // Save as...
+ print("menu Save as... to be done")
+ case 5: // Save as PDF...
+ print("menu Save as PDF... to be done")
+ case 6: // Print...
+ print("menu Print... to be done")
- func actionSaveAs(_ name : String)
- {
- // call saveas in DocumentBrowser
+ case 7: // Copy TO iPad
+ print("menu Copy TO iPad to be done")
- }
+ case 8: // Delete FROM iPad
+ print("menu Delete FROM iPad to be done")
+ case 9: // Move FROM iPad
+ print("menu Move FROM iPad to be done")
-
- func actionPDF()
- {
- // call savePDF in documentBrowser
- }
-
-
-
- func actionPrint()
- {
- // call print in DocumentBrowser
+ default: // should not happen
+ print("unknown menu" + String(tag))
+ }
}
@@ -161,9 +122,9 @@ class DocumentController: UIViewController, DocumentActionsControlDelegate, UIDo
super.viewDidLoad()
// Do any additional setup after loading the view.
-// let path = Bundle.main.path(forResource: "Info", ofType: "plist")
-// let dict = NSDictionary(contentsOfFile: path!)
-// let tableData = dict!.object(forKey: "CFBundleDocumentTypes")
+ // let path = Bundle.main.path(forResource: "Info", ofType: "plist")
+ // let dict = NSDictionary(contentsOfFile: path!)
+ // let tableData = dict!.object(forKey: "CFBundleDocumentTypes")
}
@@ -178,15 +139,9 @@ class DocumentController: UIViewController, DocumentActionsControlDelegate, UIDo
// Protocol for action popover callback
-protocol DocumentActionsControlDelegate
+protocol MenuDelegate
{
- func actionNew(_ name : String)
- func actionOpen()
- func actionDelete()
- func actionSave()
- func actionSaveAs(_ name : String)
- func actionPDF()
- func actionPrint()
+ func actionMenuSelected(_ tag : Int)
}
@@ -194,78 +149,38 @@ protocol DocumentActionsControlDelegate
class DocumentActions: UITableViewController
{
// Pointer to callback class
- var delegate : DocumentActionsControlDelegate?
+ var delegate : MenuDelegate?
var isDocActive : Bool = false
// Calling class might enable/disable each button
@IBOutlet weak var buttonNew: UIButton!
@IBOutlet weak var buttonOpen: UIButton!
- @IBOutlet weak var buttonDelete: UIButton!
@IBOutlet weak var buttonSave: UIButton!
@IBOutlet weak var buttonSaveAs: UIButton!
- @IBOutlet weak var buttonPDF: UIButton!
+ @IBOutlet weak var buttonSaveAsPDF: UIButton!
@IBOutlet weak var buttonPrint: UIButton!
+ @IBOutlet weak var buttonCopyTOiPad: UIButton!
+ @IBOutlet weak var buttonDeleteFROMiPad: UIButton!
+ @IBOutlet weak var buttonMoveFROMiPad: UIButton!
- // Actions
- @IBAction func doOpen(_ sender: UIButton)
- {
- delegate?.actionOpen()
- dismiss(animated: false)
- }
-
-
-
- @IBAction func doDelete(_ sender: UIButton)
- {
- delegate?.actionDelete()
- dismiss(animated: false)
- }
-
-
-
- @IBAction func doSave(_ sender: UIButton)
- {
- delegate?.actionSave()
- dismiss(animated: false)
- }
-
-
- @IBAction func doPDF(_ sender: UIButton)
- {
- delegate?.actionPDF()
- dismiss(animated: false)
- }
-
-
-
- @IBAction func doPrint(_ sender: UIButton)
+ // Actions
+ @IBAction func actionMenuSelect(_ sender: UIButton)
{
- delegate?.actionPrint()
dismiss(animated: false)
+ delegate?.actionMenuSelected(sender.tag)
}
-
override func viewDidLoad()
{
super.viewDidLoad()
- buttonDelete.isEnabled = isDocActive
+ buttonDeleteFROMiPad.isEnabled = isDocActive
buttonSave.isEnabled = isDocActive
buttonSaveAs.isEnabled = isDocActive
- buttonPDF.isEnabled = isDocActive
+ buttonSaveAsPDF.isEnabled = isDocActive
buttonPrint.isEnabled = isDocActive
}
-
-
-
- // Last stop before displaying popover
- override func prepare(for segue: UIStoryboardSegue, sender: Any?)
- {
-// let vc = segue.destination as! setNameAction
-// vc.delegateDoc = self.delegate
-// vc.protocolActionToPerform = (segue.identifier == "showNew") ? 2 : 3
- }
}
diff --git a/ios/experimental/LibreOfficeLight/LibreOfficeLight/Info.plist b/ios/experimental/LibreOfficeLight/LibreOfficeLight/Info.plist
index 0542143e728a..4d613161e5b4 100755
--- a/ios/experimental/LibreOfficeLight/LibreOfficeLight/Info.plist
+++ b/ios/experimental/LibreOfficeLight/LibreOfficeLight/Info.plist
@@ -363,7 +363,7 @@
<key>CFBundlePackageType</key>
<string>APPL</string>
<key>CFBundleShortVersionString</key>
- <string>0.4.6</string>
+ <string>0.4.7</string>
<key>CFBundleSignature</key>
<string>????</string>
<key>CFBundleVersion</key>
diff --git a/ios/experimental/LibreOfficeLight/LibreOfficeLight/en.lproj/Main.storyboard b/ios/experimental/LibreOfficeLight/LibreOfficeLight/en.lproj/Main.storyboard
index 8602d97f1683..99c184ed4c56 100755
--- a/ios/experimental/LibreOfficeLight/LibreOfficeLight/en.lproj/Main.storyboard
+++ b/ios/experimental/LibreOfficeLight/LibreOfficeLight/en.lproj/Main.storyboard
@@ -348,7 +348,7 @@
<objects>
<tableViewController autoresizesArchivedViewToFullSize="NO" title="Document Actions" automaticallyAdjustsScrollViewInsets="NO" modalTransitionStyle="crossDissolve" modalPresentationStyle="overCurrentContext" clearsSelectionOnViewWillAppear="NO" id="IER-X5-Ax8" customClass="DocumentActions" customModule="LibreOfficeLight" customModuleProvider="target" sceneMemberID="viewController">
<tableView key="view" clipsSubviews="YES" contentMode="scaleToFill" alwaysBounceVertical="YES" dataMode="static" style="plain" separatorStyle="default" rowHeight="30" sectionHeaderHeight="28" sectionFooterHeight="28" id="RqF-IL-YJc">
- <rect key="frame" x="0.0" y="0.0" width="134" height="210"/>
+ <rect key="frame" x="0.0" y="0.0" width="134" height="270"/>
<autoresizingMask key="autoresizingMask" flexibleMinX="YES" flexibleMaxX="YES" flexibleMinY="YES" flexibleMaxY="YES"/>
<color key="backgroundColor" white="1" alpha="1" colorSpace="calibratedWhite"/>
<sections>
@@ -361,14 +361,12 @@
<rect key="frame" x="0.0" y="0.0" width="134" height="29.5"/>
<autoresizingMask key="autoresizingMask"/>
<subviews>
- <button opaque="NO" contentMode="scaleToFill" fixedFrame="YES" contentHorizontalAlignment="left" contentVerticalAlignment="center" buttonType="roundedRect" lineBreakMode="middleTruncation" translatesAutoresizingMaskIntoConstraints="NO" id="mCx-kB-iUI">
+ <button opaque="NO" tag="1" contentMode="scaleToFill" fixedFrame="YES" contentHorizontalAlignment="left" contentVerticalAlignment="center" buttonType="roundedRect" lineBreakMode="middleTruncation" translatesAutoresizingMaskIntoConstraints="NO" id="mCx-kB-iUI">
<rect key="frame" x="8" y="0.0" width="118" height="30"/>
<autoresizingMask key="autoresizingMask" flexibleMaxX="YES" flexibleMaxY="YES"/>
<state key="normal" title="New"/>
<connections>
- <segue destination="99b-cf-b84" kind="popoverPresentation" identifier="showNew" popoverAnchorView="mCx-kB-iUI" id="NIs-pA-xdK">
- <popoverArrowDirection key="popoverArrowDirection" up="YES" down="YES" left="YES" right="YES"/>
- </segue>
+ <action selector="actionMenuSelect:" destination="IER-X5-Ax8" eventType="touchUpInside" id="0gI-or-ji1"/>
</connections>
</button>
</subviews>
@@ -381,104 +379,145 @@
<rect key="frame" x="0.0" y="0.0" width="134" height="29.5"/>
<autoresizingMask key="autoresizingMask"/>
<subviews>
- <button opaque="NO" contentMode="scaleToFill" fixedFrame="YES" contentHorizontalAlignment="left" contentVerticalAlignment="center" buttonType="roundedRect" lineBreakMode="middleTruncation" translatesAutoresizingMaskIntoConstraints="NO" id="myk-zs-md7">
- <rect key="frame" x="8" y="-1" width="118" height="30"/>
+ <button opaque="NO" tag="2" contentMode="scaleToFill" fixedFrame="YES" contentHorizontalAlignment="left" contentVerticalAlignment="center" buttonType="roundedRect" lineBreakMode="middleTruncation" translatesAutoresizingMaskIntoConstraints="NO" id="myk-zs-md7">
+ <rect key="frame" x="8" y="2" width="118" height="30"/>
<autoresizingMask key="autoresizingMask" flexibleMaxX="YES" flexibleMaxY="YES"/>
+ <accessibility key="accessibilityConfiguration" identifier="actionOpen"/>
<state key="normal" title="Open..."/>
<connections>
- <action selector="doOpen:" destination="IER-X5-Ax8" eventType="touchUpInside" id="Nk2-o7-3r9"/>
+ <action selector="actionMenuSelect:" destination="IER-X5-Ax8" eventType="touchUpInside" id="0gI-or-ji2"/>
</connections>
</button>
</subviews>
</tableViewCellContentView>
</tableViewCell>
- <tableViewCell clipsSubviews="YES" contentMode="scaleToFill" selectionStyle="default" indentationWidth="10" id="mPa-wa-TDO">
+ <tableViewCell clipsSubviews="YES" contentMode="scaleToFill" selectionStyle="default" indentationWidth="10" id="XW7-H5-0ob">
<rect key="frame" x="0.0" y="60" width="134" height="30"/>
<autoresizingMask key="autoresizingMask"/>
- <tableViewCellContentView key="contentView" opaque="NO" clipsSubviews="YES" multipleTouchEnabled="YES" contentMode="center" tableViewCell="mPa-wa-TDO" id="jhW-pd-Qkl">
+ <tableViewCellContentView key="contentView" opaque="NO" clipsSubviews="YES" multipleTouchEnabled="YES" contentMode="center" tableViewCell="XW7-H5-0ob" id="lJN-OL-mO8">
<rect key="frame" x="0.0" y="0.0" width="134" height="29.5"/>
<autoresizingMask key="autoresizingMask"/>
<subviews>
- <button opaque="NO" contentMode="scaleToFill" fixedFrame="YES" contentHorizontalAlignment="left" contentVerticalAlignment="center" buttonType="roundedRect" lineBreakMode="middleTruncation" translatesAutoresizingMaskIntoConstraints="NO" id="Iva-rO-9V3">
- <rect key="frame" x="8" y="-1" width="118" height="30"/>
+ <button opaque="NO" tag="3" contentMode="scaleToFill" fixedFrame="YES" contentHorizontalAlignment="left" contentVerticalAlignment="center" buttonType="roundedRect" lineBreakMode="middleTruncation" translatesAutoresizingMaskIntoConstraints="NO" id="b90-ja-Wm0">
+ <rect key="frame" x="8" y="-2" width="118" height="30"/>
<autoresizingMask key="autoresizingMask" flexibleMaxX="YES" flexibleMaxY="YES"/>
- <state key="normal" title="Delete..."/>
+ <accessibility key="accessibilityConfiguration" identifier="actionSave"/>
+ <state key="normal" title="Save"/>
<connections>
- <action selector="doDelete:" destination="IER-X5-Ax8" eventType="touchUpInside" id="WhW-7L-FOo"/>
+ <action selector="actionMenuSelect:" destination="IER-X5-Ax8" eventType="touchUpInside" id="0gI-or-ji3"/>
</connections>
</button>
</subviews>
</tableViewCellContentView>
</tableViewCell>
- <tableViewCell clipsSubviews="YES" contentMode="scaleToFill" selectionStyle="default" indentationWidth="10" id="XW7-H5-0ob">
+ <tableViewCell clipsSubviews="YES" contentMode="scaleToFill" selectionStyle="default" indentationWidth="10" id="AN7-6j-wO7">
<rect key="frame" x="0.0" y="90" width="134" height="30"/>
<autoresizingMask key="autoresizingMask"/>
- <tableViewCellContentView key="contentView" opaque="NO" clipsSubviews="YES" multipleTouchEnabled="YES" contentMode="center" tableViewCell="XW7-H5-0ob" id="lJN-OL-mO8">
+ <tableViewCellContentView key="contentView" opaque="NO" clipsSubviews="YES" multipleTouchEnabled="YES" contentMode="center" tableViewCell="AN7-6j-wO7" id="kl1-nQ-aIu">
<rect key="frame" x="0.0" y="0.0" width="134" height="29.5"/>
<autoresizingMask key="autoresizingMask"/>
<subviews>
- <button opaque="NO" contentMode="scaleToFill" fixedFrame="YES" contentHorizontalAlignment="left" contentVerticalAlignment="center" buttonType="roundedRect" lineBreakMode="middleTruncation" translatesAutoresizingMaskIntoConstraints="NO" id="b90-ja-Wm0">
- <rect key="frame" x="8" y="-1" width="118" height="30"/>
+ <button opaque="NO" tag="4" contentMode="scaleToFill" fixedFrame="YES" contentHorizontalAlignment="left" contentVerticalAlignment="center" buttonType="roundedRect" lineBreakMode="middleTruncation" translatesAutoresizingMaskIntoConstraints="NO" id="6vH-aM-aYe">
+ <rect key="frame" x="8" y="-2" width="118" height="30"/>
<autoresizingMask key="autoresizingMask" flexibleMaxX="YES" flexibleMaxY="YES"/>
- <state key="normal" title="Save"/>
+ <accessibility key="accessibilityConfiguration" identifier="actionSaveAs"/>
+ <state key="normal" title="Save as..."/>
<connections>
- <action selector="doSave:" destination="IER-X5-Ax8" eventType="touchUpInside" id="7Uc-hy-ogX"/>
+ <action selector="actionMenuSelect:" destination="IER-X5-Ax8" eventType="touchUpInside" id="0gI-or-ji4"/>
</connections>
</button>
</subviews>
</tableViewCellContentView>
</tableViewCell>
- <tableViewCell clipsSubviews="YES" contentMode="scaleToFill" selectionStyle="default" indentationWidth="10" id="fqs-uC-KiW">
+ <tableViewCell clipsSubviews="YES" contentMode="scaleToFill" selectionStyle="default" indentationWidth="10" id="GmK-gj-GYu">
<rect key="frame" x="0.0" y="120" width="134" height="30"/>
<autoresizingMask key="autoresizingMask"/>
- <tableViewCellContentView key="contentView" opaque="NO" clipsSubviews="YES" multipleTouchEnabled="YES" contentMode="center" tableViewCell="fqs-uC-KiW" id="nT7-Ly-JW5">
+ <tableViewCellContentView key="contentView" opaque="NO" clipsSubviews="YES" multipleTouchEnabled="YES" contentMode="center" tableViewCell="GmK-gj-GYu" id="3OK-Zz-mqN">
<rect key="frame" x="0.0" y="0.0" width="134" height="29.5"/>
<autoresizingMask key="autoresizingMask"/>
<subviews>
- <button opaque="NO" contentMode="scaleToFill" fixedFrame="YES" contentHorizontalAlignment="left" contentVerticalAlignment="center" buttonType="roundedRect" lineBreakMode="middleTruncation" translatesAutoresizingMaskIntoConstraints="NO" id="ioJ-xc-RrS">
+ <button opaque="NO" tag="5" contentMode="scaleToFill" fixedFrame="YES" contentHorizontalAlignment="left" contentVerticalAlignment="center" buttonType="roundedRect" lineBreakMode="middleTruncation" translatesAutoresizingMaskIntoConstraints="NO" id="apE-3B-lUt">
<rect key="frame" x="8" y="-1" width="118" height="30"/>
<autoresizingMask key="autoresizingMask" flexibleMaxX="YES" flexibleMaxY="YES"/>
- <state key="normal" title="Save as..."/>
+ <state key="normal" title="Save as PDF"/>
<connections>
- <segue destination="99b-cf-b84" kind="popoverPresentation" identifier="showSaveAs" popoverAnchorView="ioJ-xc-RrS" id="etF-bX-EXf">
- <popoverArrowDirection key="popoverArrowDirection" up="YES" down="YES" left="YES" right="YES"/>
- </segue>
+ <action selector="actionMenuSelect:" destination="IER-X5-Ax8" eventType="touchUpInside" id="0gI-or-ji5"/>
</connections>
</button>
</subviews>
</tableViewCellContentView>
</tableViewCell>
- <tableViewCell clipsSubviews="YES" contentMode="scaleToFill" selectionStyle="default" indentationWidth="10" id="GmK-gj-GYu">
+ <tableViewCell clipsSubviews="YES" contentMode="scaleToFill" selectionStyle="default" indentationWidth="10" id="1ly-sz-g0x">
<rect key="frame" x="0.0" y="150" width="134" height="30"/>
<autoresizingMask key="autoresizingMask"/>
- <tableViewCellContentView key="contentView" opaque="NO" clipsSubviews="YES" multipleTouchEnabled="YES" contentMode="center" tableViewCell="GmK-gj-GYu" id="3OK-Zz-mqN">
+ <tableViewCellContentView key="contentView" opaque="NO" clipsSubviews="YES" multipleTouchEnabled="YES" contentMode="center" tableViewCell="1ly-sz-g0x" id="wVi-tX-eKD">
<rect key="frame" x="0.0" y="0.0" width="134" height="29.5"/>
<autoresizingMask key="autoresizingMask"/>
<subviews>
- <button opaque="NO" contentMode="scaleToFill" fixedFrame="YES" contentHorizontalAlignment="left" contentVerticalAlignment="center" buttonType="roundedRect" lineBreakMode="middleTruncation" translatesAutoresizingMaskIntoConstraints="NO" id="apE-3B-lUt">
+ <button opaque="NO" tag="6" contentMode="scaleToFill" fixedFrame="YES" contentHorizontalAlignment="left" contentVerticalAlignment="center" buttonType="roundedRect" lineBreakMode="middleTruncation" translatesAutoresizingMaskIntoConstraints="NO" id="516-b0-K4N" userLabel="Button Print">
<rect key="frame" x="8" y="-1" width="118" height="30"/>
<autoresizingMask key="autoresizingMask" flexibleMaxX="YES" flexibleMaxY="YES"/>
- <state key="normal" title="PDF"/>
+ <accessibility key="accessibilityConfiguration" identifier="actionPrint"/>
+ <state key="normal" title="Print..."/>
<connections>
- <action selector="doPDF:" destination="IER-X5-Ax8" eventType="touchUpInside" id="ATe-5t-jab"/>
+ <action selector="actionMenuSelect:" destination="IER-X5-Ax8" eventType="touchUpInside" id="0gI-or-ji6"/>
</connections>
</button>
</subviews>
</tableViewCellContentView>
</tableViewCell>
- <tableViewCell clipsSubviews="YES" contentMode="scaleToFill" selectionStyle="default" indentationWidth="10" id="1ly-sz-g0x">
+ <tableViewCell clipsSubviews="YES" contentMode="scaleToFill" selectionStyle="default" indentationWidth="10" id="fqs-uC-KiW">
<rect key="frame" x="0.0" y="180" width="134" height="30"/>
<autoresizingMask key="autoresizingMask"/>
- <tableViewCellContentView key="contentView" opaque="NO" clipsSubviews="YES" multipleTouchEnabled="YES" contentMode="center" tableViewCell="1ly-sz-g0x" id="wVi-tX-eKD">
+ <tableViewCellContentView key="contentView" opaque="NO" clipsSubviews="YES" multipleTouchEnabled="YES" contentMode="center" tableViewCell="fqs-uC-KiW" id="nT7-Ly-JW5">
<rect key="frame" x="0.0" y="0.0" width="134" height="29.5"/>
<autoresizingMask key="autoresizingMask"/>
<subviews>
- <button opaque="NO" contentMode="scaleToFill" fixedFrame="YES" contentHorizontalAlignment="left" contentVerticalAlignment="center" buttonType="roundedRect" lineBreakMode="middleTruncation" translatesAutoresizingMaskIntoConstraints="NO" id="516-b0-K4N" userLabel="Button Print">
+ <button opaque="NO" tag="7" contentMode="scaleToFill" fixedFrame="YES" contentHorizontalAlignment="left" contentVerticalAlignment="center" buttonType="roundedRect" lineBreakMode="middleTruncation" translatesAutoresizingMaskIntoConstraints="NO" id="ioJ-xc-RrS">
<rect key="frame" x="8" y="-1" width="118" height="30"/>
<autoresizingMask key="autoresizingMask" flexibleMaxX="YES" flexibleMaxY="YES"/>
- <state key="normal" title="Print..."/>
+ <accessibility key="accessibilityConfiguration" identifier="actionCopyTOiPad"/>
+ <state key="normal" title="copy to iPad..."/>
+ <connections>
+ <action selector="actionMenuSelect:" destination="IER-X5-Ax8" eventType="touchUpInside" id="0gI-or-ji7"/>
+ </connections>
+ </button>
+ </subviews>
+ </tableViewCellContentView>
+ </tableViewCell>
+ <tableViewCell clipsSubviews="YES" contentMode="scaleToFill" selectionStyle="default" indentationWidth="10" id="mPa-wa-TDO">
+ <rect key="frame" x="0.0" y="210" width="134" height="30"/>
+ <autoresizingMask key="autoresizingMask"/>
+ <tableViewCellContentView key="contentView" opaque="NO" clipsSubviews="YES" multipleTouchEnabled="YES" contentMode="center" tableViewCell="mPa-wa-TDO" id="jhW-pd-Qkl">
+ <rect key="frame" x="0.0" y="0.0" width="134" height="29.5"/>
+ <autoresizingMask key="autoresizingMask"/>
+ <subviews>
+ <button opaque="NO" tag="8" contentMode="scaleToFill" fixedFrame="YES" contentHorizontalAlignment="left" contentVerticalAlignment="center" buttonType="roundedRect" lineBreakMode="middleTruncation" translatesAutoresizingMaskIntoConstraints="NO" id="Iva-rO-9V3">
+ <rect key="frame" x="8" y="-1" width="118" height="30"/>
+ <autoresizingMask key="autoresizingMask" flexibleMaxX="YES" flexibleMaxY="YES"/>
+ <accessibility key="accessibilityConfiguration" identifier="actionDeleteFROMiPad"/>
+ <state key="normal" title="Delete on iPad"/>
+ <connections>
+ <action selector="actionMenuSelect:" destination="IER-X5-Ax8" eventType="touchUpInside" id="0gI-or-ji8"/>
+ </connections>
+ </button>
+ </subviews>
+ </tableViewCellContentView>
+ </tableViewCell>
+ <tableViewCell clipsSubviews="YES" contentMode="scaleToFill" selectionStyle="default" indentationWidth="10" id="Hhp-Vn-cil">
+ <rect key="frame" x="0.0" y="240" width="134" height="30"/>
+ <autoresizingMask key="autoresizingMask"/>
+ <tableViewCellContentView key="contentView" opaque="NO" clipsSubviews="YES" multipleTouchEnabled="YES" contentMode="center" tableViewCell="Hhp-Vn-cil" id="HqE-XS-WoF">
+ <rect key="frame" x="0.0" y="0.0" width="134" height="29.5"/>
+ <autoresizingMask key="autoresizingMask"/>
+ <subviews>
+ <button opaque="NO" tag="9" contentMode="scaleToFill" fixedFrame="YES" contentHorizontalAlignment="left" contentVerticalAlignment="center" buttonType="roundedRect" lineBreakMode="middleTruncation" translatesAutoresizingMaskIntoConstraints="NO" id="27a-gO-mBQ">
+ <rect key="frame" x="8" y="-1" width="118" height="30"/>
+ <autoresizingMask key="autoresizingMask" flexibleMaxX="YES" flexibleMaxY="YES"/>
+ <accessibility key="accessibilityConfiguration" identifier="actionMoveFROMiPad"/>
+ <state key="normal" title="move from iPad..."/>
<connections>
- <action selector="doPrint:" destination="IER-X5-Ax8" eventType="touchUpInside" id="07n-Ba-Tp9"/>
+ <action selector="actionMenuSelect:" destination="IER-X5-Ax8" eventType="touchUpInside" id="0gI-or-ji9"/>
</connections>
</button>
</subviews>
@@ -493,20 +532,22 @@
</connections>
</tableView>
<extendedEdge key="edgesForExtendedLayout"/>
- <value key="contentSizeForViewInPopover" type="size" width="200" height="230"/>
+ <value key="contentSizeForViewInPopover" type="size" width="134" height="210"/>
<nil key="simulatedStatusBarMetrics"/>
<nil key="simulatedTopBarMetrics"/>
<nil key="simulatedBottomBarMetrics"/>
<freeformSimulatedSizeMetrics key="simulatedDestinationMetrics"/>
- <size key="freeformSize" width="134" height="210"/>
+ <size key="freeformSize" width="134" height="270"/>
<connections>
- <outlet property="buttonDelete" destination="Iva-rO-9V3" id="i8x-8H-YoE"/>
- <outlet property="buttonNew" destination="mCx-kB-iUI" id="70b-Qo-y3M"/>
- <outlet property="buttonOpen" destination="myk-zs-md7" id="XLW-EG-UgD"/>
- <outlet property="buttonPDF" destination="apE-3B-lUt" id="j3U-Dx-UxJ"/>
- <outlet property="buttonPrint" destination="516-b0-K4N" id="WL3-KB-jS1"/>
- <outlet property="buttonSave" destination="b90-ja-Wm0" id="GPH-29-EFu"/>
- <outlet property="buttonSaveAs" destination="ioJ-xc-RrS" id="Ndn-1D-CcB"/>
+ <outlet property="buttonCopyTOiPad" destination="ioJ-xc-RrS" id="GgZ-Km-3hu"/>
+ <outlet property="buttonDeleteFROMiPad" destination="Iva-rO-9V3" id="taN-OB-BO4"/>
+ <outlet property="buttonMoveFROMiPad" destination="27a-gO-mBQ" id="FPK-vv-xTH"/>
+ <outlet property="buttonNew" destination="mCx-kB-iUI" id="Bxx-gc-1KK"/>
+ <outlet property="buttonOpen" destination="myk-zs-md7" id="CST-dF-vGl"/>
+ <outlet property="buttonPrint" destination="516-b0-K4N" id="kok-Tt-Y8w"/>
+ <outlet property="buttonSave" destination="b90-ja-Wm0" id="tlk-Ku-xp6"/>
+ <outlet property="buttonSaveAs" destination="6vH-aM-aYe" id="BMc-YI-Ssc"/>
+ <outlet property="buttonSaveAsPDF" destination="apE-3B-lUt" id="r3J-xa-Syi"/>
</connections>
</tableViewController>
<placeholder placeholderIdentifier="IBFirstResponder" id="D6j-Ov-CSK" userLabel="First Responder" sceneMemberID="firstResponder"/>
@@ -518,7 +559,4 @@
<image name="document" width="20" height="20"/>
<image name="menu" width="22" height="22"/>
</resources>
- <inferredMetricsTieBreakers>
- <segue reference="etF-bX-EXf"/>
- </inferredMetricsTieBreakers>
</document>