LibreOffice Module sw (master)  1
Public Member Functions | Private Attributes | List of all members
XTextRangeOrNodeIndexPosition Class Reference
Collaboration diagram for XTextRangeOrNodeIndexPosition:
[legend]

Public Member Functions

 XTextRangeOrNodeIndexPosition ()
 
void Set (Reference< XTextRange > const &rRange)
 
void Set (SwNodeIndex const &rIndex)
 
void SetAsNodeIndex (Reference< XTextRange > const &rRange)
 
void CopyPositionInto (SwPosition &rPos, SwDoc &rDoc)
 
SwDocGetDoc ()
 
bool IsValid () const
 

Private Attributes

Reference< XTextRange > xRange
 
std::unique_ptr< SwNodeIndexpIndex
 

Detailed Description

Definition at line 89 of file XMLRedlineImportHelper.cxx.

Constructor & Destructor Documentation

XTextRangeOrNodeIndexPosition::XTextRangeOrNodeIndexPosition ( )

Definition at line 107 of file XMLRedlineImportHelper.cxx.

Member Function Documentation

void XTextRangeOrNodeIndexPosition::CopyPositionInto ( SwPosition rPos,
SwDoc rDoc 
)
SwDoc * XTextRangeOrNodeIndexPosition::GetDoc ( )
bool XTextRangeOrNodeIndexPosition::IsValid ( ) const

Definition at line 174 of file XMLRedlineImportHelper.cxx.

References pIndex, and xRange.

Referenced by CopyPositionInto(), GetDoc(), and XMLRedlineImportHelper::IsReady().

void XTextRangeOrNodeIndexPosition::Set ( Reference< XTextRange > const &  rRange)

Definition at line 111 of file XMLRedlineImportHelper.cxx.

References pIndex, and xRange.

Referenced by SetAsNodeIndex(), and XMLRedlineImportHelper::SetCursor().

void XTextRangeOrNodeIndexPosition::Set ( SwNodeIndex const &  rIndex)

Definition at line 117 of file XMLRedlineImportHelper.cxx.

References pIndex, and xRange.

void XTextRangeOrNodeIndexPosition::SetAsNodeIndex ( Reference< XTextRange > const &  rRange)

Member Data Documentation

std::unique_ptr<SwNodeIndex> XTextRangeOrNodeIndexPosition::pIndex
private

Definition at line 92 of file XMLRedlineImportHelper.cxx.

Referenced by CopyPositionInto(), GetDoc(), IsValid(), and Set().

Reference<XTextRange> XTextRangeOrNodeIndexPosition::xRange
private

Definition at line 91 of file XMLRedlineImportHelper.cxx.

Referenced by CopyPositionInto(), GetDoc(), IsValid(), and Set().


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