LibreOffice Module vcl (master) 1
Public Member Functions | List of all members
ExtTextEngine Class Referencefinal

#include <xtextedt.hxx>

Inheritance diagram for ExtTextEngine:
Collaboration diagram for ExtTextEngine:

Public Member Functions

 ExtTextEngine ()
virtual ~ExtTextEngine () override
TextSelection MatchGroup (const TextPaM &rCursor) const
bool Search (TextSelection &rSel, const i18nutil::SearchOptions2 &rSearchOptions, bool bForward=true) const
- Public Member Functions inherited from TextEngine
 TextEngine ()
virtual ~TextEngine () override
 TextEngine (const TextEngine &)=delete
TextEngineoperator= (const TextEngine &)=delete
void SetText (const OUString &rStr)
OUString GetText (LineEnd aSeparator=LINEEND_LF) const
OUString GetText (const TextSelection &rSel, LineEnd aSeparator=LINEEND_LF) const
OUString GetTextLines (LineEnd aSeparator=LINEEND_LF) const
void ReplaceText (const TextSelection &rSel, const OUString &rText)
sal_Int32 GetTextLen () const
sal_Int32 GetTextLen (const TextSelection &rSel) const
void SetFont (const vcl::Font &rFont)
const vcl::FontGetFont () const
void SetLeftMargin (sal_uInt16 n)
void SetUpdateMode (bool bUpdate)
bool GetUpdateMode () const
sal_uInt16 GetViewCount () const
TextViewGetView (sal_uInt16 nView) const
void InsertView (TextView *pTextView)
void RemoveView (TextView *pTextView)
TextViewGetActiveView () const
void SetActiveView (TextView *pView)
void SetMaxTextLen (sal_Int32 nLen)
sal_Int32 GetMaxTextLen () const
void SetMaxTextWidth (tools::Long nWidth)
tools::Long GetMaxTextWidth () const
tools::Long GetTextHeight () const
tools::Long CalcTextWidth ()
tools::Long GetCharHeight () const
sal_uInt32 GetParagraphCount () const
OUString GetText (sal_uInt32 nParagraph) const
sal_Int32 GetTextLen (sal_uInt32 nParagraph) const
tools::Long GetTextHeight (sal_uInt32 nParagraph) const
void GetTextPortionRange (const TextPaM &rPaM, sal_Int32 &nStart, sal_Int32 &nEnd)
sal_uInt16 GetLineCount (sal_uInt32 nParagraph) const
sal_Int32 GetLineLen (sal_uInt32 nParagraph, sal_uInt16 nLine) const
void SetRightToLeft (bool bR2L)
bool IsRightToLeft () const
bool HasUndoManager () const
SfxUndoManagerGetUndoManager ()
void UndoActionStart (sal_uInt16 nId=0)
void UndoActionEnd ()
void InsertUndo (std::unique_ptr< TextUndo > pUndo, bool bTryMerge=false)
bool IsInUndo () const
void SetIsInUndo (bool bInUndo)
void ResetUndo ()
void EnableUndo (bool bEnable)
bool IsUndoEnabled () const
void SetModified (bool bModified)
bool IsModified () const
bool Read (SvStream &rInput, const TextSelection *pSel=nullptr)
void Write (SvStream &rOutput)
TextPaM GetPaM (const Point &rDocPos)
tools::Rectangle PaMtoEditCursor (const TextPaM &rPaM, bool bSpecial=false)
OUString GetWord (const TextPaM &rCursorPos, TextPaM *pStartOfWord=nullptr, TextPaM *pEndOfWord=nullptr)
const TextAttribFindAttrib (const TextPaM &rPaM, sal_uInt16 nWhich) const
const TextCharAttribFindCharAttrib (const TextPaM &rPaM, sal_uInt16 nWhich) const
void RemoveAttribs (sal_uInt32 nPara)
void SetAttrib (const TextAttrib &rAttr, sal_uInt32 nPara, sal_Int32 nStart, sal_Int32 nEnd)
TxtAlign GetTextAlign () const
void SetTextAlign (TxtAlign eAlign)
void Draw (OutputDevice *pDev, const Point &rPos)
void SetLocale (const css::lang::Locale &rLocale)
css::lang::Locale const & GetLocale ()
css::uno::Reference< css::i18n::XBreakIterator > const & GetBreakIterator ()
const ColorGetTextColor () const
- Public Member Functions inherited from SfxBroadcaster
 SfxBroadcaster ()
 SfxBroadcaster (const SfxBroadcaster &rBC)
virtual ~SfxBroadcaster () COVERITY_NOEXCEPT_FALSE
void Broadcast (const SfxHint &rHint)
bool HasListeners () const
size_t GetListenerCount () const
void ForAllListeners (std::function< bool(SfxListener *)> f) const

Additional Inherited Members

- Static Public Member Functions inherited from TextEngine
static bool DoesKeyChangeText (const KeyEvent &rKeyEvent)
static bool IsSimpleCharInput (const KeyEvent &rKeyEvent)
- Protected Member Functions inherited from SfxBroadcaster
void Forward (SfxBroadcaster &rBC, const SfxHint &rHint)

Detailed Description

Definition at line 27 of file xtextedt.hxx.

Constructor & Destructor Documentation

◆ ExtTextEngine()

ExtTextEngine::ExtTextEngine ( )

Definition at line 33 of file xtextedt.cxx.

◆ ~ExtTextEngine()

ExtTextEngine::~ExtTextEngine ( )

Definition at line 37 of file xtextedt.cxx.

Member Function Documentation

◆ MatchGroup()

TextSelection ExtTextEngine::MatchGroup ( const TextPaM rCursor) const

◆ Search()

bool ExtTextEngine::Search ( TextSelection rSel,
const i18nutil::SearchOptions2 rSearchOptions,
bool  bForward = true 
) const

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