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)
 
PopupMenuGetMenu () const
 
 ~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 const m_nReadonlyOpenurl
 
sal_uInt16 const m_nReadonlyOpendoc
 
sal_uInt16 const m_nReadonlyEditdoc
 
sal_uInt16 const m_nReadonlySelectionMode
 
sal_uInt16 const m_nReadonlyReload
 
sal_uInt16 const m_nReadonlyReloadFrame
 
sal_uInt16 const m_nReadonlySourceview
 
sal_uInt16 const m_nReadonlyBrowseBackward
 
sal_uInt16 const m_nReadonlyBrowseForward
 
sal_uInt16 const m_nReadonlySaveGraphic
 
sal_uInt16 const m_nReadonlyGraphictogallery
 
sal_uInt16 const m_nReadonlyTogallerylink
 
sal_uInt16 const m_nReadonlyTogallerycopy
 
sal_uInt16 const m_nReadonlySaveBackground
 
sal_uInt16 const m_nReadonlyBackgroundtogallery
 
sal_uInt16 const m_nReadonlyBackgroundTogallerylink
 
sal_uInt16 const m_nReadonlyBackgroundTogallerycopy
 
sal_uInt16 const m_nReadonlyCopylink
 
sal_uInt16 const m_nReadonlyLoadGraphic
 
sal_uInt16 const m_nReadonlyGraphicoff
 
sal_uInt16 const m_nReadonlyFullscreen
 
sal_uInt16 const m_nReadonlyCopy
 
SwViewm_rView
 
std::shared_ptr< SvxBrushItemm_aBrushItem
 
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 32 of file romenu.hxx.

Constructor & Destructor Documentation

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

Definition at line 83 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_aBrushItem, 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_xMenu, SwFormat::makeBackgroundBrushItem(), MN_READONLY_BACKGROUNDTOGALLERY, MN_READONLY_GRAPHICTOGALLERY, SwContentAtPos::pAttr, SfxBindings::QueryState(), and SW_MOD.

SwReadOnlyPopup::~SwReadOnlyPopup ( )

Definition at line 54 of file romenu.cxx.

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

Member Function Documentation

void SwReadOnlyPopup::Check ( sal_uInt16  nMID,
sal_uInt16  nSID,
SfxDispatcher const &  rDis 
)
private
void SwReadOnlyPopup::Execute ( vcl::Window pWin,
const Point rPPos 
)

Definition at line 228 of file romenu.cxx.

References m_xMenu, and nId.

Referenced by SwEditWin::Command().

void SwReadOnlyPopup::Execute ( vcl::Window pWin,
sal_uInt16  nId 
)
PopupMenu& SwReadOnlyPopup::GetMenu ( ) const
inline

Definition at line 73 of file romenu.hxx.

References m_xMenu.

Referenced by SwEditWin::Command().

OUString SwReadOnlyPopup::SaveGraphic ( sal_uInt16  nId)
private

Member Data Documentation

std::shared_ptr<SvxBrushItem> SwReadOnlyPopup::m_aBrushItem
private

Definition at line 60 of file romenu.hxx.

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

VclBuilder SwReadOnlyPopup::m_aBuilder
private

Definition at line 34 of file romenu.hxx.

Graphic SwReadOnlyPopup::m_aGraphic
private

Definition at line 61 of file romenu.hxx.

Referenced by SaveGraphic(), and SwReadOnlyPopup().

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

Definition at line 65 of file romenu.hxx.

Referenced by Execute(), and SwReadOnlyPopup().

bool SwReadOnlyPopup::m_bGrfToGalleryAsLnk
private

Definition at line 66 of file romenu.hxx.

Referenced by Execute(), and SwReadOnlyPopup().

sal_uInt16 const SwReadOnlyPopup::m_nReadonlyBackgroundtogallery
private

Definition at line 50 of file romenu.hxx.

Referenced by SwReadOnlyPopup().

sal_uInt16 const SwReadOnlyPopup::m_nReadonlyBackgroundTogallerycopy
private

Definition at line 52 of file romenu.hxx.

Referenced by Execute(), and SwReadOnlyPopup().

sal_uInt16 const SwReadOnlyPopup::m_nReadonlyBackgroundTogallerylink
private

Definition at line 51 of file romenu.hxx.

Referenced by Execute(), and SwReadOnlyPopup().

sal_uInt16 const SwReadOnlyPopup::m_nReadonlyBrowseBackward
private

Definition at line 43 of file romenu.hxx.

Referenced by Execute(), and SwReadOnlyPopup().

sal_uInt16 const SwReadOnlyPopup::m_nReadonlyBrowseForward
private

Definition at line 44 of file romenu.hxx.

Referenced by Execute(), and SwReadOnlyPopup().

sal_uInt16 const SwReadOnlyPopup::m_nReadonlyCopy
private

Definition at line 57 of file romenu.hxx.

Referenced by Execute(), and SwReadOnlyPopup().

sal_uInt16 const SwReadOnlyPopup::m_nReadonlyCopylink
private

Definition at line 53 of file romenu.hxx.

Referenced by Execute(), and SwReadOnlyPopup().

sal_uInt16 const SwReadOnlyPopup::m_nReadonlyEditdoc
private

Definition at line 38 of file romenu.hxx.

Referenced by Execute(), and SwReadOnlyPopup().

sal_uInt16 const SwReadOnlyPopup::m_nReadonlyFullscreen
private

Definition at line 56 of file romenu.hxx.

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

sal_uInt16 const SwReadOnlyPopup::m_nReadonlyGraphicoff
private

Definition at line 55 of file romenu.hxx.

Referenced by Execute(), and SwReadOnlyPopup().

sal_uInt16 const SwReadOnlyPopup::m_nReadonlyGraphictogallery
private

Definition at line 46 of file romenu.hxx.

Referenced by SwReadOnlyPopup().

sal_uInt16 const SwReadOnlyPopup::m_nReadonlyLoadGraphic
private

Definition at line 54 of file romenu.hxx.

Referenced by Execute(), and SwReadOnlyPopup().

sal_uInt16 const SwReadOnlyPopup::m_nReadonlyOpendoc
private

Definition at line 37 of file romenu.hxx.

Referenced by Execute(), and SwReadOnlyPopup().

sal_uInt16 const SwReadOnlyPopup::m_nReadonlyOpenurl
private

Definition at line 36 of file romenu.hxx.

Referenced by Execute(), and SwReadOnlyPopup().

sal_uInt16 const SwReadOnlyPopup::m_nReadonlyReload
private

Definition at line 40 of file romenu.hxx.

Referenced by Execute(), and SwReadOnlyPopup().

sal_uInt16 const SwReadOnlyPopup::m_nReadonlyReloadFrame
private

Definition at line 41 of file romenu.hxx.

Referenced by Execute(), and SwReadOnlyPopup().

sal_uInt16 const SwReadOnlyPopup::m_nReadonlySaveBackground
private

Definition at line 49 of file romenu.hxx.

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

sal_uInt16 const SwReadOnlyPopup::m_nReadonlySaveGraphic
private

Definition at line 45 of file romenu.hxx.

Referenced by Execute(), and SwReadOnlyPopup().

sal_uInt16 const SwReadOnlyPopup::m_nReadonlySelectionMode
private

Definition at line 39 of file romenu.hxx.

Referenced by Execute(), and SwReadOnlyPopup().

sal_uInt16 const SwReadOnlyPopup::m_nReadonlySourceview
private

Definition at line 42 of file romenu.hxx.

Referenced by Execute(), and SwReadOnlyPopup().

sal_uInt16 const SwReadOnlyPopup::m_nReadonlyTogallerycopy
private

Definition at line 48 of file romenu.hxx.

Referenced by Execute(), and SwReadOnlyPopup().

sal_uInt16 const SwReadOnlyPopup::m_nReadonlyTogallerylink
private

Definition at line 47 of file romenu.hxx.

Referenced by Execute(), and SwReadOnlyPopup().

SwView& SwReadOnlyPopup::m_rView
private

Definition at line 59 of file romenu.hxx.

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

OUString SwReadOnlyPopup::m_sGrfName
private

Definition at line 64 of file romenu.hxx.

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

OUString SwReadOnlyPopup::m_sTargetFrameName
private

Definition at line 62 of file romenu.hxx.

Referenced by Execute(), and SwReadOnlyPopup().

OUString SwReadOnlyPopup::m_sURL
private

Definition at line 62 of file romenu.hxx.

Referenced by Execute(), and SwReadOnlyPopup().

ScopedVclPtr<PopupMenu> SwReadOnlyPopup::m_xMenu
private

Definition at line 35 of file romenu.hxx.

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


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