LibreOffice Module sw (master)
1
sw
inc
proofreadingiterator.hxx
Go to the documentation of this file.
1
/* -*- Mode: C++; tab-width: 4; indent-tabs-mode: nil; c-basic-offset: 4 -*- */
2
/*
3
* This file is part of the LibreOffice project.
4
*
5
* This Source Code Form is subject to the terms of the Mozilla Public
6
* License, v. 2.0. If a copy of the MPL was not distributed with this
7
* file, You can obtain one at http://mozilla.org/MPL/2.0/.
8
*/
9
10
#ifndef INCLUDED_SW_INC_PROOFREADINGITERATOR_HXX
11
#define INCLUDED_SW_INC_PROOFREADINGITERATOR_HXX
12
13
#include <
sal/config.h
>
14
15
#include <com/sun/star/uno/Reference.h>
16
17
namespace
com::sun::star
{
18
namespace
linguistic2 {
class
XProofreadingIterator; }
19
namespace
uno
{
class
XComponentContext; }
20
}
21
22
// A simple wrapper around the css.linguistic2.ProofreadingIterator
23
// single-instance service. The first time that service implementation gets
24
// instantiated it immediately starts a GrammarCheckingIterator thread that
25
// eventually needs to be joined (via dispose):
26
27
namespace
sw::proofreadingiterator
{
28
29
css::uno::Reference<css::linguistic2::XProofreadingIterator>
get
(
30
css::uno::Reference<css::uno::XComponentContext>
const
& context);
31
32
void
dispose
();
33
34
}
35
36
#endif
37
38
/* vim:set shiftwidth=4 softtabstop=4 expandtab: */
config.h
com::sun::star
sw::proofreadingiterator
Definition:
proofreadingiterator.hxx:27
sw::proofreadingiterator::get
css::uno::Reference< css::linguistic2::XProofreadingIterator > get(css::uno::Reference< css::uno::XComponentContext > const &context)
Definition:
proofreadingiterator.cxx:38
sw::proofreadingiterator::dispose
void dispose()
Definition:
proofreadingiterator.cxx:55
uno
Generated on Sun Jul 30 2023 04:28:03 for LibreOffice Module sw (master) by
1.9.3