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

#include <redlnitr.hxx>

Public Member Functions

 SwExtend (const std::vector< ExtTextInputAttr > &rArr, sal_uLong const nNode, sal_Int32 const nStart)
 
bool IsOn () const
 
void Reset ()
 
bool Leave (SwFont &rFnt, sal_uLong const nNode, sal_Int32 const nNew)
 
short Enter (SwFont &rFnt, sal_uLong nNode, sal_Int32 nNew)
 
sal_Int32 Next (sal_uLong nNode, sal_Int32 nNext)
 
SwFontGetFont ()
 
void UpdateFont (SwFont &rFont)
 

Private Member Functions

bool Leave_ (SwFont &rFnt, sal_uLong nNode, sal_Int32 nNew)
 
bool Inside () const
 

Static Private Member Functions

static void ActualizeFont (SwFont &rFnt, ExtTextInputAttr nAttr)
 

Private Attributes

std::unique_ptr< SwFontm_pFont
 
const std::vector< ExtTextInputAttr > & m_rArr
 
sal_uLong const m_nNode
 position of start of SwExtTextInput More...
 
sal_Int32 const m_nStart
 
sal_Int32 m_nPos
 current position (inside) More...
 
sal_Int32 const m_nEnd
 position of end of SwExtTextInput (in same node as start) More...
 

Detailed Description

Definition at line 38 of file redlnitr.hxx.

Constructor & Destructor Documentation

SwExtend::SwExtend ( const std::vector< ExtTextInputAttr > &  rArr,
sal_uLong const  nNode,
sal_Int32 const  nStart 
)
inline

Definition at line 53 of file redlnitr.hxx.

References size.

Member Function Documentation

void SwExtend::ActualizeFont ( SwFont rFnt,
ExtTextInputAttr  nAttr 
)
staticprivate
short SwExtend::Enter ( SwFont rFnt,
sal_uLong  nNode,
sal_Int32  nNew 
)

Definition at line 862 of file redlnitr.cxx.

References ActualizeFont(), Inside(), m_nNode, m_nPos, m_nStart, m_pFont, and m_rArr.

SwFont* SwExtend::GetFont ( )
inline

Definition at line 67 of file redlnitr.hxx.

bool SwExtend::Inside ( ) const
inlineprivate

Definition at line 50 of file redlnitr.hxx.

Referenced by Enter(), and Leave_().

bool SwExtend::IsOn ( ) const
inline

Definition at line 61 of file redlnitr.hxx.

bool SwExtend::Leave ( SwFont rFnt,
sal_uLong const  nNode,
sal_Int32 const  nNew 
)
inline

Definition at line 63 of file redlnitr.hxx.

References Leave_().

bool SwExtend::Leave_ ( SwFont rFnt,
sal_uLong  nNode,
sal_Int32  nNew 
)
private

Definition at line 878 of file redlnitr.cxx.

References ActualizeFont(), Inside(), m_nNode, m_nPos, m_nStart, m_pFont, and m_rArr.

Referenced by Leave().

sal_Int32 SwExtend::Next ( sal_uLong  nNode,
sal_Int32  nNext 
)

Definition at line 903 of file redlnitr.cxx.

References m_nEnd, m_nNode, m_nPos, m_nStart, and m_rArr.

void SwExtend::Reset ( void  )
inline

Definition at line 62 of file redlnitr.hxx.

References COMPLETE_STRING.

void SwExtend::UpdateFont ( SwFont rFont)
inline

Definition at line 68 of file redlnitr.hxx.

References ActualizeFont().

Member Data Documentation

sal_Int32 const SwExtend::m_nEnd
private

position of end of SwExtTextInput (in same node as start)

Definition at line 48 of file redlnitr.hxx.

Referenced by Next().

sal_uLong const SwExtend::m_nNode
private

position of start of SwExtTextInput

Definition at line 43 of file redlnitr.hxx.

Referenced by Enter(), Leave_(), and Next().

sal_Int32 SwExtend::m_nPos
private

current position (inside)

Definition at line 46 of file redlnitr.hxx.

Referenced by Enter(), Leave_(), and Next().

sal_Int32 const SwExtend::m_nStart
private

Definition at line 44 of file redlnitr.hxx.

Referenced by Enter(), Leave_(), and Next().

std::unique_ptr<SwFont> SwExtend::m_pFont
private

Definition at line 40 of file redlnitr.hxx.

Referenced by Enter(), and Leave_().

const std::vector<ExtTextInputAttr>& SwExtend::m_rArr
private

Definition at line 41 of file redlnitr.hxx.

Referenced by Enter(), Leave_(), and Next().


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