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

#include <XMLChangeTrackingImportHelper.hxx>

Collaboration diagram for ScXMLChangeTrackingImportHelper:
[legend]

Public Member Functions

 ScXMLChangeTrackingImportHelper ()
 
 ~ScXMLChangeTrackingImportHelper ()
 
void SetProtection (const css::uno::Sequence< sal_Int8 > &rProtect)
 
void StartChangeAction (const ScChangeActionType nActionType)
 
void SetActionNumber (const sal_uInt32 nActionNumber)
 
void SetActionState (const ScChangeActionState nActionState)
 
void SetRejectingNumber (const sal_uInt32 nRejectingNumber)
 
void SetActionInfo (const ScMyActionInfo &aInfo)
 
void SetBigRange (const ScBigRange &aBigRange)
 
void SetPreviousChange (const sal_uInt32 nPreviousAction, ScMyCellInfo *pCellInfo)
 
void SetPosition (const sal_Int32 nPosition, const sal_Int32 nCount, const sal_Int32 nTable)
 
void AddDependence (const sal_uInt32 nID)
 
void AddDeleted (const sal_uInt32 nID)
 
void AddDeleted (const sal_uInt32 nID, std::unique_ptr< ScMyCellInfo > pCellInfo)
 
void SetMultiSpanned (const sal_Int16 nMultiSpanned)
 
void SetInsertionCutOff (const sal_uInt32 nID, const sal_Int32 nPosition)
 
void AddMoveCutOff (const sal_uInt32 nID, const sal_Int32 nStartPosition, const sal_Int32 nEndPosition)
 
void SetMoveRanges (const ScBigRange &aSourceRange, const ScBigRange &aTargetRange)
 
void GetMultiSpannedRange ()
 
void AddGenerated (std::unique_ptr< ScMyCellInfo > pCellInfo, const ScBigRange &aBigRange)
 
void EndChangeAction ()
 
void SetDeletionDependencies (ScMyDelAction *pAction, ScChangeActionDel *pDelAct)
 
void SetMovementDependencies (ScMyMoveAction *pAction, ScChangeActionMove *pMoveAct)
 
void SetContentDependencies (const ScMyContentAction *pAction, ScChangeActionContent *pActContent, const ScDocument &rDoc)
 
void SetDependencies (ScMyBaseAction *pAction, ScDocument &rDoc)
 
void SetNewCell (const ScMyContentAction *pAction, ScDocument &rDoc)
 
void CreateChangeTrack (ScDocument *pDoc)
 

Static Public Member Functions

static sal_uInt32 GetIDFromString (std::string_view sID)
 

Private Member Functions

void ConvertInfo (const ScMyActionInfo &aInfo, OUString &rUser, DateTime &aDateTime)
 
std::unique_ptr< ScChangeActionCreateInsertAction (const ScMyInsAction *pAction)
 
std::unique_ptr< ScChangeActionCreateDeleteAction (const ScMyDelAction *pAction)
 
std::unique_ptr< ScChangeActionCreateMoveAction (const ScMyMoveAction *pAction)
 
std::unique_ptr< ScChangeActionCreateRejectionAction (const ScMyRejAction *pAction)
 
std::unique_ptr< ScChangeActionCreateContentAction (const ScMyContentAction *pAction, ScDocument &rDoc)
 
void CreateGeneratedActions (std::vector< ScMyGenerated > &rList, ScDocument &rDoc)
 

Private Attributes

std::set< OUString > aUsers
 
std::vector< std::unique_ptr< ScMyBaseAction > > aActions
 
css::uno::Sequence< sal_Int8aProtect
 
ScChangeTrackpTrack
 
std::unique_ptr< ScMyBaseActionpCurrentAction
 
sal_Int16 nMultiSpanned
 
sal_Int16 nMultiSpannedSlaveCount
 

Detailed Description

Definition at line 163 of file XMLChangeTrackingImportHelper.hxx.

Constructor & Destructor Documentation

◆ ScXMLChangeTrackingImportHelper()

ScXMLChangeTrackingImportHelper::ScXMLChangeTrackingImportHelper ( )

Definition at line 139 of file XMLChangeTrackingImportHelper.cxx.

◆ ~ScXMLChangeTrackingImportHelper()

ScXMLChangeTrackingImportHelper::~ScXMLChangeTrackingImportHelper ( )

Definition at line 146 of file XMLChangeTrackingImportHelper.cxx.

Member Function Documentation

◆ AddDeleted() [1/2]

void ScXMLChangeTrackingImportHelper::AddDeleted ( const sal_uInt32  nID)

Definition at line 262 of file XMLChangeTrackingImportHelper.cxx.

References pCurrentAction.

◆ AddDeleted() [2/2]

void ScXMLChangeTrackingImportHelper::AddDeleted ( const sal_uInt32  nID,
std::unique_ptr< ScMyCellInfo pCellInfo 
)

Definition at line 267 of file XMLChangeTrackingImportHelper.cxx.

References pCurrentAction.

◆ AddDependence()

void ScXMLChangeTrackingImportHelper::AddDependence ( const sal_uInt32  nID)
inline

Definition at line 199 of file XMLChangeTrackingImportHelper.hxx.

References pCurrentAction.

◆ AddGenerated()

void ScXMLChangeTrackingImportHelper::AddGenerated ( std::unique_ptr< ScMyCellInfo pCellInfo,
const ScBigRange aBigRange 
)

◆ AddMoveCutOff()

void ScXMLChangeTrackingImportHelper::AddMoveCutOff ( const sal_uInt32  nID,
const sal_Int32  nStartPosition,
const sal_Int32  nEndPosition 
)

◆ ConvertInfo()

void ScXMLChangeTrackingImportHelper::ConvertInfo ( const ScMyActionInfo aInfo,
OUString &  rUser,
DateTime aDateTime 
)
private

◆ CreateChangeTrack()

void ScXMLChangeTrackingImportHelper::CreateChangeTrack ( ScDocument pDoc)

◆ CreateContentAction()

std::unique_ptr< ScChangeAction > ScXMLChangeTrackingImportHelper::CreateContentAction ( const ScMyContentAction pAction,
ScDocument rDoc 
)
private

◆ CreateDeleteAction()

std::unique_ptr< ScChangeAction > ScXMLChangeTrackingImportHelper::CreateDeleteAction ( const ScMyDelAction pAction)
private

◆ CreateGeneratedActions()

void ScXMLChangeTrackingImportHelper::CreateGeneratedActions ( std::vector< ScMyGenerated > &  rList,
ScDocument rDoc 
)
private

◆ CreateInsertAction()

std::unique_ptr< ScChangeAction > ScXMLChangeTrackingImportHelper::CreateInsertAction ( const ScMyInsAction pAction)
private

◆ CreateMoveAction()

std::unique_ptr< ScChangeAction > ScXMLChangeTrackingImportHelper::CreateMoveAction ( const ScMyMoveAction pAction)
private

◆ CreateRejectionAction()

std::unique_ptr< ScChangeAction > ScXMLChangeTrackingImportHelper::CreateRejectionAction ( const ScMyRejAction pAction)
private

◆ EndChangeAction()

void ScXMLChangeTrackingImportHelper::EndChangeAction ( )

◆ GetIDFromString()

sal_uInt32 ScXMLChangeTrackingImportHelper::GetIDFromString ( std::string_view  sID)
static

◆ GetMultiSpannedRange()

void ScXMLChangeTrackingImportHelper::GetMultiSpannedRange ( )

◆ SetActionInfo()

void ScXMLChangeTrackingImportHelper::SetActionInfo ( const ScMyActionInfo aInfo)

Definition at line 211 of file XMLChangeTrackingImportHelper.cxx.

References aUsers, pCurrentAction, and ScMyActionInfo::sUser.

◆ SetActionNumber()

void ScXMLChangeTrackingImportHelper::SetActionNumber ( const sal_uInt32  nActionNumber)
inline

Definition at line 192 of file XMLChangeTrackingImportHelper.hxx.

References pCurrentAction.

◆ SetActionState()

void ScXMLChangeTrackingImportHelper::SetActionState ( const ScChangeActionState  nActionState)
inline

Definition at line 193 of file XMLChangeTrackingImportHelper.hxx.

References pCurrentAction.

◆ SetBigRange()

void ScXMLChangeTrackingImportHelper::SetBigRange ( const ScBigRange aBigRange)
inline

Definition at line 196 of file XMLChangeTrackingImportHelper.hxx.

References pCurrentAction.

◆ SetContentDependencies()

void ScXMLChangeTrackingImportHelper::SetContentDependencies ( const ScMyContentAction pAction,
ScChangeActionContent pActContent,
const ScDocument rDoc 
)

◆ SetDeletionDependencies()

void ScXMLChangeTrackingImportHelper::SetDeletionDependencies ( ScMyDelAction pAction,
ScChangeActionDel pDelAct 
)

◆ SetDependencies()

void ScXMLChangeTrackingImportHelper::SetDependencies ( ScMyBaseAction pAction,
ScDocument rDoc 
)

◆ SetInsertionCutOff()

void ScXMLChangeTrackingImportHelper::SetInsertionCutOff ( const sal_uInt32  nID,
const sal_Int32  nPosition 
)

◆ SetMovementDependencies()

void ScXMLChangeTrackingImportHelper::SetMovementDependencies ( ScMyMoveAction pAction,
ScChangeActionMove pMoveAct 
)

◆ SetMoveRanges()

void ScXMLChangeTrackingImportHelper::SetMoveRanges ( const ScBigRange aSourceRange,
const ScBigRange aTargetRange 
)

Definition at line 309 of file XMLChangeTrackingImportHelper.cxx.

References pCurrentAction, and SC_CAT_MOVE.

◆ SetMultiSpanned()

void ScXMLChangeTrackingImportHelper::SetMultiSpanned ( const sal_Int16  nMultiSpanned)

◆ SetNewCell()

void ScXMLChangeTrackingImportHelper::SetNewCell ( const ScMyContentAction pAction,
ScDocument rDoc 
)

◆ SetPosition()

void ScXMLChangeTrackingImportHelper::SetPosition ( const sal_Int32  nPosition,
const sal_Int32  nCount,
const sal_Int32  nTable 
)

◆ SetPreviousChange()

void ScXMLChangeTrackingImportHelper::SetPreviousChange ( const sal_uInt32  nPreviousAction,
ScMyCellInfo pCellInfo 
)

◆ SetProtection()

void ScXMLChangeTrackingImportHelper::SetProtection ( const css::uno::Sequence< sal_Int8 > &  rProtect)
inline

◆ SetRejectingNumber()

void ScXMLChangeTrackingImportHelper::SetRejectingNumber ( const sal_uInt32  nRejectingNumber)
inline

Definition at line 194 of file XMLChangeTrackingImportHelper.hxx.

References pCurrentAction.

◆ StartChangeAction()

void ScXMLChangeTrackingImportHelper::StartChangeAction ( const ScChangeActionType  nActionType)

Member Data Documentation

◆ aActions

std::vector<std::unique_ptr<ScMyBaseAction> > ScXMLChangeTrackingImportHelper::aActions
private

Definition at line 166 of file XMLChangeTrackingImportHelper.hxx.

Referenced by CreateChangeTrack(), and EndChangeAction().

◆ aProtect

css::uno::Sequence<sal_Int8> ScXMLChangeTrackingImportHelper::aProtect
private

Definition at line 167 of file XMLChangeTrackingImportHelper.hxx.

Referenced by CreateChangeTrack(), and SetProtection().

◆ aUsers

std::set<OUString> ScXMLChangeTrackingImportHelper::aUsers
private

Definition at line 165 of file XMLChangeTrackingImportHelper.hxx.

Referenced by CreateChangeTrack(), and SetActionInfo().

◆ nMultiSpanned

sal_Int16 ScXMLChangeTrackingImportHelper::nMultiSpanned
private

Definition at line 170 of file XMLChangeTrackingImportHelper.hxx.

Referenced by GetMultiSpannedRange(), and SetMultiSpanned().

◆ nMultiSpannedSlaveCount

sal_Int16 ScXMLChangeTrackingImportHelper::nMultiSpannedSlaveCount
private

Definition at line 171 of file XMLChangeTrackingImportHelper.hxx.

Referenced by GetMultiSpannedRange(), and SetMultiSpanned().

◆ pCurrentAction

std::unique_ptr<ScMyBaseAction> ScXMLChangeTrackingImportHelper::pCurrentAction
private

◆ pTrack

ScChangeTrack* ScXMLChangeTrackingImportHelper::pTrack
private

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