|
LibreOffice Module sc (master) 1
|
#include <pivotsh.hxx>
Public Member Functions | |
| ScPivotShell (ScTabViewShell *pView) | |
| virtual | ~ScPivotShell () override |
| void | Execute (const SfxRequest &rReq) |
| void | GetState (SfxItemSet &rSet) |
Public Member Functions inherited from SfxShell | |
| virtual | ~SfxShell () override |
| virtual SfxInterface * | GetInterface () const |
| void | SetName (const OUString &rName) |
| const OUString & | GetName () const |
| SfxViewShell * | GetViewShell () const |
| const SfxPoolItem * | GetSlotState (sal_uInt16 nSlotId, const SfxInterface *pIF=nullptr, SfxItemSet *pStateSet=nullptr) |
| const SfxPoolItem * | ExecuteSlot (SfxRequest &rReq, const SfxInterface *pIF=nullptr) |
| void | ExecuteSlot (SfxRequest &rReq, bool bAsync) |
| SfxItemPool & | GetPool () const |
| void | SetPool (SfxItemPool *pNewPool) |
| virtual SfxUndoManager * | GetUndoManager () |
| void | SetUndoManager (SfxUndoManager *pNewUndoMgr) |
| SfxRepeatTarget * | GetRepeatTarget () const |
| void | SetRepeatTarget (SfxRepeatTarget *pTarget) |
| virtual void | Invalidate (sal_uInt16 nId=0) |
| virtual bool | IsDesignMode () const |
| bool | IsActive () const |
| virtual void | Activate (bool bMDI) |
| virtual void | Deactivate (bool bMDI) |
| SfxDispatcher * | GetDispatcher () const |
| SfxViewFrame * | GetFrame () const |
| virtual bool | HasUIFeature (SfxShellFeature nFeature) const |
| void | UIFeatureChanged () |
| const SfxPoolItem * | GetItem (sal_uInt16 nSlotId) const |
| const T * | GetItem (TypedWhichId< T > nWhich) const |
| void | PutItem (const SfxPoolItem &rItem) |
| void | SetVerbs (const css::uno::Sequence< css::embed::VerbDescriptor > &aVerbs) |
| const css::uno::Sequence< css::embed::VerbDescriptor > & | GetVerbs () const |
| void | VerbExec (SfxRequest &) |
| SAL_DLLPRIVATE const SfxSlot * | GetVerbSlot_Impl (sal_uInt16 nId) const |
| virtual SfxObjectShell * | GetObjectShell () |
| void | SetDisableFlags (SfxDisableFlags nFlags) |
| SfxDisableFlags | GetDisableFlags () const |
| virtual std::optional< SfxItemSet > | CreateItemSet (sal_uInt16 nId) |
| virtual void | ApplyItemSet (sal_uInt16 nId, const SfxItemSet &rSet) |
| void | SetContextName (const OUString &rsContextName) |
| void | BroadcastContextForActivation (const bool bIsActivated) |
| bool | SetContextBroadcasterEnabled (const bool bIsEnabled) |
| SAL_DLLPRIVATE bool | CanExecuteSlot_Impl (const SfxSlot &rSlot) |
| virtual bool | IsConditionalFastCall (const SfxRequest &rReq) |
| SAL_DLLPRIVATE void | DoActivate_Impl (SfxViewFrame *pFrame, bool bMDI) |
| SAL_DLLPRIVATE void | DoDeactivate_Impl (SfxViewFrame const *pFrame, bool bMDI) |
Private Member Functions | |
| ScDPObject * | GetCurrDPObject () |
Static Private Member Functions | |
| static void | InitInterface_Impl () |
| SfxInterface initializer. More... | |
Private Attributes | |
| ScTabViewShell * | pViewShell |
Additional Inherited Members | |
Static Public Member Functions inherited from SfxShell | |
| static SfxInterface * | GetStaticInterface () |
| static void | EmptyExecStub (SfxShell *pShell, SfxRequest &) |
| static void | EmptyStateStub (SfxShell *pShell, SfxItemSet &) |
| static void | VerbState (SfxItemSet &) |
Protected Member Functions inherited from SfxShell | |
| SfxShell () | |
| SfxShell (SfxViewShell *pViewSh) | |
| void | SetViewShell_Impl (SfxViewShell *pView) |
| SAL_DLLPRIVATE void | Invalidate_Impl (SfxBindings &rBindings, sal_uInt16 nId) |
Static Protected Member Functions inherited from SfxShell | |
| static void | HandleOpenXmlFilterSettings (SfxRequest &) |
Definition at line 30 of file pivotsh.hxx.
| ScPivotShell::ScPivotShell | ( | ScTabViewShell * | pView | ) |
Definition at line 49 of file pivotsh.cxx.
References vcl::EnumContext::GetContextName(), ScViewData::GetDocument(), SfxShell::GetPool(), ScViewData::GetSfxDocShell(), SfxShell::GetUndoManager(), ScTabView::GetViewData(), ScDocument::IsUndoEnabled(), vcl::EnumContext::Pivot, SfxShell::SetContextName(), SfxUndoManager::SetMaxUndoActionCount(), SfxShell::SetName(), SfxShell::SetPool(), and SfxShell::SetUndoManager().
|
overridevirtual |
Definition at line 65 of file pivotsh.cxx.
| void ScPivotShell::Execute | ( | const SfxRequest & | rReq | ) |
Definition at line 69 of file pivotsh.cxx.
References ScRange::aStart, ScAbstractDialogFactory::Create(), ScAbstractDialogFactory::CreateScPivotFilterDlg(), ScTabView::CursorPosChanged(), ScDBDocFunc::DataPilotUpdate(), ScDBFunc::DeletePivotTable(), GetCurrDPObject(), ScViewData::GetDocShell(), ScViewData::GetDocument(), SfxViewShell::GetFrameWeld(), SfxShell::GetPool(), ScQueryItem::GetQueryData(), ScSheetSourceDesc::GetQueryParam(), ScDPObject::GetSheetDesc(), SfxRequest::GetSlot(), ScSheetSourceDesc::GetSourceRange(), ScViewData::GetView(), ScTabView::GetViewData(), SfxItemSet::Put(), pViewShell, ScDBFunc::RecalcPivotTable(), RET_OK, SCITEM_QUERYDATA, ScSheetSourceDesc::SetQueryParam(), ScDPObject::SetSheetDesc(), and ScAddress::Tab().
|
private |
Definition at line 160 of file pivotsh.cxx.
References ScViewData::GetCurX(), ScViewData::GetCurY(), ScViewData::GetDocument(), ScDocument::GetDPAtCursor(), ScViewData::GetTabNo(), ScTabView::GetViewData(), and pViewShell.
Referenced by Execute(), and GetState().
| void ScPivotShell::GetState | ( | SfxItemSet & | rSet | ) |
move ReadOnly check to idl flags
Definition at line 126 of file pivotsh.cxx.
References SfxItemSet::DisableItem(), SfxWhichIter::FirstWhich(), ScDocument::GetChangeTrack(), GetCurrDPObject(), ScViewData::GetDocShell(), ScDocShell::GetDocument(), ScTabView::GetViewData(), SfxObjectShell::IsReadOnly(), ScDPObject::IsSheetData(), SfxWhichIter::NextWhich(), pViewShell, and rSet.
|
staticprivate |
SfxInterface initializer.
Definition at line 44 of file pivotsh.cxx.
|
private |
Definition at line 47 of file pivotsh.hxx.
Referenced by Execute(), GetCurrDPObject(), and GetState().