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

#include <outliner.hxx>

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

Classes

struct  DepthChangeHdlParam
 
struct  ParagraphHdlParam
 

Public Member Functions

 Outliner (SfxItemPool *pPool, OutlinerMode nMode)
 
virtual ~Outliner () override
 
void dumpAsXml (xmlTextWriterPtr pWriter) const
 
void Init (OutlinerMode nMode)
 
void SetVertical (bool bVertical)
 
void SetRotation (TextRotation nRotation)
 
bool IsVertical () const
 
bool IsTopToBottom () const
 
void SetTextColumns (sal_Int16 nColumns, sal_Int32 nSpacing)
 
void SetFixedCellHeight (bool bUseFixedCellHeight)
 
void SetDefaultHorizontalTextDirection (EEHorizontalTextDirection eHTextDir)
 
EEHorizontalTextDirection GetDefaultHorizontalTextDirection () const
 
LanguageType GetLanguage (sal_Int32 nPara, sal_Int32 nPos) const
 
void SetAsianCompressionMode (CharCompressType nCompressionMode)
 
void SetKernAsianPunctuation (bool bEnabled)
 
void SetAddExtLeading (bool b)
 
size_t InsertView (OutlinerView *pView, size_t nIndex=size_t(-1))
 
void RemoveView (OutlinerView const *pView)
 
void RemoveView (size_t nIndex)
 
OutlinerViewGetView (size_t nIndex) const
 
size_t GetViewCount () const
 
ParagraphInsert (const OUString &rText, sal_Int32 nAbsPos=EE_PARA_APPEND, sal_Int16 nDepth=0)
 
void SetText (const OutlinerParaObject &)
 
void AddText (const OutlinerParaObject &, bool bAppend=false)
 
void SetText (const OUString &rText, Paragraph *pParagraph)
 
OUString GetText (Paragraph const *pPara, sal_Int32 nParaCount=1) const
 
void SetToEmptyText ()
 
std::optional< OutlinerParaObjectCreateParaObject (sal_Int32 nStartPara=0, sal_Int32 nParaCount=EE_PARA_ALL) const
 
const SfxItemSetGetEmptyItemSet () const
 
void SetRefMapMode (const MapMode &)
 
MapMode const & GetRefMapMode () const
 
void SetBackgroundColor (const Color &rColor)
 
Color const & GetBackgroundColor () const
 
void SetMaxDepth (sal_Int16 nDepth)
 
sal_Int16 GetMaxDepth () const
 
bool SetUpdateLayout (bool bUpdate)
 
bool IsUpdateLayout () const
 
void Clear ()
 
void RemoveAttribs (const ESelection &rSelection, bool bRemoveParaAttribs, sal_uInt16 nWhich)
 
sal_Int32 GetParagraphCount () const
 
ParagraphGetParagraph (sal_Int32 nAbsPos) const
 
bool HasChildren (Paragraph const *pParagraph) const
 
sal_Int32 GetChildCount (Paragraph const *pParent) const
 
bool IsExpanded (Paragraph const *pPara) const
 
ParagraphGetParent (Paragraph const *pParagraph) const
 
sal_Int32 GetAbsPos (Paragraph const *pPara) const
 
sal_Int16 GetDepth (sal_Int32 nPara) const
 
void SetDepth (Paragraph *pParagraph, sal_Int16 nNewDepth)
 
void EnableUndo (bool bEnable)
 
bool IsUndoEnabled () const
 
void UndoActionStart (sal_uInt16 nId)
 
void UndoActionEnd ()
 
void InsertUndo (std::unique_ptr< EditUndo > pUndo)
 
bool IsInUndo () const
 
void ClearModifyFlag ()
 
bool IsModified () const
 
void ParagraphInsertedHdl (Paragraph *)
 
void SetParaInsertedHdl (const Link< ParagraphHdlParam, void > &rLink)
 
const Link< ParagraphHdlParam, void > & GetParaInsertedHdl () const
 
void SetParaRemovingHdl (const Link< ParagraphHdlParam, void > &rLink)
 
const Link< ParagraphHdlParam, void > & GetParaRemovingHdl () const
 
std::optional< NonOverflowingTextGetNonOverflowingText () const
 
std::optional< OverflowingTextGetOverflowingText () const
 
void ClearOverflowingParaNum ()
 
bool IsPageOverflow ()
 
OutlinerParaObject GetEmptyParaObject () const
 
void DepthChangedHdl (Paragraph *, ParaFlag nPrevFlags)
 
void SetDepthChangedHdl (const Link< DepthChangeHdlParam, void > &rLink)
 
const Link< DepthChangeHdlParam, void > & GetDepthChangedHdl () const
 
sal_Int16 GetPrevDepth () const
 
bool RemovingPagesHdl (OutlinerView *)
 
void SetRemovingPagesHdl (const Link< OutlinerView *, bool > &rLink)
 
bool IndentingPagesHdl (OutlinerView *)
 
void SetIndentingPagesHdl (const Link< OutlinerView *, bool > &rLink)
 
sal_Int32 GetSelPageCount () const
 
void SetCalcFieldValueHdl (const Link< EditFieldInfo *, void > &rLink)
 
const Link< EditFieldInfo *, void > & GetCalcFieldValueHdl () const
 
void SetDrawPortionHdl (const Link< DrawPortionInfo *, void > &rLink)
 
void SetDrawBulletHdl (const Link< DrawBulletInfo *, void > &rLink)
 
void SetPaintFirstLineHdl (const Link< PaintFirstLineInfo *, void > &rLink)
 
void SetModifyHdl (const Link< LinkParamNone *, void > &rLink)
 
void SetNotifyHdl (const Link< EENotify &, void > &rLink)
 
void SetStatusEventHdl (const Link< EditStatus &, void > &rLink)
 
Link< EditStatus &, void > const & GetStatusEventHdl () const
 
void Draw (OutputDevice &rOutDev, const tools::Rectangle &rOutRect)
 
void Draw (OutputDevice &rOutDev, const Point &rStartPos)
 
const SizeGetPaperSize () const
 
void SetPaperSize (const Size &rSize)
 
void SetPolygon (const basegfx::B2DPolyPolygon &rPolyPolygon)
 
void SetPolygon (const basegfx::B2DPolyPolygon &rPolyPolygon, const basegfx::B2DPolyPolygon *pLinePolyPolygon)
 
void ClearPolygon ()
 
const SizeGetMinAutoPaperSize () const
 
void SetMinAutoPaperSize (const Size &rSz)
 
const SizeGetMaxAutoPaperSize () const
 
void SetMaxAutoPaperSize (const Size &rSz)
 
void SetMinColumnWrapHeight (tools::Long nVal)
 
void SetDefTab (sal_uInt16 nTab)
 
bool IsFlatMode () const
 
void SetFlatMode (bool bFlat)
 
void EnableAutoColor (bool b)
 
void ForceAutoColor (bool b)
 
bool IsForceAutoColor () const
 
EBulletInfo GetBulletInfo (sal_Int32 nPara)
 
void SetWordDelimiters (const OUString &rDelimiters)
 
OUString const & GetWordDelimiters () const
 
OUString GetWord (sal_Int32 nPara, sal_Int32 nIndex)
 
void StripPortions ()
 
void DrawingText (const Point &rStartPos, const OUString &rText, sal_Int32 nTextStart, sal_Int32 nTextLen, o3tl::span< const sal_Int32 > pDXArray, o3tl::span< const sal_Bool > pKashidaArray, const SvxFont &rFont, sal_Int32 nPara, sal_uInt8 nRightToLeft, const EEngineData::WrongSpellVector *pWrongSpellVector, const SvxFieldData *pFieldData, bool bEndOfLine, bool bEndOfParagraph, bool bEndOfBullet, const css::lang::Locale *pLocale, const Color &rOverlineColor, const Color &rTextLineColor)
 
void DrawingTab (const Point &rStartPos, tools::Long nWidth, const OUString &rChar, const SvxFont &rFont, sal_Int32 nPara, sal_uInt8 nRightToLeft, bool bEndOfLine, bool bEndOfParagraph, const Color &rOverlineColor, const Color &rTextLineColor)
 
Size CalcTextSize ()
 
Size CalcTextSizeNTP ()
 
void SetStyleSheetPool (SfxStyleSheetPool *pSPool)
 
SfxStyleSheetPoolGetStyleSheetPool ()
 
bool IsInSelectionMode () const
 
void SetStyleSheet (sal_Int32 nPara, SfxStyleSheet *pStyle)
 
SfxStyleSheetGetStyleSheet (sal_Int32 nPara)
 
void SetParaAttribs (sal_Int32 nPara, const SfxItemSet &)
 
SfxItemSet const & GetParaAttribs (sal_Int32 nPara) const
 
void Remove (Paragraph const *pPara, sal_Int32 nParaCount)
 
bool Expand (Paragraph const *)
 
bool Collapse (Paragraph const *)
 
void SetParaFlag (Paragraph *pPara, ParaFlag nFlag)
 
void SetControlWord (EEControlBits nWord)
 
EEControlBits GetControlWord () const
 
const Link< Outliner *, void > & GetBeginMovingHdl () const
 
void SetBeginMovingHdl (const Link< Outliner *, void > &rLink)
 
const Link< Outliner *, void > & GetEndMovingHdl () const
 
void SetEndMovingHdl (const Link< Outliner *, void > &rLink)
 
sal_uInt32 GetLineCount (sal_Int32 nParagraph) const
 
sal_Int32 GetLineLen (sal_Int32 nParagraph, sal_Int32 nLine) const
 
sal_uInt32 GetLineHeight (sal_Int32 nParagraph)
 
ErrCode Read (SvStream &rInput, const OUString &rBaseURL, EETextFormat, SvKeyValueIterator *pHTTPHeaderAttrs=nullptr)
 
SfxUndoManagerGetUndoManager ()
 
SfxUndoManagerSetUndoManager (SfxUndoManager *pNew)
 
void QuickSetAttribs (const SfxItemSet &rSet, const ESelection &rSel)
 
void QuickInsertField (const SvxFieldItem &rFld, const ESelection &rSel)
 
void QuickInsertLineBreak (const ESelection &rSel)
 
void QuickInsertText (const OUString &rText, const ESelection &rSel)
 
void QuickDelete (const ESelection &rSel)
 
void SetCharAttribs (sal_Int32 nPara, const SfxItemSet &rSet)
 Set attributes from rSet an all characters of nPara. More...
 
void RemoveCharAttribs (sal_Int32 nPara, sal_uInt16 nWhich=0)
 
void QuickFormatDoc ()
 
bool UpdateFields ()
 
void RemoveFields (const std::function< bool(const SvxFieldData *)> &isFieldData=[](const SvxFieldData *){return true;})
 
virtual OUString CalcFieldValue (const SvxFieldItem &rField, sal_Int32 nPara, sal_Int32 nPos, std::optional< Color > &rTxtColor, std::optional< Color > &rFldColor, std::optional< FontLineStyle > &rFldLineStyle)
 
void SetSpeller (css::uno::Reference< css::linguistic2::XSpellChecker1 > const &xSpeller)
 
css::uno::Reference< css::linguistic2::XSpellChecker1 > const & GetSpeller ()
 
void SetHyphenator (css::uno::Reference< css::linguistic2::XHyphenator > const &xHyph)
 
void SetDefaultLanguage (LanguageType eLang)
 
void CompleteOnlineSpelling ()
 
EESpellState HasSpellErrors ()
 
bool HasText (const SvxSearchItem &rSearchItem)
 
virtual bool SpellNextDocument ()
 
bool HasConvertibleTextPortion (LanguageType nLang)
 
virtual bool ConvertNextDocument ()
 
void SetEditTextObjectPool (SfxItemPool *pPool)
 
SfxItemPoolGetEditTextObjectPool () const
 
void SetRefDevice (OutputDevice *pRefDev)
 
OutputDeviceGetRefDevice () const
 
sal_uInt32 GetTextHeight () const
 
tools::Rectangle GetParaBounds (sal_Int32 nParagraph) const
 
Point GetDocPos (const Point &rPaperPos) const
 
bool IsTextPos (const Point &rPaperPos, sal_uInt16 nBorder)
 
bool IsTextPos (const Point &rPaperPos, sal_uInt16 nBorder, bool *pbBulletPos)
 
void setGlobalScale (double rFontX=100.0, double rFontY=100.0, double rSpacingX=100.0, double rSpacingY=100.0)
 
void getGlobalScale (double &rFontX, double &rFontY, double &rSpacingX, double &rSpacingY) const
 
void setRoundFontSizeToPt (bool bRound) const
 
void EraseVirtualDevice ()
 
bool ShouldCreateBigTextObject () const
 
const EditEngineGetEditEngine () const
 
void SetLevelDependentStyleSheet (sal_Int32 nPara)
 
OutlinerMode GetOutlinerMode () const
 
bool SpellSentence (EditView const &rEditView, svx::SpellPortions &rToFill)
 
void PutSpellingToSentenceStart (EditView const &rEditView)
 
void ApplyChangedSentence (EditView const &rEditView, const svx::SpellPortions &rNewPortions, bool bRecheck)
 
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...
 
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...
 
void SetBeginPasteOrDropHdl (const Link< PasteOrDropInfos *, void > &rLink)
 sets a link that is called before a drop or paste operation. More...
 
void SetEndPasteOrDropHdl (const Link< PasteOrDropInfos *, void > &rLink)
 sets a link that is called after a drop or paste operation. More...
 
sal_Int16 GetNumberingStartValue (sal_Int32 nPara) const
 
void SetNumberingStartValue (sal_Int32 nPara, sal_Int16 nNumberingStartValue)
 
bool IsParaIsNumberingRestart (sal_Int32 nPara) const
 
void SetParaIsNumberingRestart (sal_Int32 nPara, bool bParaIsNumberingRestart)
 
sal_Int32 GetBulletsNumberingStatus (const sal_Int32 nParaStart, const sal_Int32 nParaEnd) const
 determine the bullets/numbering status of the given paragraphs More...
 
sal_Int32 GetBulletsNumberingStatus () const
 
virtual std::optional< bool > GetCompatFlag (SdrCompatibilityFlag) const
 
- Public Member Functions inherited from SfxBroadcaster
 SfxBroadcaster ()
 
 SfxBroadcaster (const SfxBroadcaster &rBC)
 
virtual ~SfxBroadcaster () COVERITY_NOEXCEPT_FALSE
 
void Broadcast (const SfxHint &rHint)
 
bool HasListeners () const
 
size_t GetListenerCount () const
 
void ForAllListeners (std::function< bool(SfxListener *)> f) const
 

Static Public Member Functions

static bool HasParaFlag (const Paragraph *pPara, ParaFlag nFlag)
 
static void SetForbiddenCharsTable (const std::shared_ptr< SvxForbiddenCharactersTable > &xForbiddenChars)
 

Protected Member Functions

void ParagraphInserted (sal_Int32 nParagraph)
 
void ParagraphDeleted (sal_Int32 nParagraph)
 
void ParaAttribsChanged (sal_Int32 nParagraph)
 
void StyleSheetChanged (SfxStyleSheet const *pStyle)
 
void InvalidateBullet (sal_Int32 nPara)
 
void PaintBullet (sal_Int32 nPara, const Point &rStartPos, const Point &rOrigin, Degree10 nOrientation, OutputDevice &rOutDev)
 
const SvxNumberFormatGetNumberFormat (sal_Int32 nPara) const
 
- Protected Member Functions inherited from SfxBroadcaster
void Forward (SfxBroadcaster &rBC, const SfxHint &rHint)
 

Private Member Functions

 DECL_DLLPRIVATE_LINK (ParaVisibleStateChangedHdl, Paragraph &, void)
 
 DECL_DLLPRIVATE_LINK (BeginMovingParagraphsHdl, MoveParagraphsInfo &, void)
 
 DECL_DLLPRIVATE_LINK (EndMovingParagraphsHdl, MoveParagraphsInfo &, void)
 
 DECL_DLLPRIVATE_LINK (BeginPasteOrDropHdl, PasteOrDropInfos &, void)
 
 DECL_DLLPRIVATE_LINK (EndPasteOrDropHdl, PasteOrDropInfos &, void)
 
 DECL_DLLPRIVATE_LINK (EditEngineNotifyHdl, EENotify &, void)
 
void ImplCheckParagraphs (sal_Int32 nStart, sal_Int32 nEnd)
 
bool ImplHasNumberFormat (sal_Int32 nPara) const
 
Size ImplGetBulletSize (sal_Int32 nPara)
 
sal_uInt16 ImplGetNumbering (sal_Int32 nPara, const SvxNumberFormat *pParaFmt)
 
void ImplCalcBulletText (sal_Int32 nPara, bool bRecalcLevel, bool bRecalcChildren)
 
OUString ImplGetBulletText (sal_Int32 nPara)
 
void ImplCheckNumBulletItem (sal_Int32 nPara)
 
void ImplInitDepth (sal_Int32 nPara, sal_Int16 nDepth, bool bCreateUndo)
 
void ImplSetLevelDependentStyleSheet (sal_Int32 nPara)
 
void ImplBlockInsertionCallbacks (bool b)
 
void ImpFilterIndents (sal_Int32 nFirstPara, sal_Int32 nLastPara)
 
bool ImpConvertEdtToOut (sal_Int32 nPara)
 
void ImpTextPasted (sal_Int32 nStartPara, sal_Int32 nCount)
 
vcl::Font ImpCalcBulletFont (sal_Int32 nPara) const
 
tools::Rectangle ImpCalcBulletArea (sal_Int32 nPara, bool bAdjust, bool bReturnPaperPos)
 
bool ImpCanIndentSelectedPages (OutlinerView *pCurView)
 
bool ImpCanDeleteSelectedPages (OutlinerView *pCurView)
 
bool ImpCanDeleteSelectedPages (OutlinerView *pCurView, sal_Int32 nFirstPage, sal_Int32 nPages)
 
void ImplCheckDepth (sal_Int16 &rnDepth) const
 

Private Attributes

std::unique_ptr< OutlinerEditEngpEditEngine
 
std::unique_ptr< ParagraphListpParaList
 
ViewList aViewList
 
sal_Int32 mnFirstSelPage
 
Link< DrawPortionInfo *, void > aDrawPortionHdl
 
Link< DrawBulletInfo *, void > aDrawBulletHdl
 
Link< ParagraphHdlParam, void > aParaInsertedHdl
 
Link< ParagraphHdlParam, void > aParaRemovingHdl
 
Link< DepthChangeHdlParam, void > aDepthChangedHdl
 
Link< Outliner *, void > aBeginMovingHdl
 
Link< Outliner *, void > aEndMovingHdl
 
Link< OutlinerView *, bool > aIndentingPagesHdl
 
Link< OutlinerView *, bool > aRemovingPagesHdl
 
Link< EditFieldInfo *, void > aCalcFieldValueHdl
 
Link< PaintFirstLineInfo *, void > maPaintFirstLineHdl
 
Link< PasteOrDropInfos *, void > maBeginPasteOrDropHdl
 
Link< PasteOrDropInfos *, void > maEndPasteOrDropHdl
 
sal_Int32 nDepthChangedHdlPrevDepth
 
sal_Int16 nMaxDepth
 
OutlinerMode nOutlinerMode
 
bool bFirstParaIsEmpty
 
sal_uInt8 nBlockInsCallback
 
bool bStrippingPortions
 
bool bPasting
 

Static Private Attributes

static constexpr sal_Int16 gnMinDepth = -1
 

Friends

class OutlinerView
 
class OutlinerEditEng
 
class OutlinerParaObject
 
class OLUndoExpand
 
class OutlinerUndoChangeDepth
 
class OutlinerUndoCheckPara
 
class OutlinerUndoChangeParaFlags
 
class TextChainingUtils
 

Detailed Description

Definition at line 571 of file outliner.hxx.

Constructor & Destructor Documentation

◆ Outliner()

Outliner::Outliner ( SfxItemPool pPool,
OutlinerMode  nMode 
)

Definition at line 1234 of file outliner.cxx.

References Init(), LINK, OutlinerEditEng, pEditEngine, and pParaList.

◆ ~Outliner()

Outliner::~Outliner ( )
overridevirtual

Definition at line 1258 of file outliner.cxx.

References pEditEngine, and pParaList.

Member Function Documentation

◆ AddText()

void Outliner::AddText ( const OutlinerParaObject rPObj,
bool  bAppend = false 
)

◆ ApplyChangedSentence()

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

Definition at line 595 of file outlin2.cxx.

References pEditEngine.

◆ CalcFieldValue()

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

◆ CalcTextSize()

Size Outliner::CalcTextSize ( )

◆ CalcTextSizeNTP()

Size Outliner::CalcTextSizeNTP ( )

Definition at line 246 of file outlin2.cxx.

References pEditEngine.

◆ Clear()

void Outliner::Clear ( )

◆ ClearModifyFlag()

void Outliner::ClearModifyFlag ( )

Definition at line 91 of file outlin2.cxx.

References pEditEngine.

◆ ClearOverflowingParaNum()

void Outliner::ClearOverflowingParaNum ( )

Definition at line 2135 of file outliner.cxx.

References pEditEngine.

◆ ClearPolygon()

void Outliner::ClearPolygon ( )

Definition at line 196 of file outlin2.cxx.

References pEditEngine.

◆ Collapse()

bool Outliner::Collapse ( Paragraph const *  pPara)

◆ CompleteOnlineSpelling()

void Outliner::CompleteOnlineSpelling ( )

Definition at line 356 of file outlin2.cxx.

References pEditEngine.

◆ ConvertNextDocument()

bool Outliner::ConvertNextDocument ( )
virtual

Definition at line 346 of file outlin2.cxx.

Referenced by OutlinerEditEng::ConvertNextDocument().

◆ CreateParaObject()

std::optional< OutlinerParaObject > Outliner::CreateParaObject ( sal_Int32  nStartPara = 0,
sal_Int32  nParaCount = EE_PARA_ALL 
) const

◆ DECL_DLLPRIVATE_LINK() [1/6]

Outliner::DECL_DLLPRIVATE_LINK ( BeginMovingParagraphsHdl  ,
MoveParagraphsInfo ,
void   
)
private

◆ DECL_DLLPRIVATE_LINK() [2/6]

Outliner::DECL_DLLPRIVATE_LINK ( BeginPasteOrDropHdl  ,
PasteOrDropInfos ,
void   
)
private

◆ DECL_DLLPRIVATE_LINK() [3/6]

Outliner::DECL_DLLPRIVATE_LINK ( EditEngineNotifyHdl  ,
EENotify ,
void   
)
private

◆ DECL_DLLPRIVATE_LINK() [4/6]

Outliner::DECL_DLLPRIVATE_LINK ( EndMovingParagraphsHdl  ,
MoveParagraphsInfo ,
void   
)
private

◆ DECL_DLLPRIVATE_LINK() [5/6]

Outliner::DECL_DLLPRIVATE_LINK ( EndPasteOrDropHdl  ,
PasteOrDropInfos ,
void   
)
private

◆ DECL_DLLPRIVATE_LINK() [6/6]

Outliner::DECL_DLLPRIVATE_LINK ( ParaVisibleStateChangedHdl  ,
Paragraph ,
void   
)
private

◆ DepthChangedHdl()

void Outliner::DepthChangedHdl ( Paragraph pPara,
ParaFlag  nPrevFlags 
)

◆ Draw() [1/2]

void Outliner::Draw ( OutputDevice rOutDev,
const Point rStartPos 
)

Definition at line 171 of file outlin2.cxx.

References pEditEngine.

◆ Draw() [2/2]

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

Definition at line 166 of file outlin2.cxx.

References pEditEngine.

◆ DrawingTab()

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

◆ DrawingText()

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

◆ dumpAsXml()

void Outliner::dumpAsXml ( xmlTextWriterPtr  pWriter) const

Definition at line 2140 of file outliner.cxx.

References pParaList.

◆ EnableAutoColor()

void Outliner::EnableAutoColor ( bool  b)

Definition at line 570 of file outlin2.cxx.

References pEditEngine.

◆ EnableUndo()

void Outliner::EnableUndo ( bool  bEnable)

Definition at line 60 of file outlin2.cxx.

References pEditEngine.

Referenced by Init(), Read(), and SetText().

◆ EraseVirtualDevice()

void Outliner::EraseVirtualDevice ( )

Definition at line 505 of file outlin2.cxx.

References pEditEngine.

◆ Expand()

bool Outliner::Expand ( Paragraph const *  pPara)

◆ ForceAutoColor()

void Outliner::ForceAutoColor ( bool  b)

Definition at line 575 of file outlin2.cxx.

References pEditEngine.

◆ GetAbsPos()

sal_Int32 Outliner::GetAbsPos ( Paragraph const *  pPara) const

Definition at line 1334 of file outliner.cxx.

References DBG_ASSERT, and pParaList.

Referenced by SetDepth(), and SetParaFlag().

◆ GetBackgroundColor()

Color const & Outliner::GetBackgroundColor ( ) const

Definition at line 85 of file outlin2.cxx.

References pEditEngine.

◆ GetBeginMovingHdl()

const Link< Outliner *, void > & Outliner::GetBeginMovingHdl ( ) const
inline

Definition at line 876 of file outliner.hxx.

◆ GetBulletInfo()

EBulletInfo Outliner::GetBulletInfo ( sal_Int32  nPara)

◆ GetBulletsNumberingStatus() [1/2]

sal_Int32 Outliner::GetBulletsNumberingStatus ( ) const

Definition at line 354 of file outliner.cxx.

References GetBulletsNumberingStatus(), and pParaList.

Referenced by GetBulletsNumberingStatus().

◆ GetBulletsNumberingStatus() [2/2]

sal_Int32 Outliner::GetBulletsNumberingStatus ( const sal_Int32  nParaStart,
const sal_Int32  nParaEnd 
) const

determine the bullets/numbering status of the given paragraphs

Parameters
nParaStartindex of paragraph at which the check starts
nParaEndindex of paragraph at which the check ends
Returns
0 : all paragraphs have bullets 1 : all paragraphs have numbering 2 : otherwise

Definition at line 305 of file outliner.cxx.

References GetNumberFormat(), SvxNumberType::GetNumberingType(), pParaList, SAL_WARN, SVX_NUM_BITMAP, and SVX_NUM_CHAR_SPECIAL.

Referenced by OutlinerView::ToggleBulletsNumbering().

◆ GetCalcFieldValueHdl()

const Link< EditFieldInfo *, void > & Outliner::GetCalcFieldValueHdl ( ) const
inline

Definition at line 778 of file outliner.hxx.

◆ GetChildCount()

sal_Int32 Outliner::GetChildCount ( Paragraph const *  pParent) const

Definition at line 236 of file outlin2.cxx.

References pParaList.

◆ GetCompatFlag()

virtual std::optional< bool > Outliner::GetCompatFlag ( SdrCompatibilityFlag  ) const
inlinevirtual

Definition at line 1000 of file outliner.hxx.

Referenced by OutlinerEditEng::GetCompatFlag().

◆ GetControlWord()

EEControlBits Outliner::GetControlWord ( ) const

Definition at line 276 of file outlin2.cxx.

References pEditEngine.

◆ GetDefaultHorizontalTextDirection()

EEHorizontalTextDirection Outliner::GetDefaultHorizontalTextDirection ( ) const

Definition at line 555 of file outlin2.cxx.

References pEditEngine.

◆ GetDepth()

sal_Int16 Outliner::GetDepth ( sal_Int32  nPara) const

◆ GetDepthChangedHdl()

const Link< DepthChangeHdlParam, void > & Outliner::GetDepthChangedHdl ( ) const
inline

Definition at line 767 of file outliner.hxx.

◆ GetDocPos()

Point Outliner::GetDocPos ( const Point rPaperPos) const

Definition at line 412 of file outlin2.cxx.

References pEditEngine.

Referenced by OutlinerView::ImpCheckMousePos(), and IsTextPos().

◆ GetEditEngine()

const EditEngine & Outliner::GetEditEngine ( ) const

◆ GetEditTextObjectPool()

SfxItemPool * Outliner::GetEditTextObjectPool ( ) const

Definition at line 371 of file outlin2.cxx.

References pEditEngine.

◆ GetEmptyItemSet()

const SfxItemSet & Outliner::GetEmptyItemSet ( ) const

Definition at line 55 of file outlin2.cxx.

References pEditEngine.

Referenced by SvxOutlinerForwarder::GetPool().

◆ GetEmptyParaObject()

OutlinerParaObject Outliner::GetEmptyParaObject ( ) const

Definition at line 2092 of file outliner.cxx.

References GetOutlinerMode(), pEditEngine, and OutlinerParaObject::SetOutlinerMode().

Referenced by SetToEmptyText().

◆ GetEndMovingHdl()

const Link< Outliner *, void > & Outliner::GetEndMovingHdl ( ) const
inline

Definition at line 878 of file outliner.hxx.

◆ getGlobalScale()

void Outliner::getGlobalScale ( double &  rFontX,
double &  rFontY,
double &  rSpacingX,
double &  rSpacingY 
) const

Definition at line 494 of file outlin2.cxx.

References pEditEngine.

Referenced by ImpCalcBulletFont(), and PaintBullet().

◆ GetLanguage()

LanguageType Outliner::GetLanguage ( sal_Int32  nPara,
sal_Int32  nPos 
) const

Definition at line 560 of file outlin2.cxx.

References nPos, and pEditEngine.

Referenced by SvxOutlinerForwarder::GetLanguage().

◆ GetLineCount()

sal_uInt32 Outliner::GetLineCount ( sal_Int32  nParagraph) const

Definition at line 316 of file outlin2.cxx.

References pEditEngine.

Referenced by SvxOutlinerForwarder::GetLineCount().

◆ GetLineHeight()

sal_uInt32 Outliner::GetLineHeight ( sal_Int32  nParagraph)

Definition at line 326 of file outlin2.cxx.

References pEditEngine.

Referenced by SvxOutlinerForwarder::GetCharBounds().

◆ GetLineLen()

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

Definition at line 321 of file outlin2.cxx.

References pEditEngine.

Referenced by SvxOutlinerForwarder::GetLineLen(), GetNonOverflowingText(), and GetOverflowingText().

◆ GetMaxAutoPaperSize()

const Size & Outliner::GetMaxAutoPaperSize ( ) const

Definition at line 211 of file outlin2.cxx.

References pEditEngine.

◆ GetMaxDepth()

sal_Int16 Outliner::GetMaxDepth ( ) const
inline

Definition at line 718 of file outliner.hxx.

◆ GetMinAutoPaperSize()

const Size & Outliner::GetMinAutoPaperSize ( ) const

Definition at line 201 of file outlin2.cxx.

References pEditEngine.

◆ GetNonOverflowingText()

std::optional< NonOverflowingText > Outliner::GetNonOverflowingText ( ) const

◆ GetNumberFormat()

const SvxNumberFormat * Outliner::GetNumberFormat ( sal_Int32  nPara) const
protected

◆ GetNumberingStartValue()

sal_Int16 Outliner::GetNumberingStartValue ( sal_Int32  nPara) const

◆ GetOutlinerMode()

OutlinerMode Outliner::GetOutlinerMode ( ) const
inline

◆ GetOverflowingText()

std::optional< OverflowingText > Outliner::GetOverflowingText ( ) const

◆ GetPaperSize()

const Size & Outliner::GetPaperSize ( ) const

Definition at line 181 of file outlin2.cxx.

References pEditEngine.

Referenced by ImpCalcBulletArea(), and PaintBullet().

◆ GetParaAttribs()

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

◆ GetParaBounds()

tools::Rectangle Outliner::GetParaBounds ( sal_Int32  nParagraph) const

Definition at line 407 of file outlin2.cxx.

References pEditEngine.

Referenced by SvxOutlinerForwarder::GetParaBounds().

◆ GetParagraph()

Paragraph * Outliner::GetParagraph ( sal_Int32  nAbsPos) const

◆ GetParagraphCount()

sal_Int32 Outliner::GetParagraphCount ( ) const

◆ GetParaInsertedHdl()

const Link< ParagraphHdlParam, void > & Outliner::GetParaInsertedHdl ( ) const
inline

Definition at line 752 of file outliner.hxx.

◆ GetParaRemovingHdl()

const Link< ParagraphHdlParam, void > & Outliner::GetParaRemovingHdl ( ) const
inline

Definition at line 755 of file outliner.hxx.

◆ GetParent()

Paragraph * Outliner::GetParent ( Paragraph const *  pParagraph) const

Definition at line 231 of file outlin2.cxx.

References pParaList.

◆ GetPrevDepth()

sal_Int16 Outliner::GetPrevDepth ( ) const
inline

Definition at line 768 of file outliner.hxx.

◆ GetRefDevice()

OutputDevice * Outliner::GetRefDevice ( ) const

Definition at line 402 of file outlin2.cxx.

References pEditEngine.

Referenced by SvxOutlinerForwarder::GetRefDevice().

◆ GetRefMapMode()

MapMode const & Outliner::GetRefMapMode ( ) const

Definition at line 70 of file outlin2.cxx.

References pEditEngine.

Referenced by SvxOutlinerForwarder::GetMapMode().

◆ GetSelPageCount()

sal_Int32 Outliner::GetSelPageCount ( ) const
inline

Definition at line 775 of file outliner.hxx.

◆ GetSpeller()

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

Definition at line 387 of file outlin2.cxx.

References pEditEngine.

◆ GetStatusEventHdl()

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

Definition at line 126 of file outlin2.cxx.

References pEditEngine.

◆ GetStyleSheet()

SfxStyleSheet * Outliner::GetStyleSheet ( sal_Int32  nPara)

Definition at line 261 of file outlin2.cxx.

References pEditEngine.

Referenced by SvxOutlinerForwarder::GetStyleSheet(), and ImplSetLevelDependentStyleSheet().

◆ GetStyleSheetPool()

SfxStyleSheetPool * Outliner::GetStyleSheetPool ( )

◆ GetText()

OUString Outliner::GetText ( Paragraph const *  pPara,
sal_Int32  nParaCount = 1 
) const

Definition at line 1615 of file outliner.cxx.

References n, nCount, pEditEngine, and pParaList.

Referenced by GetNonOverflowingText(), and GetOverflowingText().

◆ GetTextHeight()

sal_uInt32 Outliner::GetTextHeight ( ) const

Definition at line 101 of file outlin2.cxx.

References pEditEngine.

◆ GetUndoManager()

SfxUndoManager & Outliner::GetUndoManager ( )

Definition at line 1145 of file outliner.cxx.

References pEditEngine.

Referenced by Init().

◆ GetView()

OutlinerView * Outliner::GetView ( size_t  nIndex) const

Definition at line 1310 of file outliner.cxx.

References aViewList, and nIndex.

◆ GetViewCount()

size_t Outliner::GetViewCount ( ) const

Definition at line 1315 of file outliner.cxx.

References aViewList.

◆ GetWord()

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

Definition at line 161 of file outlin2.cxx.

References nIndex, and pEditEngine.

◆ GetWordDelimiters()

OUString const & Outliner::GetWordDelimiters ( ) const

Definition at line 156 of file outlin2.cxx.

References pEditEngine.

◆ HasChildren()

bool Outliner::HasChildren ( Paragraph const *  pParagraph) const

Definition at line 1350 of file outliner.cxx.

References pParaList.

◆ HasConvertibleTextPortion()

bool Outliner::HasConvertibleTextPortion ( LanguageType  nLang)

Definition at line 341 of file outlin2.cxx.

References pEditEngine.

◆ HasParaFlag()

bool Outliner::HasParaFlag ( const Paragraph pPara,
ParaFlag  nFlag 
)
static

Definition at line 1976 of file outliner.cxx.

References Paragraph::HasFlag().

Referenced by OutlinerEditEng::ParagraphConnected().

◆ HasSpellErrors()

EESpellState Outliner::HasSpellErrors ( )

Definition at line 336 of file outlin2.cxx.

References pEditEngine.

◆ HasText()

bool Outliner::HasText ( const SvxSearchItem rSearchItem)

Definition at line 361 of file outlin2.cxx.

References pEditEngine.

◆ ImpCalcBulletArea()

tools::Rectangle Outliner::ImpCalcBulletArea ( sal_Int32  nPara,
bool  bAdjust,
bool  bReturnPaperPos 
)
private

◆ ImpCalcBulletFont()

vcl::Font Outliner::ImpCalcBulletFont ( sal_Int32  nPara) const
private

◆ ImpCanDeleteSelectedPages() [1/2]

bool Outliner::ImpCanDeleteSelectedPages ( OutlinerView pCurView)
private

◆ ImpCanDeleteSelectedPages() [2/2]

bool Outliner::ImpCanDeleteSelectedPages ( OutlinerView pCurView,
sal_Int32  nFirstPage,
sal_Int32  nPages 
)
private

Definition at line 1691 of file outliner.cxx.

References mnFirstSelPage, nDepthChangedHdlPrevDepth, and RemovingPagesHdl().

◆ ImpCanIndentSelectedPages()

bool Outliner::ImpCanIndentSelectedPages ( OutlinerView pCurView)
private

◆ ImpConvertEdtToOut()

bool Outliner::ImpConvertEdtToOut ( sal_Int32  nPara)
private

◆ ImpFilterIndents()

void Outliner::ImpFilterIndents ( sal_Int32  nFirstPara,
sal_Int32  nLastPara 
)
private

◆ ImplBlockInsertionCallbacks()

void Outliner::ImplBlockInsertionCallbacks ( bool  b)
private

Definition at line 1909 of file outliner.cxx.

References DBG_ASSERT, nBlockInsCallback, and pEditEngine.

Referenced by AddText(), Clear(), Insert(), Read(), and SetText().

◆ ImplCalcBulletText()

void Outliner::ImplCalcBulletText ( sal_Int32  nPara,
bool  bRecalcLevel,
bool  bRecalcChildren 
)
private

◆ ImplCheckDepth()

void Outliner::ImplCheckDepth ( sal_Int16 &  rnDepth) const
private

Definition at line 61 of file outliner.cxx.

References gnMinDepth, and nMaxDepth.

Referenced by ImpConvertEdtToOut(), Insert(), SetDepth(), and SetText().

◆ ImplCheckNumBulletItem()

void Outliner::ImplCheckNumBulletItem ( sal_Int32  nPara)
private

◆ ImplCheckParagraphs()

void Outliner::ImplCheckParagraphs ( sal_Int32  nStart,
sal_Int32  nEnd 
)
private

◆ ImplGetBulletSize()

Size Outliner::ImplGetBulletSize ( sal_Int32  nPara)
private

◆ ImplGetBulletText()

OUString Outliner::ImplGetBulletText ( sal_Int32  nPara)
private

Definition at line 1889 of file outliner.cxx.

References Paragraph::GetText(), ImplCalcBulletText(), and pParaList.

Referenced by GetBulletInfo(), and ImplGetBulletSize().

◆ ImplGetNumbering()

sal_uInt16 Outliner::ImplGetNumbering ( sal_Int32  nPara,
const SvxNumberFormat pParaFmt 
)
private

◆ ImplHasNumberFormat()

bool Outliner::ImplHasNumberFormat ( sal_Int32  nPara) const
private

◆ ImplInitDepth()

void Outliner::ImplInitDepth ( sal_Int32  nPara,
sal_Int16  nDepth,
bool  bCreateUndo 
)
private

◆ ImplSetLevelDependentStyleSheet()

void Outliner::ImplSetLevelDependentStyleSheet ( sal_Int32  nPara)
private

◆ ImpTextPasted()

void Outliner::ImpTextPasted ( sal_Int32  nStartPara,
sal_Int32  nCount 
)
private

◆ IndentingPagesHdl()

bool Outliner::IndentingPagesHdl ( OutlinerView pView)

◆ Init()

void Outliner::Init ( OutlinerMode  nMode)

◆ Insert()

Paragraph * Outliner::Insert ( const OUString &  rText,
sal_Int32  nAbsPos = EE_PARA_APPEND,
sal_Int16  nDepth = 0 
)

◆ InsertUndo()

void Outliner::InsertUndo ( std::unique_ptr< EditUndo pUndo)

◆ InsertView()

size_t Outliner::InsertView ( OutlinerView pView,
size_t  nIndex = size_t(-1) 
)

Definition at line 1265 of file outliner.cxx.

References aViewList, nIndex, pEditEngine, and OutlinerView::pEditView.

◆ InvalidateBullet()

void Outliner::InvalidateBullet ( sal_Int32  nPara)
protected

◆ IsExpanded()

bool Outliner::IsExpanded ( Paragraph const *  pPara) const

Definition at line 226 of file outlin2.cxx.

References pParaList.

◆ IsFlatMode()

bool Outliner::IsFlatMode ( ) const

Definition at line 136 of file outlin2.cxx.

References pEditEngine.

◆ IsForceAutoColor()

bool Outliner::IsForceAutoColor ( ) const

Definition at line 580 of file outlin2.cxx.

References pEditEngine.

Referenced by ImpCalcBulletFont().

◆ IsInSelectionMode()

bool Outliner::IsInSelectionMode ( ) const

Definition at line 266 of file outlin2.cxx.

References pEditEngine.

◆ IsInUndo()

bool Outliner::IsInUndo ( ) const

◆ IsModified()

bool Outliner::IsModified ( ) const

Definition at line 96 of file outlin2.cxx.

References pEditEngine.

◆ IsPageOverflow()

bool Outliner::IsPageOverflow ( )

Definition at line 1982 of file outliner.cxx.

References pEditEngine.

◆ IsParaIsNumberingRestart()

bool Outliner::IsParaIsNumberingRestart ( sal_Int32  nPara) const

◆ IsTextPos() [1/2]

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

Definition at line 417 of file outlin2.cxx.

References IsTextPos(), and nBorder.

Referenced by OutlinerView::ImpCheckMousePos(), and IsTextPos().

◆ IsTextPos() [2/2]

bool Outliner::IsTextPos ( const Point rPaperPos,
sal_uInt16  nBorder,
bool *  pbBulletPos 
)

◆ IsTopToBottom()

bool Outliner::IsTopToBottom ( ) const

Definition at line 535 of file outlin2.cxx.

References pEditEngine.

Referenced by ImpCalcBulletFont(), and PaintBullet().

◆ IsUndoEnabled()

bool Outliner::IsUndoEnabled ( ) const

◆ IsUpdateLayout()

bool Outliner::IsUpdateLayout ( ) const

Definition at line 50 of file outlin2.cxx.

References pEditEngine.

Referenced by SvxOutlinerForwarder::IsValid().

◆ IsVertical()

bool Outliner::IsVertical ( ) const

◆ PaintBullet()

void Outliner::PaintBullet ( sal_Int32  nPara,
const Point rStartPos,
const Point rOrigin,
Degree10  nOrientation,
OutputDevice rOutDev 
)
protected

Definition at line 875 of file outliner.cxx.

References aBuf, Paragraph::aBulSize, Point::AdjustX(), Point::AdjustY(), aDrawBulletHdl, ALIGN_BASELINE, ALIGN_BOTTOM, vcl::text::BiDiRtl, vcl::text::BiDiStrong, tools::Rectangle::Bottom(), bStrippingPortions, Link< typename Arg, typename Ret >::Call(), COL_BLACK(), GraphicObject::Draw(), DrawingText(), OutputDevice::DrawLine(), OutputDevice::DrawText(), EE_PARA_BULLETSTATE(), basegfx::fround(), SvxNumberFormat::GetBrush(), FontMetric::GetDescent(), OutputDevice::GetFont(), OutputDevice::GetFontMetric(), getGlobalScale(), SvxBrushItem::GetGraphicObject(), tools::Rectangle::GetHeight(), OutputDevice::GetLayoutMode(), OutputDevice::GetLineColor(), GetNumberFormat(), SvxNumberType::GetNumberingType(), GetPaperSize(), Paragraph::GetText(), OutputDevice::GetTextArray(), SfxBoolItem::GetValue(), tools::Rectangle::GetWidth(), ImpCalcBulletArea(), ImpCalcBulletFont(), ImplHasNumberFormat(), Link< typename Arg, typename Ret >::IsSet(), IsTopToBottom(), IsVertical(), tools::Rectangle::Left(), ParagraphInfos::nFirstLineMaxAscent, pEditEngine, OutputDevice::PixelToLogic(), pParaList, tools::Rectangle::Right(), Point::RotateAround(), vcl::Font::SetAlignment(), OutputDevice::SetFont(), OutputDevice::SetLayoutMode(), OutputDevice::SetLineColor(), vcl::Font::SetOrientation(), Point::setX(), Point::setY(), SVX_NUM_BITMAP, SVX_NUM_CHAR_SPECIAL, SVX_NUM_NUMBER_NONE, o3tl::temporary(), vcl::text::TextOriginLeft, tools::Rectangle::Top(), Width, Point::X(), and Point::Y().

Referenced by OutlinerEditEng::PaintingFirstLine().

◆ ParaAttribsChanged()

void Outliner::ParaAttribsChanged ( sal_Int32  nParagraph)
protected

◆ ParagraphDeleted()

void Outliner::ParagraphDeleted ( sal_Int32  nParagraph)
protected

◆ ParagraphInserted()

void Outliner::ParagraphInserted ( sal_Int32  nParagraph)
protected

◆ ParagraphInsertedHdl()

void Outliner::ParagraphInsertedHdl ( Paragraph pPara)

Definition at line 1320 of file outliner.cxx.

References aParaInsertedHdl, and IsInUndo().

Referenced by Insert(), ParagraphInserted(), and SetText().

◆ PutSpellingToSentenceStart()

void Outliner::PutSpellingToSentenceStart ( EditView const &  rEditView)

Definition at line 590 of file outlin2.cxx.

References pEditEngine.

◆ QuickDelete()

void Outliner::QuickDelete ( const ESelection rSel)

◆ QuickFormatDoc()

void Outliner::QuickFormatDoc ( )

◆ QuickInsertField()

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

Definition at line 463 of file outlin2.cxx.

References bFirstParaIsEmpty, and pEditEngine.

Referenced by SvxOutlinerForwarder::QuickInsertField().

◆ QuickInsertLineBreak()

void Outliner::QuickInsertLineBreak ( const ESelection rSel)

Definition at line 469 of file outlin2.cxx.

References bFirstParaIsEmpty, and pEditEngine.

Referenced by SvxOutlinerForwarder::QuickInsertLineBreak().

◆ QuickInsertText()

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

◆ QuickSetAttribs()

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

Definition at line 446 of file outlin2.cxx.

References pEditEngine, and rSet.

Referenced by SvxOutlinerForwarder::QuickSetAttribs().

◆ Read()

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

◆ Remove()

void Outliner::Remove ( Paragraph const *  pPara,
sal_Int32  nParaCount 
)

Definition at line 1629 of file outliner.cxx.

References Clear(), n, nPos, pEditEngine, and pParaList.

◆ RemoveAttribs()

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

Definition at line 565 of file outlin2.cxx.

References pEditEngine.

Referenced by SvxOutlinerForwarder::RemoveAttribs().

◆ RemoveCharAttribs()

void Outliner::RemoveCharAttribs ( sal_Int32  nPara,
sal_uInt16  nWhich = 0 
)

Definition at line 331 of file outlin2.cxx.

References pEditEngine.

◆ RemoveFields()

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

Definition at line 146 of file outlin2.cxx.

References pEditEngine.

◆ RemoveView() [1/2]

void Outliner::RemoveView ( OutlinerView const *  pView)

Definition at line 1284 of file outliner.cxx.

References aViewList, pEditEngine, and OutlinerView::pEditView.

◆ RemoveView() [2/2]

void Outliner::RemoveView ( size_t  nIndex)

Definition at line 1295 of file outliner.cxx.

References aViewList, EditView::HideCursor(), nIndex, and pEditEngine.

◆ RemovingPagesHdl()

bool Outliner::RemovingPagesHdl ( OutlinerView pView)

◆ SetAddExtLeading()

void Outliner::SetAddExtLeading ( bool  b)

Definition at line 291 of file outlin2.cxx.

References pEditEngine.

◆ SetAsianCompressionMode()

void Outliner::SetAsianCompressionMode ( CharCompressType  nCompressionMode)

Definition at line 281 of file outlin2.cxx.

References n, and pEditEngine.

◆ SetBackgroundColor()

void Outliner::SetBackgroundColor ( const Color rColor)

Definition at line 80 of file outlin2.cxx.

References pEditEngine.

◆ SetBeginDropHdl()

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

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

Definition at line 1942 of file outliner.cxx.

References pEditEngine.

◆ SetBeginMovingHdl()

void Outliner::SetBeginMovingHdl ( const Link< Outliner *, void > &  rLink)
inline

Definition at line 877 of file outliner.hxx.

◆ SetBeginPasteOrDropHdl()

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

sets a link that is called before a drop or paste operation.

Definition at line 1954 of file outliner.cxx.

References maBeginPasteOrDropHdl.

◆ SetCalcFieldValueHdl()

void Outliner::SetCalcFieldValueHdl ( const Link< EditFieldInfo *, void > &  rLink)
inline

Definition at line 777 of file outliner.hxx.

◆ SetCharAttribs()

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

Set attributes from rSet an all characters of nPara.

Definition at line 755 of file outliner.cxx.

References pEditEngine, and rSet.

◆ SetControlWord()

void Outliner::SetControlWord ( EEControlBits  nWord)

Definition at line 271 of file outlin2.cxx.

References pEditEngine.

◆ SetDefaultHorizontalTextDirection()

void Outliner::SetDefaultHorizontalTextDirection ( EEHorizontalTextDirection  eHTextDir)

Definition at line 550 of file outlin2.cxx.

References pEditEngine.

◆ SetDefaultLanguage()

void Outliner::SetDefaultLanguage ( LanguageType  eLang)

Definition at line 351 of file outlin2.cxx.

References pEditEngine.

◆ SetDefTab()

void Outliner::SetDefTab ( sal_uInt16  nTab)

Definition at line 131 of file outlin2.cxx.

References pEditEngine.

◆ SetDepth()

void Outliner::SetDepth ( Paragraph pParagraph,
sal_Int16  nNewDepth 
)

◆ SetDepthChangedHdl()

void Outliner::SetDepthChangedHdl ( const Link< DepthChangeHdlParam, void > &  rLink)
inline

Definition at line 766 of file outliner.hxx.

◆ SetDrawBulletHdl()

void Outliner::SetDrawBulletHdl ( const Link< DrawBulletInfo *, void > &  rLink)
inline

Definition at line 782 of file outliner.hxx.

◆ SetDrawPortionHdl()

void Outliner::SetDrawPortionHdl ( const Link< DrawPortionInfo *, void > &  rLink)
inline

Definition at line 780 of file outliner.hxx.

◆ SetEditTextObjectPool()

void Outliner::SetEditTextObjectPool ( SfxItemPool pPool)

Definition at line 366 of file outlin2.cxx.

References pEditEngine.

◆ SetEndDropHdl()

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

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

Definition at line 1948 of file outliner.cxx.

References pEditEngine.

◆ SetEndMovingHdl()

void Outliner::SetEndMovingHdl ( const Link< Outliner *, void > &  rLink)
inline

Definition at line 879 of file outliner.hxx.

◆ SetEndPasteOrDropHdl()

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

sets a link that is called after a drop or paste operation.

Definition at line 1960 of file outliner.cxx.

References maEndPasteOrDropHdl.

◆ SetFixedCellHeight()

void Outliner::SetFixedCellHeight ( bool  bUseFixedCellHeight)

Definition at line 545 of file outlin2.cxx.

References pEditEngine.

◆ SetFlatMode()

void Outliner::SetFlatMode ( bool  bFlat)

Definition at line 1877 of file outliner.cxx.

References pEditEngine, and pParaList.

◆ SetForbiddenCharsTable()

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

Definition at line 392 of file outlin2.cxx.

References EditEngine::SetForbiddenCharsTable().

◆ setGlobalScale()

void Outliner::setGlobalScale ( double  rFontX = 100.0,
double  rFontY = 100.0,
double  rSpacingX = 100.0,
double  rSpacingY = 100.0 
)

Definition at line 480 of file outlin2.cxx.

References Paragraph::aBulSize, pEditEngine, pParaList, and Size::setWidth().

◆ SetHyphenator()

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

Definition at line 397 of file outlin2.cxx.

References pEditEngine.

◆ SetIndentingPagesHdl()

void Outliner::SetIndentingPagesHdl ( const Link< OutlinerView *, bool > &  rLink)
inline

Definition at line 773 of file outliner.hxx.

◆ SetKernAsianPunctuation()

void Outliner::SetKernAsianPunctuation ( bool  bEnabled)

Definition at line 286 of file outlin2.cxx.

References pEditEngine.

◆ SetLevelDependentStyleSheet()

void Outliner::SetLevelDependentStyleSheet ( sal_Int32  nPara)

Definition at line 1902 of file outliner.cxx.

References ImplSetLevelDependentStyleSheet(), and pEditEngine.

Referenced by SvxOutlinerForwarder::SetDepth().

◆ SetMaxAutoPaperSize()

void Outliner::SetMaxAutoPaperSize ( const Size rSz)

Definition at line 216 of file outlin2.cxx.

References pEditEngine.

◆ SetMaxDepth()

void Outliner::SetMaxDepth ( sal_Int16  nDepth)

Definition at line 221 of file outliner.cxx.

References nMaxDepth, and SVX_MAX_NUM.

Referenced by Init().

◆ SetMinAutoPaperSize()

void Outliner::SetMinAutoPaperSize ( const Size rSz)

Definition at line 206 of file outlin2.cxx.

References pEditEngine.

◆ SetMinColumnWrapHeight()

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

Definition at line 221 of file outlin2.cxx.

References pEditEngine.

◆ SetModifyHdl()

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

Definition at line 106 of file outlin2.cxx.

References pEditEngine.

◆ SetNotifyHdl()

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

Definition at line 111 of file outlin2.cxx.

References Link< typename Arg, typename Ret >::IsSet(), LINK, and pEditEngine.

◆ SetNumberingStartValue()

void Outliner::SetNumberingStartValue ( sal_Int32  nPara,
sal_Int16  nNumberingStartValue 
)

◆ SetPaintFirstLineHdl()

void Outliner::SetPaintFirstLineHdl ( const Link< PaintFirstLineInfo *, void > &  rLink)
inline

Definition at line 784 of file outliner.hxx.

◆ SetPaperSize()

void Outliner::SetPaperSize ( const Size rSize)

Definition at line 176 of file outlin2.cxx.

References pEditEngine.

◆ SetParaAttribs()

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

◆ SetParaFlag()

void Outliner::SetParaFlag ( Paragraph pPara,
ParaFlag  nFlag 
)

◆ SetParaInsertedHdl()

void Outliner::SetParaInsertedHdl ( const Link< ParagraphHdlParam, void > &  rLink)
inline

Definition at line 751 of file outliner.hxx.

◆ SetParaIsNumberingRestart()

void Outliner::SetParaIsNumberingRestart ( sal_Int32  nPara,
bool  bParaIsNumberingRestart 
)

◆ SetParaRemovingHdl()

void Outliner::SetParaRemovingHdl ( const Link< ParagraphHdlParam, void > &  rLink)
inline

Definition at line 754 of file outliner.hxx.

◆ SetPolygon() [1/2]

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

Definition at line 186 of file outlin2.cxx.

References pEditEngine.

◆ SetPolygon() [2/2]

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

Definition at line 191 of file outlin2.cxx.

References pEditEngine.

◆ SetRefDevice()

void Outliner::SetRefDevice ( OutputDevice pRefDev)

Definition at line 1431 of file outliner.cxx.

References Paragraph::Invalidate(), n, pEditEngine, and pParaList.

◆ SetRefMapMode()

void Outliner::SetRefMapMode ( const MapMode rMMode)

Definition at line 75 of file outlin2.cxx.

References pEditEngine.

◆ SetRemovingPagesHdl()

void Outliner::SetRemovingPagesHdl ( const Link< OutlinerView *, bool > &  rLink)
inline

Definition at line 771 of file outliner.hxx.

◆ SetRotation()

void Outliner::SetRotation ( TextRotation  nRotation)

Definition at line 525 of file outlin2.cxx.

References pEditEngine.

◆ setRoundFontSizeToPt()

void Outliner::setRoundFontSizeToPt ( bool  bRound) const

Definition at line 500 of file outlin2.cxx.

References pEditEngine.

◆ SetSpeller()

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

Definition at line 382 of file outlin2.cxx.

References pEditEngine.

◆ SetStatusEventHdl()

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

Definition at line 121 of file outlin2.cxx.

References pEditEngine.

◆ SetStyleSheet()

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

◆ SetStyleSheetPool()

void Outliner::SetStyleSheetPool ( SfxStyleSheetPool pSPool)

Definition at line 251 of file outlin2.cxx.

References pEditEngine.

◆ SetText() [1/2]

void Outliner::SetText ( const OUString &  rText,
Paragraph pParagraph 
)

◆ SetText() [2/2]

void Outliner::SetText ( const OutlinerParaObject rPObj)

◆ SetTextColumns()

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

Definition at line 540 of file outlin2.cxx.

References pEditEngine.

◆ SetToEmptyText()

void Outliner::SetToEmptyText ( )

◆ SetUndoManager()

SfxUndoManager * Outliner::SetUndoManager ( SfxUndoManager pNew)

Definition at line 1150 of file outliner.cxx.

References pEditEngine.

◆ SetUpdateLayout()

bool Outliner::SetUpdateLayout ( bool  bUpdate)
Returns
previous value of bUpdateLayout state

Definition at line 44 of file outlin2.cxx.

References pEditEngine.

Referenced by OutlinerView::ImplExpandOrCollaps(), and OutlinerView::RemoveAttribs().

◆ SetVertical()

void Outliner::SetVertical ( bool  bVertical)

Definition at line 520 of file outlin2.cxx.

References pEditEngine.

◆ SetWordDelimiters()

void Outliner::SetWordDelimiters ( const OUString &  rDelimiters)

Definition at line 151 of file outlin2.cxx.

References pEditEngine.

◆ ShouldCreateBigTextObject()

bool Outliner::ShouldCreateBigTextObject ( ) const

Definition at line 510 of file outlin2.cxx.

References pEditEngine.

◆ SpellNextDocument()

bool Outliner::SpellNextDocument ( )
virtual

Definition at line 376 of file outlin2.cxx.

Referenced by OutlinerEditEng::SpellNextDocument().

◆ SpellSentence()

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

Definition at line 585 of file outlin2.cxx.

References pEditEngine.

◆ StripPortions()

void Outliner::StripPortions ( )

Definition at line 1644 of file outliner.cxx.

References bStrippingPortions, and pEditEngine.

◆ StyleSheetChanged()

void Outliner::StyleSheetChanged ( SfxStyleSheet const *  pStyle)
protected

◆ UndoActionEnd()

void Outliner::UndoActionEnd ( )

◆ UndoActionStart()

void Outliner::UndoActionStart ( sal_uInt16  nId)

◆ UpdateFields()

bool Outliner::UpdateFields ( )

Definition at line 141 of file outlin2.cxx.

References pEditEngine.

Friends And Related Function Documentation

◆ OLUndoExpand

friend class OLUndoExpand
friend

Definition at line 580 of file outliner.hxx.

Referenced by Collapse(), and Expand().

◆ OutlinerEditEng

friend class OutlinerEditEng
friend

Definition at line 578 of file outliner.hxx.

Referenced by Outliner().

◆ OutlinerParaObject

friend class OutlinerParaObject
friend

Definition at line 579 of file outliner.hxx.

◆ OutlinerUndoChangeDepth

friend class OutlinerUndoChangeDepth
friend

Definition at line 581 of file outliner.hxx.

◆ OutlinerUndoChangeParaFlags

friend class OutlinerUndoChangeParaFlags
friend

Definition at line 583 of file outliner.hxx.

◆ OutlinerUndoCheckPara

friend class OutlinerUndoCheckPara
friend

Definition at line 582 of file outliner.hxx.

◆ OutlinerView

friend class OutlinerView
friend

Definition at line 577 of file outliner.hxx.

◆ TextChainingUtils

friend class TextChainingUtils
friend

Definition at line 585 of file outliner.hxx.

Member Data Documentation

◆ aBeginMovingHdl

Link<Outliner*,void> Outliner::aBeginMovingHdl
private

Definition at line 598 of file outliner.hxx.

◆ aCalcFieldValueHdl

Link<EditFieldInfo*,void> Outliner::aCalcFieldValueHdl
private

Definition at line 602 of file outliner.hxx.

Referenced by CalcFieldValue().

◆ aDepthChangedHdl

Link<DepthChangeHdlParam,void> Outliner::aDepthChangedHdl
private

Definition at line 597 of file outliner.hxx.

Referenced by DepthChangedHdl().

◆ aDrawBulletHdl

Link<DrawBulletInfo*,void> Outliner::aDrawBulletHdl
private

Definition at line 594 of file outliner.hxx.

Referenced by PaintBullet().

◆ aDrawPortionHdl

Link<DrawPortionInfo*,void> Outliner::aDrawPortionHdl
private

Definition at line 593 of file outliner.hxx.

Referenced by DrawingTab(), and DrawingText().

◆ aEndMovingHdl

Link<Outliner*,void> Outliner::aEndMovingHdl
private

Definition at line 599 of file outliner.hxx.

◆ aIndentingPagesHdl

Link<OutlinerView*,bool> Outliner::aIndentingPagesHdl
private

Definition at line 600 of file outliner.hxx.

Referenced by IndentingPagesHdl().

◆ aParaInsertedHdl

Link<ParagraphHdlParam,void> Outliner::aParaInsertedHdl
private

Definition at line 595 of file outliner.hxx.

Referenced by ParagraphInsertedHdl().

◆ aParaRemovingHdl

Link<ParagraphHdlParam,void> Outliner::aParaRemovingHdl
private

Definition at line 596 of file outliner.hxx.

Referenced by ParagraphDeleted().

◆ aRemovingPagesHdl

Link<OutlinerView*,bool> Outliner::aRemovingPagesHdl
private

Definition at line 601 of file outliner.hxx.

Referenced by RemovingPagesHdl().

◆ aViewList

ViewList Outliner::aViewList
private

Definition at line 590 of file outliner.hxx.

Referenced by GetView(), GetViewCount(), InsertView(), InvalidateBullet(), and RemoveView().

◆ bFirstParaIsEmpty

bool Outliner::bFirstParaIsEmpty
private

◆ bPasting

bool Outliner::bPasting
private

◆ bStrippingPortions

bool Outliner::bStrippingPortions
private

Definition at line 615 of file outliner.hxx.

Referenced by PaintBullet(), and StripPortions().

◆ gnMinDepth

constexpr sal_Int16 Outliner::gnMinDepth = -1
staticconstexprprivate

Definition at line 609 of file outliner.hxx.

Referenced by Clear(), ImplCheckDepth(), ImplInitDepth(), and OutlinerView::Indent().

◆ maBeginPasteOrDropHdl

Link<PasteOrDropInfos*,void> Outliner::maBeginPasteOrDropHdl
private

Definition at line 604 of file outliner.hxx.

Referenced by SetBeginPasteOrDropHdl().

◆ maEndPasteOrDropHdl

Link<PasteOrDropInfos*,void> Outliner::maEndPasteOrDropHdl
private

Definition at line 605 of file outliner.hxx.

Referenced by SetEndPasteOrDropHdl().

◆ maPaintFirstLineHdl

Link<PaintFirstLineInfo*,void> Outliner::maPaintFirstLineHdl
private

Definition at line 603 of file outliner.hxx.

Referenced by OutlinerEditEng::PaintingFirstLine().

◆ mnFirstSelPage

sal_Int32 Outliner::mnFirstSelPage
private

◆ nBlockInsCallback

sal_uInt8 Outliner::nBlockInsCallback
private

Definition at line 614 of file outliner.hxx.

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

◆ nDepthChangedHdlPrevDepth

sal_Int32 Outliner::nDepthChangedHdlPrevDepth
private

◆ nMaxDepth

sal_Int16 Outliner::nMaxDepth
private

Definition at line 608 of file outliner.hxx.

Referenced by ImplCheckDepth(), ImplInitDepth(), OutlinerView::Indent(), and SetMaxDepth().

◆ nOutlinerMode

OutlinerMode Outliner::nOutlinerMode
private

Definition at line 611 of file outliner.hxx.

Referenced by Init().

◆ pEditEngine

std::unique_ptr<OutlinerEditEng> Outliner::pEditEngine
private

Definition at line 587 of file outliner.hxx.

Referenced by AddText(), OutlinerView::ApplyBulletsNumbering(), ApplyChangedSentence(), CalcTextSize(), CalcTextSizeNTP(), Clear(), ClearModifyFlag(), ClearOverflowingParaNum(), ClearPolygon(), CompleteOnlineSpelling(), CreateParaObject(), Draw(), EnableAutoColor(), EnableUndo(), OutlinerView::EnsureNumberingIsOn(), EraseVirtualDevice(), ForceAutoColor(), GetBackgroundColor(), GetControlWord(), GetDefaultHorizontalTextDirection(), GetDocPos(), GetEditEngine(), GetEditTextObjectPool(), GetEmptyItemSet(), GetEmptyParaObject(), getGlobalScale(), GetLanguage(), GetLineCount(), GetLineHeight(), GetLineLen(), GetMaxAutoPaperSize(), GetMinAutoPaperSize(), GetNonOverflowingText(), GetNumberFormat(), GetOverflowingText(), GetPaperSize(), GetParaAttribs(), GetParaBounds(), GetRefDevice(), GetRefMapMode(), GetSpeller(), GetStatusEventHdl(), GetStyleSheet(), GetStyleSheetPool(), GetText(), GetTextHeight(), GetUndoManager(), GetWord(), GetWordDelimiters(), HasConvertibleTextPortion(), HasSpellErrors(), HasText(), ImpCalcBulletArea(), ImpCalcBulletFont(), OutlinerView::ImpCheckMousePos(), ImpConvertEdtToOut(), ImpFilterIndents(), ImplBlockInsertionCallbacks(), OutlinerView::ImplExpandOrCollaps(), ImplGetBulletSize(), ImplGetNumbering(), ImplInitDepth(), OutlinerView::ImpPasted(), ImpTextPasted(), OutlinerView::Indent(), Init(), Insert(), OutlinerView::InsertText(), InsertUndo(), InsertView(), InvalidateBullet(), IsFlatMode(), IsForceAutoColor(), IsInSelectionMode(), IsInUndo(), IsModified(), IsPageOverflow(), IsTextPos(), IsTopToBottom(), IsUndoEnabled(), IsUpdateLayout(), IsVertical(), Outliner(), PaintBullet(), ParaAttribsChanged(), ParagraphDeleted(), ParagraphInserted(), OutlinerView::Paste(), OutlinerView::PostKeyEvent(), PutSpellingToSentenceStart(), QuickDelete(), QuickFormatDoc(), QuickInsertField(), QuickInsertLineBreak(), QuickInsertText(), QuickSetAttribs(), Read(), Remove(), RemoveAttribs(), RemoveCharAttribs(), RemoveFields(), RemoveView(), OLUndoExpand::Restore(), SetAddExtLeading(), SetAsianCompressionMode(), OutlinerView::SetAttribs(), SetBackgroundColor(), SetBeginDropHdl(), SetCharAttribs(), SetControlWord(), SetDefaultHorizontalTextDirection(), SetDefaultLanguage(), SetDefTab(), SetEditTextObjectPool(), SetEndDropHdl(), SetFixedCellHeight(), SetFlatMode(), setGlobalScale(), SetHyphenator(), SetKernAsianPunctuation(), SetLevelDependentStyleSheet(), SetMaxAutoPaperSize(), SetMinAutoPaperSize(), SetMinColumnWrapHeight(), SetModifyHdl(), SetNotifyHdl(), SetNumberingStartValue(), SetPaperSize(), SetParaAttribs(), SetParaIsNumberingRestart(), SetPolygon(), SetRefDevice(), SetRefMapMode(), SetRotation(), setRoundFontSizeToPt(), SetSpeller(), SetStatusEventHdl(), SetStyleSheet(), SetStyleSheetPool(), SetText(), SetTextColumns(), SetUndoManager(), SetUpdateLayout(), SetVertical(), SetWordDelimiters(), ShouldCreateBigTextObject(), SpellSentence(), StripPortions(), StyleSheetChanged(), OutlinerView::SwitchOffBulletsNumbering(), OutlinerView::ToggleBullets(), UndoActionEnd(), UndoActionStart(), UpdateFields(), and ~Outliner().

◆ pParaList

std::unique_ptr<ParagraphList> Outliner::pParaList
private

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