LibreOffice Module editeng (master)
1
include
editeng
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
>
13
#include <
editeng/editengdllapi.h
>
14
#include <
editeng/outliner.hxx
>
15
#include <
editeng/editview.hxx
>
16
17
class
EDITENG_DLLPUBLIC
URLFieldHelper
18
{
19
public
:
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
Definition:
editview.hxx:153
OutlinerView
Definition:
outliner.hxx:180
OutlinerView::GetEditView
EditView & GetEditView() const
Definition:
outliner.hxx:209
URLFieldHelper
Definition:
urlfieldhelper.hxx:18
URLFieldHelper::IsCursorAtURLField
static bool IsCursorAtURLField(const OutlinerView *pOLV)
Definition:
urlfieldhelper.hxx:22
config.h
editengdllapi.h
EDITENG_DLLPUBLIC
#define EDITENG_DLLPUBLIC
Definition:
editengdllapi.h:28
editview.hxx
outliner.hxx
Generated on Sun Jul 30 2023 04:33:58 for LibreOffice Module editeng (master) by
1.9.3