LibreOffice Module sw (master)
1
Main Page
Related Pages
Modules
Namespaces
Classes
Files
Examples
File List
File Members
sw
source
uibase
docvw
romenu.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
* This file incorporates work covered by the following license notice:
10
*
11
* Licensed to the Apache Software Foundation (ASF) under one or more
12
* contributor license agreements. See the NOTICE file distributed
13
* with this work for additional information regarding copyright
14
* ownership. The ASF licenses this file to you under the Apache
15
* License, Version 2.0 (the "License"); you may not use this file
16
* except in compliance with the License. You may obtain a copy of
17
* the License at http://www.apache.org/licenses/LICENSE-2.0 .
18
*/
19
20
#pragma once
21
22
#include <
editeng/brushitem.hxx
>
23
#include <
vcl/builder.hxx
>
24
#include <
vcl/graph.hxx
>
25
#include <
vcl/menu.hxx
>
26
27
class
SwView
;
28
class
SfxDispatcher
;
29
class
ImageMap
;
30
class
INetImage
;
31
32
class
SwReadOnlyPopup
33
{
34
VclBuilder
m_aBuilder
;
35
ScopedVclPtr<PopupMenu>
m_xMenu
;
36
sal_uInt16
m_nReadonlyOpenurl
;
37
sal_uInt16
m_nReadonlyOpendoc
;
38
sal_uInt16
m_nReadonlyEditdoc
;
39
sal_uInt16
m_nReadonlySelectionMode
;
40
sal_uInt16
m_nReadonlyReload
;
41
sal_uInt16
m_nReadonlyReloadFrame
;
42
sal_uInt16
m_nReadonlySourceview
;
43
sal_uInt16
m_nReadonlyBrowseBackward
;
44
sal_uInt16
m_nReadonlyBrowseForward
;
45
sal_uInt16
m_nReadonlySaveGraphic
;
46
sal_uInt16
m_nReadonlyGraphictogallery
;
47
sal_uInt16
m_nReadonlyTogallerylink
;
48
sal_uInt16
m_nReadonlyTogallerycopy
;
49
sal_uInt16
m_nReadonlySaveBackground
;
50
sal_uInt16
m_nReadonlyBackgroundtogallery
;
51
sal_uInt16
m_nReadonlyBackgroundTogallerylink
;
52
sal_uInt16
m_nReadonlyBackgroundTogallerycopy
;
53
sal_uInt16
m_nReadonlyCopylink
;
54
sal_uInt16
m_nReadonlyLoadGraphic
;
55
sal_uInt16
m_nReadonlyGraphicoff
;
56
sal_uInt16
m_nReadonlyFullscreen
;
57
sal_uInt16
m_nReadonlyCopy
;
58
59
SwView
&
m_rView
;
60
std::unique_ptr<SvxBrushItem>
m_xBrushItem
;
61
Graphic
m_aGraphic
;
62
OUString
m_sURL
,
63
m_sTargetFrameName
;
64
OUString
m_sGrfName
;
65
std::vector<OUString>
m_aThemeList
;
66
bool
m_bGrfToGalleryAsLnk
;
67
68
void
Check
( sal_uInt16 nMID, sal_uInt16 nSID,
SfxDispatcher
const
&rDis );
69
OUString
SaveGraphic
( sal_uInt16 nId );
70
71
public
:
72
SwReadOnlyPopup
(
const
Point &rDPos,
SwView
&rV);
73
css::uno::Reference<css::awt::XPopupMenu>
CreateMenuInterface
() {
return
m_xMenu->CreateMenuInterface(); }
74
~SwReadOnlyPopup
();
75
76
void
Execute
(
vcl::Window
* pWin,
const
Point &rPPos );
77
void
Execute
(
vcl::Window
* pWin, sal_uInt16 nId );
78
};
79
80
/* vim:set shiftwidth=4 softtabstop=4 expandtab: */
builder.hxx
SwReadOnlyPopup::m_nReadonlyOpendoc
sal_uInt16 m_nReadonlyOpendoc
Definition:
romenu.hxx:37
SwReadOnlyPopup::m_nReadonlyCopy
sal_uInt16 m_nReadonlyCopy
Definition:
romenu.hxx:57
graph.hxx
ScopedVclPtr< PopupMenu >
SwReadOnlyPopup::SwReadOnlyPopup
SwReadOnlyPopup(const Point &rDPos, SwView &rV)
Definition:
romenu.cxx:78
SwReadOnlyPopup::m_nReadonlyBrowseForward
sal_uInt16 m_nReadonlyBrowseForward
Definition:
romenu.hxx:44
SwReadOnlyPopup::m_sURL
OUString m_sURL
Definition:
romenu.hxx:62
Graphic
SwReadOnlyPopup::m_nReadonlyCopylink
sal_uInt16 m_nReadonlyCopylink
Definition:
romenu.hxx:53
SwReadOnlyPopup::m_nReadonlyTogallerylink
sal_uInt16 m_nReadonlyTogallerylink
Definition:
romenu.hxx:47
SwReadOnlyPopup::CreateMenuInterface
css::uno::Reference< css::awt::XPopupMenu > CreateMenuInterface()
Definition:
romenu.hxx:73
SwReadOnlyPopup::m_nReadonlyOpenurl
sal_uInt16 m_nReadonlyOpenurl
Definition:
romenu.hxx:36
SwReadOnlyPopup::m_nReadonlyGraphicoff
sal_uInt16 m_nReadonlyGraphicoff
Definition:
romenu.hxx:55
SwReadOnlyPopup::m_xBrushItem
std::unique_ptr< SvxBrushItem > m_xBrushItem
Definition:
romenu.hxx:60
SwReadOnlyPopup::m_nReadonlyEditdoc
sal_uInt16 m_nReadonlyEditdoc
Definition:
romenu.hxx:38
SwReadOnlyPopup::m_nReadonlySaveGraphic
sal_uInt16 m_nReadonlySaveGraphic
Definition:
romenu.hxx:45
INetImage
SwReadOnlyPopup
Definition:
romenu.hxx:32
SwReadOnlyPopup::m_nReadonlyLoadGraphic
sal_uInt16 m_nReadonlyLoadGraphic
Definition:
romenu.hxx:54
SwReadOnlyPopup::m_nReadonlySelectionMode
sal_uInt16 m_nReadonlySelectionMode
Definition:
romenu.hxx:39
SwReadOnlyPopup::m_sGrfName
OUString m_sGrfName
Definition:
romenu.hxx:64
SfxDispatcher
SwReadOnlyPopup::m_nReadonlyReload
sal_uInt16 m_nReadonlyReload
Definition:
romenu.hxx:40
SwReadOnlyPopup::m_xMenu
ScopedVclPtr< PopupMenu > m_xMenu
Definition:
romenu.hxx:35
SwReadOnlyPopup::SaveGraphic
OUString SaveGraphic(sal_uInt16 nId)
Definition:
romenu.cxx:324
VclBuilder
SwReadOnlyPopup::m_nReadonlyBackgroundTogallerylink
sal_uInt16 m_nReadonlyBackgroundTogallerylink
Definition:
romenu.hxx:51
SwReadOnlyPopup::~SwReadOnlyPopup
~SwReadOnlyPopup()
Definition:
romenu.cxx:49
SwReadOnlyPopup::m_nReadonlyReloadFrame
sal_uInt16 m_nReadonlyReloadFrame
Definition:
romenu.hxx:41
SwReadOnlyPopup::m_nReadonlyBrowseBackward
sal_uInt16 m_nReadonlyBrowseBackward
Definition:
romenu.hxx:43
SwReadOnlyPopup::m_aGraphic
Graphic m_aGraphic
Definition:
romenu.hxx:61
SwReadOnlyPopup::m_nReadonlySourceview
sal_uInt16 m_nReadonlySourceview
Definition:
romenu.hxx:42
SwReadOnlyPopup::m_nReadonlySaveBackground
sal_uInt16 m_nReadonlySaveBackground
Definition:
romenu.hxx:49
SwReadOnlyPopup::Check
void Check(sal_uInt16 nMID, sal_uInt16 nSID, SfxDispatcher const &rDis)
Definition:
romenu.cxx:54
SwReadOnlyPopup::m_nReadonlyBackgroundtogallery
sal_uInt16 m_nReadonlyBackgroundtogallery
Definition:
romenu.hxx:50
SwReadOnlyPopup::m_bGrfToGalleryAsLnk
bool m_bGrfToGalleryAsLnk
Definition:
romenu.hxx:66
SwReadOnlyPopup::m_aThemeList
std::vector< OUString > m_aThemeList
Definition:
romenu.hxx:65
ImageMap
SwReadOnlyPopup::m_nReadonlyTogallerycopy
sal_uInt16 m_nReadonlyTogallerycopy
Definition:
romenu.hxx:48
brushitem.hxx
SwReadOnlyPopup::m_nReadonlyGraphictogallery
sal_uInt16 m_nReadonlyGraphictogallery
Definition:
romenu.hxx:46
menu.hxx
SwReadOnlyPopup::m_aBuilder
VclBuilder m_aBuilder
Definition:
romenu.hxx:34
SwReadOnlyPopup::m_nReadonlyFullscreen
sal_uInt16 m_nReadonlyFullscreen
Definition:
romenu.hxx:56
vcl::Window
SwReadOnlyPopup::m_sTargetFrameName
OUString m_sTargetFrameName
Definition:
romenu.hxx:62
SwReadOnlyPopup::m_rView
SwView & m_rView
Definition:
romenu.hxx:59
SwView
Definition:
view.hxx:144
SwReadOnlyPopup::m_nReadonlyBackgroundTogallerycopy
sal_uInt16 m_nReadonlyBackgroundTogallerycopy
Definition:
romenu.hxx:52
SwReadOnlyPopup::Execute
void Execute(vcl::Window *pWin, const Point &rPPos)
Definition:
romenu.cxx:223
Generated on Tue May 24 2022 12:23:14 for LibreOffice Module sw (master) by
1.8.10