LibreOffice Module editeng (master) 1
|
#include <outliner.hxx>
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) |
OutlinerView * | GetView (size_t nIndex) const |
size_t | GetViewCount () const |
Paragraph * | Insert (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< OutlinerParaObject > | CreateParaObject (sal_Int32 nStartPara=0, sal_Int32 nParaCount=EE_PARA_ALL) const |
const SfxItemSet & | GetEmptyItemSet () 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 |
Paragraph * | GetParagraph (sal_Int32 nAbsPos) const |
bool | HasChildren (Paragraph const *pParagraph) const |
sal_Int32 | GetChildCount (Paragraph const *pParent) const |
bool | IsExpanded (Paragraph const *pPara) const |
Paragraph * | GetParent (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< NonOverflowingText > | GetNonOverflowingText () const |
std::optional< OverflowingText > | GetOverflowingText () 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 Size & | GetPaperSize () 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 Size & | GetMinAutoPaperSize () const |
void | SetMinAutoPaperSize (const Size &rSz) |
const Size & | GetMaxAutoPaperSize () 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) |
SfxStyleSheetPool * | GetStyleSheetPool () |
bool | IsInSelectionMode () const |
void | SetStyleSheet (sal_Int32 nPara, SfxStyleSheet *pStyle) |
SfxStyleSheet * | GetStyleSheet (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) |
SfxUndoManager & | GetUndoManager () |
SfxUndoManager * | SetUndoManager (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) |
SfxItemPool * | GetEditTextObjectPool () const |
void | SetRefDevice (OutputDevice *pRefDev) |
OutputDevice * | GetRefDevice () 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 EditEngine & | GetEditEngine () 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 SvxNumberFormat * | GetNumberFormat (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< OutlinerEditEng > | pEditEngine |
std::unique_ptr< ParagraphList > | pParaList |
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 |
Definition at line 571 of file outliner.hxx.
Outliner::Outliner | ( | SfxItemPool * | pPool, |
OutlinerMode | nMode | ||
) |
Definition at line 1234 of file outliner.cxx.
References Init(), LINK, OutlinerEditEng, pEditEngine, and pParaList.
|
overridevirtual |
Definition at line 1258 of file outliner.cxx.
References pEditEngine, and pParaList.
void Outliner::AddText | ( | const OutlinerParaObject & | rPObj, |
bool | bAppend = false |
||
) |
Definition at line 593 of file outliner.cxx.
References bFirstParaIsEmpty, OutlinerParaObject::Count(), DBG_ASSERT, EE_PARA_APPEND, Paragraph::GetDepth(), OutlinerParaObject::GetParagraphData(), OutlinerParaObject::GetTextObject(), ImplBlockInsertionCallbacks(), ImplCheckParagraphs(), ImplInitDepth(), n, pEditEngine, and pParaList.
void Outliner::ApplyChangedSentence | ( | EditView const & | rEditView, |
const svx::SpellPortions & | rNewPortions, | ||
bool | bRecheck | ||
) |
Definition at line 595 of file outlin2.cxx.
References pEditEngine.
|
virtual |
Definition at line 637 of file outliner.cxx.
References aCalcFieldValueHdl, Link< typename Arg, typename Ret >::Call(), EditFieldInfo::GetFieldColor(), EditFieldInfo::GetFontLineStyle(), EditFieldInfo::GetRepresentation(), EditFieldInfo::GetTextColor(), Link< typename Arg, typename Ret >::IsSet(), nPos, and EditFieldInfo::SetFieldColor().
Referenced by SvxOutlinerForwarder::CalcFieldValue(), and OutlinerEditEng::CalcFieldValue().
Size Outliner::CalcTextSize | ( | ) |
Definition at line 241 of file outlin2.cxx.
References pEditEngine.
Referenced by SvxOutlinerForwarder::GetCharBounds(), and SvxOutlinerForwarder::GetIndexAtPoint().
Size Outliner::CalcTextSizeNTP | ( | ) |
Definition at line 246 of file outlin2.cxx.
References pEditEngine.
void Outliner::Clear | ( | ) |
Definition at line 1857 of file outliner.cxx.
References bFirstParaIsEmpty, gnMinDepth, ImplBlockInsertionCallbacks(), pEditEngine, pParaList, and Paragraph::SetDepth().
void Outliner::ClearModifyFlag | ( | ) |
Definition at line 91 of file outlin2.cxx.
References pEditEngine.
void Outliner::ClearOverflowingParaNum | ( | ) |
Definition at line 2135 of file outliner.cxx.
References pEditEngine.
void Outliner::ClearPolygon | ( | ) |
Definition at line 196 of file outlin2.cxx.
References pEditEngine.
bool Outliner::Collapse | ( | Paragraph const * | pPara | ) |
Definition at line 783 of file outliner.cxx.
References InsertUndo(), InvalidateBullet(), IsInUndo(), IsUndoEnabled(), OLUNDO_COLLAPSE, OLUndoExpand, pParaList, UndoActionEnd(), and UndoActionStart().
Referenced by OutlinerView::ImplExpandOrCollaps(), and OLUndoExpand::Restore().
void Outliner::CompleteOnlineSpelling | ( | ) |
Definition at line 356 of file outlin2.cxx.
References pEditEngine.
|
virtual |
Definition at line 346 of file outlin2.cxx.
Referenced by OutlinerEditEng::ConvertNextDocument().
std::optional< OutlinerParaObject > Outliner::CreateParaObject | ( | sal_Int32 | nStartPara = 0 , |
sal_Int32 | nParaCount = EE_PARA_ALL |
||
) | const |
Definition at line 361 of file outliner.cxx.
References GetOutlinerMode(), GetParagraph(), o3tl::make_unsigned(), nCount, pEditEngine, pParaList, OutlinerParaObject::SetOutlinerMode(), and TextObject.
Referenced by SvxOutlinerForwarder::CopyText(), TextChainingUtils::DeeplyMergeParaObject(), TextChainingUtils::JuxtaposeParaObject(), and NonOverflowingText::RemoveOverflowingText().
|
private |
|
private |
|
private |
References GetLanguage(), Init(), Insert(), SetText(), and StyleSheetChanged.
|
private |
|
private |
|
private |
Definition at line 1327 of file outliner.cxx.
References aDepthChangedHdl, and IsInUndo().
Referenced by OutlinerUndoChangeParaFlags::ImplChangeFlags(), ImpTextPasted(), OutlinerView::Indent(), Insert(), and SetDepth().
void Outliner::Draw | ( | OutputDevice & | rOutDev, |
const Point & | rStartPos | ||
) |
Definition at line 171 of file outlin2.cxx.
References pEditEngine.
void Outliner::Draw | ( | OutputDevice & | rOutDev, |
const tools::Rectangle & | rOutRect | ||
) |
Definition at line 166 of file outlin2.cxx.
References pEditEngine.
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 | ||
) |
Definition at line 1673 of file outliner.cxx.
References aDrawPortionHdl, Link< typename Arg, typename Ret >::Call(), and Link< typename Arg, typename Ret >::IsSet().
Referenced by OutlinerEditEng::DrawingTab().
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 | ||
) |
Definition at line 1651 of file outliner.cxx.
References aDrawPortionHdl, Link< typename Arg, typename Ret >::Call(), Link< typename Arg, typename Ret >::IsSet(), and pLocale.
Referenced by OutlinerEditEng::DrawingText(), and PaintBullet().
void Outliner::dumpAsXml | ( | xmlTextWriterPtr | pWriter | ) | const |
Definition at line 2140 of file outliner.cxx.
References pParaList.
void Outliner::EnableAutoColor | ( | bool | b | ) |
Definition at line 570 of file outlin2.cxx.
References pEditEngine.
void Outliner::EnableUndo | ( | bool | bEnable | ) |
Definition at line 60 of file outlin2.cxx.
References pEditEngine.
void Outliner::EraseVirtualDevice | ( | ) |
Definition at line 505 of file outlin2.cxx.
References pEditEngine.
bool Outliner::Expand | ( | Paragraph const * | pPara | ) |
Definition at line 760 of file outliner.cxx.
References InsertUndo(), InvalidateBullet(), IsInUndo(), IsUndoEnabled(), OLUNDO_EXPAND, OLUndoExpand, pParaList, UndoActionEnd(), and UndoActionStart().
Referenced by OutlinerView::ImplExpandOrCollaps(), OutlinerView::Indent(), and OLUndoExpand::Restore().
void Outliner::ForceAutoColor | ( | bool | b | ) |
Definition at line 575 of file outlin2.cxx.
References pEditEngine.
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().
Color const & Outliner::GetBackgroundColor | ( | ) | const |
Definition at line 85 of file outlin2.cxx.
References pEditEngine.
Definition at line 876 of file outliner.hxx.
EBulletInfo Outliner::GetBulletInfo | ( | sal_Int32 | nPara | ) |
Definition at line 1586 of file outliner.cxx.
References EBulletInfo::aBounds, EBulletInfo::aFont, EBulletInfo::aText, EBulletInfo::bVisible, SvxNumberFormat::GetBulletFont(), GetNumberFormat(), SvxNumberType::GetNumberingType(), ImpCalcBulletArea(), ImplGetBulletText(), ImplHasNumberFormat(), EBulletInfo::nParagraph, EBulletInfo::nType, and SVX_NUM_BITMAP.
Referenced by SvxOutlinerForwarder::GetBulletInfo().
sal_Int32 Outliner::GetBulletsNumberingStatus | ( | ) | const |
Definition at line 354 of file outliner.cxx.
References GetBulletsNumberingStatus(), and pParaList.
Referenced by GetBulletsNumberingStatus().
sal_Int32 Outliner::GetBulletsNumberingStatus | ( | const sal_Int32 | nParaStart, |
const sal_Int32 | nParaEnd | ||
) | const |
determine the bullets/numbering status of the given paragraphs
nParaStart | index of paragraph at which the check starts |
nParaEnd | index of paragraph at which the check ends |
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().
|
inline |
Definition at line 778 of file outliner.hxx.
sal_Int32 Outliner::GetChildCount | ( | Paragraph const * | pParent | ) | const |
Definition at line 236 of file outlin2.cxx.
References pParaList.
|
inlinevirtual |
Definition at line 1000 of file outliner.hxx.
Referenced by OutlinerEditEng::GetCompatFlag().
EEControlBits Outliner::GetControlWord | ( | ) | const |
Definition at line 276 of file outlin2.cxx.
References pEditEngine.
EEHorizontalTextDirection Outliner::GetDefaultHorizontalTextDirection | ( | ) | const |
Definition at line 555 of file outlin2.cxx.
References pEditEngine.
sal_Int16 Outliner::GetDepth | ( | sal_Int32 | nPara | ) | const |
Definition at line 229 of file outliner.cxx.
References DBG_ASSERT, Paragraph::GetDepth(), and pParaList.
Referenced by OutlinerView::ApplyBulletsNumbering(), OutlinerView::EnsureNumberingIsOn(), SvxOutlinerForwarder::GetDepth(), ImplSetLevelDependentStyleSheet(), ImpTextPasted(), and OutlinerView::ToggleBullets().
|
inline |
Definition at line 767 of file outliner.hxx.
Definition at line 412 of file outlin2.cxx.
References pEditEngine.
Referenced by OutlinerView::ImpCheckMousePos(), and IsTextPos().
const EditEngine & Outliner::GetEditEngine | ( | ) | const |
Definition at line 515 of file outlin2.cxx.
References pEditEngine.
Referenced by SvxOutlinerForwarder::AppendParagraph(), SvxOutlinerForwarder::AppendTextPortion(), TextChainingUtils::CreateTransferableFromText(), TextChainingUtils::DeeplyMergeParaObject(), SvxOutlinerForwarder::GetAttribs(), SvxOutlinerForwarder::GetAttributeRun(), SvxOutlinerForwarder::GetCharBounds(), SvxOutlinerForwarder::GetEmptyItemSetPtr(), SvxOutlinerForwarder::GetFieldCount(), SvxOutlinerForwarder::GetFieldInfo(), SvxOutlinerForwarder::GetIndexAtPoint(), SvxOutlinerForwarder::GetItemState(), SvxOutlinerForwarder::GetLineBoundaries(), SvxOutlinerForwarder::GetLineNumberAtIndex(), SvxOutlinerForwarder::GetParaAttribs(), SvxOutlinerForwarder::GetPortions(), SvxOutlinerForwarder::GetText(), SvxOutlinerForwarder::GetTextLen(), SvxOutlinerForwarder::GetWordIndices(), TextChainingUtils::JuxtaposeParaObject(), and OutlinerEditEng::ParagraphConnected().
SfxItemPool * Outliner::GetEditTextObjectPool | ( | ) | const |
Definition at line 371 of file outlin2.cxx.
References pEditEngine.
const SfxItemSet & Outliner::GetEmptyItemSet | ( | ) | const |
Definition at line 55 of file outlin2.cxx.
References pEditEngine.
Referenced by SvxOutlinerForwarder::GetPool().
OutlinerParaObject Outliner::GetEmptyParaObject | ( | ) | const |
Definition at line 2092 of file outliner.cxx.
References GetOutlinerMode(), pEditEngine, and OutlinerParaObject::SetOutlinerMode().
Referenced by SetToEmptyText().
Definition at line 878 of file outliner.hxx.
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().
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().
sal_uInt32 Outliner::GetLineCount | ( | sal_Int32 | nParagraph | ) | const |
Definition at line 316 of file outlin2.cxx.
References pEditEngine.
Referenced by SvxOutlinerForwarder::GetLineCount().
sal_uInt32 Outliner::GetLineHeight | ( | sal_Int32 | nParagraph | ) |
Definition at line 326 of file outlin2.cxx.
References pEditEngine.
Referenced by SvxOutlinerForwarder::GetCharBounds().
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().
const Size & Outliner::GetMaxAutoPaperSize | ( | ) | const |
Definition at line 211 of file outlin2.cxx.
References pEditEngine.
|
inline |
Definition at line 718 of file outliner.hxx.
const Size & Outliner::GetMinAutoPaperSize | ( | ) | const |
Definition at line 201 of file outlin2.cxx.
References pEditEngine.
std::optional< NonOverflowingText > Outliner::GetNonOverflowingText | ( | ) | const |
Definition at line 1987 of file outliner.cxx.
References GetLineLen(), GetParagraph(), GetParagraphCount(), GetText(), nCount, pEditEngine, and SAL_INFO.
Referenced by OFlowChainedText::OFlowChainedText().
|
protected |
Definition at line 1360 of file outliner.cxx.
References EE_PARA_NUMBULLET(), SvxNumRule::Get(), Paragraph::GetDepth(), SvxNumRule::GetLevelCount(), SvxNumBulletItem::GetNumRule(), pEditEngine, and pParaList.
Referenced by OutlinerView::ApplyBulletsNumbering(), GetBulletInfo(), GetBulletsNumberingStatus(), OutlinerEditEng::GetNumberFormat(), ImpCalcBulletArea(), ImpCalcBulletFont(), ImplCalcBulletText(), ImplGetBulletSize(), ImplGetNumbering(), ImplHasNumberFormat(), PaintBullet(), and OutlinerView::ToggleBullets().
sal_Int16 Outliner::GetNumberingStartValue | ( | sal_Int32 | nPara | ) | const |
Definition at line 257 of file outliner.cxx.
References DBG_ASSERT, Paragraph::GetNumberingStartValue(), and pParaList.
Referenced by SvxOutlinerForwarder::GetNumberingStartValue().
|
inline |
Definition at line 952 of file outliner.hxx.
Referenced by CreateParaObject(), GetEmptyParaObject(), ImpCanIndentSelectedPages(), ImplSetLevelDependentStyleSheet(), ImpTextPasted(), OutlinerView::Indent(), Init(), OutlinerView::MouseButtonDown(), OutlinerView::MouseButtonUp(), OutlinerView::MouseMove(), OutlinerView::Paste(), OutlinerView::PostKeyEvent(), OutlinerView::Read(), SetDepth(), and SetText().
std::optional< OverflowingText > Outliner::GetOverflowingText | ( | ) | const |
Definition at line 2100 of file outliner.cxx.
References GetLineLen(), GetParagraph(), GetParagraphCount(), GetText(), pEditEngine, and SAL_INFO.
Referenced by OFlowChainedText::OFlowChainedText().
const Size & Outliner::GetPaperSize | ( | ) | const |
Definition at line 181 of file outlin2.cxx.
References pEditEngine.
Referenced by ImpCalcBulletArea(), and PaintBullet().
SfxItemSet const & Outliner::GetParaAttribs | ( | sal_Int32 | nPara | ) | const |
Definition at line 1699 of file outliner.cxx.
References pEditEngine.
Referenced by OutlinerView::ApplyBulletsNumbering(), SvxOutlinerForwarder::GetItemState(), SvxOutlinerForwarder::GetParaAttribs(), ImplSetLevelDependentStyleSheet(), OutlinerView::SwitchOffBulletsNumbering(), and OutlinerView::ToggleBullets().
tools::Rectangle Outliner::GetParaBounds | ( | sal_Int32 | nParagraph | ) | const |
Definition at line 407 of file outlin2.cxx.
References pEditEngine.
Referenced by SvxOutlinerForwarder::GetParaBounds().
Paragraph * Outliner::GetParagraph | ( | sal_Int32 | nAbsPos | ) | const |
Definition at line 1345 of file outliner.cxx.
References pParaList.
Referenced by CreateParaObject(), SvxOutlinerForwarder::GetDepth(), GetNonOverflowingText(), GetOverflowingText(), OutlinerUndoChangeParaFlags::ImplChangeFlags(), OutlinerEditEng::ParagraphConnected(), OutlinerUndoCheckPara::Redo(), OLUndoExpand::Restore(), SvxOutlinerForwarder::SetDepth(), and OutlinerUndoCheckPara::Undo().
sal_Int32 Outliner::GetParagraphCount | ( | ) | const |
Definition at line 1340 of file outliner.cxx.
References pParaList.
Referenced by TextChainingUtils::CreateTransferableFromText(), GetNonOverflowingText(), GetOverflowingText(), SvxOutlinerForwarder::GetParagraphCount(), and TextChainingUtils::JuxtaposeParaObject().
|
inline |
Definition at line 752 of file outliner.hxx.
|
inline |
Definition at line 755 of file outliner.hxx.
Definition at line 231 of file outlin2.cxx.
References pParaList.
|
inline |
Definition at line 768 of file outliner.hxx.
OutputDevice * Outliner::GetRefDevice | ( | ) | const |
Definition at line 402 of file outlin2.cxx.
References pEditEngine.
Referenced by SvxOutlinerForwarder::GetRefDevice().
MapMode const & Outliner::GetRefMapMode | ( | ) | const |
Definition at line 70 of file outlin2.cxx.
References pEditEngine.
Referenced by SvxOutlinerForwarder::GetMapMode().
|
inline |
Definition at line 775 of file outliner.hxx.
Reference< XSpellChecker1 > const & Outliner::GetSpeller | ( | ) |
Definition at line 387 of file outlin2.cxx.
References pEditEngine.
Link< EditStatus &, void > const & Outliner::GetStatusEventHdl | ( | ) | const |
Definition at line 126 of file outlin2.cxx.
References pEditEngine.
SfxStyleSheet * Outliner::GetStyleSheet | ( | sal_Int32 | nPara | ) |
Definition at line 261 of file outlin2.cxx.
References pEditEngine.
Referenced by SvxOutlinerForwarder::GetStyleSheet(), and ImplSetLevelDependentStyleSheet().
SfxStyleSheetPool * Outliner::GetStyleSheetPool | ( | ) |
Definition at line 256 of file outlin2.cxx.
References pEditEngine.
Referenced by ImplSetLevelDependentStyleSheet(), OutlinerView::SetStyleSheet(), and SvxOutlinerForwarder::SetStyleSheet().
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().
sal_uInt32 Outliner::GetTextHeight | ( | ) | const |
Definition at line 101 of file outlin2.cxx.
References pEditEngine.
SfxUndoManager & Outliner::GetUndoManager | ( | ) |
OutlinerView * Outliner::GetView | ( | size_t | nIndex | ) | const |
Definition at line 1310 of file outliner.cxx.
size_t Outliner::GetViewCount | ( | ) | const |
Definition at line 1315 of file outliner.cxx.
References aViewList.
OUString Outliner::GetWord | ( | sal_Int32 | nPara, |
sal_Int32 | nIndex | ||
) |
Definition at line 161 of file outlin2.cxx.
References nIndex, and pEditEngine.
OUString const & Outliner::GetWordDelimiters | ( | ) | const |
Definition at line 156 of file outlin2.cxx.
References pEditEngine.
bool Outliner::HasChildren | ( | Paragraph const * | pParagraph | ) | const |
Definition at line 1350 of file outliner.cxx.
References pParaList.
bool Outliner::HasConvertibleTextPortion | ( | LanguageType | nLang | ) |
Definition at line 341 of file outlin2.cxx.
References pEditEngine.
Definition at line 1976 of file outliner.cxx.
References Paragraph::HasFlag().
Referenced by OutlinerEditEng::ParagraphConnected().
EESpellState Outliner::HasSpellErrors | ( | ) |
Definition at line 336 of file outlin2.cxx.
References pEditEngine.
bool Outliner::HasText | ( | const SvxSearchItem & | rSearchItem | ) |
Definition at line 361 of file outlin2.cxx.
References pEditEngine.
|
private |
Definition at line 1484 of file outliner.cxx.
References Point::AdjustX(), Point::AdjustY(), aInfos, Center, EE_PARA_JUST(), EE_PARA_LRSPACE(), EE_PARA_OUTLLRSPACE(), SvxNumberFormat::GetAbsLSpace(), SvxAdjustItem::GetAdjust(), FontMetric::GetAscent(), vcl::Font::GetCharSet(), SvxNumberFormat::GetCharTextDistance(), SvxNumberFormat::GetFirstLineOffset(), OutputDevice::GetFont(), OutputDevice::GetFontMetric(), SvxNumberFormat::GetNumAdjust(), GetNumberFormat(), SvxNumberType::GetNumberingType(), GetPaperSize(), tools::Rectangle::GetSize(), SvxLRSpaceItem::GetTextFirstLineOffset(), SvxLRSpaceItem::GetTextLeft(), Size::Height(), ImpCalcBulletFont(), ImplGetBulletSize(), IsVertical(), Left, OUTLINER, pEditEngine, Right, OutputDevice::SetFont(), Size::setHeight(), Size::setWidth(), Point::setX(), Point::setY(), SVX_NUM_BITMAP, SVX_NUM_CHAR_SPECIAL, SVX_NUM_NUMBER_NONE, tools::Rectangle::TopLeft(), Width, Size::Width(), Point::X(), and Point::Y().
Referenced by OutlinerEditEng::GetBulletArea(), GetBulletInfo(), IsTextPos(), and PaintBullet().
|
private |
Definition at line 810 of file outliner.cxx.
References ALIGN_BOTTOM, COL_AUTO(), EditEngine::CreateFontFromItemSet(), DBG_ASSERT, basegfx::fround(), SvxNumberFormat::GetBulletColor(), SvxNumberFormat::GetBulletFont(), SvxNumberFormat::GetBulletRelSize(), vcl::Font::GetFontSize(), getGlobalScale(), GetNumberFormat(), SvxNumberType::GetNumberingType(), Size::Height(), IsForceAutoColor(), IsTopToBottom(), IsVertical(), LINESTYLE_NONE, NOCOLORS, pEditEngine, vcl::Font::SetAlignment(), vcl::Font::SetColor(), vcl::Font::SetEmphasisMark(), vcl::Font::SetFontSize(), vcl::Font::SetOrientation(), vcl::Font::SetOverline(), vcl::Font::SetRelief(), vcl::Font::SetStrikeout(), vcl::Font::SetUnderline(), vcl::Font::SetVertical(), STRIKEOUT_NONE, SVX_NUM_BITMAP, SVX_NUM_CHAR_SPECIAL, SVX_NUM_NUMBER_NONE, and o3tl::temporary().
Referenced by ImpCalcBulletArea(), ImplGetBulletSize(), and PaintBullet().
|
private |
Definition at line 1227 of file outliner.cxx.
References RemovingPagesHdl().
Referenced by OutlinerView::Cut(), OutlinerView::InsertText(), OutlinerView::Paste(), and OutlinerView::PostKeyEvent().
|
private |
Definition at line 1691 of file outliner.cxx.
References mnFirstSelPage, nDepthChangedHdlPrevDepth, and RemovingPagesHdl().
|
private |
Definition at line 1209 of file outliner.cxx.
References GetOutlinerMode(), OutlinerView::ImpCalcSelectedPages(), IndentingPagesHdl(), mnFirstSelPage, nDepthChangedHdlPrevDepth, and TextObject.
Referenced by OutlinerView::Indent().
|
private |
Definition at line 488 of file outliner.cxx.
References aName, aStr, EE_PARA_OUTLLEVEL(), SfxStyleSheetBase::GetName(), SfxInt16Item::GetValue(), ESelection::HasRange(), ImplCheckDepth(), ImplInitDepth(), nPos, pEditEngine, comphelper::string::stripStart(), and o3tl::toInt32().
Referenced by ImpFilterIndents(), and ImpTextPasted().
|
private |
Definition at line 1118 of file outliner.cxx.
References Paragraph::GetDepth(), ImpConvertEdtToOut(), ImplInitDepth(), pEditEngine, pParaList, and Paragraph::SetDepth().
Referenced by Read(), and OutlinerView::Read().
|
private |
Definition at line 1909 of file outliner.cxx.
References DBG_ASSERT, nBlockInsCallback, and pEditEngine.
Referenced by AddText(), Clear(), Insert(), Read(), and SetText().
|
private |
Definition at line 1810 of file outliner.cxx.
References SvxNumberFormat::GetBulletChar(), Paragraph::GetDepth(), GetNumberFormat(), SvxNumberType::GetNumberingType(), SvxNumberType::GetNumStr(), SvxNumberFormat::GetPrefix(), SvxNumberFormat::GetSuffix(), Paragraph::GetText(), ImplGetNumbering(), pParaList, Paragraph::SetText(), SVX_NUM_BITMAP, SVX_NUM_CHAR_SPECIAL, and SVX_NUM_NUMBER_NONE.
Referenced by ImplCheckParagraphs(), ImplGetBulletText(), ImplInitDepth(), OutlinerView::Indent(), ParaAttribsChanged(), ParagraphDeleted(), ParagraphInserted(), OutlinerUndoCheckPara::Redo(), OutlinerView::SetAttribs(), SetDepth(), StyleSheetChanged(), and OutlinerUndoCheckPara::Undo().
|
private |
Definition at line 61 of file outliner.cxx.
References gnMinDepth, and nMaxDepth.
Referenced by ImpConvertEdtToOut(), Insert(), SetDepth(), and SetText().
|
private |
Definition at line 676 of file outliner.cxx.
References Paragraph::aBulSize, pParaList, and Size::setWidth().
Referenced by ImplInitDepth(), OutlinerView::SetAttribs(), OutlinerEditEng::SetParaAttribs(), SetStyleSheet(), SetText(), and StyleSheetChanged().
|
private |
Definition at line 1417 of file outliner.cxx.
References ImplCalcBulletText(), Paragraph::Invalidate(), n, and pParaList.
Referenced by AddText(), OutlinerView::ApplyBulletsNumbering(), OutlinerView::EnsureNumberingIsOn(), SetNumberingStartValue(), OutlinerEditEng::SetParaAttribs(), SetParaIsNumberingRestart(), SetText(), OutlinerView::SwitchOffBulletsNumbering(), and OutlinerView::ToggleBullets().
|
private |
Definition at line 1380 of file outliner.cxx.
References Paragraph::aBulSize, DBG_ASSERT, OutputDevice::GetFont(), SvxNumberFormat::GetGraphicSize(), GetNumberFormat(), SvxNumberType::GetNumberingType(), OutputDevice::GetTextHeight(), OutputDevice::GetTextWidth(), ImpCalcBulletFont(), ImplGetBulletText(), OutputDevice::LogicToLogic(), pEditEngine, pParaList, OutputDevice::SetFont(), Size::setHeight(), Size::setWidth(), SVX_NUM_BITMAP, SVX_NUM_NUMBER_NONE, and Size::Width().
Referenced by ImpCalcBulletArea().
|
private |
Definition at line 1889 of file outliner.cxx.
References Paragraph::GetText(), ImplCalcBulletText(), and pParaList.
Referenced by GetBulletInfo(), and ImplGetBulletSize().
|
private |
Definition at line 1756 of file outliner.cxx.
References EE_PARA_BULLETSTATE(), Paragraph::GetDepth(), GetNumberFormat(), Paragraph::GetNumberingStartValue(), SvxNumberFormat::GetStart(), SfxBoolItem::GetValue(), Paragraph::IsParaIsNumberingRestart(), isSameNumbering(), pEditEngine, and pParaList.
Referenced by ImplCalcBulletText().
|
private |
Definition at line 1355 of file outliner.cxx.
References GetNumberFormat().
Referenced by OutlinerEditEng::GetBulletArea(), GetBulletInfo(), IsTextPos(), PaintBullet(), and OutlinerView::PostKeyEvent().
|
private |
Definition at line 715 of file outliner.cxx.
References DBG_ASSERT, EE_PARA_OUTLLEVEL(), Paragraph::GetDepth(), gnMinDepth, ImplCalcBulletText(), ImplCheckNumBulletItem(), InsertUndo(), IsInUndo(), IsUndoEnabled(), nMaxDepth, pEditEngine, pParaList, SfxItemSet::Put(), and Paragraph::SetDepth().
Referenced by AddText(), ImpConvertEdtToOut(), ImpFilterIndents(), ImpTextPasted(), OutlinerView::Indent(), Init(), Insert(), OutlinerUndoChangeDepth::Redo(), OutlinerView::RemoveAttribs(), SetDepth(), SetText(), and OutlinerUndoChangeDepth::Undo().
|
private |
Definition at line 683 of file outliner.cxx.
References DBG_ASSERT, EE_PARA_NUMBULLET(), SfxStyleSheetBasePool::Find(), SfxItemSet::Get(), GetDepth(), SfxStyleSheetBase::GetFamily(), SfxItemSet::GetItemState(), SfxStyleSheetBase::GetName(), GetOutlinerMode(), GetParaAttribs(), GetStyleSheet(), GetStyleSheetPool(), OutlineObject, OutlineView, SfxItemSet::Put(), SetParaAttribs(), and SetStyleSheet().
Referenced by OutlinerView::Indent(), OutlinerView::Paste(), OutlinerView::Read(), SetDepth(), and SetLevelDependentStyleSheet().
|
private |
Definition at line 1155 of file outliner.cxx.
References DBG_ASSERT, DepthChangedHdl(), EE_PARA_OUTLLEVEL(), SfxItemSet::Get(), Paragraph::GetDepth(), GetDepth(), SfxItemSet::GetItemState(), GetOutlinerMode(), SfxInt16Item::GetValue(), ImpConvertEdtToOut(), ImplInitDepth(), nCount, nDepthChangedHdlPrevDepth, Paragraph::nFlags, pEditEngine, pParaList, and TextObject.
Referenced by OutlinerView::ImpPasted().
bool Outliner::IndentingPagesHdl | ( | OutlinerView * | pView | ) |
Definition at line 1202 of file outliner.cxx.
References aIndentingPagesHdl, Link< typename Arg, typename Ret >::Call(), and Link< typename Arg, typename Ret >::IsSet().
Referenced by ImpCanIndentSelectedPages().
void Outliner::Init | ( | OutlinerMode | nMode | ) |
Definition at line 185 of file outliner.cxx.
References SfxUndoManager::Clear(), Clear(), EnableUndo(), GetOutlinerMode(), GetUndoManager(), ImplInitDepth(), IsUndoEnabled(), nOutlinerMode, OutlineObject, OUTLINER, OUTLINER2, OutlineView, pEditEngine, SetMaxDepth(), TextObject, and TitleObject.
Referenced by Outliner(), and SetText().
Paragraph * Outliner::Insert | ( | const OUString & | rText, |
sal_Int32 | nAbsPos = EE_PARA_APPEND , |
||
sal_Int16 | nDepth = 0 |
||
) |
Definition at line 69 of file outliner.cxx.
References bFirstParaIsEmpty, DBG_ASSERT, DepthChangedHdl(), Paragraph::GetDepth(), HOLDDEPTH, ImplBlockInsertionCallbacks(), ImplCheckDepth(), ImplInitDepth(), nDepthChangedHdlPrevDepth, Paragraph::nFlags, ParagraphInsertedHdl(), pEditEngine, pParaList, Paragraph::SetDepth(), and SetText().
Referenced by OutlinerView::InsertText(), OutlinerView::Paint(), and OutlinerView::PostKeyEvent().
void Outliner::InsertUndo | ( | std::unique_ptr< EditUndo > | pUndo | ) |
Definition at line 306 of file outlin2.cxx.
References pEditEngine.
Referenced by Collapse(), Expand(), ImplInitDepth(), OutlinerView::Indent(), OutlinerEditEng::ParagraphConnected(), OutlinerView::SetAttribs(), SetNumberingStartValue(), SetParaFlag(), and SetParaIsNumberingRestart().
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.
|
protected |
Definition at line 1069 of file outliner.cxx.
References tools::Rectangle::AdjustBottom(), aViewList, pEditEngine, tools::Rectangle::SetBottom(), tools::Rectangle::SetRight(), tools::Rectangle::SetTop(), Point::X(), and Point::Y().
Referenced by Collapse(), Expand(), and OutlinerView::Indent().
bool Outliner::IsExpanded | ( | Paragraph const * | pPara | ) | const |
Definition at line 226 of file outlin2.cxx.
References pParaList.
bool Outliner::IsFlatMode | ( | ) | const |
Definition at line 136 of file outlin2.cxx.
References pEditEngine.
bool Outliner::IsForceAutoColor | ( | ) | const |
Definition at line 580 of file outlin2.cxx.
References pEditEngine.
Referenced by ImpCalcBulletFont().
bool Outliner::IsInSelectionMode | ( | ) | const |
Definition at line 266 of file outlin2.cxx.
References pEditEngine.
bool Outliner::IsInUndo | ( | ) | const |
Definition at line 311 of file outlin2.cxx.
References pEditEngine.
Referenced by Collapse(), DepthChangedHdl(), Expand(), OutlinerView::ImplExpandOrCollaps(), ImplInitDepth(), OutlinerView::Indent(), ParagraphInsertedHdl(), OutlinerView::SetAttribs(), SetNumberingStartValue(), SetParaFlag(), and SetParaIsNumberingRestart().
bool Outliner::IsModified | ( | ) | const |
Definition at line 96 of file outlin2.cxx.
References pEditEngine.
bool Outliner::IsPageOverflow | ( | ) |
Definition at line 1982 of file outliner.cxx.
References pEditEngine.
bool Outliner::IsParaIsNumberingRestart | ( | sal_Int32 | nPara | ) | const |
Definition at line 281 of file outliner.cxx.
References DBG_ASSERT, Paragraph::IsParaIsNumberingRestart(), and pParaList.
Referenced by SvxOutlinerForwarder::IsParaIsNumberingRestart().
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().
bool Outliner::IsTextPos | ( | const Point & | rPaperPos, |
sal_uInt16 | nBorder, | ||
bool * | pbBulletPos | ||
) |
Definition at line 422 of file outlin2.cxx.
References tools::Rectangle::Contains(), EE_PARA_NOT_FOUND, GetDocPos(), ImpCalcBulletArea(), ImplHasNumberFormat(), nBorder, pEditEngine, and Point::Y().
bool Outliner::IsTopToBottom | ( | ) | const |
Definition at line 535 of file outlin2.cxx.
References pEditEngine.
Referenced by ImpCalcBulletFont(), and PaintBullet().
bool Outliner::IsUndoEnabled | ( | ) | const |
Definition at line 65 of file outlin2.cxx.
References pEditEngine.
Referenced by Collapse(), Expand(), OutlinerView::ImplExpandOrCollaps(), ImplInitDepth(), OutlinerView::Indent(), Init(), OutlinerEditEng::ParagraphConnected(), OutlinerView::SetAttribs(), SetNumberingStartValue(), SetParaFlag(), and SetParaIsNumberingRestart().
bool Outliner::IsUpdateLayout | ( | ) | const |
Definition at line 50 of file outlin2.cxx.
References pEditEngine.
Referenced by SvxOutlinerForwarder::IsValid().
bool Outliner::IsVertical | ( | ) | const |
Definition at line 530 of file outlin2.cxx.
References pEditEngine.
Referenced by SvxOutlinerForwarder::GetCharBounds(), SvxOutlinerForwarder::GetIndexAtPoint(), OutlinerView::GetPointer(), ImpCalcBulletArea(), ImpCalcBulletFont(), and PaintBullet().
|
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().
|
protected |
Definition at line 1441 of file outliner.cxx.
References EE_PARA_OUTLLEVEL(), Paragraph::GetDepth(), SfxInt16Item::GetValue(), ImplCalcBulletText(), Paragraph::Invalidate(), pEditEngine, pParaList, and Paragraph::SetDepth().
Referenced by OutlinerEditEng::ParaAttribsChanged().
|
protected |
Definition at line 150 of file outliner.cxx.
References aParaRemovingHdl, bPasting, EE_PARA_ALL, Paragraph::GetDepth(), ImplCalcBulletText(), nBlockInsCallback, pEditEngine, and pParaList.
Referenced by OutlinerEditEng::ParagraphDeleted().
|
protected |
Definition at line 115 of file outliner.cxx.
References bPasting, Paragraph::bVisible, EE_PARA_OUTLLEVEL(), Paragraph::GetDepth(), SfxInt16Item::GetValue(), ImplCalcBulletText(), nBlockInsCallback, ParagraphInsertedHdl(), pEditEngine, pParaList, and Paragraph::SetDepth().
Referenced by OutlinerEditEng::ParagraphInserted().
void Outliner::ParagraphInsertedHdl | ( | Paragraph * | pPara | ) |
Definition at line 1320 of file outliner.cxx.
References aParaInsertedHdl, and IsInUndo().
Referenced by Insert(), ParagraphInserted(), and SetText().
void Outliner::PutSpellingToSentenceStart | ( | EditView const & | rEditView | ) |
Definition at line 590 of file outlin2.cxx.
References pEditEngine.
void Outliner::QuickDelete | ( | const ESelection & | rSel | ) |
Definition at line 457 of file outlin2.cxx.
References bFirstParaIsEmpty, and pEditEngine.
Referenced by SvxOutlinerForwarder::Delete(), SvxOutlinerForwarder::QuickInsertText(), and NonOverflowingText::RemoveOverflowingText().
void Outliner::QuickFormatDoc | ( | ) |
Definition at line 475 of file outlin2.cxx.
References pEditEngine.
Referenced by SvxOutlinerForwarder::Delete(), SvxOutlinerForwarder::InsertText(), and SvxOutlinerForwarder::QuickFormatDoc().
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().
void Outliner::QuickInsertLineBreak | ( | const ESelection & | rSel | ) |
Definition at line 469 of file outlin2.cxx.
References bFirstParaIsEmpty, and pEditEngine.
Referenced by SvxOutlinerForwarder::QuickInsertLineBreak().
void Outliner::QuickInsertText | ( | const OUString & | rText, |
const ESelection & | rSel | ||
) |
Definition at line 451 of file outlin2.cxx.
References bFirstParaIsEmpty, and pEditEngine.
Referenced by SvxOutlinerForwarder::InsertText(), and SvxOutlinerForwarder::QuickInsertText().
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().
ErrCode Outliner::Read | ( | SvStream & | rInput, |
const OUString & | rBaseURL, | ||
EETextFormat | eFormat, | ||
SvKeyValueIterator * | pHTTPHeaderAttrs = nullptr |
||
) |
Definition at line 1085 of file outliner.cxx.
References bFirstParaIsEmpty, Clear(), EnableUndo(), ImpFilterIndents(), ImplBlockInsertionCallbacks(), n, pEditEngine, and pParaList.
void Outliner::Remove | ( | Paragraph const * | pPara, |
sal_Int32 | nParaCount | ||
) |
Definition at line 1629 of file outliner.cxx.
References Clear(), n, nPos, pEditEngine, and pParaList.
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().
void Outliner::RemoveCharAttribs | ( | sal_Int32 | nPara, |
sal_uInt16 | nWhich = 0 |
||
) |
Definition at line 331 of file outlin2.cxx.
References pEditEngine.
void Outliner::RemoveFields | ( | const std::function< bool(const SvxFieldData *)> & | isFieldData = [] (const SvxFieldData* ){return true;} | ) |
Definition at line 146 of file outlin2.cxx.
References pEditEngine.
void Outliner::RemoveView | ( | OutlinerView const * | pView | ) |
Definition at line 1284 of file outliner.cxx.
References aViewList, pEditEngine, and OutlinerView::pEditView.
void Outliner::RemoveView | ( | size_t | nIndex | ) |
Definition at line 1295 of file outliner.cxx.
References aViewList, EditView::HideCursor(), nIndex, and pEditEngine.
bool Outliner::RemovingPagesHdl | ( | OutlinerView * | pView | ) |
Definition at line 1686 of file outliner.cxx.
References aRemovingPagesHdl, Link< typename Arg, typename Ret >::Call(), and Link< typename Arg, typename Ret >::IsSet().
Referenced by ImpCanDeleteSelectedPages().
void Outliner::SetAddExtLeading | ( | bool | b | ) |
Definition at line 291 of file outlin2.cxx.
References pEditEngine.
void Outliner::SetAsianCompressionMode | ( | CharCompressType | nCompressionMode | ) |
Definition at line 281 of file outlin2.cxx.
References n, and pEditEngine.
void Outliner::SetBackgroundColor | ( | const Color & | rColor | ) |
Definition at line 80 of file outlin2.cxx.
References pEditEngine.
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.
Definition at line 877 of file outliner.hxx.
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.
|
inline |
Definition at line 777 of file outliner.hxx.
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.
void Outliner::SetControlWord | ( | EEControlBits | nWord | ) |
Definition at line 271 of file outlin2.cxx.
References pEditEngine.
void Outliner::SetDefaultHorizontalTextDirection | ( | EEHorizontalTextDirection | eHTextDir | ) |
Definition at line 550 of file outlin2.cxx.
References pEditEngine.
void Outliner::SetDefaultLanguage | ( | LanguageType | eLang | ) |
Definition at line 351 of file outlin2.cxx.
References pEditEngine.
void Outliner::SetDefTab | ( | sal_uInt16 | nTab | ) |
Definition at line 131 of file outlin2.cxx.
References pEditEngine.
void Outliner::SetDepth | ( | Paragraph * | pParagraph, |
sal_Int16 | nNewDepth | ||
) |
Definition at line 236 of file outliner.cxx.
References DepthChangedHdl(), GetAbsPos(), Paragraph::GetDepth(), GetOutlinerMode(), ImplCalcBulletText(), ImplCheckDepth(), ImplInitDepth(), ImplSetLevelDependentStyleSheet(), nDepthChangedHdlPrevDepth, Paragraph::nFlags, and OutlineObject.
Referenced by OutlinerView::ApplyBulletsNumbering(), OutlinerView::EnsureNumberingIsOn(), SvxOutlinerForwarder::SetDepth(), OutlinerView::SwitchOffBulletsNumbering(), and OutlinerView::ToggleBullets().
|
inline |
Definition at line 766 of file outliner.hxx.
|
inline |
Definition at line 782 of file outliner.hxx.
|
inline |
Definition at line 780 of file outliner.hxx.
void Outliner::SetEditTextObjectPool | ( | SfxItemPool * | pPool | ) |
Definition at line 366 of file outlin2.cxx.
References pEditEngine.
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.
Definition at line 879 of file outliner.hxx.
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.
void Outliner::SetFixedCellHeight | ( | bool | bUseFixedCellHeight | ) |
Definition at line 545 of file outlin2.cxx.
References pEditEngine.
void Outliner::SetFlatMode | ( | bool | bFlat | ) |
Definition at line 1877 of file outliner.cxx.
References pEditEngine, and pParaList.
|
static |
Definition at line 392 of file outlin2.cxx.
References EditEngine::SetForbiddenCharsTable().
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().
void Outliner::SetHyphenator | ( | css::uno::Reference< css::linguistic2::XHyphenator > const & | xHyph | ) |
Definition at line 397 of file outlin2.cxx.
References pEditEngine.
|
inline |
Definition at line 773 of file outliner.hxx.
void Outliner::SetKernAsianPunctuation | ( | bool | bEnabled | ) |
Definition at line 286 of file outlin2.cxx.
References pEditEngine.
void Outliner::SetLevelDependentStyleSheet | ( | sal_Int32 | nPara | ) |
Definition at line 1902 of file outliner.cxx.
References ImplSetLevelDependentStyleSheet(), and pEditEngine.
Referenced by SvxOutlinerForwarder::SetDepth().
void Outliner::SetMaxAutoPaperSize | ( | const Size & | rSz | ) |
Definition at line 216 of file outlin2.cxx.
References pEditEngine.
void Outliner::SetMaxDepth | ( | sal_Int16 | nDepth | ) |
Definition at line 221 of file outliner.cxx.
References nMaxDepth, and SVX_MAX_NUM.
Referenced by Init().
void Outliner::SetMinAutoPaperSize | ( | const Size & | rSz | ) |
Definition at line 206 of file outlin2.cxx.
References pEditEngine.
void Outliner::SetMinColumnWrapHeight | ( | tools::Long | nVal | ) |
Definition at line 221 of file outlin2.cxx.
References pEditEngine.
void Outliner::SetModifyHdl | ( | const Link< LinkParamNone *, void > & | rLink | ) |
Definition at line 106 of file outlin2.cxx.
References pEditEngine.
Definition at line 111 of file outlin2.cxx.
References Link< typename Arg, typename Ret >::IsSet(), LINK, and pEditEngine.
void Outliner::SetNumberingStartValue | ( | sal_Int32 | nPara, |
sal_Int16 | nNumberingStartValue | ||
) |
Definition at line 264 of file outliner.cxx.
References DBG_ASSERT, Paragraph::GetNumberingStartValue(), ImplCheckParagraphs(), InsertUndo(), IsInUndo(), Paragraph::IsParaIsNumberingRestart(), IsUndoEnabled(), pEditEngine, pParaList, and Paragraph::SetNumberingStartValue().
Referenced by OutlinerUndoChangeParaNumberingRestart::ImplApplyData(), and SvxOutlinerForwarder::SetNumberingStartValue().
|
inline |
Definition at line 784 of file outliner.hxx.
void Outliner::SetPaperSize | ( | const Size & | rSize | ) |
Definition at line 176 of file outlin2.cxx.
References pEditEngine.
void Outliner::SetParaAttribs | ( | sal_Int32 | nPara, |
const SfxItemSet & | rSet | ||
) |
Definition at line 749 of file outliner.cxx.
References pEditEngine, and rSet.
Referenced by OutlinerView::ApplyBulletsNumbering(), ImplSetLevelDependentStyleSheet(), SvxOutlinerForwarder::SetParaAttribs(), OutlinerView::SwitchOffBulletsNumbering(), and OutlinerView::ToggleBullets().
Definition at line 1965 of file outliner.cxx.
References GetAbsPos(), Paragraph::HasFlag(), InsertUndo(), IsInUndo(), IsUndoEnabled(), Paragraph::nFlags, and Paragraph::SetFlag().
|
inline |
Definition at line 751 of file outliner.hxx.
void Outliner::SetParaIsNumberingRestart | ( | sal_Int32 | nPara, |
bool | bParaIsNumberingRestart | ||
) |
Definition at line 288 of file outliner.cxx.
References DBG_ASSERT, Paragraph::GetNumberingStartValue(), ImplCheckParagraphs(), InsertUndo(), IsInUndo(), Paragraph::IsParaIsNumberingRestart(), IsUndoEnabled(), pEditEngine, pParaList, and Paragraph::SetParaIsNumberingRestart().
Referenced by OutlinerUndoChangeParaNumberingRestart::ImplApplyData(), and SvxOutlinerForwarder::SetParaIsNumberingRestart().
|
inline |
Definition at line 754 of file outliner.hxx.
void Outliner::SetPolygon | ( | const basegfx::B2DPolyPolygon & | rPolyPolygon | ) |
Definition at line 186 of file outlin2.cxx.
References pEditEngine.
void Outliner::SetPolygon | ( | const basegfx::B2DPolyPolygon & | rPolyPolygon, |
const basegfx::B2DPolyPolygon * | pLinePolyPolygon | ||
) |
Definition at line 191 of file outlin2.cxx.
References pEditEngine.
void Outliner::SetRefDevice | ( | OutputDevice * | pRefDev | ) |
Definition at line 1431 of file outliner.cxx.
References Paragraph::Invalidate(), n, pEditEngine, and pParaList.
void Outliner::SetRefMapMode | ( | const MapMode & | rMMode | ) |
Definition at line 75 of file outlin2.cxx.
References pEditEngine.
|
inline |
Definition at line 771 of file outliner.hxx.
void Outliner::SetRotation | ( | TextRotation | nRotation | ) |
Definition at line 525 of file outlin2.cxx.
References pEditEngine.
void Outliner::setRoundFontSizeToPt | ( | bool | bRound | ) | const |
Definition at line 500 of file outlin2.cxx.
References pEditEngine.
void Outliner::SetSpeller | ( | css::uno::Reference< css::linguistic2::XSpellChecker1 > const & | xSpeller | ) |
Definition at line 382 of file outlin2.cxx.
References pEditEngine.
void Outliner::SetStatusEventHdl | ( | const Link< EditStatus &, void > & | rLink | ) |
Definition at line 121 of file outlin2.cxx.
References pEditEngine.
void Outliner::SetStyleSheet | ( | sal_Int32 | nPara, |
SfxStyleSheet * | pStyle | ||
) |
Definition at line 666 of file outliner.cxx.
References ImplCheckNumBulletItem(), pEditEngine, and pParaList.
Referenced by ImplSetLevelDependentStyleSheet(), OutlinerView::SetStyleSheet(), and SvxOutlinerForwarder::SetStyleSheet().
void Outliner::SetStyleSheetPool | ( | SfxStyleSheetPool * | pSPool | ) |
Definition at line 251 of file outlin2.cxx.
References pEditEngine.
void Outliner::SetText | ( | const OUString & | rText, |
Paragraph * | pParagraph | ||
) |
Definition at line 397 of file outliner.cxx.
References aStr, bFirstParaIsEmpty, convertLineEnd(), DBG_ASSERT, Paragraph::GetDepth(), GetOutlinerMode(), o3tl::getToken(), HOLDDEPTH, ImplBlockInsertionCallbacks(), ImplCheckDepth(), ImplInitDepth(), LINEEND_LF, Paragraph::nFlags, nPos, OutlineObject, OutlineView, ParagraphInsertedHdl(), pEditEngine, pParaList, and Paragraph::SetDepth().
void Outliner::SetText | ( | const OutlinerParaObject & | rPObj | ) |
Definition at line 559 of file outliner.cxx.
References bFirstParaIsEmpty, OutlinerParaObject::Count(), DBG_ASSERT, EnableUndo(), OutlinerParaObject::GetOutlinerMode(), OutlinerParaObject::GetParagraphData(), OutlinerParaObject::GetTextObject(), ImplBlockInsertionCallbacks(), ImplCheckDepth(), ImplCheckNumBulletItem(), ImplCheckParagraphs(), Init(), pEditEngine, and pParaList.
Referenced by SvxOutlinerForwarder::CopyText(), TextChainingUtils::DeeplyMergeParaObject(), Insert(), TextChainingUtils::JuxtaposeParaObject(), and SetToEmptyText().
void Outliner::SetTextColumns | ( | sal_Int16 | nColumns, |
sal_Int32 | nSpacing | ||
) |
Definition at line 540 of file outlin2.cxx.
References pEditEngine.
void Outliner::SetToEmptyText | ( | ) |
Definition at line 392 of file outliner.cxx.
References GetEmptyParaObject(), and SetText().
Referenced by TextChainingUtils::DeeplyMergeParaObject(), and TextChainingUtils::JuxtaposeParaObject().
SfxUndoManager * Outliner::SetUndoManager | ( | SfxUndoManager * | pNew | ) |
Definition at line 1150 of file outliner.cxx.
References pEditEngine.
bool Outliner::SetUpdateLayout | ( | bool | bUpdate | ) |
Definition at line 44 of file outlin2.cxx.
References pEditEngine.
Referenced by OutlinerView::ImplExpandOrCollaps(), and OutlinerView::RemoveAttribs().
void Outliner::SetVertical | ( | bool | bVertical | ) |
Definition at line 520 of file outlin2.cxx.
References pEditEngine.
void Outliner::SetWordDelimiters | ( | const OUString & | rDelimiters | ) |
Definition at line 151 of file outlin2.cxx.
References pEditEngine.
bool Outliner::ShouldCreateBigTextObject | ( | ) | const |
Definition at line 510 of file outlin2.cxx.
References pEditEngine.
|
virtual |
Definition at line 376 of file outlin2.cxx.
Referenced by OutlinerEditEng::SpellNextDocument().
bool Outliner::SpellSentence | ( | EditView const & | rEditView, |
svx::SpellPortions & | rToFill | ||
) |
Definition at line 585 of file outlin2.cxx.
References pEditEngine.
void Outliner::StripPortions | ( | ) |
Definition at line 1644 of file outliner.cxx.
References bStrippingPortions, and pEditEngine.
|
protected |
Definition at line 1463 of file outliner.cxx.
References ImplCalcBulletText(), ImplCheckNumBulletItem(), pEditEngine, and pParaList.
Referenced by OutlinerEditEng::StyleSheetChanged().
void Outliner::UndoActionEnd | ( | ) |
Definition at line 301 of file outlin2.cxx.
References pEditEngine.
Referenced by OutlinerView::ApplyBulletsNumbering(), Collapse(), OutlinerView::EnsureNumberingIsOn(), Expand(), OutlinerView::ImplExpandOrCollaps(), OutlinerView::Indent(), OutlinerView::InsertText(), OutlinerView::Paste(), OutlinerView::PostKeyEvent(), OutlinerView::RemoveAttribs(), OutlinerView::SetAttribs(), OutlinerEditEng::SetParaAttribs(), OutlinerView::SwitchOffBulletsNumbering(), and OutlinerView::ToggleBullets().
void Outliner::UndoActionStart | ( | sal_uInt16 | nId | ) |
Definition at line 296 of file outlin2.cxx.
References nId, and pEditEngine.
Referenced by OutlinerView::ApplyBulletsNumbering(), Collapse(), OutlinerView::EnsureNumberingIsOn(), Expand(), OutlinerView::ImplExpandOrCollaps(), OutlinerView::Indent(), OutlinerView::InsertText(), OutlinerView::Paste(), OutlinerView::PostKeyEvent(), OutlinerView::RemoveAttribs(), OutlinerView::SetAttribs(), OutlinerEditEng::SetParaAttribs(), OutlinerView::SwitchOffBulletsNumbering(), and OutlinerView::ToggleBullets().
bool Outliner::UpdateFields | ( | ) |
Definition at line 141 of file outlin2.cxx.
References pEditEngine.
|
friend |
Definition at line 580 of file outliner.hxx.
Referenced by Collapse(), and Expand().
|
friend |
Definition at line 578 of file outliner.hxx.
Referenced by Outliner().
|
friend |
Definition at line 579 of file outliner.hxx.
|
friend |
Definition at line 581 of file outliner.hxx.
|
friend |
Definition at line 583 of file outliner.hxx.
|
friend |
Definition at line 582 of file outliner.hxx.
|
friend |
Definition at line 577 of file outliner.hxx.
|
friend |
Definition at line 585 of file outliner.hxx.
Definition at line 598 of file outliner.hxx.
|
private |
Definition at line 602 of file outliner.hxx.
Referenced by CalcFieldValue().
|
private |
Definition at line 597 of file outliner.hxx.
Referenced by DepthChangedHdl().
|
private |
Definition at line 594 of file outliner.hxx.
Referenced by PaintBullet().
|
private |
Definition at line 593 of file outliner.hxx.
Referenced by DrawingTab(), and DrawingText().
Definition at line 599 of file outliner.hxx.
|
private |
Definition at line 600 of file outliner.hxx.
Referenced by IndentingPagesHdl().
|
private |
Definition at line 595 of file outliner.hxx.
Referenced by ParagraphInsertedHdl().
|
private |
Definition at line 596 of file outliner.hxx.
Referenced by ParagraphDeleted().
|
private |
Definition at line 601 of file outliner.hxx.
Referenced by RemovingPagesHdl().
|
private |
Definition at line 590 of file outliner.hxx.
Referenced by GetView(), GetViewCount(), InsertView(), InvalidateBullet(), and RemoveView().
|
private |
Definition at line 613 of file outliner.hxx.
Referenced by AddText(), Clear(), Insert(), OutlinerView::InsertText(), OutlinerView::Paint(), OutlinerView::PostKeyEvent(), QuickDelete(), QuickInsertField(), QuickInsertLineBreak(), QuickInsertText(), Read(), and SetText().
|
private |
Definition at line 616 of file outliner.hxx.
Referenced by OutlinerView::ImpInitPaste(), OutlinerView::ImpPasted(), ParagraphDeleted(), ParagraphInserted(), and OutlinerView::Paste().
|
private |
Definition at line 615 of file outliner.hxx.
Referenced by PaintBullet(), and StripPortions().
|
staticconstexprprivate |
Definition at line 609 of file outliner.hxx.
Referenced by Clear(), ImplCheckDepth(), ImplInitDepth(), and OutlinerView::Indent().
|
private |
Definition at line 604 of file outliner.hxx.
Referenced by SetBeginPasteOrDropHdl().
|
private |
Definition at line 605 of file outliner.hxx.
Referenced by SetEndPasteOrDropHdl().
|
private |
Definition at line 603 of file outliner.hxx.
Referenced by OutlinerEditEng::PaintingFirstLine().
|
private |
Definition at line 592 of file outliner.hxx.
Referenced by OutlinerView::ImpCalcSelectedPages(), ImpCanDeleteSelectedPages(), and ImpCanIndentSelectedPages().
|
private |
Definition at line 614 of file outliner.hxx.
Referenced by ImplBlockInsertionCallbacks(), ParagraphDeleted(), and ParagraphInserted().
|
private |
Definition at line 607 of file outliner.hxx.
Referenced by OutlinerView::ImpCalcSelectedPages(), ImpCanDeleteSelectedPages(), ImpCanIndentSelectedPages(), OutlinerUndoChangeParaFlags::ImplChangeFlags(), ImpTextPasted(), OutlinerView::Indent(), Insert(), and SetDepth().
|
private |
Definition at line 608 of file outliner.hxx.
Referenced by ImplCheckDepth(), ImplInitDepth(), OutlinerView::Indent(), and SetMaxDepth().
|
private |
Definition at line 611 of file outliner.hxx.
Referenced by Init().
|
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().
|
private |
Definition at line 589 of file outliner.hxx.
Referenced by AddText(), OutlinerView::ApplyBulletsNumbering(), Clear(), Collapse(), OutlinerView::CollapseAll(), CreateParaObject(), OutlinerView::CreateSelectionList(), dumpAsXml(), OutlinerView::EnsureNumberingIsOn(), Expand(), OutlinerView::ExpandAll(), GetAbsPos(), GetBulletsNumberingStatus(), GetChildCount(), GetDepth(), GetNumberFormat(), GetNumberingStartValue(), GetParagraph(), GetParagraphCount(), GetParent(), GetText(), HasChildren(), OutlinerView::ImpCalcSelectedPages(), ImpFilterIndents(), OutlinerView::ImpGetSelectedParagraphs(), ImplCalcBulletText(), ImplCheckNumBulletItem(), ImplCheckParagraphs(), OutlinerView::ImplExpandOrCollaps(), ImplGetBulletSize(), ImplGetBulletText(), ImplGetNumbering(), ImplInitDepth(), ImpTextPasted(), OutlinerView::ImpToggleExpand(), OutlinerView::Indent(), Insert(), IsExpanded(), IsParaIsNumberingRestart(), OutlinerView::MouseButtonDown(), Outliner(), PaintBullet(), ParaAttribsChanged(), ParagraphDeleted(), ParagraphInserted(), OutlinerView::PostKeyEvent(), Read(), Remove(), OutlinerView::RemoveAttribs(), OutlinerView::Select(), OutlinerView::SelectRange(), SetFlatMode(), setGlobalScale(), SetNumberingStartValue(), OutlinerEditEng::SetParaAttribs(), SetParaIsNumberingRestart(), SetRefDevice(), SetStyleSheet(), SetText(), StyleSheetChanged(), OutlinerView::SwitchOffBulletsNumbering(), OutlinerView::ToggleBullets(), and ~Outliner().