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

#include <impedit.hxx>

Inheritance diagram for ImpEditEngine:
[legend]
Collaboration diagram for ImpEditEngine:
[legend]

Classes

struct  LineAreaInfo
 

Public Types

enum class  CallbackResult {
  Continue ,
  SkipThisPortion ,
  Stop
}
 
enum  IterFlag {
  none = 0 ,
  inclILS = 1
}
 
using IterateLinesAreasFunc = std::function< CallbackResult(const LineAreaInfo &)>
 

Public Member Functions

virtual ~ImpEditEngine () override
 
 ImpEditEngine (const ImpEditEngine &)=delete
 
ImpEditEngineoperator= (const ImpEditEngine &)=delete
 
EditUndoManagerGetUndoManager ()
 
SfxUndoManagerSetUndoManager (SfxUndoManager *pNew)
 
bool SetUpdateLayout (bool bUpdate, EditView *pCurView=nullptr, bool bForceUpdate=false)
 
bool IsUpdateLayout () const
 
ViewsTypeGetEditViews ()
 
const ViewsTypeGetEditViews () const
 
const SizeGetPaperSize () const
 
void SetPaperSize (const Size &rSz)
 
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)
 
bool IsPageOverflow () const
 
void SetFixedCellHeight (bool bUseFixedCellHeight)
 
bool IsFixedCellHeight () const
 
void SetDefaultHorizontalTextDirection (EEHorizontalTextDirection eHTextDir)
 
EEHorizontalTextDirection GetDefaultHorizontalTextDirection () const
 
void InitWritingDirections (sal_Int32 nPara)
 
bool IsRightToLeft (sal_Int32 nPara) const
 
sal_uInt8 GetRightToLeft (sal_Int32 nPara, sal_Int32 nChar, sal_Int32 *pStart=nullptr, sal_Int32 *pEnd=nullptr)
 
bool HasDifferentRTLLevels (const ContentNode *pNode)
 
void SetTextRanger (std::unique_ptr< TextRanger > pRanger)
 
TextRangerGetTextRanger () const
 
const SizeGetMinAutoPaperSize () const
 
void SetMinAutoPaperSize (const Size &rSz)
 
const SizeGetMaxAutoPaperSize () const
 
void SetMaxAutoPaperSize (const Size &rSz)
 
void SetMinColumnWrapHeight (tools::Long nVal)
 
void FormatDoc ()
 
void FormatFullDoc ()
 
void UpdateViews (EditView *pCurView=nullptr)
 
void Paint (ImpEditView *pView, const tools::Rectangle &rRect, OutputDevice *pTargetDevice)
 
void Paint (OutputDevice &rOutDev, tools::Rectangle aClipRect, Point aStartPos, bool bStripOnly=false, Degree10 nOrientation=0_deg10)
 
bool MouseButtonUp (const MouseEvent &rMouseEvent, EditView *pView)
 
bool MouseButtonDown (const MouseEvent &rMouseEvent, EditView *pView)
 
void ReleaseMouse ()
 
bool MouseMove (const MouseEvent &rMouseEvent, EditView *pView)
 
bool Command (const CommandEvent &rCEvt, EditView *pView)
 
EditSelectionEngineGetSelEngine ()
 
OUString GetSelected (const EditSelection &rSel) const
 
const SfxItemSetGetEmptyItemSet () const
 
void UpdateSelections ()
 
void EnableUndo (bool bEnable)
 
bool IsUndoEnabled () const
 
void SetUndoMode (bool b)
 
bool IsInUndo () const
 
void SetCallParaInsertedOrDeleted (bool b)
 
bool IsCallParaInsertedOrDeleted () const
 
bool IsFormatted () const
 
bool IsFormatting () const
 
void SetText (const OUString &rText)
 
EditPaM DeleteSelected (const EditSelection &rEditSelection)
 
EditPaM InsertTextUserInput (const EditSelection &rCurEditSelection, sal_Unicode c, bool bOverwrite)
 
EditPaM InsertText (const EditSelection &aCurEditSelection, const OUString &rStr)
 
EditPaM AutoCorrect (const EditSelection &rCurEditSelection, sal_Unicode c, bool bOverwrite, vcl::Window const *pFrameWin=nullptr)
 
EditPaM DeleteLeftOrRight (const EditSelection &rEditSelection, sal_uInt8 nMode, DeleteMode nDelMode)
 
EditPaM InsertParaBreak (const EditSelection &rEditSelection)
 
EditPaM InsertLineBreak (const EditSelection &aEditSelection)
 
EditPaM InsertTab (const EditSelection &rEditSelection)
 
EditPaM InsertField (const EditSelection &rCurSel, const SvxFieldItem &rFld)
 
bool UpdateFields ()
 
EditPaM Read (SvStream &rInput, const OUString &rBaseURL, EETextFormat eFormat, const EditSelection &rSel, SvKeyValueIterator *pHTTPHeaderAttrs=nullptr)
 
void Write (SvStream &rOutput, EETextFormat eFormat, const EditSelection &rSel)
 
std::unique_ptr< EditTextObjectCreateTextObject ()
 
std::unique_ptr< EditTextObjectCreateTextObject (const EditSelection &rSel)
 
void SetText (const EditTextObject &rTextObject)
 
EditSelection InsertText (const EditTextObject &rTextObject, EditSelection aSel)
 
EditSelection const & MoveCursor (const KeyEvent &rKeyEvent, EditView *pEditView)
 
EditSelection MoveParagraphs (Range aParagraphs, sal_Int32 nNewPos, EditView *pCurView)
 
tools::Long CalcTextHeight (tools::Long *pHeightNTP)
 
sal_uInt32 GetTextHeight () const
 
sal_uInt32 GetTextHeightNTP () const
 
sal_uInt32 CalcTextWidth (bool bIgnoreExtraSpace)
 
sal_uInt32 CalcParaWidth (sal_Int32 nParagraph, bool bIgnoreExtraSpace)
 
sal_uInt32 CalcLineWidth (ParaPortion *pPortion, EditLine *pLine, bool bIgnoreExtraSpace)
 
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_uInt16 GetLineHeight (sal_Int32 nParagraph, sal_Int32 nLine)
 
sal_uInt32 GetParaHeight (sal_Int32 nParagraph)
 
SfxItemSet GetAttribs (sal_Int32 nPara, sal_Int32 nStart, sal_Int32 nEnd, GetAttribsFlags nFlags=GetAttribsFlags::ALL) const
 
SfxItemSet GetAttribs (EditSelection aSel, EditEngineAttribs nOnlyHardAttrib=EditEngineAttribs::All)
 
void SetAttribs (EditSelection aSel, const SfxItemSet &rSet, SetAttribsMode nSpecial=SetAttribsMode::NONE, bool bSetSelection=true)
 
void RemoveCharAttribs (EditSelection aSel, EERemoveParaAttribsMode eMode, sal_uInt16 nWhich)
 
void RemoveCharAttribs (sal_Int32 nPara, sal_uInt16 nWhich=0, bool bRemoveFeatures=false)
 
void SetFlatMode (bool bFlat)
 
void SetParaAttribs (sal_Int32 nPara, const SfxItemSet &rSet)
 
const SfxItemSetGetParaAttribs (sal_Int32 nPara) const
 
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
 
tools::Rectangle PaMtoEditCursor (EditPaM aPaM, GetCursorFlags nFlags=GetCursorFlags::NONE)
 
tools::Rectangle GetEditCursor (const ParaPortion *pPortion, const EditLine *pLine, sal_Int32 nIndex, GetCursorFlags nFlags)
 
bool IsModified () const
 
void SetModifyFlag (bool b)
 
void SetModifyHdl (const Link< LinkParamNone *, void > &rLink)
 
const Link< LinkParamNone *, void > & GetModifyHdl () const
 
bool IsInSelectionMode () const
 
void Undo (EditView *pView)
 
void Redo (EditView *pView)
 
void InvalidateFromParagraph (sal_Int32 nFirstInvPara)
 
EditPaM InsertParagraph (sal_Int32 nPara)
 
std::optional< EditSelectionSelectParagraph (sal_Int32 nPara)
 
void SetStatusEventHdl (const Link< EditStatus &, void > &rLink)
 
const Link< EditStatus &, void > & GetStatusEventHdl () const
 
void SetNotifyHdl (const Link< EENotify &, void > &rLink)
 
const Link< EENotify &, void > & GetNotifyHdl () const
 
void FormatAndLayout (EditView *pCurView=nullptr, bool bCalledFromUndo=false)
 
const svtools::ColorConfigGetColorConfig () const
 
bool IsVisualCursorTravelingEnabled ()
 
bool DoVisualCursorTraveling ()
 
EditSelection ConvertSelection (sal_Int32 nStartPara, sal_Int32 nStartPos, sal_Int32 nEndPara, sal_Int32 nEndPos)
 
EPaM CreateEPaM (const EditPaM &rPaM) const
 
EditPaM CreateEditPaM (const EPaM &rEPaM)
 
ESelection CreateESel (const EditSelection &rSel) const
 
EditSelection CreateSel (const ESelection &rSel)
 
void SetStyleSheetPool (SfxStyleSheetPool *pSPool)
 
SfxStyleSheetPoolGetStyleSheetPool () const
 
void SetStyleSheet (EditSelection aSel, SfxStyleSheet *pStyle)
 
void SetStyleSheet (sal_Int32 nPara, SfxStyleSheet *pStyle)
 
const SfxStyleSheetGetStyleSheet (sal_Int32 nPara) const
 
SfxStyleSheetGetStyleSheet (sal_Int32 nPara)
 
void UpdateParagraphsWithStyleSheet (SfxStyleSheet *pStyle)
 
void RemoveStyleFromParagraphs (SfxStyleSheet const *pStyle)
 
OutputDeviceGetRefDevice () const
 
void SetRefDevice (OutputDevice *pRefDef)
 
const MapModeGetRefMapMode () const
 
void SetRefMapMode (const MapMode &rMapMode)
 
InternalEditStatusGetStatus ()
 
void CallStatusHdl ()
 
void DelayedCallStatusHdl ()
 
void UndoActionStart (sal_uInt16 nId)
 
void UndoActionStart (sal_uInt16 nId, const ESelection &rSel)
 
void UndoActionEnd ()
 
EditViewGetActiveView () const
 
void SetActiveView (EditView *pView)
 
css::uno::Reference< css::linguistic2::XSpellChecker1 > const & GetSpeller ()
 
void SetSpeller (css::uno::Reference< css::linguistic2::XSpellChecker1 > const &xSpl)
 
const css::uno::Reference< css::linguistic2::XHyphenator > & GetHyphenator () const
 
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)
 
SpellInfoGetSpellInfo () const
 
void SetDefaultLanguage (LanguageType eLang)
 
LanguageType GetDefaultLanguage () const
 
editeng::LanguageSpan GetLanguage (const EditPaM &rPaM, sal_Int32 *pEndPos=nullptr) const
 
css::lang::Locale GetLocale (const EditPaM &rPaM) const
 
void DoOnlineSpelling (ContentNode *pThisNodeOnly=nullptr, bool bSpellAtCursorPos=false, bool bInterruptible=true)
 
EESpellState Spell (EditView *pEditView, weld::Widget *pDialogParent, bool bMultipleDoc)
 
EESpellState HasSpellErrors ()
 
void ClearSpellErrors ()
 
EESpellState StartThesaurus (EditView *pEditView, weld::Widget *pDialogParent)
 
css::uno::Reference< css::linguistic2::XSpellAlternatives > ImpSpell (EditView *pEditView)
 
void Convert (EditView *pEditView, weld::Widget *pDialogParent, LanguageType nSrcLang, LanguageType nDestLang, const vcl::Font *pDestFont, sal_Int32 nOptions, bool bIsInteractive, bool bMultipleDoc)
 
void ImpConvert (OUString &rConvTxt, LanguageType &rConvTxtLang, EditView *pEditView, LanguageType nSrcLang, const ESelection &rConvRange, bool bAllowImplicitChangesForNotConvertibleText, LanguageType nTargetLang, const vcl::Font *pTargetFont)
 
ConvInfoGetConvInfo () const
 
bool HasConvertibleTextPortion (LanguageType nLang)
 
void SetLanguageAndFont (const ESelection &rESel, LanguageType nLang, sal_uInt16 nLangWhichId, const vcl::Font *pFont, sal_uInt16 nFontWhichId)
 
bool IsInputSequenceCheckingRequired (sal_Unicode nChar, const EditSelection &rCurSel) const
 
css::uno::Reference< css::linguistic2::XSpellAlternatives > ImpFindNextError (EditSelection &rSelection)
 
bool SpellSentence (EditView const &rView, svx::SpellPortions &rToFill)
 
void PutSpellingToSentenceStart (EditView const &rEditView)
 
void ApplyChangedSentence (EditView const &rEditView, const svx::SpellPortions &rNewPortions, bool bRecheck)
 
void AddPortionIterated (EditView const &rEditView, const EditSelection &rSel, const css::uno::Reference< css::linguistic2::XSpellAlternatives > &xAlt, svx::SpellPortions &rToFill)
 
void AddPortion (const EditSelection &rSel, const css::uno::Reference< css::linguistic2::XSpellAlternatives > &xAlt, svx::SpellPortions &rToFill, bool bIsField)
 
bool Search (const SvxSearchItem &rSearchItem, EditView *pView)
 
bool ImpSearch (const SvxSearchItem &rSearchItem, const EditSelection &rSearchSelection, const EditPaM &rStartPos, EditSelection &rFoundSel)
 
sal_Int32 StartSearchAndReplace (EditView *pEditView, const SvxSearchItem &rSearchItem)
 
bool HasText (const SvxSearchItem &rSearchItem)
 
void SetEditTextObjectPool (SfxItemPool *pP)
 
SfxItemPoolGetEditTextObjectPool () const
 
const SvxNumberFormatGetNumberFormat (const ContentNode *pNode) const
 
sal_Int32 GetSpaceBeforeAndMinLabelWidth (const ContentNode *pNode, sal_Int32 *pnSpaceBefore=nullptr, sal_Int32 *pnMinLabelWidth=nullptr) const
 
const SvxLRSpaceItemGetLRSpaceItem (ContentNode *pNode)
 
SvxAdjust GetJustification (sal_Int32 nPara) const
 
SvxCellJustifyMethod GetJustifyMethod (sal_Int32 nPara) const
 
SvxCellVerJustify GetVerJustification (sal_Int32 nPara) const
 
void SetCharStretching (sal_uInt16 nX, sal_uInt16 nY)
 
void GetCharStretching (sal_uInt16 &rX, sal_uInt16 &rY) const
 
sal_Int32 GetBigTextObjectStart () const
 
EditEngineGetEditEnginePtr () const
 
void StartOnlineSpellTimer ()
 
void StopOnlineSpellTimer ()
 
const OUString & GetAutoCompleteText () const
 
void SetAutoCompleteText (const OUString &rStr, bool bUpdateTipWindow)
 
EditSelection TransliterateText (const EditSelection &rSelection, TransliterationFlags nTransliterationMode)
 
short ReplaceTextOnly (ContentNode *pNode, sal_Int32 nCurrentStart, std::u16string_view rText, const css::uno::Sequence< sal_Int32 > &rOffsets)
 
void SetAsianCompressionMode (CharCompressType n)
 
CharCompressType GetAsianCompressionMode () const
 
void SetKernAsianPunctuation (bool b)
 
bool IsKernAsianPunctuation () const
 
sal_Int32 GetOverflowingParaNum () const
 
sal_Int32 GetOverflowingLineNum () const
 
void ClearOverflowingParaNum ()
 
void SetAddExtLeading (bool b)
 
bool IsAddExtLeading () const
 
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...
 
const Link< EditView *, void > & 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...
 
const Link< EditView *, void > & GetEndDropHdl () const
 
void SetFirstWordCapitalization (bool bCapitalize)
 specifies if auto-correction should capitalize the first word or not (default is on) More...
 
bool IsFirstWordCapitalization () const
 
void SetReplaceLeadingSingleQuotationMark (bool bReplace)
 specifies if auto-correction should replace a leading single quotation mark (apostrophe) or not (default is on) More...
 
bool IsReplaceLeadingSingleQuotationMark () const
 
bool IsNbspRunNext () const
 Whether last AutoCorrect inserted a NO-BREAK SPACE that may need to be removed again. More...
 
void EnableSkipOutsideFormat (bool set)
 
void Dispose ()
 
void SetLOKSpecialPaperSize (const Size &rSize)
 
const SizeGetLOKSpecialPaperSize () const
 
void IterateLineAreas (const IterateLinesAreasFunc &f, IterFlag eOptions)
 
tools::Long GetColumnWidth (const Size &rPaperSize) const
 
Point MoveToNextLine (Point &rMovePos, tools::Long nLineHeight, sal_Int16 &nColumn, Point aOrigin, tools::Long *pnHeightNeededToNotWrap=nullptr) const
 
tools::Long getWidthDirectionAware (const Size &sz) const
 
tools::Long getHeightDirectionAware (const Size &sz) const
 
void adjustXDirectionAware (Point &pt, tools::Long x) const
 
void adjustYDirectionAware (Point &pt, tools::Long y) const
 
void setXDirectionAwareFrom (Point &ptDest, const Point &ptSrc) const
 
void setYDirectionAwareFrom (Point &ptDest, const Point &ptSrc) const
 
tools::Long getYOverflowDirectionAware (const Point &pt, const tools::Rectangle &rectMax) const
 
bool isXOverflowDirectionAware (const Point &pt, const tools::Rectangle &rectMax) const
 
tools::Long getBottomDocOffset (const tools::Rectangle &rect) const
 
Size getTopLeftDocOffset (const tools::Rectangle &rect) const
 
- Public Member Functions inherited from SfxListener
 SfxListener ()
 
 SfxListener (const SfxListener &rCopy)
 
virtual ~SfxListener () COVERITY_NOEXCEPT_FALSE
 
void StartListening (SfxBroadcaster &rBroadcaster, DuplicateHandling eDuplicateHanding=DuplicateHandling::Unexpected)
 
void EndListening (SfxBroadcaster &rBroadcaster, bool bRemoveAllDuplicates=false)
 
void EndListeningAll ()
 
bool IsListening (SfxBroadcaster &rBroadcaster) const
 
sal_uInt16 GetBroadcasterCount () const
 
SfxBroadcasterGetBroadcasterJOE (sal_uInt16 nNo) const
 
virtual void Notify (SfxBroadcaster &rBC, const SfxHint &rHint)
 
void RemoveBroadcaster_Impl (SfxBroadcaster &rBC)
 

Static Public Member Functions

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

Protected Member Functions

virtual void Notify (SfxBroadcaster &rBC, const SfxHint &rHint) override
 

Private Types

typedef EditEngine::ViewsType ViewsType
 

Private Member Functions

void CursorMoved (const ContentNode *pPrevNode)
 
void ParaAttribsChanged (ContentNode const *pNode, bool bIgnoreUndoCheck=false)
 
void TextModified ()
 
void CalcHeight (ParaPortion *pPortion)
 
void InsertUndo (std::unique_ptr< EditUndo > pUndo, bool bTryMerge=false)
 
void ResetUndoManager ()
 
bool HasUndoManager () const
 
std::unique_ptr< EditUndoSetAttribsCreateAttribUndo (EditSelection aSel, const SfxItemSet &rSet)
 
std::unique_ptr< EditTextObjectGetEmptyTextObject ()
 
std::tuple< const ParaPortion *, const EditLine *, tools::LongGetPortionAndLine (Point aDocPos)
 
EditPaM GetPaM (Point aDocPos, bool bSmart=true)
 
bool IsTextPos (const Point &rDocPos, sal_uInt16 nBorder)
 
tools::Long GetXPos (const ParaPortion *pParaPortion, const EditLine *pLine, sal_Int32 nIndex, bool bPreferPortionStart=false) const
 
tools::Long GetPortionXOffset (const ParaPortion *pParaPortion, const EditLine *pLine, sal_Int32 nTextPortion) const
 
sal_Int32 GetChar (const ParaPortion *pParaPortion, const EditLine *pLine, tools::Long nX, bool bSmart=true)
 
Range GetLineXPosStartEnd (const ParaPortion *pParaPortion, const EditLine *pLine) const
 
void ParaAttribsToCharAttribs (ContentNode *pNode)
 
void GetCharAttribs (sal_Int32 nPara, std::vector< EECharAttrib > &rLst) const
 
std::unique_ptr< EditTextObjectCreateTextObject (EditSelection aSelection, SfxItemPool *, bool bAllowBigObjects=false, sal_Int32 nBigObjStart=0)
 
EditSelection InsertTextObject (const EditTextObject &, EditPaM aPaM)
 
EditSelection PasteText (css::uno::Reference< css::datatransfer::XTransferable > const &rxDataObj, const OUString &rBaseURL, const EditPaM &rPaM, bool bUseSpecial)
 
void CheckPageOverflow ()
 
void Clear ()
 
EditPaM RemoveText ()
 
bool CreateLines (sal_Int32 nPara, sal_uInt32 nStartPosY)
 
void CreateAndInsertEmptyLine (ParaPortion *pParaPortion)
 
bool FinishCreateLines (ParaPortion *pParaPortion)
 
void CreateTextPortions (ParaPortion *pParaPortion, sal_Int32 &rStartPos)
 
void RecalcTextPortion (ParaPortion *pParaPortion, sal_Int32 nStartPos, sal_Int32 nNewChars)
 
sal_Int32 SplitTextPortion (ParaPortion *pParaPortion, sal_Int32 nPos, EditLine *pCurLine=nullptr)
 
void SeekCursor (ContentNode *pNode, sal_Int32 nPos, SvxFont &rFont, OutputDevice *pOut=nullptr)
 
void RecalcFormatterFontMetrics (FormatterFontMetric &rCurMetrics, SvxFont &rFont)
 
void CheckAutoPageSize ()
 
void ImpBreakLine (ParaPortion *pParaPortion, EditLine *pLine, TextPortion const *pPortion, sal_Int32 nPortionStart, tools::Long nRemainingWidth, bool bCanHyphenate)
 
void ImpAdjustBlocks (ParaPortion *pParaPortion, EditLine *pLine, tools::Long nRemainingSpace)
 
EditPaM ImpConnectParagraphs (ContentNode *pLeft, ContentNode *pRight, bool bBackward=false)
 
EditPaM ImpDeleteSelection (const EditSelection &rCurSel)
 
EditPaM ImpInsertParaBreak (EditPaM &rPaM, bool bKeepEndingAttribs=true)
 
EditPaM ImpInsertParaBreak (const EditSelection &rEditSelection)
 
EditPaM ImpInsertText (const EditSelection &aCurEditSelection, const OUString &rStr)
 
EditPaM ImpInsertFeature (const EditSelection &rCurSel, const SfxPoolItem &rItem)
 
void ImpRemoveChars (const EditPaM &rPaM, sal_Int32 nChars)
 
void ImpRemoveParagraph (sal_Int32 nPara)
 
EditSelection ImpMoveParagraphs (Range aParagraphs, sal_Int32 nNewPos)
 
EditPaM ImpFastInsertText (EditPaM aPaM, const OUString &rStr)
 
EditPaM ImpFastInsertParagraph (sal_Int32 nPara)
 
bool ImpCheckRefMapMode ()
 
bool ImplHasText () const
 
void ImpFindKashidas (ContentNode *pNode, sal_Int32 nStart, sal_Int32 nEnd, std::vector< sal_Int32 > &rArray)
 
void InsertContent (ContentNode *pNode, sal_Int32 nPos)
 
EditPaM SplitContent (sal_Int32 nNode, sal_Int32 nSepPos)
 
EditPaM ConnectContents (sal_Int32 nLeftNode, bool bBackward)
 
void ShowParagraph (sal_Int32 nParagraph, bool bShow)
 
EditPaM PageUp (const EditPaM &rPaM, EditView const *pView)
 
EditPaM PageDown (const EditPaM &rPaM, EditView const *pView)
 
EditPaM CursorUp (const EditPaM &rPaM, EditView const *pEditView)
 
EditPaM CursorDown (const EditPaM &rPaM, EditView const *pEditView)
 
EditPaM CursorLeft (const EditPaM &rPaM, sal_uInt16 nCharacterIteratorMode=css::i18n::CharacterIteratorMode::SKIPCELL)
 
EditPaM CursorRight (const EditPaM &rPaM, sal_uInt16 nCharacterIteratorMode=css::i18n::CharacterIteratorMode::SKIPCELL)
 
EditPaM CursorStartOfLine (const EditPaM &rPaM)
 
EditPaM CursorEndOfLine (const EditPaM &rPaM)
 
EditPaM CursorStartOfDoc ()
 
EditPaM CursorEndOfDoc ()
 
EditPaM WordLeft (const EditPaM &rPaM)
 
EditPaM WordRight (const EditPaM &rPaM, sal_Int16 nWordType=css::i18n::WordType::ANYWORD_IGNOREWHITESPACES)
 
EditPaM StartOfWord (const EditPaM &rPaM)
 
EditPaM EndOfWord (const EditPaM &rPaM)
 
EditSelection SelectWord (const EditSelection &rCurSelection, sal_Int16 nWordType=css::i18n::WordType::ANYWORD_IGNOREWHITESPACES, bool bAcceptStartOfWord=true)
 
EditSelection SelectSentence (const EditSelection &rCurSel) const
 
EditPaM CursorVisualLeftRight (EditView const *pEditView, const EditPaM &rPaM, sal_uInt16 nCharacterIteratorMode, bool bToLeft)
 
EditPaM CursorVisualStartEnd (EditView const *pEditView, const EditPaM &rPaM, bool bStart)
 
void InitScriptTypes (sal_Int32 nPara)
 
sal_uInt16 GetI18NScriptType (const EditPaM &rPaM, sal_Int32 *pEndPos=nullptr) const
 
SvtScriptType GetItemScriptType (const EditSelection &rSel) const
 
bool IsScriptChange (const EditPaM &rPaM) const
 
bool HasScriptType (sal_Int32 nPara, sal_uInt16 nType) const
 
bool ImplCalcAsianCompression (ContentNode *pNode, TextPortion *pTextPortion, sal_Int32 nStartPos, sal_Int32 *pDXArray, sal_uInt16 n100thPercentFromMax, bool bManipulateDXArray)
 
void ImplExpandCompressedPortions (EditLine *pLine, ParaPortion *pParaPortion, tools::Long nRemainingWidth)
 
void ImplInitLayoutMode (OutputDevice &rOutDev, sal_Int32 nPara, sal_Int32 nIndex)
 
LanguageType ImplCalcDigitLang (LanguageType eCurLang) const
 
void ImplInitDigitMode (OutputDevice &rOutDev, LanguageType eLang)
 
EditPaM ReadText (SvStream &rInput, EditSelection aSel)
 
EditPaM ReadRTF (SvStream &rInput, EditSelection aSel)
 
EditPaM ReadXML (SvStream &rInput, EditSelection aSel)
 
EditPaM ReadHTML (SvStream &rInput, const OUString &rBaseURL, EditSelection aSel, SvKeyValueIterator *pHTTPHeaderAttrs)
 
ErrCode WriteText (SvStream &rOutput, EditSelection aSel)
 
ErrCode WriteRTF (SvStream &rOutput, EditSelection aSel)
 
void WriteXML (SvStream &rOutput, const EditSelection &rSel)
 
void WriteItemAsRTF (const SfxPoolItem &rItem, SvStream &rOutput, sal_Int32 nPara, sal_Int32 nPos, std::vector< std::unique_ptr< SvxFontItem > > &rFontTable, SvxColorList &rColorList)
 
bool WriteItemListAsRTF (ItemList &rLst, SvStream &rOutput, sal_Int32 nPara, sal_Int32 nPos, std::vector< std::unique_ptr< SvxFontItem > > &rFontTable, SvxColorList &rColorList)
 
sal_Int32 LogicToTwips (sal_Int32 n)
 
short GetXValue (short nXValue) const
 
tools::Long GetXValue (tools::Long nXValue) const
 
short GetYValue (short nYValue) const
 
sal_uInt16 GetYValue (sal_uInt16 nYValue) const
 
ContentNodeGetPrevVisNode (ContentNode const *pCurNode)
 
ContentNodeGetNextVisNode (ContentNode const *pCurNode)
 
const ParaPortionGetPrevVisPortion (const ParaPortion *pCurPortion) const
 
const ParaPortionGetNextVisPortion (const ParaPortion *pCurPortion) const
 
void SetBackgroundColor (const Color &rColor)
 
const ColorGetBackgroundColor () const
 
tools::Long CalcVertLineSpacing (Point &rStartPos) const
 
Color GetAutoColor () const
 
void EnableAutoColor (bool b)
 
bool IsAutoColorEnabled () const
 
void ForceAutoColor (bool b)
 
bool IsForceAutoColor () const
 
VirtualDeviceGetVirtualDevice (const MapMode &rMapMode, DrawModeFlags nDrawMode)
 
void EraseVirtualDevice ()
 
 DECL_LINK (StatusTimerHdl, Timer *, void)
 
 DECL_LINK (IdleFormatHdl, Timer *, void)
 
 DECL_LINK (OnlineSpellHdl, Timer *, void)
 
 DECL_LINK (DocModified, LinkParamNone *, void)
 
void CheckIdleFormatter ()
 
const ParaPortionFindParaPortion (const ContentNode *pNode) const
 
ParaPortionFindParaPortion (ContentNode const *pNode)
 
css::uno::Reference< css::datatransfer::XTransferable > CreateTransferable (const EditSelection &rSelection)
 
void SetValidPaperSize (const Size &rSz)
 
css::uno::Reference< css::i18n::XBreakIterator > const & ImplGetBreakIterator () const
 
css::uno::Reference< css::i18n::XExtendedInputSequenceChecker > const & ImplGetInputSequenceChecker () const
 
void ImplUpdateOverflowingParaNum (tools::Long)
 
void ImplUpdateOverflowingLineNum (tools::Long, sal_uInt32, tools::Long)
 
void CreateSpellInfo (bool bMultipleDocs)
 
ViewShellId CreateViewShellId ()
 Obtains a view shell ID from the active EditView. More...
 
 ImpEditEngine (EditEngine *pEditEngine, SfxItemPool *pPool)
 
void InitDoc (bool bKeepParaAttribs)
 
EditDocGetEditDoc ()
 
const EditDocGetEditDoc () const
 
const ParaPortionListGetParaPortions () const
 
ParaPortionListGetParaPortions ()
 
tools::Long Calc1ColumnTextHeight (tools::Long *pHeightNTP)
 
void IdleFormatAndLayout (EditView *pCurView)
 

Static Private Member Functions

static EditPaM CursorStartOfParagraph (const EditPaM &rPaM)
 
static EditPaM CursorEndOfParagraph (const EditPaM &rPaM)
 
static OUString convertDigits (std::u16string_view rString, sal_Int32 nStt, sal_Int32 nLen, LanguageType eDigitLang)
 

Private Attributes

std::shared_ptr< editeng::SharedVclResourcespSharedVCL
 
ParaPortionList aParaPortionList
 
Size aPaperSize
 
Size aMinAutoPaperSize
 
Size aMaxAutoPaperSize
 
tools::Long mnMinColumnWrapHeight = 0
 
EditDoc aEditDoc
 
EditEnginepEditEngine
 
ViewsType aEditViews
 
EditViewpActiveView
 
std::unique_ptr< TextRangerpTextRanger
 
SfxStyleSheetPoolpStylePool
 
SfxItemPoolpTextObjectPool
 
VclPtr< VirtualDevicepVirtDev
 
VclPtr< OutputDevicepRefDev
 
VclPtr< VirtualDevicempOwnDev
 
svtools::ColorConfig maColorConfig
 
std::unique_ptr< SvtCTLOptionspCTLOptions
 
std::unique_ptr< SfxItemSetpEmptyItemSet
 
EditUndoManagerpUndoManager
 
std::unique_ptr< ESelectionpUndoMarkSelection
 
std::unique_ptr< ImplIMEInfosmpIMEInfos
 
OUString aWordDelimiters
 
EditSelFunctionSet aSelFuncSet
 
EditSelectionEngine aSelEngine
 
Color maBackgroundColor
 
sal_uInt16 nStretchX
 
sal_uInt16 nStretchY
 
CharCompressType nAsianCompressionMode
 
EEHorizontalTextDirection eDefaultHorizontalTextDirection
 
sal_Int32 nBigTextObjectStart
 
css::uno::Reference< css::linguistic2::XSpellChecker1 > xSpeller
 
css::uno::Reference< css::linguistic2::XHyphenator > xHyphenator
 
std::unique_ptr< SpellInfopSpellInfo
 
css::uno::Reference< css::i18n::XBreakIterator > xBI
 
css::uno::Reference< css::i18n::XExtendedInputSequenceChecker > xISC
 
std::unique_ptr< ConvInfopConvInfo
 
OUString aAutoCompleteText
 
InternalEditStatus aStatus
 
LanguageType eDefLanguage
 
OnDemandLocaleDataWrapper xLocaleDataWrapper
 
OnDemandTransliterationWrapper xTransliterationWrapper
 
std::vector< std::unique_ptr< DeletedNodeInfo > > aDeletedNodes
 
tools::Rectangle aInvalidRect
 
tools::Long nCurTextHeight
 
tools::Long nCurTextHeightNTP
 
sal_uInt16 nOnePixelInRef
 
IdleFormattter aIdleFormatter
 
Timer aOnlineSpellTimer
 
sal_Int32 mnOverflowingPara = -1
 
sal_Int32 mnOverflowingLine = -1
 
bool mbNeedsChainingHandling = false
 
sal_Int16 mnColumns = 1
 
sal_Int32 mnColumnSpacing = 0
 
Timer aStatusTimer
 
Size aLOKSpecialPaperSize
 
Link< EditStatus &, void > aStatusHdlLink
 
Link< EENotify &, void > aNotifyHdl
 
Link< HtmlImportInfo &, void > aHtmlImportHdl
 
Link< RtfImportInfo &, void > aRtfImportHdl
 
Link< MoveParagraphsInfo &, void > aBeginMovingParagraphsHdl
 
Link< MoveParagraphsInfo &, void > aEndMovingParagraphsHdl
 
Link< PasteOrDropInfos &, void > aBeginPasteOrDropHdl
 
Link< PasteOrDropInfos &, void > aEndPasteOrDropHdl
 
Link< LinkParamNone *, void > aModifyHdl
 
Link< EditView *, void > maBeginDropHdl
 
Link< EditView *, void > maEndDropHdl
 
bool bKernAsianPunctuation:1
 
bool bAddExtLeading:1
 
bool bIsFormatting:1
 
bool bFormatted:1
 
bool bInSelection:1
 
bool bIsInUndo:1
 
bool bUpdateLayout:1
 
bool bUndoEnabled:1
 
bool bDowning:1
 
bool bUseAutoColor:1
 
bool bForceAutoColor:1
 
bool bCallParaInsertedOrDeleted:1
 
bool bFirstWordCapitalization:1
 
bool mbLastTryMerge:1
 
bool mbReplaceLeadingSingleQuotationMark:1
 
bool mbSkipOutsideFormat:1
 
bool mbNbspRunNext
 

Friends

class EditEngine
 

Detailed Description

Definition at line 481 of file impedit.hxx.

Member Typedef Documentation

◆ IterateLinesAreasFunc

Definition at line 1158 of file impedit.hxx.

◆ ViewsType

Definition at line 485 of file impedit.hxx.

Member Enumeration Documentation

◆ CallbackResult

enum class ImpEditEngine::CallbackResult
strong
Enumerator
Continue 
SkipThisPortion 
Stop 

Definition at line 1141 of file impedit.hxx.

◆ IterFlag

Enumerator
none 
inclILS 

Definition at line 1159 of file impedit.hxx.

Constructor & Destructor Documentation

◆ ImpEditEngine() [1/2]

ImpEditEngine::ImpEditEngine ( EditEngine pEditEngine,
SfxItemPool pPool 
)
private

◆ ~ImpEditEngine()

ImpEditEngine::~ImpEditEngine ( )
overridevirtual

◆ ImpEditEngine() [2/2]

ImpEditEngine::ImpEditEngine ( const ImpEditEngine )
delete

Member Function Documentation

◆ AddPortion()

void ImpEditEngine::AddPortion ( const EditSelection rSel,
const css::uno::Reference< css::linguistic2::XSpellAlternatives > &  xAlt,
svx::SpellPortions rToFill,
bool  bIsField 
)

◆ AddPortionIterated()

void ImpEditEngine::AddPortionIterated ( EditView const &  rEditView,
const EditSelection rSel,
const css::uno::Reference< css::linguistic2::XSpellAlternatives > &  xAlt,
svx::SpellPortions rToFill 
)

◆ adjustXDirectionAware()

void ImpEditEngine::adjustXDirectionAware ( Point pt,
tools::Long  x 
) const

Definition at line 3000 of file impedit3.cxx.

References IsEffectivelyVertical(), IsTopToBottom(), pt, and x.

Referenced by MoveToNextLine(), and Paint().

◆ adjustYDirectionAware()

void ImpEditEngine::adjustYDirectionAware ( Point pt,
tools::Long  y 
) const

Definition at line 3008 of file impedit3.cxx.

References IsEffectivelyVertical(), IsTopToBottom(), pt, and y.

Referenced by CalcVertLineSpacing(), GetPortionAndLine(), MoveToNextLine(), and Paint().

◆ ApplyChangedSentence()

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

◆ AutoCorrect()

EditPaM ImpEditEngine::AutoCorrect ( const EditSelection rCurEditSelection,
sal_Unicode  c,
bool  bOverwrite,
vcl::Window const *  pFrameWin = nullptr 
)

Definition at line 2525 of file impedit2.cxx.

Referenced by Command().

◆ Calc1ColumnTextHeight()

tools::Long ImpEditEngine::Calc1ColumnTextHeight ( tools::Long pHeightNTP)
private

Definition at line 3481 of file impedit2.cxx.

References Continue, getBottomDocOffset(), IterateLineAreas(), and nCurTextHeight.

Referenced by CalcTextHeight().

◆ CalcHeight()

void ImpEditEngine::CalcHeight ( ParaPortion pPortion)
private

◆ CalcLineWidth()

sal_uInt32 ImpEditEngine::CalcLineWidth ( ParaPortion pPortion,
EditLine pLine,
bool  bIgnoreExtraSpace 
)

◆ CalcParaWidth()

sal_uInt32 ImpEditEngine::CalcParaWidth ( sal_Int32  nParagraph,
bool  bIgnoreExtraSpace 
)

◆ CalcTextHeight()

tools::Long ImpEditEngine::CalcTextHeight ( tools::Long pHeightNTP)

◆ CalcTextWidth()

sal_uInt32 ImpEditEngine::CalcTextWidth ( bool  bIgnoreExtraSpace)

◆ CalcVertLineSpacing()

tools::Long ImpEditEngine::CalcVertLineSpacing ( Point rStartPos) const
private

◆ CallStatusHdl()

void ImpEditEngine::CallStatusHdl ( )

◆ CheckAutoPageSize()

void ImpEditEngine::CheckAutoPageSize ( )
private

◆ CheckIdleFormatter()

void ImpEditEngine::CheckIdleFormatter ( )
private

Definition at line 343 of file impedit3.cxx.

References aIdleFormatter, IdleFormattter::ForceTimeout(), FormatDoc(), and IsFormatted().

Referenced by MoveCursor(), and WriteRTF().

◆ CheckPageOverflow()

void ImpEditEngine::CheckPageOverflow ( )
private

◆ Clear()

void ImpEditEngine::Clear ( )
private

◆ ClearOverflowingParaNum()

void ImpEditEngine::ClearOverflowingParaNum ( )
inline

Definition at line 1106 of file impedit.hxx.

References mnOverflowingPara.

◆ ClearSpellErrors()

void ImpEditEngine::ClearSpellErrors ( )

Definition at line 2424 of file impedit4.cxx.

References aEditDoc, and EditDoc::ClearSpellErrors().

◆ Command()

bool ImpEditEngine::Command ( const CommandEvent rCEvt,
EditView pView 
)

Definition at line 337 of file impedit2.cxx.

References ESelection::Adjust(), AutoCorrect(), CH_FEATURE, SelectionEngine::Command(), Continue, ContentNode::Copy(), CreateESel(), EditView::DeleteSelected(), DeleteSelected(), EDITUNDO_INSERT, EndOfLine, EditLineList::FindLine(), FindParaPortion(), FormatAndLayout(), FormatDoc(), ContentNode::GetChar(), CommandEvent::GetCommand(), GetEditCursor(), GetEditDoc(), ImpEditView::GetEditSelection(), EditView::getEditViewCallbacks(), EditLine::GetEnd(), CommandEvent::GetExtTextInputData(), EditView::GetImpEditView(), EditPaM::GetIndex(), ParaPortion::GetLines(), EditPaM::GetNode(), GetParaPortions(), EditDoc::GetPos(), EditView::GetSelection(), CommandEvent::GetSelectionChangeData(), GetSelEngine(), GetStatus(), EditEngine::GetTextLen(), getTopLeftDocOffset(), EditView::GetWindow(), ImpEditView::GetWindowPos(), EditView::HasSelection(), EditView::HideCursor(), ImpInsertText(), IsFormatted(), EditView::IsInsertMode(), IterateLineAreas(), tools::Rectangle::Left(), ParaPortion::MarkSelectionInvalid(), EditSelection::Max(), EditSelection::Min(), tools::Rectangle::Move(), mpIMEInfos, n, ESelection::nEndPara, ESelection::nEndPos, NONE, ESelection::nStartPara, ESelection::nStartPos, PaMtoEditCursor(), pData, pEditEngine, EditView::pImpEditView, tools::Rectangle::Right(), ParaPortionList::SafeGetObject(), SetActiveView(), EditSelectionEngine::SetCurView(), EditPaM::SetIndex(), EditView::SetInsertMode(), EditView::SetSelection(), EditView::ShowCursor(), SkipThisPortion, Stop, UndoActionEnd(), and UndoActionStart().

◆ ConnectContents()

EditPaM ImpEditEngine::ConnectContents ( sal_Int32  nLeftNode,
bool  bBackward 
)
private

Definition at line 3942 of file impedit3.cxx.

References aEditDoc, DBG_ASSERT, EditDoc::GetObject(), and ImpConnectParagraphs().

◆ Convert()

void ImpEditEngine::Convert ( EditView pEditView,
weld::Widget pDialogParent,
LanguageType  nSrcLang,
LanguageType  nDestLang,
const vcl::Font pDestFont,
sal_Int32  nOptions,
bool  bIsInteractive,
bool  bMultipleDoc 
)

! optimization does not work since when update mode is false ! the object is 'lying' about it portions, paragraphs, ! EndPaM... later on. ! Should not be a great problem since text boxes or cells in ! Calc usually have only a rather short text.

Definition at line 1515 of file impedit4.cxx.

References EditSelection::Adjust(), aEditDoc, TextConvWrapper::Convert(), LanguageTag::convertToLocale(), CreateEPaM(), EditPaM::GetIndex(), EditPaM::GetNode(), EditDoc::GetStartPaM(), EditSelection::HasRange(), ImplGetBreakIterator(), editeng::HangulHanjaConversion::IsChinese(), ContentNode::Len(), EditSelection::Max(), Min, EditSelection::Min(), pConvInfo, EditView::pImpEditView, SelectWord(), EditPaM::SetIndex(), and EditView::ShowCursor().

◆ convertDigits()

OUString ImpEditEngine::convertDigits ( std::u16string_view  rString,
sal_Int32  nStt,
sal_Int32  nLen,
LanguageType  eDigitLang 
)
staticprivate

Definition at line 4362 of file impedit3.cxx.

References aBuf, and GetLocalizedChar().

Referenced by Paint().

◆ ConvertSelection()

EditSelection ImpEditEngine::ConvertSelection ( sal_Int32  nStartPara,
sal_Int32  nStartPos,
sal_Int32  nEndPara,
sal_Int32  nEndPos 
)

◆ CreateAndInsertEmptyLine()

void ImpEditEngine::CreateAndInsertEmptyLine ( ParaPortion pParaPortion)
private

Definition at line 1690 of file impedit3.cxx.

References aPaperSize, EditLineList::Append(), TextPortionList::Append(), aStatus, Center, TextPortionList::Count(), EditLineList::Count(), DBG_ASSERT, EE_PARA_SBL(), Fix, EditEngine::GetBulletArea(), ParaPortion::GetBulletX(), GetColumnWidth(), ContentNode::GetContentAttribs(), GetEditEnginePtr(), EditLine::GetEnd(), vcl::Font::GetFontHeight(), EditLine::GetHeight(), FormatterFontMetric::GetHeight(), SvxLineSpacingItem::GetInterLineSpaceRule(), ContentAttribs::GetItem(), GetJustification(), SvxLineSpacingItem::GetLineHeight(), ParaPortion::GetLines(), SvxLineSpacingItem::GetLineSpaceRule(), GetLRSpaceItem(), EditLine::GetMaxAscent(), ParaPortion::GetNode(), GetParaPortions(), SvxFont::GetPhysTxtSize(), ParaPortionList::GetPos(), SvxLineSpacingItem::GetPropLineSpace(), SvxLRSpaceItem::GetRight(), TextPortion::GetSize(), GetSpaceBeforeAndMinLabelWidth(), EditLine::GetStartPortion(), SvxLRSpaceItem::GetTextFirstLineOffset(), SvxLRSpaceItem::GetTextLeft(), ParaPortion::GetTextPortions(), GetTextRanger(), GetXValue(), Size::Height(), ImplCalculateFontIndependentLineSpacing(), IsFixedCellHeight(), InternalEditStatus::IsOutliner(), ContentNode::Len(), Min, FormatterFontMetric::nMaxAscent, nPos, Point, pRefDev, Prop, RecalcFormatterFontMetrics(), Right, SeekCursor(), ParaPortion::SetBulletX(), EditLine::SetEnd(), EditLine::SetEndPortion(), EditLine::SetHeight(), Size::setHeight(), EditLine::SetMaxAscent(), SvxFont::SetPhysFont(), EditLine::SetStart(), EditLine::SetStartPortion(), and EditLine::SetStartPosX().

Referenced by CreateLines().

◆ CreateAttribUndo()

std::unique_ptr< EditUndoSetAttribs > ImpEditEngine::CreateAttribUndo ( EditSelection  aSel,
const SfxItemSet rSet 
)
private

◆ CreateEditPaM()

EditPaM ImpEditEngine::CreateEditPaM ( const EPaM rEPaM)
inline

Definition at line 1190 of file impedit.hxx.

References aEditDoc, EditDoc::Count(), DBG_ASSERT, EPaM::nIndex, and EPaM::nPara.

Referenced by ImpConvert(), and lcl_DoSetSelection().

◆ CreateEPaM()

EPaM ImpEditEngine::CreateEPaM ( const EditPaM rPaM) const
inline

◆ CreateESel()

ESelection ImpEditEngine::CreateESel ( const EditSelection rSel) const
inline

◆ CreateLines()

bool ImpEditEngine::CreateLines ( sal_Int32  nPara,
sal_uInt32  nStartPosY 
)
private

Definition at line 601 of file impedit3.cxx.

References a, aBuf, Size::AdjustWidth(), aEditDoc, aMaxAutoPaperSize, aPaperSize, EditLineList::Append(), TextPortionList::Append(), aStatus, InternalEditStatus::AutoPageHeight(), InternalEditStatus::AutoPageWidth(), ExtraPortionInfo::bCompressed, Block, Bottom, EditLine::CalcTextSize(), Center, CH_FEATURE, ParaPortion::CorrectValuesBehindLastFormattedLine(), Count, TextPortionList::Count(), EditLineList::Count(), CreateAndInsertEmptyLine(), CreateTextPortions(), DBG_ASSERT, Decimal, EditLineList::DeleteFromLine(), Distribute, InternalEditStatus::DoStretch(), EE_FEATURE_FIELD(), EE_FEATURE_LINEBR(), EE_FEATURE_TAB(), EE_PARA_ASIANCJKSPACING(), EE_PARA_HYPHENATE(), EE_PARA_SBL(), FIELD, CharAttribList::FindFeature(), ContentAttribs::FindTabStop(), FinishCreateLines(), Fix, GetAsianCompressionMode(), TextRanger::GetBoundRect(), EditEngine::GetBulletArea(), ParaPortion::GetBulletX(), ContentNode::GetCharAttribs(), EditLine::GetCharPosArray(), vcl::Font::GetCharSet(), GetColumnWidth(), ContentNode::GetContentAttribs(), CharAttribList::GetDefFont(), EditDoc::GetDefTab(), GetEditCursor(), GetEditEnginePtr(), EditLine::GetEnd(), EditLine::GetEndPortion(), TextPortion::GetExtraInfos(), SvxFont::GetFixKerning(), vcl::Font::GetFontHeight(), EditLine::GetHeight(), FormatterFontMetric::GetHeight(), GetI18NScriptType(), SvxLineSpacingItem::GetInterLineSpaceRule(), ParaPortion::GetInvalidDiff(), ParaPortion::GetInvalidPosStart(), EditCharAttrib::GetItem(), ContentAttribs::GetItem(), GetJustification(), GetJustifyMethod(), TextPortion::GetKind(), vcl::Font::GetLanguage(), TextPortion::GetLen(), EditLine::GetLen(), SvxLineSpacingItem::GetLineHeight(), ParaPortion::GetLines(), SvxLineSpacingItem::GetLineSpaceRule(), GetLocale(), GetLRSpaceItem(), EditLine::GetMaxAscent(), ParaPortion::GetNode(), GetPaperSize(), GetParaPortions(), SvxFont::GetPhysTxtSize(), SvxLineSpacingItem::GetPropLineSpace(), GetRefDevice(), SvxLRSpaceItem::GetRight(), GetRightToLeft(), GetSelected(), TextPortion::GetSize(), GetSpaceBeforeAndMinLabelWidth(), EditCharAttrib::GetStart(), EditLine::GetStart(), EditLine::GetStartPortion(), EditLine::GetStartPosX(), ContentNode::GetString(), SvxLRSpaceItem::GetTextFirstLineOffset(), SvxLRSpaceItem::GetTextLeft(), ParaPortion::GetTextPortions(), GetTextRanger(), TextRanger::GetTextRanges(), EditLine::GetTxtHeight(), getWidthDirectionAware(), GetXValue(), GetYValue(), HasScriptType(), Height, Size::Height(), HYPHENATOR, ImpAdjustBlocks(), ImpBreakLine(), ImpCheckRefMapMode(), ImplCalcAsianCompression(), ImplCalculateFontIndependentLineSpacing(), ImplExpandCompressedPortions(), ImplGetBreakIterator(), ImplInitDigitMode(), ImplInitLayoutMode(), EditLineList::Insert(), IsEffectivelyVertical(), IsFixedCellHeight(), EditLine::IsHangingPunctuation(), ParaPortion::IsInvalid(), InternalEditStatus::IsOutliner(), IsRightToLeft(), IsScriptChange(), ParaPortion::IsSimpleInvalid(), ParaPortion::IsVisible(), tools::Rectangle::IsWidthEmpty(), Left, ContentNode::Len(), LINEBREAK, ExtraPortionInfo::lineBreaksList, o3tl::make_unsigned(), mbSkipOutsideFormat, Min, n, nIndex, FormatterFontMetric::nMaxAscent, NONE, ExtraPortionInfo::nOrgWidth, nPos, nStretchX, InternalEditStatus::OneCharPerLine(), Point, OutputDevice::Pop(), pRefDev, Prop, OutputDevice::Push(), SvxFont::QuickGetTextSize(), RecalcFormatterFontMetrics(), RecalcTextPortion(), TextPortionList::Remove(), TextPortionList::Reset(), EditLineList::Reset(), tools::Rectangle::Right(), Right, SAL_WARN, SAL_WARN_IF, SeekCursor(), ParaPortion::SetBulletX(), EditLine::SetEnd(), EditLine::SetEndPortion(), TextPortion::SetExtraInfos(), TextPortion::SetExtraValue(), EditLine::SetHeight(), Size::setHeight(), EditLine::SetInvalid(), TextPortion::SetKind(), TextPortion::SetLen(), EditLine::SetMaxAscent(), SvxFont::SetPhysFont(), TextPortion::SetRightToLeftLevel(), EditLine::SetStart(), EditLine::SetStartPortion(), EditLine::SetStartPosX(), EditLine::SetTextWidth(), EditLine::SetValid(), TextRanger::SetVertical(), Size::setWidth(), SplitTextPortion(), TAB, TEXT, vcl::TEXTLANGUAGE, vcl::TEXTLAYOUTMODE, tools::Rectangle::Top(), SfxPoolItem::Which(), and Size::Width().

Referenced by CheckAutoPageSize(), FormatDoc(), and ShowParagraph().

◆ CreateSel()

EditSelection ImpEditEngine::CreateSel ( const ESelection rSel)
inline

◆ CreateSpellInfo()

void ImpEditEngine::CreateSpellInfo ( bool  bMultipleDocs)
private

Definition at line 1420 of file impedit4.cxx.

References EE_INDEX_NOT_FOUND, EE_PARA_NOT_FOUND, and pSpellInfo.

Referenced by Spell(), and SpellSentence().

◆ CreateTextObject() [1/3]

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

◆ CreateTextObject() [2/3]

std::unique_ptr< EditTextObject > ImpEditEngine::CreateTextObject ( const EditSelection rSel)

◆ CreateTextObject() [3/3]

std::unique_ptr< EditTextObject > ImpEditEngine::CreateTextObject ( EditSelection  aSelection,
SfxItemPool pPool,
bool  bAllowBigObjects = false,
sal_Int32  nBigObjStart = 0 
)
private

Definition at line 984 of file impedit4.cxx.

References EditSelection::Adjust(), aEditDoc, XParaPortion::aLines, aPaperSize, EditLineList::Append(), TextPortionList::Append(), XParaPortion::aTextPortions, EditLine::Clone(), WrongList::Clone(), ContentNode::Copy(), TextPortionList::Count(), EditLineList::Count(), DBG_ASSERT, DEF_METRIC, GetAttrib(), CharAttribList::GetAttribs(), ContentNode::GetCharAttribs(), ContentInfo::GetCharAttribs(), GetColumnWidth(), ContentNode::GetContentAttribs(), EditCharAttrib::GetEnd(), XEditAttribute::GetEnd(), SfxStyleSheetBase::GetFamily(), ParaPortion::GetFirstLineOffset(), ParaPortion::GetHeight(), EditPaM::GetIndex(), EditCharAttrib::GetItem(), EditDoc::GetItemPool(), ContentAttribs::GetItems(), GetItemScriptType(), XEditAttribute::GetLen(), ParaPortion::GetLines(), SfxItemPool::GetMetric(), SfxStyleSheetBase::GetName(), EditPaM::GetNode(), ParaPortion::GetNode(), EditDoc::GetObject(), ContentInfo::GetParaAttribs(), GetParaPortions(), EditDoc::GetPos(), GetRefDevice(), GetRotation(), EditCharAttrib::GetStart(), XEditAttribute::GetStart(), ContentNode::GetStyleSheet(), ParaPortion::GetTextPortions(), GetVertical(), ContentNode::GetWrongList(), IsFormatted(), IsUpdateLayout(), ContentNode::Len(), EditSelection::Max(), EditSelection::Min(), n, nCount, XParaPortion::nFirstLineOffset, XParaPortion::nHeight, nStretchX, nStretchY, XParaPortionList::push_back(), SfxItemSet::Set(), ContentInfo::SetFamily(), ContentInfo::SetStyle(), ContentInfo::SetText(), and ContentInfo::SetWrongList().

◆ CreateTextPortions()

void ImpEditEngine::CreateTextPortions ( ParaPortion pParaPortion,
sal_Int32 &  rStartPos 
)
private

◆ CreateTransferable()

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

◆ CreateViewShellId()

ViewShellId ImpEditEngine::CreateViewShellId ( )
private

Obtains a view shell ID from the active EditView.

Definition at line 224 of file impedit5.cxx.

◆ CursorDown()

EditPaM ImpEditEngine::CursorDown ( const EditPaM rPaM,
EditView const *  pEditView 
)
private

◆ CursorEndOfDoc()

EditPaM ImpEditEngine::CursorEndOfDoc ( )
private

◆ CursorEndOfLine()

EditPaM ImpEditEngine::CursorEndOfLine ( const EditPaM rPaM)
private

◆ CursorEndOfParagraph()

EditPaM ImpEditEngine::CursorEndOfParagraph ( const EditPaM rPaM)
staticprivate

Definition at line 1396 of file impedit2.cxx.

References EditPaM::GetNode(), ContentNode::Len(), and EditPaM::SetIndex().

Referenced by MoveCursor().

◆ CursorLeft()

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

◆ CursorMoved()

void ImpEditEngine::CursorMoved ( const ContentNode pPrevNode)
private

◆ CursorRight()

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

◆ CursorStartOfDoc()

EditPaM ImpEditEngine::CursorStartOfDoc ( )
private

Definition at line 1403 of file impedit2.cxx.

References aEditDoc, and EditDoc::GetObject().

Referenced by MoveCursor().

◆ CursorStartOfLine()

EditPaM ImpEditEngine::CursorStartOfLine ( const EditPaM rPaM)
private

◆ CursorStartOfParagraph()

EditPaM ImpEditEngine::CursorStartOfParagraph ( const EditPaM rPaM)
staticprivate

Definition at line 1389 of file impedit2.cxx.

References EditPaM::SetIndex().

Referenced by MoveCursor().

◆ CursorUp()

EditPaM ImpEditEngine::CursorUp ( const EditPaM rPaM,
EditView const *  pEditView 
)
private

◆ CursorVisualLeftRight()

EditPaM ImpEditEngine::CursorVisualLeftRight ( EditView const *  pEditView,
const EditPaM rPaM,
sal_uInt16  nCharacterIteratorMode,
bool  bToLeft 
)
private

◆ CursorVisualStartEnd()

EditPaM ImpEditEngine::CursorVisualStartEnd ( EditView const *  pEditView,
const EditPaM rPaM,
bool  bStart 
)
private

◆ DECL_LINK() [1/4]

ImpEditEngine::DECL_LINK ( DocModified  ,
LinkParamNone ,
void   
)
private

◆ DECL_LINK() [2/4]

ImpEditEngine::DECL_LINK ( IdleFormatHdl  ,
Timer ,
void   
)
private

◆ DECL_LINK() [3/4]

ImpEditEngine::DECL_LINK ( OnlineSpellHdl  ,
Timer ,
void   
)
private

◆ DECL_LINK() [4/4]

ImpEditEngine::DECL_LINK ( StatusTimerHdl  ,
Timer ,
void   
)
private

◆ DelayedCallStatusHdl()

void ImpEditEngine::DelayedCallStatusHdl ( )
inline

Definition at line 994 of file impedit.hxx.

References aStatusTimer, and Timer::Start().

◆ DeleteLeftOrRight()

EditPaM ImpEditEngine::DeleteLeftOrRight ( const EditSelection rEditSelection,
sal_uInt8  nMode,
DeleteMode  nDelMode 
)

◆ DeleteSelected()

EditPaM ImpEditEngine::DeleteSelected ( const EditSelection rEditSelection)

Definition at line 256 of file impedit2.cxx.

References ImpDeleteSelection().

Referenced by Command().

◆ Dispose()

void ImpEditEngine::Dispose ( )

◆ DoOnlineSpelling()

void ImpEditEngine::DoOnlineSpelling ( ContentNode pThisNodeOnly = nullptr,
bool  bSpellAtCursorPos = false,
bool  bInterruptible = true 
)

◆ DoVisualCursorTraveling()

bool ImpEditEngine::DoVisualCursorTraveling ( )

Definition at line 4462 of file impedit2.cxx.

Referenced by MoveCursor().

◆ EnableAutoColor()

void ImpEditEngine::EnableAutoColor ( bool  b)
inlineprivate

Definition at line 753 of file impedit.hxx.

References bUseAutoColor.

◆ EnableSkipOutsideFormat()

void ImpEditEngine::EnableSkipOutsideFormat ( bool  set)
inline

Definition at line 1135 of file impedit.hxx.

References mbSkipOutsideFormat, and set().

◆ EnableUndo()

void ImpEditEngine::EnableUndo ( bool  bEnable)

Definition at line 283 of file impedit5.cxx.

Referenced by SetText().

◆ EndOfWord()

EditPaM ImpEditEngine::EndOfWord ( const EditPaM rPaM)
private

◆ EraseVirtualDevice()

void ImpEditEngine::EraseVirtualDevice ( )
inlineprivate

Definition at line 759 of file impedit.hxx.

References VclPtr< class reference_type >::disposeAndClear(), and pVirtDev.

◆ FindParaPortion() [1/2]

const ParaPortion * ImpEditEngine::FindParaPortion ( const ContentNode pNode) const
inlineprivate

◆ FindParaPortion() [2/2]

ParaPortion * ImpEditEngine::FindParaPortion ( ContentNode const *  pNode)
inlineprivate

Definition at line 1277 of file impedit.hxx.

References aEditDoc, Count, DBG_ASSERT, GetParaPortions(), EditDoc::GetPos(), and nPos.

◆ FinishCreateLines()

bool ImpEditEngine::FinishCreateLines ( ParaPortion pParaPortion)
private

◆ ForceAutoColor()

void ImpEditEngine::ForceAutoColor ( bool  b)
inlineprivate

Definition at line 755 of file impedit.hxx.

References bForceAutoColor.

◆ FormatAndLayout()

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

◆ FormatDoc()

void ImpEditEngine::FormatDoc ( )

Definition at line 364 of file impedit3.cxx.

References aEditViews, aInvalidRect, aMaxAutoPaperSize, aMinAutoPaperSize, aPaperSize, aStatus, InternalEditStatus::AutoPageSize(), bFormatted, bIsFormatting, CalcTextHeight(), CallStatusHdl(), CheckAutoPageSize(), Continue, ParaPortionList::Count(), o3tl::sorted_vector< typename Value, typename Compare, template< typename, typename > class Find, bool >::count(), CreateLines(), ImpEditView::DoAutoHeight(), DoOnlineSpelling(), o3tl::sorted_vector< typename Value, typename Compare, template< typename, typename > class Find, bool >::empty(), GetEditEnginePtr(), ParaPortion::GetHeight(), ParaPortion::GetLines(), ImpEditView::GetOutputArea(), GetParaPortions(), GetRefDevice(), GetStatus(), EditStatus::GetStatusWord(), GetTextRanger(), tools::Rectangle::GetWidth(), getWidthDirectionAware(), Size::Height(), ImpCheckRefMapMode(), o3tl::sorted_vector< typename Value, typename Compare, template< typename, typename > class Find, bool >::insert(), IsCallParaInsertedOrDeleted(), IsEffectivelyVertical(), IsFormatting(), ParaPortion::IsInvalid(), IsUpdateLayout(), ParaPortion::IsVisible(), IterateLineAreas(), tools::Rectangle::Justify(), ParaPortion::MarkSelectionInvalid(), ParaPortion::MustRepaint(), n, nCurTextHeight, nCurTextHeightNTP, EditEngine::ParagraphHeightChanged(), OutputDevice::Pop(), o3tl::sorted_vector< typename Value, typename Compare, template< typename, typename > class Find, bool >::reserve(), EditLineList::Reset(), ImpEditView::ResetOutputArea(), ImpEditView::ScrollStateChange(), Size::setHeight(), ParaPortion::SetMustRepaint(), StartOnlineSpellTimer(), TextHeightChanged, TEXTWIDTHCHANGED, tools::Rectangle::TopLeft(), and tools::Rectangle::Union().

Referenced by CalcParaWidth(), CalcTextWidth(), CheckIdleFormatter(), Command(), FormatAndLayout(), FormatFullDoc(), Paint(), and WriteRTF().

◆ FormatFullDoc()

void ImpEditEngine::FormatFullDoc ( )

◆ GetActiveView()

EditView * ImpEditEngine::GetActiveView ( ) const
inline

◆ GetAllMisspellRanges()

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

◆ GetAsianCompressionMode()

CharCompressType ImpEditEngine::GetAsianCompressionMode ( ) const
inline

Definition at line 1099 of file impedit.hxx.

References nAsianCompressionMode.

Referenced by CreateLines(), and ImplCalcAsianCompression().

◆ GetAttribs() [1/2]

SfxItemSet ImpEditEngine::GetAttribs ( EditSelection  aSel,
EditEngineAttribs  nOnlyHardAttrib = EditEngineAttribs::All 
)

Definition at line 310 of file impedit5.cxx.

◆ GetAttribs() [2/2]

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

Definition at line 398 of file impedit5.cxx.

Referenced by WriteRTF().

◆ GetAutoColor()

Color ImpEditEngine::GetAutoColor ( ) const
private

◆ GetAutoCompleteText()

const OUString & ImpEditEngine::GetAutoCompleteText ( ) const
inline

Definition at line 1092 of file impedit.hxx.

References aAutoCompleteText.

Referenced by MouseButtonDown().

◆ GetBackgroundColor()

const Color & ImpEditEngine::GetBackgroundColor ( ) const
inlineprivate

Definition at line 748 of file impedit.hxx.

References maBackgroundColor.

Referenced by GetAutoColor(), Paint(), and SeekCursor().

◆ GetBeginDropHdl()

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

Definition at line 1117 of file impedit.hxx.

References maBeginDropHdl.

◆ GetBigTextObjectStart()

sal_Int32 ImpEditEngine::GetBigTextObjectStart ( ) const
inline

Definition at line 1085 of file impedit.hxx.

References nBigTextObjectStart.

◆ getBottomDocOffset()

tools::Long ImpEditEngine::getBottomDocOffset ( const tools::Rectangle rect) const

◆ GetChar()

sal_Int32 ImpEditEngine::GetChar ( const ParaPortion pParaPortion,
const EditLine pLine,
tools::Long  nX,
bool  bSmart = true 
)
private

◆ GetCharAttribs()

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

Definition at line 739 of file impedit5.cxx.

Referenced by CursorMoved(), and Paint().

◆ GetCharStretching()

void ImpEditEngine::GetCharStretching ( sal_uInt16 &  rX,
sal_uInt16 &  rY 
) const
inline

Definition at line 1284 of file impedit.hxx.

References nStretchX, and nStretchY.

◆ GetColorConfig()

const svtools::ColorConfig & ImpEditEngine::GetColorConfig ( ) const
inline

Definition at line 965 of file impedit.hxx.

References maColorConfig.

Referenced by GetAutoColor(), and Paint().

◆ GetColumnWidth()

tools::Long ImpEditEngine::GetColumnWidth ( const Size rPaperSize) const

◆ GetConvInfo()

ConvInfo * ImpEditEngine::GetConvInfo ( ) const
inline

◆ GetDefaultHorizontalTextDirection()

EEHorizontalTextDirection ImpEditEngine::GetDefaultHorizontalTextDirection ( ) const
inline

Definition at line 833 of file impedit.hxx.

References eDefaultHorizontalTextDirection.

Referenced by IsRightToLeft().

◆ GetDefaultLanguage()

LanguageType ImpEditEngine::GetDefaultLanguage ( ) const
inline

Definition at line 1018 of file impedit.hxx.

References eDefLanguage.

Referenced by GetI18NScriptType(), GetItemScriptType(), and InitScriptTypes().

◆ GetEditCursor()

tools::Rectangle ImpEditEngine::GetEditCursor ( const ParaPortion pPortion,
const EditLine pLine,
sal_Int32  nIndex,
GetCursorFlags  nFlags 
)

Definition at line 3098 of file impedit2.cxx.

Referenced by Command(), and CreateLines().

◆ GetEditDoc() [1/2]

EditDoc & ImpEditEngine::GetEditDoc ( )
inlineprivate

◆ GetEditDoc() [2/2]

const EditDoc & ImpEditEngine::GetEditDoc ( ) const
inlineprivate

Definition at line 788 of file impedit.hxx.

References aEditDoc.

◆ GetEditEnginePtr()

EditEngine * ImpEditEngine::GetEditEnginePtr ( ) const
inline

◆ GetEditTextObjectPool()

SfxItemPool * ImpEditEngine::GetEditTextObjectPool ( ) const
inline

Definition at line 1072 of file impedit.hxx.

References pTextObjectPool.

Referenced by CreateTextObject().

◆ GetEditViews() [1/2]

ViewsType & ImpEditEngine::GetEditViews ( )
inline

Definition at line 812 of file impedit.hxx.

References aEditViews.

◆ GetEditViews() [2/2]

const ViewsType & ImpEditEngine::GetEditViews ( ) const
inline

Definition at line 813 of file impedit.hxx.

References aEditViews.

◆ GetEmptyItemSet()

const SfxItemSet & ImpEditEngine::GetEmptyItemSet ( ) const

◆ GetEmptyTextObject()

std::unique_ptr< EditTextObject > ImpEditEngine::GetEmptyTextObject ( )
private

◆ GetEndDropHdl()

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

Definition at line 1121 of file impedit.hxx.

References maEndDropHdl.

◆ GetForbiddenCharsTable()

std::shared_ptr< SvxForbiddenCharactersTable > const & ImpEditEngine::GetForbiddenCharsTable ( )
static

Definition at line 4436 of file impedit2.cxx.

Referenced by ImpBreakLine().

◆ getHeightDirectionAware()

tools::Long ImpEditEngine::getHeightDirectionAware ( const Size sz) const

Definition at line 2995 of file impedit3.cxx.

References Size::Height(), IsEffectivelyVertical(), and Size::Width().

Referenced by CalcVertLineSpacing().

◆ GetHyphenator()

const css::uno::Reference< css::linguistic2::XHyphenator > & ImpEditEngine::GetHyphenator ( ) const
inline

Definition at line 1008 of file impedit.hxx.

References xHyphenator.

Referenced by ImpBreakLine().

◆ GetI18NScriptType()

sal_uInt16 ImpEditEngine::GetI18NScriptType ( const EditPaM rPaM,
sal_Int32 *  pEndPos = nullptr 
) const
private

◆ GetItemScriptType()

SvtScriptType ImpEditEngine::GetItemScriptType ( const EditSelection rSel) const
private

◆ GetJustification()

SvxAdjust ImpEditEngine::GetJustification ( sal_Int32  nPara) const

◆ GetJustifyMethod()

SvxCellJustifyMethod ImpEditEngine::GetJustifyMethod ( sal_Int32  nPara) const

◆ GetLanguage()

editeng::LanguageSpan ImpEditEngine::GetLanguage ( const EditPaM rPaM,
sal_Int32 *  pEndPos = nullptr 
) const

◆ GetLineBoundaries()

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

◆ GetLineCount()

sal_Int32 ImpEditEngine::GetLineCount ( sal_Int32  nParagraph) const

◆ GetLineHeight()

sal_uInt16 ImpEditEngine::GetLineHeight ( sal_Int32  nParagraph,
sal_Int32  nLine 
)

◆ GetLineLen()

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

◆ GetLineNumberAtIndex()

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

◆ GetLineXPosStartEnd()

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

Definition at line 4071 of file impedit2.cxx.

Referenced by IsTextPos().

◆ GetLocale()

css::lang::Locale ImpEditEngine::GetLocale ( const EditPaM rPaM) const

◆ GetLOKSpecialPaperSize()

const Size & ImpEditEngine::GetLOKSpecialPaperSize ( ) const
inline

Definition at line 1139 of file impedit.hxx.

References aLOKSpecialPaperSize.

◆ GetLRSpaceItem()

const SvxLRSpaceItem & ImpEditEngine::GetLRSpaceItem ( ContentNode pNode)

◆ GetMaxAutoPaperSize()

const Size & ImpEditEngine::GetMaxAutoPaperSize ( ) const
inline

Definition at line 847 of file impedit.hxx.

References aMaxAutoPaperSize.

Referenced by CheckPageOverflow().

◆ GetMinAutoPaperSize()

const Size & ImpEditEngine::GetMinAutoPaperSize ( ) const
inline

Definition at line 844 of file impedit.hxx.

References aMinAutoPaperSize.

◆ GetModifyHdl()

const Link< LinkParamNone *, void > & ImpEditEngine::GetModifyHdl ( ) const
inline

Definition at line 944 of file impedit.hxx.

References aModifyHdl.

◆ GetNextVisNode()

ContentNode * ImpEditEngine::GetNextVisNode ( ContentNode const *  pCurNode)
private

◆ GetNextVisPortion()

const ParaPortion * ImpEditEngine::GetNextVisPortion ( const ParaPortion pCurPortion) const
private

◆ GetNotifyHdl()

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

Definition at line 961 of file impedit.hxx.

References aNotifyHdl.

Referenced by FormatAndLayout(), ImpMoveParagraphs(), and TextModified().

◆ GetNumberFormat()

const SvxNumberFormat * ImpEditEngine::GetNumberFormat ( const ContentNode pNode) const

◆ GetOverflowingLineNum()

sal_Int32 ImpEditEngine::GetOverflowingLineNum ( ) const
inline

Definition at line 1105 of file impedit.hxx.

References mnOverflowingLine.

◆ GetOverflowingParaNum()

sal_Int32 ImpEditEngine::GetOverflowingParaNum ( ) const
inline

Definition at line 1104 of file impedit.hxx.

References mnOverflowingPara.

◆ GetPaM()

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

Definition at line 3305 of file impedit2.cxx.

References CursorLeft(), GetChar(), GetPortionAndLine(), and IsUpdateLayout().

Referenced by PageDown(), and PageUp().

◆ GetPaperSize()

const Size & ImpEditEngine::GetPaperSize ( ) const
inline

Definition at line 815 of file impedit.hxx.

References aPaperSize.

Referenced by CheckAutoPageSize(), CreateLines(), DoOnlineSpelling(), Paint(), and ShowParagraph().

◆ GetParaAttrib() [1/2]

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

◆ GetParaAttrib() [2/2]

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

Definition at line 932 of file impedit.hxx.

References GetParaAttrib().

◆ GetParaAttribs()

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

Definition at line 718 of file impedit5.cxx.

◆ GetParaHeight()

sal_uInt32 ImpEditEngine::GetParaHeight ( sal_Int32  nParagraph)

◆ GetParaPortions() [1/2]

ParaPortionList & ImpEditEngine::GetParaPortions ( )
inlineprivate

Definition at line 791 of file impedit.hxx.

References aParaPortionList.

◆ GetParaPortions() [2/2]

const ParaPortionList & ImpEditEngine::GetParaPortions ( ) const
inlineprivate

◆ GetPortionAndLine()

std::tuple< const ParaPortion *, const EditLine *, tools::Long > ImpEditEngine::GetPortionAndLine ( Point  aDocPos)
private

◆ GetPortionXOffset()

tools::Long ImpEditEngine::GetPortionXOffset ( const ParaPortion pParaPortion,
const EditLine pLine,
sal_Int32  nTextPortion 
) const
private

Definition at line 4091 of file impedit2.cxx.

Referenced by GetChar(), and Paint().

◆ GetPrevVisNode()

ContentNode * ImpEditEngine::GetPrevVisNode ( ContentNode const *  pCurNode)
private

◆ GetPrevVisPortion()

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

◆ GetRefDevice()

OutputDevice * ImpEditEngine::GetRefDevice ( ) const
inline

◆ GetRefMapMode()

const MapMode & ImpEditEngine::GetRefMapMode ( ) const
inline

Definition at line 989 of file impedit.hxx.

References pRefDev.

Referenced by WriteItemAsRTF(), and WriteRTF().

◆ GetRightToLeft()

sal_uInt8 ImpEditEngine::GetRightToLeft ( sal_Int32  nPara,
sal_Int32  nChar,
sal_Int32 *  pStart = nullptr,
sal_Int32 *  pEnd = nullptr 
)

◆ GetRotation()

TextRotation ImpEditEngine::GetRotation ( ) const
inline

Definition at line 823 of file impedit.hxx.

References GetEditDoc(), and EditDoc::GetRotation().

Referenced by CreateTextObject(), and SetRotation().

◆ GetSelected()

OUString ImpEditEngine::GetSelected ( const EditSelection rSel) const

◆ GetSelEngine()

EditSelectionEngine & ImpEditEngine::GetSelEngine ( )
inline

Definition at line 864 of file impedit.hxx.

References aSelEngine.

Referenced by Command(), MouseButtonDown(), MouseButtonUp(), MouseMove(), and ReleaseMouse().

◆ GetSpaceBeforeAndMinLabelWidth()

sal_Int32 ImpEditEngine::GetSpaceBeforeAndMinLabelWidth ( const ContentNode pNode,
sal_Int32 *  pnSpaceBefore = nullptr,
sal_Int32 *  pnMinLabelWidth = nullptr 
) const

◆ GetSpeller()

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

Definition at line 1412 of file impedit4.cxx.

References LinguMgr::GetSpellChecker(), and xSpeller.

◆ GetSpellInfo()

SpellInfo * ImpEditEngine::GetSpellInfo ( ) const
inline

◆ GetStatus()

InternalEditStatus & ImpEditEngine::GetStatus ( )
inline

◆ GetStatusEventHdl()

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

Definition at line 958 of file impedit.hxx.

References aStatusHdlLink.

◆ GetStyleSheet() [1/2]

SfxStyleSheet * ImpEditEngine::GetStyleSheet ( sal_Int32  nPara)

◆ GetStyleSheet() [2/2]

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

◆ GetStyleSheetPool()

SfxStyleSheetPool * ImpEditEngine::GetStyleSheetPool ( ) const
inline

Definition at line 976 of file impedit.hxx.

References pStylePool.

Referenced by InsertTextObject(), SetStyleSheet(), and WriteRTF().

◆ GetTextHeight()

sal_uInt32 ImpEditEngine::GetTextHeight ( ) const

Definition at line 3338 of file impedit2.cxx.

References IsFormatted(), IsFormatting(), IsUpdateLayout(), and nCurTextHeight.

Referenced by CheckAutoPageSize(), ImpBreakLine(), and PageDown().

◆ GetTextHeightNTP()

sal_uInt32 ImpEditEngine::GetTextHeightNTP ( ) const

◆ GetTextRanger()

TextRanger * ImpEditEngine::GetTextRanger ( ) const
inline

◆ getTopLeftDocOffset()

Size ImpEditEngine::getTopLeftDocOffset ( const tools::Rectangle rect) const

◆ GetUndoManager()

EditUndoManager & ImpEditEngine::GetUndoManager ( )
inline

Definition at line 1241 of file impedit.hxx.

References pEditEngine, pUndoManager, and EditUndoManager::SetEditEngine().

Referenced by SetText().

◆ GetVerJustification()

SvxCellVerJustify ImpEditEngine::GetVerJustification ( sal_Int32  nPara) const

◆ GetVertical()

bool ImpEditEngine::GetVertical ( ) const
inline

Definition at line 821 of file impedit.hxx.

References GetEditDoc(), and EditDoc::GetVertical().

Referenced by CreateTextObject().

◆ GetVirtualDevice()

VirtualDevice * ImpEditEngine::GetVirtualDevice ( const MapMode rMapMode,
DrawModeFlags  nDrawMode 
)
inlineprivate

◆ getWidthDirectionAware()

tools::Long ImpEditEngine::getWidthDirectionAware ( const Size sz) const

Definition at line 2990 of file impedit3.cxx.

References Size::Height(), IsEffectivelyVertical(), and Size::Width().

Referenced by CreateLines(), FormatDoc(), and MoveToNextLine().

◆ GetXPos()

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

Definition at line 4182 of file impedit2.cxx.

Referenced by CursorDown(), and CursorUp().

◆ GetXValue() [1/2]

short ImpEditEngine::GetXValue ( short  nXValue) const
inlineprivate

◆ GetXValue() [2/2]

tools::Long ImpEditEngine::GetXValue ( tools::Long  nXValue) const
inlineprivate

Definition at line 1299 of file impedit.hxx.

References aStatus, InternalEditStatus::DoStretch(), and nStretchX.

◆ getYOverflowDirectionAware()

tools::Long ImpEditEngine::getYOverflowDirectionAware ( const Point pt,
const tools::Rectangle rectMax 
) const

◆ GetYValue() [1/2]

sal_uInt16 ImpEditEngine::GetYValue ( sal_uInt16  nYValue) const
inlineprivate

Definition at line 1315 of file impedit.hxx.

References aStatus, InternalEditStatus::DoStretch(), and nStretchY.

◆ GetYValue() [2/2]

short ImpEditEngine::GetYValue ( short  nYValue) const
inlineprivate

Definition at line 1307 of file impedit.hxx.

References aStatus, InternalEditStatus::DoStretch(), and nStretchY.

Referenced by CalcVertLineSpacing(), CreateLines(), and Paint().

◆ HasConvertibleTextPortion()

bool ImpEditEngine::HasConvertibleTextPortion ( LanguageType  nLang)

◆ HasDifferentRTLLevels()

bool ImpEditEngine::HasDifferentRTLLevels ( const ContentNode pNode)

◆ HasParaAttrib()

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

Definition at line 725 of file impedit5.cxx.

◆ HasScriptType()

bool ImpEditEngine::HasScriptType ( sal_Int32  nPara,
sal_uInt16  nType 
) const
private

◆ HasSpellErrors()

EESpellState ImpEditEngine::HasSpellErrors ( )

◆ HasText()

bool ImpEditEngine::HasText ( const SvxSearchItem rSearchItem)

◆ HasUndoManager()

bool ImpEditEngine::HasUndoManager ( ) const
inlineprivate

Definition at line 621 of file impedit.hxx.

References pUndoManager.

Referenced by SetText().

◆ IdleFormatAndLayout()

void ImpEditEngine::IdleFormatAndLayout ( EditView pCurView)
inlineprivate

Definition at line 795 of file impedit.hxx.

References aIdleFormatter, and IdleFormattter::DoIdleFormat().

Referenced by FormatAndLayout().

◆ ImpAdjustBlocks()

void ImpEditEngine::ImpAdjustBlocks ( ParaPortion pParaPortion,
EditLine pLine,
tools::Long  nRemainingSpace 
)
private

◆ ImpBreakLine()

void ImpEditEngine::ImpBreakLine ( ParaPortion pParaPortion,
EditLine pLine,
TextPortion const *  pPortion,
sal_Int32  nPortionStart,
tools::Long  nRemainingWidth,
bool  bCanHyphenate 
)
private

◆ ImpCheckRefMapMode()

bool ImpEditEngine::ImpCheckRefMapMode ( )
private

◆ ImpConnectParagraphs()

EditPaM ImpEditEngine::ImpConnectParagraphs ( ContentNode pLeft,
ContentNode pRight,
bool  bBackward = false 
)
private

◆ ImpConvert()

void ImpEditEngine::ImpConvert ( OUString &  rConvTxt,
LanguageType rConvTxtLang,
EditView pEditView,
LanguageType  nSrcLang,
const ESelection rConvRange,
bool  bAllowImplicitChangesForNotConvertibleText,
LanguageType  nTargetLang,
const vcl::Font pTargetFont 
)

the list of portions may have changed compared to the previous call to this function (because of possibly changed language attribute!) But since we don't want to start in the already processed part we clip the start accordingly.

Now this especially includes all non convertible text e.g. spaces, empty paragraphs and western text.

Definition at line 1633 of file impedit4.cxx.

References LanguageTag::convertToLocale(), CreateEditPaM(), CreateEPaM(), DBG_ASSERT, EE_CHAR_FONTINFO_CJK(), EE_CHAR_LANGUAGE_CJK(), GetI18NScriptType(), EditPaM::GetIndex(), EditEngine::GetLanguage(), EditPaM::GetNode(), EditEngine::GetPortions(), GetSelected(), EditEngine::GetText(), ESelection::HasRange(), editeng::HangulHanjaConversion::IsChinese(), LANGUAGE_NONE, EditSelection::Max(), EditSelection::Min(), EPaM::nIndex, editeng::LanguageSpan::nLang, EPaM::nPara, nPos, pConvInfo, pEditEngine, EditView::pImpEditView, EditPaM::SetIndex(), SetLanguageAndFont(), EditView::ShowCursor(), and WordRight().

Referenced by TextConvWrapper::ConvContinue_impl().

◆ ImpDeleteSelection()

EditPaM ImpEditEngine::ImpDeleteSelection ( const EditSelection rCurSel)
private

◆ ImpFastInsertParagraph()

EditPaM ImpEditEngine::ImpFastInsertParagraph ( sal_Int32  nPara)
private

Definition at line 2967 of file impedit2.cxx.

Referenced by InsertTextObject().

◆ ImpFastInsertText()

EditPaM ImpEditEngine::ImpFastInsertText ( EditPaM  aPaM,
const OUString &  rStr 
)
private

Definition at line 2847 of file impedit2.cxx.

Referenced by InsertTextObject().

◆ ImpFindKashidas()

void ImpEditEngine::ImpFindKashidas ( ContentNode pNode,
sal_Int32  nStart,
sal_Int32  nEnd,
std::vector< sal_Int32 > &  rArray 
)
private

◆ ImpFindNextError()

Reference< XSpellAlternatives > ImpEditEngine::ImpFindNextError ( EditSelection rSelection)

◆ ImpInsertFeature()

EditPaM ImpEditEngine::ImpInsertFeature ( const EditSelection rCurSel,
const SfxPoolItem rItem 
)
private

Definition at line 2869 of file impedit2.cxx.

◆ ImpInsertParaBreak() [1/2]

EditPaM ImpEditEngine::ImpInsertParaBreak ( const EditSelection rEditSelection)
private

Definition at line 2894 of file impedit2.cxx.

◆ ImpInsertParaBreak() [2/2]

EditPaM ImpEditEngine::ImpInsertParaBreak ( EditPaM rPaM,
bool  bKeepEndingAttribs = true 
)
private

Definition at line 2905 of file impedit2.cxx.

Referenced by InsertParagraph(), InsertTextObject(), ReadText(), and SplitContent().

◆ ImpInsertText()

EditPaM ImpEditEngine::ImpInsertText ( const EditSelection aCurEditSelection,
const OUString &  rStr 
)
private

◆ ImplCalcAsianCompression()

bool ImpEditEngine::ImplCalcAsianCompression ( ContentNode pNode,
TextPortion pTextPortion,
sal_Int32  nStartPos,
sal_Int32 *  pDXArray,
sal_uInt16  n100thPercentFromMax,
bool  bManipulateDXArray 
)
private

◆ ImplCalcDigitLang()

LanguageType ImpEditEngine::ImplCalcDigitLang ( LanguageType  eCurLang) const
private

◆ ImplExpandCompressedPortions()

void ImpEditEngine::ImplExpandCompressedPortions ( EditLine pLine,
ParaPortion pParaPortion,
tools::Long  nRemainingWidth 
)
private

◆ ImplGetBreakIterator()

Reference< i18n::XBreakIterator > const & ImpEditEngine::ImplGetBreakIterator ( ) const
private

◆ ImplGetInputSequenceChecker()

Reference< i18n::XExtendedInputSequenceChecker > const & ImpEditEngine::ImplGetInputSequenceChecker ( ) const
private

Definition at line 4437 of file impedit3.cxx.

References xISC.

◆ ImplHasText()

bool ImpEditEngine::ImplHasText ( ) const
private

Definition at line 3083 of file impedit4.cxx.

References Count, GetEditDoc(), and GetObject().

Referenced by SetAddExtLeading(), SetAsianCompressionMode(), and SetKernAsianPunctuation().

◆ ImplInitDigitMode()

void ImpEditEngine::ImplInitDigitMode ( OutputDevice rOutDev,
LanguageType  eLang 
)
private

◆ ImplInitLayoutMode()

void ImpEditEngine::ImplInitLayoutMode ( OutputDevice rOutDev,
sal_Int32  nPara,
sal_Int32  nIndex 
)
private

◆ ImplUpdateOverflowingLineNum()

void ImpEditEngine::ImplUpdateOverflowingLineNum ( tools::Long  nPaperHeight,
sal_uInt32  nOverflowingPara,
tools::Long  nHeightBeforeOverflowingPara 
)
private

◆ ImplUpdateOverflowingParaNum()

void ImpEditEngine::ImplUpdateOverflowingParaNum ( tools::Long  nPaperHeight)
private

◆ ImpMoveParagraphs()

EditSelection ImpEditEngine::ImpMoveParagraphs ( Range  aParagraphs,
sal_Int32  nNewPos 
)
private

◆ ImpRemoveChars()

void ImpEditEngine::ImpRemoveChars ( const EditPaM rPaM,
sal_Int32  nChars 
)
private

◆ ImpRemoveParagraph()

void ImpEditEngine::ImpRemoveParagraph ( sal_Int32  nPara)
private

Definition at line 2490 of file impedit2.cxx.

◆ ImpSearch()

bool ImpEditEngine::ImpSearch ( const SvxSearchItem rSearchItem,
const EditSelection rSearchSelection,
const EditPaM rStartPos,
EditSelection rFoundSel 
)

◆ ImpSpell()

Reference< XSpellAlternatives > ImpEditEngine::ImpSpell ( EditView pEditView)

◆ InitDoc()

void ImpEditEngine::InitDoc ( bool  bKeepParaAttribs)
private

◆ InitScriptTypes()

void ImpEditEngine::InitScriptTypes ( sal_Int32  nPara)
private

◆ InitWritingDirections()

void ImpEditEngine::InitWritingDirections ( sal_Int32  nPara)

◆ InsertContent()

void ImpEditEngine::InsertContent ( ContentNode pNode,
sal_Int32  nPos 
)
private

◆ InsertField()

EditPaM ImpEditEngine::InsertField ( const EditSelection rCurSel,
const SvxFieldItem rFld 
)

Definition at line 3025 of file impedit2.cxx.

◆ InsertLineBreak()

EditPaM ImpEditEngine::InsertLineBreak ( const EditSelection aEditSelection)

Definition at line 3089 of file impedit2.cxx.

◆ InsertParaBreak()

EditPaM ImpEditEngine::InsertParaBreak ( const EditSelection rEditSelection)

Definition at line 2996 of file impedit2.cxx.

◆ InsertParagraph()

EditPaM ImpEditEngine::InsertParagraph ( sal_Int32  nPara)

◆ InsertTab()

EditPaM ImpEditEngine::InsertTab ( const EditSelection rEditSelection)

Definition at line 3019 of file impedit2.cxx.

◆ InsertText() [1/2]

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

Definition at line 657 of file impedit2.cxx.

References ImpInsertText().

Referenced by SetText().

◆ InsertText() [2/2]

EditSelection ImpEditEngine::InsertText ( const EditTextObject rTextObject,
EditSelection  aSel 
)

◆ InsertTextObject()

EditSelection ImpEditEngine::InsertTextObject ( const EditTextObject rTextObject,
EditPaM  aPaM 
)
private

Definition at line 1160 of file impedit4.cxx.

References aEditDoc, XParaPortion::aLines, aPaperSize, EditLineList::Append(), TextPortionList::Append(), aStatus, XParaPortion::aTextPortions, ParaPortion::bForceRepaint, EditLine::Clone(), WrongList::Clone(), SfxPoolItem::Clone(), ConvertAndPutItems(), ConvertItem(), SfxItemSet::Count(), CharAttribList::Count(), TextPortionList::Count(), EditLineList::Count(), ContentNode::CreateDefFont(), DBG_ASSERT, CharAttribList::DbgCheckAttribs(), EditSelection::DbgIsBuggy(), DEF_METRIC, DoOnlineSpelling(), EE_FEATURE_FIELD(), SfxStyleSheetBasePool::Find(), FindParaPortion(), ContentNode::GetCharAttribs(), ContentInfo::GetCharAttribs(), GetColumnWidth(), EditTextObjectImpl::GetContents(), CharAttribList::GetDefFont(), EditDoc::GetDefFont(), GetEmptyItemSet(), EditCharAttrib::GetEnd(), XEditAttribute::GetEnd(), ContentInfo::GetFamily(), EditPaM::GetIndex(), XEditAttribute::GetItem(), EditDoc::GetItemPool(), ParaPortion::GetLines(), EditTextObjectImpl::GetMetric(), SfxItemPool::GetMetric(), EditPaM::GetNode(), ParaPortion::GetNode(), XParaPortionList::GetPaperWidth(), ContentInfo::GetParaAttribs(), GetParaPortions(), EditTextObjectImpl::GetPortionInfo(), EditDoc::GetPos(), GetRefDevice(), XParaPortionList::GetRefDevPtr(), XParaPortionList::GetRefMapMode(), XEditAttribute::GetStart(), GetStatus(), XParaPortionList::GetStretchX(), XParaPortionList::GetStretchY(), ContentInfo::GetStyle(), GetStyleSheetPool(), ContentInfo::GetText(), ParaPortion::GetTextPortions(), ContentInfo::GetWrongList(), EditTextObjectImpl::HasMetric(), ImpFastInsertParagraph(), ImpFastInsertText(), ImpInsertParaBreak(), EditDoc::InsertAttrib(), CharAttribList::InsertAttrib(), XEditAttribute::IsFeature(), ContentNode::Len(), m, MakeCharAttrib(), ParaPortion::MarkInvalid(), ParaPortion::MarkSelectionInvalid(), EditSelection::Max(), n, nCount, ParaPortion::nFirstLineOffset, XParaPortion::nFirstLineOffset, ParaPortion::nHeight, XParaPortion::nHeight, nStretchX, nStretchY, XParaPortionList::RefDevIsVirtual(), TextPortionList::Reset(), EditLineList::Reset(), SAL_WARN_IF, EditLine::SetInvalid(), SetParaAttribs(), SetStyleSheet(), ParaPortion::SetValid(), ContentNode::SetWrongList(), toImpl(), UpdateFields(), InternalEditStatus::UseCharAttribs(), and EditCharAttrib::Which().

Referenced by InsertText().

◆ InsertTextUserInput()

EditPaM ImpEditEngine::InsertTextUserInput ( const EditSelection rCurEditSelection,
sal_Unicode  c,
bool  bOverwrite 
)

Definition at line 2597 of file impedit2.cxx.

◆ InsertUndo()

void ImpEditEngine::InsertUndo ( std::unique_ptr< EditUndo pUndo,
bool  bTryMerge = false 
)
private

◆ InvalidateFromParagraph()

void ImpEditEngine::InvalidateFromParagraph ( sal_Int32  nFirstInvPara)

◆ IsAddExtLeading()

bool ImpEditEngine::IsAddExtLeading ( ) const
inline

Definition at line 1110 of file impedit.hxx.

References bAddExtLeading.

Referenced by RecalcFormatterFontMetrics(), and SetAddExtLeading().

◆ IsAutoColorEnabled()

bool ImpEditEngine::IsAutoColorEnabled ( ) const
inlineprivate

Definition at line 754 of file impedit.hxx.

References bUseAutoColor.

Referenced by Paint(), and SeekCursor().

◆ IsCallParaInsertedOrDeleted()

bool ImpEditEngine::IsCallParaInsertedOrDeleted ( ) const
inline

Definition at line 877 of file impedit.hxx.

References bCallParaInsertedOrDeleted.

Referenced by FormatDoc(), ImpConnectParagraphs(), InitDoc(), and InsertContent().

◆ IsEffectivelyVertical()

bool ImpEditEngine::IsEffectivelyVertical ( ) const
inline

◆ IsFirstWordCapitalization()

bool ImpEditEngine::IsFirstWordCapitalization ( ) const
inline

Definition at line 1125 of file impedit.hxx.

References bFirstWordCapitalization.

◆ IsFixedCellHeight()

bool ImpEditEngine::IsFixedCellHeight ( ) const
inline

◆ IsForceAutoColor()

bool ImpEditEngine::IsForceAutoColor ( ) const
inlineprivate

Definition at line 756 of file impedit.hxx.

References bForceAutoColor.

Referenced by SeekCursor().

◆ IsFormatted()

bool ImpEditEngine::IsFormatted ( ) const
inline

◆ IsFormatting()

bool ImpEditEngine::IsFormatting ( ) const
inline

◆ IsInputSequenceCheckingRequired()

bool ImpEditEngine::IsInputSequenceCheckingRequired ( sal_Unicode  nChar,
const EditSelection rCurSel 
) const

◆ IsInSelectionMode()

bool ImpEditEngine::IsInSelectionMode ( ) const
inline

Definition at line 946 of file impedit.hxx.

References bInSelection.

◆ IsInUndo()

bool ImpEditEngine::IsInUndo ( ) const
inline

◆ IsKernAsianPunctuation()

bool ImpEditEngine::IsKernAsianPunctuation ( ) const
inline

Definition at line 1102 of file impedit.hxx.

References bKernAsianPunctuation.

Referenced by SeekCursor().

◆ IsModified()

bool ImpEditEngine::IsModified ( ) const
inline

Definition at line 941 of file impedit.hxx.

References aEditDoc, and EditDoc::IsModified().

◆ IsNbspRunNext()

bool ImpEditEngine::IsNbspRunNext ( ) const
inline

Whether last AutoCorrect inserted a NO-BREAK SPACE that may need to be removed again.

Definition at line 1133 of file impedit.hxx.

References mbNbspRunNext.

◆ IsPageOverflow()

bool ImpEditEngine::IsPageOverflow ( ) const

Definition at line 351 of file impedit3.cxx.

References mbNeedsChainingHandling.

◆ IsReplaceLeadingSingleQuotationMark()

bool ImpEditEngine::IsReplaceLeadingSingleQuotationMark ( ) const
inline

Definition at line 1130 of file impedit.hxx.

References mbReplaceLeadingSingleQuotationMark.

◆ IsRightToLeft()

bool ImpEditEngine::IsRightToLeft ( sal_Int32  nPara) const

◆ IsScriptChange()

bool ImpEditEngine::IsScriptChange ( const EditPaM rPaM) const
private

◆ IsTextPos()

bool ImpEditEngine::IsTextPos ( const Point rDocPos,
sal_uInt16  nBorder 
)
private

◆ IsTopToBottom()

bool ImpEditEngine::IsTopToBottom ( ) const
inline

◆ IsUndoEnabled()

bool ImpEditEngine::IsUndoEnabled ( ) const
inline

◆ IsUpdateLayout()

bool ImpEditEngine::IsUpdateLayout ( ) const
inline

◆ IsVisualCursorTravelingEnabled()

bool ImpEditEngine::IsVisualCursorTravelingEnabled ( )

Definition at line 4446 of file impedit2.cxx.

◆ isXOverflowDirectionAware()

bool ImpEditEngine::isXOverflowDirectionAware ( const Point pt,
const tools::Rectangle rectMax 
) const

◆ IterateLineAreas()

void ImpEditEngine::IterateLineAreas ( const IterateLinesAreasFunc f,
IterFlag  eOptions 
)

◆ LogicToTwips()

sal_Int32 ImpEditEngine::LogicToTwips ( sal_Int32  n)
private

Definition at line 3088 of file impedit4.cxx.

References n, pRefDev, and Size::Width().

Referenced by WriteItemAsRTF().

◆ MouseButtonDown()

bool ImpEditEngine::MouseButtonDown ( const MouseEvent rMouseEvent,
EditView pView 
)

◆ MouseButtonUp()

bool ImpEditEngine::MouseButtonUp ( const MouseEvent rMouseEvent,
EditView pView 
)

◆ MouseMove()

bool ImpEditEngine::MouseMove ( const MouseEvent rMouseEvent,
EditView pView 
)

◆ MoveCursor()

EditSelection const & ImpEditEngine::MoveCursor ( const KeyEvent rKeyEvent,
EditView pEditView 
)

◆ MoveParagraphs()

EditSelection ImpEditEngine::MoveParagraphs ( Range  aParagraphs,
sal_Int32  nNewPos,
EditView pCurView 
)

◆ MoveToNextLine()

Point ImpEditEngine::MoveToNextLine ( Point rMovePos,
tools::Long  nLineHeight,
sal_Int16 &  nColumn,
Point  aOrigin,
tools::Long pnHeightNeededToNotWrap = nullptr 
) const

◆ Notify()

void ImpEditEngine::Notify ( SfxBroadcaster rBC,
const SfxHint rHint 
)
overrideprotectedvirtual

◆ operator=()

ImpEditEngine & ImpEditEngine::operator= ( const ImpEditEngine )
delete

◆ PageDown()

EditPaM ImpEditEngine::PageDown ( const EditPaM rPaM,
EditView const *  pView 
)
private

◆ PageUp()

EditPaM ImpEditEngine::PageUp ( const EditPaM rPaM,
EditView const *  pView 
)
private

◆ Paint() [1/2]

void ImpEditEngine::Paint ( ImpEditView pView,
const tools::Rectangle rRect,
OutputDevice pTargetDevice 
)

◆ Paint() [2/2]

void ImpEditEngine::Paint ( OutputDevice rOutDev,
tools::Rectangle  aClipRect,
Point  aStartPos,
bool  bStripOnly = false,
Degree10  nOrientation = 0_deg10 
)

Definition at line 3122 of file impedit3.cxx.

References vcl::PDFExtOutDevBookmarkEntry::aBookmark, aBuf, GDIMetaFile::AddAction(), adjustXDirectionAware(), adjustYDirectionAware(), aStatus, ExtraPortionInfo::bCompressed, vcl::PDFExtOutDevData::BeginStructureElement(), ExtraPortionInfo::bFirstCharIsRightPunktuation, CalcVertLineSpacing(), CH_HYPH, COL_AUTO(), COL_LIGHTCYAN(), COL_LIGHTGRAY(), convertDigits(), Count, TextPortionList::Count(), EditLineList::Count(), ParaPortionList::Count(), SvxFieldData::createBeginComment(), SvxFieldData::createEndComment(), vcl::PDFExtOutDevData::CreateLink(), DBG_ASSERT, DoOnlineSpelling(), EditEngine::DrawingTab(), EditEngine::DrawingText(), OutputDevice::DrawRect(), OutputDevice::DrawStretchText(), EE_CHAR_ESCAPEMENT(), EE_PARA_BULLETSTATE(), EE_PARA_SBL(), EE_PARA_ULSPACE(), WrongList::empty(), vcl::PDFExtOutDevData::EndStructureElement(), FIELD, vcl::FILLCOLOR, CharAttribList::FindAttrib(), CharAttribList::FindFeature(), Fix, FormatDoc(), GetAutoColor(), GetBackgroundColor(), vcl::PDFExtOutDevData::GetBookmarks(), ContentNode::GetCharAttribs(), GetCharAttribs(), EditLine::GetCharPosArray(), GetColorConfig(), OutputDevice::GetConnectMetaFile(), ContentNode::GetContentAttribs(), GetEditEnginePtr(), EditCharAttrib::GetEnd(), EditLine::GetEndPortion(), SvxFont::GetEscapement(), OutputDevice::GetExtOutDevData(), TextPortion::GetExtraInfos(), TextPortion::GetExtraValue(), SvxFieldItem::GetField(), ParaPortion::GetFirstLineOffset(), vcl::Font::GetFontSize(), EditLine::GetHeight(), ParaPortion::GetHeight(), GetI18NScriptType(), SvxLineSpacingItem::GetInterLineSpace(), SvxLineSpacingItem::GetInterLineSpaceRule(), EditCharAttrib::GetItem(), ContentAttribs::GetItem(), TextPortion::GetKind(), vcl::Font::GetLanguage(), TextPortion::GetLen(), OutputDevice::GetLineColor(), ParaPortion::GetLines(), GetLocale(), SvxULSpaceItem::GetLower(), OutputDevice::GetMapMode(), EditLine::GetMaxAscent(), ParaPortion::GetNode(), GetNode(), vcl::Font::GetOrientation(), MapMode::GetOrigin(), OutputDevice::GetOutDevType(), OutputDevice::GetOverlineColor(), EditEngine::GetParaAttrib(), GetParaPortions(), SvxFont::GetPhysTxtSize(), GetPortionXOffset(), SvxFont::GetPropr(), GetRefDevice(), TextPortion::GetRightToLeftLevel(), TextPortion::GetSize(), EditCharAttrib::GetStart(), EditLine::GetStart(), EditLine::GetStartPortion(), EditLine::GetStartPosX(), GetStatus(), ContentNode::GetString(), OutputDevice::GetTextLineColor(), ParaPortion::GetTextPortions(), vcl::Font::GetUnderline(), SfxBoolItem::GetValue(), ContentNode::GetWrongList(), getYOverflowDirectionAware(), GetYValue(), Size::Height(), HYPHENATOR, ImplCalcDigitLang(), ImplInitDigitMode(), ImplInitLayoutMode(), IsAutoColorEnabled(), IsEffectivelyVertical(), IsFormatted(), ParaPortion::IsInvalid(), InternalEditStatus::IsOutliner(), TextPortion::IsRightToLeft(), IsTopToBottom(), vcl::Font::IsTransparent(), IsUpdateLayout(), ParaPortion::IsVisible(), isXOverflowDirectionAware(), lcl_DrawRedLines(), lcl_ImplCalcRotatedPos(), tools::Rectangle::Left(), ContentNode::Len(), LINEBREAK, ExtraPortionInfo::lineBreaksList, vcl::LINECOLOR, LINESTYLE_NONE, o3tl::make_unsigned(), InternalEditStatus::MarkNonUrlFields(), MoveToNextLine(), n, WrongList::NextWrong(), nIndex, vcl::PDFExtOutDevBookmarkEntry::nLinkId, ExtraPortionInfo::nPortionOffsetX, OUTDEV_PRINTER, pActiveView, comphelper::string::padToLength(), EditEngine::PaintingFirstLine(), vcl::PDFWriter::Paragraph, pEditEngine, Point, OutputDevice::Pop(), OutputDevice::Push(), SvxFont::QuickDrawText(), SvxFont::QuickGetTextSize(), tools::Rectangle::Right(), sal_False, SeekCursor(), SvxFont::SetEscapement(), OutputDevice::SetFillColor(), vcl::Font::SetFillColor(), OutputDevice::SetLineColor(), vcl::Font::SetOrientation(), SvxFont::SetPhysFont(), SvxFont::SetPropr(), vcl::Font::SetTransparent(), vcl::Font::SetUnderline(), setXDirectionAwareFrom(), svtools::SPELL, TAB, TEXT, vcl::TEXTLANGUAGE, vcl::TEXTLAYOUTMODE, tools::Rectangle::Top(), toRadians(), and Size::Width().

◆ PaMtoEditCursor()

tools::Rectangle ImpEditEngine::PaMtoEditCursor ( EditPaM  aPaM,
GetCursorFlags  nFlags = GetCursorFlags::NONE 
)

Definition at line 3136 of file impedit2.cxx.

Referenced by Command(), DoOnlineSpelling(), PageDown(), and PageUp().

◆ ParaAttribsChanged()

void ImpEditEngine::ParaAttribsChanged ( ContentNode const *  pNode,
bool  bIgnoreUndoCheck = false 
)
private

◆ ParaAttribsToCharAttribs()

void ImpEditEngine::ParaAttribsToCharAttribs ( ContentNode pNode)
private

Definition at line 756 of file impedit5.cxx.

◆ PasteText()

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

◆ PutSpellingToSentenceStart()

void ImpEditEngine::PutSpellingToSentenceStart ( EditView const &  rEditView)

Definition at line 2184 of file impedit4.cxx.

References EditView::pImpEditView, and pSpellInfo.

◆ Read()

EditPaM ImpEditEngine::Read ( SvStream rInput,
const OUString &  rBaseURL,
EETextFormat  eFormat,
const EditSelection rSel,
SvKeyValueIterator pHTTPHeaderAttrs = nullptr 
)

Definition at line 86 of file impedit4.cxx.

References FormatFullDoc(), Html, ReadHTML(), ReadRTF(), ReadText(), ReadXML(), Rtf, SetUpdateLayout(), Text, and Xml.

Referenced by PasteText().

◆ ReadHTML()

EditPaM ImpEditEngine::ReadHTML ( SvStream rInput,
const OUString &  rBaseURL,
EditSelection  aSel,
SvKeyValueIterator pHTTPHeaderAttrs 
)
private

◆ ReadRTF()

EditPaM ImpEditEngine::ReadRTF ( SvStream rInput,
EditSelection  aSel 
)
private

◆ ReadText()

EditPaM ImpEditEngine::ReadText ( SvStream rInput,
EditSelection  aSel 
)
private

◆ ReadXML()

EditPaM ImpEditEngine::ReadXML ( SvStream rInput,
EditSelection  aSel 
)
private

Definition at line 126 of file impedit4.cxx.

References CreateESel(), GetEditEnginePtr(), EditSelection::HasRange(), ImpDeleteSelection(), and SvxReadXML().

Referenced by Read().

◆ RecalcFormatterFontMetrics()

void ImpEditEngine::RecalcFormatterFontMetrics ( FormatterFontMetric rCurMetrics,
SvxFont rFont 
)
private

◆ RecalcTextPortion()

void ImpEditEngine::RecalcTextPortion ( ParaPortion pParaPortion,
sal_Int32  nStartPos,
sal_Int32  nNewChars 
)
private

◆ Redo()

void ImpEditEngine::Redo ( EditView pView)

Definition at line 301 of file impedit5.cxx.

◆ ReleaseMouse()

void ImpEditEngine::ReleaseMouse ( )

Definition at line 644 of file impedit2.cxx.

References GetSelEngine(), and SelectionEngine::ReleaseMouse().

◆ RemoveCharAttribs() [1/2]

void ImpEditEngine::RemoveCharAttribs ( EditSelection  aSel,
EERemoveParaAttribsMode  eMode,
sal_uInt16  nWhich 
)

Definition at line 584 of file impedit5.cxx.

◆ RemoveCharAttribs() [2/2]

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

Definition at line 646 of file impedit5.cxx.

◆ RemoveStyleFromParagraphs()

void ImpEditEngine::RemoveStyleFromParagraphs ( SfxStyleSheet const *  pStyle)

◆ RemoveText()

EditPaM ImpEditEngine::RemoveText ( )
private

Definition at line 682 of file impedit2.cxx.

References aEditDoc, aEditViews, EditDoc::GetStartPaM(), InitDoc(), and ResetUndoManager().

Referenced by SetText().

◆ ReplaceTextOnly()

short ImpEditEngine::ReplaceTextOnly ( ContentNode pNode,
sal_Int32  nCurrentStart,
std::u16string_view  rText,
const css::uno::Sequence< sal_Int32 > &  rOffsets 
)

◆ ResetUndoManager()

void ImpEditEngine::ResetUndoManager ( )
private

Definition at line 277 of file impedit5.cxx.

Referenced by Clear(), RemoveText(), and SetText().

◆ Search()

bool ImpEditEngine::Search ( const SvxSearchItem rSearchItem,
EditView pView 
)

◆ SeekCursor()

void ImpEditEngine::SeekCursor ( ContentNode pNode,
sal_Int32  nPos,
SvxFont rFont,
OutputDevice pOut = nullptr 
)
private

Definition at line 2690 of file impedit3.cxx.

References abs(), aStatus, COL_AUTO(), COL_BLACK(), COL_LIGHTGRAY(), COL_RED(), COL_TRANSPARENT(), COL_WHITE(), DBG_ASSERT, DFLT_ESC_AUTO_SUPER, InternalEditStatus::DoNotUseColors(), InternalEditStatus::DoStretch(), EE_CHAR_COLOR(), EE_CHAR_FONTHEIGHT(), EE_CHAR_FONTINFO(), EE_CHAR_FONTWIDTH(), EE_CHAR_ITALIC(), EE_CHAR_LANGUAGE(), EE_CHAR_LANGUAGE_CJK(), EE_CHAR_OVERLINE(), EE_CHAR_START(), EE_CHAR_UNDERLINE(), EE_CHAR_WEIGHT(), EE_FEATURE_END(), EE_FEATURE_FIELD(), CharAttribList::FindAttrib(), SvtLanguageOptions::FromI18NToSvtScriptType(), GetAttrib(), CharAttribList::GetAttribs(), GetAutoColor(), GetBackgroundColor(), ContentNode::GetCharAttribs(), SvxFontItem::GetCharSet(), vcl::Font::GetColor(), SvxTextLineItem::GetColor(), ContentNode::GetContentAttribs(), CharAttribList::GetDefFont(), EditCharAttrib::GetEnd(), SvxFont::GetEscapement(), SvxFontItem::GetFamily(), SvxFontItem::GetFamilyName(), SvxFont::GetFixKerning(), OutputDevice::GetFontMetric(), vcl::Font::GetFontSize(), StyleSettings::GetHighlightColor(), StyleSettings::GetHighlightTextColor(), GetI18NScriptType(), EditCharAttrib::GetItem(), ContentAttribs::GetItem(), vcl::Font::GetKerning(), SvxLanguageItem::GetLanguage(), GetLanguage(), SvxFontItem::GetPitch(), SvxFont::GetPropr(), GetRefDevice(), GetScriptItemId(), Application::GetSettings(), EditCharAttrib::GetStart(), AllSettings::GetStyleSettings(), GetValue, Size::Height(), IsAutoColorEnabled(), IsForceAutoColor(), IsKernAsianPunctuation(), IsScriptItemValid(), ContentNode::Len(), LINESTYLE_BOLD, LINESTYLE_DOTTED, LINESTYLE_SINGLE, LINESTYLE_WAVE, mpIMEInfos, nPos, nStretchX, nStretchY, OUTDEV_PDF, OUTDEV_PRINTER, pOut, vcl::Font::SetCharSet(), vcl::Font::SetCJKContextLanguage(), vcl::Font::SetColor(), SvxFont::SetEscapement(), vcl::Font::SetFamily(), vcl::Font::SetFamilyName(), vcl::Font::SetFillColor(), SvxFont::SetFixKerning(), EditCharAttrib::SetFont(), vcl::Font::SetFontSize(), Size::setHeight(), vcl::Font::SetItalic(), vcl::Font::SetKerning(), vcl::Font::SetLanguage(), SvxFont::SetPhysFont(), vcl::Font::SetPitch(), SvxFont::SetPropr(), vcl::Font::SetTransparent(), vcl::Font::SetUnderline(), vcl::Font::SetWeight(), Size::setWidth(), InternalEditStatus::UseCharAttribs(), EditCharAttrib::Which(), and Size::Width().

Referenced by CalcLineWidth(), CreateAndInsertEmptyLine(), CreateLines(), ImpBreakLine(), Paint(), SplitTextPortion(), and WriteItemAsRTF().

◆ SelectParagraph()

std::optional< EditSelection > ImpEditEngine::SelectParagraph ( sal_Int32  nPara)

Definition at line 4206 of file impedit3.cxx.

References GetEditDoc(), EditDoc::GetObject(), ContentNode::Len(), and SAL_WARN_IF.

◆ SelectSentence()

EditSelection ImpEditEngine::SelectSentence ( const EditSelection rCurSel) const
private

◆ SelectWord()

EditSelection ImpEditEngine::SelectWord ( const EditSelection rCurSelection,
sal_Int16  nWordType = css::i18n::WordType::ANYWORD_IGNOREWHITESPACES,
bool  bAcceptStartOfWord = true 
)
private

◆ SetActiveView()

void ImpEditEngine::SetActiveView ( EditView pView)

Definition at line 3786 of file impedit2.cxx.

References EditView::HasSelection(), mpIMEInfos, pActiveView, and EditView::pImpEditView.

Referenced by Command(), and MouseButtonDown().

◆ SetAddExtLeading()

void ImpEditEngine::SetAddExtLeading ( bool  b)

◆ SetAllMisspellRanges()

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

◆ SetAsianCompressionMode()

void ImpEditEngine::SetAsianCompressionMode ( CharCompressType  n)

Definition at line 3043 of file impedit4.cxx.

References FormatFullDoc(), ImplHasText(), n, nAsianCompressionMode, and UpdateViews().

◆ SetAttribs()

void ImpEditEngine::SetAttribs ( EditSelection  aSel,
const SfxItemSet rSet,
SetAttribsMode  nSpecial = SetAttribsMode::NONE,
bool  bSetSelection = true 
)

Definition at line 489 of file impedit5.cxx.

Referenced by ApplyChangedSentence().

◆ SetAutoCompleteText()

void ImpEditEngine::SetAutoCompleteText ( const OUString &  rStr,
bool  bUpdateTipWindow 
)

Definition at line 2643 of file impedit4.cxx.

References aAutoCompleteText, EditView::GetWindow(), pActiveView, and Help::ShowQuickHelp().

Referenced by MouseButtonDown().

◆ SetBackgroundColor()

void ImpEditEngine::SetBackgroundColor ( const Color rColor)
inlineprivate

Definition at line 747 of file impedit.hxx.

References maBackgroundColor.

◆ SetBeginDropHdl()

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

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

Definition at line 1116 of file impedit.hxx.

References maBeginDropHdl.

◆ SetCallParaInsertedOrDeleted()

void ImpEditEngine::SetCallParaInsertedOrDeleted ( bool  b)
inline

Definition at line 876 of file impedit.hxx.

References bCallParaInsertedOrDeleted.

◆ SetCharStretching()

void ImpEditEngine::SetCharStretching ( sal_uInt16  nX,
sal_uInt16  nY 
)

◆ SetDefaultHorizontalTextDirection()

void ImpEditEngine::SetDefaultHorizontalTextDirection ( EEHorizontalTextDirection  eHTextDir)
inline

Definition at line 832 of file impedit.hxx.

References eDefaultHorizontalTextDirection.

◆ SetDefaultLanguage()

void ImpEditEngine::SetDefaultLanguage ( LanguageType  eLang)
inline

Definition at line 1017 of file impedit.hxx.

References eDefLanguage.

◆ SetEditTextObjectPool()

void ImpEditEngine::SetEditTextObjectPool ( SfxItemPool pP)
inline

Definition at line 1071 of file impedit.hxx.

References pTextObjectPool.

◆ SetEndDropHdl()

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

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

Definition at line 1120 of file impedit.hxx.

References maEndDropHdl.

◆ SetFirstWordCapitalization()

void ImpEditEngine::SetFirstWordCapitalization ( bool  bCapitalize)
inline

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

Definition at line 1124 of file impedit.hxx.

References bFirstWordCapitalization.

◆ SetFixedCellHeight()

void ImpEditEngine::SetFixedCellHeight ( bool  bUseFixedCellHeight)

◆ SetFlatMode()

void ImpEditEngine::SetFlatMode ( bool  bFlat)

◆ SetForbiddenCharsTable()

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

Definition at line 4441 of file impedit2.cxx.

Referenced by EditEngine::SetForbiddenCharsTable().

◆ SetHyphenator()

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

Definition at line 1009 of file impedit.hxx.

References xHyphenator.

◆ SetKernAsianPunctuation()

void ImpEditEngine::SetKernAsianPunctuation ( bool  b)

Definition at line 3056 of file impedit4.cxx.

References bKernAsianPunctuation, FormatFullDoc(), ImplHasText(), and UpdateViews().

◆ SetLanguageAndFont()

void ImpEditEngine::SetLanguageAndFont ( const ESelection rESel,
LanguageType  nLang,
sal_uInt16  nLangWhichId,
const vcl::Font pFont,
sal_uInt16  nFontWhichId 
)

◆ SetLOKSpecialPaperSize()

void ImpEditEngine::SetLOKSpecialPaperSize ( const Size rSize)
inline

Definition at line 1138 of file impedit.hxx.

References aLOKSpecialPaperSize.

◆ SetMaxAutoPaperSize()

void ImpEditEngine::SetMaxAutoPaperSize ( const Size rSz)
inline

Definition at line 848 of file impedit.hxx.

References aMaxAutoPaperSize.

◆ SetMinAutoPaperSize()

void ImpEditEngine::SetMinAutoPaperSize ( const Size rSz)
inline

Definition at line 845 of file impedit.hxx.

References aMinAutoPaperSize.

◆ SetMinColumnWrapHeight()

void ImpEditEngine::SetMinColumnWrapHeight ( tools::Long  nVal)
inline

Definition at line 850 of file impedit.hxx.

References mnMinColumnWrapHeight.

◆ SetModifyFlag()

void ImpEditEngine::SetModifyFlag ( bool  b)
inline

Definition at line 942 of file impedit.hxx.

References aEditDoc, and EditDoc::SetModified().

Referenced by TransliterateText().

◆ SetModifyHdl()

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

Definition at line 943 of file impedit.hxx.

References aModifyHdl.

◆ SetNotifyHdl()

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

Definition at line 960 of file impedit.hxx.

References aNotifyHdl.

◆ SetPaperSize()

void ImpEditEngine::SetPaperSize ( const Size rSz)
inline

Definition at line 816 of file impedit.hxx.

References aPaperSize.

◆ SetParaAttribs()

void ImpEditEngine::SetParaAttribs ( sal_Int32  nPara,
const SfxItemSet rSet 
)

Definition at line 679 of file impedit5.cxx.

Referenced by InsertTextObject().

◆ SetRefDevice()

void ImpEditEngine::SetRefDevice ( OutputDevice pRefDef)

Definition at line 190 of file impedit2.cxx.

References FormatFullDoc(), IsFormatted(), nOnePixelInRef, pRefDev, pSharedVCL, and UpdateViews().

Referenced by ImpEditEngine(), and SetRefMapMode().

◆ SetRefMapMode()

void ImpEditEngine::SetRefMapMode ( const MapMode rMapMode)

◆ SetReplaceLeadingSingleQuotationMark()

void ImpEditEngine::SetReplaceLeadingSingleQuotationMark ( bool  bReplace)
inline

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

Definition at line 1129 of file impedit.hxx.

References mbReplaceLeadingSingleQuotationMark.

◆ SetRotation()

void ImpEditEngine::SetRotation ( TextRotation  nRotation)

◆ SetSpeller()

void ImpEditEngine::SetSpeller ( css::uno::Reference< css::linguistic2::XSpellChecker1 > const &  xSpl)
inline

Definition at line 1005 of file impedit.hxx.

References xSpeller.

◆ SetStatusEventHdl()

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

Definition at line 957 of file impedit.hxx.

References aStatusHdlLink.

◆ SetStyleSheet() [1/2]

void ImpEditEngine::SetStyleSheet ( EditSelection  aSel,
SfxStyleSheet pStyle 
)

◆ SetStyleSheet() [2/2]

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

◆ SetStyleSheetPool()

void ImpEditEngine::SetStyleSheetPool ( SfxStyleSheetPool pSPool)

Definition at line 27 of file impedit5.cxx.

References pStylePool.

◆ SetText() [1/2]

void ImpEditEngine::SetText ( const EditTextObject rTextObject)

◆ SetText() [2/2]

void ImpEditEngine::SetText ( const OUString &  rText)

◆ SetTextColumns()

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

◆ SetTextRanger()

void ImpEditEngine::SetTextRanger ( std::unique_ptr< TextRanger pRanger)

◆ SetUndoManager()

SfxUndoManager * ImpEditEngine::SetUndoManager ( SfxUndoManager pNew)
inline

Definition at line 1251 of file impedit.hxx.

References pEditEngine, pUndoManager, and EditUndoManager::SetEditEngine().

◆ SetUndoMode()

void ImpEditEngine::SetUndoMode ( bool  b)
inline

Definition at line 873 of file impedit.hxx.

References bIsInUndo.

◆ SetUpdateLayout()

bool ImpEditEngine::SetUpdateLayout ( bool  bUpdate,
EditView pCurView = nullptr,
bool  bForceUpdate = false 
)

Definition at line 3951 of file impedit3.cxx.

References bUpdateLayout, and FormatAndLayout().

Referenced by Read(), SetStyleSheet(), SetText(), and ~ImpEditEngine().

◆ SetValidPaperSize()

void ImpEditEngine::SetValidPaperSize ( const Size rSz)
private

Definition at line 4414 of file impedit2.cxx.

Referenced by CheckAutoPageSize().

◆ SetVertical()

void ImpEditEngine::SetVertical ( bool  bVertical)

◆ setXDirectionAwareFrom()

void ImpEditEngine::setXDirectionAwareFrom ( Point ptDest,
const Point ptSrc 
) const

Definition at line 3016 of file impedit3.cxx.

References IsEffectivelyVertical().

Referenced by Paint().

◆ setYDirectionAwareFrom()

void ImpEditEngine::setYDirectionAwareFrom ( Point ptDest,
const Point ptSrc 
) const

Definition at line 3024 of file impedit3.cxx.

References IsEffectivelyVertical().

Referenced by MoveToNextLine().

◆ ShowParagraph()

void ImpEditEngine::ShowParagraph ( sal_Int32  nParagraph,
bool  bShow 
)
private

◆ Spell()

EESpellState ImpEditEngine::Spell ( EditView pEditView,
weld::Widget pDialogParent,
bool  bMultipleDoc 
)

◆ SpellSentence()

bool ImpEditEngine::SpellSentence ( EditView const &  rView,
svx::SpellPortions rToFill 
)

◆ SplitContent()

EditPaM ImpEditEngine::SplitContent ( sal_Int32  nNode,
sal_Int32  nSepPos 
)
private

Definition at line 3932 of file impedit3.cxx.

References aEditDoc, DBG_ASSERT, EditDoc::GetObject(), ImpInsertParaBreak(), and IsInUndo().

◆ SplitTextPortion()

sal_Int32 ImpEditEngine::SplitTextPortion ( ParaPortion pParaPortion,
sal_Int32  nPos,
EditLine pCurLine = nullptr 
)
private

◆ StartOfWord()

EditPaM ImpEditEngine::StartOfWord ( const EditPaM rPaM)
private

◆ StartOnlineSpellTimer()

void ImpEditEngine::StartOnlineSpellTimer ( )
inline

Definition at line 1089 of file impedit.hxx.

References aOnlineSpellTimer, and Timer::Start().

Referenced by FormatDoc().

◆ StartSearchAndReplace()

sal_Int32 ImpEditEngine::StartSearchAndReplace ( EditView pEditView,
const SvxSearchItem rSearchItem 
)

◆ StartThesaurus()

EESpellState ImpEditEngine::StartThesaurus ( EditView pEditView,
weld::Widget pDialogParent 
)

◆ StopOnlineSpellTimer()

void ImpEditEngine::StopOnlineSpellTimer ( )
inline

Definition at line 1090 of file impedit.hxx.

References aOnlineSpellTimer, and Task::Stop().

◆ TextModified()

void ImpEditEngine::TextModified ( )
private

◆ TransliterateText()

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

◆ Undo()

void ImpEditEngine::Undo ( EditView pView)

Definition at line 292 of file impedit5.cxx.

◆ UndoActionEnd()

void ImpEditEngine::UndoActionEnd ( )

◆ UndoActionStart() [1/2]

void ImpEditEngine::UndoActionStart ( sal_uInt16  nId)

◆ UndoActionStart() [2/2]

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

Definition at line 236 of file impedit5.cxx.

◆ UpdateFields()

bool ImpEditEngine::UpdateFields ( )

Definition at line 3030 of file impedit2.cxx.

Referenced by InsertTextObject().

◆ UpdateParagraphsWithStyleSheet()

void ImpEditEngine::UpdateParagraphsWithStyleSheet ( SfxStyleSheet pStyle)

◆ UpdateSelections()

void ImpEditEngine::UpdateSelections ( )

◆ UpdateViews()

void ImpEditEngine::UpdateViews ( EditView pCurView = nullptr)

◆ WordLeft()

EditPaM ImpEditEngine::WordLeft ( const EditPaM rPaM)
private

◆ WordRight()

EditPaM ImpEditEngine::WordRight ( const EditPaM rPaM,
sal_Int16  nWordType = css::i18n::WordType::ANYWORD_IGNOREWHITESPACES 
)
private

◆ Write()

void ImpEditEngine::Write ( SvStream rOutput,
EETextFormat  eFormat,
const EditSelection rSel 
)

◆ WriteItemAsRTF()

void ImpEditEngine::WriteItemAsRTF ( const SfxPoolItem rItem,
SvStream rOutput,
sal_Int32  nPara,
sal_Int32  nPos,
std::vector< std::unique_ptr< SvxFontItem > > &  rFontTable,
SvxColorList rColorList 
)
private

Definition at line 648 of file impedit4.cxx.

References aEditDoc, Center, SvxTabStopItem::Count(), DFLT_ESC_AUTO_SUB, DFLT_ESC_AUTO_SUPER, EE_CHAR_COLOR(), EE_CHAR_EMPHASISMARK(), EE_CHAR_ESCAPEMENT(), EE_CHAR_FONTHEIGHT(), EE_CHAR_FONTHEIGHT_CJK(), EE_CHAR_FONTHEIGHT_CTL(), EE_CHAR_FONTINFO(), EE_CHAR_FONTINFO_CJK(), EE_CHAR_FONTINFO_CTL(), EE_CHAR_ITALIC(), EE_CHAR_ITALIC_CJK(), EE_CHAR_ITALIC_CTL(), EE_CHAR_KERNING(), EE_CHAR_OUTLINE(), EE_CHAR_OVERLINE(), EE_CHAR_PAIRKERNING(), EE_CHAR_RELIEF(), EE_CHAR_SHADOW(), EE_CHAR_STRIKEOUT(), EE_CHAR_UNDERLINE(), EE_CHAR_WEIGHT(), EE_CHAR_WEIGHT_CJK(), EE_CHAR_WEIGHT_CTL(), EE_FEATURE_LINEBR(), EE_FEATURE_TAB(), EE_PARA_JUST(), EE_PARA_LRSPACE(), EE_PARA_OUTLLEVEL(), EE_PARA_OUTLLRSPACE(), EE_PARA_SBL(), EE_PARA_TABS(), EE_PARA_ULSPACE(), EE_PARA_WRITINGDIR(), FontMetric::GetAscent(), FontMetric::GetDescent(), OutputDevice::GetFontMetric(), vcl::Font::GetFontSize(), SvxLineSpacingItem::GetInterLineSpaceRule(), GetLineHeight(), EditDoc::GetObject(), GetRefDevice(), GetRefMapMode(), SvxTabStop::GetTabPos(), GetValue, SfxBoolItem::GetValue(), SfxEnumItem< typename EnumT >::GetValue(), SfxInt16Item::GetValue(), SvxColorItem::GetValue(), Horizontal_RL_TB, i, ITALIC_NONE, ITALIC_NORMAL, ITALIC_OBLIQUE, LINESTYLE_DOTTED, LINESTYLE_DOUBLE, LINESTYLE_NONE, LINESTYLE_SINGLE, OutputDevice::LogicToLogic(), LogicToTwips(), n, nPos, OOO_STRING_SVTOOLS_RTF_ACCCOMMA, OOO_STRING_SVTOOLS_RTF_ACCDOT, OOO_STRING_SVTOOLS_RTF_ACCNONE, OOO_STRING_SVTOOLS_RTF_B, OOO_STRING_SVTOOLS_RTF_CF, OOO_STRING_SVTOOLS_RTF_DN, OOO_STRING_SVTOOLS_RTF_EMBO, OOO_STRING_SVTOOLS_RTF_EXPNDTW, OOO_STRING_SVTOOLS_RTF_F, OOO_STRING_SVTOOLS_RTF_FI, OOO_STRING_SVTOOLS_RTF_FS, OOO_STRING_SVTOOLS_RTF_I, OOO_STRING_SVTOOLS_RTF_IMPR, OOO_STRING_SVTOOLS_RTF_KERNING, OOO_STRING_SVTOOLS_RTF_LI, OOO_STRING_SVTOOLS_RTF_OL, OOO_STRING_SVTOOLS_RTF_OLD, OOO_STRING_SVTOOLS_RTF_OLDB, OOO_STRING_SVTOOLS_RTF_OLNONE, OOO_STRING_SVTOOLS_RTF_OUTL, OOO_STRING_SVTOOLS_RTF_QC, OOO_STRING_SVTOOLS_RTF_QL, OOO_STRING_SVTOOLS_RTF_QR, OOO_STRING_SVTOOLS_RTF_RI, OOO_STRING_SVTOOLS_RTF_SA, OOO_STRING_SVTOOLS_RTF_SB, OOO_STRING_SVTOOLS_RTF_SHAD, OOO_STRING_SVTOOLS_RTF_SL, OOO_STRING_SVTOOLS_RTF_SLMULT, OOO_STRING_SVTOOLS_RTF_STRIKE, OOO_STRING_SVTOOLS_RTF_TAB, OOO_STRING_SVTOOLS_RTF_TX, OOO_STRING_SVTOOLS_RTF_UL, OOO_STRING_SVTOOLS_RTF_ULD, OOO_STRING_SVTOOLS_RTF_ULDB, OOO_STRING_SVTOOLS_RTF_ULNONE, OOO_STRING_SVTOOLS_RTF_UP, Prop, Right, SeekCursor(), STRIKEOUT_DOUBLE, STRIKEOUT_NONE, STRIKEOUT_SINGLE, WEIGHT_BOLD, SfxPoolItem::Which(), SvStream::WriteChar(), SvStream::WriteCharPtr(), SvStream::WriteInt32AsString(), SvStream::WriteOString(), and SvStream::WriteUInt32AsString().

Referenced by WriteItemListAsRTF(), and WriteRTF().

◆ WriteItemListAsRTF()

bool ImpEditEngine::WriteItemListAsRTF ( ItemList rLst,
SvStream rOutput,
sal_Int32  nPara,
sal_Int32  nPos,
std::vector< std::unique_ptr< SvxFontItem > > &  rFontTable,
SvxColorList rColorList 
)
private

Definition at line 237 of file impedit4.cxx.

References ItemList::Count(), ItemList::First(), ItemList::Next(), nPos, and WriteItemAsRTF().

Referenced by WriteRTF().

◆ WriteRTF()

ErrCode ImpEditEngine::WriteRTF ( SvStream rOutput,
EditSelection  aSel 
)
private