LibreOffice Module svx (master)
1
include
svx
extedit.hxx
Go to the documentation of this file.
1
/* -*- Mode: C++; tab-width: 4; indent-tabs-mode: nil; c-basic-offset: 4 -*- */
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
#ifndef INCLUDED_SVX_EXTEDIT_HXX
11
#define INCLUDED_SVX_EXTEDIT_HXX
12
13
#include <
svx/svxdllapi.h
>
14
#include <
svl/lstner.hxx
>
15
#include <rtl/ustring.hxx>
16
#include <rtl/ref.hxx>
17
#include <memory>
18
19
class
Graphic
;
20
class
GraphicObject
;
21
class
FileChangedChecker
;
22
23
class
SAL_WARN_UNUSED
SVXCORE_DLLPUBLIC
ExternalToolEdit
24
{
25
protected
:
26
OUString
m_aFileName
;
27
28
::std::unique_ptr<FileChangedChecker>
m_pChecker
;
29
30
public
:
31
32
ExternalToolEdit
();
33
virtual
~ExternalToolEdit
();
34
35
virtual
void
Update
(
Graphic
& aGraphic ) = 0;
36
void
Edit
(
GraphicObject
const
*
const
pGraphic);
37
38
void
StartListeningEvent();
39
40
static
void
HandleCloseEvent(
ExternalToolEdit
* pData );
41
};
42
43
class
FmFormView
;
44
class
SdrObject
;
45
class
SdrGrafObj
;
46
47
class
SAL_WARN_UNUSED
SVXCORE_DLLPUBLIC
SdrExternalToolEdit
final
48
:
public
ExternalToolEdit
49
,
public
SfxListener
50
{
51
private
:
52
FmFormView
*
m_pView
;
53
rtl::Reference<SdrGrafObj>
m_pObj
;
54
55
SAL_DLLPRIVATE
virtual
void
Update
(
Graphic
&)
override
;
56
SAL_DLLPRIVATE
virtual
void
Notify
(
SfxBroadcaster
&,
const
SfxHint
&)
override
;
57
58
public
:
59
SdrExternalToolEdit
(
60
FmFormView
* pView,
61
SdrGrafObj
* pObj);
62
};
63
64
#endif
Edit
ExternalToolEdit
Definition:
extedit.hxx:24
ExternalToolEdit::m_pChecker
::std::unique_ptr< FileChangedChecker > m_pChecker
Definition:
extedit.hxx:28
ExternalToolEdit::m_aFileName
OUString m_aFileName
Definition:
extedit.hxx:26
ExternalToolEdit::Update
virtual void Update(Graphic &aGraphic)=0
FileChangedChecker
FmFormView
Definition:
fmview.hxx:55
GraphicObject
Graphic
SdrExternalToolEdit
Definition:
extedit.hxx:50
SdrExternalToolEdit::m_pView
FmFormView * m_pView
Definition:
extedit.hxx:52
SdrExternalToolEdit::m_pObj
rtl::Reference< SdrGrafObj > m_pObj
Definition:
extedit.hxx:53
SdrGrafObj
This class represents an embedded or linked bitmap graphic object.
Definition:
svdograf.hxx:68
SdrObject
Abstract DrawObject.
Definition:
svdobj.hxx:260
SfxBroadcaster
SfxHint
SfxListener
rtl::Reference< SdrGrafObj >
Notify
void Notify(SwFlyFrame *pFly, SwPageFrame *pOld, const SwRect &rOld, const SwRect *pOldRect=nullptr)
lstner.hxx
LinkCreateType::Update
@ Update
svxdllapi.h
SVXCORE_DLLPUBLIC
#define SVXCORE_DLLPUBLIC
Definition:
svxdllapi.h:35
SAL_WARN_UNUSED
#define SAL_WARN_UNUSED
Generated on Sun Jul 30 2023 04:27:32 for LibreOffice Module svx (master) by
1.9.3