LibreOffice Module sw (master) 1
Public Member Functions | Private Member Functions | Private Attributes | List of all members
SwReadOnlyPopup Class Reference

#include <romenu.hxx>

Collaboration diagram for SwReadOnlyPopup:
[legend]

Public Member Functions

 SwReadOnlyPopup (const Point &rDPos, SwView &rV)
 
rtl::Reference< VCLXPopupMenuCreateMenuInterface ()
 
 ~SwReadOnlyPopup ()
 
void Execute (vcl::Window *pWin, const Point &rPPos)
 
void Execute (vcl::Window *pWin, sal_uInt16 nId)
 

Private Member Functions

void Check (sal_uInt16 nMID, sal_uInt16 nSID, SfxDispatcher const &rDis)
 
OUString SaveGraphic (sal_uInt16 nId)
 

Private Attributes

VclBuilder m_aBuilder
 
ScopedVclPtr< PopupMenum_xMenu
 
sal_uInt16 m_nReadonlyOpenurl
 
sal_uInt16 m_nReadonlyOpendoc
 
sal_uInt16 m_nReadonlyEditdoc
 
sal_uInt16 m_nReadonlySelectionMode
 
sal_uInt16 m_nReadonlyReload
 
sal_uInt16 m_nReadonlyReloadFrame
 
sal_uInt16 m_nReadonlySourceview
 
sal_uInt16 m_nReadonlyBrowseBackward
 
sal_uInt16 m_nReadonlyBrowseForward
 
sal_uInt16 m_nReadonlySaveGraphic
 
sal_uInt16 m_nReadonlyGraphictogallery
 
sal_uInt16 m_nReadonlyTogallerylink
 
sal_uInt16 m_nReadonlyTogallerycopy
 
sal_uInt16 m_nReadonlySaveBackground
 
sal_uInt16 m_nReadonlyBackgroundtogallery
 
sal_uInt16 m_nReadonlyBackgroundTogallerylink
 
sal_uInt16 m_nReadonlyBackgroundTogallerycopy
 
sal_uInt16 m_nReadonlyCopylink
 
sal_uInt16 m_nReadonlyLoadGraphic
 
sal_uInt16 m_nReadonlyGraphicoff
 
sal_uInt16 m_nReadonlyFullscreen
 
sal_uInt16 m_nReadonlyCopy
 
SwViewm_rView
 
std::unique_ptr< SvxBrushItemm_xBrushItem
 
Graphic m_aGraphic
 
OUString m_sURL
 
OUString m_sTargetFrameName
 
OUString m_sGrfName
 
std::vector< OUString > m_aThemeList
 
bool m_bGrfToGalleryAsLnk
 

Detailed Description

Definition at line 33 of file romenu.hxx.

Constructor & Destructor Documentation

◆ SwReadOnlyPopup()

SwReadOnlyPopup::SwReadOnlyPopup ( const Point rDPos,
SwView rV 
)

Definition at line 78 of file romenu.cxx.

References SwContentAtPos::aFnd, Check(), Menu::CheckItem(), GalleryExplorer::FillThemeList(), FN_READONLY_SELECTION_MODE, SfxViewFrame::GetBindings(), SwCursorShell::GetContentAtPos(), SwFEShell::GetCurPageDesc(), SfxViewFrame::GetDispatcher(), SwView::GetDocShell(), SwFEShell::GetGrfAtPos(), SwPageDesc::GetMaster(), SwFEShell::GetPageDesc(), SwFormatINetFormat::GetTargetFrame(), SwFormatINetFormat::GetValue(), SfxViewShell::GetViewFrame(), SwViewShell::GetViewOptions(), SwView::GetWrtShell(), GPOS_NONE, i, InetAttr, Menu::InsertItem(), SwEditShell::IsGlobalDoc(), SwViewOption::IsGraphic(), SfxObjectShell::IsReadOnlyUI(), SwFEShell::IsURLGrfAtPos(), m_aGraphic, m_aThemeList, m_bGrfToGalleryAsLnk, m_nReadonlyBackgroundtogallery, m_nReadonlyBackgroundTogallerycopy, m_nReadonlyBackgroundTogallerylink, m_nReadonlyBrowseBackward, m_nReadonlyBrowseForward, m_nReadonlyCopy, m_nReadonlyCopylink, m_nReadonlyEditdoc, m_nReadonlyFullscreen, m_nReadonlyGraphicoff, m_nReadonlyGraphictogallery, m_nReadonlyLoadGraphic, m_nReadonlyOpendoc, m_nReadonlyOpenurl, m_nReadonlyReload, m_nReadonlyReloadFrame, m_nReadonlySaveBackground, m_nReadonlySaveGraphic, m_nReadonlySelectionMode, m_nReadonlySourceview, m_nReadonlyTogallerycopy, m_nReadonlyTogallerylink, m_rView, m_sGrfName, m_sTargetFrameName, m_sURL, m_xBrushItem, m_xMenu, SwFormat::makeBackgroundBrushItem(), MN_READONLY_BACKGROUNDTOGALLERY, MN_READONLY_GRAPHICTOGALLERY, SwContentAtPos::pAttr, SfxBindings::QueryState(), SW_MOD, and u.

◆ ~SwReadOnlyPopup()

SwReadOnlyPopup::~SwReadOnlyPopup ( )

Definition at line 49 of file romenu.cxx.

References VclPtr< class reference_type >::disposeAndClear(), and m_xMenu.

Member Function Documentation

◆ Check()

void SwReadOnlyPopup::Check ( sal_uInt16  nMID,
sal_uInt16  nSID,
SfxDispatcher const &  rDis 
)
private

◆ CreateMenuInterface()

rtl::Reference< VCLXPopupMenu > SwReadOnlyPopup::CreateMenuInterface ( )
inline

Definition at line 74 of file romenu.hxx.

References m_xMenu.

Referenced by SwEditWin::Command().

◆ Execute() [1/2]

void SwReadOnlyPopup::Execute ( vcl::Window pWin,
const Point rPPos 
)

Definition at line 223 of file romenu.cxx.

References Execute(), m_xMenu, and nId.

Referenced by SwEditWin::Command(), and Execute().

◆ Execute() [2/2]

void SwReadOnlyPopup::Execute ( vcl::Window pWin,
sal_uInt16  nId 
)

◆ SaveGraphic()

OUString SwReadOnlyPopup::SaveGraphic ( sal_uInt16  nId)
private

Member Data Documentation

◆ m_aBuilder

VclBuilder SwReadOnlyPopup::m_aBuilder
private

Definition at line 35 of file romenu.hxx.

◆ m_aGraphic

Graphic SwReadOnlyPopup::m_aGraphic
private

Definition at line 62 of file romenu.hxx.

Referenced by SaveGraphic(), and SwReadOnlyPopup().

◆ m_aThemeList

std::vector<OUString> SwReadOnlyPopup::m_aThemeList
private

Definition at line 66 of file romenu.hxx.

Referenced by Execute(), and SwReadOnlyPopup().

◆ m_bGrfToGalleryAsLnk

bool SwReadOnlyPopup::m_bGrfToGalleryAsLnk
private

Definition at line 67 of file romenu.hxx.

Referenced by Execute(), and SwReadOnlyPopup().

◆ m_nReadonlyBackgroundtogallery

sal_uInt16 SwReadOnlyPopup::m_nReadonlyBackgroundtogallery
private

Definition at line 51 of file romenu.hxx.

Referenced by SwReadOnlyPopup().

◆ m_nReadonlyBackgroundTogallerycopy

sal_uInt16 SwReadOnlyPopup::m_nReadonlyBackgroundTogallerycopy
private

Definition at line 53 of file romenu.hxx.

Referenced by Execute(), and SwReadOnlyPopup().

◆ m_nReadonlyBackgroundTogallerylink

sal_uInt16 SwReadOnlyPopup::m_nReadonlyBackgroundTogallerylink
private

Definition at line 52 of file romenu.hxx.

Referenced by Execute(), and SwReadOnlyPopup().

◆ m_nReadonlyBrowseBackward

sal_uInt16 SwReadOnlyPopup::m_nReadonlyBrowseBackward
private

Definition at line 44 of file romenu.hxx.

Referenced by Execute(), and SwReadOnlyPopup().

◆ m_nReadonlyBrowseForward

sal_uInt16 SwReadOnlyPopup::m_nReadonlyBrowseForward
private

Definition at line 45 of file romenu.hxx.

Referenced by Execute(), and SwReadOnlyPopup().

◆ m_nReadonlyCopy

sal_uInt16 SwReadOnlyPopup::m_nReadonlyCopy
private

Definition at line 58 of file romenu.hxx.

Referenced by Execute(), and SwReadOnlyPopup().

◆ m_nReadonlyCopylink

sal_uInt16 SwReadOnlyPopup::m_nReadonlyCopylink
private

Definition at line 54 of file romenu.hxx.

Referenced by Execute(), and SwReadOnlyPopup().

◆ m_nReadonlyEditdoc

sal_uInt16 SwReadOnlyPopup::m_nReadonlyEditdoc
private

Definition at line 39 of file romenu.hxx.

Referenced by Execute(), and SwReadOnlyPopup().

◆ m_nReadonlyFullscreen

sal_uInt16 SwReadOnlyPopup::m_nReadonlyFullscreen
private

Definition at line 57 of file romenu.hxx.

Referenced by Check(), Execute(), and SwReadOnlyPopup().

◆ m_nReadonlyGraphicoff

sal_uInt16 SwReadOnlyPopup::m_nReadonlyGraphicoff
private

Definition at line 56 of file romenu.hxx.

Referenced by Execute(), and SwReadOnlyPopup().

◆ m_nReadonlyGraphictogallery

sal_uInt16 SwReadOnlyPopup::m_nReadonlyGraphictogallery
private

Definition at line 47 of file romenu.hxx.

Referenced by SwReadOnlyPopup().

◆ m_nReadonlyLoadGraphic

sal_uInt16 SwReadOnlyPopup::m_nReadonlyLoadGraphic
private

Definition at line 55 of file romenu.hxx.

Referenced by Execute(), and SwReadOnlyPopup().

◆ m_nReadonlyOpendoc

sal_uInt16 SwReadOnlyPopup::m_nReadonlyOpendoc
private

Definition at line 38 of file romenu.hxx.

Referenced by Execute(), and SwReadOnlyPopup().

◆ m_nReadonlyOpenurl

sal_uInt16 SwReadOnlyPopup::m_nReadonlyOpenurl
private

Definition at line 37 of file romenu.hxx.

Referenced by Execute(), and SwReadOnlyPopup().

◆ m_nReadonlyReload

sal_uInt16 SwReadOnlyPopup::m_nReadonlyReload
private

Definition at line 41 of file romenu.hxx.

Referenced by Execute(), and SwReadOnlyPopup().

◆ m_nReadonlyReloadFrame

sal_uInt16 SwReadOnlyPopup::m_nReadonlyReloadFrame
private

Definition at line 42 of file romenu.hxx.

Referenced by Execute(), and SwReadOnlyPopup().

◆ m_nReadonlySaveBackground

sal_uInt16 SwReadOnlyPopup::m_nReadonlySaveBackground
private

Definition at line 50 of file romenu.hxx.

Referenced by Execute(), SaveGraphic(), and SwReadOnlyPopup().

◆ m_nReadonlySaveGraphic

sal_uInt16 SwReadOnlyPopup::m_nReadonlySaveGraphic
private

Definition at line 46 of file romenu.hxx.

Referenced by Execute(), and SwReadOnlyPopup().

◆ m_nReadonlySelectionMode

sal_uInt16 SwReadOnlyPopup::m_nReadonlySelectionMode
private

Definition at line 40 of file romenu.hxx.

Referenced by Execute(), and SwReadOnlyPopup().

◆ m_nReadonlySourceview

sal_uInt16 SwReadOnlyPopup::m_nReadonlySourceview
private

Definition at line 43 of file romenu.hxx.

Referenced by Execute(), and SwReadOnlyPopup().

◆ m_nReadonlyTogallerycopy

sal_uInt16 SwReadOnlyPopup::m_nReadonlyTogallerycopy
private

Definition at line 49 of file romenu.hxx.

Referenced by Execute(), and SwReadOnlyPopup().

◆ m_nReadonlyTogallerylink

sal_uInt16 SwReadOnlyPopup::m_nReadonlyTogallerylink
private

Definition at line 48 of file romenu.hxx.

Referenced by Execute(), and SwReadOnlyPopup().

◆ m_rView

SwView& SwReadOnlyPopup::m_rView
private

Definition at line 60 of file romenu.hxx.

Referenced by Execute(), SaveGraphic(), and SwReadOnlyPopup().

◆ m_sGrfName

OUString SwReadOnlyPopup::m_sGrfName
private

Definition at line 65 of file romenu.hxx.

Referenced by Execute(), SaveGraphic(), and SwReadOnlyPopup().

◆ m_sTargetFrameName

OUString SwReadOnlyPopup::m_sTargetFrameName
private

Definition at line 64 of file romenu.hxx.

Referenced by Execute(), and SwReadOnlyPopup().

◆ m_sURL

OUString SwReadOnlyPopup::m_sURL
private

Definition at line 63 of file romenu.hxx.

Referenced by Execute(), and SwReadOnlyPopup().

◆ m_xBrushItem

std::unique_ptr<SvxBrushItem> SwReadOnlyPopup::m_xBrushItem
private

Definition at line 61 of file romenu.hxx.

Referenced by Execute(), SaveGraphic(), and SwReadOnlyPopup().

◆ m_xMenu

ScopedVclPtr<PopupMenu> SwReadOnlyPopup::m_xMenu
private

Definition at line 36 of file romenu.hxx.

Referenced by Check(), CreateMenuInterface(), Execute(), SwReadOnlyPopup(), and ~SwReadOnlyPopup().


The documentation for this class was generated from the following files: