2013-08-28 15:55:56 -04:00
|
|
|
/* -*- 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/.
|
|
|
|
*/
|
|
|
|
|
2013-10-23 19:17:57 +02:00
|
|
|
#ifndef INCLUDED_EDITENG_MISSPELLRANGE_HXX
|
|
|
|
#define INCLUDED_EDITENG_MISSPELLRANGE_HXX
|
2013-08-28 15:55:56 -04:00
|
|
|
|
2013-11-09 14:13:31 -06:00
|
|
|
#include <editeng/editengdllapi.h>
|
2013-08-28 15:55:56 -04:00
|
|
|
|
2013-08-30 23:40:52 -04:00
|
|
|
#include <vector>
|
|
|
|
|
2013-08-28 15:55:56 -04:00
|
|
|
namespace editeng {
|
|
|
|
|
|
|
|
struct EDITENG_DLLPUBLIC MisspellRange
|
|
|
|
{
|
2014-03-02 12:19:16 -06:00
|
|
|
size_t mnStart;
|
|
|
|
size_t mnEnd;
|
2013-08-28 15:55:56 -04:00
|
|
|
|
2014-03-02 12:19:16 -06:00
|
|
|
MisspellRange(size_t nStart, size_t nEnd);
|
2013-08-28 15:55:56 -04:00
|
|
|
};
|
|
|
|
|
2013-08-30 23:40:52 -04:00
|
|
|
struct EDITENG_DLLPUBLIC MisspellRanges
|
|
|
|
{
|
2014-02-02 22:16:48 -06:00
|
|
|
sal_Int32 mnParagraph;
|
2013-08-30 23:40:52 -04:00
|
|
|
std::vector<MisspellRange> maRanges;
|
|
|
|
|
2014-02-02 22:16:48 -06:00
|
|
|
MisspellRanges(sal_Int32 nParagraph, const std::vector<MisspellRange>& rRanges);
|
2013-08-30 23:40:52 -04:00
|
|
|
};
|
|
|
|
|
2013-08-28 15:55:56 -04:00
|
|
|
}
|
|
|
|
|
|
|
|
#endif
|
|
|
|
|
|
|
|
/* vim:set shiftwidth=4 softtabstop=4 expandtab: */
|