20 if (
auto pUrlField =
dynamic_cast<const SvxURLField*
>(pField))
34 bool bIsValidSelection
36 && (nSelectedChars == 0 || nSelectedChars == 1 || nSelectedChars == -1);
37 if (!bIsValidSelection)
void QuickInsertText(const OUString &rText, const ESelection &rSel)
ESelection GetSelection() const
void SelectFieldAtCursor()
const SvxFieldData * GetFieldAtCursor() const
Select and return the field at the current cursor position.
EditEngine * GetEditEngine() const
static void RemoveURLField(EditView &pEditView)
static bool IsCursorAtURLField(const EditView &pEditView)