31 #include <document.hxx>
35 #include <uiitems.hxx>
38 #define ShellClass_ScPivotShell
39 #include <scslots.hxx>
46 GetStaticInterface()->RegisterPopupMenu(
"pivot");
55 SfxUndoManager* pMgr = rViewData.GetSfxDocShell()->GetUndoManager();
57 if ( !rViewData.GetDocument().IsUndoEnabled() )
73 case SID_PIVOT_RECALC:
89 OSL_ENSURE( pDesc,
"no sheet source for DP filter dialog" );
138 case SID_PIVOT_RECALC:
151 if( bDisable || !pDPObj || !pDPObj->
IsSheetData() )
SC_DLLPUBLIC ScDPObject * GetDPAtCursor(SCCOL nCol, SCROW nRow, SCTAB nTab) const
ScPivotShell(ScTabViewShell *pView)
ScDocShell * GetDocShell() const
#define SFX_IMPL_INTERFACE(Class, SuperClass)
void GetState(SfxItemSet &rSet)
void Execute(const SfxRequest &rReq)
ScDocument & GetDocument() const
virtual short Execute()=0
SC_DLLPUBLIC const ScRange & GetSourceRange() const
Get the range that contains the source data.
void SetUndoManager(SfxUndoManager *pNewUndoMgr)
void SetSheetDesc(const ScSheetSourceDesc &rDesc)
ScViewData & GetViewData()
ScChangeTrack * GetChangeTrack() const
SfxItemPool & GetPool() const
const ScQueryParam & GetQueryParam() const
bool DataPilotUpdate(ScDPObject *pOldObj, const ScDPObject *pNewObj, bool bRecord, bool bApi, bool bAllowMove=false)
void SetPool(SfxItemPool *pNewPool)
ScDPObject * GetCurrDPObject()
const ScQueryParam & GetQueryData() const
void SetName(const OUString &rName)
ScDBFunc * GetView() const
const SfxPoolItem * Put(const SfxPoolItem &rItem, sal_uInt16 nWhich)
sal_uInt16 GetSlot() const
static const OUString & GetContextName(const Context eContext)
virtual const ScQueryItem & GetOutputItem()=0
void DisableItem(sal_uInt16 nWhich)
weld::Window * GetFrameWeld() const
static SC_DLLPUBLIC ScAbstractDialogFactory * Create()
const ScSheetSourceDesc * GetSheetDesc() const
const ScDocument & GetDocument() const
virtual VclPtr< AbstractScPivotFilterDlg > CreateScPivotFilterDlg(weld::Window *pParent, const SfxItemSet &rArgSet, sal_uInt16 nSourceTab)=0
virtual ~ScPivotShell() override
ScTabViewShell * pViewShell
This class contains authoritative information on the internal reference used as the data source for d...
void SetContextName(const OUString &rsContextName)
void SetMaxUndoActionCount(size_t nMaxUndoActionCount)