LibreOffice Module editeng (master) 1
Public Types | Public Member Functions | Static Public Member Functions | Private Member Functions | Private Attributes | Friends | List of all members
EditEngine Class Reference

#include <editeng.hxx>

Inheritance diagram for EditEngine:
[legend]

Public Types

typedef std::vector< EditView * > ViewsType
 

Public Member Functions

EditSelection InsertText (css::uno::Reference< css::datatransfer::XTransferable > const &rxDataObj, const OUString &rBaseURL, const EditPaM &rPaM, bool bUseSpecial)
 
 EditEngine (SfxItemPool *pItemPool)
 
virtual ~EditEngine ()
 
const SfxItemSetGetEmptyItemSet () const
 
void SetDefTab (sal_uInt16 nDefTab)
 
void SetRefDevice (OutputDevice *pRefDef)
 
OutputDeviceGetRefDevice () const
 
void SetRefMapMode (const MapMode &rMapMode)
 
MapMode const & GetRefMapMode () const
 
bool SetUpdateLayout (bool bUpdate, bool bRestoring=false)
 Change the update mode per bUpdate and potentially trigger FormatAndUpdate. More...
 
bool IsUpdateLayout () const
 
void SetBackgroundColor (const Color &rColor)
 
Color const & GetBackgroundColor () const
 
Color GetAutoColor () const
 
void EnableAutoColor (bool b)
 
void ForceAutoColor (bool b)
 
bool IsForceAutoColor () const
 
void InsertView (EditView *pEditView, size_t nIndex=EE_APPEND)
 
EditViewRemoveView (EditView *pEditView)
 
void RemoveView (size_t nIndex)
 
EditViewGetView (size_t nIndex=0) const
 
size_t GetViewCount () const
 
bool HasView (EditView *pView) const
 
EditViewGetActiveView () const
 
void SetActiveView (EditView *pView)
 
void SetPaperSize (const Size &rSize)
 
const SizeGetPaperSize () const
 
void SetVertical (bool bVertical)
 
bool IsEffectivelyVertical () const
 
bool IsTopToBottom () const
 
bool GetVertical () const
 
void SetRotation (TextRotation nRotation)
 
TextRotation GetRotation () const
 
void SetTextColumns (sal_Int16 nColumns, sal_Int32 nSpacing)
 
void SetFixedCellHeight (bool bUseFixedCellHeight)
 
void SetDefaultHorizontalTextDirection (EEHorizontalTextDirection eHTextDir)
 
EEHorizontalTextDirection GetDefaultHorizontalTextDirection () const
 
SvtScriptType GetScriptType (const ESelection &rSelection) const
 
editeng::LanguageSpan GetLanguage (const EditPaM &rPaM) const
 
editeng::LanguageSpan GetLanguage (sal_Int32 nPara, sal_Int32 nPos) const
 
void TransliterateText (const ESelection &rSelection, TransliterationFlags nTransliterationMode)
 
EditSelection TransliterateText (const EditSelection &rSelection, TransliterationFlags nTransliterationMode)
 
void SetAsianCompressionMode (CharCompressType nCompression)
 
void SetKernAsianPunctuation (bool bEnabled)
 
void SetAddExtLeading (bool b)
 
void SetPolygon (const basegfx::B2DPolyPolygon &rPolyPolygon)
 
void SetPolygon (const basegfx::B2DPolyPolygon &rPolyPolygon, const basegfx::B2DPolyPolygon *pLinePolyPolygon)
 
void ClearPolygon ()
 
const SizeGetMinAutoPaperSize () const
 
void SetMinAutoPaperSize (const Size &rSz)
 
const SizeGetMaxAutoPaperSize () const
 
void SetMaxAutoPaperSize (const Size &rSz)
 
void SetMinColumnWrapHeight (tools::Long nVal)
 
OUString GetText (LineEnd eEnd=LINEEND_LF) const
 
OUString GetText (const ESelection &rSelection) const
 
sal_Int32 GetTextLen () const
 
sal_uInt32 GetTextHeight () const
 
sal_uInt32 GetTextHeightNTP () const
 
sal_uInt32 CalcTextWidth ()
 
OUString GetText (sal_Int32 nParagraph) const
 
sal_Int32 GetTextLen (sal_Int32 nParagraph) const
 
sal_uInt32 GetTextHeight (sal_Int32 nParagraph) const
 
sal_Int32 GetParagraphCount () const
 
sal_Int32 GetLineCount (sal_Int32 nParagraph) const
 
sal_Int32 GetLineLen (sal_Int32 nParagraph, sal_Int32 nLine) const
 
void GetLineBoundaries (sal_Int32 &rStart, sal_Int32 &rEnd, sal_Int32 nParagraph, sal_Int32 nLine) const
 
sal_Int32 GetLineNumberAtIndex (sal_Int32 nPara, sal_Int32 nIndex) const
 
sal_uInt32 GetLineHeight (sal_Int32 nParagraph)
 
tools::Rectangle GetParaBounds (sal_Int32 nPara)
 
ParagraphInfos GetParagraphInfos (sal_Int32 nPara)
 
sal_Int32 FindParagraph (tools::Long nDocPosY)
 
EPosition FindDocPosition (const Point &rDocPos) const
 
tools::Rectangle GetCharacterBounds (const EPosition &rPos) const
 
OUString GetWord (sal_Int32 nPara, sal_Int32 nIndex)
 
ESelection GetWord (const ESelection &rSelection, sal_uInt16 nWordType) const
 
void Clear ()
 
void SetText (const OUString &rStr)
 
std::unique_ptr< EditTextObjectCreateTextObject ()
 
std::unique_ptr< EditTextObjectGetEmptyTextObject () const
 
std::unique_ptr< EditTextObjectCreateTextObject (sal_Int32 nPara, sal_Int32 nParas=1)
 
std::unique_ptr< EditTextObjectCreateTextObject (const ESelection &rESelection)
 
void SetText (const EditTextObject &rTextObject)
 
void RemoveParagraph (sal_Int32 nPara)
 
void InsertParagraph (sal_Int32 nPara, const EditTextObject &rTxtObj, const bool bAppend=false)
 
void InsertParagraph (sal_Int32 nPara, const OUString &rText)
 
void SetText (sal_Int32 nPara, const OUString &rText)
 
virtual void SetParaAttribs (sal_Int32 nPara, const SfxItemSet &rSet)
 
const SfxItemSetGetParaAttribs (sal_Int32 nPara) const
 
void SetCharAttribs (sal_Int32 nPara, const SfxItemSet &rSet)
 Set attributes from rSet an all characters of nPara. More...
 
void GetCharAttribs (sal_Int32 nPara, std::vector< EECharAttrib > &rLst) const
 
SfxItemSet GetAttribs (sal_Int32 nPara, sal_Int32 nStart, sal_Int32 nEnd, GetAttribsFlags nFlags=GetAttribsFlags::ALL) const
 
SfxItemSet GetAttribs (const ESelection &rSel, EditEngineAttribs nOnlyHardAttrib=EditEngineAttribs::All)
 
bool HasParaAttrib (sal_Int32 nPara, sal_uInt16 nWhich) const
 
const SfxPoolItemGetParaAttrib (sal_Int32 nPara, sal_uInt16 nWhich) const
 
template<class T >
const T & GetParaAttrib (sal_Int32 nPara, TypedWhichId< T > nWhich) const
 
vcl::Font GetStandardFont (sal_Int32 nPara)
 
SvxFont GetStandardSvxFont (sal_Int32 nPara)
 
void RemoveAttribs (const ESelection &rSelection, bool bRemoveParaAttribs, sal_uInt16 nWhich)
 
void ShowParagraph (sal_Int32 nParagraph, bool bShow)
 
SfxUndoManagerGetUndoManager ()
 
SfxUndoManagerSetUndoManager (SfxUndoManager *pNew)
 
void UndoActionStart (sal_uInt16 nId)
 
void UndoActionStart (sal_uInt16 nId, const ESelection &rSel)
 
void UndoActionEnd ()
 
bool IsInUndo () const
 
void EnableUndo (bool bEnable)
 
bool IsUndoEnabled () const
 
bool HasTriedMergeOnLastAddUndo () const
 returns the value last used for bTryMerge while calling ImpEditEngine::InsertUndo This is currently used in a bad but needed hack to get undo actions merged in the OutlineView in impress. More...
 
void ClearModifyFlag ()
 
void SetModified ()
 
bool IsModified () const
 
void SetModifyHdl (const Link< LinkParamNone *, void > &rLink)
 
bool IsInSelectionMode () const
 
void StripPortions ()
 
void GetPortions (sal_Int32 nPara, std::vector< sal_Int32 > &rList)
 
tools::Long GetFirstLineStartX (sal_Int32 nParagraph)
 
Point GetDocPosTopLeft (sal_Int32 nParagraph)
 
Point GetDocPos (const Point &rPaperPos) const
 
bool IsTextPos (const Point &rPaperPos, sal_uInt16 nBorder)
 
void Draw (OutputDevice &rOutDev, const tools::Rectangle &rOutRect)
 
void Draw (OutputDevice &rOutDev, const tools::Rectangle &rOutRect, const Point &rStartDocPos)
 
void Draw (OutputDevice &rOutDev, const tools::Rectangle &rOutRect, const Point &rStartDocPos, bool bClip)
 
void Draw (OutputDevice &rOutDev, const Point &rStartPos, Degree10 nOrientation=0_deg10)
 
ErrCode Read (SvStream &rInput, const OUString &rBaseURL, EETextFormat, SvKeyValueIterator *pHTTPHeaderAttrs=nullptr)
 
void Write (SvStream &rOutput, EETextFormat)
 
void SetStatusEventHdl (const Link< EditStatus &, void > &rLink)
 
Link< EditStatus &, void > const & GetStatusEventHdl () const
 
void SetNotifyHdl (const Link< EENotify &, void > &rLink)
 
Link< EENotify &, void > const & GetNotifyHdl () const
 
void SetRtfImportHdl (const Link< RtfImportInfo &, void > &rLink)
 
const Link< RtfImportInfo &, void > & GetRtfImportHdl () const
 
void SetHtmlImportHdl (const Link< HtmlImportInfo &, void > &rLink)
 
const Link< HtmlImportInfo &, void > & GetHtmlImportHdl () const
 
bool IsFlatMode () const
 
void SetFlatMode (bool bFlat)
 
void SetSingleLine (bool bValue)
 
void SetControlWord (EEControlBits nWord)
 
EEControlBits GetControlWord () const
 
void QuickSetAttribs (const SfxItemSet &rSet, const ESelection &rSel)
 
void QuickMarkInvalid (const ESelection &rSel)
 
void QuickFormatDoc (bool bFull=false)
 
void QuickInsertField (const SvxFieldItem &rFld, const ESelection &rSel)
 
void QuickInsertLineBreak (const ESelection &rSel)
 
void QuickInsertText (const OUString &rText, const ESelection &rSel)
 
void QuickDelete (const ESelection &rSel)
 
void QuickMarkToBeRepainted (sal_Int32 nPara)
 
void setGlobalScale (double fFontScaleX, double fFontScaleY, double fSpacingScaleX, double fSpacingScaleY)
 
void getGlobalSpacingScale (double &rX, double &rY) const
 
basegfx::B2DTuple getGlobalSpacingScale () const
 
void getGlobalFontScale (double &rX, double &rY) const
 
basegfx::B2DTuple getGlobalFontScale () const
 
void setRoundFontSizeToPt (bool bRound) const
 
void SetEditTextObjectPool (SfxItemPool *pPool)
 
SfxItemPoolGetEditTextObjectPool () const
 
void SetStyleSheetPool (SfxStyleSheetPool *pSPool)
 
SfxStyleSheetPoolGetStyleSheetPool ()
 
void SetStyleSheet (const EditSelection &aSel, SfxStyleSheet *pStyle)
 
void SetStyleSheet (sal_Int32 nPara, SfxStyleSheet *pStyle)
 
const SfxStyleSheetGetStyleSheet (sal_Int32 nPara) const
 
SfxStyleSheetGetStyleSheet (sal_Int32 nPara)
 
void SetWordDelimiters (const OUString &rDelimiters)
 
const OUString & GetWordDelimiters () const
 
void EraseVirtualDevice ()
 
void SetSpeller (css::uno::Reference< css::linguistic2::XSpellChecker1 > const &xSpeller)
 
css::uno::Reference< css::linguistic2::XSpellChecker1 > const & GetSpeller ()
 
void SetHyphenator (css::uno::Reference< css::linguistic2::XHyphenator > const &xHyph)
 
void GetAllMisspellRanges (std::vector< editeng::MisspellRanges > &rRanges) const
 
void SetAllMisspellRanges (const std::vector< editeng::MisspellRanges > &rRanges)
 
void SetDefaultLanguage (LanguageType eLang)
 
LanguageType GetDefaultLanguage () const
 
bool HasOnlineSpellErrors () const
 
void CompleteOnlineSpelling ()
 
bool ShouldCreateBigTextObject () const
 
EESpellState HasSpellErrors ()
 
void ClearSpellErrors ()
 
bool HasText (const SvxSearchItem &rSearchItem)
 
bool SpellSentence (EditView const &rEditView, svx::SpellPortions &rToFill)
 
void PutSpellingToSentenceStart (EditView const &rEditView)
 
void ApplyChangedSentence (EditView const &rEditView, const svx::SpellPortions &rNewPortions, bool bRecheck)
 
bool HasConvertibleTextPortion (LanguageType nLang)
 
virtual bool ConvertNextDocument ()
 
bool UpdateFields ()
 
bool UpdateFieldsOnly ()
 
void RemoveFields (const std::function< bool(const SvxFieldData *)> &isFieldData=[](const SvxFieldData *){return true;})
 
sal_uInt16 GetFieldCount (sal_Int32 nPara) const
 
EFieldInfo GetFieldInfo (sal_Int32 nPara, sal_uInt16 nField) const
 
bool IsRightToLeft (sal_Int32 nPara) const
 
css::uno::Reference< css::datatransfer::XTransferable > CreateTransferable (const ESelection &rSelection) const
 
void SetBeginMovingParagraphsHdl (const Link< MoveParagraphsInfo &, void > &rLink)
 
void SetEndMovingParagraphsHdl (const Link< MoveParagraphsInfo &, void > &rLink)
 
void SetBeginPasteOrDropHdl (const Link< PasteOrDropInfos &, void > &rLink)
 
void SetEndPasteOrDropHdl (const Link< PasteOrDropInfos &, void > &rLink)
 
virtual void PaintingFirstLine (sal_Int32 nPara, const Point &rStartPos, const Point &rOrigin, Degree10 nOrientation, OutputDevice &rOutDev)
 
virtual void ParagraphInserted (sal_Int32 nNewParagraph)
 
virtual void ParagraphDeleted (sal_Int32 nDeletedParagraph)
 
virtual void ParagraphConnected (sal_Int32 nLeftParagraph, sal_Int32 nRightParagraph)
 
virtual void ParaAttribsChanged (sal_Int32 nParagraph)
 
virtual void StyleSheetChanged (SfxStyleSheet *pStyle)
 
void ParagraphHeightChanged (sal_Int32 nPara)
 
virtual void DrawingText (const Point &rStartPos, const OUString &rText, sal_Int32 nTextStart, sal_Int32 nTextLen, o3tl::span< const sal_Int32 > pDXArray, o3tl::span< const sal_Bool > pKashidaArray, const SvxFont &rFont, sal_Int32 nPara, sal_uInt8 nRightToLeft, const EEngineData::WrongSpellVector *pWrongSpellVector, const SvxFieldData *pFieldData, bool bEndOfLine, bool bEndOfParagraph, const css::lang::Locale *pLocale, const Color &rOverlineColor, const Color &rTextLineColor)
 
virtual void DrawingTab (const Point &rStartPos, tools::Long nWidth, const OUString &rChar, const SvxFont &rFont, sal_Int32 nPara, sal_uInt8 nRightToLeft, bool bEndOfLine, bool bEndOfParagraph, const Color &rOverlineColor, const Color &rTextLineColor)
 
virtual OUString GetUndoComment (sal_uInt16 nUndoId) const
 
virtual bool SpellNextDocument ()
 
virtual bool FieldClicked (const SvxFieldItem &rField)
 
virtual OUString CalcFieldValue (const SvxFieldItem &rField, sal_Int32 nPara, sal_Int32 nPos, std::optional< Color > &rTxtColor, std::optional< Color > &rFldColor, std::optional< FontLineStyle > &rFldLineStyle)
 
virtual const SvxNumberFormatGetNumberFormat (sal_Int32 nPara) const
 
virtual tools::Rectangle GetBulletArea (sal_Int32 nPara)
 
void SetBeginDropHdl (const Link< EditView *, void > &rLink)
 sets a link that is called at the beginning of a drag operation at an edit view More...
 
Link< EditView *, void > const & GetBeginDropHdl () const
 
void SetEndDropHdl (const Link< EditView *, void > &rLink)
 sets a link that is called at the end of a drag operation at an edit view More...
 
Link< EditView *, void > const & GetEndDropHdl () const
 
void SetFirstWordCapitalization (bool bCapitalize)
 specifies if auto-correction should capitalize the first word or not (default is on) More...
 
void SetReplaceLeadingSingleQuotationMark (bool bReplace)
 specifies if auto-correction should replace a leading single quotation mark (apostrophe) or not (default is on) More...
 
EditDocGetEditDoc ()
 
const EditDocGetEditDoc () const
 
void dumpAsXmlEditDoc (xmlTextWriterPtr pWriter) const
 
ParaPortionListGetParaPortions ()
 
const ParaPortionListGetParaPortions () const
 
bool IsFormatted () const
 
bool IsHtmlImportHandlerSet () const
 
bool IsRtfImportHandlerSet () const
 
bool IsImportRTFStyleSheetsSet () const
 
void CallRtfImportHandler (RtfImportInfo &rInfo)
 
void CallHtmlImportHandler (HtmlImportInfo &rInfo)
 
void ParaAttribsToCharAttribs (ContentNode *pNode)
 
EditPaM CreateEditPaM (const EPaM &rEPaM)
 
EditPaM ConnectParagraphs (ContentNode *pLeft, ContentNode *pRight, bool bBackward)
 
EditPaM InsertField (const EditSelection &rEditSelection, const SvxFieldItem &rFld)
 
EditPaM InsertText (const EditSelection &aCurEditSelection, const OUString &rStr)
 
EditSelection InsertText (const EditTextObject &rTextObject, const EditSelection &rSel)
 
EditPaM InsertParaBreak (const EditSelection &rEditSelection)
 
EditPaM InsertLineBreak (const EditSelection &rEditSelection)
 
EditPaM CursorLeft (const EditPaM &rPaM, sal_uInt16 nCharacterIteratorMode=css::i18n::CharacterIteratorMode::SKIPCELL)
 
EditPaM CursorRight (const EditPaM &rPaM, sal_uInt16 nCharacterIteratorMode=css::i18n::CharacterIteratorMode::SKIPCELL)
 
void SeekCursor (ContentNode *pNode, sal_Int32 nPos, SvxFont &rFont)
 
EditPaM DeleteSelection (const EditSelection &rSel)
 
ESelection CreateESelection (const EditSelection &rSel) const
 
EditSelection CreateSelection (const ESelection &rSel)
 
const SfxItemSetGetBaseParaAttribs (sal_Int32 nPara) const
 
void SetParaAttribsOnly (sal_Int32 nPara, const SfxItemSet &rSet)
 
void SetAttribs (const EditSelection &rSel, const SfxItemSet &rSet, SetAttribsMode nSpecial=SetAttribsMode::NONE)
 
OUString GetSelected (const EditSelection &rSel) const
 
EditPaM DeleteSelected (const EditSelection &rSel)
 
SvtScriptType GetScriptType (const EditSelection &rSel) const
 
void RemoveParaPortion (sal_Int32 nNode)
 
void SetCallParaInsertedOrDeleted (bool b)
 
bool IsCallParaInsertedOrDeleted () const
 
void AppendDeletedNodeInfo (DeletedNodeInfo *pInfo)
 
void UpdateSelections ()
 
void InsertContent (ContentNode *pNode, sal_Int32 nPos)
 
EditPaM SplitContent (sal_Int32 nNode, sal_Int32 nSepPos)
 
EditPaM ConnectContents (sal_Int32 nLeftNode, bool bBackward)
 
void InsertFeature (const EditSelection &rEditSelection, const SfxPoolItem &rItem)
 
EditSelection MoveParagraphs (const Range &rParagraphs, sal_Int32 nNewPos)
 
void RemoveCharAttribs (sal_Int32 nPara, sal_uInt16 nWhich=0, bool bRemoveFeatures=false)
 
void RemoveCharAttribs (const EditSelection &rSel, bool bRemoveParaAttribs, sal_uInt16 nWhich)
 
void RemoveCharAttribs (const EditSelection &rSel, EERemoveParaAttribsMode eMode, sal_uInt16 nWhich)
 
ViewsTypeGetEditViews ()
 
const ViewsTypeGetEditViews () const
 
void SetUndoMode (bool b)
 
void FormatAndLayout (EditView *pCurView, bool bCalledFromUndo=false)
 
void Undo (EditView *pView)
 
void Redo (EditView *pView)
 
sal_Int32 GetOverflowingParaNum () const
 
sal_Int32 GetOverflowingLineNum () const
 
void ClearOverflowingParaNum ()
 
bool IsPageOverflow ()
 
void DisableAttributeExpanding ()
 
void EnableSkipOutsideFormat (bool set)
 
void SetLOKSpecialPaperSize (const Size &rSize)
 
const SizeGetLOKSpecialPaperSize () const
 

Static Public Member Functions

static void SetForbiddenCharsTable (const std::shared_ptr< SvxForbiddenCharactersTable > &xForbiddenChars)
 
static rtl::Reference< SfxItemPoolCreatePool ()
 
static SfxItemPoolGetGlobalItemPool ()
 
static bool DoesKeyChangeText (const KeyEvent &rKeyEvent)
 
static bool DoesKeyMoveCursor (const KeyEvent &rKeyEvent)
 
static bool IsSimpleCharInput (const KeyEvent &rKeyEvent)
 
static void SetFontInfoInItemSet (SfxItemSet &rItemSet, const vcl::Font &rFont)
 
static void SetFontInfoInItemSet (SfxItemSet &rItemSet, const SvxFont &rFont)
 
static vcl::Font CreateFontFromItemSet (const SfxItemSet &rItemSet, SvtScriptType nScriptType)
 
static SvxFont CreateSvxFontFromItemSet (const SfxItemSet &rItemSet)
 
static bool IsPrintable (sal_Unicode c)
 
static bool HasValidData (const css::uno::Reference< css::datatransfer::XTransferable > &rTransferable)
 
static void DumpData (const EditEngine *pEE, bool bInfoBox)
 

Private Member Functions

 EditEngine (const EditEngine &)=delete
 
EditEngineoperator= (const EditEngine &)=delete
 
EDITENG_DLLPRIVATE bool PostKeyEvent (const KeyEvent &rKeyEvent, EditView *pView, vcl::Window const *pFrameWin)
 
EDITENG_DLLPRIVATE void CursorMoved (const ContentNode *pPrevNode)
 
EDITENG_DLLPRIVATE void CheckIdleFormatter ()
 
EDITENG_DLLPRIVATE bool IsIdleFormatterActive () const
 
EDITENG_DLLPRIVATE ParaPortionFindParaPortion (ContentNode const *pNode)
 
EDITENG_DLLPRIVATE const ParaPortionFindParaPortion (ContentNode const *pNode) const
 
EDITENG_DLLPRIVATE const ParaPortionGetPrevVisPortion (const ParaPortion *pCurPortion) const
 
EDITENG_DLLPRIVATE css::uno::Reference< css::datatransfer::XTransferable > CreateTransferable (const EditSelection &rSelection)
 
EDITENG_DLLPRIVATE EditPaM EndOfWord (const EditPaM &rPaM)
 
EDITENG_DLLPRIVATE EditPaM GetPaM (const Point &aDocPos, bool bSmart=true)
 
EDITENG_DLLPRIVATE EditSelection SelectWord (const EditSelection &rCurSelection, sal_Int16 nWordType=css::i18n::WordType::ANYWORD_IGNOREWHITESPACES)
 
EDITENG_DLLPRIVATE tools::Long GetXPos (const ParaPortion *pParaPortion, const EditLine *pLine, sal_Int32 nIndex, bool bPreferPortionStart=false) const
 
EDITENG_DLLPRIVATE Range GetLineXPosStartEnd (const ParaPortion *pParaPortion, const EditLine *pLine) const
 
EDITENG_DLLPRIVATE InternalEditStatusGetInternalEditStatus ()
 
EDITENG_DLLPRIVATE void HandleBeginPasteOrDrop (PasteOrDropInfos &rInfos)
 
EDITENG_DLLPRIVATE void HandleEndPasteOrDrop (PasteOrDropInfos &rInfos)
 
EDITENG_DLLPRIVATE bool HasText () const
 
EDITENG_DLLPRIVATE const EditSelectionEngineGetSelectionEngine () const
 
EDITENG_DLLPRIVATE void SetInSelectionMode (bool b)
 

Private Attributes

std::unique_ptr< ImpEditEnginepImpEditEngine
 

Friends

class EditView
 
class ImpEditView
 
class Outliner
 
class TextChainingUtils
 

Detailed Description

Definition at line 144 of file include/editeng/editeng.hxx.

Member Typedef Documentation

◆ ViewsType

typedef std::vector<EditView*> EditEngine::ViewsType

Definition at line 153 of file include/editeng/editeng.hxx.

Constructor & Destructor Documentation

◆ EditEngine() [1/2]

EditEngine::EditEngine ( const EditEngine )
privatedelete

◆ EditEngine() [2/2]

EditEngine::EditEngine ( SfxItemPool pItemPool)

Definition at line 91 of file editeng.cxx.

References pImpEditEngine.

◆ ~EditEngine()

EditEngine::~EditEngine ( )
virtual

Definition at line 96 of file editeng.cxx.

Member Function Documentation

◆ AppendDeletedNodeInfo()

void EditEngine::AppendDeletedNodeInfo ( DeletedNodeInfo pInfo)

Definition at line 731 of file editeng.cxx.

References pImpEditEngine.

Referenced by EditUndoDelContent::Redo().

◆ ApplyChangedSentence()

void EditEngine::ApplyChangedSentence ( EditView const &  rEditView,
const svx::SpellPortions rNewPortions,
bool  bRecheck 
)

Definition at line 2253 of file editeng.cxx.

References pImpEditEngine.

◆ CalcFieldValue()

OUString EditEngine::CalcFieldValue ( const SvxFieldItem rField,
sal_Int32  nPara,
sal_Int32  nPos,
std::optional< Color > &  rTxtColor,
std::optional< Color > &  rFldColor,
std::optional< FontLineStyle > &  rFldLineStyle 
)
virtual

Reimplemented in OutlinerEditEng.

Definition at line 2618 of file editeng.cxx.

Referenced by SvxEditEngineForwarder::CalcFieldValue().

◆ CalcTextWidth()

sal_uInt32 EditEngine::CalcTextWidth ( )

◆ CallHtmlImportHandler()

void EditEngine::CallHtmlImportHandler ( HtmlImportInfo rInfo)

◆ CallRtfImportHandler()

void EditEngine::CallRtfImportHandler ( RtfImportInfo rInfo)

◆ CheckIdleFormatter()

void EditEngine::CheckIdleFormatter ( )
private

◆ Clear()

void EditEngine::Clear ( )

Definition at line 1487 of file editeng.cxx.

References pImpEditEngine.

◆ ClearModifyFlag()

void EditEngine::ClearModifyFlag ( )

Definition at line 1668 of file editeng.cxx.

References pImpEditEngine.

◆ ClearOverflowingParaNum()

void EditEngine::ClearOverflowingParaNum ( )

Definition at line 2883 of file editeng.cxx.

References pImpEditEngine.

◆ ClearPolygon()

void EditEngine::ClearPolygon ( )

Definition at line 543 of file editeng.cxx.

References pImpEditEngine.

◆ ClearSpellErrors()

void EditEngine::ClearSpellErrors ( )

Definition at line 2238 of file editeng.cxx.

References pImpEditEngine.

◆ CompleteOnlineSpelling()

void EditEngine::CompleteOnlineSpelling ( )

Definition at line 2416 of file editeng.cxx.

References pImpEditEngine.

◆ ConnectContents()

EditPaM EditEngine::ConnectContents ( sal_Int32  nLeftNode,
bool  bBackward 
)

Definition at line 751 of file editeng.cxx.

References pImpEditEngine.

Referenced by EditUndoConnectParas::Redo(), and EditUndoSplitPara::Undo().

◆ ConnectParagraphs()

EditPaM EditEngine::ConnectParagraphs ( ContentNode pLeft,
ContentNode pRight,
bool  bBackward 
)

Definition at line 829 of file editeng.cxx.

References pImpEditEngine.

Referenced by EditRTFParser::CallParser(), and SvxReadXML().

◆ ConvertNextDocument()

bool EditEngine::ConvertNextDocument ( )
virtual

Reimplemented in OutlinerEditEng.

Definition at line 2263 of file editeng.cxx.

Referenced by TextConvWrapper::ConvMore_impl().

◆ CreateEditPaM()

EditPaM EditEngine::CreateEditPaM ( const EPaM rEPaM)

◆ CreateESelection()

ESelection EditEngine::CreateESelection ( const EditSelection rSel) const

◆ CreateFontFromItemSet()

vcl::Font EditEngine::CreateFontFromItemSet ( const SfxItemSet rItemSet,
SvtScriptType  nScriptType 
)
static

Definition at line 2701 of file editeng.cxx.

References CreateFont().

Referenced by Outliner::ImpCalcBulletFont().

◆ CreatePool()

rtl::Reference< SfxItemPool > EditEngine::CreatePool ( )
static

Definition at line 2631 of file editeng.cxx.

Referenced by getEditEngineItemPool(), and GetGlobalItemPool().

◆ CreateSelection()

EditSelection EditEngine::CreateSelection ( const ESelection rSel)

◆ CreateSvxFontFromItemSet()

SvxFont EditEngine::CreateSvxFontFromItemSet ( const SfxItemSet rItemSet)
static

◆ CreateTextObject() [1/3]

std::unique_ptr< EditTextObject > EditEngine::CreateTextObject ( )

Definition at line 1517 of file editeng.cxx.

References pImpEditEngine.

Referenced by SvxEditEngineForwarder::CopyText().

◆ CreateTextObject() [2/3]

std::unique_ptr< EditTextObject > EditEngine::CreateTextObject ( const ESelection rESelection)

Definition at line 1522 of file editeng.cxx.

References pImpEditEngine.

◆ CreateTextObject() [3/3]

std::unique_ptr< EditTextObject > EditEngine::CreateTextObject ( sal_Int32  nPara,
sal_Int32  nParas = 1 
)

◆ CreateTransferable() [1/2]

uno::Reference< datatransfer::XTransferable > EditEngine::CreateTransferable ( const EditSelection rSelection)
private

◆ CreateTransferable() [2/2]

css::uno::Reference< css::datatransfer::XTransferable > EditEngine::CreateTransferable ( const ESelection rSelection) const

Definition at line 2488 of file editeng.cxx.

References pImpEditEngine.

◆ CursorLeft()

EditPaM EditEngine::CursorLeft ( const EditPaM rPaM,
sal_uInt16  nCharacterIteratorMode = css::i18n::CharacterIteratorMode::SKIPCELL 
)

Definition at line 890 of file editeng.cxx.

References pImpEditEngine.

Referenced by EditRTFParser::MovePos().

◆ CursorMoved()

void EditEngine::CursorMoved ( const ContentNode pPrevNode)
private

Definition at line 681 of file editeng.cxx.

References pImpEditEngine.

Referenced by ImpEditView::SetCursorAtPoint().

◆ CursorRight()

EditPaM EditEngine::CursorRight ( const EditPaM rPaM,
sal_uInt16  nCharacterIteratorMode = css::i18n::CharacterIteratorMode::SKIPCELL 
)

Definition at line 895 of file editeng.cxx.

References pImpEditEngine.

Referenced by ImpEditView::ImplGetEditCursor(), and EditRTFParser::MovePos().

◆ DeleteSelected()

EditPaM EditEngine::DeleteSelected ( const EditSelection rSel)

Definition at line 970 of file editeng.cxx.

References pImpEditEngine.

Referenced by EditUndoTransliteration::Undo().

◆ DeleteSelection()

EditPaM EditEngine::DeleteSelection ( const EditSelection rSel)

◆ DisableAttributeExpanding()

void EditEngine::DisableAttributeExpanding ( )

Definition at line 2892 of file editeng.cxx.

References pImpEditEngine.

◆ DoesKeyChangeText()

bool EditEngine::DoesKeyChangeText ( const KeyEvent rKeyEvent)
static

◆ DoesKeyMoveCursor()

bool EditEngine::DoesKeyMoveCursor ( const KeyEvent rKeyEvent)
static

◆ Draw() [1/4]

void EditEngine::Draw ( OutputDevice rOutDev,
const Point rStartPos,
Degree10  nOrientation = 0_deg10 
)

◆ Draw() [2/4]

void EditEngine::Draw ( OutputDevice rOutDev,
const tools::Rectangle rOutRect 
)

Definition at line 204 of file editeng.cxx.

References Draw().

Referenced by Draw().

◆ Draw() [3/4]

void EditEngine::Draw ( OutputDevice rOutDev,
const tools::Rectangle rOutRect,
const Point rStartDocPos 
)

Definition at line 227 of file editeng.cxx.

References Draw().

◆ Draw() [4/4]

void EditEngine::Draw ( OutputDevice rOutDev,
const tools::Rectangle rOutRect,
const Point rStartDocPos,
bool  bClip 
)

◆ DrawingTab()

void EditEngine::DrawingTab ( const Point rStartPos,
tools::Long  nWidth,
const OUString &  rChar,
const SvxFont rFont,
sal_Int32  nPara,
sal_uInt8  nRightToLeft,
bool  bEndOfLine,
bool  bEndOfParagraph,
const Color rOverlineColor,
const Color rTextLineColor 
)
virtual

Reimplemented in OutlinerEditEng.

Definition at line 2506 of file editeng.cxx.

Referenced by ImpEditEngine::Paint().

◆ DrawingText()

void EditEngine::DrawingText ( const Point rStartPos,
const OUString &  rText,
sal_Int32  nTextStart,
sal_Int32  nTextLen,
o3tl::span< const sal_Int32 >  pDXArray,
o3tl::span< const sal_Bool pKashidaArray,
const SvxFont rFont,
sal_Int32  nPara,
sal_uInt8  nRightToLeft,
const EEngineData::WrongSpellVector pWrongSpellVector,
const SvxFieldData pFieldData,
bool  bEndOfLine,
bool  bEndOfParagraph,
const css::lang::Locale *  pLocale,
const Color rOverlineColor,
const Color rTextLineColor 
)
virtual

Reimplemented in OutlinerEditEng.

Definition at line 2497 of file editeng.cxx.

Referenced by ImpEditEngine::Paint().

◆ dumpAsXmlEditDoc()

void EditEngine::dumpAsXmlEditDoc ( xmlTextWriterPtr  pWriter) const

Definition at line 915 of file editeng.cxx.

References pImpEditEngine.

◆ DumpData()

void EditEngine::DumpData ( const EditEngine pEE,
bool  bInfoBox 
)
static

Definition at line 331 of file editdbg.cxx.

References ContentNode::Copy(), Count, SfxStyleSheetIterator::Count(), TextPortionList::Count(), Application::CreateMessageDialog(), DBG_ASSERT, DbgOutItem(), DbgOutItemSet(), FILE, SfxStyleSheetIterator::First(), GetActiveView(), CharAttribList::GetAttribs(), EditView::GetAttribs(), ContentNode::GetCharAttribs(), GetCharAttribs(), ContentNode::GetContentAttribs(), GetControlWord(), GetEmptyItemSet(), EditLine::GetEnd(), EditLine::GetEndPortion(), SfxStyleSheetBase::GetFollow(), EditLine::GetHeight(), ContentAttribs::GetItems(), SfxStyleSheetBase::GetItemSet(), TextPortion::GetKind(), TextPortion::GetLen(), ParaPortion::GetLines(), vcl::Window::GetMapMode(), MapMode::GetMapUnit(), EditLine::GetMaxAscent(), GetMaxAutoPaperSize(), GetMinAutoPaperSize(), SfxStyleSheetBase::GetName(), ParaPortion::GetNode(), EditView::GetOutputArea(), GetPaperSize(), SfxStyleSheetBase::GetParent(), SfxItemSet::GetPool(), EditView::GetSelection(), tools::Rectangle::GetSize(), TextPortion::GetSize(), EditLine::GetStart(), EditLine::GetStartPortion(), ContentNode::GetString(), ContentNode::GetStyleSheet(), ParaPortion::GetTextPortions(), GetView(), GetViewCount(), EditView::GetVisArea(), EditView::GetWindow(), vcl::Window::HasFocus(), Size::Height(), ParaPortion::IsInvalid(), IsUpdateLayout(), tools::Rectangle::Left(), ContentNode::Len(), n, ESelection::nEndPara, ESelection::nEndPos, SfxStyleSheetIterator::Next(), ESelection::nStartPara, ESelection::nStartPos, OUStringToOString(), pImpEditEngine, SAL_PRI_SIZET, tools::Rectangle::Top(), Size::Width(), and z.

Referenced by Draw(), and PostKeyEvent().

◆ EnableAutoColor()

void EditEngine::EnableAutoColor ( bool  b)

Definition at line 184 of file editeng.cxx.

References pImpEditEngine.

◆ EnableSkipOutsideFormat()

void EditEngine::EnableSkipOutsideFormat ( bool  set)

Definition at line 2896 of file editeng.cxx.

References pImpEditEngine, and set().

◆ EnableUndo()

void EditEngine::EnableUndo ( bool  bEnable)

Definition at line 100 of file editeng.cxx.

References pImpEditEngine.

◆ EndOfWord()

EditPaM EditEngine::EndOfWord ( const EditPaM rPaM)
private

Definition at line 857 of file editeng.cxx.

References pImpEditEngine.

◆ EraseVirtualDevice()

void EditEngine::EraseVirtualDevice ( )

Definition at line 2180 of file editeng.cxx.

References pImpEditEngine.

◆ FieldClicked()

bool EditEngine::FieldClicked ( const SvxFieldItem rField)
virtual
Returns
true, when click was consumed. false otherwise.

Definition at line 2623 of file editeng.cxx.

Referenced by SvxEditEngineForwarder::FieldClicked(), and ImpEditEngine::MouseButtonUp().

◆ FindDocPosition()

EPosition EditEngine::FindDocPosition ( const Point rDocPos) const

◆ FindParagraph()

sal_Int32 EditEngine::FindParagraph ( tools::Long  nDocPosY)

Definition at line 2428 of file editeng.cxx.

References pImpEditEngine.

◆ FindParaPortion() [1/2]

ParaPortion * EditEngine::FindParaPortion ( ContentNode const *  pNode)
private

Definition at line 696 of file editeng.cxx.

References pImpEditEngine.

◆ FindParaPortion() [2/2]

const ParaPortion * EditEngine::FindParaPortion ( ContentNode const *  pNode) const
private

Definition at line 701 of file editeng.cxx.

References pImpEditEngine.

◆ ForceAutoColor()

void EditEngine::ForceAutoColor ( bool  b)

Definition at line 189 of file editeng.cxx.

References pImpEditEngine.

◆ FormatAndLayout()

void EditEngine::FormatAndLayout ( EditView pCurView,
bool  bCalledFromUndo = false 
)

◆ GetActiveView()

EditView * EditEngine::GetActiveView ( ) const

◆ GetAllMisspellRanges()

void EditEngine::GetAllMisspellRanges ( std::vector< editeng::MisspellRanges > &  rRanges) const

Definition at line 2200 of file editeng.cxx.

References pImpEditEngine.

◆ GetAttribs() [1/2]

SfxItemSet EditEngine::GetAttribs ( const ESelection rSel,
EditEngineAttribs  nOnlyHardAttrib = EditEngineAttribs::All 
)

◆ GetAttribs() [2/2]

SfxItemSet EditEngine::GetAttribs ( sal_Int32  nPara,
sal_Int32  nStart,
sal_Int32  nEnd,
GetAttribsFlags  nFlags = GetAttribsFlags::ALL 
) const

◆ GetAutoColor()

Color EditEngine::GetAutoColor ( ) const

Definition at line 179 of file editeng.cxx.

References pImpEditEngine.

◆ GetBackgroundColor()

Color const & EditEngine::GetBackgroundColor ( ) const

Definition at line 174 of file editeng.cxx.

References pImpEditEngine.

◆ GetBaseParaAttribs()

const SfxItemSet & EditEngine::GetBaseParaAttribs ( sal_Int32  nPara) const

Definition at line 950 of file editeng.cxx.

References pImpEditEngine.

Referenced by EditHTMLParser::ImpSetAttribs(), and EditRTFParser::SetAttrInDoc().

◆ GetBeginDropHdl()

Link< EditView *, void > const & EditEngine::GetBeginDropHdl ( ) const

Definition at line 2814 of file editeng.cxx.

References pImpEditEngine.

Referenced by ImpEditView::drop().

◆ GetBulletArea()

tools::Rectangle EditEngine::GetBulletArea ( sal_Int32  nPara)
virtual

◆ GetCharacterBounds()

tools::Rectangle EditEngine::GetCharacterBounds ( const EPosition rPos) const

◆ GetCharAttribs()

void EditEngine::GetCharAttribs ( sal_Int32  nPara,
std::vector< EECharAttrib > &  rLst 
) const

◆ GetControlWord()

EEControlBits EditEngine::GetControlWord ( ) const

◆ GetDefaultHorizontalTextDirection()

EEHorizontalTextDirection EditEngine::GetDefaultHorizontalTextDirection ( ) const

Definition at line 471 of file editeng.cxx.

References pImpEditEngine.

◆ GetDefaultLanguage()

LanguageType EditEngine::GetDefaultLanguage ( ) const

Definition at line 2220 of file editeng.cxx.

References pImpEditEngine.

◆ GetDocPos()

Point EditEngine::GetDocPos ( const Point rPaperPos) const

◆ GetDocPosTopLeft()

Point EditEngine::GetDocPosTopLeft ( sal_Int32  nParagraph)

◆ GetEditDoc() [1/2]

EditDoc & EditEngine::GetEditDoc ( )

◆ GetEditDoc() [2/2]

const EditDoc & EditEngine::GetEditDoc ( ) const

Definition at line 910 of file editeng.cxx.

References pImpEditEngine.

◆ GetEditTextObjectPool()

SfxItemPool * EditEngine::GetEditTextObjectPool ( ) const

Definition at line 2058 of file editeng.cxx.

References pImpEditEngine.

◆ GetEditViews() [1/2]

EditEngine::ViewsType & EditEngine::GetEditViews ( )

Definition at line 784 of file editeng.cxx.

References pImpEditEngine.

Referenced by EditUndoManager::Redo(), and EditUndoManager::Undo().

◆ GetEditViews() [2/2]

const EditEngine::ViewsType & EditEngine::GetEditViews ( ) const

Definition at line 789 of file editeng.cxx.

References pImpEditEngine.

◆ GetEmptyItemSet()

const SfxItemSet & EditEngine::GetEmptyItemSet ( ) const

◆ GetEmptyTextObject()

std::unique_ptr< EditTextObject > EditEngine::GetEmptyTextObject ( ) const

Definition at line 1528 of file editeng.cxx.

References pImpEditEngine.

◆ GetEndDropHdl()

Link< EditView *, void > const & EditEngine::GetEndDropHdl ( ) const

Definition at line 2825 of file editeng.cxx.

References pImpEditEngine.

Referenced by ImpEditView::dragDropEnd().

◆ GetFieldCount()

sal_uInt16 EditEngine::GetFieldCount ( sal_Int32  nPara) const

◆ GetFieldInfo()

EFieldInfo EditEngine::GetFieldInfo ( sal_Int32  nPara,
sal_uInt16  nField 
) const

◆ GetFirstLineStartX()

tools::Long EditEngine::GetFirstLineStartX ( sal_Int32  nParagraph)

◆ getGlobalFontScale() [1/2]

basegfx::B2DTuple EditEngine::getGlobalFontScale ( ) const

Definition at line 2296 of file editeng.cxx.

References pImpEditEngine, x, and y.

◆ getGlobalFontScale() [2/2]

void EditEngine::getGlobalFontScale ( double &  rX,
double &  rY 
) const

Definition at line 2291 of file editeng.cxx.

References pImpEditEngine.

◆ GetGlobalItemPool()

SfxItemPool & EditEngine::GetGlobalItemPool ( )
static

◆ getGlobalSpacingScale() [1/2]

basegfx::B2DTuple EditEngine::getGlobalSpacingScale ( ) const

Definition at line 2283 of file editeng.cxx.

References pImpEditEngine, x, and y.

◆ getGlobalSpacingScale() [2/2]

void EditEngine::getGlobalSpacingScale ( double &  rX,
double &  rY 
) const

Definition at line 2278 of file editeng.cxx.

References pImpEditEngine.

◆ GetHtmlImportHdl()

const Link< HtmlImportInfo &, void > & EditEngine::GetHtmlImportHdl ( ) const

Definition at line 1570 of file editeng.cxx.

References pImpEditEngine.

◆ GetInternalEditStatus()

InternalEditStatus & EditEngine::GetInternalEditStatus ( )
private

Definition at line 900 of file editeng.cxx.

References pImpEditEngine.

Referenced by ImpEditView::drop(), ImpEditView::Paste(), and ImpEditView::ShowCursor().

◆ GetLanguage() [1/2]

editeng::LanguageSpan EditEngine::GetLanguage ( const EditPaM rPaM) const

◆ GetLanguage() [2/2]

editeng::LanguageSpan EditEngine::GetLanguage ( sal_Int32  nPara,
sal_Int32  nPos 
) const

Definition at line 487 of file editeng.cxx.

References DBG_ASSERT, nPos, and pImpEditEngine.

◆ GetLineBoundaries()

void EditEngine::GetLineBoundaries ( sal_Int32 &  rStart,
sal_Int32 &  rEnd,
sal_Int32  nParagraph,
sal_Int32  nLine 
) const

◆ GetLineCount()

sal_Int32 EditEngine::GetLineCount ( sal_Int32  nParagraph) const

Definition at line 594 of file editeng.cxx.

References pImpEditEngine.

Referenced by SvxEditEngineForwarder::GetLineCount().

◆ GetLineHeight()

sal_uInt32 EditEngine::GetLineHeight ( sal_Int32  nParagraph)

Definition at line 622 of file editeng.cxx.

References pImpEditEngine.

Referenced by SvxEditEngineForwarder::GetCharBounds().

◆ GetLineLen()

sal_Int32 EditEngine::GetLineLen ( sal_Int32  nParagraph,
sal_Int32  nLine 
) const

Definition at line 601 of file editeng.cxx.

References pImpEditEngine.

Referenced by SvxEditEngineForwarder::GetLineLen().

◆ GetLineNumberAtIndex()

sal_Int32 EditEngine::GetLineNumberAtIndex ( sal_Int32  nPara,
sal_Int32  nIndex 
) const

◆ GetLineXPosStartEnd()

Range EditEngine::GetLineXPosStartEnd ( const ParaPortion pParaPortion,
const EditLine pLine 
) const
private

Definition at line 879 of file editeng.cxx.

References pImpEditEngine.

Referenced by ImpEditView::DrawSelectionXOR().

◆ GetLOKSpecialPaperSize()

const Size & EditEngine::GetLOKSpecialPaperSize ( ) const

Definition at line 2906 of file editeng.cxx.

References pImpEditEngine.

◆ GetMaxAutoPaperSize()

const Size & EditEngine::GetMaxAutoPaperSize ( ) const

Definition at line 558 of file editeng.cxx.

References pImpEditEngine.

Referenced by DumpData().

◆ GetMinAutoPaperSize()

const Size & EditEngine::GetMinAutoPaperSize ( ) const

Definition at line 548 of file editeng.cxx.

References pImpEditEngine.

Referenced by DumpData().

◆ GetNotifyHdl()

Link< EENotify &, void > const & EditEngine::GetNotifyHdl ( ) const

Definition at line 1550 of file editeng.cxx.

References pImpEditEngine.

Referenced by ParagraphDeleted(), ParagraphHeightChanged(), and ParagraphInserted().

◆ GetNumberFormat()

const SvxNumberFormat * EditEngine::GetNumberFormat ( sal_Int32  nPara) const
virtual

Reimplemented in OutlinerEditEng.

Definition at line 2027 of file editeng.cxx.

Referenced by ImpEditEngine::GetNumberFormat().

◆ GetOverflowingLineNum()

sal_Int32 EditEngine::GetOverflowingLineNum ( ) const

Definition at line 2879 of file editeng.cxx.

References pImpEditEngine.

◆ GetOverflowingParaNum()

sal_Int32 EditEngine::GetOverflowingParaNum ( ) const

Definition at line 2875 of file editeng.cxx.

References pImpEditEngine.

◆ GetPaM()

EditPaM EditEngine::GetPaM ( const Point aDocPos,
bool  bSmart = true 
)
private

◆ GetPaperSize()

const Size & EditEngine::GetPaperSize ( ) const

Definition at line 421 of file editeng.cxx.

References pImpEditEngine.

Referenced by Draw(), DumpData(), and GetDocPos().

◆ GetParaAttrib() [1/2]

const SfxPoolItem & EditEngine::GetParaAttrib ( sal_Int32  nPara,
sal_uInt16  nWhich 
) const

◆ GetParaAttrib() [2/2]

template<class T >
const T & EditEngine::GetParaAttrib ( sal_Int32  nPara,
TypedWhichId< T >  nWhich 
) const
inline

Definition at line 338 of file include/editeng/editeng.hxx.

◆ GetParaAttribs()

const SfxItemSet & EditEngine::GetParaAttribs ( sal_Int32  nPara) const

◆ GetParaBounds()

tools::Rectangle EditEngine::GetParaBounds ( sal_Int32  nPara)

Definition at line 630 of file editeng.cxx.

References GetDocPosTopLeft(), IsEffectivelyVertical(), pImpEditEngine, and Point::Y().

◆ GetParagraphCount()

sal_Int32 EditEngine::GetParagraphCount ( ) const

◆ GetParagraphInfos()

ParagraphInfos EditEngine::GetParagraphInfos ( sal_Int32  nPara)

◆ GetParaPortions() [1/2]

ParaPortionList & EditEngine::GetParaPortions ( )

◆ GetParaPortions() [2/2]

const ParaPortionList & EditEngine::GetParaPortions ( ) const

Definition at line 925 of file editeng.cxx.

References pImpEditEngine.

◆ GetPortions()

void EditEngine::GetPortions ( sal_Int32  nPara,
std::vector< sal_Int32 > &  rList 
)

◆ GetPrevVisPortion()

const ParaPortion * EditEngine::GetPrevVisPortion ( const ParaPortion pCurPortion) const
private

Definition at line 706 of file editeng.cxx.

References pImpEditEngine.

◆ GetRefDevice()

OutputDevice * EditEngine::GetRefDevice ( ) const

◆ GetRefMapMode()

MapMode const & EditEngine::GetRefMapMode ( ) const

Definition at line 164 of file editeng.cxx.

References pImpEditEngine.

Referenced by SvxEditEngineForwarder::GetMapMode(), and EditHTMLParser::ImpSetStyleSheet().

◆ GetRotation()

TextRotation EditEngine::GetRotation ( ) const

Definition at line 436 of file editeng.cxx.

References pImpEditEngine.

◆ GetRtfImportHdl()

const Link< RtfImportInfo &, void > & EditEngine::GetRtfImportHdl ( ) const

Definition at line 1580 of file editeng.cxx.

References pImpEditEngine.

◆ GetScriptType() [1/2]

SvtScriptType EditEngine::GetScriptType ( const EditSelection rSel) const

Definition at line 711 of file editeng.cxx.

References pImpEditEngine.

◆ GetScriptType() [2/2]

SvtScriptType EditEngine::GetScriptType ( const ESelection rSelection) const

Definition at line 476 of file editeng.cxx.

References pImpEditEngine.

Referenced by GetStatusValueForThesaurusFromContext().

◆ GetSelected()

OUString EditEngine::GetSelected ( const EditSelection rSel) const

Definition at line 965 of file editeng.cxx.

References pImpEditEngine.

Referenced by EdtAutoCorrDoc::SetINetAttr().

◆ GetSelectionEngine()

const EditSelectionEngine & EditEngine::GetSelectionEngine ( ) const
private

Definition at line 990 of file editeng.cxx.

References pImpEditEngine.

Referenced by ImpEditView::SetCursorAtPoint().

◆ GetSpeller()

Reference< XSpellChecker1 > const & EditEngine::GetSpeller ( )

Definition at line 2190 of file editeng.cxx.

References pImpEditEngine.

◆ GetStandardFont()

vcl::Font EditEngine::GetStandardFont ( sal_Int32  nPara)

Definition at line 1810 of file editeng.cxx.

References GetStandardSvxFont().

◆ GetStandardSvxFont()

SvxFont EditEngine::GetStandardSvxFont ( sal_Int32  nPara)

◆ GetStatusEventHdl()

Link< EditStatus &, void > const & EditEngine::GetStatusEventHdl ( ) const

Definition at line 1560 of file editeng.cxx.

References pImpEditEngine.

◆ GetStyleSheet() [1/2]

SfxStyleSheet * EditEngine::GetStyleSheet ( sal_Int32  nPara)

Definition at line 2153 of file editeng.cxx.

References pImpEditEngine.

◆ GetStyleSheet() [2/2]

const SfxStyleSheet * EditEngine::GetStyleSheet ( sal_Int32  nPara) const

◆ GetStyleSheetPool()

SfxStyleSheetPool * EditEngine::GetStyleSheetPool ( )

◆ GetText() [1/3]

OUString EditEngine::GetText ( const ESelection rSelection) const

Definition at line 578 of file editeng.cxx.

References pImpEditEngine.

◆ GetText() [2/3]

OUString EditEngine::GetText ( LineEnd  eEnd = LINEEND_LF) const

◆ GetText() [3/3]

OUString EditEngine::GetText ( sal_Int32  nParagraph) const

Definition at line 1655 of file editeng.cxx.

References aStr, Count, GetEditDoc(), and pImpEditEngine.

◆ GetTextHeight() [1/2]

sal_uInt32 EditEngine::GetTextHeight ( ) const

◆ GetTextHeight() [2/2]

sal_uInt32 EditEngine::GetTextHeight ( sal_Int32  nParagraph) const

Definition at line 654 of file editeng.cxx.

References pImpEditEngine.

◆ GetTextHeightNTP()

sal_uInt32 EditEngine::GetTextHeightNTP ( ) const

Definition at line 1449 of file editeng.cxx.

References IsEffectivelyVertical(), and pImpEditEngine.

◆ GetTextLen() [1/2]

sal_Int32 EditEngine::GetTextLen ( ) const

◆ GetTextLen() [2/2]

sal_Int32 EditEngine::GetTextLen ( sal_Int32  nParagraph) const

Definition at line 1646 of file editeng.cxx.

References DBG_ASSERT, ContentNode::Len(), and pImpEditEngine.

◆ GetUndoComment()

OUString EditEngine::GetUndoComment ( sal_uInt16  nUndoId) const
virtual

◆ GetUndoManager()

SfxUndoManager & EditEngine::GetUndoManager ( )

Definition at line 115 of file editeng.cxx.

References pImpEditEngine.

◆ GetVertical()

bool EditEngine::GetVertical ( ) const

Definition at line 451 of file editeng.cxx.

References pImpEditEngine.

◆ GetView()

EditView * EditEngine::GetView ( size_t  nIndex = 0) const

Definition at line 349 of file editeng.cxx.

References nIndex, and pImpEditEngine.

Referenced by DumpData().

◆ GetViewCount()

size_t EditEngine::GetViewCount ( ) const

Definition at line 354 of file editeng.cxx.

References pImpEditEngine.

Referenced by DumpData().

◆ GetWord() [1/2]

ESelection EditEngine::GetWord ( const ESelection rSelection,
sal_uInt16  nWordType 
) const

Definition at line 671 of file editeng.cxx.

References pE.

◆ GetWord() [2/2]

OUString EditEngine::GetWord ( sal_Int32  nPara,
sal_Int32  nIndex 
)

◆ GetWordDelimiters()

const OUString & EditEngine::GetWordDelimiters ( ) const

Definition at line 2175 of file editeng.cxx.

References pImpEditEngine.

◆ GetXPos()

tools::Long EditEngine::GetXPos ( const ParaPortion pParaPortion,
const EditLine pLine,
sal_Int32  nIndex,
bool  bPreferPortionStart = false 
) const
private

Definition at line 873 of file editeng.cxx.

References nIndex, and pImpEditEngine.

Referenced by ImpEditView::DrawSelectionXOR().

◆ HandleBeginPasteOrDrop()

void EditEngine::HandleBeginPasteOrDrop ( PasteOrDropInfos rInfos)
private

Definition at line 975 of file editeng.cxx.

References pImpEditEngine.

Referenced by ImpEditView::drop(), and ImpEditView::Paste().

◆ HandleEndPasteOrDrop()

void EditEngine::HandleEndPasteOrDrop ( PasteOrDropInfos rInfos)
private

Definition at line 980 of file editeng.cxx.

References pImpEditEngine.

Referenced by ImpEditView::drop(), and ImpEditView::Paste().

◆ HasConvertibleTextPortion()

bool EditEngine::HasConvertibleTextPortion ( LanguageType  nLang)

Definition at line 2258 of file editeng.cxx.

References pImpEditEngine.

◆ HasOnlineSpellErrors()

bool EditEngine::HasOnlineSpellErrors ( ) const

Definition at line 2404 of file editeng.cxx.

References WrongList::empty(), ContentNode::GetWrongList(), n, and pImpEditEngine.

◆ HasParaAttrib()

bool EditEngine::HasParaAttrib ( sal_Int32  nPara,
sal_uInt16  nWhich 
) const

Definition at line 1759 of file editeng.cxx.

References pImpEditEngine.

Referenced by SvxEditEngineForwarder::GetParaAttribs().

◆ HasSpellErrors()

EESpellState EditEngine::HasSpellErrors ( )

Definition at line 2230 of file editeng.cxx.

References NoSpeller, and pImpEditEngine.

◆ HasText() [1/2]

bool EditEngine::HasText ( ) const
private

Definition at line 985 of file editeng.cxx.

References pImpEditEngine.

Referenced by ImpEditView::dragDropEnd().

◆ HasText() [2/2]

bool EditEngine::HasText ( const SvxSearchItem rSearchItem)

Definition at line 2268 of file editeng.cxx.

References pImpEditEngine.

◆ HasTriedMergeOnLastAddUndo()

bool EditEngine::HasTriedMergeOnLastAddUndo ( ) const

returns the value last used for bTryMerge while calling ImpEditEngine::InsertUndo This is currently used in a bad but needed hack to get undo actions merged in the OutlineView in impress.

Do not use it unless you want to sell your soul too!

Definition at line 144 of file editeng.cxx.

References pImpEditEngine.

◆ HasValidData()

bool EditEngine::HasValidData ( const css::uno::Reference< css::datatransfer::XTransferable > &  rTransferable)
static

◆ HasView()

bool EditEngine::HasView ( EditView pView) const

Definition at line 359 of file editeng.cxx.

References pImpEditEngine.

◆ InsertContent()

void EditEngine::InsertContent ( ContentNode pNode,
sal_Int32  nPos 
)

Definition at line 741 of file editeng.cxx.

References nPos, and pImpEditEngine.

Referenced by EditUndoDelContent::Undo().

◆ InsertFeature()

void EditEngine::InsertFeature ( const EditSelection rEditSelection,
const SfxPoolItem rItem 
)

Definition at line 756 of file editeng.cxx.

References pImpEditEngine.

Referenced by EditUndoInsertFeature::Redo().

◆ InsertField()

EditPaM EditEngine::InsertField ( const EditSelection rEditSelection,
const SvxFieldItem rFld 
)

◆ InsertLineBreak()

EditPaM EditEngine::InsertLineBreak ( const EditSelection rEditSelection)

Definition at line 2870 of file editeng.cxx.

References pImpEditEngine.

Referenced by EditRTFParser::NextToken().

◆ InsertParaBreak()

EditPaM EditEngine::InsertParaBreak ( const EditSelection rEditSelection)

◆ InsertParagraph() [1/2]

void EditEngine::InsertParagraph ( sal_Int32  nPara,
const EditTextObject rTxtObj,
const bool  bAppend = false 
)

◆ InsertParagraph() [2/2]

void EditEngine::InsertParagraph ( sal_Int32  nPara,
const OUString &  rText 
)

◆ InsertText() [1/3]

EditPaM EditEngine::InsertText ( const EditSelection aCurEditSelection,
const OUString &  rStr 
)

Definition at line 840 of file editeng.cxx.

References pImpEditEngine.

◆ InsertText() [2/3]

EditSelection EditEngine::InsertText ( const EditTextObject rTextObject,
const EditSelection rSel 
)

Definition at line 845 of file editeng.cxx.

References pImpEditEngine.

◆ InsertText() [3/3]

EditSelection EditEngine::InsertText ( css::uno::Reference< css::datatransfer::XTransferable > const &  rxDataObj,
const OUString &  rBaseURL,
const EditPaM rPaM,
bool  bUseSpecial 
)

◆ InsertView()

void EditEngine::InsertView ( EditView pEditView,
size_t  nIndex = EE_APPEND 
)

Definition at line 297 of file editeng.cxx.

References nIndex, pImpEditEngine, and EditView::pImpEditView.

◆ IsCallParaInsertedOrDeleted()

bool EditEngine::IsCallParaInsertedOrDeleted ( ) const

Definition at line 726 of file editeng.cxx.

References pImpEditEngine.

Referenced by EditUndoDelContent::Redo(), and EditUndoConnectParas::Undo().

◆ IsEffectivelyVertical()

bool EditEngine::IsEffectivelyVertical ( ) const

◆ IsFlatMode()

bool EditEngine::IsFlatMode ( ) const

Definition at line 1864 of file editeng.cxx.

References pImpEditEngine.

◆ IsForceAutoColor()

bool EditEngine::IsForceAutoColor ( ) const

Definition at line 194 of file editeng.cxx.

References pImpEditEngine.

◆ IsFormatted()

bool EditEngine::IsFormatted ( ) const

Definition at line 885 of file editeng.cxx.

References pImpEditEngine.

Referenced by ImpEditView::ShowCursor().

◆ IsHtmlImportHandlerSet()

bool EditEngine::IsHtmlImportHandlerSet ( ) const

◆ IsIdleFormatterActive()

bool EditEngine::IsIdleFormatterActive ( ) const
private

Definition at line 691 of file editeng.cxx.

References pImpEditEngine.

Referenced by ImpEditView::DrawSelectionXOR().

◆ IsImportRTFStyleSheetsSet()

bool EditEngine::IsImportRTFStyleSheetsSet ( ) const

◆ IsInSelectionMode()

bool EditEngine::IsInSelectionMode ( ) const

Definition at line 1683 of file editeng.cxx.

References pImpEditEngine.

◆ IsInUndo()

bool EditEngine::IsInUndo ( ) const

◆ IsModified()

bool EditEngine::IsModified ( ) const

Definition at line 1678 of file editeng.cxx.

References pImpEditEngine.

◆ IsPageOverflow()

bool EditEngine::IsPageOverflow ( )

Definition at line 2887 of file editeng.cxx.

References pImpEditEngine.

◆ IsPrintable()

static bool EditEngine::IsPrintable ( sal_Unicode  c)
inlinestatic

Definition at line 548 of file include/editeng/editeng.hxx.

Referenced by IsSimpleCharInput().

◆ IsRightToLeft()

bool EditEngine::IsRightToLeft ( sal_Int32  nPara) const

Definition at line 2034 of file editeng.cxx.

References pImpEditEngine.

Referenced by ImpEditView::DrawSelectionXOR(), and ImpEditView::ShowCursor().

◆ IsRtfImportHandlerSet()

bool EditEngine::IsRtfImportHandlerSet ( ) const

◆ IsSimpleCharInput()

bool EditEngine::IsSimpleCharInput ( const KeyEvent rKeyEvent)
static

◆ IsTextPos()

bool EditEngine::IsTextPos ( const Point rPaperPos,
sal_uInt16  nBorder 
)

Definition at line 2039 of file editeng.cxx.

References GetDocPos(), o3tl::make_unsigned(), nBorder, pImpEditEngine, and Point::Y().

◆ IsTopToBottom()

bool EditEngine::IsTopToBottom ( ) const

Definition at line 446 of file editeng.cxx.

References pImpEditEngine.

Referenced by GetDocPos(), and StripPortions().

◆ IsUndoEnabled()

bool EditEngine::IsUndoEnabled ( ) const

Definition at line 105 of file editeng.cxx.

References pImpEditEngine.

Referenced by OutlinerEditEng::SetParaAttribs().

◆ IsUpdateLayout()

bool EditEngine::IsUpdateLayout ( ) const

◆ MoveParagraphs()

EditSelection EditEngine::MoveParagraphs ( const Range rParagraphs,
sal_Int32  nNewPos 
)

Definition at line 761 of file editeng.cxx.

References pImpEditEngine.

Referenced by EditUndoMoveParagraphs::Redo(), and EditUndoMoveParagraphs::Undo().

◆ operator=()

EditEngine & EditEngine::operator= ( const EditEngine )
privatedelete

◆ PaintingFirstLine()

void EditEngine::PaintingFirstLine ( sal_Int32  nPara,
const Point rStartPos,
const Point rOrigin,
Degree10  nOrientation,
OutputDevice rOutDev 
)
virtual

Reimplemented in OutlinerEditEng.

Definition at line 2514 of file editeng.cxx.

Referenced by ImpEditEngine::Paint().

◆ ParaAttribsChanged()

void EditEngine::ParaAttribsChanged ( sal_Int32  nParagraph)
virtual

Reimplemented in OutlinerEditEng.

Definition at line 2543 of file editeng.cxx.

Referenced by ImpEditEngine::ParaAttribsChanged().

◆ ParaAttribsToCharAttribs()

void EditEngine::ParaAttribsToCharAttribs ( ContentNode pNode)

Definition at line 819 of file editeng.cxx.

References pImpEditEngine.

Referenced by EditRTFParser::CallParser(), and SvxReadXML().

◆ ParagraphConnected()

void EditEngine::ParagraphConnected ( sal_Int32  nLeftParagraph,
sal_Int32  nRightParagraph 
)
virtual

Reimplemented in OutlinerEditEng.

Definition at line 2539 of file editeng.cxx.

Referenced by ImpEditEngine::ImpConnectParagraphs().

◆ ParagraphDeleted()

void EditEngine::ParagraphDeleted ( sal_Int32  nDeletedParagraph)
virtual

◆ ParagraphHeightChanged()

void EditEngine::ParagraphHeightChanged ( sal_Int32  nPara)

◆ ParagraphInserted()

void EditEngine::ParagraphInserted ( sal_Int32  nNewParagraph)
virtual

◆ PostKeyEvent()

bool EditEngine::PostKeyEvent ( const KeyEvent rKeyEvent,
EditView pView,
vcl::Window const *  pFrameWin 
)
private

Definition at line 1000 of file editeng.cxx.

References Point::AdjustY(), Application::AnyInput(), bDebugPaint, bReadOnly, COL_LIGHTGREEN(), COL_YELLOW(), Application::CreateMessageDialog(), CURSOR_BIDILEVEL_DONTKNOW, DBG_ASSERT, DEL_LEFT, DEL_RIGHT, ImpEditEngine::DoVisualCursorTraveling(), OutputDevice::DrawRect(), DumpData(), EDITUNDO_DELETE, EDITUNDO_INSERT, EE_PARA_BULLETSTATE(), EE_PARA_WRITINGDIR(), EndOfLine, SfxItemSet::Get(), EditView::GetAttribs(), ContentNode::GetChar(), KeyEvent::GetCharCode(), vcl::KeyCode::GetCode(), getComponentContext(), vcl::Window::GetFrameWeld(), vcl::KeyCode::GetFunction(), EditPaM::GetIndex(), KeyEvent::GetKeyCode(), GetLanguage(), GetLocaleData(), EditPaM::GetNode(), vcl::Window::GetOutDev(), EditView::GetOutputArea(), GetParagraphCount(), GetSystemPrimarySelection(), GetTextHeight(), SfxBoolItem::GetValue(), SfxEnumItem< typename EnumT >::GetValue(), EditView::GetWindow(), EditSelection::HasRange(), EditView::HasSelection(), Horizontal_LR_TB, Horizontal_RL_TB, comphelper::LibreOfficeKit::isActive(), SvxAutoCorrect::IsAutoCorrectChar(), IsEffectivelyVertical(), EditView::IsInsertMode(), EditSelection::IsInvalid(), vcl::KeyCode::IsMod1(), vcl::KeyCode::IsMod2(), EditView::IsReadOnly(), vcl::KeyCode::IsShift(), IsSimpleCharInput(), KEY_BACKSPACE, KEY_DELETE, KEY_DOWN, KEY_END, KEY_F1, KEY_F11, KEY_F12, KEY_HOME, KEY_INSERT, KEY_LEFT, KEY_PAGEDOWN, KEY_PAGEUP, KEY_RETURN, KEY_RIGHT, KEY_TAB, KEY_UP, KEY_W, ContentNode::Len(), EditSelection::Max(), EditSelection::Min(), n, nCount, nIndex, NONE, vcl::Window::OutputToScreenPixel(), P1, P2, pImpEditEngine, EditView::pImpEditView, SfxItemSet::Put(), EditView::Redo(), RestOfContent, RestOfWord, EditView::SetAttribs(), OutputDevice::SetFillColor(), EditView::SetInsertMode(), OutputDevice::SetLineColor(), SfxBoolItem::SetValue(), SfxEnumItem< typename EnumT >::SetValue(), Help::ShowQuickHelp(), Simple, StartOfLine, tools::Rectangle::TopLeft(), TRAVEL_X_DONTKNOW, EditView::Undo(), Point::X(), and Point::Y().

Referenced by ImpEditView::PostKeyEvent().

◆ PutSpellingToSentenceStart()

void EditEngine::PutSpellingToSentenceStart ( EditView const &  rEditView)

Definition at line 2248 of file editeng.cxx.

References pImpEditEngine.

◆ QuickDelete()

void EditEngine::QuickDelete ( const ESelection rSel)

◆ QuickFormatDoc()

void EditEngine::QuickFormatDoc ( bool  bFull = false)

◆ QuickInsertField()

void EditEngine::QuickInsertField ( const SvxFieldItem rFld,
const ESelection rSel 
)

◆ QuickInsertLineBreak()

void EditEngine::QuickInsertLineBreak ( const ESelection rSel)

◆ QuickInsertText()

void EditEngine::QuickInsertText ( const OUString &  rText,
const ESelection rSel 
)

◆ QuickMarkInvalid()

void EditEngine::QuickMarkInvalid ( const ESelection rSel)

◆ QuickMarkToBeRepainted()

void EditEngine::QuickMarkToBeRepainted ( sal_Int32  nPara)

Definition at line 2102 of file editeng.cxx.

References pImpEditEngine, and ParaPortion::SetMustRepaint().

◆ QuickSetAttribs()

void EditEngine::QuickSetAttribs ( const SfxItemSet rSet,
const ESelection rSel 
)

◆ Read()

ErrCode EditEngine::Read ( SvStream rInput,
const OUString &  rBaseURL,
EETextFormat  eFormat,
SvKeyValueIterator pHTTPHeaderAttrs = nullptr 
)

Definition at line 1499 of file editeng.cxx.

References SvStream::GetError(), and pImpEditEngine.

◆ Redo()

void EditEngine::Redo ( EditView pView)

Definition at line 809 of file editeng.cxx.

References pImpEditEngine.

◆ RemoveAttribs()

void EditEngine::RemoveAttribs ( const ESelection rSelection,
bool  bRemoveParaAttribs,
sal_uInt16  nWhich 
)

◆ RemoveCharAttribs() [1/3]

void EditEngine::RemoveCharAttribs ( const EditSelection rSel,
bool  bRemoveParaAttribs,
sal_uInt16  nWhich 
)

Definition at line 771 of file editeng.cxx.

References eMode, pImpEditEngine, RemoveAll, and RemoveCharItems.

◆ RemoveCharAttribs() [2/3]

void EditEngine::RemoveCharAttribs ( const EditSelection rSel,
EERemoveParaAttribsMode  eMode,
sal_uInt16  nWhich 
)

Definition at line 779 of file editeng.cxx.

References eMode, and pImpEditEngine.

◆ RemoveCharAttribs() [3/3]

void EditEngine::RemoveCharAttribs ( sal_Int32  nPara,
sal_uInt16  nWhich = 0,
bool  bRemoveFeatures = false 
)

Definition at line 766 of file editeng.cxx.

References pImpEditEngine.

Referenced by EditUndoSetAttribs::Redo(), and EditUndoSetAttribs::Undo().

◆ RemoveFields()

void EditEngine::RemoveFields ( const std::function< bool(const SvxFieldData *)> &  isFieldData = [] (const SvxFieldData* ){return true;})

◆ RemoveParagraph()

void EditEngine::RemoveParagraph ( sal_Int32  nPara)

Definition at line 1626 of file editeng.cxx.

References DBG_ASSERT, and pImpEditEngine.

◆ RemoveParaPortion()

void EditEngine::RemoveParaPortion ( sal_Int32  nNode)

Definition at line 716 of file editeng.cxx.

References pImpEditEngine.

Referenced by EditUndoDelContent::Redo().

◆ RemoveView() [1/2]

EditView * EditEngine::RemoveView ( EditView pEditView)

Definition at line 314 of file editeng.cxx.

References DBG_ASSERT, EditView::HideCursor(), pImpEditEngine, and EditView::pImpEditView.

Referenced by RemoveView().

◆ RemoveView() [2/2]

void EditEngine::RemoveView ( size_t  nIndex)

Definition at line 338 of file editeng.cxx.

References nIndex, pImpEditEngine, and RemoveView().

◆ SeekCursor()

void EditEngine::SeekCursor ( ContentNode pNode,
sal_Int32  nPos,
SvxFont rFont 
)

Definition at line 930 of file editeng.cxx.

References nPos, and pImpEditEngine.

Referenced by EditRTFParser::SetAttrInDoc(), and ImpEditView::ShowCursor().

◆ SelectWord()

EditSelection EditEngine::SelectWord ( const EditSelection rCurSelection,
sal_Int16  nWordType = css::i18n::WordType::ANYWORD_IGNOREWHITESPACES 
)
private

Definition at line 867 of file editeng.cxx.

References pImpEditEngine.

Referenced by ImpEditView::IsWrongSpelledWord(), and ImpEditView::SpellIgnoreWord().

◆ SetActiveView()

void EditEngine::SetActiveView ( EditView pView)

Definition at line 370 of file editeng.cxx.

References pImpEditEngine.

Referenced by EditUndoManager::Redo(), and EditUndoManager::Undo().

◆ SetAddExtLeading()

void EditEngine::SetAddExtLeading ( bool  b)

Definition at line 515 of file editeng.cxx.

References pImpEditEngine.

◆ SetAllMisspellRanges()

void EditEngine::SetAllMisspellRanges ( const std::vector< editeng::MisspellRanges > &  rRanges)

Definition at line 2205 of file editeng.cxx.

References pImpEditEngine.

◆ SetAsianCompressionMode()

void EditEngine::SetAsianCompressionMode ( CharCompressType  nCompression)

Definition at line 505 of file editeng.cxx.

References n, and pImpEditEngine.

◆ SetAttribs()

void EditEngine::SetAttribs ( const EditSelection rSel,
const SfxItemSet rSet,
SetAttribsMode  nSpecial = SetAttribsMode::NONE 
)

◆ SetBackgroundColor()

void EditEngine::SetBackgroundColor ( const Color rColor)

Definition at line 169 of file editeng.cxx.

References pImpEditEngine.

◆ SetBeginDropHdl()

void EditEngine::SetBeginDropHdl ( const Link< EditView *, void > &  rLink)

sets a link that is called at the beginning of a drag operation at an edit view

Definition at line 2809 of file editeng.cxx.

References pImpEditEngine.

◆ SetBeginMovingParagraphsHdl()

void EditEngine::SetBeginMovingParagraphsHdl ( const Link< MoveParagraphsInfo &, void > &  rLink)

Definition at line 1585 of file editeng.cxx.

References pImpEditEngine.

◆ SetBeginPasteOrDropHdl()

void EditEngine::SetBeginPasteOrDropHdl ( const Link< PasteOrDropInfos &, void > &  rLink)

Definition at line 1595 of file editeng.cxx.

References pImpEditEngine.

◆ SetCallParaInsertedOrDeleted()

void EditEngine::SetCallParaInsertedOrDeleted ( bool  b)

Definition at line 721 of file editeng.cxx.

References pImpEditEngine.

Referenced by EditUndoConnectParas::Undo().

◆ SetCharAttribs()

void EditEngine::SetCharAttribs ( sal_Int32  nPara,
const SfxItemSet rSet 
)

Set attributes from rSet an all characters of nPara.

Definition at line 1769 of file editeng.cxx.

References GetTextLen(), NONE, pImpEditEngine, and rSet.

◆ SetControlWord()

void EditEngine::SetControlWord ( EEControlBits  nWord)

◆ SetDefaultHorizontalTextDirection()

void EditEngine::SetDefaultHorizontalTextDirection ( EEHorizontalTextDirection  eHTextDir)

Definition at line 466 of file editeng.cxx.

References pImpEditEngine.

◆ SetDefaultLanguage()

void EditEngine::SetDefaultLanguage ( LanguageType  eLang)

Definition at line 2215 of file editeng.cxx.

References pImpEditEngine.

◆ SetDefTab()

void EditEngine::SetDefTab ( sal_uInt16  nDefTab)

Definition at line 375 of file editeng.cxx.

References pImpEditEngine.

◆ SetEditTextObjectPool()

void EditEngine::SetEditTextObjectPool ( SfxItemPool pPool)

Definition at line 2053 of file editeng.cxx.

References pImpEditEngine.

◆ SetEndDropHdl()

void EditEngine::SetEndDropHdl ( const Link< EditView *, void > &  rLink)

sets a link that is called at the end of a drag operation at an edit view

Definition at line 2820 of file editeng.cxx.

References pImpEditEngine.

◆ SetEndMovingParagraphsHdl()

void EditEngine::SetEndMovingParagraphsHdl ( const Link< MoveParagraphsInfo &, void > &  rLink)

Definition at line 1590 of file editeng.cxx.

References pImpEditEngine.

◆ SetEndPasteOrDropHdl()

void EditEngine::SetEndPasteOrDropHdl ( const Link< PasteOrDropInfos &, void > &  rLink)

Definition at line 1601 of file editeng.cxx.

References pImpEditEngine.

◆ SetFirstWordCapitalization()

void EditEngine::SetFirstWordCapitalization ( bool  bCapitalize)

specifies if auto-correction should capitalize the first word or not (default is on)

Definition at line 2830 of file editeng.cxx.

References pImpEditEngine.

◆ SetFixedCellHeight()

void EditEngine::SetFixedCellHeight ( bool  bUseFixedCellHeight)

Definition at line 461 of file editeng.cxx.

References pImpEditEngine.

◆ SetFlatMode()

void EditEngine::SetFlatMode ( bool  bFlat)

Definition at line 1859 of file editeng.cxx.

References pImpEditEngine.

◆ SetFontInfoInItemSet() [1/2]

void EditEngine::SetFontInfoInItemSet ( SfxItemSet rItemSet,
const SvxFont rFont 
)
static

◆ SetFontInfoInItemSet() [2/2]

void EditEngine::SetFontInfoInItemSet ( SfxItemSet rItemSet,
const vcl::Font rFont 
)
static

Definition at line 2670 of file editeng.cxx.

References rSet, and SetFontInfoInItemSet().

Referenced by SetFontInfoInItemSet().

◆ SetForbiddenCharsTable()

void EditEngine::SetForbiddenCharsTable ( const std::shared_ptr< SvxForbiddenCharactersTable > &  xForbiddenChars)
static

Definition at line 2210 of file editeng.cxx.

References ImpEditEngine::SetForbiddenCharsTable().

Referenced by Outliner::SetForbiddenCharsTable().

◆ setGlobalScale()

void EditEngine::setGlobalScale ( double  fFontScaleX,
double  fFontScaleY,
double  fSpacingScaleX,
double  fSpacingScaleY 
)

Definition at line 2273 of file editeng.cxx.

References pImpEditEngine.

◆ SetHtmlImportHdl()

void EditEngine::SetHtmlImportHdl ( const Link< HtmlImportInfo &, void > &  rLink)

Definition at line 1565 of file editeng.cxx.

References pImpEditEngine.

◆ SetHyphenator()

void EditEngine::SetHyphenator ( css::uno::Reference< css::linguistic2::XHyphenator > const &  xHyph)

Definition at line 2195 of file editeng.cxx.

References pImpEditEngine.

◆ SetInSelectionMode()

void EditEngine::SetInSelectionMode ( bool  b)
private

◆ SetKernAsianPunctuation()

void EditEngine::SetKernAsianPunctuation ( bool  bEnabled)

Definition at line 510 of file editeng.cxx.

References pImpEditEngine.

◆ SetLOKSpecialPaperSize()

void EditEngine::SetLOKSpecialPaperSize ( const Size rSize)

Definition at line 2901 of file editeng.cxx.

References pImpEditEngine.

◆ SetMaxAutoPaperSize()

void EditEngine::SetMaxAutoPaperSize ( const Size rSz)

Definition at line 563 of file editeng.cxx.

References pImpEditEngine.

◆ SetMinAutoPaperSize()

void EditEngine::SetMinAutoPaperSize ( const Size rSz)

Definition at line 553 of file editeng.cxx.

References pImpEditEngine.

◆ SetMinColumnWrapHeight()

void EditEngine::SetMinColumnWrapHeight ( tools::Long  nVal)

Definition at line 568 of file editeng.cxx.

References pImpEditEngine.

◆ SetModified()

void EditEngine::SetModified ( )

Definition at line 1673 of file editeng.cxx.

References pImpEditEngine.

◆ SetModifyHdl()

void EditEngine::SetModifyHdl ( const Link< LinkParamNone *, void > &  rLink)

Definition at line 1663 of file editeng.cxx.

References pImpEditEngine.

◆ SetNotifyHdl()

void EditEngine::SetNotifyHdl ( const Link< EENotify &, void > &  rLink)

Definition at line 1545 of file editeng.cxx.

References pImpEditEngine.

◆ SetPaperSize()

void EditEngine::SetPaperSize ( const Size rSize)

Definition at line 385 of file editeng.cxx.

References pImpEditEngine, EditView::pImpEditView, and Size::Width().

◆ SetParaAttribs()

void EditEngine::SetParaAttribs ( sal_Int32  nPara,
const SfxItemSet rSet 
)
virtual

◆ SetParaAttribsOnly()

void EditEngine::SetParaAttribsOnly ( sal_Int32  nPara,
const SfxItemSet rSet 
)

◆ SetPolygon() [1/2]

void EditEngine::SetPolygon ( const basegfx::B2DPolyPolygon rPolyPolygon)

Definition at line 520 of file editeng.cxx.

References SetPolygon().

Referenced by SetPolygon().

◆ SetPolygon() [2/2]

void EditEngine::SetPolygon ( const basegfx::B2DPolyPolygon rPolyPolygon,
const basegfx::B2DPolyPolygon pLinePolyPolygon 
)

◆ SetRefDevice()

void EditEngine::SetRefDevice ( OutputDevice pRefDef)

Definition at line 149 of file editeng.cxx.

References pImpEditEngine.

◆ SetRefMapMode()

void EditEngine::SetRefMapMode ( const MapMode rMapMode)

Definition at line 159 of file editeng.cxx.

References pImpEditEngine.

◆ SetReplaceLeadingSingleQuotationMark()

void EditEngine::SetReplaceLeadingSingleQuotationMark ( bool  bReplace)

specifies if auto-correction should replace a leading single quotation mark (apostrophe) or not (default is on)

Definition at line 2835 of file editeng.cxx.

References pImpEditEngine.

◆ SetRotation()

void EditEngine::SetRotation ( TextRotation  nRotation)

Definition at line 431 of file editeng.cxx.

References pImpEditEngine.

◆ setRoundFontSizeToPt()

void EditEngine::setRoundFontSizeToPt ( bool  bRound) const

Definition at line 2304 of file editeng.cxx.

References pImpEditEngine.

◆ SetRtfImportHdl()

void EditEngine::SetRtfImportHdl ( const Link< RtfImportInfo &, void > &  rLink)

Definition at line 1575 of file editeng.cxx.

References pImpEditEngine.

◆ SetSingleLine()

void EditEngine::SetSingleLine ( bool  bValue)

Definition at line 1869 of file editeng.cxx.

References pImpEditEngine, and SINGLELINE.

◆ SetSpeller()

void EditEngine::SetSpeller ( css::uno::Reference< css::linguistic2::XSpellChecker1 > const &  xSpeller)

Definition at line 2185 of file editeng.cxx.

References pImpEditEngine.

◆ SetStatusEventHdl()

void EditEngine::SetStatusEventHdl ( const Link< EditStatus &, void > &  rLink)

Definition at line 1555 of file editeng.cxx.

References pImpEditEngine.

◆ SetStyleSheet() [1/2]

void EditEngine::SetStyleSheet ( const EditSelection aSel,
SfxStyleSheet pStyle 
)

◆ SetStyleSheet() [2/2]

void EditEngine::SetStyleSheet ( sal_Int32  nPara,
SfxStyleSheet pStyle 
)

Definition at line 2143 of file editeng.cxx.

References pImpEditEngine.

◆ SetStyleSheetPool()

void EditEngine::SetStyleSheetPool ( SfxStyleSheetPool pSPool)

Definition at line 2158 of file editeng.cxx.

References pImpEditEngine.

◆ SetText() [1/3]

void EditEngine::SetText ( const EditTextObject rTextObject)

Definition at line 1534 of file editeng.cxx.

References pImpEditEngine.

◆ SetText() [2/3]

void EditEngine::SetText ( const OUString &  rStr)

Definition at line 1492 of file editeng.cxx.

References pImpEditEngine.

Referenced by SvxEditEngineForwarder::CopyText().

◆ SetText() [3/3]

void EditEngine::SetText ( sal_Int32  nPara,
const OUString &  rText 
)

Definition at line 1734 of file editeng.cxx.

References EDITUNDO_INSERT, and pImpEditEngine.

◆ SetTextColumns()

void EditEngine::SetTextColumns ( sal_Int16  nColumns,
sal_Int32  nSpacing 
)

Definition at line 456 of file editeng.cxx.

References pImpEditEngine.

◆ SetUndoManager()

SfxUndoManager * EditEngine::SetUndoManager ( SfxUndoManager pNew)

Definition at line 120 of file editeng.cxx.

References pImpEditEngine.

◆ SetUndoMode()

void EditEngine::SetUndoMode ( bool  b)

Definition at line 794 of file editeng.cxx.

References pImpEditEngine.

Referenced by EditUndoManager::Redo(), and EditUndoManager::Undo().

◆ SetUpdateLayout()

bool EditEngine::SetUpdateLayout ( bool  bUpdate,
bool  bRestoring = false 
)

Change the update mode per bUpdate and potentially trigger FormatAndUpdate.

bRestoring is used for LOK to update cursor visibility, specifically, when true, it means we are restoring the update mode after internally disabling it (f.e. during SetText to set/delete default text in Impress).

Returns
previous value of update

Definition at line 1471 of file editeng.cxx.

References pImpEditEngine.

◆ SetVertical()

void EditEngine::SetVertical ( bool  bVertical)

Definition at line 426 of file editeng.cxx.

References pImpEditEngine.

◆ SetWordDelimiters()

void EditEngine::SetWordDelimiters ( const OUString &  rDelimiters)

Definition at line 2168 of file editeng.cxx.

References CH_FEATURE, and pImpEditEngine.

◆ ShouldCreateBigTextObject()

bool EditEngine::ShouldCreateBigTextObject ( ) const

◆ ShowParagraph()

void EditEngine::ShowParagraph ( sal_Int32  nParagraph,
bool  bShow 
)

Definition at line 1540 of file editeng.cxx.

References pImpEditEngine.

◆ SpellNextDocument()

bool EditEngine::SpellNextDocument ( )
virtual

Reimplemented in OutlinerEditEng.

Definition at line 2225 of file editeng.cxx.

Referenced by EditSpellWrapper::SpellMore().

◆ SpellSentence()

bool EditEngine::SpellSentence ( EditView const &  rEditView,
svx::SpellPortions rToFill 
)

Definition at line 2243 of file editeng.cxx.

References pImpEditEngine.

◆ SplitContent()

EditPaM EditEngine::SplitContent ( sal_Int32  nNode,
sal_Int32  nSepPos 
)

Definition at line 746 of file editeng.cxx.

References pImpEditEngine.

Referenced by EditUndoSplitPara::Redo(), and EditUndoConnectParas::Undo().

◆ StripPortions()

void EditEngine::StripPortions ( )

◆ StyleSheetChanged()

void EditEngine::StyleSheetChanged ( SfxStyleSheet pStyle)
virtual

Reimplemented in OutlinerEditEng.

Definition at line 2547 of file editeng.cxx.

Referenced by ImpEditEngine::UpdateParagraphsWithStyleSheet().

◆ TransliterateText() [1/2]

EditSelection EditEngine::TransliterateText ( const EditSelection rSelection,
TransliterationFlags  nTransliterationMode 
)

Definition at line 500 of file editeng.cxx.

References pImpEditEngine.

◆ TransliterateText() [2/2]

void EditEngine::TransliterateText ( const ESelection rSelection,
TransliterationFlags  nTransliterationMode 
)

Definition at line 495 of file editeng.cxx.

References pImpEditEngine.

Referenced by EditUndoTransliteration::Redo().

◆ Undo()

void EditEngine::Undo ( EditView pView)

Definition at line 804 of file editeng.cxx.

References pImpEditEngine.

◆ UndoActionEnd()

void EditEngine::UndoActionEnd ( )

◆ UndoActionStart() [1/2]

void EditEngine::UndoActionStart ( sal_uInt16  nId)

◆ UndoActionStart() [2/2]

void EditEngine::UndoActionStart ( sal_uInt16  nId,
const ESelection rSel 
)

Definition at line 132 of file editeng.cxx.

References nId, and pImpEditEngine.

◆ UpdateFields()

bool EditEngine::UpdateFields ( )

Definition at line 2364 of file editeng.cxx.

References pImpEditEngine.

Referenced by EditView::InsertField().

◆ UpdateFieldsOnly()

bool EditEngine::UpdateFieldsOnly ( )

◆ UpdateSelections()

void EditEngine::UpdateSelections ( )

Definition at line 736 of file editeng.cxx.

References pImpEditEngine.

Referenced by EditUndoDelContent::Redo().

◆ Write()

void EditEngine::Write ( SvStream rOutput,
EETextFormat  eFormat 
)

Definition at line 1510 of file editeng.cxx.

References pImpEditEngine.

Friends And Related Function Documentation

◆ EditView

friend class EditView
friend

Definition at line 146 of file include/editeng/editeng.hxx.

◆ ImpEditView

friend class ImpEditView
friend

Definition at line 147 of file include/editeng/editeng.hxx.

◆ Outliner

friend class Outliner
friend

Definition at line 148 of file include/editeng/editeng.hxx.

◆ TextChainingUtils

friend class TextChainingUtils
friend

Definition at line 149 of file include/editeng/editeng.hxx.

Member Data Documentation

◆ pImpEditEngine

std::unique_ptr<ImpEditEngine> EditEngine::pImpEditEngine
private

Definition at line 160 of file include/editeng/editeng.hxx.

Referenced by AppendDeletedNodeInfo(), ApplyChangedSentence(), CalcTextWidth(), CallHtmlImportHandler(), CallRtfImportHandler(), CheckIdleFormatter(), Clear(), ClearModifyFlag(), ClearOverflowingParaNum(), ClearPolygon(), ClearSpellErrors(), ImpEditView::Command(), CompleteOnlineSpelling(), ConnectContents(), ConnectParagraphs(), CreateEditPaM(), CreateESelection(), CreateSelection(), CreateTextObject(), CreateTransferable(), CursorLeft(), CursorMoved(), CursorRight(), ImpEditView::CutCopy(), ImpEditView::DeleteSelected(), DeleteSelected(), DeleteSelection(), DisableAttributeExpanding(), ImpEditView::dragDropEnd(), ImpEditView::dragGestureRecognized(), ImpEditView::dragOver(), Draw(), ImpEditView::DrawSelectionXOR(), ImpEditView::drop(), dumpAsXmlEditDoc(), DumpData(), EditEngine(), EnableAutoColor(), EnableSkipOutsideFormat(), EnableUndo(), EndOfWord(), EraseVirtualDevice(), FindDocPosition(), FindParagraph(), FindParaPortion(), ForceAutoColor(), FormatAndLayout(), GetActiveView(), GetAllMisspellRanges(), GetAttribs(), GetAutoColor(), GetBackgroundColor(), GetBaseParaAttribs(), GetBeginDropHdl(), GetCharacterBounds(), GetCharAttribs(), GetControlWord(), GetDefaultHorizontalTextDirection(), GetDefaultLanguage(), ImpEditView::GetDocPos(), GetDocPosTopLeft(), GetEditDoc(), GetEditTextObjectPool(), GetEditViews(), GetEmptyItemSet(), GetEmptyTextObject(), GetEndDropHdl(), GetFieldCount(), GetFieldInfo(), GetFirstLineStartX(), getGlobalFontScale(), getGlobalSpacingScale(), GetHtmlImportHdl(), GetInternalEditStatus(), GetLanguage(), GetLineBoundaries(), GetLineCount(), GetLineHeight(), GetLineLen(), GetLineNumberAtIndex(), GetLineXPosStartEnd(), GetLOKSpecialPaperSize(), GetMaxAutoPaperSize(), GetMinAutoPaperSize(), GetNotifyHdl(), GetOverflowingLineNum(), GetOverflowingParaNum(), GetPaM(), GetPaperSize(), GetParaAttrib(), GetParaAttribs(), GetParaBounds(), GetParagraphCount(), GetParagraphInfos(), GetParaPortions(), GetPortions(), GetPrevVisPortion(), GetRefDevice(), GetRefMapMode(), GetRotation(), GetRtfImportHdl(), GetScriptType(), GetSelected(), GetSelectionEngine(), GetSpeller(), GetStandardSvxFont(), GetStatusEventHdl(), GetStyleSheet(), GetStyleSheetPool(), GetText(), GetTextHeight(), GetTextHeightNTP(), GetTextLen(), GetUndoManager(), GetVertical(), GetView(), GetViewCount(), ImpEditView::GetWindowPos(), GetWord(), GetWordDelimiters(), GetXPos(), HandleBeginPasteOrDrop(), HandleEndPasteOrDrop(), HasConvertibleTextPortion(), HasOnlineSpellErrors(), HasParaAttrib(), HasSpellErrors(), HasText(), HasTriedMergeOnLastAddUndo(), HasView(), ImpEditView::ImplGetEditCursor(), InsertContent(), InsertFeature(), InsertField(), InsertLineBreak(), InsertParaBreak(), InsertParagraph(), InsertText(), InsertView(), IsCallParaInsertedOrDeleted(), IsEffectivelyVertical(), IsFlatMode(), IsForceAutoColor(), IsFormatted(), IsHtmlImportHandlerSet(), IsIdleFormatterActive(), IsImportRTFStyleSheetsSet(), IsInSelectionMode(), IsInUndo(), IsModified(), IsPageOverflow(), IsRightToLeft(), IsRtfImportHandlerSet(), ImpEditView::IsSelectionAtPoint(), IsTextPos(), ImpEditView::IsTopToBottom(), IsTopToBottom(), IsUndoEnabled(), IsUpdateLayout(), ImpEditView::IsVertical(), ImpEditView::MouseButtonDown(), ImpEditView::MouseButtonUp(), ImpEditView::MouseMove(), MoveParagraphs(), ParaAttribsToCharAttribs(), ParagraphDeleted(), ParagraphHeightChanged(), ParagraphInserted(), ImpEditView::Paste(), PostKeyEvent(), ImpEditView::PostKeyEvent(), PutSpellingToSentenceStart(), QuickDelete(), QuickFormatDoc(), QuickInsertField(), QuickInsertLineBreak(), QuickInsertText(), QuickMarkInvalid(), QuickMarkToBeRepainted(), QuickSetAttribs(), Read(), ImpEditView::RecalcOutputArea(), Redo(), ImpEditView::ReleaseMouse(), RemoveAttribs(), RemoveCharAttribs(), RemoveFields(), RemoveParagraph(), RemoveParaPortion(), RemoveView(), ImpEditView::ResetOutputArea(), ImpEditView::Scroll(), SeekCursor(), SelectWord(), SetActiveView(), SetAddExtLeading(), SetAllMisspellRanges(), SetAsianCompressionMode(), SetAttribs(), SetBackgroundColor(), SetBeginDropHdl(), SetBeginMovingParagraphsHdl(), SetBeginPasteOrDropHdl(), SetCallParaInsertedOrDeleted(), SetCharAttribs(), SetControlWord(), ImpEditView::SetCursorAtPoint(), SetDefaultHorizontalTextDirection(), SetDefaultLanguage(), SetDefTab(), ImpEditView::SetEditSelection(), SetEditTextObjectPool(), SetEndDropHdl(), SetEndMovingParagraphsHdl(), SetEndPasteOrDropHdl(), SetFirstWordCapitalization(), SetFixedCellHeight(), SetFlatMode(), setGlobalScale(), SetHtmlImportHdl(), SetHyphenator(), SetInSelectionMode(), SetKernAsianPunctuation(), SetLOKSpecialPaperSize(), SetMaxAutoPaperSize(), SetMinAutoPaperSize(), SetMinColumnWrapHeight(), SetModified(), SetModifyHdl(), SetNotifyHdl(), SetPaperSize(), SetParaAttribs(), SetParaAttribsOnly(), SetPolygon(), SetRefDevice(), SetRefMapMode(), SetReplaceLeadingSingleQuotationMark(), SetRotation(), setRoundFontSizeToPt(), SetRtfImportHdl(), SetSingleLine(), SetSpeller(), SetStatusEventHdl(), SetStyleSheet(), SetStyleSheetPool(), SetText(), SetTextColumns(), SetUndoManager(), SetUndoMode(), SetUpdateLayout(), SetVertical(), SetWordDelimiters(), ShouldCreateBigTextObject(), ImpEditView::ShowCursor(), ShowParagraph(), ImpEditView::SpellIgnoreWord(), SpellSentence(), SplitContent(), StripPortions(), TransliterateText(), Undo(), UndoActionEnd(), UndoActionStart(), UpdateFields(), UpdateFieldsOnly(), UpdateSelections(), and Write().


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