LibreOffice Module sc (master) 1
|
#include <auditsh.hxx>
Public Member Functions | |
ScAuditingShell (ScViewData &rData) | |
virtual | ~ScAuditingShell () 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) |
Static Private Member Functions | |
static void | InitInterface_Impl () |
SfxInterface initializer. More... | |
Private Attributes | |
ScViewData & | rViewData |
sal_uInt16 | nFunction |
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 28 of file auditsh.hxx.
ScAuditingShell::ScAuditingShell | ( | ScViewData & | rData | ) |
Definition at line 42 of file auditsh.cxx.
References vcl::EnumContext::Auditing, vcl::EnumContext::GetContextName(), ScViewData::GetDocument(), SfxShell::GetPool(), ScViewData::GetSfxDocShell(), SfxShell::GetUndoManager(), ScViewData::GetViewShell(), ScDocument::IsUndoEnabled(), rViewData, SfxShell::SetContextName(), SfxUndoManager::SetMaxUndoActionCount(), SfxShell::SetName(), SfxShell::SetPool(), and SfxShell::SetUndoManager().
|
overridevirtual |
Definition at line 58 of file auditsh.cxx.
void ScAuditingShell::Execute | ( | const SfxRequest & | rReq | ) |
Definition at line 62 of file auditsh.cxx.
References ScViewFunc::DetectiveAddPred(), ScViewFunc::DetectiveAddSucc(), ScViewFunc::DetectiveDelPred(), ScViewFunc::DetectiveDelSucc(), SfxRequest::GetArgs(), ScViewData::GetBindings(), SfxItemSet::GetItemIfSet(), SfxRequest::GetSlot(), CntInt32Item::GetValue(), SfxInt16Item::GetValue(), ScViewData::GetView(), ScViewData::GetViewShell(), SfxBindings::Invalidate(), ScTabView::MoveCursorAbs(), nFunction, rViewData, SC_FOLLOW_LINE, and ScTabViewShell::SetAuditShell().
void ScAuditingShell::GetState | ( | SfxItemSet & | rSet | ) |
Definition at line 118 of file auditsh.cxx.
References nFunction, SfxItemSet::Put(), and rSet.
|
staticprivate |
SfxInterface initializer.
Definition at line 37 of file auditsh.cxx.
|
private |
Definition at line 32 of file auditsh.hxx.
Referenced by Execute(), and GetState().
|
private |
Definition at line 31 of file auditsh.hxx.
Referenced by Execute(), and ScAuditingShell().