LibreOffice Module sc (master)  1
Public Member Functions | Private Member Functions | Friends | List of all members
ScChangeActionReject Class Referencefinal

#include <chgtrack.hxx>

Inheritance diagram for ScChangeActionReject:
[legend]
Collaboration diagram for ScChangeActionReject:
[legend]

Public Member Functions

 ScChangeActionReject (const sal_uLong nActionNumber, const ScChangeActionState eState, const sal_uLong nRejectingNumber, const ScBigRange &aBigRange, const OUString &aUser, const DateTime &aDateTime, const OUString &sComment)
 
- Public Member Functions inherited from ScChangeAction
virtual ~ScChangeAction ()
 
bool IsInsertType () const
 
bool IsDeleteType () const
 
bool IsVirgin () const
 
SC_DLLPUBLIC bool IsAccepted () const
 
bool IsRejected () const
 
bool IsRejecting () const
 
bool IsVisible () const
 
bool IsTouchable () const
 
bool IsDialogRoot () const
 
bool IsDialogParent () const
 
bool IsMasterDelete () const
 
bool IsClickable () const
 
bool IsRejectable () const
 
const ScBigRangeGetBigRange () const
 
SC_DLLPUBLIC DateTime GetDateTime () const
 
const DateTimeGetDateTimeUTC () const
 
ScChangeActionType GetType () const
 
ScChangeActionState GetState () const
 
sal_uLong GetActionNumber () const
 
sal_uLong GetRejectAction () const
 
ScChangeActionGetNext () const
 
ScChangeActionGetPrev () const
 
bool IsDeletedIn () const
 
bool IsDeletedIn (const ScChangeAction *) const
 
bool IsDeletedInDelType (ScChangeActionType) const
 
void RemoveAllDeletedIn ()
 
const ScChangeActionLinkEntryGetFirstDeletedEntry () const
 
const ScChangeActionLinkEntryGetFirstDependentEntry () const
 
bool HasDependent () const
 
bool HasDeleted () const
 
virtual void GetDescription (OUString &rStr, ScDocument *pDoc, bool bSplitRange=false, bool bWarning=true) const
 
virtual void GetRefString (OUString &rStr, ScDocument *pDoc, bool bFlag3D=false) const
 
void SetDateTimeUTC (const DateTime &rDT)
 
const OUString & GetUser () const
 
const OUString & GetComment () const
 
void SetComment (const OUString &rStr)
 
void SetDeletedInThis (sal_uLong nActionNumber, const ScChangeTrack *pTrack)
 
void AddDependent (sal_uLong nActionNumber, const ScChangeTrack *pTrack)
 

Private Member Functions

virtual void AddContent (ScChangeActionContent *) override
 
virtual void DeleteCellEntries () override
 
virtual bool Reject (ScDocument *pDoc) override
 
virtual const ScChangeTrackGetChangeTrack () const override
 

Friends

class ScChangeTrack
 
class ScChangeActionContent
 

Additional Inherited Members

- Protected Member Functions inherited from ScChangeAction
 ScChangeAction (ScChangeActionType, const ScRange &)
 
 ScChangeAction (ScChangeActionType, const ScBigRange &, const sal_uLong nAction, const sal_uLong nRejectAction, const ScChangeActionState eState, const DateTime &aDateTime, const OUString &aUser, const OUString &aComment)
 
 ScChangeAction (ScChangeActionType, const ScBigRange &, const sal_uLong nAction)
 
OUString GetRefString (const ScBigRange &rRange, const ScDocument *pDoc, bool bFlag3D=false) const
 
void SetActionNumber (sal_uLong n)
 
void SetRejectAction (sal_uLong n)
 
void SetUser (const OUString &r)
 
void SetType (ScChangeActionType e)
 
void SetState (ScChangeActionState e)
 
void SetRejected ()
 
ScBigRangeGetBigRange ()
 
void AddLink (ScChangeAction *p, ScChangeActionLinkEntry *pL)
 
virtual ScChangeActionLinkEntryGetDeletedIn () const
 
virtual ScChangeActionLinkEntry ** GetDeletedInAddress ()
 
bool RemoveDeletedIn (const ScChangeAction *)
 
void SetDeletedIn (ScChangeAction *)
 
ScChangeActionLinkEntryAddDeleted (ScChangeAction *p)
 
ScChangeActionLinkEntryAddDependent (ScChangeAction *p)
 
void RemoveAllDependent ()
 
void RemoveAllLinks ()
 
virtual void UpdateReference (const ScChangeTrack *, UpdateRefMode, const ScBigRange &, sal_Int32 nDx, sal_Int32 nDy, sal_Int32 nDz)
 
void Accept ()
 
void RejectRestoreContents (ScChangeTrack *, SCCOL nDx, SCROW nDy)
 
bool IsInternalRejectable () const
 
- Protected Attributes inherited from ScChangeAction
ScBigRange aBigRange
 
DateTime aDateTime
 
OUString aUser
 UTC. More...
 
OUString aComment
 
ScChangeActionpNext
 
ScChangeActionpPrev
 
ScChangeActionLinkEntrypLinkAny
 
ScChangeActionLinkEntrypLinkDeletedIn
 
ScChangeActionLinkEntrypLinkDeleted
 
ScChangeActionLinkEntrypLinkDependent
 
sal_uLong nAction
 
sal_uLong nRejectAction
 
ScChangeActionType eType
 
ScChangeActionState eState
 

Detailed Description

Definition at line 764 of file chgtrack.hxx.

Constructor & Destructor Documentation

ScChangeActionReject::ScChangeActionReject ( const sal_uLong  nActionNumber,
const ScChangeActionState  eState,
const sal_uLong  nRejectingNumber,
const ScBigRange aBigRange,
const OUString &  aUser,
const DateTime aDateTime,
const OUString &  sComment 
)

Definition at line 2025 of file chgtrack.cxx.

Member Function Documentation

virtual void ScChangeActionReject::AddContent ( ScChangeActionContent )
inlineoverrideprivatevirtual

Implements ScChangeAction.

Definition at line 769 of file chgtrack.hxx.

virtual void ScChangeActionReject::DeleteCellEntries ( )
inlineoverrideprivatevirtual

Implements ScChangeAction.

Definition at line 770 of file chgtrack.hxx.

virtual const ScChangeTrack* ScChangeActionReject::GetChangeTrack ( ) const
inlineoverrideprivatevirtual

Implements ScChangeAction.

Definition at line 774 of file chgtrack.hxx.

bool ScChangeActionReject::Reject ( ScDocument pDoc)
overrideprivatevirtual

Implements ScChangeAction.

Definition at line 2034 of file chgtrack.cxx.

Friends And Related Function Documentation

friend class ScChangeActionContent
friend

Definition at line 767 of file chgtrack.hxx.

friend class ScChangeTrack
friend

Definition at line 766 of file chgtrack.hxx.


The documentation for this class was generated from the following files: