LibreOffice Module sw (master) 1
|
#include <redlnitr.hxx>
Public Member Functions | |
SwExtend (const std::vector< ExtTextInputAttr > &rArr, SwNodeOffset const nNode, sal_Int32 const nStart) | |
bool | IsOn () const |
void | Reset () |
bool | Leave (SwFont &rFnt, SwNodeOffset const nNode, sal_Int32 const nNew) |
short | Enter (SwFont &rFnt, SwNodeOffset nNode, sal_Int32 nNew) |
sal_Int32 | Next (SwNodeOffset nNode, sal_Int32 nNext) |
SwFont * | GetFont () |
void | UpdateFont (SwFont &rFont) |
Private Member Functions | |
bool | Leave_ (SwFont &rFnt, SwNodeOffset nNode, sal_Int32 nNew) |
bool | Inside () const |
Static Private Member Functions | |
static void | ActualizeFont (SwFont &rFnt, ExtTextInputAttr nAttr) |
Private Attributes | |
std::unique_ptr< SwFont > | m_pFont |
const std::vector< ExtTextInputAttr > & | m_rArr |
SwNodeOffset 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... | |
Definition at line 37 of file redlnitr.hxx.
|
inline |
Definition at line 52 of file redlnitr.hxx.
References size.
|
staticprivate |
Definition at line 1112 of file redlnitr.cxx.
References COL_RED(), StyleSettings::GetHighlightColor(), StyleSettings::GetHighlightTextColor(), Application::GetSettings(), AllSettings::GetStyleSettings(), LINESTYLE_BOLD, LINESTYLE_DOTTED, LINESTYLE_DOUBLE, LINESTYLE_SINGLE, SwFont::SetBackColor(), SwFont::SetColor(), SwFont::SetGreyWave(), and SwFont::SetUnderline().
Referenced by Enter(), Leave_(), and UpdateFont().
short SwExtend::Enter | ( | SwFont & | rFnt, |
SwNodeOffset | nNode, | ||
sal_Int32 | nNew | ||
) |
Definition at line 1138 of file redlnitr.cxx.
References ActualizeFont(), Inside(), m_nNode, m_nPos, m_nStart, m_pFont, and m_rArr.
|
inline |
Definition at line 66 of file redlnitr.hxx.
References m_pFont.
|
inlineprivate |
|
inline |
Definition at line 60 of file redlnitr.hxx.
References m_pFont.
|
inline |
Definition at line 62 of file redlnitr.hxx.
|
private |
Definition at line 1154 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 | ( | SwNodeOffset | nNode, |
sal_Int32 | nNext | ||
) |
Definition at line 1179 of file redlnitr.cxx.
References m_nEnd, m_nNode, m_nPos, m_nStart, m_rArr, and o3tl::make_unsigned().
|
inline |
Definition at line 61 of file redlnitr.hxx.
References COMPLETE_STRING, m_nPos, and m_pFont.
|
inline |
Definition at line 67 of file redlnitr.hxx.
References ActualizeFont(), m_nPos, m_nStart, and m_rArr.
|
private |
position of end of SwExtTextInput (in same node as start)
Definition at line 47 of file redlnitr.hxx.
|
private |
position of start of SwExtTextInput
Definition at line 42 of file redlnitr.hxx.
|
private |
current position (inside)
Definition at line 45 of file redlnitr.hxx.
Referenced by Enter(), Inside(), Leave_(), Next(), Reset(), and UpdateFont().
|
private |
Definition at line 43 of file redlnitr.hxx.
Referenced by Enter(), Inside(), Leave_(), Next(), and UpdateFont().
|
private |
|
private |
Definition at line 40 of file redlnitr.hxx.
Referenced by Enter(), Leave_(), Next(), and UpdateFont().