31 lines
963 B
C
31 lines
963 B
C
![]() |
// -*- Mode: C++; tab-width: 4; indent-tabs-mode: nil; c-basic-offset: 4 -*- */
|
||
|
//
|
||
|
// This file is part of the LibreOffice project.
|
||
|
//
|
||
|
// 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/.
|
||
|
|
||
|
#ifndef __LibreOffice_mlo_uno__
|
||
|
#define __LibreOffice_mlo_uno__
|
||
|
|
||
|
#ifdef __cplusplus
|
||
|
extern "C" {
|
||
|
#endif
|
||
|
|
||
|
typedef enum {MARK_ALL,MARK_FIRST,MARK_NEXT,MARK_PREVIOUS} MLOFindSelectionType;
|
||
|
|
||
|
BOOL mlo_is_document_open(void);
|
||
|
BOOL mlo_open_file(NSString * file);
|
||
|
void mlo_close(void);
|
||
|
long mlo_get_pages(BOOL last);
|
||
|
int mlo_find(NSString * toSearch,MLOFindSelectionType type);
|
||
|
void mlo_get_selection(NSMutableString * mutableString);
|
||
|
void mlo_fetch_view_data(NSMutableString * mutableString);
|
||
|
void mlo_select_all(void);
|
||
|
|
||
|
#ifdef __cplusplus
|
||
|
}
|
||
|
#endif
|
||
|
#endif /* defined(__LibreOffice_mlo_uno__) */
|