sdext: adapt xpdfwrapper to poppler 24.12
[LibreOffice.git] / include / i18nutil / kashida.hxx
blob96969ff89197fa30efce3ab972f41396a83e576b
1 /* -*- Mode: C++; tab-width: 4; indent-tabs-mode: nil; c-basic-offset: 4; fill-column: 100 -*- */
2 /*
3 * This file is part of the LibreOffice project.
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 */
10 #include <i18nutil/i18nutildllapi.h>
11 #include <rtl/ustring.hxx>
12 #include <optional>
13 #include <vector>
15 namespace i18nutil
17 struct KashidaPosition
19 sal_Int32 nIndex;
22 I18NUTIL_DLLPUBLIC std::optional<KashidaPosition>
23 GetWordKashidaPosition(const OUString& rWord, const std::vector<bool>& pValidPositions = {});
26 /* vim:set shiftwidth=4 softtabstop=4 expandtab cinoptions=b1,g0,N-s cinkeys+=0=break: */