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, const OUString &rCmnt, 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
 
const SwRedlineDataNext () const
 
void SetComment (const OUString &rS)
 
void SetTimeStamp (const DateTime &rDT)
 
void SetAutoFormat ()
 
bool IsAutoFormat () 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
 
RedlineType m_eType
 
bool m_bAutoFormat
 
std::size_t const m_nAuthor
 
sal_uInt16 m_nSeqNo
 

Friends

class SwRangeRedline
 

Detailed Description

Definition at line 108 of file redline.hxx.

Constructor & Destructor Documentation

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

Definition at line 932 of file docredln.cxx.

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

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

Definition at line 940 of file docredln.cxx.

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

Definition at line 955 of file docredln.cxx.

SwRedlineData::~SwRedlineData ( )

Definition at line 962 of file docredln.cxx.

References m_pExtraData, and m_pNext.

Member Function Documentation

bool SwRedlineData::CanCombine ( const SwRedlineData rCmp) const
std::size_t SwRedlineData::GetAuthor ( ) const
inline
const OUString& SwRedlineData::GetComment ( ) const
inline
OUString SwRedlineData::GetDescr ( ) const

Definition at line 1013 of file docredln.cxx.

References GetType(), and SwResId().

Referenced by SwRangeRedline::GetDescr().

const SwRedlineExtraData* SwRedlineData::GetExtraData ( ) const
inline

Definition at line 163 of file redline.hxx.

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

sal_uInt16 SwRedlineData::GetSeqNo ( ) const
inline
const DateTime& SwRedlineData::GetTimeStamp ( ) const
inline
RedlineType SwRedlineData::GetType ( ) const
inline
bool SwRedlineData::IsAutoFormat ( ) const
inline

Definition at line 157 of file redline.hxx.

Referenced by SwRangeRedline::IsAutoFormat().

const SwRedlineData* SwRedlineData::Next ( void  ) const
inline
bool SwRedlineData::operator!= ( const SwRedlineData rCmp) const
inline

Definition at line 143 of file redline.hxx.

References operator==().

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

Definition at line 131 of file redline.hxx.

References m_bAutoFormat, m_eType, m_nAuthor, m_pExtraData, m_pNext, and m_sComment.

void SwRedlineData::SetAutoFormat ( )
inline

Definition at line 156 of file redline.hxx.

Referenced by SwRangeRedline::SetAutoFormat().

void SwRedlineData::SetComment ( const OUString &  rS)
inline
void SwRedlineData::SetExtraData ( const SwRedlineExtraData pData)

ExtraData is copied.

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

Definition at line 988 of file docredln.cxx.

References SwRedlineExtraData::CreateNew(), and m_pExtraData.

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

void SwRedlineData::SetSeqNo ( sal_uInt16  nNo)
inline

Definition at line 169 of file redline.hxx.

Referenced by SwRangeRedline::SetSeqNo().

void SwRedlineData::SetTimeStamp ( const DateTime rDT)
inline

Friends And Related Function Documentation

friend class SwRangeRedline
friend

Definition at line 110 of file redline.hxx.

Referenced by SwRedlineSaveData::RedlineToDoc().

Member Data Documentation

DateTime SwRedlineData::m_aStamp
private

Definition at line 115 of file redline.hxx.

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

bool SwRedlineData::m_bAutoFormat
private

Definition at line 117 of file redline.hxx.

Referenced by operator==().

RedlineType SwRedlineData::m_eType
private
std::size_t const SwRedlineData::m_nAuthor
private

Definition at line 118 of file redline.hxx.

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

sal_uInt16 SwRedlineData::m_nSeqNo
private

Definition at line 119 of file redline.hxx.

SwRedlineExtraData* SwRedlineData::m_pExtraData
private

Definition at line 112 of file redline.hxx.

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

SwRedlineData* SwRedlineData::m_pNext
private
OUString SwRedlineData::m_sComment
private

Definition at line 114 of file redline.hxx.

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


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