LibreOffice Module editeng (master) 1
urlfieldhelper.hxx
Go to the documentation of this file.
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.
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#pragma once
11
12#include <sal/config.h>
14#include <editeng/outliner.hxx>
15#include <editeng/editview.hxx>
16
18{
19public:
20 static void RemoveURLField(EditView& pEditView);
21 static bool IsCursorAtURLField(const EditView& pEditView);
22 static bool IsCursorAtURLField(const OutlinerView* pOLV)
23 {
24 return pOLV && IsCursorAtURLField(pOLV->GetEditView());
25 }
26};
27
28/* vim:set shiftwidth=4 softtabstop=4 expandtab cinoptions=b1,g0,N-s cinkeys+=0=break: */
EditView & GetEditView() const
Definition: outliner.hxx:209
static bool IsCursorAtURLField(const OutlinerView *pOLV)
#define EDITENG_DLLPUBLIC
Definition: editengdllapi.h:28