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, 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 (const OUString &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 ( )

Definition at line 143 of file XMLChangeTrackingImportHelper.cxx.

ScXMLChangeTrackingImportHelper::~ScXMLChangeTrackingImportHelper ( )

Definition at line 151 of file XMLChangeTrackingImportHelper.cxx.

Member Function Documentation

void ScXMLChangeTrackingImportHelper::AddDeleted ( const sal_uInt32  nID)

Definition at line 267 of file XMLChangeTrackingImportHelper.cxx.

References pCurrentAction.

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

Definition at line 272 of file XMLChangeTrackingImportHelper.cxx.

References pCurrentAction.

void ScXMLChangeTrackingImportHelper::AddDependence ( const sal_uInt32  nID)
inline

Definition at line 199 of file XMLChangeTrackingImportHelper.hxx.

void ScXMLChangeTrackingImportHelper::AddGenerated ( std::unique_ptr< ScMyCellInfo pCellInfo,
const ScBigRange aBigRange 
)
void ScXMLChangeTrackingImportHelper::AddMoveCutOff ( const sal_uInt32  nID,
const sal_Int32  nStartPosition,
const sal_Int32  nEndPosition 
)
void ScXMLChangeTrackingImportHelper::ConvertInfo ( const ScMyActionInfo aInfo,
OUString &  rUser,
DateTime aDateTime 
)
private
void ScXMLChangeTrackingImportHelper::CreateChangeTrack ( ScDocument pDoc)
std::unique_ptr< ScChangeAction > ScXMLChangeTrackingImportHelper::CreateContentAction ( const ScMyContentAction pAction,
ScDocument rDoc 
)
private
std::unique_ptr< ScChangeAction > ScXMLChangeTrackingImportHelper::CreateDeleteAction ( const ScMyDelAction pAction)
private
void ScXMLChangeTrackingImportHelper::CreateGeneratedActions ( std::vector< ScMyGenerated > &  rList,
ScDocument rDoc 
)
private
std::unique_ptr< ScChangeAction > ScXMLChangeTrackingImportHelper::CreateInsertAction ( const ScMyInsAction pAction)
private
std::unique_ptr< ScChangeAction > ScXMLChangeTrackingImportHelper::CreateMoveAction ( const ScMyMoveAction pAction)
private
std::unique_ptr< ScChangeAction > ScXMLChangeTrackingImportHelper::CreateRejectionAction ( const ScMyRejAction pAction)
private
void ScXMLChangeTrackingImportHelper::EndChangeAction ( )
sal_uInt32 ScXMLChangeTrackingImportHelper::GetIDFromString ( const OUString &  sID)
static
void ScXMLChangeTrackingImportHelper::GetMultiSpannedRange ( )
void ScXMLChangeTrackingImportHelper::SetActionInfo ( const ScMyActionInfo aInfo)

Definition at line 216 of file XMLChangeTrackingImportHelper.cxx.

References aUsers, pCurrentAction, and ScMyActionInfo::sUser.

void ScXMLChangeTrackingImportHelper::SetActionNumber ( const sal_uInt32  nActionNumber)
inline

Definition at line 192 of file XMLChangeTrackingImportHelper.hxx.

void ScXMLChangeTrackingImportHelper::SetActionState ( const ScChangeActionState  nActionState)
inline

Definition at line 193 of file XMLChangeTrackingImportHelper.hxx.

void ScXMLChangeTrackingImportHelper::SetBigRange ( const ScBigRange aBigRange)
inline

Definition at line 196 of file XMLChangeTrackingImportHelper.hxx.

void ScXMLChangeTrackingImportHelper::SetContentDependencies ( const ScMyContentAction pAction,
ScChangeActionContent pActContent,
ScDocument rDoc 
)
void ScXMLChangeTrackingImportHelper::SetDeletionDependencies ( ScMyDelAction pAction,
ScChangeActionDel pDelAct 
)
void ScXMLChangeTrackingImportHelper::SetDependencies ( ScMyBaseAction pAction,
ScDocument rDoc 
)
void ScXMLChangeTrackingImportHelper::SetInsertionCutOff ( const sal_uInt32  nID,
const sal_Int32  nPosition 
)
void ScXMLChangeTrackingImportHelper::SetMovementDependencies ( ScMyMoveAction pAction,
ScChangeActionMove pMoveAct 
)
void ScXMLChangeTrackingImportHelper::SetMoveRanges ( const ScBigRange aSourceRange,
const ScBigRange aTargetRange 
)

Definition at line 314 of file XMLChangeTrackingImportHelper.cxx.

References pCurrentAction, and SC_CAT_MOVE.

void ScXMLChangeTrackingImportHelper::SetMultiSpanned ( const sal_Int16  nMultiSpanned)
void ScXMLChangeTrackingImportHelper::SetNewCell ( const ScMyContentAction pAction,
ScDocument rDoc 
)
void ScXMLChangeTrackingImportHelper::SetPosition ( const sal_Int32  nPosition,
const sal_Int32  nCount,
const sal_Int32  nTable 
)
void ScXMLChangeTrackingImportHelper::SetPreviousChange ( const sal_uInt32  nPreviousAction,
ScMyCellInfo pCellInfo 
)
void ScXMLChangeTrackingImportHelper::SetProtection ( const css::uno::Sequence< sal_Int8 > &  rProtect)
inline
void ScXMLChangeTrackingImportHelper::SetRejectingNumber ( const sal_uInt32  nRejectingNumber)
inline

Definition at line 194 of file XMLChangeTrackingImportHelper.hxx.

void ScXMLChangeTrackingImportHelper::StartChangeAction ( const ScChangeActionType  nActionType)

Member Data Documentation

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

Definition at line 166 of file XMLChangeTrackingImportHelper.hxx.

Referenced by CreateChangeTrack(), and EndChangeAction().

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

Definition at line 167 of file XMLChangeTrackingImportHelper.hxx.

Referenced by CreateChangeTrack().

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

Definition at line 165 of file XMLChangeTrackingImportHelper.hxx.

Referenced by CreateChangeTrack(), and SetActionInfo().

sal_Int16 ScXMLChangeTrackingImportHelper::nMultiSpanned
private

Definition at line 170 of file XMLChangeTrackingImportHelper.hxx.

Referenced by GetMultiSpannedRange(), and SetMultiSpanned().

sal_Int16 ScXMLChangeTrackingImportHelper::nMultiSpannedSlaveCount
private

Definition at line 171 of file XMLChangeTrackingImportHelper.hxx.

Referenced by GetMultiSpannedRange(), and SetMultiSpanned().

std::unique_ptr<ScMyBaseAction> ScXMLChangeTrackingImportHelper::pCurrentAction
private
ScChangeTrack* ScXMLChangeTrackingImportHelper::pTrack
private

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