Version 7.6.3.2-android, tag libreoffice-7.6.3.2-android
[LibreOffice.git] / include / editeng / urlfieldhelper.hxx
blob9a1d53d15512f05402ba0aed58c452fa7be5df9a
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 #pragma once
12 #include <sal/config.h>
13 #include <editeng/editengdllapi.h>
14 #include <editeng/outliner.hxx>
15 #include <editeng/editview.hxx>
17 class EDITENG_DLLPUBLIC URLFieldHelper
19 public:
20 static void RemoveURLField(EditView& pEditView);
21 static bool IsCursorAtURLField(const EditView& pEditView);
22 static bool IsCursorAtURLField(const OutlinerView* pOLV)
24 return pOLV && IsCursorAtURLField(pOLV->GetEditView());
28 /* vim:set shiftwidth=4 softtabstop=4 expandtab cinoptions=b1,g0,N-s cinkeys+=0=break: */