LibreOffice Module sw (master) 1
|
#include <romenu.hxx>
Public Member Functions | |
SwReadOnlyPopup (const Point &rDPos, SwView &rV) | |
rtl::Reference< VCLXPopupMenu > | CreateMenuInterface () |
~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) |
Definition at line 33 of file romenu.hxx.
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 | ( | ) |
Definition at line 49 of file romenu.cxx.
References VclPtr< class reference_type >::disposeAndClear(), and m_xMenu.
|
private |
Definition at line 54 of file romenu.cxx.
References SfxDispatcher::GetBindings(), SfxBoolItem::GetValue(), m_nReadonlyFullscreen, m_xMenu, and SfxBindings::QueryState().
Referenced by SwReadOnlyPopup().
|
inline |
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().
void SwReadOnlyPopup::Execute | ( | vcl::Window * | pWin, |
sal_uInt16 | nId | ||
) |
Definition at line 230 of file romenu.cxx.
References SwWrtShell::ApplyViewOptions(), SfxBindings::Execute(), SfxDispatcher::Execute(), FN_READONLY_SELECTION_MODE, FN_VIEW_GRAPHIC, SfxDispatcher::GetBindings(), SfxViewFrame::GetDispatcher(), SwWrtShell::GetView(), SfxViewShell::GetViewFrame(), SwViewShell::GetViewOptions(), SwView::GetWrtShell(), GalleryExplorer::InsertURL(), SwEditShell::IsModified(), LoadURL(), m_aThemeList, m_bGrfToGalleryAsLnk, m_nReadonlyBackgroundTogallerycopy, m_nReadonlyBackgroundTogallerylink, m_nReadonlyBrowseBackward, m_nReadonlyBrowseForward, m_nReadonlyCopy, m_nReadonlyCopylink, m_nReadonlyEditdoc, m_nReadonlyFullscreen, m_nReadonlyGraphicoff, 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, MN_READONLY_BACKGROUNDTOGALLERY, MN_READONLY_GRAPHICTOGALLERY, NewView, nId, NONE, SwEditShell::ResetModified(), SaveGraphic(), SwViewOption::SetGraphic(), and SW_MOD.
|
private |
Definition at line 324 of file romenu.cxx.
References GraphicHelper::ExportGraphic(), SfxViewShell::GetFrameWeld(), m_aGraphic, m_nReadonlySaveBackground, m_rView, m_sGrfName, m_xBrushItem, and nId.
Referenced by Execute().
|
private |
Definition at line 35 of file romenu.hxx.
|
private |
Definition at line 62 of file romenu.hxx.
Referenced by SaveGraphic(), and SwReadOnlyPopup().
|
private |
Definition at line 66 of file romenu.hxx.
Referenced by Execute(), and SwReadOnlyPopup().
|
private |
Definition at line 67 of file romenu.hxx.
Referenced by Execute(), and SwReadOnlyPopup().
|
private |
Definition at line 51 of file romenu.hxx.
Referenced by SwReadOnlyPopup().
|
private |
Definition at line 53 of file romenu.hxx.
Referenced by Execute(), and SwReadOnlyPopup().
|
private |
Definition at line 52 of file romenu.hxx.
Referenced by Execute(), and SwReadOnlyPopup().
|
private |
Definition at line 44 of file romenu.hxx.
Referenced by Execute(), and SwReadOnlyPopup().
|
private |
Definition at line 45 of file romenu.hxx.
Referenced by Execute(), and SwReadOnlyPopup().
|
private |
Definition at line 58 of file romenu.hxx.
Referenced by Execute(), and SwReadOnlyPopup().
|
private |
Definition at line 54 of file romenu.hxx.
Referenced by Execute(), and SwReadOnlyPopup().
|
private |
Definition at line 39 of file romenu.hxx.
Referenced by Execute(), and SwReadOnlyPopup().
|
private |
Definition at line 57 of file romenu.hxx.
Referenced by Check(), Execute(), and SwReadOnlyPopup().
|
private |
Definition at line 56 of file romenu.hxx.
Referenced by Execute(), and SwReadOnlyPopup().
|
private |
Definition at line 47 of file romenu.hxx.
Referenced by SwReadOnlyPopup().
|
private |
Definition at line 55 of file romenu.hxx.
Referenced by Execute(), and SwReadOnlyPopup().
|
private |
Definition at line 38 of file romenu.hxx.
Referenced by Execute(), and SwReadOnlyPopup().
|
private |
Definition at line 37 of file romenu.hxx.
Referenced by Execute(), and SwReadOnlyPopup().
|
private |
Definition at line 41 of file romenu.hxx.
Referenced by Execute(), and SwReadOnlyPopup().
|
private |
Definition at line 42 of file romenu.hxx.
Referenced by Execute(), and SwReadOnlyPopup().
|
private |
Definition at line 50 of file romenu.hxx.
Referenced by Execute(), SaveGraphic(), and SwReadOnlyPopup().
|
private |
Definition at line 46 of file romenu.hxx.
Referenced by Execute(), and SwReadOnlyPopup().
|
private |
Definition at line 40 of file romenu.hxx.
Referenced by Execute(), and SwReadOnlyPopup().
|
private |
Definition at line 43 of file romenu.hxx.
Referenced by Execute(), and SwReadOnlyPopup().
|
private |
Definition at line 49 of file romenu.hxx.
Referenced by Execute(), and SwReadOnlyPopup().
|
private |
Definition at line 48 of file romenu.hxx.
Referenced by Execute(), and SwReadOnlyPopup().
|
private |
Definition at line 60 of file romenu.hxx.
Referenced by Execute(), SaveGraphic(), and SwReadOnlyPopup().
|
private |
Definition at line 65 of file romenu.hxx.
Referenced by Execute(), SaveGraphic(), and SwReadOnlyPopup().
|
private |
Definition at line 64 of file romenu.hxx.
Referenced by Execute(), and SwReadOnlyPopup().
|
private |
Definition at line 63 of file romenu.hxx.
Referenced by Execute(), and SwReadOnlyPopup().
|
private |
Definition at line 61 of file romenu.hxx.
Referenced by Execute(), SaveGraphic(), and SwReadOnlyPopup().
|
private |
Definition at line 36 of file romenu.hxx.
Referenced by Check(), CreateMenuInterface(), Execute(), SwReadOnlyPopup(), and ~SwReadOnlyPopup().