LibreOffice Module sc (master)  1
Public Member Functions | Private Member Functions | Private Attributes | Friends | List of all members
ScChangeActionIns Class Reference

#include <chgtrack.hxx>

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

Public Member Functions

virtual ~ScChangeActionIns () override
 
 ScChangeActionIns (const sal_uLong nActionNumber, const ScChangeActionState eState, const sal_uLong nRejectingNumber, const ScBigRange &aBigRange, const OUString &aUser, const DateTime &aDateTime, const OUString &sComment, const ScChangeActionType eType, bool bEndOfList=false)
 
virtual void GetDescription (OUString &rStr, ScDocument &rDoc, bool bSplitRange=false, bool bWarning=true) const override
 
SC_DLLPUBLIC bool IsEndOfList () const
 
- 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 GetRefString (OUString &rStr, ScDocument &rDoc, 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

 ScChangeActionIns (const ScDocument *pDoc, const ScRange &rRange, bool bEndOfList=false)
 whether or not a row was auto-inserted at the bottom. More...
 
virtual void AddContent (ScChangeActionContent *) override
 
virtual void DeleteCellEntries () override
 
virtual bool Reject (ScDocument &rDoc) override
 
virtual const ScChangeTrackGetChangeTrack () const override
 

Private Attributes

bool mbEndOfList
 

Friends

class ScChangeTrack
 

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 &rDoc, 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 367 of file chgtrack.hxx.

Constructor & Destructor Documentation

ScChangeActionIns::ScChangeActionIns ( const ScDocument pDoc,
const ScRange rRange,
bool  bEndOfList = false 
)
private
ScChangeActionIns::~ScChangeActionIns ( )
overridevirtual

Definition at line 682 of file chgtrack.cxx.

ScChangeActionIns::ScChangeActionIns ( const sal_uLong  nActionNumber,
const ScChangeActionState  eState,
const sal_uLong  nRejectingNumber,
const ScBigRange aBigRange,
const OUString &  aUser,
const DateTime aDateTime,
const OUString &  sComment,
const ScChangeActionType  eType,
bool  bEndOfList = false 
)

Definition at line 671 of file chgtrack.cxx.

Member Function Documentation

virtual void ScChangeActionIns::AddContent ( ScChangeActionContent )
inlineoverrideprivatevirtual

Implements ScChangeAction.

Definition at line 375 of file chgtrack.hxx.

virtual void ScChangeActionIns::DeleteCellEntries ( )
inlineoverrideprivatevirtual

Implements ScChangeAction.

Definition at line 376 of file chgtrack.hxx.

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

Implements ScChangeAction.

Definition at line 380 of file chgtrack.hxx.

void ScChangeActionIns::GetDescription ( OUString &  rStr,
ScDocument rDoc,
bool  bSplitRange = false,
bool  bWarning = true 
) const
overridevirtual
bool ScChangeActionIns::IsEndOfList ( ) const

Definition at line 721 of file chgtrack.cxx.

References mbEndOfList.

Referenced by XclExpChTrInsert::XclExpChTrInsert().

bool ScChangeActionIns::Reject ( ScDocument rDoc)
overrideprivatevirtual

Friends And Related Function Documentation

friend class ScChangeTrack
friend

Definition at line 369 of file chgtrack.hxx.

Member Data Documentation

bool ScChangeActionIns::mbEndOfList
private

Definition at line 371 of file chgtrack.hxx.

Referenced by IsEndOfList().


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