#include <fl_SelectionPreserver.h>
Public Member Functions | |
FL_SelectionPreserver (FV_View *pView) | |
~FL_SelectionPreserver () | |
bool | cmdCharInsert (const UT_UCSChar *text, UT_uint32 count, bool bForce=false) |
Private Member Functions | |
FL_SelectionPreserver () | |
FL_SelectionPreserver (const FL_SelectionPreserver &other) | |
FL_SelectionPreserver & | operator= (const FL_SelectionPreserver &other) |
Private Attributes | |
FV_View * | m_pView |
bool | m_bHadSelection |
PD_DocumentRange | m_docRange |
FL_SelectionPreserver::FL_SelectionPreserver | ( | FV_View * | pView | ) | [explicit] |
FL_SelectionPreserver::~FL_SelectionPreserver | ( | ) |
FL_SelectionPreserver::FL_SelectionPreserver | ( | ) | [private] |
FL_SelectionPreserver::FL_SelectionPreserver | ( | const FL_SelectionPreserver & | other | ) | [private] |
bool FL_SelectionPreserver::cmdCharInsert | ( | const UT_UCSChar * | text, | |
UT_uint32 | count, | |||
bool | bForce = false | |||
) |
References FV_View::cmdCharInsert(), FV_View::getSelectionLength(), FV_View::isSelectionEmpty(), m_docRange, PD_DocumentRange::m_pos2, and m_pView.
Referenced by AP_Dialog_Spell::changeWordWith().
FL_SelectionPreserver& FL_SelectionPreserver::operator= | ( | const FL_SelectionPreserver & | other | ) | [private] |
bool FL_SelectionPreserver::m_bHadSelection [private] |
Referenced by FL_SelectionPreserver(), and ~FL_SelectionPreserver().
Referenced by cmdCharInsert(), FL_SelectionPreserver(), and ~FL_SelectionPreserver().
FV_View* FL_SelectionPreserver::m_pView [private] |
Referenced by cmdCharInsert(), and ~FL_SelectionPreserver().