libreoffice-online/ios/Mobile/DocumentViewController.h
Patrick Luby c4737dfc58 Implement LOK_CALLBACK_EXPORT_FILE for download requests in the iOS app
Have the document's DocumentViewController display a save dialog and
export a copy of the file written by the LibreOffice code.

Signed-off-by: Patrick Luby <guibomacdev@gmail.com>
Change-Id: Idf8136bc321893f18010eb74f9c39b21f0f698d5
2024-01-10 14:31:46 +01:00

31 lines
841 B
Objective-C

// -*- Mode: ObjC; tab-width: 4; indent-tabs-mode: nil; c-basic-offset: 4; fill-column: 100 -*-
/*
* Copyright the Collabora Online contributors.
*
* SPDX-License-Identifier: MPL-2.0
*
* This Source Code Form is subject to the terms of the Mozilla Public
* License, v. 2.0. If a copy of the MPL was not distributed with this
* file, You can obtain one at http://mozilla.org/MPL/2.0/.
*/
#import <UIKit/UIKit.h>
#import <WebKit/WebKit.h>
#import "CODocument.h"
@interface DocumentViewController : UIViewController
@property (strong) CODocument *document;
@property (strong) WKWebView *webView;
@property (strong) WKWebView *slideshowWebView;
@property std::string slideshowFile;
@property (strong) NSURL *slideshowURL;
- (void)bye;
- (void)exportFileURL:(NSURL *)fileURL;
@end
// vim:set shiftwidth=4 softtabstop=4 expandtab: