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

#include <redline.hxx>

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

Public Member Functions

 SwRedlineData (RedlineType eT, std::size_t nAut)
 
 SwRedlineData (const SwRedlineData &rCpy, bool bCpyNext=true)
 
 SwRedlineData (RedlineType eT, std::size_t nAut, const DateTime &rDT, OUString aCmnt, SwRedlineData *pNxt)
 
 ~SwRedlineData ()
 
bool operator== (const SwRedlineData &rCmp) const
 
bool operator!= (const SwRedlineData &rCmp) const
 
RedlineType GetType () const
 
std::size_t GetAuthor () const
 
const OUString & GetComment () const
 
const DateTimeGetTimeStamp () const
 
bool IsAnonymized () const
 
const SwRedlineDataNext () const
 
void SetComment (const OUString &rS)
 
void SetTimeStamp (const DateTime &rDT)
 
void SetAutoFormat ()
 
bool IsAutoFormat () const
 
void SetMoved ()
 
bool IsMoved () const
 
bool CanCombine (const SwRedlineData &rCmp) const
 
void SetExtraData (const SwRedlineExtraData *pData)
 ExtraData is copied. More...
 
const SwRedlineExtraDataGetExtraData () const
 
sal_uInt16 GetSeqNo () const
 
void SetSeqNo (sal_uInt16 nNo)
 
OUString GetDescr () const
 

Private Attributes

SwRedlineDatam_pNext
 
SwRedlineExtraDatam_pExtraData
 
OUString m_sComment
 
DateTime m_aStamp
 
std::size_t m_nAuthor
 
RedlineType m_eType
 
sal_uInt16 m_nSeqNo
 
bool m_bAutoFormat
 
bool m_bMoved
 

Friends

class SwRangeRedline
 

Detailed Description

Definition at line 86 of file redline.hxx.

Constructor & Destructor Documentation

◆ SwRedlineData() [1/3]

SwRedlineData::SwRedlineData ( RedlineType  eT,
std::size_t  nAut 
)

Definition at line 1048 of file docredln.cxx.

References m_aStamp, m_eType, and tools::Time::SetNanoSec().

◆ SwRedlineData() [2/3]

SwRedlineData::SwRedlineData ( const SwRedlineData rCpy,
bool  bCpyNext = true 
)

Definition at line 1056 of file docredln.cxx.

References m_eType.

◆ SwRedlineData() [3/3]

SwRedlineData::SwRedlineData ( RedlineType  eT,
std::size_t  nAut,
const DateTime rDT,
OUString  aCmnt,
SwRedlineData pNxt 
)

Definition at line 1072 of file docredln.cxx.

References m_eType.

◆ ~SwRedlineData()

SwRedlineData::~SwRedlineData ( )

Definition at line 1079 of file docredln.cxx.

References m_pExtraData, and m_pNext.

Member Function Documentation

◆ CanCombine()

bool SwRedlineData::CanCombine ( const SwRedlineData rCmp) const

◆ GetAuthor()

std::size_t SwRedlineData::GetAuthor ( ) const
inline

◆ GetComment()

const OUString & SwRedlineData::GetComment ( ) const
inline

◆ GetDescr()

OUString SwRedlineData::GetDescr ( ) const

Definition at line 1139 of file docredln.cxx.

References GetType(), STR_REDLINE_ARY, and SwResId().

Referenced by SwRangeRedline::GetDescr().

◆ GetExtraData()

const SwRedlineExtraData * SwRedlineData::GetExtraData ( ) const
inline

Definition at line 151 of file redline.hxx.

Referenced by SwRangeRedline::GetExtraData(), and DocxAttributeOutput::Redline().

◆ GetSeqNo()

sal_uInt16 SwRedlineData::GetSeqNo ( ) const
inline

◆ GetTimeStamp()

const DateTime & SwRedlineData::GetTimeStamp ( ) const
inline

◆ GetType()

RedlineType SwRedlineData::GetType ( ) const
inline

◆ IsAnonymized()

bool SwRedlineData::IsAnonymized ( ) const
inline

Definition at line 131 of file redline.hxx.

References Date::GetDay(), Date::GetMonth(), and Date::GetYear().

Referenced by sw::DocumentRedlineManager::AppendRedline().

◆ IsAutoFormat()

bool SwRedlineData::IsAutoFormat ( ) const
inline

Definition at line 143 of file redline.hxx.

Referenced by SwRangeRedline::IsAutoFormat().

◆ IsMoved()

bool SwRedlineData::IsMoved ( ) const
inline

◆ Next()

const SwRedlineData * SwRedlineData::Next ( void  ) const
inline

◆ operator!=()

bool SwRedlineData::operator!= ( const SwRedlineData rCmp) const
inline

Definition at line 123 of file redline.hxx.

References operator==().

◆ operator==()

bool SwRedlineData::operator== ( const SwRedlineData rCmp) const
inline

◆ SetAutoFormat()

void SwRedlineData::SetAutoFormat ( )
inline

Definition at line 142 of file redline.hxx.

Referenced by SwRangeRedline::SetAutoFormat().

◆ SetComment()

void SwRedlineData::SetComment ( const OUString &  rS)
inline

◆ SetExtraData()

void SwRedlineData::SetExtraData ( const SwRedlineExtraData pData)

ExtraData is copied.

The Pointer's ownership is thus NOT transferred to the Redline Object!

Definition at line 1114 of file docredln.cxx.

References m_pExtraData, and pData.

Referenced by SwRangeRedline::SetExtraData(), SwTableRowRedline::SetExtraData(), and SwTableCellRedline::SetExtraData().

◆ SetMoved()

void SwRedlineData::SetMoved ( )
inline

Definition at line 144 of file redline.hxx.

Referenced by SwRangeRedline::SetMoved().

◆ SetSeqNo()

void SwRedlineData::SetSeqNo ( sal_uInt16  nNo)
inline

Definition at line 157 of file redline.hxx.

Referenced by SwRangeRedline::SetSeqNo().

◆ SetTimeStamp()

void SwRedlineData::SetTimeStamp ( const DateTime rDT)
inline

Friends And Related Function Documentation

◆ SwRangeRedline

friend class SwRangeRedline
friend

Definition at line 88 of file redline.hxx.

Referenced by SwRedlineSaveData::RedlineToDoc().

Member Data Documentation

◆ m_aStamp

DateTime SwRedlineData::m_aStamp
private

Definition at line 93 of file redline.hxx.

Referenced by SwRangeRedline::GetTimeStamp(), and SwRedlineData().

◆ m_bAutoFormat

bool SwRedlineData::m_bAutoFormat
private

Definition at line 97 of file redline.hxx.

Referenced by operator==().

◆ m_bMoved

bool SwRedlineData::m_bMoved
private

Definition at line 98 of file redline.hxx.

Referenced by CanCombine(), and operator==().

◆ m_eType

RedlineType SwRedlineData::m_eType
private

◆ m_nAuthor

std::size_t SwRedlineData::m_nAuthor
private

Definition at line 94 of file redline.hxx.

Referenced by CanCombine(), SwRangeRedline::GetAuthor(), and operator==().

◆ m_nSeqNo

sal_uInt16 SwRedlineData::m_nSeqNo
private

Definition at line 96 of file redline.hxx.

◆ m_pExtraData

SwRedlineExtraData* SwRedlineData::m_pExtraData
private

Definition at line 90 of file redline.hxx.

Referenced by CanCombine(), operator==(), SetExtraData(), and ~SwRedlineData().

◆ m_pNext

SwRedlineData* SwRedlineData::m_pNext
private

◆ m_sComment

OUString SwRedlineData::m_sComment
private

Definition at line 92 of file redline.hxx.

Referenced by CanCombine(), SwRangeRedline::GetComment(), and operator==().


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