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