Line data Source code
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_EDITENG_MISSPELLRANGE_HXX
11 : #define INCLUDED_EDITENG_MISSPELLRANGE_HXX
12 :
13 : #include <editeng/editengdllapi.h>
14 :
15 : #include <vector>
16 :
17 : namespace editeng {
18 :
19 : struct EDITENG_DLLPUBLIC MisspellRange
20 : {
21 : size_t mnStart;
22 : size_t mnEnd;
23 :
24 : MisspellRange(size_t nStart, size_t nEnd);
25 : };
26 :
27 23 : struct EDITENG_DLLPUBLIC MisspellRanges
28 : {
29 : sal_Int32 mnParagraph;
30 : std::vector<MisspellRange> maRanges;
31 :
32 : MisspellRanges(sal_Int32 nParagraph, const std::vector<MisspellRange>& rRanges);
33 : };
34 :
35 : }
36 :
37 : #endif
38 :
39 : /* vim:set shiftwidth=4 softtabstop=4 expandtab: */
|