LibreOffice Module editeng (master) 1
|
#include <impedit.hxx>
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 | |
ImpEditEngine & | operator= (const ImpEditEngine &)=delete |
EditUndoManager & | GetUndoManager () |
SfxUndoManager * | SetUndoManager (SfxUndoManager *pNew) |
bool | SetUpdateLayout (bool bUpdate, EditView *pCurView=nullptr, bool bForceUpdate=false) |
bool | IsUpdateLayout () const |
ViewsType & | GetEditViews () |
const ViewsType & | GetEditViews () const |
const Size & | GetPaperSize () 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) |
TextRanger * | GetTextRanger () const |
const Size & | GetMinAutoPaperSize () const |
void | SetMinAutoPaperSize (const Size &rSz) |
const Size & | GetMaxAutoPaperSize () 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) |
EditSelectionEngine & | GetSelEngine () |
OUString | GetSelected (const EditSelection &rSel) const |
const SfxItemSet & | GetEmptyItemSet () 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< EditTextObject > | CreateTextObject () |
std::unique_ptr< EditTextObject > | CreateTextObject (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 SfxItemSet & | GetParaAttribs (sal_Int32 nPara) const |
bool | HasParaAttrib (sal_Int32 nPara, sal_uInt16 nWhich) const |
const SfxPoolItem & | GetParaAttrib (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< EditSelection > | SelectParagraph (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::ColorConfig & | GetColorConfig () 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) |
SfxStyleSheetPool * | GetStyleSheetPool () const |
void | SetStyleSheet (EditSelection aSel, SfxStyleSheet *pStyle) |
void | SetStyleSheet (sal_Int32 nPara, SfxStyleSheet *pStyle) |
const SfxStyleSheet * | GetStyleSheet (sal_Int32 nPara) const |
SfxStyleSheet * | GetStyleSheet (sal_Int32 nPara) |
void | UpdateParagraphsWithStyleSheet (SfxStyleSheet *pStyle) |
void | RemoveStyleFromParagraphs (SfxStyleSheet const *pStyle) |
bool | isUsedByModel () const override |
OutputDevice * | GetRefDevice () const |
void | SetRefDevice (OutputDevice *pRefDef) |
const MapMode & | GetRefMapMode () const |
void | SetRefMapMode (const MapMode &rMapMode) |
InternalEditStatus & | GetStatus () |
void | CallStatusHdl () |
void | DelayedCallStatusHdl () |
void | UndoActionStart (sal_uInt16 nId) |
void | UndoActionStart (sal_uInt16 nId, const ESelection &rSel) |
void | UndoActionEnd () |
EditView * | GetActiveView () 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) |
SpellInfo * | GetSpellInfo () 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) |
ConvInfo * | GetConvInfo () 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) |
SfxItemPool * | GetEditTextObjectPool () const |
const SvxNumberFormat * | GetNumberFormat (const ContentNode *pNode) const |
sal_Int32 | GetSpaceBeforeAndMinLabelWidth (const ContentNode *pNode, sal_Int32 *pnSpaceBefore=nullptr, sal_Int32 *pnMinLabelWidth=nullptr) const |
const SvxLRSpaceItem & | GetLRSpaceItem (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 |
EditEngine * | GetEditEnginePtr () 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 Size & | GetLOKSpecialPaperSize () 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 |
SfxBroadcaster * | GetBroadcasterJOE (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< EditUndoSetAttribs > | CreateAttribUndo (EditSelection aSel, const SfxItemSet &rSet) |
std::unique_ptr< EditTextObject > | GetEmptyTextObject () |
std::tuple< const ParaPortion *, const EditLine *, tools::Long > | GetPortionAndLine (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< EditTextObject > | CreateTextObject (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 |
ContentNode * | GetPrevVisNode (ContentNode const *pCurNode) |
ContentNode * | GetNextVisNode (ContentNode const *pCurNode) |
const ParaPortion * | GetPrevVisPortion (const ParaPortion *pCurPortion) const |
const ParaPortion * | GetNextVisPortion (const ParaPortion *pCurPortion) const |
void | SetBackgroundColor (const Color &rColor) |
const Color & | GetBackgroundColor () const |
tools::Long | CalcVertLineSpacing (Point &rStartPos) const |
Color | GetAutoColor () const |
void | EnableAutoColor (bool b) |
bool | IsAutoColorEnabled () const |
void | ForceAutoColor (bool b) |
bool | IsForceAutoColor () const |
VirtualDevice * | GetVirtualDevice (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 ParaPortion * | FindParaPortion (const ContentNode *pNode) const |
ParaPortion * | FindParaPortion (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) |
EditDoc & | GetEditDoc () |
const EditDoc & | GetEditDoc () const |
const ParaPortionList & | GetParaPortions () const |
ParaPortionList & | GetParaPortions () |
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) |
Friends | |
class | EditEngine |
Definition at line 486 of file impedit.hxx.
using ImpEditEngine::IterateLinesAreasFunc = std::function<CallbackResult(const LineAreaInfo&)> |
Definition at line 1207 of file impedit.hxx.
|
private |
Definition at line 490 of file impedit.hxx.
|
strong |
Enumerator | |
---|---|
Continue | |
SkipThisPortion | |
Stop |
Definition at line 1190 of file impedit.hxx.
Enumerator | |
---|---|
none | |
inclILS |
Definition at line 1208 of file impedit.hxx.
|
private |
Definition at line 89 of file impedit2.cxx.
References aEditDoc, aIdleFormatter, ALLOWBIGOBJS, aOnlineSpellTimer, aSelEngine, aSelFuncSet, aStatus, aStatusTimer, bCallParaInsertedOrDeleted, COL_AUTO(), Default, DocModified, DOIDLEFORMAT, FORMAT100, Get(), EditStatus::GetControlWord(), InitDoc(), LANGUAGE_DONTKNOW, LINK, maBackgroundColor, NONE, PASTESPECIAL, RTFSTYLESHEETS, SelectionEngine::SetFunctionSet(), Timer::SetInvokeHandler(), EditDoc::SetModifyHdl(), Task::SetPriority(), SetRefDevice(), Timer::SetTimeout(), SfxGetpApp(), SfxListener::StartListening(), UNDOATTRIBS, and USECHARATTRIBS.
|
overridevirtual |
Definition at line 171 of file impedit2.cxx.
References aIdleFormatter, aOnlineSpellTimer, aStatusTimer, bDowning, Dispose(), mpIMEInfos, pSpellInfo, pTextRanger, pUndoManager, SetUpdateLayout(), and Task::Stop().
|
delete |
void ImpEditEngine::AddPortion | ( | const EditSelection & | rSel, |
const css::uno::Reference< css::linguistic2::XSpellAlternatives > & | xAlt, | ||
svx::SpellPortions & | rToFill, | ||
bool | bIsField | ||
) |
Definition at line 1982 of file impedit4.cxx.
References svx::SpellPortion::bIsField, svx::SpellPortion::eLanguage, GetLanguage(), GetSelected(), EditSelection::HasRange(), EditSelection::Min(), editeng::LanguageSpan::nLang, pSpellInfo, svx::SpellPortion::sText, and svx::SpellPortion::xAlternatives.
Referenced by AddPortionIterated().
void ImpEditEngine::AddPortionIterated | ( | EditView const & | rEditView, |
const EditSelection & | rSel, | ||
const css::uno::Reference< css::linguistic2::XSpellAlternatives > & | xAlt, | ||
svx::SpellPortions & | rToFill | ||
) |
Definition at line 2004 of file impedit4.cxx.
References AddPortion(), CursorRight(), EE_FEATURE_FIELD(), ContentNode::GetCharAttribs(), EditCharAttrib::GetEnd(), EditPaM::GetIndex(), GetLanguage(), EditPaM::GetNode(), EditCharAttrib::GetStart(), EditSelection::HasRange(), EditSelection::Max(), EditSelection::Min(), editeng::LanguageSpan::nLang, EditView::pImpEditView, and EditCharAttrib::Which().
Referenced by SpellSentence().
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().
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().
void ImpEditEngine::ApplyChangedSentence | ( | EditView const & | rEditView, |
const svx::SpellPortions & | rNewPortions, | ||
bool | bRecheck | ||
) |
Definition at line 2072 of file impedit4.cxx.
References aEditDoc, DBG_ASSERT, EDITUNDO_INSERT, EE_CHAR_LANGUAGE(), EE_CHAR_LANGUAGE_CJK(), EE_CHAR_LANGUAGE_CTL(), FormatAndLayout(), EditPaM::GetIndex(), EditDoc::GetItemPool(), GetLanguage(), EditPaM::GetNode(), SvtLanguageOptions::GetScriptTypeOfLanguage(), ImpDeleteSelection(), ImpInsertText(), IsUpdateLayout(), ContentNode::Len(), EditSelection::Max(), EditSelection::Min(), editeng::LanguageSpan::nLang, EditView::pImpEditView, pSpellInfo, SfxItemSet::Put(), SetAttribs(), EditDoc::SetModified(), UndoActionEnd(), and UndoActionStart().
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().
|
private |
Definition at line 3500 of file impedit2.cxx.
References Continue, getBottomDocOffset(), IterateLineAreas(), and nCurTextHeight.
Referenced by CalcTextHeight().
|
private |
Definition at line 4332 of file impedit2.cxx.
Referenced by FinishCreateLines(), ImpMoveParagraphs(), ParaAttribsChanged(), and ShowParagraph().
sal_uInt32 ImpEditEngine::CalcLineWidth | ( | ParaPortion * | pPortion, |
EditLine * | pLine, | ||
bool | bIgnoreExtraSpace | ||
) |
Definition at line 3439 of file impedit2.cxx.
References Block, FIELD, ContentNode::GetCharAttribs(), CharAttribList::GetDefFont(), GetEditDoc(), GetJustification(), TextPortion::GetKind(), vcl::Font::GetLanguage(), TextPortion::GetLen(), ParaPortion::GetNode(), EditDoc::GetPos(), GetRefDevice(), TextPortion::GetSize(), EditLine::GetStart(), EditLine::GetStartPortion(), ContentNode::GetString(), ParaPortion::GetTextPortions(), HYPHENATOR, ImplInitDigitMode(), ImplInitLayoutMode(), LINEBREAK, nPos, OutputDevice::Pop(), OutputDevice::Push(), SvxFont::QuickGetTextSize(), SeekCursor(), SvxFont::SetPhysFont(), TAB, TEXT, vcl::TEXTLANGUAGE, vcl::TEXTLAYOUTMODE, and Size::Width().
Referenced by CalcParaWidth().
sal_uInt32 ImpEditEngine::CalcParaWidth | ( | sal_Int32 | nParagraph, |
bool | bIgnoreExtraSpace | ||
) |
Definition at line 3384 of file impedit2.cxx.
References CalcLineWidth(), Count, EditLineList::Count(), FormatDoc(), ParaPortion::GetBulletX(), ParaPortion::GetLines(), GetLRSpaceItem(), ParaPortion::GetNode(), GetParaPortions(), SvxLRSpaceItem::GetRight(), GetSpaceBeforeAndMinLabelWidth(), SvxLRSpaceItem::GetTextFirstLineOffset(), SvxLRSpaceItem::GetTextLeft(), IsFormatted(), IsFormatting(), ParaPortion::IsVisible(), and scaleXSpacingValue().
Referenced by CalcTextWidth().
tools::Long ImpEditEngine::CalcTextHeight | ( | tools::Long * | pHeightNTP | ) |
Definition at line 3523 of file impedit2.cxx.
References Calc1ColumnTextHeight(), Continue, getBottomDocOffset(), IsUpdateLayout(), IterateLineAreas(), mnColumns, mnMinColumnWrapHeight, and nCurTextHeight.
Referenced by CheckPageOverflow(), and FormatDoc().
sal_uInt32 ImpEditEngine::CalcTextWidth | ( | bool | bIgnoreExtraSpace | ) |
Definition at line 3364 of file impedit2.cxx.
References CalcParaWidth(), ParaPortionList::Count(), FormatDoc(), GetParaPortions(), IsFormatted(), and IsFormatting().
Referenced by CheckAutoPageSize().
|
private |
Definition at line 4333 of file impedit3.cxx.
References adjustYDirectionAware(), aPaperSize, Block, EditLineList::Count(), ParaPortionList::Count(), EE_PARA_SBL(), EE_PARA_ULSPACE(), Fix, ContentNode::GetContentAttribs(), ParaPortion::GetFirstLineOffset(), EditLine::GetHeight(), getHeightDirectionAware(), SvxLineSpacingItem::GetInterLineSpace(), SvxLineSpacingItem::GetInterLineSpaceRule(), ContentAttribs::GetItem(), ParaPortion::GetLines(), SvxULSpaceItem::GetLower(), ParaPortion::GetNode(), GetParaPortions(), GetVerJustification(), i, IsEffectivelyVertical(), and scaleYSpacingValue().
Referenced by Paint().
void ImpEditEngine::CallStatusHdl | ( | ) |
Definition at line 4278 of file impedit3.cxx.
References aStatus, aStatusHdlLink, aStatusTimer, Link< typename Arg, typename Ret >::Call(), EditStatus::Clear(), EditStatus::GetStatusWord(), Link< typename Arg, typename Ret >::IsSet(), and Task::Stop().
Referenced by DoOnlineSpelling(), FormatDoc(), and UpdateViews().
|
private |
Definition at line 541 of file impedit3.cxx.
References aEditViews, aInvalidRect, aPaperSize, aStatus, CalcTextWidth(), ParaPortionList::Count(), CreateLines(), GetJustification(), GetPaperSize(), GetParaPortions(), GetStatus(), EditStatus::GetStatusWord(), GetTextHeight(), Size::Height(), IsEffectivelyVertical(), Left, ParaPortion::MarkSelectionInvalid(), Size::setHeight(), SetValidPaperSize(), Size::setWidth(), TextHeightChanged, TEXTWIDTHCHANGED, and Size::Width().
Referenced by FormatDoc().
|
private |
Definition at line 379 of file impedit3.cxx.
References aIdleFormatter, IdleFormattter::ForceTimeout(), FormatDoc(), and IsFormatted().
Referenced by MoveCursor(), and WriteRTF().
|
private |
Definition at line 594 of file impedit3.cxx.
References aStatus, AUTOPAGESIZE, CalcTextHeight(), ParaPortionList::Count(), EditStatus::GetControlWord(), GetLineCount(), GetLineLen(), GetMaxAutoPaperSize(), GetParaPortions(), Size::Height(), ImplUpdateOverflowingParaNum(), mbNeedsChainingHandling, and SAL_INFO.
|
private |
Definition at line 668 of file impedit2.cxx.
References aEditDoc, aEditViews, EditDoc::GetStartPaM(), InitDoc(), mpIMEInfos, nCurTextHeight, nCurTextHeightNTP, EditView::pImpEditView, and ResetUndoManager().
|
inline |
Definition at line 1155 of file impedit.hxx.
References mnOverflowingPara.
void ImpEditEngine::ClearSpellErrors | ( | ) |
Definition at line 2436 of file impedit4.cxx.
References aEditDoc, and EditDoc::ClearSpellErrors().
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().
|
private |
Definition at line 4137 of file impedit3.cxx.
References aEditDoc, DBG_ASSERT, EditDoc::GetObject(), and ImpConnectParagraphs().
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().
|
staticprivate |
Definition at line 4562 of file impedit3.cxx.
References aBuf, and GetLocalizedChar().
Referenced by Paint().
EditSelection ImpEditEngine::ConvertSelection | ( | sal_Int32 | nStartPara, |
sal_Int32 | nStartPos, | ||
sal_Int32 | nEndPara, | ||
sal_Int32 | nEndPos | ||
) |
Definition at line 3769 of file impedit2.cxx.
References aEditDoc, aNewSelection, EditDoc::Count(), EditDoc::GetObject(), ContentNode::Len(), and nIndex.
|
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().
|
private |
Definition at line 178 of file impedit5.cxx.
References EditSelection::Adjust(), aEditDoc, CreateAttribUndo(), CreateESel(), DBG_ASSERT, EditSelection::DbgIsBuggy(), End, EditPaM::GetNode(), EditDoc::GetPos(), EditSelection::Max(), and EditSelection::Min().
Referenced by CreateAttribUndo(), and ImpRemoveChars().
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().
Definition at line 1233 of file impedit.hxx.
References aEditDoc, EditPaM::GetIndex(), EditPaM::GetNode(), and EditDoc::GetPos().
Referenced by EditSpellWrapper::CheckSpellTo(), Convert(), TextConvWrapper::ConvStart_impl(), ImpConvert(), ImpFindNextError(), ImpRemoveChars(), ImpSpell(), Spell(), and EditSpellWrapper::SpellStart().
|
inline |
Definition at line 1246 of file impedit.hxx.
References aEditDoc, EditPaM::GetIndex(), EditPaM::GetNode(), EditDoc::GetPos(), EditSelection::Max(), EditSelection::Min(), ESelection::nEndPara, ESelection::nEndPos, ESelection::nStartPara, and ESelection::nStartPos.
Referenced by Command(), CreateAttribUndo(), ReadXML(), TransliterateText(), and WriteXML().
|
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().
|
inline |
Definition at line 1258 of file impedit.hxx.
References aEditDoc, EditDoc::Count(), DBG_ASSERT, EditSelection::DbgIsBuggy(), EditSelection::Max(), EditSelection::Min(), ESelection::nEndPara, ESelection::nEndPos, ESelection::nStartPara, ESelection::nStartPos, EditPaM::SetIndex(), and EditPaM::SetNode().
Referenced by TextConvWrapper::ReplaceUnit().
|
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().
std::unique_ptr< EditTextObject > ImpEditEngine::CreateTextObject | ( | ) |
Definition at line 980 of file impedit4.cxx.
References aEditDoc, CreateTextObject(), EditDoc::GetEndPaM(), EditDoc::GetStartPaM(), EditSelection::Max(), and EditSelection::Min().
Referenced by CreateTextObject(), GetEmptyTextObject(), and TransliterateText().
std::unique_ptr< EditTextObject > ImpEditEngine::CreateTextObject | ( | const EditSelection & | rSel | ) |
Definition at line 989 of file impedit4.cxx.
References InternalEditStatus::AllowBigObjects(), aStatus, CreateTextObject(), GetEditTextObjectPool(), and nBigTextObjectStart.
|
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().
|
private |
Definition at line 2570 of file impedit3.cxx.
References TextPortionList::Append(), ParaPortion::aScriptInfos, ParaPortion::aWritingDirectionInfos, Count, TextPortionList::Count(), DBG_ASSERT, ParaPortion::DbgCheckTextPortions(), TextPortionList::DeleteFromPortion(), o3tl::sorted_vector< typename Value, typename Compare, template< typename, typename > class Find, bool >::end(), o3tl::sorted_vector< typename Value, typename Compare, template< typename, typename > class Find, bool >::find(), GetAttrib(), CharAttribList::GetAttribs(), ContentNode::GetCharAttribs(), EditCharAttrib::GetEnd(), TextPortion::GetLen(), ParaPortion::GetNode(), GetParaPortions(), EditCharAttrib::GetStart(), ParaPortion::GetTextPortions(), i, InitScriptTypes(), o3tl::sorted_vector< typename Value, typename Compare, template< typename, typename > class Find, bool >::insert(), ContentNode::Len(), mpIMEInfos, and n.
Referenced by CreateLines().
|
private |
Definition at line 3835 of file impedit2.cxx.
References EditSelection::Adjust(), convertLineEnd(), EE_FEATURE_FIELD(), ContentNode::GetCharAttribs(), GetEditDoc(), SvxFieldItem::GetField(), EditPaM::GetIndex(), EditCharAttrib::GetItem(), EditPaM::GetNode(), GetSelected(), EditCharAttrib::GetStart(), GetSystemLineEnd(), EditSelection::Max(), EditSelection::Min(), EditCharAttrib::Which(), WriteRTF(), and WriteXML().
|
private |
Obtains a view shell ID from the active EditView.
Definition at line 224 of file impedit5.cxx.
Definition at line 1314 of file impedit2.cxx.
References Count, EditLineList::Count(), CursorLeft(), FindParaPortion(), GetChar(), EditLine::GetEnd(), EditPaM::GetIndex(), ParaPortion::GetLineNumber(), ParaPortion::GetLines(), GetNextVisPortion(), EditPaM::GetNode(), ParaPortion::GetNode(), EditLine::GetStart(), GetXPos(), ContentNode::Len(), nOnePixelInRef, EditView::pImpEditView, EditPaM::SetIndex(), EditPaM::SetNode(), and TRAVEL_X_DONTKNOW.
Referenced by CursorVisualLeftRight(), and MoveCursor().
|
private |
Definition at line 1420 of file impedit2.cxx.
References aEditDoc, EditDoc::Count(), ParaPortion::GetNode(), EditDoc::GetObject(), GetParaPortions(), GetPrevVisNode(), ParaPortion::IsVisible(), ContentNode::Len(), and ParaPortionList::SafeGetObject().
Referenced by MoveCursor().
Definition at line 1371 of file impedit2.cxx.
References CursorLeft(), EE_FEATURE_LINEBR(), CharAttribList::FindFeature(), FindParaPortion(), ContentNode::GetChar(), ContentNode::GetCharAttribs(), EditLine::GetEnd(), EditPaM::GetIndex(), EditCharAttrib::GetItem(), ParaPortion::GetLineNumber(), ParaPortion::GetLines(), EditPaM::GetNode(), EditLine::GetStart(), ContentNode::IsFeature(), ContentNode::Len(), EditPaM::SetIndex(), and SfxPoolItem::Which().
Referenced by MoveCursor().
Definition at line 1407 of file impedit2.cxx.
References EditPaM::GetNode(), ContentNode::Len(), and EditPaM::SetIndex().
Referenced by MoveCursor().
|
private |
Definition at line 1216 of file impedit2.cxx.
References EditPaM::GetIndex(), GetLocale(), EditPaM::GetNode(), GetPrevVisNode(), ContentNode::GetString(), ImplGetBreakIterator(), ContentNode::Len(), nCount, EditPaM::SetIndex(), and EditPaM::SetNode().
Referenced by CursorDown(), CursorEndOfLine(), CursorUp(), CursorVisualLeftRight(), DeleteLeftOrRight(), GetPaM(), and MoveCursor().
|
private |
Definition at line 759 of file impedit2.cxx.
References aEditDoc, ContentNode::GetCharAttribs(), GetCharAttribs(), EditDoc::GetItemPool(), CharAttribList::HasEmptyAttribs(), and ContentNode::Len().
Referenced by ImpDeleteSelection(), and MoveCursor().
|
private |
Definition at line 1243 of file impedit2.cxx.
References EditPaM::GetIndex(), GetLocale(), GetNextVisNode(), EditPaM::GetNode(), ContentNode::GetString(), ImplGetBreakIterator(), ContentNode::Len(), nCount, EditPaM::SetIndex(), and EditPaM::SetNode().
Referenced by AddPortionIterated(), CursorVisualLeftRight(), DeleteLeftOrRight(), and MoveCursor().
|
private |
Definition at line 1414 of file impedit2.cxx.
References aEditDoc, and EditDoc::GetObject().
Referenced by MoveCursor().
Definition at line 1359 of file impedit2.cxx.
References FindParaPortion(), EditPaM::GetIndex(), ParaPortion::GetLineNumber(), ParaPortion::GetLines(), EditPaM::GetNode(), EditLine::GetStart(), and EditPaM::SetIndex().
Referenced by MoveCursor().
Definition at line 1400 of file impedit2.cxx.
References EditPaM::SetIndex().
Referenced by MoveCursor().
Definition at line 1270 of file impedit2.cxx.
References EditLineList::Count(), CursorLeft(), FindParaPortion(), GetChar(), EditPaM::GetIndex(), ParaPortion::GetLineNumber(), ParaPortion::GetLines(), EditPaM::GetNode(), ParaPortion::GetNode(), GetPrevVisPortion(), EditLine::GetStart(), GetXPos(), nOnePixelInRef, EditView::pImpEditView, EditPaM::SetIndex(), EditPaM::SetNode(), and TRAVEL_X_DONTKNOW.
Referenced by CursorVisualLeftRight(), and MoveCursor().
|
private |
Definition at line 1039 of file impedit2.cxx.
References CursorDown(), CursorLeft(), CursorRight(), CursorUp(), CursorVisualStartEnd(), EditLineList::FindLine(), TextPortionList::FindPortion(), GetEditDoc(), EditLine::GetEnd(), EditPaM::GetIndex(), TextPortion::GetLen(), ParaPortion::GetLines(), EditPaM::GetNode(), GetParaPortions(), EditDoc::GetPos(), TextPortion::GetRightToLeftLevel(), EditLine::GetStart(), ContentNode::GetString(), ParaPortion::GetTextPortions(), EditView::IsInsertMode(), TextPortion::IsRightToLeft(), IsRightToLeft(), ContentNode::Len(), NONE, EditView::pImpEditView, ParaPortionList::SafeGetObject(), and EditPaM::SetIndex().
Referenced by MoveCursor().
|
private |
Definition at line 984 of file impedit2.cxx.
References EditLineList::FindLine(), TextPortionList::FindPortion(), GetEditDoc(), EditLine::GetEnd(), EditPaM::GetIndex(), ParaPortion::GetLines(), EditPaM::GetNode(), GetParaPortions(), EditDoc::GetPos(), EditLine::GetStart(), ContentNode::GetString(), ParaPortion::GetTextPortions(), EditView::IsInsertMode(), TextPortion::IsRightToLeft(), IsRightToLeft(), NONE, EditView::pImpEditView, ParaPortionList::SafeGetObject(), and EditPaM::SetIndex().
Referenced by CursorVisualLeftRight().
|
private |
|
private |
|
private |
|
private |
|
inline |
Definition at line 1032 of file impedit.hxx.
References aStatusTimer, and Timer::Start().
EditPaM ImpEditEngine::DeleteLeftOrRight | ( | const EditSelection & | rEditSelection, |
sal_uInt8 | nMode, | ||
DeleteMode | nDelMode | ||
) |
Definition at line 2355 of file impedit2.cxx.
References aEditDoc, CursorLeft(), CursorRight(), EditSelection::DbgIsBuggy(), DEL_LEFT, EndOfWord(), EditPaM::GetIndex(), GetNextVisNode(), EditPaM::GetNode(), GetPrevVisNode(), ContentNode::GetString(), EditSelection::HasRange(), ImpConnectParagraphs(), ImpDeleteSelection(), unicode::isVariationSelector(), ContentNode::Len(), EditSelection::Max(), nIndex, RestOfContent, RestOfWord, EditPaM::SetIndex(), Simple, StartOfWord(), WordLeft(), and WordRight().
EditPaM ImpEditEngine::DeleteSelected | ( | const EditSelection & | rEditSelection | ) |
Definition at line 260 of file impedit2.cxx.
References ImpDeleteSelection().
Referenced by Command().
void ImpEditEngine::Dispose | ( | ) |
Definition at line 160 of file impedit2.cxx.
References VclPtr< class reference_type >::disposeAndClear(), SfxListener::EndListening(), SfxApplication::Get(), mpOwnDev, pSharedVCL, and pVirtDev.
Referenced by Notify(), and ~ImpEditEngine().
void ImpEditEngine::DoOnlineSpelling | ( | ContentNode * | pThisNodeOnly = nullptr , |
bool | bSpellAtCursorPos = false , |
||
bool | bInterruptible = true |
||
) |
Definition at line 2205 of file impedit4.cxx.
References aEditDoc, aEditViews, aInvalidRect, aOnlineSpellTimer, aStatus, tools::Rectangle::Bottom(), CallStatusHdl(), WrongList::ClearWrongs(), EditDoc::Count(), DBG_ASSERT, ContentNode::EnsureWrongList(), ContentNode::GetChar(), GetEditDoc(), EditPaM::GetIndex(), WrongList::GetInvalidEnd(), WrongList::GetInvalidStart(), GetLanguage(), EditPaM::GetNode(), EditDoc::GetObject(), GetPaperSize(), GetSelected(), EditStatus::GetStatusWord(), ContentNode::GetWrongList(), WrongList::HasAnyWrong(), EditView::HasSelection(), WrongList::HasWrong(), WrongList::InsertWrong(), tools::Rectangle::Intersection(), tools::Rectangle::IsEmpty(), WrongList::IsValid(), ContentNode::Len(), o3tl::make_unsigned(), EditSelection::Max(), EditSelection::Min(), n, editeng::LanguageSpan::nLang, pActiveView, PaMtoEditCursor(), EditView::pImpEditView, WrongList::ResetInvalidRange(), SelectWord(), tools::Rectangle::SetBottom(), EditPaM::SetIndex(), tools::Rectangle::SetLeft(), tools::Rectangle::SetPos(), tools::Rectangle::SetRight(), tools::Rectangle::SetTop(), WrongList::SetValid(), Timer::Start(), tools::Rectangle::Top(), tools::Rectangle::TopLeft(), UpdateViews(), Width, WordRight(), WRONGWORDCHANGED, and xSpeller.
Referenced by FormatDoc(), ImpConnectParagraphs(), InitDoc(), InsertTextObject(), and Paint().
|
static |
Definition at line 4478 of file impedit2.cxx.
Referenced by MoveCursor(), and EditEngine::PostKeyEvent().
|
inlineprivate |
Definition at line 790 of file impedit.hxx.
References bUseAutoColor.
|
inline |
Definition at line 1184 of file impedit.hxx.
References mbSkipOutsideFormat, and set().
void ImpEditEngine::EnableUndo | ( | bool | bEnable | ) |
Definition at line 283 of file impedit5.cxx.
Referenced by SetText().
Definition at line 1557 of file impedit2.cxx.
References EditPaM::GetIndex(), GetLocale(), EditPaM::GetNode(), ContentNode::GetString(), ImplGetBreakIterator(), ContentNode::Len(), and EditPaM::SetIndex().
Referenced by DeleteLeftOrRight().
|
inlineprivate |
Definition at line 796 of file impedit.hxx.
References VclPtr< class reference_type >::disposeAndClear(), and pVirtDev.
|
inlineprivate |
Definition at line 1319 of file impedit.hxx.
References aEditDoc, Count, DBG_ASSERT, GetParaPortions(), EditDoc::GetPos(), and nPos.
Referenced by Command(), CursorDown(), CursorEndOfLine(), CursorStartOfLine(), CursorUp(), GetNextVisNode(), GetPrevVisNode(), ImpConnectParagraphs(), InsertTextObject(), ParaAttribsChanged(), and WriteRTF().
|
inlineprivate |
Definition at line 1326 of file impedit.hxx.
References aEditDoc, Count, DBG_ASSERT, GetParaPortions(), EditDoc::GetPos(), and nPos.
|
private |
Definition at line 1894 of file impedit3.cxx.
References CalcHeight(), TextPortionList::Count(), DBG_ASSERT, ParaPortion::GetHeight(), ParaPortion::GetTextPortions(), and ParaPortion::SetValid().
Referenced by CreateLines().
|
inlineprivate |
Definition at line 792 of file impedit.hxx.
References bForceAutoColor.
void ImpEditEngine::FormatAndLayout | ( | EditView * | pCurView = nullptr , |
bool | bCalledFromUndo = false |
||
) |
Definition at line 4412 of file impedit3.cxx.
References bDowning, Link< typename Arg, typename Ret >::Call(), ParaPortionList::Count(), EE_NOTIFY_PROCESSNOTIFICATIONS, FormatDoc(), GetNotifyHdl(), GetParaPortions(), IdleFormatAndLayout(), IsInUndo(), and UpdateViews().
Referenced by ApplyChangedSentence(), Command(), RemoveStyleFromParagraphs(), SetStyleSheet(), SetUpdateLayout(), StartSearchAndReplace(), TransliterateText(), and UpdateParagraphsWithStyleSheet().
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().
void ImpEditEngine::FormatFullDoc | ( | ) |
Definition at line 393 of file impedit3.cxx.
References ParaPortionList::Count(), FormatDoc(), and GetParaPortions().
Referenced by Read(), SetAddExtLeading(), SetAsianCompressionMode(), SetFixedCellHeight(), SetFlatMode(), SetKernAsianPunctuation(), SetRefDevice(), SetRefMapMode(), SetRotation(), setScale(), SetTextColumns(), SetTextRanger(), and SetVertical().
|
inline |
Definition at line 1038 of file impedit.hxx.
References pActiveView.
Referenced by SetFixedCellHeight(), SetRotation(), setScale(), SetTextColumns(), SetTextRanger(), SetVertical(), and ShowParagraph().
void ImpEditEngine::GetAllMisspellRanges | ( | std::vector< editeng::MisspellRanges > & | rRanges | ) | const |
Definition at line 1362 of file impedit4.cxx.
References EditDoc::Count(), GetEditDoc(), EditDoc::GetObject(), WrongList::GetRanges(), ContentNode::GetWrongList(), i, and n.
|
inline |
Definition at line 1148 of file impedit.hxx.
References nAsianCompressionMode.
Referenced by CreateLines(), and ImplCalcAsianCompression().
SfxItemSet ImpEditEngine::GetAttribs | ( | EditSelection | aSel, |
EditEngineAttribs | nOnlyHardAttrib = EditEngineAttribs::All |
||
) |
Definition at line 310 of file impedit5.cxx.
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().
|
private |
Definition at line 4647 of file impedit3.cxx.
References COL_AUTO(), COL_BLACK(), COL_WHITE(), SfxViewShell::Current(), svtools::DOCCOLOR, svtools::FONTCOLOR, GetBackgroundColor(), GetColorConfig(), SfxViewShell::GetColorConfigColor(), svtools::ColorConfig::GetColorValue(), comphelper::LibreOfficeKit::isActive(), Color::IsBright(), Color::IsDark(), and svtools::ColorConfigValue::nColor.
Referenced by Paint(), and SeekCursor().
|
inline |
Definition at line 1141 of file impedit.hxx.
References aAutoCompleteText.
Referenced by MouseButtonDown().
|
inlineprivate |
Definition at line 785 of file impedit.hxx.
References maBackgroundColor.
Referenced by GetAutoColor(), Paint(), and SeekCursor().
Definition at line 1166 of file impedit.hxx.
References maBeginDropHdl.
|
inline |
Definition at line 1134 of file impedit.hxx.
References nBigTextObjectStart.
tools::Long ImpEditEngine::getBottomDocOffset | ( | const tools::Rectangle & | rect | ) | const |
Definition at line 3228 of file impedit3.cxx.
References tools::Rectangle::Bottom(), IsEffectivelyVertical(), IsTopToBottom(), tools::Rectangle::Left(), and tools::Rectangle::Right().
Referenced by Calc1ColumnTextHeight(), and CalcTextHeight().
|
private |
Definition at line 3969 of file impedit2.cxx.
References EditLine::GetCharPosArray(), TextPortion::GetKind(), TextPortion::GetLen(), GetPortionXOffset(), TextPortion::GetSize(), EditLine::GetStart(), EditLine::GetStartPortion(), ParaPortion::GetTextPortions(), i, TextPortion::IsRightToLeft(), TEXT, Size::Width(), and x.
Referenced by CursorDown(), CursorUp(), and GetPaM().
|
private |
Definition at line 739 of file impedit5.cxx.
Referenced by CursorMoved(), and Paint().
|
inline |
Definition at line 1001 of file impedit.hxx.
References maColorConfig.
Referenced by GetAutoColor(), and Paint().
tools::Long ImpEditEngine::GetColumnWidth | ( | const Size & | rPaperSize | ) | const |
Definition at line 631 of file impedit3.cxx.
References Size::Height(), IsEffectivelyVertical(), mnColumns, mnColumnSpacing, and Size::Width().
Referenced by CreateAndInsertEmptyLine(), CreateLines(), CreateTextObject(), GetPortionAndLine(), InsertTextObject(), MoveParagraphs(), and MoveToNextLine().
|
inline |
Definition at line 1073 of file impedit.hxx.
References pConvInfo.
Referenced by TextConvWrapper::ConvMore_impl(), TextConvWrapper::ConvStart_impl(), and TextConvWrapper::ReplaceUnit().
|
inline |
Definition at line 870 of file impedit.hxx.
References eDefaultHorizontalTextDirection.
Referenced by IsRightToLeft().
|
inline |
Definition at line 1056 of file impedit.hxx.
References eDefLanguage.
Referenced by GetI18NScriptType(), GetItemScriptType(), and InitScriptTypes().
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().
|
inlineprivate |
Definition at line 824 of file impedit.hxx.
References aEditDoc.
Referenced by CalcLineWidth(), Command(), CreateTransferable(), CursorVisualLeftRight(), CursorVisualStartEnd(), DoOnlineSpelling(), GetAllMisspellRanges(), GetI18NScriptType(), GetItemScriptType(), GetLineNumberAtIndex(), GetNumberFormat(), GetRotation(), GetVertical(), HasDifferentRTLLevels(), ImplHasText(), ImplInitLayoutMode(), InsertParagraph(), IsEffectivelyVertical(), IsFixedCellHeight(), IsScriptChange(), IsTopToBottom(), MoveCursor(), ReplaceTextOnly(), SelectParagraph(), SetAllMisspellRanges(), SetFixedCellHeight(), SetRotation(), and SetVertical().
|
inlineprivate |
Definition at line 825 of file impedit.hxx.
References aEditDoc.
|
inline |
Definition at line 1136 of file impedit.hxx.
References pEditEngine.
Referenced by CreateAndInsertEmptyLine(), CreateLines(), FormatDoc(), ImpConnectParagraphs(), InitDoc(), InsertContent(), MouseButtonUp(), Paint(), ReadXML(), UpdateParagraphsWithStyleSheet(), and WriteXML().
|
inline |
Definition at line 1110 of file impedit.hxx.
References pTextObjectPool.
Referenced by CreateTextObject().
|
inline |
Definition at line 849 of file impedit.hxx.
References aEditViews.
|
inline |
Definition at line 850 of file impedit.hxx.
References aEditViews.
const SfxItemSet & ImpEditEngine::GetEmptyItemSet | ( | ) | const |
Definition at line 743 of file impedit2.cxx.
References aEditDoc, EE_CHAR_END(), EE_ITEMS_START(), EditDoc::GetItemPool(), and pEmptyItemSet.
Referenced by ImpRemoveChars(), InsertTextObject(), and IsRightToLeft().
|
private |
Definition at line 971 of file impedit4.cxx.
References aEditDoc, CreateTextObject(), EditDoc::GetStartPaM(), EditSelection::Max(), and EditSelection::Min().
Definition at line 1170 of file impedit.hxx.
References maEndDropHdl.
|
inline |
Definition at line 1122 of file impedit.hxx.
References mfFontScaleX, and mfFontScaleY.
|
static |
Definition at line 4455 of file impedit2.cxx.
Referenced by ImpBreakLine().
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().
|
inline |
|
private |
Definition at line 1826 of file impedit2.cxx.
References ParaPortion::aScriptInfos, GetDefaultLanguage(), GetEditDoc(), SvtLanguageOptions::GetI18NScriptTypeOfLanguage(), EditPaM::GetIndex(), EditPaM::GetNode(), GetParaPortions(), EditDoc::GetPos(), InitScriptTypes(), ContentNode::Len(), nPos, and ParaPortionList::SafeGetObject().
Referenced by CreateLines(), GetLanguage(), ImpAdjustBlocks(), ImpConvert(), ImplCalcAsianCompression(), ImplInitLayoutMode(), Paint(), SeekCursor(), and WriteRTF().
|
private |
Definition at line 1857 of file impedit2.cxx.
References EditSelection::Adjust(), aEditDoc, ParaPortion::aScriptInfos, SvtLanguageOptions::FromI18NToSvtScriptType(), GetDefaultLanguage(), GetEditDoc(), EditPaM::GetIndex(), EditPaM::GetNode(), ParaPortion::GetNode(), GetParaPortions(), EditDoc::GetPos(), SvtLanguageOptions::GetScriptTypeOfLanguage(), InitScriptTypes(), ContentNode::Len(), EditSelection::Max(), EditSelection::Min(), and ParaPortionList::SafeGetObject().
Referenced by CreateTextObject().
SvxAdjust ImpEditEngine::GetJustification | ( | sal_Int32 | nPara | ) | const |
Definition at line 2090 of file impedit2.cxx.
References aStatus, EE_PARA_JUST(), GetParaAttrib(), InternalEditStatus::IsOutliner(), IsRightToLeft(), Left, and Right.
Referenced by CalcLineWidth(), CheckAutoPageSize(), CreateAndInsertEmptyLine(), and CreateLines().
SvxCellJustifyMethod ImpEditEngine::GetJustifyMethod | ( | sal_Int32 | nPara | ) | const |
Definition at line 2109 of file impedit2.cxx.
References EE_PARA_JUST_METHOD(), SfxEnumItem< typename EnumT >::GetEnumValue(), and GetParaAttrib().
Referenced by CreateLines().
editeng::LanguageSpan ImpEditEngine::GetLanguage | ( | const EditPaM & | rPaM, |
sal_Int32 * | pEndPos = nullptr |
||
) | const |
Definition at line 1394 of file impedit4.cxx.
References EE_CHAR_LANGUAGE(), CharAttribList::FindAttrib(), SvtLanguageOptions::FromI18NToSvtScriptType(), ContentNode::GetCharAttribs(), ContentNode::GetContentAttribs(), EditCharAttrib::GetEnd(), GetI18NScriptType(), EditPaM::GetIndex(), EditCharAttrib::GetItem(), ContentAttribs::GetItem(), SvxLanguageItem::GetLanguage(), EditPaM::GetNode(), GetScriptItemId(), EditCharAttrib::GetStart(), editeng::LanguageSpan::nEnd, editeng::LanguageSpan::nLang, and editeng::LanguageSpan::nStart.
Referenced by AddPortion(), AddPortionIterated(), ApplyChangedSentence(), DoOnlineSpelling(), GetLocale(), HasSpellErrors(), ImpAdjustBlocks(), ImpFindNextError(), ImpSpell(), TextConvWrapper::ReplaceUnit(), SeekCursor(), StartThesaurus(), and TransliterateText().
void ImpEditEngine::GetLineBoundaries | ( | sal_Int32 & | rStart, |
sal_Int32 & | rEnd, | ||
sal_Int32 | nParagraph, | ||
sal_Int32 | nLine | ||
) | const |
Definition at line 3641 of file impedit2.cxx.
References Count, EditLine::GetEnd(), ParaPortion::GetLines(), GetParaPortions(), EditLine::GetStart(), and ParaPortionList::SafeGetObject().
Referenced by GetLineNumberAtIndex().
sal_Int32 ImpEditEngine::GetLineCount | ( | sal_Int32 | nParagraph | ) | const |
Definition at line 3616 of file impedit2.cxx.
References Count, EditLineList::Count(), ParaPortion::GetLines(), GetParaPortions(), and ParaPortionList::SafeGetObject().
Referenced by CheckPageOverflow(), and GetLineNumberAtIndex().
sal_uInt16 ImpEditEngine::GetLineHeight | ( | sal_Int32 | nParagraph, |
sal_Int32 | nLine | ||
) |
Definition at line 3682 of file impedit2.cxx.
References Count, EditLine::GetHeight(), ParaPortion::GetLines(), GetParaPortions(), and ParaPortionList::SafeGetObject().
Referenced by WriteItemAsRTF().
sal_Int32 ImpEditEngine::GetLineLen | ( | sal_Int32 | nParagraph, |
sal_Int32 | nLine | ||
) | const |
Definition at line 3627 of file impedit2.cxx.
References Count, EditLine::GetLen(), ParaPortion::GetLines(), GetParaPortions(), and ParaPortionList::SafeGetObject().
Referenced by CheckPageOverflow().
sal_Int32 ImpEditEngine::GetLineNumberAtIndex | ( | sal_Int32 | nPara, |
sal_Int32 | nIndex | ||
) | const |
Definition at line 3655 of file impedit2.cxx.
References GetEditDoc(), GetLineBoundaries(), GetLineCount(), EditDoc::GetObject(), i, ContentNode::Len(), and nIndex.
|
private |
Definition at line 4090 of file impedit2.cxx.
Referenced by IsTextPos().
css::lang::Locale ImpEditEngine::GetLocale | ( | const EditPaM & | rPaM | ) | const |
Definition at line 1419 of file impedit4.cxx.
References GetLanguage(), and LanguageTag::getLocale().
Referenced by CreateLines(), CursorLeft(), CursorRight(), EndOfWord(), ImpBreakLine(), ImpSearch(), Paint(), SelectSentence(), SelectWord(), StartOfWord(), TransliterateText(), WordLeft(), and WordRight().
|
inline |
Definition at line 1188 of file impedit.hxx.
References aLOKSpecialPaperSize.
const SvxLRSpaceItem & ImpEditEngine::GetLRSpaceItem | ( | ContentNode * | pNode | ) |
Definition at line 4534 of file impedit3.cxx.
References aStatus, EE_PARA_LRSPACE(), EE_PARA_OUTLLRSPACE(), ContentNode::GetContentAttribs(), ContentAttribs::GetItem(), and InternalEditStatus::IsOutliner().
Referenced by CalcParaWidth(), CreateAndInsertEmptyLine(), and CreateLines().
|
inline |
Definition at line 884 of file impedit.hxx.
References aMaxAutoPaperSize.
Referenced by CheckPageOverflow().
|
inline |
Definition at line 881 of file impedit.hxx.
References aMinAutoPaperSize.
|
private |
Definition at line 4301 of file impedit3.cxx.
References DBG_ASSERT, FindParaPortion(), GetNextVisPortion(), and ParaPortion::GetNode().
Referenced by CursorRight(), and DeleteLeftOrRight().
|
private |
Definition at line 4322 of file impedit3.cxx.
References Count, DBG_ASSERT, GetParaPortions(), ParaPortionList::GetPos(), ParaPortion::IsVisible(), and ParaPortionList::SafeGetObject().
Referenced by CursorDown(), and GetNextVisNode().
Definition at line 997 of file impedit.hxx.
References aNotifyHdl.
Referenced by FormatAndLayout(), ImpMoveParagraphs(), and TextModified().
const SvxNumberFormat * ImpEditEngine::GetNumberFormat | ( | const ContentNode * | pNode | ) | const |
Definition at line 4483 of file impedit3.cxx.
References DBG_ASSERT, EE_PARA_NOT_FOUND, GetEditDoc(), EditEngine::GetNumberFormat(), EditDoc::GetPos(), and pEditEngine.
Referenced by GetSpaceBeforeAndMinLabelWidth().
|
inline |
Definition at line 1154 of file impedit.hxx.
References mnOverflowingLine.
|
inline |
Definition at line 1153 of file impedit.hxx.
References mnOverflowingPara.
Definition at line 3324 of file impedit2.cxx.
References CursorLeft(), GetChar(), GetPortionAndLine(), IsUpdateLayout(), and Point::X().
Referenced by PageDown(), and PageUp().
|
inline |
Definition at line 852 of file impedit.hxx.
References aPaperSize.
Referenced by CheckAutoPageSize(), CreateLines(), DoOnlineSpelling(), Paint(), and ShowParagraph().
const SfxPoolItem & ImpEditEngine::GetParaAttrib | ( | sal_Int32 | nPara, |
sal_uInt16 | nWhich | ||
) | const |
Definition at line 732 of file impedit5.cxx.
Referenced by GetJustification(), GetJustifyMethod(), GetParaAttrib(), GetVerJustification(), and IsRightToLeft().
|
inline |
Definition at line 969 of file impedit.hxx.
References GetParaAttrib().
const SfxItemSet & ImpEditEngine::GetParaAttribs | ( | sal_Int32 | nPara | ) | const |
Definition at line 718 of file impedit5.cxx.
sal_uInt32 ImpEditEngine::GetParaHeight | ( | sal_Int32 | nParagraph | ) |
Definition at line 3696 of file impedit2.cxx.
References ParaPortion::GetHeight(), GetParaPortions(), and ParaPortionList::SafeGetObject().
|
inlineprivate |
Definition at line 828 of file impedit.hxx.
References aParaPortionList.
|
inlineprivate |
Definition at line 827 of file impedit.hxx.
References aParaPortionList.
Referenced by CalcParaWidth(), CalcTextWidth(), CalcVertLineSpacing(), CheckAutoPageSize(), CheckPageOverflow(), Command(), CreateAndInsertEmptyLine(), CreateLines(), CreateTextObject(), CreateTextPortions(), CursorEndOfDoc(), CursorVisualLeftRight(), CursorVisualStartEnd(), FindParaPortion(), FormatAndLayout(), FormatDoc(), FormatFullDoc(), GetI18NScriptType(), GetItemScriptType(), GetLineBoundaries(), GetLineCount(), GetLineHeight(), GetLineLen(), GetNextVisPortion(), GetParaHeight(), GetPrevVisPortion(), GetRightToLeft(), HasDifferentRTLLevels(), HasScriptType(), ImpConnectParagraphs(), ImplUpdateOverflowingLineNum(), ImplUpdateOverflowingParaNum(), ImpMoveParagraphs(), InitDoc(), InitScriptTypes(), InitWritingDirections(), InsertContent(), InsertTextObject(), InvalidateFromParagraph(), IsScriptChange(), MoveParagraphs(), Paint(), ParaAttribsChanged(), SetTextRanger(), ShowParagraph(), TransliterateText(), and UpdateSelections().
|
private |
Definition at line 3287 of file impedit2.cxx.
References adjustYDirectionAware(), aPaperSize, Continue, GetColumnWidth(), getTopLeftDocOffset(), getYOverflowDirectionAware(), IterateLineAreas(), mnColumns, mnColumnSpacing, Stop, Size::Width(), Point::X(), and Point::Y().
Referenced by GetPaM(), and IsTextPos().
|
private |
Definition at line 4110 of file impedit2.cxx.
|
private |
Definition at line 4291 of file impedit3.cxx.
References DBG_ASSERT, FindParaPortion(), ParaPortion::GetNode(), and GetPrevVisPortion().
Referenced by CursorEndOfDoc(), CursorLeft(), and DeleteLeftOrRight().
|
private |
Definition at line 4311 of file impedit3.cxx.
References Count, DBG_ASSERT, GetParaPortions(), ParaPortionList::GetPos(), and ParaPortion::IsVisible().
Referenced by CursorUp(), and GetPrevVisNode().
|
inline |
Definition at line 1024 of file impedit.hxx.
References VclPtr< class reference_type >::get(), and pRefDev.
Referenced by CalcLineWidth(), CreateLines(), CreateTextObject(), FormatDoc(), ImpBreakLine(), ImpCheckRefMapMode(), ImpFindKashidas(), InsertTextObject(), Paint(), SeekCursor(), SetRefMapMode(), SplitTextPortion(), WriteItemAsRTF(), and WriteRTF().
|
inline |
Definition at line 1027 of file impedit.hxx.
References pRefDev.
Referenced by WriteItemAsRTF(), and WriteRTF().
sal_uInt8 ImpEditEngine::GetRightToLeft | ( | sal_Int32 | nPara, |
sal_Int32 | nChar, | ||
sal_Int32 * | pStart = nullptr , |
||
sal_Int32 * | pEnd = nullptr |
||
) |
Definition at line 2059 of file impedit2.cxx.
References aEditDoc, ParaPortion::aWritingDirectionInfos, EditDoc::GetObject(), GetParaPortions(), InitWritingDirections(), ContentNode::Len(), nPos, and ParaPortionList::SafeGetObject().
Referenced by CreateLines(), and ImplInitLayoutMode().
|
inline |
Definition at line 860 of file impedit.hxx.
References GetEditDoc(), and EditDoc::GetRotation().
Referenced by CreateTextObject(), and SetRotation().
OUString ImpEditEngine::GetSelected | ( | const EditSelection & | rSel | ) | const |
Definition at line 266 of file impedit2.cxx.
References EditSelection::Adjust(), aEditDoc, EditPaM::GetIndex(), EditPaM::GetNode(), EditDoc::GetObject(), EditDoc::GetParaAsString(), EditDoc::GetPos(), EditDoc::GetSepStr(), EditSelection::HasRange(), ContentNode::Len(), LINEEND_LF, EditSelection::Max(), and EditSelection::Min().
Referenced by AddPortion(), CreateLines(), CreateTransferable(), DoOnlineSpelling(), HasSpellErrors(), ImpConvert(), ImpFindKashidas(), ImpFindNextError(), ImpSpell(), StartThesaurus(), and TransliterateText().
|
inline |
Definition at line 901 of file impedit.hxx.
References aSelEngine.
Referenced by Command(), MouseButtonDown(), MouseButtonUp(), MouseMove(), and ReleaseMouse().
sal_Int32 ImpEditEngine::GetSpaceBeforeAndMinLabelWidth | ( | const ContentNode * | pNode, |
sal_Int32 * | pnSpaceBefore = nullptr , |
||
sal_Int32 * | pnMinLabelWidth = nullptr |
||
) | const |
Definition at line 4505 of file impedit3.cxx.
References DBG_ASSERT, SvxNumberFormat::GetAbsLSpace(), SvxNumberFormat::GetFirstLineOffset(), and GetNumberFormat().
Referenced by CalcParaWidth(), CreateAndInsertEmptyLine(), and CreateLines().
|
inline |
Definition at line 1128 of file impedit.hxx.
References mfSpacingScaleX, and mfSpacingScaleY.
Reference< XSpellChecker1 > const & ImpEditEngine::GetSpeller | ( | ) |
Definition at line 1424 of file impedit4.cxx.
References LinguMgr::GetSpellChecker(), and xSpeller.
|
inline |
Definition at line 1053 of file impedit.hxx.
References pSpellInfo.
Referenced by EditSpellWrapper::CheckSpellTo(), EditSpellWrapper::SpellMore(), and EditSpellWrapper::SpellStart().
|
inline |
Definition at line 1030 of file impedit.hxx.
References aStatus.
Referenced by CheckAutoPageSize(), Command(), FormatDoc(), ImpConnectParagraphs(), InitDoc(), InsertTextObject(), and Paint().
|
inline |
Definition at line 994 of file impedit.hxx.
References aStatusHdlLink.
SfxStyleSheet * ImpEditEngine::GetStyleSheet | ( | sal_Int32 | nPara | ) |
Definition at line 41 of file impedit5.cxx.
References aEditDoc, ContentNode::GetContentAttribs(), EditDoc::GetObject(), and ContentAttribs::GetStyleSheet().
const SfxStyleSheet * ImpEditEngine::GetStyleSheet | ( | sal_Int32 | nPara | ) | const |
Definition at line 35 of file impedit5.cxx.
References aEditDoc, ContentNode::GetContentAttribs(), EditDoc::GetObject(), and ContentAttribs::GetStyleSheet().
Referenced by InitDoc().
|
inline |
Definition at line 1012 of file impedit.hxx.
References pStylePool.
Referenced by InsertTextObject(), SetStyleSheet(), and WriteRTF().
sal_uInt32 ImpEditEngine::GetTextHeight | ( | ) | const |
Definition at line 3357 of file impedit2.cxx.
References IsFormatted(), IsFormatting(), IsUpdateLayout(), and nCurTextHeight.
Referenced by CheckAutoPageSize(), CreateLines(), ImpBreakLine(), and PageDown().
sal_uInt32 ImpEditEngine::GetTextHeightNTP | ( | ) | const |
Definition at line 3493 of file impedit2.cxx.
References DBG_ASSERT, IsFormatted(), IsFormatting(), IsUpdateLayout(), and nCurTextHeightNTP.
|
inline |
Definition at line 879 of file impedit.hxx.
References pTextRanger.
Referenced by CreateAndInsertEmptyLine(), CreateLines(), FormatDoc(), ImpConnectParagraphs(), and ShowParagraph().
Size ImpEditEngine::getTopLeftDocOffset | ( | const tools::Rectangle & | rect | ) | const |
Definition at line 3239 of file impedit3.cxx.
References tools::Rectangle::Bottom(), IsEffectivelyVertical(), IsTopToBottom(), tools::Rectangle::Left(), tools::Rectangle::Right(), and tools::Rectangle::Top().
Referenced by Command(), and GetPortionAndLine().
|
inline |
Definition at line 1290 of file impedit.hxx.
References pEditEngine, pUndoManager, and EditUndoManager::SetEditEngine().
Referenced by SetText().
SvxCellVerJustify ImpEditEngine::GetVerJustification | ( | sal_Int32 | nPara | ) | const |
Definition at line 2115 of file impedit2.cxx.
References EE_PARA_VER_JUST(), SfxEnumItem< typename EnumT >::GetEnumValue(), and GetParaAttrib().
Referenced by CalcVertLineSpacing().
|
inline |
Definition at line 858 of file impedit.hxx.
References GetEditDoc(), and EditDoc::GetVertical().
Referenced by CreateTextObject().
|
inlineprivate |
Definition at line 1271 of file impedit.hxx.
References VclPtr< class reference_type >::Create(), MapMode::GetMapUnit(), MapMode::GetScaleX(), MapMode::GetScaleY(), pVirtDev, and MapMode::SetOrigin().
Referenced by RecalcFormatterFontMetrics().
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().
|
private |
Definition at line 4201 of file impedit2.cxx.
Referenced by CursorDown(), and CursorUp().
tools::Long ImpEditEngine::getYOverflowDirectionAware | ( | const Point & | pt, |
const tools::Rectangle & | rectMax | ||
) | const |
Definition at line 3204 of file impedit3.cxx.
References tools::Rectangle::Bottom(), IsEffectivelyVertical(), IsTopToBottom(), tools::Rectangle::Left(), pt, and tools::Rectangle::Right().
Referenced by GetPortionAndLine(), MoveToNextLine(), and Paint().
bool ImpEditEngine::HasConvertibleTextPortion | ( | LanguageType | nLang | ) |
Definition at line 1493 of file impedit4.cxx.
References LanguageTag::convertToLocale(), EditEngine::GetLanguage(), EditEngine::GetParagraphCount(), EditEngine::GetPortions(), editeng::HangulHanjaConversion::IsChinese(), editeng::LanguageSpan::nLang, nPos, and pEditEngine.
bool ImpEditEngine::HasDifferentRTLLevels | ( | const ContentNode * | pNode | ) |
Definition at line 2036 of file impedit2.cxx.
References Count, GetEditDoc(), GetParaPortions(), EditDoc::GetPos(), TextPortion::GetRightToLeftLevel(), ParaPortion::GetTextPortions(), IsRightToLeft(), n, and ParaPortionList::SafeGetObject().
bool ImpEditEngine::HasParaAttrib | ( | sal_Int32 | nPara, |
sal_uInt16 | nWhich | ||
) | const |
Definition at line 725 of file impedit5.cxx.
|
private |
Definition at line 1937 of file impedit2.cxx.
References ParaPortion::aScriptInfos, GetParaPortions(), InitScriptTypes(), n, nType, and ParaPortionList::SafeGetObject().
Referenced by CreateLines(), and ImplInitLayoutMode().
EESpellState ImpEditEngine::HasSpellErrors | ( | ) |
Definition at line 2404 of file impedit4.cxx.
References aEditDoc, SvxSpellWrapper::CheckSpellLang(), EditDoc::Count(), DBG_ASSERT, ErrorFound, EditPaM::GetIndex(), GetLanguage(), EditPaM::GetNode(), EditDoc::GetObject(), GetSelected(), EditDoc::GetStartPaM(), ContentNode::Len(), EditSelection::Max(), editeng::LanguageSpan::nLang, Ok, SelectWord(), WordRight(), and xSpeller.
bool ImpEditEngine::HasText | ( | const SvxSearchItem & | rSearchItem | ) |
Definition at line 2643 of file impedit4.cxx.
References aEditDoc, EditDoc::GetStartPaM(), ImpSearch(), SvxSearchItem::SetBackward(), and SvxSearchItem::SetSelection().
|
inlineprivate |
|
inlineprivate |
Definition at line 832 of file impedit.hxx.
References aIdleFormatter, and IdleFormattter::DoIdleFormat().
Referenced by FormatAndLayout().
|
private |
Definition at line 2174 of file impedit3.cxx.
References TextPortion::adjustSize(), DBG_ASSERT, TextPortionList::FindPortion(), ContentNode::GetChar(), EditLine::GetCharPosArray(), EditLine::GetEnd(), GetI18NScriptType(), EditLine::GetKashidaArray(), GetLanguage(), TextPortion::GetLen(), ParaPortion::GetNode(), MsLangId::getPrimaryLanguage(), TextPortion::GetSize(), EditLine::GetStart(), ParaPortion::GetTextPortions(), EditLine::GetTextWidth(), i, ImpFindKashidas(), EditLine::IsEmpty(), LANGUAGE_ARABIC_PRIMARY_ONLY, editeng::LanguageSpan::nLang, EditLine::SetTextWidth(), and Size::Width().
Referenced by CreateLines().
|
private |
Definition at line 1906 of file impedit3.cxx.
References aStatus, CH_HYPH, LanguageTag::convertToLanguageType(), DBG_ASSERT, EE_PARA_FORBIDDENRULES(), EE_PARA_HANGINGPUNCTUATION(), CharAttribList::GetAttribs(), ContentNode::GetChar(), ContentNode::GetCharAttribs(), EditLine::GetCharPosArray(), ContentNode::GetContentAttribs(), EditCharAttrib::GetEnd(), GetForbiddenCharsTable(), GetHyphenator(), ContentAttribs::GetItem(), TextPortion::GetKind(), TextPortion::GetLen(), GetLocale(), ParaPortion::GetNode(), GetRefDevice(), TextPortion::GetSize(), EditLine::GetStart(), ContentNode::GetString(), GetTextHeight(), ParaPortion::GetTextPortions(), GetValue, HYPHENATOR, ImplGetBreakIterator(), TextPortionList::Insert(), EditCharAttrib::IsFeature(), InternalEditStatus::IsSingleLine(), ContentNode::Len(), o3tl::make_unsigned(), SAL_MAX_INT32, SeekCursor(), EditLine::SetEnd(), EditLine::SetEndPortion(), TextPortion::SetExtraValue(), EditLine::SetHangingPunctuation(), TextPortion::SetKind(), TextPortion::SetLen(), SvxFont::SetPhysFont(), TextPortion::SetSize(), TextPortion::setWidth(), SplitTextPortion(), TEXT, Size::Width(), and xHyphenator.
Referenced by CreateLines().
|
private |
Definition at line 516 of file impedit3.cxx.
References aStatus, InternalEditStatus::DoFormat100(), Fraction::GetDenominator(), Fraction::GetNumerator(), GetRefDevice(), MapMode::GetScaleX(), MapMode::GetScaleY(), OutputDevice::Push(), OutputDevice::SetMapMode(), MapMode::SetScaleX(), and MapMode::SetScaleY().
Referenced by CreateLines(), and FormatDoc().
|
private |
Definition at line 2265 of file impedit2.cxx.
References aDeletedNodes, aEditDoc, WrongList::ClearWrongs(), EditDoc::ConnectParagraphs(), ParaPortionList::Count(), DoOnlineSpelling(), EE_PARA_NOT_FOUND, FindParaPortion(), ContentNode::GetCharAttribs(), ContentNode::GetContentAttribs(), CharAttribList::GetDefFont(), GetEditEnginePtr(), EditPaM::GetIndex(), ContentAttribs::GetItems(), ParaPortion::GetLines(), GetParaPortions(), EditDoc::GetPos(), GetStatus(), ContentNode::GetStyleSheet(), GetTextRanger(), ContentNode::GetWrongList(), InsertUndo(), IsCallParaInsertedOrDeleted(), IsInUndo(), IsUndoEnabled(), ContentNode::Len(), ParaPortion::MarkSelectionInvalid(), n, ParaAttribsChanged(), EditEngine::ParagraphConnected(), EditEngine::ParagraphDeleted(), pEditEngine, WrongList::push_back(), ParaPortionList::Remove(), EditLineList::Reset(), SfxItemSet::Set(), WrongList::SetInvalidRange(), ContentNode::SetStyleSheet(), and TextModified().
Referenced by ConnectContents(), and DeleteLeftOrRight().
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().
|
private |
Definition at line 2446 of file impedit2.cxx.
References EditSelection::Adjust(), aEditDoc, CursorMoved(), EE_PARA_NOT_FOUND, End, EditPaM::GetIndex(), EditPaM::GetNode(), EditDoc::GetPos(), EditSelection::HasRange(), ContentNode::Len(), EditSelection::Max(), and EditSelection::Min().
Referenced by ApplyChangedSentence(), DeleteLeftOrRight(), DeleteSelected(), InsertText(), ReadHTML(), ReadRTF(), ReadText(), and ReadXML().
|
private |
Definition at line 2986 of file impedit2.cxx.
Referenced by InsertTextObject().
Definition at line 2864 of file impedit2.cxx.
Referenced by InsertTextObject().
|
private |
Definition at line 2312 of file impedit3.cxx.
References vcl::text::BiDiRtl, EditPaM::GetIndex(), OutputDevice::GetLayoutMode(), EditPaM::GetNode(), GetRefDevice(), GetSelected(), ContentNode::GetString(), isAinChar, isAlefChar, isBehChar(), isDalChar, isFehChar, isGafChar, isHehChar, isKafChar, isLamChar, isQafChar, isRehChar, isSeenOrSadChar, isTahChar, isTehMarbutaChar, isTransparentChar(), isWawChar, isYehChar(), lcl_ConnectToPrev(), EditSelection::Max(), EditSelection::Min(), pos, SAL_WARN_IF, SelectWord(), EditPaM::SetIndex(), OutputDevice::SetLayoutMode(), OutputDevice::ValidateKashidas(), and WordRight().
Referenced by ImpAdjustBlocks().
Reference< XSpellAlternatives > ImpEditEngine::ImpFindNextError | ( | EditSelection & | rSelection | ) |
Definition at line 1878 of file impedit4.cxx.
References CreateEPaM(), ErrorFound, ContentNode::GetChar(), EditPaM::GetIndex(), GetLanguage(), EditPaM::GetNode(), GetSelected(), ContentNode::Len(), EditSelection::Max(), EditSelection::Min(), editeng::LanguageSpan::nLang, pSpellInfo, SelectWord(), EditPaM::SetIndex(), WordRight(), and xSpeller.
Referenced by SpellSentence().
|
private |
Definition at line 2886 of file impedit2.cxx.
|
private |
Definition at line 2911 of file impedit2.cxx.
|
private |
Definition at line 2922 of file impedit2.cxx.
Referenced by InsertParagraph(), InsertTextObject(), ReadText(), and SplitContent().
|
private |
Definition at line 2715 of file impedit2.cxx.
Referenced by ApplyChangedSentence(), Command(), InsertText(), PasteText(), ReadText(), SetText(), and StartSearchAndReplace().
|
private |
Definition at line 4676 of file impedit3.cxx.
References ExtraPortionInfo::bCompressed, ExtraPortionInfo::bFirstCharIsRightPunktuation, DBG_ASSERT, GetAsianCompressionMode(), ContentNode::GetChar(), GetCharTypeForCompression(), TextPortion::GetExtraInfos(), GetI18NScriptType(), TextPortion::GetLen(), TextPortion::GetSize(), i, Kana, n, ExtraPortionInfo::nAsianCompressionTypes, ExtraPortionInfo::nMaxCompression100thPercent, ExtraPortionInfo::nOrgWidth, Normal, ExtraPortionInfo::nPortionOffsetX, nType, ExtraPortionInfo::nWidthFullCompression, ExtraPortionInfo::pOrgDXArray, PunctuationLeft, PunctuationRight, ExtraPortionInfo::SaveOrgDXArray(), TextPortion::SetExtraInfos(), TextPortion::setWidth(), and Size::Width().
Referenced by CreateLines(), and ImplExpandCompressedPortions().
|
staticprivate |
Definition at line 4541 of file impedit3.cxx.
References SvtCTLOptions::GetCTLTextNumerals(), AllSettings::GetLanguageTag(), LanguageTag::getLanguageType(), Application::GetSettings(), utl::ConfigManager::IsFuzzing(), LANGUAGE_ARABIC_SAUDI_ARABIA, LANGUAGE_ENGLISH, LANGUAGE_ENGLISH_US, SvtCTLOptions::NUMERALS_ARABIC, SvtCTLOptions::NUMERALS_HINDI, and SvtCTLOptions::NUMERALS_SYSTEM.
Referenced by ImplInitDigitMode(), and Paint().
|
private |
Definition at line 4805 of file impedit3.cxx.
References ExtraPortionInfo::bCompressed, DBG_ASSERT, EditLine::GetCharPosArray(), EditLine::GetEndPortion(), TextPortion::GetExtraInfos(), TextPortion::GetKind(), TextPortion::GetLen(), ParaPortion::GetNode(), TextPortionList::GetPos(), TextPortion::GetSize(), EditLine::GetStart(), EditLine::GetStartPortion(), TextPortionList::GetStartPos(), ParaPortion::GetTextPortions(), ImplCalcAsianCompression(), ExtraPortionInfo::nOrgWidth, ExtraPortionInfo::pOrgDXArray, TextPortion::setWidth(), TEXT, and Size::Width().
Referenced by CreateLines().
|
private |
Definition at line 4627 of file impedit3.cxx.
References xBI.
Referenced by Convert(), CreateLines(), CursorLeft(), CursorRight(), EndOfWord(), ImpBreakLine(), InitScriptTypes(), IsInputSequenceCheckingRequired(), SelectSentence(), SelectWord(), StartOfWord(), TransliterateText(), WordLeft(), and WordRight().
|
private |
Definition at line 4637 of file impedit3.cxx.
References xISC.
|
private |
Definition at line 3095 of file impedit4.cxx.
References Count, GetEditDoc(), and GetObject().
Referenced by SetAddExtLeading(), SetAsianCompressionMode(), and SetKernAsianPunctuation().
|
staticprivate |
Definition at line 4575 of file impedit3.cxx.
References ImplCalcDigitLang(), and OutputDevice::SetDigitLanguage().
Referenced by CalcLineWidth(), CreateLines(), ImplInitLayoutMode(), Paint(), and SplitTextPortion().
|
private |
Definition at line 4580 of file impedit3.cxx.
References vcl::text::BiDiRtl, vcl::text::BiDiStrong, GetEditDoc(), GetI18NScriptType(), AllSettings::GetLanguageTag(), LanguageTag::getLanguageType(), OutputDevice::GetLayoutMode(), EditDoc::GetObject(), GetRightToLeft(), Application::GetSettings(), HasScriptType(), ImplInitDigitMode(), IsRightToLeft(), nIndex, OutputDevice::SetLayoutMode(), and vcl::text::TextOriginLeft.
Referenced by CalcLineWidth(), CreateLines(), and Paint().
|
private |
Definition at line 4873 of file impedit3.cxx.
References Count, EditLine::GetHeight(), ParaPortion::GetLines(), GetParaPortions(), mnOverflowingLine, and SAL_INFO.
Referenced by ImplUpdateOverflowingParaNum().
|
private |
Definition at line 4854 of file impedit3.cxx.
References ParaPortionList::Count(), ParaPortion::GetHeight(), GetParaPortions(), ImplUpdateOverflowingLineNum(), mnOverflowingPara, and SAL_INFO.
Referenced by CheckPageOverflow().
|
private |
Definition at line 2149 of file impedit2.cxx.
References aBeginMovingParagraphsHdl, aEditDoc, aEndMovingParagraphsHdl, ParaPortionList::Append(), CalcHeight(), Link< typename Arg, typename Ret >::Call(), Count, ParaPortionList::Count(), ParaPortionList::DbgCheck(), EE_NOTIFY_PARAGRAPHSMOVED, EE_PARA_NOT_FOUND, GetNotifyHdl(), GetParaPortions(), ParaPortionList::GetPos(), EditDoc::GetStartPaM(), i, EditDoc::Insert(), ParaPortionList::Insert(), InsertUndo(), IsInUndo(), IsUndoEnabled(), EditSelection::Max(), Range::Max(), EditSelection::Min(), Range::Min(), Range::Normalize(), EENotify::nParagraph, EENotify::nParam1, EENotify::nParam2, pEditEngine, ParaPortionList::Release(), EditDoc::Release(), ParaPortionList::SafeGetObject(), EditPaM::SetIndex(), EditDoc::SetModified(), and EditPaM::SetNode().
Referenced by MoveParagraphs().
|
private |
Definition at line 2122 of file impedit2.cxx.
References aEditDoc, aStr, ContentNode::Copy(), CreateAttribUndo(), CreateEPaM(), CharAttribList::GetAttribs(), ContentNode::GetCharAttribs(), GetEmptyItemSet(), EditCharAttrib::GetEnd(), EditPaM::GetIndex(), EditPaM::GetNode(), EditCharAttrib::GetStart(), InsertUndo(), IsInUndo(), IsUndoEnabled(), EditSelection::Max(), pEditEngine, EditDoc::RemoveChars(), and EditPaM::SetIndex().
|
private |
Definition at line 2506 of file impedit2.cxx.
bool ImpEditEngine::ImpSearch | ( | const SvxSearchItem & | rSearchItem, |
const EditSelection & | rSearchSelection, | ||
const EditPaM & | rStartPos, | ||
EditSelection & | rFoundSel | ||
) |
Definition at line 2564 of file impedit4.cxx.
References aEditDoc, EditDoc::Count(), SvxSearchItem::GetBackward(), ContentNode::GetExpandedLen(), ContentNode::GetExpandedText(), EditPaM::GetIndex(), GetLocale(), EditPaM::GetNode(), EditDoc::GetObject(), EditDoc::GetPos(), SvxSearchItem::GetSearchOptions(), SvxSearchItem::GetSelection(), i18nutil::SearchOptions2::Locale, EditSelection::Max(), EditSelection::Min(), utl::TextSearch::SearchBackward(), utl::TextSearch::SearchForward(), EditPaM::SetIndex(), EditPaM::SetNode(), and ContentNode::UnExpandPositions().
Referenced by HasText(), Search(), and StartSearchAndReplace().
Definition at line 1813 of file impedit4.cxx.
References aEditDoc, SvxSpellWrapper::CheckSpellLang(), EditDoc::Count(), CreateEPaM(), DBG_ASSERT, ErrorFound, ContentNode::GetChar(), EditPaM::GetIndex(), GetLanguage(), EditPaM::GetNode(), EditDoc::GetObject(), GetSelected(), ContentNode::Len(), EditSelection::Max(), EditSelection::Min(), editeng::LanguageSpan::nLang, EditView::pImpEditView, pSpellInfo, SelectWord(), EditPaM::SetIndex(), EditView::ShowCursor(), WordRight(), and xSpeller.
Referenced by EditSpellWrapper::SpellContinue().
|
private |
Definition at line 230 of file impedit2.cxx.
References aEditDoc, bFormatted, EditDoc::Clear(), EditDoc::Count(), ContentNode::CreateWrongList(), DoOnlineSpelling(), EE_PARA_ALL, SfxListener::EndListening(), GetEditEnginePtr(), EditDoc::GetObject(), GetParaPortions(), GetStatus(), GetStyleSheet(), ParaPortionList::Insert(), IsCallParaInsertedOrDeleted(), n, EditEngine::ParagraphDeleted(), EditEngine::ParagraphInserted(), EditDoc::RemoveText(), and ParaPortionList::Reset().
Referenced by Clear(), ImpEditEngine(), and RemoveText().
|
private |
Definition at line 1661 of file impedit2.cxx.
References ParaPortion::aScriptInfos, ParaPortion::aWritingDirectionInfos, EE_FEATURE_FIELD(), CharAttribList::FindNextAttrib(), ContentNode::GetCharAttribs(), GetDefaultLanguage(), EditCharAttrib::GetEnd(), SvtLanguageOptions::GetI18NScriptTypeOfLanguage(), ParaPortion::GetNode(), GetParaPortions(), EditCharAttrib::GetStart(), ContentNode::GetString(), unicode::getUnicodeType(), ImplGetBreakIterator(), InitWritingDirections(), lcl_HasStrongLTR(), ContentNode::Len(), nPos, nType, and ParaPortionList::SafeGetObject().
Referenced by CreateTextPortions(), GetI18NScriptType(), GetItemScriptType(), HasScriptType(), and IsScriptChange().
void ImpEditEngine::InitWritingDirections | ( | sal_Int32 | nPara | ) |
Definition at line 1957 of file impedit2.cxx.
References ParaPortion::aWritingDirectionInfos, ParaPortion::GetNode(), GetParaPortions(), ContentNode::GetString(), IsRightToLeft(), ContentNode::Len(), mbFuzzing, nCount, and ParaPortionList::SafeGetObject().
Referenced by GetRightToLeft(), and InitScriptTypes().
|
private |
Definition at line 4117 of file impedit3.cxx.
References aEditDoc, DBG_ASSERT, GetEditEnginePtr(), GetParaPortions(), EditDoc::Insert(), ParaPortionList::Insert(), IsCallParaInsertedOrDeleted(), IsInUndo(), nPos, and EditEngine::ParagraphInserted().
EditPaM ImpEditEngine::InsertField | ( | const EditSelection & | rCurSel, |
const SvxFieldItem & | rFld | ||
) |
Definition at line 3044 of file impedit2.cxx.
EditPaM ImpEditEngine::InsertLineBreak | ( | const EditSelection & | aEditSelection | ) |
Definition at line 3108 of file impedit2.cxx.
EditPaM ImpEditEngine::InsertParaBreak | ( | const EditSelection & | rEditSelection | ) |
Definition at line 3015 of file impedit2.cxx.
EditPaM ImpEditEngine::InsertParagraph | ( | sal_Int32 | nPara | ) |
Definition at line 4381 of file impedit3.cxx.
References Count, GetEditDoc(), EditDoc::GetObject(), ImpInsertParaBreak(), and ContentNode::Len().
EditPaM ImpEditEngine::InsertTab | ( | const EditSelection & | rEditSelection | ) |
Definition at line 3038 of file impedit2.cxx.
EditPaM ImpEditEngine::InsertText | ( | const EditSelection & | aCurEditSelection, |
const OUString & | rStr | ||
) |
EditSelection ImpEditEngine::InsertText | ( | const EditTextObject & | rTextObject, |
EditSelection | aSel | ||
) |
Definition at line 1161 of file impedit4.cxx.
References EditSelection::Adjust(), aEditDoc, EditSelection::HasRange(), ImpDeleteSelection(), InsertTextObject(), and EditSelection::Max().
|
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().
EditPaM ImpEditEngine::InsertTextUserInput | ( | const EditSelection & | rCurEditSelection, |
sal_Unicode | c, | ||
bool | bOverwrite | ||
) |
Definition at line 2613 of file impedit2.cxx.
|
private |
Definition at line 264 of file impedit5.cxx.
Referenced by ImpConnectParagraphs(), ImpMoveParagraphs(), ImpRemoveChars(), SetStyleSheet(), and TransliterateText().
void ImpEditEngine::InvalidateFromParagraph | ( | sal_Int32 | nFirstInvPara | ) |
Definition at line 4255 of file impedit3.cxx.
References ParaPortion::GetNode(), GetParaPortions(), ContentNode::Len(), ParaPortion::MarkInvalid(), ParaPortion::MarkSelectionInvalid(), and ParaPortion::ResetHeight().
Referenced by MoveParagraphs().
|
inline |
Definition at line 1159 of file impedit.hxx.
References bAddExtLeading.
Referenced by RecalcFormatterFontMetrics(), and SetAddExtLeading().
|
inlineprivate |
Definition at line 791 of file impedit.hxx.
References bUseAutoColor.
Referenced by Paint(), and SeekCursor().
|
inline |
Definition at line 914 of file impedit.hxx.
References bCallParaInsertedOrDeleted.
Referenced by FormatDoc(), ImpConnectParagraphs(), InitDoc(), and InsertContent().
|
inline |
Definition at line 856 of file impedit.hxx.
References GetEditDoc(), and EditDoc::IsEffectivelyVertical().
Referenced by adjustXDirectionAware(), adjustYDirectionAware(), CalcVertLineSpacing(), CheckAutoPageSize(), CreateLines(), FormatDoc(), getBottomDocOffset(), GetColumnWidth(), getHeightDirectionAware(), getTopLeftDocOffset(), getWidthDirectionAware(), getYOverflowDirectionAware(), IsRightToLeft(), isXOverflowDirectionAware(), MoveCursor(), Paint(), setScale(), SetVertical(), setXDirectionAwareFrom(), and setYDirectionAwareFrom().
|
inline |
Definition at line 1174 of file impedit.hxx.
References bFirstWordCapitalization.
|
inline |
Definition at line 867 of file impedit.hxx.
References GetEditDoc(), and EditDoc::IsFixedCellHeight().
Referenced by CreateAndInsertEmptyLine(), CreateLines(), RecalcFormatterFontMetrics(), and SetFixedCellHeight().
|
inlineprivate |
|
inline |
Definition at line 916 of file impedit.hxx.
References bFormatted.
Referenced by CalcParaWidth(), CalcTextWidth(), CheckIdleFormatter(), Command(), CreateTextObject(), GetTextHeight(), GetTextHeightNTP(), Paint(), SetFixedCellHeight(), SetRefDevice(), SetRefMapMode(), SetRotation(), SetTextColumns(), SetVertical(), UpdateViews(), and WriteRTF().
|
inline |
Definition at line 917 of file impedit.hxx.
References bIsFormatting.
Referenced by CalcParaWidth(), CalcTextWidth(), FormatDoc(), GetTextHeight(), GetTextHeightNTP(), and UpdateViews().
bool ImpEditEngine::IsInputSequenceCheckingRequired | ( | sal_Unicode | nChar, |
const EditSelection & | rCurSel | ||
) | const |
Definition at line 1631 of file impedit2.cxx.
References EditPaM::GetIndex(), ImplGetBreakIterator(), SvtCTLOptions::IsCTLFontEnabled(), SvtCTLOptions::IsCTLSequenceChecking(), EditSelection::Max(), and EditSelection::Min().
|
inline |
Definition at line 982 of file impedit.hxx.
References bInSelection.
|
inline |
Definition at line 911 of file impedit.hxx.
References bIsInUndo.
Referenced by FormatAndLayout(), ImpConnectParagraphs(), ImpMoveParagraphs(), ImpRemoveChars(), InsertContent(), Paint(), SetStyleSheet(), ShowParagraph(), SplitContent(), and TransliterateText().
|
inline |
Definition at line 1151 of file impedit.hxx.
References bKernAsianPunctuation.
Referenced by SeekCursor().
|
inline |
Definition at line 978 of file impedit.hxx.
References aEditDoc, and EditDoc::IsModified().
|
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.
bool ImpEditEngine::IsPageOverflow | ( | ) | const |
Definition at line 387 of file impedit3.cxx.
References mbNeedsChainingHandling.
|
inline |
Definition at line 1179 of file impedit.hxx.
References mbReplaceLeadingSingleQuotationMark.
bool ImpEditEngine::IsRightToLeft | ( | sal_Int32 | nPara | ) | const |
Definition at line 2006 of file impedit2.cxx.
References Default, EE_PARA_WRITINGDIR(), Environment, SfxItemSet::Get(), GetDefaultHorizontalTextDirection(), GetEmptyItemSet(), GetParaAttrib(), SfxEnumItem< typename EnumT >::GetValue(), Horizontal_RL_TB, IsEffectivelyVertical(), and R2L.
Referenced by CreateLines(), CursorVisualLeftRight(), CursorVisualStartEnd(), GetJustification(), HasDifferentRTLLevels(), ImplInitLayoutMode(), InitWritingDirections(), and MoveCursor().
|
private |
Definition at line 1909 of file impedit2.cxx.
References ParaPortion::aScriptInfos, GetEditDoc(), EditPaM::GetIndex(), EditPaM::GetNode(), GetParaPortions(), EditDoc::GetPos(), InitScriptTypes(), ContentNode::Len(), nPos, and ParaPortionList::SafeGetObject().
Referenced by CreateLines(), RecalcTextPortion(), and WriteRTF().
|
private |
Definition at line 3345 of file impedit2.cxx.
References GetLineXPosStartEnd(), GetPortionAndLine(), Range::Max(), Range::Min(), nBorder, and Point::X().
|
inline |
Definition at line 857 of file impedit.hxx.
References GetEditDoc(), and EditDoc::IsTopToBottom().
Referenced by adjustXDirectionAware(), adjustYDirectionAware(), getBottomDocOffset(), getTopLeftDocOffset(), getYOverflowDirectionAware(), isXOverflowDirectionAware(), MoveCursor(), and Paint().
|
inline |
Definition at line 909 of file impedit.hxx.
References bUndoEnabled.
Referenced by ImpConnectParagraphs(), ImpMoveParagraphs(), ImpRemoveChars(), SetStyleSheet(), SetText(), and TransliterateText().
|
inline |
Definition at line 847 of file impedit.hxx.
References bUpdateLayout.
Referenced by ApplyChangedSentence(), CalcTextHeight(), CreateTextObject(), FormatDoc(), GetPaM(), GetTextHeight(), GetTextHeightNTP(), MoveParagraphs(), Paint(), RemoveStyleFromParagraphs(), SetStyleSheet(), SetText(), SetTextRanger(), ShowParagraph(), TransliterateText(), UpdateParagraphsWithStyleSheet(), UpdateViews(), and WriteRTF().
|
inlineoverride |
Definition at line 1022 of file impedit.hxx.
|
static |
Definition at line 4465 of file impedit2.cxx.
bool ImpEditEngine::isXOverflowDirectionAware | ( | const Point & | pt, |
const tools::Rectangle & | rectMax | ||
) | const |
Definition at line 3217 of file impedit3.cxx.
References tools::Rectangle::Bottom(), IsEffectivelyVertical(), IsTopToBottom(), pt, tools::Rectangle::Right(), and tools::Rectangle::Top().
Referenced by Paint().
void ImpEditEngine::IterateLineAreas | ( | const IterateLinesAreasFunc & | f, |
IterFlag | eOptions | ||
) |
Definition at line 3197 of file impedit2.cxx.
Referenced by Calc1ColumnTextHeight(), CalcTextHeight(), Command(), FormatDoc(), and GetPortionAndLine().
|
private |
Definition at line 3100 of file impedit4.cxx.
References n, pRefDev, and Size::Width().
Referenced by WriteItemAsRTF().
bool ImpEditEngine::MouseButtonDown | ( | const MouseEvent & | rMouseEvent, |
EditView * | pView | ||
) |
Definition at line 300 of file impedit2.cxx.
References aNewSelection, aSelEngine, SelectionEngine::CursorPosChanging(), GetAutoCompleteText(), MouseEvent::GetClicks(), EditPaM::GetNode(), GetSelEngine(), MouseEvent::IsShift(), ContentNode::Len(), EditSelection::Min(), EditView::pImpEditView, SelectWord(), SelectionEngine::SelMouseButtonDown(), SetActiveView(), SetAutoCompleteText(), EditSelectionEngine::SetCurView(), and EditView::ShowCursor().
bool ImpEditEngine::MouseButtonUp | ( | const MouseEvent & | rMouseEvent, |
EditView * | pView | ||
) |
Definition at line 599 of file impedit2.cxx.
References bInSelection, SvtSecurityOptions::CtrlClickHyperlink, EditViewCallbacks::EditViewOutputDevice(), EditEngine::FieldClicked(), MouseEvent::GetClicks(), GetEditEnginePtr(), EditView::getEditViewCallbacks(), SvxFieldItem::GetField(), EditView::GetField(), vcl::Window::GetOutDev(), MouseEvent::GetPosPixel(), comphelper::getProcessComponentContext(), GetSelEngine(), EditView::GetWindow(), EditSelection::HasRange(), comphelper::LibreOfficeKit::isActive(), MouseEvent::IsLeft(), MouseEvent::IsMod1(), MouseEvent::IsMod2(), SvtSecurityOptions::IsOptionSet(), EditView::pImpEditView, OutputDevice::PixelToLogic(), SelectionEngine::SelMouseButtonUp(), and EditSelectionEngine::SetCurView().
bool ImpEditEngine::MouseMove | ( | const MouseEvent & | rMouseEvent, |
EditView * | pView | ||
) |
Definition at line 654 of file impedit2.cxx.
References GetSelEngine(), SelectionEngine::SelMouseMove(), and EditSelectionEngine::SetCurView().
EditSelection const & ImpEditEngine::MoveCursor | ( | const KeyEvent & | rKeyEvent, |
EditView * | pEditView | ||
) |
Definition at line 805 of file impedit2.cxx.
References aNewSelection, aSelEngine, CheckIdleFormatter(), CursorDown(), CursorEndOfDoc(), CursorEndOfLine(), CursorEndOfParagraph(), CursorLeft(), CursorMoved(), SelectionEngine::CursorPosChanging(), CursorRight(), CursorStartOfDoc(), CursorStartOfLine(), CursorStartOfParagraph(), CursorUp(), CursorVisualLeftRight(), DoVisualCursorTraveling(), vcl::KeyCode::GetCode(), GetEditDoc(), KeyEvent::GetKeyCode(), EditPaM::GetNode(), comphelper::LibreOfficeKit::isActive(), IsEffectivelyVertical(), vcl::KeyCode::IsMod1(), vcl::KeyCode::IsMod2(), IsRightToLeft(), vcl::KeyCode::IsShift(), IsTopToBottom(), KEY_DOWN, KEY_END, KEY_HOME, KEY_LEFT, KEY_PAGEDOWN, KEY_PAGEUP, KEY_RIGHT, KEY_UP, KeyEvent::LogicalTextDirectionality(), PageDown(), PageUp(), EditView::pImpEditView, EditSelectionEngine::SetCurView(), WordLeft(), and WordRight().
EditSelection ImpEditEngine::MoveParagraphs | ( | Range | aParagraphs, |
sal_Int32 | nNewPos, | ||
EditView * | pCurView | ||
) |
Definition at line 4211 of file impedit3.cxx.
References aInvalidRect, aPaperSize, Count, ParaPortionList::Count(), DBG_ASSERT, GetColumnWidth(), ParaPortion::GetHeight(), GetParaPortions(), ImpMoveParagraphs(), InvalidateFromParagraph(), IsUpdateLayout(), Range::Max(), Range::Min(), Range::Normalize(), ParaPortionList::SafeGetObject(), tools::Rectangle::SetBottom(), tools::Rectangle::SetLeft(), tools::Rectangle::SetRight(), tools::Rectangle::SetTop(), and UpdateViews().
Point ImpEditEngine::MoveToNextLine | ( | Point & | rMovePos, |
tools::Long | nLineHeight, | ||
sal_Int16 & | nColumn, | ||
Point | aOrigin, | ||
tools::Long * | pnHeightNeededToNotWrap = nullptr |
||
) | const |
Definition at line 3251 of file impedit3.cxx.
References adjustXDirectionAware(), adjustYDirectionAware(), aPaperSize, GetColumnWidth(), getWidthDirectionAware(), getYOverflowDirectionAware(), mnColumns, mnColumnSpacing, nCurTextHeight, tools::Rectangle::Normalize(), and setYDirectionAwareFrom().
Referenced by Paint().
|
overrideprotectedvirtual |
Reimplemented from SfxListener.
Definition at line 144 of file impedit5.cxx.
References bDowning, Dispose(), SfxHint::GetId(), SfxStyleSheetHint::GetStyleSheet(), nId, RemoveStyleFromParagraphs(), and UpdateParagraphsWithStyleSheet().
|
delete |
Definition at line 1453 of file impedit2.cxx.
References Point::AdjustX(), Point::AdjustY(), tools::Rectangle::BottomRight(), tools::Rectangle::GetHeight(), GetPaM(), GetTextHeight(), EditView::GetVisArea(), nOnePixelInRef, PaMtoEditCursor(), Point::setY(), and Point::Y().
Referenced by MoveCursor().
Definition at line 1440 of file impedit2.cxx.
References Point::AdjustX(), Point::AdjustY(), tools::Rectangle::GetHeight(), GetPaM(), EditView::GetVisArea(), nOnePixelInRef, PaMtoEditCursor(), Point::setY(), tools::Rectangle::TopLeft(), and Point::Y().
Referenced by MoveCursor().
void ImpEditEngine::Paint | ( | ImpEditView * | pView, |
const tools::Rectangle & | rRect, | ||
OutputDevice * | pTargetDevice | ||
) |
Definition at line 4064 of file impedit3.cxx.
References adjustXDirectionAware(), adjustYDirectionAware(), tools::Rectangle::BottomLeft(), ImpEditView::DrawSelectionXOR(), ImpEditView::GetEditSelection(), vcl::Window::GetOutDev(), ImpEditView::GetOutputArea(), GetPaperSize(), ImpEditView::GetVisDocLeft(), ImpEditView::GetVisDocTop(), tools::Rectangle::GetWidth(), ImpEditView::GetWindow(), tools::Rectangle::Intersection(), IsEffectivelyVertical(), IsInUndo(), IsTopToBottom(), IsUpdateLayout(), tools::Rectangle::Left(), Paint(), tools::Rectangle::Right(), rTarget, tools::Rectangle::SetRight(), tools::Rectangle::TopLeft(), tools::Rectangle::TopRight(), Width, and Size::Width().
Referenced by Paint().
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().
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().
|
private |
Definition at line 780 of file impedit2.cxx.
References aEditDoc, bFormatted, CalcHeight(), FindParaPortion(), GetParaPortions(), EditDoc::GetPos(), EditEngine::IsInUndo(), ParaPortion::IsInvalid(), ParaPortion::MarkSelectionInvalid(), EditEngine::ParaAttribsChanged(), pEditEngine, ParaPortionList::SafeGetObject(), and EditDoc::SetModified().
Referenced by ImpConnectParagraphs(), RemoveStyleFromParagraphs(), SetStyleSheet(), and UpdateParagraphsWithStyleSheet().
|
private |
Definition at line 756 of file impedit5.cxx.
|
private |
Definition at line 3882 of file impedit2.cxx.
References aData, aNewSelection, aSeq, SotExchange::GetFormatDataFlavor(), ImpInsertText(), Read(), Rtf, TOOLS_WARN_EXCEPTION, and Xml.
void ImpEditEngine::PutSpellingToSentenceStart | ( | EditView const & | rEditView | ) |
Definition at line 2196 of file impedit4.cxx.
References EditView::pImpEditView, and pSpellInfo.
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().
|
private |
Definition at line 162 of file impedit4.cxx.
References EE_READWRITE_WRONGFORMAT, SvStream::GetError(), EditSelection::HasRange(), ImpDeleteSelection(), EditSelection::Max(), EditSelection::Min(), pEditEngine, and SvStream::SetError().
Referenced by Read().
|
private |
Definition at line 136 of file impedit4.cxx.
References aEditDoc, DBG_ASSERT, EE_READWRITE_WRONGFORMAT, SvStream::GetError(), EditDoc::GetItemPool(), SfxItemPool::GetName(), SfxItemPool::GetSecondaryPool(), EditSelection::HasRange(), ImpDeleteSelection(), EditSelection::Min(), pEditEngine, and SvStream::SetError().
Referenced by Read().
|
private |
Definition at line 109 of file impedit4.cxx.
References SvStream::GetStreamCharSet(), EditSelection::HasRange(), ImpDeleteSelection(), ImpInsertParaBreak(), ImpInsertText(), EditSelection::Max(), and SvStream::ReadByteStringLine().
Referenced by Read().
|
private |
Definition at line 126 of file impedit4.cxx.
References CreateESel(), GetEditEnginePtr(), EditSelection::HasRange(), ImpDeleteSelection(), and SvxReadXML().
Referenced by Read().
|
private |
Definition at line 3096 of file impedit3.cxx.
References DBG_ASSERT, FontMetric::GetAscent(), FontMetric::GetDescent(), SvxFont::GetEscapement(), FontMetric::GetExternalLeading(), vcl::Font::GetFontHeight(), vcl::Font::GetFontSize(), FontMetric::GetInternalLeading(), SvxFont::GetPropr(), GetVirtualDevice(), Size::Height(), ImplCalculateFontIndependentLineSpacing(), IsAddExtLeading(), IsFixedCellHeight(), FormatterFontMetric::nMaxAscent, FormatterFontMetric::nMaxDescent, OUTDEV_PRINTER, pRefDev, SvxFont::SetPhysFont(), and SvxFont::SetPropr().
Referenced by CreateAndInsertEmptyLine(), and CreateLines().
|
private |
Definition at line 2665 of file impedit3.cxx.
References Count, TextPortionList::Count(), DBG_ASSERT, ParaPortion::DbgCheckTextPortions(), ContentNode::GetCharAttribs(), TextPortion::GetKind(), TextPortion::GetLen(), ParaPortion::GetNode(), ParaPortion::GetTextPortions(), CharAttribList::HasBoundingAttrib(), HYPHENATOR, TextPortionList::Insert(), IsScriptChange(), LINEBREAK, nPos, nType, TextPortionList::Remove(), TextPortion::SetLen(), TextPortion::setWidth(), SplitTextPortion(), and TEXT.
Referenced by CreateLines().
void ImpEditEngine::Redo | ( | EditView * | pView | ) |
Definition at line 301 of file impedit5.cxx.
void ImpEditEngine::ReleaseMouse | ( | ) |
Definition at line 649 of file impedit2.cxx.
References GetSelEngine(), and SelectionEngine::ReleaseMouse().
void ImpEditEngine::RemoveCharAttribs | ( | EditSelection | aSel, |
EERemoveParaAttribsMode | eMode, | ||
sal_uInt16 | nWhich | ||
) |
Definition at line 584 of file impedit5.cxx.
void ImpEditEngine::RemoveCharAttribs | ( | sal_Int32 | nPara, |
sal_uInt16 | nWhich = 0 , |
||
bool | bRemoveFeatures = false |
||
) |
Definition at line 646 of file impedit5.cxx.
void ImpEditEngine::RemoveStyleFromParagraphs | ( | SfxStyleSheet const * | pStyle | ) |
Definition at line 129 of file impedit5.cxx.
References aEditDoc, EditDoc::Count(), FormatAndLayout(), EditDoc::GetObject(), ContentNode::GetStyleSheet(), IsUpdateLayout(), ParaAttribsChanged(), and ContentNode::SetStyleSheet().
Referenced by Notify().
|
private |
Definition at line 693 of file impedit2.cxx.
References aEditDoc, aEditViews, EditDoc::GetStartPaM(), InitDoc(), and ResetUndoManager().
Referenced by SetText().
short ImpEditEngine::ReplaceTextOnly | ( | ContentNode * | pNode, |
sal_Int32 | nCurrentStart, | ||
std::u16string_view | rText, | ||
const css::uno::Sequence< sal_Int32 > & | rOffsets | ||
) |
Definition at line 3013 of file impedit4.cxx.
References DBG_ASSERT, GetEditDoc(), EditDoc::InsertText(), ContentNode::Len(), n, EditDoc::RemoveChars(), and ContentNode::SetChar().
Referenced by TransliterateText().
|
private |
Definition at line 277 of file impedit5.cxx.
Referenced by Clear(), RemoveText(), and SetText().
|
private |
Definition at line 3108 of file impedit4.cxx.
References o3tl::convert(), basegfx::fround(), mbRoundToNearestPt, o3tl::mm100, and o3tl::pt.
Referenced by SeekCursor().
|
inlineprivate |
Definition at line 767 of file impedit.hxx.
References aStatus, InternalEditStatus::DoStretch(), mfFontScaleX, and mfFontScaleY.
Referenced by CreateLines().
|
inlineprivate |
Definition at line 743 of file impedit.hxx.
References aStatus, InternalEditStatus::DoStretch(), and mfSpacingScaleX.
Referenced by CalcParaWidth(), CreateAndInsertEmptyLine(), and CreateLines().
|
inlineprivate |
Definition at line 759 of file impedit.hxx.
References aStatus, InternalEditStatus::DoStretch(), and mfFontScaleY.
|
inlineprivate |
Definition at line 751 of file impedit.hxx.
References aStatus, InternalEditStatus::DoStretch(), and mfSpacingScaleY.
Referenced by CalcVertLineSpacing(), CreateLines(), and Paint().
bool ImpEditEngine::Search | ( | const SvxSearchItem & | rSearchItem, |
EditView * | pView | ||
) |
Definition at line 2532 of file impedit4.cxx.
References EditSelection::Adjust(), aEditDoc, SvxSearchItem::GetBackward(), SvxSearchItem::GetSelection(), ImpSearch(), EditSelection::Max(), EditSelection::Min(), EditView::pImpEditView, and EditView::ShowCursor().
Referenced by StartSearchAndReplace().
|
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().
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.
|
private |
Definition at line 1609 of file impedit2.cxx.
References EditPaM::GetIndex(), GetLocale(), EditPaM::GetNode(), ContentNode::GetString(), ImplGetBreakIterator(), ContentNode::Len(), EditSelection::Max(), EditSelection::Min(), and EditPaM::SetIndex().
Referenced by SpellSentence(), and TransliterateText().
|
private |
Definition at line 1576 of file impedit2.cxx.
References EditPaM::GetIndex(), GetLocale(), EditPaM::GetNode(), ContentNode::GetString(), ImplGetBreakIterator(), ContentNode::Len(), EditSelection::Max(), EditSelection::Min(), nType, and EditPaM::SetIndex().
Referenced by Convert(), DoOnlineSpelling(), HasSpellErrors(), ImpFindKashidas(), ImpFindNextError(), ImpSpell(), MouseButtonDown(), StartThesaurus(), and TransliterateText().
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().
void ImpEditEngine::SetAddExtLeading | ( | bool | b | ) |
Definition at line 3081 of file impedit4.cxx.
References bAddExtLeading, FormatFullDoc(), ImplHasText(), IsAddExtLeading(), and UpdateViews().
void ImpEditEngine::SetAllMisspellRanges | ( | const std::vector< editeng::MisspellRanges > & | rRanges | ) |
Definition at line 1379 of file impedit4.cxx.
References ContentNode::CreateWrongList(), GetEditDoc(), EditDoc::GetObject(), ContentNode::GetWrongList(), and WrongList::SetRanges().
void ImpEditEngine::SetAsianCompressionMode | ( | CharCompressType | n | ) |
Definition at line 3055 of file impedit4.cxx.
References FormatFullDoc(), ImplHasText(), n, nAsianCompressionMode, and UpdateViews().
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().
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().
|
inlineprivate |
Definition at line 784 of file impedit.hxx.
References maBackgroundColor.
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.
|
inline |
Definition at line 913 of file impedit.hxx.
References bCallParaInsertedOrDeleted.
|
inline |
Definition at line 869 of file impedit.hxx.
References eDefaultHorizontalTextDirection.
|
inline |
Definition at line 1055 of file impedit.hxx.
References eDefLanguage.
|
inline |
Definition at line 1109 of file impedit.hxx.
References pTextObjectPool.
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.
|
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.
void ImpEditEngine::SetFixedCellHeight | ( | bool | bUseFixedCellHeight | ) |
Definition at line 2846 of file impedit3.cxx.
References FormatFullDoc(), GetActiveView(), GetEditDoc(), IsFixedCellHeight(), IsFormatted(), EditDoc::SetFixedCellHeight(), and UpdateViews().
void ImpEditEngine::SetFlatMode | ( | bool | bFlat | ) |
Definition at line 4433 of file impedit3.cxx.
References aEditDoc, aStatus, EditDoc::CreateDefFont(), FormatFullDoc(), pActiveView, EditView::ShowCursor(), InternalEditStatus::TurnOffFlags(), InternalEditStatus::TurnOnFlags(), UpdateViews(), InternalEditStatus::UseCharAttribs(), and USECHARATTRIBS.
|
static |
Definition at line 4460 of file impedit2.cxx.
Referenced by EditEngine::SetForbiddenCharsTable().
|
inline |
Definition at line 1047 of file impedit.hxx.
References xHyphenator.
void ImpEditEngine::SetKernAsianPunctuation | ( | bool | b | ) |
Definition at line 3068 of file impedit4.cxx.
References bKernAsianPunctuation, FormatFullDoc(), ImplHasText(), and UpdateViews().
void ImpEditEngine::SetLanguageAndFont | ( | const ESelection & | rESel, |
LanguageType | nLang, | ||
sal_uInt16 | nLangWhichId, | ||
const vcl::Font * | pFont, | ||
sal_uInt16 | nFontWhichId | ||
) |
Definition at line 1612 of file impedit4.cxx.
References DBG_ASSERT, SfxItemSet::Get(), vcl::Font::GetCharSet(), EditView::GetEmptyItemSet(), vcl::Font::GetFamilyName(), vcl::Font::GetFamilyType(), vcl::Font::GetPitch(), EditView::GetSelection(), vcl::Font::GetStyleName(), pActiveView, SfxItemSet::Put(), EditView::SetAttribs(), SvxFontItem::SetCharSet(), SvxFontItem::SetFamily(), SvxFontItem::SetFamilyName(), SvxFontItem::SetPitch(), EditView::SetSelection(), and SvxFontItem::SetStyleName().
Referenced by ImpConvert().
|
inline |
Definition at line 1187 of file impedit.hxx.
References aLOKSpecialPaperSize.
|
inline |
Definition at line 885 of file impedit.hxx.
References aMaxAutoPaperSize.
|
inline |
Definition at line 882 of file impedit.hxx.
References aMinAutoPaperSize.
|
inline |
Definition at line 887 of file impedit.hxx.
References mnMinColumnWrapHeight.
|
inline |
Definition at line 979 of file impedit.hxx.
References aEditDoc, and EditDoc::SetModified().
Referenced by TransliterateText().
|
inline |
Definition at line 980 of file impedit.hxx.
References aModifyHdl.
Definition at line 996 of file impedit.hxx.
References aNotifyHdl.
|
inline |
Definition at line 853 of file impedit.hxx.
References aPaperSize.
void ImpEditEngine::SetParaAttribs | ( | sal_Int32 | nPara, |
const SfxItemSet & | rSet | ||
) |
Definition at line 679 of file impedit5.cxx.
Referenced by InsertTextObject().
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().
void ImpEditEngine::SetRefMapMode | ( | const MapMode & | rMapMode | ) |
Definition at line 210 of file impedit2.cxx.
References VclPtr< class reference_type >::Create(), VclPtr< class reference_type >::disposeAndClear(), FormatFullDoc(), GetRefDevice(), IsFormatted(), mpOwnDev, nOnePixelInRef, pRefDev, SetRefDevice(), and UpdateViews().
|
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.
void ImpEditEngine::SetRotation | ( | TextRotation | nRotation | ) |
Definition at line 2812 of file impedit3.cxx.
References aStatus, EditDoc::CreateDefFont(), FormatFullDoc(), GetActiveView(), EditStatus::GetControlWord(), GetEditDoc(), GetRotation(), IsFormatted(), EditDoc::SetRotation(), UpdateViews(), and USECHARATTRIBS.
Referenced by SetText().
|
inlineprivate |
Definition at line 775 of file impedit.hxx.
References mbRoundToNearestPt.
void ImpEditEngine::setScale | ( | double | fFontScaleX, |
double | fFontScaleY, | ||
double | fSpacingScaleX, | ||
double | fSpacingScaleY | ||
) |
Definition at line 4451 of file impedit3.cxx.
References aInvalidRect, aStatus, InternalEditStatus::DoStretch(), FormatFullDoc(), GetActiveView(), IsEffectivelyVertical(), mfFontScaleX, mfFontScaleY, mfSpacingScaleX, mfSpacingScaleY, and UpdateViews().
|
inline |
Definition at line 1043 of file impedit.hxx.
References xSpeller.
|
inline |
Definition at line 993 of file impedit.hxx.
References aStatusHdlLink.
void ImpEditEngine::SetStyleSheet | ( | EditSelection | aSel, |
SfxStyleSheet * | pStyle | ||
) |
Definition at line 47 of file impedit5.cxx.
References EditSelection::Adjust(), aEditDoc, EditPaM::GetNode(), EditDoc::GetPos(), EditSelection::Max(), EditSelection::Min(), n, SetStyleSheet(), and SetUpdateLayout().
Referenced by InsertTextObject(), and SetStyleSheet().
void ImpEditEngine::SetStyleSheet | ( | sal_Int32 | nPara, |
SfxStyleSheet * | pStyle | ||
) |
Definition at line 62 of file impedit5.cxx.
References aEditDoc, aStatus, DBG_ASSERT, InternalEditStatus::DoUndoAttribs(), SfxListener::EndListening(), FormatAndLayout(), ContentNode::GetContentAttribs(), SfxStyleSheetBase::GetFamily(), ContentAttribs::GetItems(), SfxStyleSheetBase::GetName(), EditDoc::GetObject(), EditDoc::GetPos(), ContentNode::GetStyleSheet(), GetStyleSheetPool(), ContentNode::GetWrongList(), InsertUndo(), IsInUndo(), IsUndoEnabled(), IsUpdateLayout(), ContentNode::Len(), ParaAttribsChanged(), pEditEngine, WrongList::ResetInvalidRange(), ContentNode::SetStyleSheet(), SfxListener::StartListening(), and InternalEditStatus::UseCharAttribs().
void ImpEditEngine::SetStyleSheetPool | ( | SfxStyleSheetPool * | pSPool | ) |
Definition at line 27 of file impedit5.cxx.
References pStylePool.
void ImpEditEngine::SetText | ( | const EditTextObject & | rTextObject | ) |
Definition at line 1139 of file impedit4.cxx.
References aEditDoc, DBG_ASSERT, EnableUndo(), EditTextObject::GetRotation(), EditDoc::GetStartPaM(), GetUndoManager(), EditTextObject::GetVertical(), HasUndoManager(), InsertText(), IsUndoEnabled(), IsUpdateLayout(), ResetUndoManager(), SetRotation(), SetText(), SetUpdateLayout(), and SetVertical().
void ImpEditEngine::SetText | ( | const OUString & | rText | ) |
Definition at line 708 of file impedit2.cxx.
References aEditViews, aPaperSize, EnableUndo(), GetUndoManager(), HasUndoManager(), ImpInsertText(), tools::Rectangle::Intersection(), IsUndoEnabled(), IsUpdateLayout(), nCurTextHeight, nCurTextHeightNTP, RemoveText(), and Size::Width().
Referenced by SetText().
void ImpEditEngine::SetTextColumns | ( | sal_Int16 | nColumns, |
sal_Int32 | nSpacing | ||
) |
Definition at line 2826 of file impedit3.cxx.
References FormatFullDoc(), GetActiveView(), IsFormatted(), mnColumns, mnColumnSpacing, SAL_WARN, and UpdateViews().
void ImpEditEngine::SetTextRanger | ( | std::unique_ptr< TextRanger > | pRanger | ) |
Definition at line 2780 of file impedit3.cxx.
References ParaPortionList::Count(), FormatFullDoc(), GetActiveView(), ParaPortion::GetLines(), GetParaPortions(), IsUpdateLayout(), ParaPortion::MarkSelectionInvalid(), pActiveView, pTextRanger, EditLineList::Reset(), EditView::ShowCursor(), and UpdateViews().
|
inline |
Definition at line 1300 of file impedit.hxx.
References pEditEngine, pUndoManager, and EditUndoManager::SetEditEngine().
|
inline |
Definition at line 910 of file impedit.hxx.
References bIsInUndo.
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().
|
private |
Definition at line 4433 of file impedit2.cxx.
Referenced by CheckAutoPageSize().
void ImpEditEngine::SetVertical | ( | bool | bVertical | ) |
Definition at line 2797 of file impedit3.cxx.
References aStatus, EditDoc::CreateDefFont(), FormatFullDoc(), GetActiveView(), EditStatus::GetControlWord(), GetEditDoc(), IsEffectivelyVertical(), IsFormatted(), EditDoc::SetVertical(), UpdateViews(), and USECHARATTRIBS.
Referenced by SetText().
Definition at line 3188 of file impedit3.cxx.
References IsEffectivelyVertical(), Point::setX(), Point::setY(), Point::X(), and Point::Y().
Referenced by Paint().
Definition at line 3196 of file impedit3.cxx.
References IsEffectivelyVertical(), Point::setX(), Point::setY(), and Point::Y().
Referenced by MoveToNextLine().
|
private |
Definition at line 4163 of file impedit3.cxx.
References aDeletedNodes, aInvalidRect, CalcHeight(), CreateLines(), DBG_ASSERT, GetActiveView(), ParaPortion::GetHeight(), ParaPortion::GetNode(), GetPaperSize(), GetParaPortions(), GetTextRanger(), IsInUndo(), ParaPortion::IsInvalid(), IsUpdateLayout(), ParaPortion::IsVisible(), nCurTextHeight, ParaPortion::nHeight, ParaPortionList::SafeGetObject(), ParaPortion::SetMustRepaint(), ParaPortion::SetVisible(), UpdateSelections(), UpdateViews(), and Width.
EESpellState ImpEditEngine::Spell | ( | EditView * | pEditView, |
weld::Widget * | pDialogParent, | ||
bool | bMultipleDoc | ||
) |
Definition at line 1448 of file impedit4.cxx.
References aEditDoc, aOnlineSpellTimer, CreateEPaM(), CreateSpellInfo(), EditPaM::GetIndex(), EditPaM::GetNode(), EditDoc::GetStartPaM(), ContentNode::Len(), EditSelection::Max(), EditSelection::Min(), NoSpeller, EditView::pImpEditView, pSpellInfo, SAL_WARN_IF, EditPaM::SetIndex(), EditView::ShowCursor(), SvxSpellWrapper::SpellDocument(), Task::Stop(), and xSpeller.
bool ImpEditEngine::SpellSentence | ( | EditView const & | rView, |
svx::SpellPortions & | rToFill | ||
) |
Definition at line 1922 of file impedit4.cxx.
References AddPortionIterated(), aEditDoc, EditDoc::Count(), CreateSpellInfo(), DBG_ASSERT, EditPaM::GetIndex(), EditDoc::GetObject(), EditSelection::HasRange(), ImpFindNextError(), ContentNode::Len(), EditSelection::Max(), EditSelection::Min(), EditView::pImpEditView, pSpellInfo, SelectSentence(), and xSpeller.
|
private |
Definition at line 4127 of file impedit3.cxx.
References aEditDoc, DBG_ASSERT, EditDoc::GetObject(), ImpInsertParaBreak(), and IsInUndo().
|
private |
Definition at line 2504 of file impedit3.cxx.
References ExtraPortionInfo::bCompressed, TextPortionList::Count(), DBG_ASSERT, ContentNode::GetCharAttribs(), EditLine::GetCharPosArray(), CharAttribList::GetDefFont(), TextPortion::GetExtraInfos(), TextPortion::GetKind(), vcl::Font::GetLanguage(), TextPortion::GetLen(), ParaPortion::GetNode(), GetRefDevice(), EditLine::GetStart(), TextPortionList::GetStartPos(), ContentNode::GetString(), ParaPortion::GetTextPortions(), ImplInitDigitMode(), TextPortionList::Insert(), ExtraPortionInfo::nOrgWidth, nPos, OutputDevice::Pop(), OutputDevice::Push(), SvxFont::QuickGetTextSize(), SeekCursor(), TextPortion::SetLen(), SvxFont::SetPhysFont(), TextPortion::setWidth(), TEXT, vcl::TEXTLANGUAGE, and Size::Width().
Referenced by CreateLines(), ImpBreakLine(), and RecalcTextPortion().
Definition at line 1535 of file impedit2.cxx.
References EditPaM::GetIndex(), GetLocale(), EditPaM::GetNode(), ContentNode::GetString(), ImplGetBreakIterator(), ContentNode::Len(), and EditPaM::SetIndex().
Referenced by DeleteLeftOrRight().
|
inline |
Definition at line 1138 of file impedit.hxx.
References aOnlineSpellTimer, and Timer::Start().
Referenced by FormatDoc().
sal_Int32 ImpEditEngine::StartSearchAndReplace | ( | EditView * | pEditView, |
const SvxSearchItem & | rSearchItem | ||
) |
Definition at line 2468 of file impedit4.cxx.
References EditSelection::Adjust(), aEditDoc, EDITUNDO_REPLACEALL, FormatAndLayout(), SvxSearchItem::GetCommand(), EditPaM::GetIndex(), EditPaM::GetNode(), SvxSearchItem::GetReplaceString(), SvxSearchItem::GetSelection(), EditDoc::GetStartPaM(), EditSelection::HasRange(), ImpInsertText(), ImpSearch(), EditView::InsertText(), ContentNode::Len(), EditSelection::Max(), EditSelection::Min(), EditView::pImpEditView, Search(), SvxSearchItem::SetBackward(), EditPaM::SetIndex(), EditView::ShowCursor(), UndoActionEnd(), and UndoActionStart().
EESpellState ImpEditEngine::StartThesaurus | ( | EditView * | pEditView, |
weld::Widget * | pDialogParent | ||
) |
Definition at line 2441 of file impedit4.cxx.
References EditAbstractDialogFactory::Create(), EditAbstractDialogFactory::CreateThesaurusDialog(), ErrorFound, GetLanguage(), GetSelected(), LinguMgr::GetThesaurus(), EditSelection::HasRange(), EditView::InsertText(), EditSelection::Max(), editeng::LanguageSpan::nLang, Ok, EditView::pImpEditView, RET_OK, SelectWord(), and EditView::ShowCursor().
|
inline |
Definition at line 1139 of file impedit.hxx.
References aOnlineSpellTimer, and Task::Stop().
|
private |
Definition at line 768 of file impedit2.cxx.
References bFormatted, Link< typename Arg, typename Ret >::Call(), EE_NOTIFY_TEXTMODIFIED, and GetNotifyHdl().
Referenced by ImpConnectParagraphs(), and TransliterateText().
EditSelection ImpEditEngine::TransliterateText | ( | const EditSelection & | rSelection, |
TransliterationFlags | nTransliterationMode | ||
) |
In order to have less trouble with changing text size, e.g. because of ligatures or German small sz being resolved, we need to process the text replacements from end to start. This way the offsets for the yet to be changed words will be left unchanged by the already replaced text. For this we temporarily save the changes to be done in this vector
Definition at line 2674 of file impedit4.cxx.
References EditSelection::Adjust(), aEditDoc, ContentNode::Copy(), CreateESel(), CreateTextObject(), DBG_ASSERT, FormatAndLayout(), ContentNode::GetCharAttribs(), EditPaM::GetIndex(), GetLanguage(), GetLocale(), EditPaM::GetNode(), EditDoc::GetObject(), GetParaPortions(), EditDoc::GetPos(), GetSelected(), ContentNode::GetString(), CharAttribList::HasAttrib(), EditSelection::HasRange(), i, ImplGetBreakIterator(), InsertUndo(), IsInUndo(), IsUndoEnabled(), IsUpdateLayout(), LANGUAGE_SYSTEM, ParaPortion::MarkSelectionInvalid(), EditSelection::Max(), EditSelection::Min(), utl::TransliterationWrapper::needLanguageForTheMode(), editeng::LanguageSpan::nLang, pEditEngine, ReplaceTextOnly(), SelectSentence(), SelectWord(), EditPaM::SetIndex(), SetModifyFlag(), TextModified(), utl::TransliterationWrapper::transliterate(), and UpdateSelections().
void ImpEditEngine::Undo | ( | EditView * | pView | ) |
Definition at line 292 of file impedit5.cxx.
void ImpEditEngine::UndoActionEnd | ( | ) |
Definition at line 255 of file impedit5.cxx.
Referenced by ApplyChangedSentence(), Command(), TextConvWrapper::ReplaceUnit(), and StartSearchAndReplace().
void ImpEditEngine::UndoActionStart | ( | sal_uInt16 | nId | ) |
Definition at line 246 of file impedit5.cxx.
Referenced by ApplyChangedSentence(), Command(), TextConvWrapper::ReplaceUnit(), and StartSearchAndReplace().
void ImpEditEngine::UndoActionStart | ( | sal_uInt16 | nId, |
const ESelection & | rSel | ||
) |
Definition at line 236 of file impedit5.cxx.
bool ImpEditEngine::UpdateFields | ( | ) |
Definition at line 3049 of file impedit2.cxx.
Referenced by InsertTextObject().
void ImpEditEngine::UpdateParagraphsWithStyleSheet | ( | SfxStyleSheet * | pStyle | ) |
Definition at line 99 of file impedit5.cxx.
References aEditDoc, aStatus, EditDoc::Count(), CreateFont(), FormatAndLayout(), GetEditEnginePtr(), SfxStyleSheetBase::GetItemSet(), EditDoc::GetObject(), ContentNode::GetStyleSheet(), ContentNode::GetWrongList(), IsUpdateLayout(), ContentNode::Len(), ParaAttribsChanged(), WrongList::ResetInvalidRange(), ContentNode::SetStyleSheet(), EditEngine::StyleSheetChanged(), and InternalEditStatus::UseCharAttribs().
Referenced by Notify().
void ImpEditEngine::UpdateSelections | ( | ) |
Definition at line 3709 of file impedit2.cxx.
References aDeletedNodes, aEditViews, ParaPortionList::Count(), EditPaM::GetIndex(), EditPaM::GetNode(), ParaPortion::GetNode(), DeletedNodeInfo::GetNode(), GetParaPortions(), DeletedNodeInfo::GetPosition(), ContentNode::Len(), EditSelection::Max(), EditSelection::Min(), and EditPaM::SetIndex().
Referenced by ShowParagraph(), and TransliterateText().
void ImpEditEngine::UpdateViews | ( | EditView * | pCurView = nullptr | ) |
Definition at line 316 of file impedit3.cxx.
References aEditViews, aInvalidRect, CallStatusHdl(), DBG_ASSERT, tools::Rectangle::Intersection(), tools::Rectangle::IsEmpty(), IsFormatted(), IsFormatting(), IsUpdateLayout(), EditView::pImpEditView, and EditView::ShowCursor().
Referenced by DoOnlineSpelling(), FormatAndLayout(), MoveParagraphs(), SetAddExtLeading(), SetAsianCompressionMode(), SetFixedCellHeight(), SetFlatMode(), SetKernAsianPunctuation(), SetRefDevice(), SetRefMapMode(), SetRotation(), setScale(), SetTextColumns(), SetTextRanger(), SetVertical(), and ShowParagraph().
Definition at line 1467 of file impedit2.cxx.
References aEditDoc, EditPaM::GetIndex(), GetLocale(), EditPaM::GetNode(), EditDoc::GetObject(), EditDoc::GetPos(), ContentNode::GetString(), ImplGetBreakIterator(), ContentNode::Len(), EditPaM::SetIndex(), and EditPaM::SetNode().
Referenced by DeleteLeftOrRight(), and MoveCursor().
|
private |
Definition at line 1503 of file impedit2.cxx.
References aEditDoc, EditPaM::GetIndex(), GetLocale(), EditPaM::GetNode(), EditDoc::GetObject(), EditDoc::GetPos(), ContentNode::GetString(), ImplGetBreakIterator(), ContentNode::Len(), EditPaM::SetIndex(), and EditPaM::SetNode().
Referenced by DeleteLeftOrRight(), DoOnlineSpelling(), HasSpellErrors(), ImpConvert(), ImpFindKashidas(), ImpFindNextError(), ImpSpell(), and MoveCursor().
void ImpEditEngine::Write | ( | SvStream & | rOutput, |
EETextFormat | eFormat, | ||
const EditSelection & | rSel | ||
) |
Definition at line 177 of file impedit4.cxx.
References SvStream::GetError(), Html, SvStream::IsWritable(), Rtf, SvStream::SetError(), SVSTREAM_WRITE_ERROR, Text, WriteRTF(), WriteText(), WriteXML(), and Xml.
|
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().
|
private |
Definition at line 237 of file impedit4.cxx.
References ItemList::Count(), ItemList::First(), ItemList::Next(), nPos, and WriteItemAsRTF().
Referenced by WriteRTF().
|
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().
|
private |
Definition at line 199 of file impedit4.cxx.
References EditSelection::Adjust(), aEditDoc, EditDoc::Count(), DBG_ASSERT, SvStream::GetError(), EditPaM::GetIndex(), EditPaM::GetNode(), EditDoc::GetObject(), EditDoc::GetParaAsString(), EditDoc::GetPos(), SvStream::GetStreamCharSet(), EditSelection::HasRange(), ContentNode::Len(), EditSelection::Max(), EditSelection::Min(), and SvStream::WriteByteStringLine().
Referenced by Write().
|
private |
Definition at line 266 of file impedit4.cxx.
References CreateESel(), GetEditEnginePtr(), and SvxWriteXML().
Referenced by CreateTransferable(), and Write().
|
friend |
Definition at line 488 of file impedit.hxx.
|
private |
Definition at line 554 of file impedit.hxx.
Referenced by GetAutoCompleteText(), and SetAutoCompleteText().
|
private |
Definition at line 591 of file impedit.hxx.
Referenced by ImpMoveParagraphs().
|
private |
Definition at line 593 of file impedit.hxx.
|
private |
Definition at line 564 of file impedit.hxx.
Referenced by ImpConnectParagraphs(), ShowParagraph(), and UpdateSelections().
|
private |
Definition at line 505 of file impedit.hxx.
Referenced by ApplyChangedSentence(), Clear(), ClearSpellErrors(), ConnectContents(), Convert(), ConvertSelection(), CreateAttribUndo(), CreateEditPaM(), CreateEPaM(), CreateESel(), CreateLines(), CreateSel(), CreateTextObject(), CursorEndOfDoc(), CursorMoved(), CursorStartOfDoc(), DeleteLeftOrRight(), DoOnlineSpelling(), FindParaPortion(), GetEditDoc(), GetEmptyItemSet(), GetEmptyTextObject(), GetItemScriptType(), GetRightToLeft(), GetSelected(), GetStyleSheet(), HasSpellErrors(), HasText(), ImpConnectParagraphs(), ImpDeleteSelection(), ImpEditEngine(), ImpMoveParagraphs(), ImpRemoveChars(), ImpSearch(), ImpSpell(), InitDoc(), InsertContent(), InsertText(), InsertTextObject(), IsModified(), ParaAttribsChanged(), ReadRTF(), RemoveStyleFromParagraphs(), RemoveText(), Search(), SetFlatMode(), SetModifyFlag(), SetStyleSheet(), SetText(), Spell(), SpellSentence(), SplitContent(), StartSearchAndReplace(), TransliterateText(), UpdateParagraphsWithStyleSheet(), WordLeft(), WordRight(), WriteItemAsRTF(), WriteRTF(), and WriteText().
|
private |
Definition at line 509 of file impedit.hxx.
Referenced by CheckAutoPageSize(), Clear(), DoOnlineSpelling(), FormatDoc(), GetEditViews(), RemoveText(), SetText(), UpdateSelections(), and UpdateViews().
|
private |
Definition at line 592 of file impedit.hxx.
Referenced by ImpMoveParagraphs().
|
private |
Definition at line 594 of file impedit.hxx.
|
private |
Definition at line 589 of file impedit.hxx.
|
private |
Definition at line 570 of file impedit.hxx.
Referenced by CheckIdleFormatter(), IdleFormatAndLayout(), ImpEditEngine(), and ~ImpEditEngine().
|
private |
Definition at line 565 of file impedit.hxx.
Referenced by CheckAutoPageSize(), DoOnlineSpelling(), FormatDoc(), MoveParagraphs(), setScale(), ShowParagraph(), and UpdateViews().
|
private |
Definition at line 585 of file impedit.hxx.
Referenced by GetLOKSpecialPaperSize(), and SetLOKSpecialPaperSize().
|
private |
Definition at line 503 of file impedit.hxx.
Referenced by CreateLines(), FormatDoc(), GetMaxAutoPaperSize(), and SetMaxAutoPaperSize().
|
private |
Definition at line 502 of file impedit.hxx.
Referenced by FormatDoc(), GetMinAutoPaperSize(), and SetMinAutoPaperSize().
|
private |
Definition at line 595 of file impedit.hxx.
Referenced by SetModifyHdl().
Definition at line 588 of file impedit.hxx.
Referenced by GetNotifyHdl(), and SetNotifyHdl().
|
private |
Definition at line 572 of file impedit.hxx.
Referenced by DoOnlineSpelling(), ImpEditEngine(), Spell(), StartOnlineSpellTimer(), StopOnlineSpellTimer(), and ~ImpEditEngine().
|
private |
Definition at line 501 of file impedit.hxx.
Referenced by CalcVertLineSpacing(), CheckAutoPageSize(), CreateAndInsertEmptyLine(), CreateLines(), CreateTextObject(), FormatDoc(), GetPaperSize(), GetPortionAndLine(), InsertTextObject(), MoveParagraphs(), MoveToNextLine(), SetPaperSize(), and SetText().
|
private |
Definition at line 500 of file impedit.hxx.
Referenced by GetParaPortions().
|
private |
Definition at line 590 of file impedit.hxx.
|
private |
Definition at line 531 of file impedit.hxx.
Referenced by GetSelEngine(), ImpEditEngine(), MouseButtonDown(), and MoveCursor().
|
private |
Definition at line 530 of file impedit.hxx.
Referenced by ImpEditEngine().
|
private |
Definition at line 556 of file impedit.hxx.
Referenced by CallStatusHdl(), CheckAutoPageSize(), CheckPageOverflow(), CreateAndInsertEmptyLine(), CreateLines(), CreateTextObject(), DoOnlineSpelling(), FormatDoc(), GetJustification(), GetLRSpaceItem(), GetStatus(), ImpBreakLine(), ImpCheckRefMapMode(), ImpEditEngine(), InsertTextObject(), Paint(), scaleXFontValue(), scaleXSpacingValue(), scaleYFontValue(), scaleYSpacingValue(), SeekCursor(), SetFlatMode(), SetRotation(), setScale(), SetStyleSheet(), SetVertical(), and UpdateParagraphsWithStyleSheet().
|
private |
Definition at line 587 of file impedit.hxx.
Referenced by CallStatusHdl(), GetStatusEventHdl(), and SetStatusEventHdl().
|
private |
Definition at line 584 of file impedit.hxx.
Referenced by CallStatusHdl(), DelayedCallStatusHdl(), ImpEditEngine(), and ~ImpEditEngine().
|
private |
Definition at line 528 of file impedit.hxx.
|
private |
Definition at line 600 of file impedit.hxx.
Referenced by IsAddExtLeading(), and SetAddExtLeading().
|
private |
Definition at line 610 of file impedit.hxx.
Referenced by ImpEditEngine(), IsCallParaInsertedOrDeleted(), and SetCallParaInsertedOrDeleted().
|
private |
Definition at line 607 of file impedit.hxx.
Referenced by FormatAndLayout(), Notify(), and ~ImpEditEngine().
|
private |
Definition at line 611 of file impedit.hxx.
Referenced by IsFirstWordCapitalization(), and SetFirstWordCapitalization().
|
private |
Definition at line 609 of file impedit.hxx.
Referenced by ForceAutoColor(), and IsForceAutoColor().
|
private |
Definition at line 602 of file impedit.hxx.
Referenced by FormatDoc(), InitDoc(), IsFormatted(), ParaAttribsChanged(), and TextModified().
|
private |
Definition at line 603 of file impedit.hxx.
Referenced by IsInSelectionMode(), and MouseButtonUp().
|
private |
Definition at line 601 of file impedit.hxx.
Referenced by FormatDoc(), and IsFormatting().
|
private |
Definition at line 604 of file impedit.hxx.
Referenced by IsInUndo(), and SetUndoMode().
|
private |
Definition at line 599 of file impedit.hxx.
Referenced by IsKernAsianPunctuation(), and SetKernAsianPunctuation().
|
private |
Definition at line 606 of file impedit.hxx.
Referenced by IsUndoEnabled().
|
private |
Definition at line 605 of file impedit.hxx.
Referenced by IsUpdateLayout(), and SetUpdateLayout().
|
private |
Definition at line 608 of file impedit.hxx.
Referenced by EnableAutoColor(), and IsAutoColorEnabled().
|
private |
Definition at line 543 of file impedit.hxx.
Referenced by GetDefaultHorizontalTextDirection(), and SetDefaultHorizontalTextDirection().
|
private |
Definition at line 558 of file impedit.hxx.
Referenced by GetDefaultLanguage(), and SetDefaultLanguage().
|
private |
Definition at line 533 of file impedit.hxx.
Referenced by GetBackgroundColor(), and SetBackgroundColor().
Definition at line 596 of file impedit.hxx.
Referenced by GetBeginDropHdl(), and SetBeginDropHdl().
|
private |
Definition at line 520 of file impedit.hxx.
Referenced by GetColorConfig().
Definition at line 597 of file impedit.hxx.
Referenced by GetEndDropHdl(), and SetEndDropHdl().
|
private |
Definition at line 615 of file impedit.hxx.
Referenced by InitWritingDirections().
|
private |
Definition at line 612 of file impedit.hxx.
|
private |
Definition at line 617 of file impedit.hxx.
Referenced by IsNbspRunNext().
|
private |
Definition at line 577 of file impedit.hxx.
Referenced by CheckPageOverflow(), and IsPageOverflow().
|
private |
Definition at line 613 of file impedit.hxx.
Referenced by IsReplaceLeadingSingleQuotationMark(), and SetReplaceLeadingSingleQuotationMark().
|
private |
Definition at line 539 of file impedit.hxx.
Referenced by roundToNearestPt(), and setRoundToNearestPt().
|
private |
Definition at line 614 of file impedit.hxx.
Referenced by CreateLines(), and EnableSkipOutsideFormat().
|
private |
Definition at line 535 of file impedit.hxx.
Referenced by CreateLines(), CreateTextObject(), getFontScale(), InsertTextObject(), scaleXFontValue(), SeekCursor(), and setScale().
|
private |
Definition at line 536 of file impedit.hxx.
Referenced by CreateTextObject(), getFontScale(), InsertTextObject(), scaleXFontValue(), scaleYFontValue(), SeekCursor(), and setScale().
|
private |
Definition at line 537 of file impedit.hxx.
Referenced by CreateTextObject(), getSpacingScale(), InsertTextObject(), scaleXSpacingValue(), and setScale().
|
private |
Definition at line 538 of file impedit.hxx.
Referenced by CreateLines(), CreateTextObject(), getSpacingScale(), InsertTextObject(), scaleYSpacingValue(), and setScale().
|
private |
Definition at line 579 of file impedit.hxx.
Referenced by CalcTextHeight(), GetColumnWidth(), GetPortionAndLine(), MoveToNextLine(), and SetTextColumns().
|
private |
Definition at line 580 of file impedit.hxx.
Referenced by GetColumnWidth(), GetPortionAndLine(), MoveToNextLine(), and SetTextColumns().
|
private |
Definition at line 504 of file impedit.hxx.
Referenced by CalcTextHeight(), and SetMinColumnWrapHeight().
|
private |
Definition at line 576 of file impedit.hxx.
Referenced by GetOverflowingLineNum(), and ImplUpdateOverflowingLineNum().
|
private |
Definition at line 575 of file impedit.hxx.
Referenced by ClearOverflowingParaNum(), GetOverflowingParaNum(), and ImplUpdateOverflowingParaNum().
|
private |
Definition at line 524 of file impedit.hxx.
|
private |
Definition at line 526 of file impedit.hxx.
Referenced by Clear(), Command(), CreateTextPortions(), SeekCursor(), SetActiveView(), and ~ImpEditEngine().
|
private |
Definition at line 518 of file impedit.hxx.
Referenced by Dispose(), and SetRefMapMode().
|
private |
Definition at line 541 of file impedit.hxx.
Referenced by GetAsianCompressionMode(), and SetAsianCompressionMode().
|
private |
Definition at line 545 of file impedit.hxx.
Referenced by CreateTextObject(), and GetBigTextObjectStart().
|
private |
Definition at line 566 of file impedit.hxx.
Referenced by Calc1ColumnTextHeight(), CalcTextHeight(), Clear(), FormatDoc(), GetTextHeight(), MoveToNextLine(), SetText(), and ShowParagraph().
|
private |
Definition at line 567 of file impedit.hxx.
Referenced by Clear(), FormatDoc(), GetTextHeightNTP(), and SetText().
|
private |
Definition at line 568 of file impedit.hxx.
Referenced by CursorDown(), CursorUp(), PageDown(), PageUp(), SetRefDevice(), and SetRefMapMode().
|
private |
Definition at line 510 of file impedit.hxx.
Referenced by DoOnlineSpelling(), GetActiveView(), Paint(), SetActiveView(), SetAutoCompleteText(), SetFlatMode(), SetLanguageAndFont(), and SetTextRanger().
|
private |
Definition at line 552 of file impedit.hxx.
Referenced by Convert(), GetConvInfo(), and ImpConvert().
|
private |
Definition at line 508 of file impedit.hxx.
Referenced by Command(), GetEditEnginePtr(), GetNumberFormat(), GetUndoManager(), HasConvertibleTextPortion(), ImpConnectParagraphs(), ImpConvert(), ImpMoveParagraphs(), ImpRemoveChars(), Paint(), ParaAttribsChanged(), ReadHTML(), ReadRTF(), SetStyleSheet(), SetUndoManager(), and TransliterateText().
|
mutableprivate |
Definition at line 522 of file impedit.hxx.
Referenced by GetEmptyItemSet().
|
private |
Definition at line 517 of file impedit.hxx.
Referenced by CreateAndInsertEmptyLine(), CreateLines(), GetRefDevice(), GetRefMapMode(), LogicToTwips(), RecalcFormatterFontMetrics(), SetRefDevice(), and SetRefMapMode().
|
private |
Definition at line 493 of file impedit.hxx.
Referenced by Dispose(), and SetRefDevice().
|
private |
Definition at line 548 of file impedit.hxx.
Referenced by AddPortion(), ApplyChangedSentence(), CreateSpellInfo(), GetSpellInfo(), ImpFindNextError(), ImpSpell(), PutSpellingToSentenceStart(), Spell(), SpellSentence(), and ~ImpEditEngine().
|
private |
Definition at line 513 of file impedit.hxx.
Referenced by GetStyleSheetPool(), and SetStyleSheetPool().
|
private |
Definition at line 514 of file impedit.hxx.
Referenced by GetEditTextObjectPool(), and SetEditTextObjectPool().
|
private |
Definition at line 511 of file impedit.hxx.
Referenced by GetTextRanger(), SetTextRanger(), and ~ImpEditEngine().
|
private |
Definition at line 523 of file impedit.hxx.
Referenced by GetUndoManager(), HasUndoManager(), SetUndoManager(), and ~ImpEditEngine().
|
private |
Definition at line 516 of file impedit.hxx.
Referenced by Dispose(), EraseVirtualDevice(), and GetVirtualDevice().
|
mutableprivate |
Definition at line 549 of file impedit.hxx.
Referenced by ImplGetBreakIterator().
|
private |
Definition at line 547 of file impedit.hxx.
Referenced by GetHyphenator(), ImpBreakLine(), and SetHyphenator().
|
mutableprivate |
Definition at line 550 of file impedit.hxx.
Referenced by ImplGetInputSequenceChecker().
|
private |
Definition at line 560 of file impedit.hxx.
|
private |
Definition at line 546 of file impedit.hxx.
Referenced by DoOnlineSpelling(), GetSpeller(), HasSpellErrors(), ImpFindNextError(), ImpSpell(), SetSpeller(), Spell(), and SpellSentence().
|
private |
Definition at line 561 of file impedit.hxx.