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

#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 OUString GetDescription (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 OUString GetDescription (ScDocument &rDoc, bool bSplitRange=false, bool bWarning=true) const
 
virtual OUString GetRefString (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, ScBigRange, const sal_uLong nAction, const sal_uLong nRejectAction, const ScChangeActionState eState, const DateTime &aDateTime, OUString aUser, OUString aComment)
 
 ScChangeAction (ScChangeActionType, 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 AddContent (ScChangeActionContent *)=0
 
virtual void DeleteCellEntries ()=0
 
virtual void UpdateReference (const ScChangeTrack *, UpdateRefMode, const ScBigRange &, sal_Int32 nDx, sal_Int32 nDy, sal_Int32 nDz)
 
void Accept ()
 
virtual bool Reject (ScDocument &rDoc)=0
 
void RejectRestoreContents (ScChangeTrack *, SCCOL nDx, SCROW nDy)
 
bool IsInternalRejectable () const
 
virtual const ScChangeTrackGetChangeTrack () const =0
 
- 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 362 of file chgtrack.hxx.

Constructor & Destructor Documentation

◆ ScChangeActionIns() [1/2]

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

◆ ~ScChangeActionIns()

ScChangeActionIns::~ScChangeActionIns ( )
overridevirtual

Definition at line 658 of file chgtrack.cxx.

◆ ScChangeActionIns() [2/2]

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 647 of file chgtrack.cxx.

Member Function Documentation

◆ AddContent()

virtual void ScChangeActionIns::AddContent ( ScChangeActionContent )
inlineoverrideprivatevirtual

Implements ScChangeAction.

Definition at line 370 of file chgtrack.hxx.

◆ DeleteCellEntries()

virtual void ScChangeActionIns::DeleteCellEntries ( )
inlineoverrideprivatevirtual

Implements ScChangeAction.

Definition at line 371 of file chgtrack.hxx.

◆ GetChangeTrack()

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

Implements ScChangeAction.

Definition at line 375 of file chgtrack.hxx.

◆ GetDescription()

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

◆ IsEndOfList()

bool ScChangeActionIns::IsEndOfList ( ) const

Definition at line 694 of file chgtrack.cxx.

References mbEndOfList.

Referenced by XclExpChTrInsert::XclExpChTrInsert().

◆ Reject()

bool ScChangeActionIns::Reject ( ScDocument rDoc)
overrideprivatevirtual

Friends And Related Function Documentation

◆ ScChangeTrack

friend class ScChangeTrack
friend

Definition at line 364 of file chgtrack.hxx.

Member Data Documentation

◆ mbEndOfList

bool ScChangeActionIns::mbEndOfList
private

Definition at line 366 of file chgtrack.hxx.

Referenced by IsEndOfList().


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