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)
 
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
 
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)
 
bool isUsedByModel () const override
 
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 setScale (double fFontScaleX, double fFontScaleY, double fSpacingScaleX, double fSpacingScaleY)
 
void getFontScale (double &rX, double &rY) const
 
void getSpacingScale (double &rX, double &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)
 
virtual bool IsSdrView () const
 

Static Public Member Functions

static bool IsVisualCursorTravelingEnabled ()
 
static bool DoVisualCursorTraveling ()
 
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)
 
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)
 
double scaleXSpacingValue (tools::Long nXValue) const
 
double scaleYSpacingValue (sal_uInt16 nYValue) const
 
double scaleYFontValue (sal_uInt16 nYValue) const
 
double scaleXFontValue (tools::Long nXValue) const
 
void setRoundToNearestPt (bool bRound)
 
double roundToNearestPt (double fInput) 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 LanguageType ImplCalcDigitLang (LanguageType eCurLang)
 
static void ImplInitDigitMode (OutputDevice &rOutDev, LanguageType eLang)
 
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< SfxItemSetpEmptyItemSet
 
EditUndoManagerpUndoManager
 
std::optional< ESelectionmoUndoMarkSelection
 
std::unique_ptr< ImplIMEInfosmpIMEInfos
 
OUString aWordDelimiters
 
EditSelFunctionSet aSelFuncSet
 
EditSelectionEngine aSelEngine
 
Color maBackgroundColor
 
double mfFontScaleX
 
double mfFontScaleY
 
double mfSpacingScaleX
 
double mfSpacingScaleY
 
bool mbRoundToNearestPt
 
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 mbFuzzing:1
 
bool mbNbspRunNext
 

Friends

class EditEngine
 

Detailed Description

Definition at line 486 of file impedit.hxx.

Member Typedef Documentation

◆ IterateLinesAreasFunc

Definition at line 1207 of file impedit.hxx.

◆ ViewsType

Definition at line 490 of file impedit.hxx.

Member Enumeration Documentation

◆ CallbackResult

enum class ImpEditEngine::CallbackResult
strong
Enumerator
Continue 
SkipThisPortion 
Stop 

Definition at line 1190 of file impedit.hxx.

◆ IterFlag

Enumerator
none 
inclILS 

Definition at line 1208 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 3172 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 3180 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 2541 of file impedit2.cxx.

Referenced by Command().

◆ Calc1ColumnTextHeight()

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

Definition at line 3500 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 379 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 1155 of file impedit.hxx.

References mnOverflowingPara.

◆ ClearSpellErrors()

void ImpEditEngine::ClearSpellErrors ( )

Definition at line 2436 of file impedit4.cxx.

References aEditDoc, and EditDoc::ClearSpellErrors().

◆ Command()

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

Definition at line 341 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(), SvxAutoCorrect::IsAutoCorrectChar(), 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 4137 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 1527 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 4562 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 1755 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(), Size::Height(), ImplCalculateFontIndependentLineSpacing(), IsFixedCellHeight(), InternalEditStatus::IsOutliner(), ContentNode::Len(), Min, FormatterFontMetric::nMaxAscent, nPos, pRefDev, Prop, RecalcFormatterFontMetrics(), Right, scaleXSpacingValue(), SeekCursor(), ParaPortion::SetBulletX(), EditLine::SetEnd(), EditLine::SetEndPortion(), EditLine::SetHeight(), TextPortion::setHeight(), EditLine::SetMaxAscent(), SvxFont::SetPhysFont(), TextPortion::SetSize(), 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 1239 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 638 of file impedit3.cxx.

References a, TextPortion::adjustSize(), 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, basegfx::fround(), KernArray::get_factor(), KernArray::get_subunit_array(), 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(), vcl::Font::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(), GetTextHeight(), SvxLRSpaceItem::GetTextLeft(), ParaPortion::GetTextPortions(), GetTextRanger(), TextRanger::GetTextRanges(), EditLine::GetTxtHeight(), getWidthDirectionAware(), HasScriptType(), 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(), InternalEditStatus::IsSingleLine(), ParaPortion::IsVisible(), tools::Rectangle::IsWidthEmpty(), Left, ContentNode::Len(), LINEBREAK, ExtraPortionInfo::lineBreaksList, o3tl::make_unsigned(), mbSkipOutsideFormat, mfFontScaleX, mfSpacingScaleY, Min, n, nIndex, FormatterFontMetric::nMaxAscent, NONE, ExtraPortionInfo::nOrgWidth, nPos, Off, InternalEditStatus::OneCharPerLine(), 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, scaleXFontValue(), scaleXSpacingValue(), scaleYSpacingValue(), SeekCursor(), ParaPortion::SetBulletX(), EditLine::SetEnd(), EditLine::SetEndPortion(), TextPortion::SetExtraInfos(), TextPortion::SetExtraValue(), EditLine::SetHeight(), Size::setHeight(), TextPortion::setHeight(), EditLine::SetInvalid(), TextPortion::SetKind(), TextPortion::SetLen(), EditLine::SetMaxAscent(), SvxFont::SetPhysFont(), TextPortion::SetRightToLeftLevel(), TextPortion::SetSize(), EditLine::SetStart(), EditLine::SetStartPortion(), EditLine::SetStartPosX(), EditLine::SetTextWidth(), EditLine::SetValid(), TextRanger::SetVertical(), TextPortion::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 1432 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 994 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(), mfFontScaleX, mfFontScaleY, mfSpacingScaleX, mfSpacingScaleY, EditSelection::Min(), n, nCount, XParaPortion::nFirstLineOffset, XParaPortion::nHeight, 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 1407 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 1414 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 1400 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 1032 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 260 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 ( )
static

Definition at line 4478 of file impedit2.cxx.

Referenced by MoveCursor(), and EditEngine::PostKeyEvent().

◆ EnableAutoColor()

void ImpEditEngine::EnableAutoColor ( bool  b)
inlineprivate

Definition at line 790 of file impedit.hxx.

References bUseAutoColor.

◆ EnableSkipOutsideFormat()

void ImpEditEngine::EnableSkipOutsideFormat ( bool  set)
inline

Definition at line 1184 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 796 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 1326 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 792 of file impedit.hxx.

References bForceAutoColor.

◆ FormatAndLayout()

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

◆ FormatDoc()

void ImpEditEngine::FormatDoc ( )

Definition at line 400 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(), ParaPortion::MarkSelectionInvalid(), ParaPortion::MustRepaint(), n, nCurTextHeight, nCurTextHeightNTP, tools::Rectangle::Normalize(), 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 1148 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 1141 of file impedit.hxx.

References aAutoCompleteText.

Referenced by MouseButtonDown().

◆ GetBackgroundColor()

const Color & ImpEditEngine::GetBackgroundColor ( ) const
inlineprivate

Definition at line 785 of file impedit.hxx.

References maBackgroundColor.

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

◆ GetBeginDropHdl()

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

Definition at line 1166 of file impedit.hxx.

References maBeginDropHdl.

◆ GetBigTextObjectStart()

sal_Int32 ImpEditEngine::GetBigTextObjectStart ( ) const
inline

Definition at line 1134 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().

◆ GetColorConfig()

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

Definition at line 1001 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 870 of file impedit.hxx.

References eDefaultHorizontalTextDirection.

Referenced by IsRightToLeft().

◆ GetDefaultLanguage()

LanguageType ImpEditEngine::GetDefaultLanguage ( ) const
inline

Definition at line 1056 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 3117 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 825 of file impedit.hxx.

References aEditDoc.

◆ GetEditEnginePtr()

EditEngine * ImpEditEngine::GetEditEnginePtr ( ) const
inline

◆ GetEditTextObjectPool()

SfxItemPool * ImpEditEngine::GetEditTextObjectPool ( ) const
inline

Definition at line 1110 of file impedit.hxx.

References pTextObjectPool.

Referenced by CreateTextObject().

◆ GetEditViews() [1/2]

ViewsType & ImpEditEngine::GetEditViews ( )
inline

Definition at line 849 of file impedit.hxx.

References aEditViews.

◆ GetEditViews() [2/2]

const ViewsType & ImpEditEngine::GetEditViews ( ) const
inline

Definition at line 850 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 1170 of file impedit.hxx.

References maEndDropHdl.

◆ getFontScale()

void ImpEditEngine::getFontScale ( double &  rX,
double &  rY 
) const
inline

Definition at line 1122 of file impedit.hxx.

References mfFontScaleX, and mfFontScaleY.

◆ GetForbiddenCharsTable()

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

Definition at line 4455 of file impedit2.cxx.

Referenced by ImpBreakLine().

◆ getHeightDirectionAware()

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

Definition at line 3167 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 1046 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 4090 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 1188 of file impedit.hxx.

References aLOKSpecialPaperSize.

◆ GetLRSpaceItem()

const SvxLRSpaceItem & ImpEditEngine::GetLRSpaceItem ( ContentNode pNode)

◆ GetMaxAutoPaperSize()

const Size & ImpEditEngine::GetMaxAutoPaperSize ( ) const
inline

Definition at line 884 of file impedit.hxx.

References aMaxAutoPaperSize.

Referenced by CheckPageOverflow().

◆ GetMinAutoPaperSize()

const Size & ImpEditEngine::GetMinAutoPaperSize ( ) const
inline

Definition at line 881 of file impedit.hxx.

References aMinAutoPaperSize.

◆ 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 997 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 1154 of file impedit.hxx.

References mnOverflowingLine.

◆ GetOverflowingParaNum()

sal_Int32 ImpEditEngine::GetOverflowingParaNum ( ) const
inline

Definition at line 1153 of file impedit.hxx.

References mnOverflowingPara.

◆ GetPaM()

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

Definition at line 3324 of file impedit2.cxx.

References CursorLeft(), GetChar(), GetPortionAndLine(), IsUpdateLayout(), and Point::X().

Referenced by PageDown(), and PageUp().

◆ GetPaperSize()

const Size & ImpEditEngine::GetPaperSize ( ) const
inline

Definition at line 852 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 969 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 828 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 4110 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 1027 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 860 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 901 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

◆ getSpacingScale()

void ImpEditEngine::getSpacingScale ( double &  rX,
double &  rY 
) const
inline

Definition at line 1128 of file impedit.hxx.

References mfSpacingScaleX, and mfSpacingScaleY.

◆ GetSpeller()

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

Definition at line 1424 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 994 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 1012 of file impedit.hxx.

References pStylePool.

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

◆ GetTextHeight()

sal_uInt32 ImpEditEngine::GetTextHeight ( ) const

◆ 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 1290 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 858 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 3162 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 4201 of file impedit2.cxx.

Referenced by CursorDown(), and CursorUp().

◆ getYOverflowDirectionAware()

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

◆ 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 629 of file impedit.hxx.

References pUndoManager.

Referenced by SetText().

◆ IdleFormatAndLayout()

void ImpEditEngine::IdleFormatAndLayout ( EditView pCurView)
inlineprivate

Definition at line 832 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 1645 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 2986 of file impedit2.cxx.

Referenced by InsertTextObject().

◆ ImpFastInsertText()

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

Definition at line 2864 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 2886 of file impedit2.cxx.

◆ ImpInsertParaBreak() [1/2]

EditPaM ImpEditEngine::ImpInsertParaBreak ( const EditSelection rEditSelection)
private

Definition at line 2911 of file impedit2.cxx.

◆ ImpInsertParaBreak() [2/2]

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

Definition at line 2922 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)
staticprivate

◆ 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 4637 of file impedit3.cxx.

References xISC.

◆ ImplHasText()

bool ImpEditEngine::ImplHasText ( ) const
private

Definition at line 3095 of file impedit4.cxx.

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

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

◆ ImplInitDigitMode()

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

◆ 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 2506 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 3044 of file impedit2.cxx.

◆ InsertLineBreak()

EditPaM ImpEditEngine::InsertLineBreak ( const EditSelection aEditSelection)

Definition at line 3108 of file impedit2.cxx.

◆ InsertParaBreak()

EditPaM ImpEditEngine::InsertParaBreak ( const EditSelection rEditSelection)

Definition at line 3015 of file impedit2.cxx.

◆ InsertParagraph()

EditPaM ImpEditEngine::InsertParagraph ( sal_Int32  nPara)

◆ InsertTab()

EditPaM ImpEditEngine::InsertTab ( const EditSelection rEditSelection)

Definition at line 3038 of file impedit2.cxx.

◆ InsertText() [1/2]

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

Definition at line 662 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 1170 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(), XParaPortionList::getFontScaleX(), XParaPortionList::getFontScaleY(), 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(), XParaPortionList::getSpacingScaleX(), XParaPortionList::getSpacingScaleY(), XEditAttribute::GetStart(), GetStatus(), 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(), mfFontScaleX, mfFontScaleY, mfSpacingScaleX, mfSpacingScaleY, n, nCount, ParaPortion::nFirstLineOffset, XParaPortion::nFirstLineOffset, ParaPortion::nHeight, XParaPortion::nHeight, 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 2613 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 1159 of file impedit.hxx.

References bAddExtLeading.

Referenced by RecalcFormatterFontMetrics(), and SetAddExtLeading().

◆ IsAutoColorEnabled()

bool ImpEditEngine::IsAutoColorEnabled ( ) const
inlineprivate

Definition at line 791 of file impedit.hxx.

References bUseAutoColor.

Referenced by Paint(), and SeekCursor().

◆ IsCallParaInsertedOrDeleted()

bool ImpEditEngine::IsCallParaInsertedOrDeleted ( ) const
inline

Definition at line 914 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 1174 of file impedit.hxx.

References bFirstWordCapitalization.

◆ IsFixedCellHeight()

bool ImpEditEngine::IsFixedCellHeight ( ) const
inline

◆ IsForceAutoColor()

bool ImpEditEngine::IsForceAutoColor ( ) const
inlineprivate

Definition at line 793 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 982 of file impedit.hxx.

References bInSelection.

◆ IsInUndo()

bool ImpEditEngine::IsInUndo ( ) const
inline

◆ IsKernAsianPunctuation()

bool ImpEditEngine::IsKernAsianPunctuation ( ) const
inline

Definition at line 1151 of file impedit.hxx.

References bKernAsianPunctuation.

Referenced by SeekCursor().

◆ IsModified()

bool ImpEditEngine::IsModified ( ) const
inline

Definition at line 978 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 1182 of file impedit.hxx.

References mbNbspRunNext.

◆ IsPageOverflow()

bool ImpEditEngine::IsPageOverflow ( ) const

Definition at line 387 of file impedit3.cxx.

References mbNeedsChainingHandling.

◆ IsReplaceLeadingSingleQuotationMark()

bool ImpEditEngine::IsReplaceLeadingSingleQuotationMark ( ) const
inline

Definition at line 1179 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

◆ isUsedByModel()

bool ImpEditEngine::isUsedByModel ( ) const
inlineoverride

Definition at line 1022 of file impedit.hxx.

◆ IsVisualCursorTravelingEnabled()

bool ImpEditEngine::IsVisualCursorTravelingEnabled ( )
static

Definition at line 4465 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 3100 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 3294 of file impedit3.cxx.

References vcl::PDFExtOutDevBookmarkEntry::aBookmark, aBuf, GDIMetaFile::AddAction(), Point::AdjustX(), adjustXDirectionAware(), Point::AdjustY(), adjustYDirectionAware(), aStatus, ExtraPortionInfo::bCompressed, 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(), KernArray::get_factor(), KernArray::get_subunit_array(), 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(), EditLine::GetKashidaArray(), 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(), 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(), 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, OutputDevice::Pop(), OutputDevice::Push(), SvxFont::QuickDrawText(), SvxFont::QuickGetTextSize(), tools::Rectangle::Right(), Point::RotateAround(), sal_False, scaleYSpacingValue(), 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(), Size::Width(), vcl::PDFExtOutDevData::WrapBeginStructureElement(), Point::X(), and Point::Y().

◆ PaMtoEditCursor()

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

Definition at line 3155 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 2196 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 649 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 693 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().

◆ roundToNearestPt()

double ImpEditEngine::roundToNearestPt ( double  fInput) const
private

Definition at line 3108 of file impedit4.cxx.

References o3tl::convert(), basegfx::fround(), mbRoundToNearestPt, o3tl::mm100, and o3tl::pt.

Referenced by SeekCursor().

◆ scaleXFontValue()

double ImpEditEngine::scaleXFontValue ( tools::Long  nXValue) const
inlineprivate

Definition at line 767 of file impedit.hxx.

References aStatus, InternalEditStatus::DoStretch(), mfFontScaleX, and mfFontScaleY.

Referenced by CreateLines().

◆ scaleXSpacingValue()

double ImpEditEngine::scaleXSpacingValue ( tools::Long  nXValue) const
inlineprivate

◆ scaleYFontValue()

double ImpEditEngine::scaleYFontValue ( sal_uInt16  nYValue) const
inlineprivate

Definition at line 759 of file impedit.hxx.

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

◆ scaleYSpacingValue()

double ImpEditEngine::scaleYSpacingValue ( sal_uInt16  nYValue) const
inlineprivate

Definition at line 751 of file impedit.hxx.

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

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

◆ 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 2859 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(), basegfx::fround(), 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(), vcl::Font::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_DOUBLE, LINESTYLE_SINGLE, LINESTYLE_WAVE, mfFontScaleX, mfFontScaleY, mpIMEInfos, nPos, OUTDEV_PDF, OUTDEV_PRINTER, pOut, roundToNearestPt(), vcl::Font::SetCharSet(), vcl::Font::SetCJKContextLanguage(), vcl::Font::SetColor(), SvxFont::SetEscapement(), vcl::Font::SetFamily(), vcl::Font::SetFamilyName(), vcl::Font::SetFillColor(), vcl::Font::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 4401 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 3805 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 3055 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 2655 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 784 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 1165 of file impedit.hxx.

References maBeginDropHdl.

◆ SetCallParaInsertedOrDeleted()

void ImpEditEngine::SetCallParaInsertedOrDeleted ( bool  b)
inline

Definition at line 913 of file impedit.hxx.

References bCallParaInsertedOrDeleted.

◆ SetDefaultHorizontalTextDirection()

void ImpEditEngine::SetDefaultHorizontalTextDirection ( EEHorizontalTextDirection  eHTextDir)
inline

Definition at line 869 of file impedit.hxx.

References eDefaultHorizontalTextDirection.

◆ SetDefaultLanguage()

void ImpEditEngine::SetDefaultLanguage ( LanguageType  eLang)
inline

Definition at line 1055 of file impedit.hxx.

References eDefLanguage.

◆ SetEditTextObjectPool()

void ImpEditEngine::SetEditTextObjectPool ( SfxItemPool pP)
inline

Definition at line 1109 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 1169 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 1173 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 4460 of file impedit2.cxx.

Referenced by EditEngine::SetForbiddenCharsTable().

◆ SetHyphenator()

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

Definition at line 1047 of file impedit.hxx.

References xHyphenator.

◆ SetKernAsianPunctuation()

void ImpEditEngine::SetKernAsianPunctuation ( bool  b)

Definition at line 3068 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 1187 of file impedit.hxx.

References aLOKSpecialPaperSize.

◆ SetMaxAutoPaperSize()

void ImpEditEngine::SetMaxAutoPaperSize ( const Size rSz)
inline

Definition at line 885 of file impedit.hxx.

References aMaxAutoPaperSize.

◆ SetMinAutoPaperSize()

void ImpEditEngine::SetMinAutoPaperSize ( const Size rSz)
inline

Definition at line 882 of file impedit.hxx.

References aMinAutoPaperSize.

◆ SetMinColumnWrapHeight()

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

Definition at line 887 of file impedit.hxx.

References mnMinColumnWrapHeight.

◆ SetModifyFlag()

void ImpEditEngine::SetModifyFlag ( bool  b)
inline

Definition at line 979 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 980 of file impedit.hxx.

References aModifyHdl.

◆ SetNotifyHdl()

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

Definition at line 996 of file impedit.hxx.

References aNotifyHdl.

◆ SetPaperSize()

void ImpEditEngine::SetPaperSize ( const Size rSz)
inline

Definition at line 853 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 194 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 1178 of file impedit.hxx.

References mbReplaceLeadingSingleQuotationMark.

◆ SetRotation()

void ImpEditEngine::SetRotation ( TextRotation  nRotation)

◆ setRoundToNearestPt()

void ImpEditEngine::setRoundToNearestPt ( bool  bRound)
inlineprivate

Definition at line 775 of file impedit.hxx.

References mbRoundToNearestPt.

◆ setScale()

void ImpEditEngine::setScale ( double  fFontScaleX,
double  fFontScaleY,
double  fSpacingScaleX,
double  fSpacingScaleY 
)

◆ SetSpeller()

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

Definition at line 1043 of file impedit.hxx.

References xSpeller.

◆ SetStatusEventHdl()

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

Definition at line 993 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 1300 of file impedit.hxx.

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

◆ SetUndoMode()

void ImpEditEngine::SetUndoMode ( bool  b)
inline

Definition at line 910 of file impedit.hxx.

References bIsInUndo.

◆ SetUpdateLayout()

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

Definition at line 4146 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 4433 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 3188 of file impedit3.cxx.

References IsEffectivelyVertical(), Point::setX(), Point::setY(), Point::X(), and Point::Y().

Referenced by Paint().

◆ setYDirectionAwareFrom()

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

Definition at line 3196 of file impedit3.cxx.

References IsEffectivelyVertical(), Point::setX(), Point::setY(), and Point::Y().

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 4127 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 1138 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 1139 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 3049 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 658 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(), SfxBoolItem::GetValue(), SfxEnumItem< typename EnumT >::GetValue(), SfxInt16Item::GetValue(), SvxColorItem::GetValue(), 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::WriteNumberAsString(), and SvStream::WriteOString().

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

Definition at line 273 of file impedit4.cxx.

References EditSelection::Adjust(), aEditDoc, CheckIdleFormatter(), ItemList::Clear(), COL_AUTO(), ItemList::Count(), TextPortionList::Count(), DBG_ASSERT, EE_CHAR_COLOR(), EE_CHAR_END(), EE_CHAR_FONTHEIGHT(), EE_CHAR_FONTINFO(), EE_CHAR_FONTINFO_CJK(), EE_CHAR_FONTINFO_CTL(), EE_CHAR_ITALIC(), EE_CHAR_LANGUAGE(), EE_CHAR_WEIGHT(), EE_FEATURE_FIELD(), EE_PARA_START(), endl(), FAMILY_DECORATIVE, FAMILY_DONTKNOW, FAMILY_MODERN, FAMILY_ROMAN, FAMILY_SCRIPT, FAMILY_SWISS, SfxStyleSheetBasePool::Find(), CharAttribList::FindFeature(), FindParaPortion(), TextPortionList::FindPortion(), FormatDoc(), SvtLanguageOptions::FromI18NToSvtScriptType(), SfxItemSet::Get(), GetAttribs(), ContentNode::GetCharAttribs(), SvxFontItem::GetCharSet(), ContentNode::GetContentAttribs(), SfxItemPool::GetDefaultItem(), EditDoc::GetDefTab(), SvStream::GetError(), SvxFontItem::GetFamily(), SvxFontItem::GetFamilyName(), GetI18NScriptType(), EditPaM::GetIndex(), EditCharAttrib::GetItem(), EditDoc::GetItemPool(), ContentAttribs::GetItems(), SfxStyleSheetBase::GetItemSet(), SfxItemSet::GetItemState(), SfxItemPool::GetItemSurrogates(), TextPortion::GetLen(), EditPaM::GetNode(), EditDoc::GetObject(), EditDoc::GetParaAsString(), SvxFontItem::GetPitch(), EditDoc::GetPos(), GetRefDevice(), GetRefMapMode(), GetScriptItemId(), EditCharAttrib::GetStart(), ContentNode::GetStyleSheet(), GetStyleSheetPool(), ParaPortion::GetTextPortions(), SvxColorItem::GetValue(), ItemList::Insert(), IsFormatted(), IsOpenSymbol(), IsScriptChange(), IsUpdateLayout(), lcl_FindValidAttribs(), ContentNode::Len(), OutputDevice::LogicToLogic(), EditSelection::Max(), EditSelection::Min(), n, nId, nIndex, OOO_STRING_SVTOOLS_RTF_ANSI, OOO_STRING_SVTOOLS_RTF_BLUE, OOO_STRING_SVTOOLS_RTF_COLORTBL, OOO_STRING_SVTOOLS_RTF_DEFTAB, OOO_STRING_SVTOOLS_RTF_F, OOO_STRING_SVTOOLS_RTF_FCHARSET, OOO_STRING_SVTOOLS_RTF_FDECOR, OOO_STRING_SVTOOLS_RTF_FMODERN, OOO_STRING_SVTOOLS_RTF_FNIL, OOO_STRING_SVTOOLS_RTF_FONTTBL, OOO_STRING_SVTOOLS_RTF_FPRQ, OOO_STRING_SVTOOLS_RTF_FROMAN, OOO_STRING_SVTOOLS_RTF_FSCRIPT, OOO_STRING_SVTOOLS_RTF_FSWISS, OOO_STRING_SVTOOLS_RTF_GREEN, OOO_STRING_SVTOOLS_RTF_IGNORE, OOO_STRING_SVTOOLS_RTF_PAR, OOO_STRING_SVTOOLS_RTF_PARD, OOO_STRING_SVTOOLS_RTF_PLAIN, OOO_STRING_SVTOOLS_RTF_RED, OOO_STRING_SVTOOLS_RTF_RTF, OOO_STRING_SVTOOLS_RTF_S, OOO_STRING_SVTOOLS_RTF_SBASEDON, OOO_STRING_SVTOOLS_RTF_SNEXT, OOO_STRING_SVTOOLS_RTF_STYLESHEET, RTFOutFuncs::Out_String(), PITCH_FIXED, PITCH_VARIABLE, SAL_WARN_IF, SfxPoolItem::Which(), SvStream::WriteChar(), WriteItemAsRTF(), WriteItemListAsRTF(), SvStream::WriteNumberAsString(), SvStream::WriteOString(), and Point::X().

Referenced by CreateTransferable(), and Write().

◆ WriteText()

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

◆ WriteXML()

void ImpEditEngine::WriteXML ( SvStream rOutput,
const EditSelection rSel 
)
private

Definition at line 266 of file impedit4.cxx.

References CreateESel(), GetEditEnginePtr(), and SvxWriteXML().

Referenced by CreateTransferable(), and Write().

Friends And Related Function Documentation

◆ EditEngine

friend class EditEngine
friend

Definition at line 488 of file impedit.hxx.

Member Data Documentation

◆ aAutoCompleteText

OUString ImpEditEngine::aAutoCompleteText
private

Definition at line 554 of file impedit.hxx.

Referenced by GetAutoCompleteText(), and SetAutoCompleteText().

◆ aBeginMovingParagraphsHdl

Link<MoveParagraphsInfo&,void> ImpEditEngine::aBeginMovingParagraphsHdl
private

Definition at line 591 of file impedit.hxx.

Referenced by ImpMoveParagraphs().

◆ aBeginPasteOrDropHdl

Link<PasteOrDropInfos&,void> ImpEditEngine::aBeginPasteOrDropHdl
private

Definition at line 593 of file impedit.hxx.

◆ aDeletedNodes

std::vector<std::unique_ptr<DeletedNodeInfo> > ImpEditEngine::aDeletedNodes
private

Definition at line 564 of file impedit.hxx.

Referenced by ImpConnectParagraphs(), ShowParagraph(), and UpdateSelections().

◆ aEditDoc

EditDoc ImpEditEngine::aEditDoc
private

◆ aEditViews

ViewsType ImpEditEngine::aEditViews
private

◆ aEndMovingParagraphsHdl

Link<MoveParagraphsInfo&,void> ImpEditEngine::aEndMovingParagraphsHdl
private

Definition at line 592 of file impedit.hxx.

Referenced by ImpMoveParagraphs().

◆ aEndPasteOrDropHdl

Link<PasteOrDropInfos&,void> ImpEditEngine::aEndPasteOrDropHdl
private

Definition at line 594 of file impedit.hxx.

◆ aHtmlImportHdl

Link<HtmlImportInfo&,void> ImpEditEngine::aHtmlImportHdl
private

Definition at line 589 of file impedit.hxx.

◆ aIdleFormatter

IdleFormattter ImpEditEngine::aIdleFormatter
private

◆ aInvalidRect

tools::Rectangle ImpEditEngine::aInvalidRect
private

◆ aLOKSpecialPaperSize

Size ImpEditEngine::aLOKSpecialPaperSize
private

Definition at line 585 of file impedit.hxx.

Referenced by GetLOKSpecialPaperSize(), and SetLOKSpecialPaperSize().

◆ aMaxAutoPaperSize

Size ImpEditEngine::aMaxAutoPaperSize
private

Definition at line 503 of file impedit.hxx.

Referenced by CreateLines(), FormatDoc(), GetMaxAutoPaperSize(), and SetMaxAutoPaperSize().

◆ aMinAutoPaperSize

Size ImpEditEngine::aMinAutoPaperSize
private

Definition at line 502 of file impedit.hxx.

Referenced by FormatDoc(), GetMinAutoPaperSize(), and SetMinAutoPaperSize().

◆ aModifyHdl

Link<LinkParamNone*,void> ImpEditEngine::aModifyHdl
private

Definition at line 595 of file impedit.hxx.

Referenced by SetModifyHdl().

◆ aNotifyHdl

Link<EENotify&,void> ImpEditEngine::aNotifyHdl
private

Definition at line 588 of file impedit.hxx.

Referenced by GetNotifyHdl(), and SetNotifyHdl().

◆ aOnlineSpellTimer

Timer ImpEditEngine::aOnlineSpellTimer
private

◆ aPaperSize

Size ImpEditEngine::aPaperSize
private

◆ aParaPortionList

ParaPortionList ImpEditEngine::aParaPortionList
private

Definition at line 500 of file impedit.hxx.

Referenced by GetParaPortions().

◆ aRtfImportHdl

Link<RtfImportInfo&,void> ImpEditEngine::aRtfImportHdl
private

Definition at line 590 of file impedit.hxx.

◆ aSelEngine

EditSelectionEngine ImpEditEngine::aSelEngine
private

Definition at line 531 of file impedit.hxx.

Referenced by GetSelEngine(), ImpEditEngine(), MouseButtonDown(), and MoveCursor().

◆ aSelFuncSet

EditSelFunctionSet ImpEditEngine::aSelFuncSet
private

Definition at line 530 of file impedit.hxx.

Referenced by ImpEditEngine().

◆ aStatus

InternalEditStatus ImpEditEngine::aStatus
private

◆ aStatusHdlLink

Link<EditStatus&,void> ImpEditEngine::aStatusHdlLink
private

Definition at line 587 of file impedit.hxx.

Referenced by CallStatusHdl(), GetStatusEventHdl(), and SetStatusEventHdl().

◆ aStatusTimer

Timer ImpEditEngine::aStatusTimer
private

Definition at line 584 of file impedit.hxx.

Referenced by CallStatusHdl(), DelayedCallStatusHdl(), ImpEditEngine(), and ~ImpEditEngine().

◆ aWordDelimiters

OUString ImpEditEngine::aWordDelimiters
private

Definition at line 528 of file impedit.hxx.

◆ bAddExtLeading

bool ImpEditEngine::bAddExtLeading
private

Definition at line 600 of file impedit.hxx.

Referenced by IsAddExtLeading(), and SetAddExtLeading().

◆ bCallParaInsertedOrDeleted

bool ImpEditEngine::bCallParaInsertedOrDeleted
private

◆ bDowning

bool ImpEditEngine::bDowning
private

Definition at line 607 of file impedit.hxx.

Referenced by FormatAndLayout(), Notify(), and ~ImpEditEngine().

◆ bFirstWordCapitalization

bool ImpEditEngine::bFirstWordCapitalization
private

Definition at line 611 of file impedit.hxx.

Referenced by IsFirstWordCapitalization(), and SetFirstWordCapitalization().

◆ bForceAutoColor

bool ImpEditEngine::bForceAutoColor
private

Definition at line 609 of file impedit.hxx.

Referenced by ForceAutoColor(), and IsForceAutoColor().

◆ bFormatted

bool ImpEditEngine::bFormatted
private

Definition at line 602 of file impedit.hxx.

Referenced by FormatDoc(), InitDoc(), IsFormatted(), ParaAttribsChanged(), and TextModified().

◆ bInSelection

bool ImpEditEngine::bInSelection
private

Definition at line 603 of file impedit.hxx.

Referenced by IsInSelectionMode(), and MouseButtonUp().

◆ bIsFormatting

bool ImpEditEngine::bIsFormatting
private

Definition at line 601 of file impedit.hxx.

Referenced by FormatDoc(), and IsFormatting().

◆ bIsInUndo

bool ImpEditEngine::bIsInUndo
private

Definition at line 604 of file impedit.hxx.

Referenced by IsInUndo(), and SetUndoMode().

◆ bKernAsianPunctuation

bool ImpEditEngine::bKernAsianPunctuation
private

Definition at line 599 of file impedit.hxx.

Referenced by IsKernAsianPunctuation(), and SetKernAsianPunctuation().

◆ bUndoEnabled

bool ImpEditEngine::bUndoEnabled
private

Definition at line 606 of file impedit.hxx.

Referenced by IsUndoEnabled().

◆ bUpdateLayout

bool ImpEditEngine::bUpdateLayout
private

Definition at line 605 of file impedit.hxx.

Referenced by IsUpdateLayout(), and SetUpdateLayout().

◆ bUseAutoColor

bool ImpEditEngine::bUseAutoColor
private

Definition at line 608 of file impedit.hxx.

Referenced by EnableAutoColor(), and IsAutoColorEnabled().

◆ eDefaultHorizontalTextDirection

EEHorizontalTextDirection ImpEditEngine::eDefaultHorizontalTextDirection
private

◆ eDefLanguage

LanguageType ImpEditEngine::eDefLanguage
private

Definition at line 558 of file impedit.hxx.

Referenced by GetDefaultLanguage(), and SetDefaultLanguage().

◆ maBackgroundColor

Color ImpEditEngine::maBackgroundColor
private

Definition at line 533 of file impedit.hxx.

Referenced by GetBackgroundColor(), and SetBackgroundColor().

◆ maBeginDropHdl

Link<EditView*,void> ImpEditEngine::maBeginDropHdl
private

Definition at line 596 of file impedit.hxx.

Referenced by GetBeginDropHdl(), and SetBeginDropHdl().

◆ maColorConfig

svtools::ColorConfig ImpEditEngine::maColorConfig
private

Definition at line 520 of file impedit.hxx.

Referenced by GetColorConfig().

◆ maEndDropHdl

Link<EditView*,void> ImpEditEngine::maEndDropHdl
private

Definition at line 597 of file impedit.hxx.

Referenced by GetEndDropHdl(), and SetEndDropHdl().

◆ mbFuzzing

bool ImpEditEngine::mbFuzzing
private

Definition at line 615 of file impedit.hxx.

Referenced by InitWritingDirections().

◆ mbLastTryMerge

bool ImpEditEngine::mbLastTryMerge
private

Definition at line 612 of file impedit.hxx.

◆ mbNbspRunNext

bool ImpEditEngine::mbNbspRunNext
private

Definition at line 617 of file impedit.hxx.

Referenced by IsNbspRunNext().

◆ mbNeedsChainingHandling

bool ImpEditEngine::mbNeedsChainingHandling = false
private

Definition at line 577 of file impedit.hxx.

Referenced by CheckPageOverflow(), and IsPageOverflow().

◆ mbReplaceLeadingSingleQuotationMark

bool ImpEditEngine::mbReplaceLeadingSingleQuotationMark
private

◆ mbRoundToNearestPt

bool ImpEditEngine::mbRoundToNearestPt
private

Definition at line 539 of file impedit.hxx.

Referenced by roundToNearestPt(), and setRoundToNearestPt().

◆ mbSkipOutsideFormat

bool ImpEditEngine::mbSkipOutsideFormat
private

Definition at line 614 of file impedit.hxx.

Referenced by CreateLines(), and EnableSkipOutsideFormat().

◆ mfFontScaleX

double ImpEditEngine::mfFontScaleX
private

◆ mfFontScaleY

double ImpEditEngine::mfFontScaleY
private

◆ mfSpacingScaleX

double ImpEditEngine::mfSpacingScaleX
private

◆ mfSpacingScaleY

double ImpEditEngine::mfSpacingScaleY
private

◆ mnColumns

sal_Int16 ImpEditEngine::mnColumns = 1
private

◆ mnColumnSpacing

sal_Int32 ImpEditEngine::mnColumnSpacing = 0
private

Definition at line 580 of file impedit.hxx.

Referenced by GetColumnWidth(), GetPortionAndLine(), MoveToNextLine(), and SetTextColumns().

◆ mnMinColumnWrapHeight

tools::Long ImpEditEngine::mnMinColumnWrapHeight = 0
private

Definition at line 504 of file impedit.hxx.

Referenced by CalcTextHeight(), and SetMinColumnWrapHeight().

◆ mnOverflowingLine

sal_Int32 ImpEditEngine::mnOverflowingLine = -1
private

Definition at line 576 of file impedit.hxx.

Referenced by GetOverflowingLineNum(), and ImplUpdateOverflowingLineNum().

◆ mnOverflowingPara

sal_Int32 ImpEditEngine::mnOverflowingPara = -1
private

◆ moUndoMarkSelection

std::optional<ESelection> ImpEditEngine::moUndoMarkSelection
private

Definition at line 524 of file impedit.hxx.

◆ mpIMEInfos

std::unique_ptr<ImplIMEInfos> ImpEditEngine::mpIMEInfos
private

◆ mpOwnDev

VclPtr<VirtualDevice> ImpEditEngine::mpOwnDev
private

Definition at line 518 of file impedit.hxx.

Referenced by Dispose(), and SetRefMapMode().

◆ nAsianCompressionMode

CharCompressType ImpEditEngine::nAsianCompressionMode
private

Definition at line 541 of file impedit.hxx.

Referenced by GetAsianCompressionMode(), and SetAsianCompressionMode().

◆ nBigTextObjectStart

sal_Int32 ImpEditEngine::nBigTextObjectStart
private

Definition at line 545 of file impedit.hxx.

Referenced by CreateTextObject(), and GetBigTextObjectStart().

◆ nCurTextHeight

tools::Long ImpEditEngine::nCurTextHeight
private

◆ nCurTextHeightNTP

tools::Long ImpEditEngine::nCurTextHeightNTP
private

Definition at line 567 of file impedit.hxx.

Referenced by Clear(), FormatDoc(), GetTextHeightNTP(), and SetText().

◆ nOnePixelInRef

sal_uInt16 ImpEditEngine::nOnePixelInRef
private

Definition at line 568 of file impedit.hxx.

Referenced by CursorDown(), CursorUp(), PageDown(), PageUp(), SetRefDevice(), and SetRefMapMode().

◆ pActiveView

EditView* ImpEditEngine::pActiveView
private

◆ pConvInfo

std::unique_ptr<ConvInfo> ImpEditEngine::pConvInfo
private

Definition at line 552 of file impedit.hxx.

Referenced by Convert(), GetConvInfo(), and ImpConvert().

◆ pEditEngine

EditEngine* ImpEditEngine::pEditEngine
private

◆ pEmptyItemSet

std::unique_ptr<SfxItemSet> ImpEditEngine::pEmptyItemSet
mutableprivate

Definition at line 522 of file impedit.hxx.

Referenced by GetEmptyItemSet().

◆ pRefDev

VclPtr< OutputDevice > ImpEditEngine::pRefDev
private

◆ pSharedVCL

std::shared_ptr<editeng::SharedVclResources> ImpEditEngine::pSharedVCL
private

Definition at line 493 of file impedit.hxx.

Referenced by Dispose(), and SetRefDevice().

◆ pSpellInfo

std::unique_ptr<SpellInfo> ImpEditEngine::pSpellInfo
private

◆ pStylePool

SfxStyleSheetPool* ImpEditEngine::pStylePool
private

Definition at line 513 of file impedit.hxx.

Referenced by GetStyleSheetPool(), and SetStyleSheetPool().

◆ pTextObjectPool

SfxItemPool* ImpEditEngine::pTextObjectPool
private

Definition at line 514 of file impedit.hxx.

Referenced by GetEditTextObjectPool(), and SetEditTextObjectPool().

◆ pTextRanger

std::unique_ptr<TextRanger> ImpEditEngine::pTextRanger
private

Definition at line 511 of file impedit.hxx.

Referenced by GetTextRanger(), SetTextRanger(), and ~ImpEditEngine().

◆ pUndoManager

EditUndoManager* ImpEditEngine::pUndoManager
private

Definition at line 523 of file impedit.hxx.

Referenced by GetUndoManager(), HasUndoManager(), SetUndoManager(), and ~ImpEditEngine().

◆ pVirtDev

VclPtr< VirtualDevice> ImpEditEngine::pVirtDev
private

Definition at line 516 of file impedit.hxx.

Referenced by Dispose(), EraseVirtualDevice(), and GetVirtualDevice().

◆ xBI

css::uno::Reference< css::i18n::XBreakIterator > ImpEditEngine::xBI
mutableprivate

Definition at line 549 of file impedit.hxx.

Referenced by ImplGetBreakIterator().

◆ xHyphenator

css::uno::Reference< css::linguistic2::XHyphenator > ImpEditEngine::xHyphenator
private

Definition at line 547 of file impedit.hxx.

Referenced by GetHyphenator(), ImpBreakLine(), and SetHyphenator().

◆ xISC

css::uno::Reference< css::i18n::XExtendedInputSequenceChecker > ImpEditEngine::xISC
mutableprivate

Definition at line 550 of file impedit.hxx.

Referenced by ImplGetInputSequenceChecker().

◆ xLocaleDataWrapper

OnDemandLocaleDataWrapper ImpEditEngine::xLocaleDataWrapper
private

Definition at line 560 of file impedit.hxx.

◆ xSpeller

css::uno::Reference< css::linguistic2::XSpellChecker1 > ImpEditEngine::xSpeller
private

◆ xTransliterationWrapper

OnDemandTransliterationWrapper ImpEditEngine::xTransliterationWrapper
private

Definition at line 561 of file impedit.hxx.


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