LibreOffice Module editeng (master) 1
Public Member Functions | Private Attributes | List of all members
SvxEditSourceHint Class Reference

Extends TextHint by two additional parameters which are necessary for the SfxHintId::EditSourceParasMoved hint. More...

#include <unoedhlp.hxx>

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

Public Member Functions

 SvxEditSourceHint (SfxHintId nId)
 
 SvxEditSourceHint (SfxHintId nId, sal_Int32 nValue, sal_Int32 nStart, sal_Int32 nEnd)
 
sal_Int32 GetStartValue () const
 
sal_Int32 GetEndValue () const
 
sal_Int32 GetValue () const
 
- Public Member Functions inherited from TextHint
 TextHint (SfxHintId nId)
 
 TextHint (SfxHintId nId, sal_Int32 nValue)
 
sal_Int32 GetValue () const
 

Private Attributes

sal_Int32 mnStart
 
sal_Int32 mnEnd
 

Detailed Description

Extends TextHint by two additional parameters which are necessary for the SfxHintId::EditSourceParasMoved hint.

TextHint's value in this case denotes the destination position, the two parameters the start and the end of the moved paragraph range.

Definition at line 37 of file unoedhlp.hxx.

Constructor & Destructor Documentation

◆ SvxEditSourceHint() [1/2]

SvxEditSourceHint::SvxEditSourceHint ( SfxHintId  nId)

Definition at line 29 of file unoedhlp.cxx.

References mnEnd, and mnStart.

◆ SvxEditSourceHint() [2/2]

SvxEditSourceHint::SvxEditSourceHint ( SfxHintId  nId,
sal_Int32  nValue,
sal_Int32  nStart,
sal_Int32  nEnd 
)

Definition at line 36 of file unoedhlp.cxx.

References mnEnd, mnStart, and nValue.

Member Function Documentation

◆ GetEndValue()

sal_Int32 SvxEditSourceHint::GetEndValue ( ) const
inline

Definition at line 49 of file unoedhlp.hxx.

References mnEnd.

◆ GetStartValue()

sal_Int32 SvxEditSourceHint::GetStartValue ( ) const
inline

Definition at line 48 of file unoedhlp.hxx.

References mnStart.

◆ GetValue()

sal_Int32 TextHint::GetValue ( ) const

Member Data Documentation

◆ mnEnd

sal_Int32 SvxEditSourceHint::mnEnd
private

Definition at line 41 of file unoedhlp.hxx.

◆ mnStart

sal_Int32 SvxEditSourceHint::mnStart
private

Definition at line 40 of file unoedhlp.hxx.


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