LibreOffice Module editeng (master) 1
|
#include <outliner.hxx>
Public Member Functions | |
OutlinerView (Outliner *pOut, vcl::Window *pWindow) | |
~OutlinerView () | |
EditView & | GetEditView () const |
void | Scroll (tools::Long nHorzScroll, tools::Long nVertScroll) |
void | Paint (const tools::Rectangle &rRect, OutputDevice *pTargetDevice=nullptr) |
bool | PostKeyEvent (const KeyEvent &rKEvt, vcl::Window const *pFrameWin=nullptr) |
bool | MouseButtonDown (const MouseEvent &) |
bool | MouseButtonUp (const MouseEvent &) |
void | ReleaseMouse () |
bool | MouseMove (const MouseEvent &) |
void | ShowCursor (bool bGotoCursor=true, bool bActivate=false) |
void | HideCursor (bool bDeactivate=false) |
Outliner * | GetOutliner () const |
void | SetWindow (vcl::Window *pWindow) |
vcl::Window * | GetWindow () const |
void | SetReadOnly (bool bReadOnly) |
bool | IsReadOnly () const |
void | SetOutputArea (const tools::Rectangle &rRect) |
tools::Rectangle const & | GetOutputArea () const |
tools::Rectangle | GetVisArea () const |
void | CreateSelectionList (std::vector< Paragraph * > &aSelList) |
void | Select (Paragraph const *pParagraph, bool bSelect=true) |
OUString | GetSelected () const |
void | SelectRange (sal_Int32 nFirst, sal_Int32 nCount) |
void | SetAttribs (const SfxItemSet &) |
void | Indent (short nDiff) |
void | AdjustDepth (short nDX) |
void | AdjustHeight (tools::Long nDY) |
void | Read (SvStream &rInput, EETextFormat eFormat, SvKeyValueIterator *pHTTPHeaderAttrs) |
void | InsertText (const OUString &rNew, bool bSelect=false) |
void | InsertText (const OutlinerParaObject &rParaObj) |
void | Expand () |
void | Collapse () |
void | ExpandAll () |
void | CollapseAll () |
void | SetBackgroundColor (const Color &rColor) |
Color const & | GetBackgroundColor () const |
void | RegisterViewShell (OutlinerViewShell *pViewShell) |
Informs this edit view about which view shell contains it. More... | |
SfxItemSet | GetAttribs () |
void | Cut () |
void | Copy () |
void | Paste (bool bUseSpecial=false) |
void | PasteSpecial () |
void | SetStyleSheet (const OUString &rStyleName) |
const SfxStyleSheet * | GetStyleSheet () const |
SfxStyleSheet * | GetStyleSheet () |
void | SetControlWord (EVControlBits nWord) |
EVControlBits | GetControlWord () const |
void | SetAnchorMode (EEAnchorMode eMode) |
EEAnchorMode | GetAnchorMode () const |
PointerStyle | GetPointer (const Point &rPosPixel) |
bool | Command (const CommandEvent &rCEvt) |
void | StartSpeller (weld::Widget *pDialogParent) |
EESpellState | StartThesaurus (weld::Widget *pDialogParent) |
sal_Int32 | StartSearchAndReplace (const SvxSearchItem &rSearchItem) |
void | StartTextConversion (weld::Widget *pDialogParent, LanguageType nSrcLang, LanguageType nDestLang, const vcl::Font *pDestFont, sal_Int32 nOptions, bool bIsInteractive, bool bMultipleDoc) |
void | TransliterateText (TransliterationFlags nTransliterationMode) |
ESelection | GetSelection () const |
SvtScriptType | GetSelectedScriptType () const |
void | SetVisArea (const tools::Rectangle &rRect) |
void | SetSelection (const ESelection &) |
void | GetSelectionRectangles (std::vector< tools::Rectangle > &rLogicRects) const |
void | RemoveAttribs (bool bRemoveParaAttribs, bool bKeepLanguages=false) |
void | RemoveAttribsKeepLanguages (bool bRemoveParaAttribs) |
bool | HasSelection () const |
void | InsertField (const SvxFieldItem &rFld) |
const SvxFieldItem * | GetFieldUnderMousePointer () const |
const SvxFieldItem * | GetFieldAtSelection () const |
const SvxFieldData * | GetFieldAtCursor () const |
Return the field at the current cursor position or nullptr if no field found. More... | |
void | SelectFieldAtCursor () |
Select the field at the current cursor position. More... | |
void | ToggleBullets () |
enables bullets for the selected paragraphs if the bullets/numbering of the first paragraph is off or disables bullets/numbering for the selected paragraphs if the bullets/numbering of the first paragraph is on More... | |
void | ToggleBulletsNumbering (const bool bToggle, const bool bHandleBullets, const SvxNumRule *pNumRule) |
void | ApplyBulletsNumbering (const bool bHandleBullets, const SvxNumRule *pNewNumRule, const bool bCheckCurrentNumRuleBeforeApplyingNewNumRule, const bool bAtSelection=false) |
apply bullets/numbering for paragraphs More... | |
void | SwitchOffBulletsNumbering (const bool bAtSelection=false) |
switch off bullets/numbering for paragraphs More... | |
void | EnsureNumberingIsOn () |
enables numbering for the selected paragraphs that are not enabled and ignore all selected paragraphs that already have numbering enabled. More... | |
bool | IsCursorAtWrongSpelledWord () |
bool | IsWrongSpelledWordAtPos (const Point &rPosPixel) |
void | ExecuteSpellPopup (const Point &rPosPixel, const Link< SpellCallbackInfo &, void > &rCallBack) |
void | SetInvalidateMore (sal_uInt16 nPixel) |
sal_uInt16 | GetInvalidateMore () const |
OUString | GetSurroundingText () const |
Selection | GetSurroundingTextSelection () const |
bool | DeleteSurroundingText (const Selection &rRange) |
void | SetEndCutPasteLinkHdl (const Link< LinkParamNone *, void > &rLink) |
Private Types | |
enum class | MouseTarget { Text = 0 , Bullet = 1 , Hypertext = 2 , Outside = 3 } |
Private Member Functions | |
EDITENG_DLLPRIVATE void | ImplExpandOrCollaps (sal_Int32 nStartPara, sal_Int32 nEndPara, bool bExpand) |
EDITENG_DLLPRIVATE sal_Int32 | ImpCheckMousePos (const Point &rPosPixel, MouseTarget &reTarget) |
EDITENG_DLLPRIVATE void | ImpToggleExpand (Paragraph const *pParentPara) |
EDITENG_DLLPRIVATE ParaRange | ImpGetSelectedParagraphs (bool bIncludeHiddenChildren) |
EDITENG_DLLPRIVATE sal_Int32 | ImpInitPaste (sal_Int32 &rStart) |
EDITENG_DLLPRIVATE void | ImpPasted (sal_Int32 nStart, sal_Int32 nPrevParaCount, sal_Int32 nSize) |
EDITENG_DLLPRIVATE sal_Int32 | ImpCalcSelectedPages (bool bIncludeFirstSelected) |
Private Attributes | |
Outliner * | pOwner |
std::unique_ptr< EditView > | pEditView |
Link< LinkParamNone *, void > | aEndCutPasteLink |
Friends | |
class | Outliner |
Definition at line 179 of file outliner.hxx.
|
strongprivate |
Enumerator | |
---|---|
Text | |
Bullet | |
Hypertext | |
Outside |
Definition at line 186 of file outliner.hxx.
OutlinerView::OutlinerView | ( | Outliner * | pOut, |
vcl::Window * | pWindow | ||
) |
Definition at line 53 of file outlvw.cxx.
OutlinerView::~OutlinerView | ( | ) |
Definition at line 59 of file outlvw.cxx.
void OutlinerView::AdjustDepth | ( | short | nDX | ) |
Definition at line 432 of file outlvw.cxx.
References Indent().
void OutlinerView::AdjustHeight | ( | tools::Long | nDY | ) |
Definition at line 567 of file outlvw.cxx.
References pEditView.
void OutlinerView::ApplyBulletsNumbering | ( | const bool | bHandleBullets, |
const SvxNumRule * | pNewNumRule, | ||
const bool | bCheckCurrentNumRuleBeforeApplyingNewNumRule, | ||
const bool | bAtSelection = false |
||
) |
apply bullets/numbering for paragraphs
boolean | bHandleBullets true: handle bullets false: handle numbering |
pNewNumRule | numbering rule which needs to be applied. can be 0. |
boolean | bAtSelection true: apply bullets/numbering at selected paragraphs false: apply bullets/numbering at all paragraphs |
Definition at line 975 of file outlvw.cxx.
References ESelection::Adjust(), DBG_ASSERT, EE_PARA_BULLETSTATE(), EE_PARA_NUMBULLET(), SvxNumRule::Get(), SvxNumberFormat::GetAbsLSpace(), Outliner::GetDepth(), SvxNumberFormat::GetFirstLineOffset(), SfxItemSet::GetItem(), SfxItemSet::GetItemIfSet(), SvxNumRule::GetLevelCount(), Outliner::GetNumberFormat(), SvxNumberType::GetNumberingType(), SvxNumBulletItem::GetNumRule(), Outliner::GetParaAttribs(), Outliner::ImplCheckParagraphs(), ESelection::nEndPara, nNumType, ESelection::nStartPara, OLUNDO_DEPTH, Outliner::pEditEngine, pEditView, pOwner, Outliner::pParaList, SfxItemSet::Put(), SvxNumberFormat::SetAbsLSpace(), Outliner::SetDepth(), SvxNumberFormat::SetFirstLineOffset(), SvxNumRule::SetLevel(), Outliner::SetParaAttribs(), SVX_NUM_BITMAP, SVX_NUM_CHAR_SPECIAL, Outliner::UndoActionEnd(), and Outliner::UndoActionStart().
Referenced by ToggleBulletsNumbering().
void OutlinerView::Collapse | ( | ) |
Definition at line 584 of file outlvw.cxx.
References ImpGetSelectedParagraphs(), ImplExpandOrCollaps(), ParaRange::nEndPara, and ParaRange::nStartPara.
void OutlinerView::CollapseAll | ( | ) |
Definition at line 597 of file outlvw.cxx.
References ImplExpandOrCollaps(), pOwner, and Outliner::pParaList.
bool OutlinerView::Command | ( | const CommandEvent & | rCEvt | ) |
Definition at line 785 of file outlvw.cxx.
References pEditView.
void OutlinerView::Copy | ( | ) |
Definition at line 1328 of file outlvw.cxx.
References pEditView.
Referenced by SvxDrawOutlinerViewForwarder::Copy(), and PostKeyEvent().
void OutlinerView::CreateSelectionList | ( | std::vector< Paragraph * > & | aSelList | ) |
Definition at line 707 of file outlvw.cxx.
References ImpGetSelectedParagraphs(), ParaRange::nEndPara, ParaRange::nStartPara, pOwner, and Outliner::pParaList.
void OutlinerView::Cut | ( | ) |
Definition at line 661 of file outlvw.cxx.
References aEndCutPasteLink, Link< typename Arg, typename Ret >::Call(), ImpCalcSelectedPages(), Outliner::ImpCanDeleteSelectedPages(), pEditView, and pOwner.
Referenced by SvxDrawOutlinerViewForwarder::Cut(), and PostKeyEvent().
bool OutlinerView::DeleteSurroundingText | ( | const Selection & | rRange | ) |
Definition at line 1442 of file outlvw.cxx.
References pEditView.
void OutlinerView::EnsureNumberingIsOn | ( | ) |
enables numbering for the selected paragraphs that are not enabled and ignore all selected paragraphs that already have numbering enabled.
Definition at line 945 of file outlvw.cxx.
References ESelection::Adjust(), DBG_ASSERT, Outliner::GetDepth(), Outliner::ImplCheckParagraphs(), ESelection::nEndPara, ESelection::nStartPara, OLUNDO_DEPTH, Outliner::pEditEngine, pEditView, pOwner, Outliner::pParaList, Outliner::SetDepth(), Outliner::UndoActionEnd(), and Outliner::UndoActionStart().
void OutlinerView::ExecuteSpellPopup | ( | const Point & | rPosPixel, |
const Link< SpellCallbackInfo &, void > & | rCallBack | ||
) |
Definition at line 1381 of file outlvw.cxx.
References pEditView.
void OutlinerView::Expand | ( | ) |
Definition at line 577 of file outlvw.cxx.
References ImpGetSelectedParagraphs(), ImplExpandOrCollaps(), ParaRange::nEndPara, and ParaRange::nStartPara.
void OutlinerView::ExpandAll | ( | ) |
Definition at line 591 of file outlvw.cxx.
References ImplExpandOrCollaps(), pOwner, and Outliner::pParaList.
EEAnchorMode OutlinerView::GetAnchorMode | ( | ) | const |
Definition at line 1323 of file outlvw.cxx.
References pEditView.
SfxItemSet OutlinerView::GetAttribs | ( | ) |
Definition at line 1422 of file outlvw.cxx.
References pEditView.
Color const & OutlinerView::GetBackgroundColor | ( | ) | const |
Definition at line 1417 of file outlvw.cxx.
References pEditView.
EVControlBits OutlinerView::GetControlWord | ( | ) | const |
Definition at line 1313 of file outlvw.cxx.
References pEditView.
|
inline |
Definition at line 209 of file outliner.hxx.
Referenced by URLFieldHelper::IsCursorAtURLField().
const SvxFieldData * OutlinerView::GetFieldAtCursor | ( | ) | const |
Return the field at the current cursor position or nullptr if no field found.
Definition at line 1348 of file outlvw.cxx.
References pEditView.
const SvxFieldItem * OutlinerView::GetFieldAtSelection | ( | ) | const |
Definition at line 1343 of file outlvw.cxx.
References pEditView.
const SvxFieldItem * OutlinerView::GetFieldUnderMousePointer | ( | ) | const |
Definition at line 1338 of file outlvw.cxx.
References pEditView.
sal_uInt16 OutlinerView::GetInvalidateMore | ( | ) | const |
Definition at line 1364 of file outlvw.cxx.
References pEditView.
|
inline |
tools::Rectangle const & OutlinerView::GetOutputArea | ( | ) | const |
Definition at line 1248 of file outlvw.cxx.
References pEditView.
Referenced by SvxDrawOutlinerViewForwarder::GetTextOffset().
PointerStyle OutlinerView::GetPointer | ( | const Point & | rPosPixel | ) |
Definition at line 740 of file outlvw.cxx.
References Bullet, GetOutliner(), Hypertext, ImpCheckMousePos(), Outliner::IsVertical(), and Text.
Referenced by MouseButtonDown(), MouseButtonUp(), and MouseMove().
OUString OutlinerView::GetSelected | ( | ) | const |
Definition at line 1253 of file outlvw.cxx.
References pEditView.
SvtScriptType OutlinerView::GetSelectedScriptType | ( | ) | const |
Definition at line 1427 of file outlvw.cxx.
References pEditView.
ESelection OutlinerView::GetSelection | ( | ) | const |
Definition at line 1297 of file outlvw.cxx.
References pEditView.
Referenced by SvxDrawOutlinerViewForwarder::GetSelection().
void OutlinerView::GetSelectionRectangles | ( | std::vector< tools::Rectangle > & | rLogicRects | ) | const |
Definition at line 1203 of file outlvw.cxx.
References pEditView.
SfxStyleSheet * OutlinerView::GetStyleSheet | ( | ) |
Definition at line 735 of file outlvw.cxx.
References pEditView.
const SfxStyleSheet * OutlinerView::GetStyleSheet | ( | ) | const |
Definition at line 730 of file outlvw.cxx.
References pEditView.
OUString OutlinerView::GetSurroundingText | ( | ) | const |
Definition at line 1432 of file outlvw.cxx.
References pEditView.
Selection OutlinerView::GetSurroundingTextSelection | ( | ) | const |
Definition at line 1437 of file outlvw.cxx.
References pEditView.
tools::Rectangle OutlinerView::GetVisArea | ( | ) | const |
Definition at line 572 of file outlvw.cxx.
References pEditView.
vcl::Window * OutlinerView::GetWindow | ( | ) | const |
Definition at line 1238 of file outlvw.cxx.
References pEditView.
Referenced by SvxDrawOutlinerViewForwarder::LogicToPixel(), and SvxDrawOutlinerViewForwarder::PixelToLogic().
bool OutlinerView::HasSelection | ( | ) | const |
Definition at line 1218 of file outlvw.cxx.
References pEditView.
void OutlinerView::HideCursor | ( | bool | bDeactivate = false | ) |
Definition at line 1228 of file outlvw.cxx.
References pEditView.
|
private |
Definition at line 801 of file outlvw.cxx.
References ESelection::Adjust(), DBG_ASSERT, EE_PARA_MAX_COUNT, Paragraph::HasFlag(), ISPAGE, Outliner::mnFirstSelPage, Outliner::nDepthChangedHdlPrevDepth, ESelection::nEndPara, ESelection::nStartPara, pEditView, pOwner, and Outliner::pParaList.
Referenced by Cut(), Outliner::ImpCanIndentSelectedPages(), Indent(), InsertText(), Paste(), and PostKeyEvent().
|
private |
Definition at line 242 of file outlvw.cxx.
References Point::AdjustX(), Point::AdjustY(), Bullet, EE_PARA_NOT_FOUND, Outliner::GetDocPos(), SvxFieldItem::GetField(), Hypertext, Outliner::IsTextPos(), tools::Rectangle::Left(), Outside, Outliner::pEditEngine, pEditView, pOwner, Text, tools::Rectangle::Top(), and Point::Y().
Referenced by GetPointer(), and MouseButtonDown().
|
private |
Definition at line 415 of file outlvw.cxx.
References ParaRange::Adjust(), ESelection::nEndPara, ParaRange::nEndPara, ESelection::nStartPara, pEditView, pOwner, and Outliner::pParaList.
Referenced by Collapse(), CreateSelectionList(), Expand(), Indent(), SetAttribs(), and SetStyleSheet().
|
private |
Definition at line 763 of file outlvw.cxx.
References ESelection::Adjust(), Outliner::bPasting, ESelection::nEndPara, ESelection::nStartPara, pEditView, and pOwner.
Referenced by InsertText().
|
private |
Definition at line 602 of file outlvw.cxx.
References Outliner::Collapse(), Outliner::Expand(), Outliner::IsInUndo(), Outliner::IsUndoEnabled(), OLUNDO_COLLAPSE, OLUNDO_EXPAND, Outliner::pEditEngine, pEditView, pOwner, Outliner::pParaList, Outliner::SetUpdateLayout(), Outliner::UndoActionEnd(), and Outliner::UndoActionStart().
Referenced by Collapse(), CollapseAll(), Expand(), ExpandAll(), and ImpToggleExpand().
|
private |
Definition at line 774 of file outlvw.cxx.
References Outliner::bPasting, Outliner::ImpTextPasted(), Outliner::pEditEngine, and pOwner.
Referenced by InsertText().
|
private |
Definition at line 368 of file outlvw.cxx.
References ImplExpandOrCollaps(), pEditView, pOwner, and Outliner::pParaList.
Referenced by MouseButtonDown().
void OutlinerView::Indent | ( | short | nDiff | ) |
Definition at line 437 of file outlvw.cxx.
References DBG_ASSERT, Outliner::DepthChangedHdl(), Outliner::Expand(), Paragraph::GetDepth(), Outliner::GetOutlinerMode(), Outliner::gnMinDepth, Paragraph::HasFlag(), ImpCalcSelectedPages(), Outliner::ImpCanIndentSelectedPages(), ImpGetSelectedParagraphs(), Outliner::ImplCalcBulletText(), Outliner::ImplInitDepth(), Outliner::ImplSetLevelDependentStyleSheet(), Outliner::InsertUndo(), Outliner::InvalidateBullet(), Outliner::IsInUndo(), ISPAGE, Outliner::IsUndoEnabled(), Paragraph::IsVisible(), n, Outliner::nDepthChangedHdlPrevDepth, ParaRange::nEndPara, Paragraph::nFlags, Outliner::nMaxDepth, ParaRange::nStartPara, OLUNDO_DEPTH, OutlineObject, OUTLINER, Outliner::pEditEngine, pEditView, pOwner, Outliner::pParaList, Paragraph::RemoveFlag(), Paragraph::SetFlag(), TextObject, Outliner::UndoActionEnd(), and Outliner::UndoActionStart().
Referenced by AdjustDepth(), and PostKeyEvent().
void OutlinerView::InsertField | ( | const SvxFieldItem & | rFld | ) |
Definition at line 1333 of file outlvw.cxx.
References pEditView.
void OutlinerView::InsertText | ( | const OUString & | rNew, |
bool | bSelect = false |
||
) |
Definition at line 1185 of file outlvw.cxx.
References Outliner::bFirstParaIsEmpty, Outliner::Insert(), pEditView, and pOwner.
void OutlinerView::InsertText | ( | const OutlinerParaObject & | rParaObj | ) |
Definition at line 631 of file outlvw.cxx.
References OutlinerParaObject::GetTextObject(), ImpCalcSelectedPages(), Outliner::ImpCanDeleteSelectedPages(), ImpInitPaste(), ImpPasted(), OLUNDO_INSERT, Outliner::pEditEngine, pEditView, pOwner, Outliner::UndoActionEnd(), and Outliner::UndoActionStart().
bool OutlinerView::IsCursorAtWrongSpelledWord | ( | ) |
Definition at line 1370 of file outlvw.cxx.
References pEditView.
bool OutlinerView::IsReadOnly | ( | ) | const |
bool OutlinerView::IsWrongSpelledWordAtPos | ( | const Point & | rPosPixel | ) |
Definition at line 1376 of file outlvw.cxx.
References pEditView.
bool OutlinerView::MouseButtonDown | ( | const MouseEvent & | rMEvt | ) |
Definition at line 300 of file outlvw.cxx.
References Bullet, EE_PARA_NOT_FOUND, EE_TEXTPOS_ALL, MouseEvent::GetClicks(), Outliner::GetOutlinerMode(), GetPointer(), MouseEvent::GetPosPixel(), Paragraph::HasFlag(), ImpCheckMousePos(), ImpToggleExpand(), ISPAGE, ESelection::nStartPara, OutlineView, pEditView, pOwner, Outliner::pParaList, Text, and TextObject.
bool OutlinerView::MouseButtonUp | ( | const MouseEvent & | rMEvt | ) |
Definition at line 348 of file outlvw.cxx.
References Outliner::GetOutlinerMode(), GetPointer(), MouseEvent::GetPosPixel(), pEditView, pOwner, and TextObject.
bool OutlinerView::MouseMove | ( | const MouseEvent & | rMEvt | ) |
Definition at line 285 of file outlvw.cxx.
References Outliner::GetOutlinerMode(), GetPointer(), MouseEvent::GetPosPixel(), pEditView, pOwner, and TextObject.
void OutlinerView::Paint | ( | const tools::Rectangle & | rRect, |
OutputDevice * | pTargetDevice = nullptr |
||
) |
Definition at line 63 of file outlvw.cxx.
References Outliner::bFirstParaIsEmpty, Outliner::Insert(), pEditView, and pOwner.
void OutlinerView::Paste | ( | bool | bUseSpecial = false | ) |
Definition at line 675 of file outlvw.cxx.
References aEndCutPasteLink, Outliner::bPasting, Link< typename Arg, typename Ret >::Call(), Outliner::GetOutlinerMode(), ImpCalcSelectedPages(), Outliner::ImpCanDeleteSelectedPages(), Outliner::ImplSetLevelDependentStyleSheet(), OLUNDO_INSERT, OutlineObject, Outliner::pEditEngine, pEditView, pOwner, Outliner::UndoActionEnd(), and Outliner::UndoActionStart().
Referenced by PasteSpecial().
void OutlinerView::PasteSpecial | ( | ) |
Definition at line 670 of file outlvw.cxx.
References Paste().
Referenced by SvxDrawOutlinerViewForwarder::Paste(), and PostKeyEvent().
bool OutlinerView::PostKeyEvent | ( | const KeyEvent & | rKEvt, |
vcl::Window const * | pFrameWin = nullptr |
||
) |
Definition at line 73 of file outlvw.cxx.
References Outliner::bFirstParaIsEmpty, bReadOnly, Copy(), Cut(), EditEngine::DoesKeyChangeText(), vcl::KeyCode::GetCode(), Paragraph::GetDepth(), vcl::KeyCode::GetFunction(), KeyEvent::GetKeyCode(), Outliner::GetOutlinerMode(), Paragraph::HasFlag(), ESelection::HasRange(), ImpCalcSelectedPages(), Outliner::ImpCanDeleteSelectedPages(), Outliner::ImplHasNumberFormat(), Indent(), Outliner::Insert(), vcl::KeyCode::IsMod1(), vcl::KeyCode::IsMod2(), ISPAGE, IsReadOnly(), vcl::KeyCode::IsShift(), Paragraph::IsVisible(), KEY_BACKSPACE, KEY_RETURN, KEY_TAB, ESelection::nEndPara, ESelection::nEndPos, ESelection::nStartPos, OLUNDO_INSERT, PasteSpecial(), Outliner::pEditEngine, pEditView, pOwner, Outliner::pParaList, SAL_WARN_IF, TextObject, TitleObject, Outliner::UndoActionEnd(), and Outliner::UndoActionStart().
void OutlinerView::Read | ( | SvStream & | rInput, |
EETextFormat | eFormat, | ||
SvKeyValueIterator * | pHTTPHeaderAttrs | ||
) |
Definition at line 1386 of file outlvw.cxx.
References ESelection::Adjust(), Outliner::GetOutlinerMode(), Outliner::ImpFilterIndents(), Outliner::ImplSetLevelDependentStyleSheet(), n, ESelection::nEndPara, ESelection::nStartPara, OutlineObject, pEditView, and pOwner.
void OutlinerView::RegisterViewShell | ( | OutlinerViewShell * | pViewShell | ) |
Informs this edit view about which view shell contains it.
Definition at line 1412 of file outlvw.cxx.
References pEditView.
void OutlinerView::ReleaseMouse | ( | ) |
Definition at line 363 of file outlvw.cxx.
References pEditView.
void OutlinerView::RemoveAttribs | ( | bool | bRemoveParaAttribs, |
bool | bKeepLanguages = false |
||
) |
Definition at line 1158 of file outlvw.cxx.
References ESelection::Adjust(), Paragraph::GetDepth(), Outliner::ImplInitDepth(), ESelection::nEndPara, ESelection::nStartPara, OLUNDO_ATTR, pEditView, pOwner, Outliner::pParaList, Outliner::SetUpdateLayout(), Outliner::UndoActionEnd(), and Outliner::UndoActionStart().
Referenced by RemoveAttribsKeepLanguages().
void OutlinerView::RemoveAttribsKeepLanguages | ( | bool | bRemoveParaAttribs | ) |
Definition at line 1153 of file outlvw.cxx.
References RemoveAttribs().
void OutlinerView::Scroll | ( | tools::Long | nHorzScroll, |
tools::Long | nVertScroll | ||
) |
Definition at line 1303 of file outlvw.cxx.
References pEditView.
void OutlinerView::Select | ( | Paragraph const * | pParagraph, |
bool | bSelect = true |
||
) |
Definition at line 376 of file outlvw.cxx.
References pEditView, pOwner, Outliner::pParaList, and SAL_MAX_INT32.
void OutlinerView::SelectFieldAtCursor | ( | ) |
Select the field at the current cursor position.
Definition at line 1353 of file outlvw.cxx.
References pEditView.
void OutlinerView::SelectRange | ( | sal_Int32 | nFirst, |
sal_Int32 | nCount | ||
) |
Definition at line 790 of file outlvw.cxx.
References EE_TEXTPOS_ALL, nCount, pEditView, pOwner, and Outliner::pParaList.
void OutlinerView::SetAnchorMode | ( | EEAnchorMode | eMode | ) |
Definition at line 1318 of file outlvw.cxx.
void OutlinerView::SetAttribs | ( | const SfxItemSet & | rAttrs | ) |
Definition at line 388 of file outlvw.cxx.
References ImpGetSelectedParagraphs(), Outliner::ImplCalcBulletText(), Outliner::ImplCheckNumBulletItem(), Outliner::InsertUndo(), Outliner::IsInUndo(), Outliner::IsUndoEnabled(), ParaRange::nEndPara, ParaRange::nStartPara, OLUNDO_ATTR, Outliner::pEditEngine, pEditView, pOwner, Outliner::UndoActionEnd(), and Outliner::UndoActionStart().
void OutlinerView::SetBackgroundColor | ( | const Color & | rColor | ) |
Definition at line 1407 of file outlvw.cxx.
References pEditView.
void OutlinerView::SetControlWord | ( | EVControlBits | nWord | ) |
Definition at line 1308 of file outlvw.cxx.
References pEditView.
|
inline |
Definition at line 367 of file outliner.hxx.
void OutlinerView::SetInvalidateMore | ( | sal_uInt16 | nPixel | ) |
Definition at line 1358 of file outlvw.cxx.
void OutlinerView::SetOutputArea | ( | const tools::Rectangle & | rRect | ) |
Definition at line 1243 of file outlvw.cxx.
References pEditView.
void OutlinerView::SetReadOnly | ( | bool | bReadOnly | ) |
Definition at line 1208 of file outlvw.cxx.
void OutlinerView::SetSelection | ( | const ESelection & | rSel | ) |
Definition at line 1198 of file outlvw.cxx.
References pEditView.
Referenced by SvxDrawOutlinerViewForwarder::SetSelection().
void OutlinerView::SetStyleSheet | ( | const OUString & | rStyleName | ) |
Definition at line 718 of file outlvw.cxx.
References SfxStyleSheetBasePool::Find(), Outliner::GetStyleSheetPool(), ImpGetSelectedParagraphs(), ParaRange::nEndPara, ParaRange::nStartPara, pOwner, and Outliner::SetStyleSheet().
void OutlinerView::SetVisArea | ( | const tools::Rectangle & | rRect | ) |
Definition at line 1192 of file outlvw.cxx.
References pEditView.
void OutlinerView::SetWindow | ( | vcl::Window * | pWindow | ) |
Definition at line 1233 of file outlvw.cxx.
References pEditView.
void OutlinerView::ShowCursor | ( | bool | bGotoCursor = true , |
bool | bActivate = false |
||
) |
Definition at line 1223 of file outlvw.cxx.
References pEditView.
sal_Int32 OutlinerView::StartSearchAndReplace | ( | const SvxSearchItem & | rSearchItem | ) |
Definition at line 1287 of file outlvw.cxx.
References pEditView.
void OutlinerView::StartSpeller | ( | weld::Widget * | pDialogParent | ) |
Definition at line 1258 of file outlvw.cxx.
References pEditView.
void OutlinerView::StartTextConversion | ( | weld::Widget * | pDialogParent, |
LanguageType | nSrcLang, | ||
LanguageType | nDestLang, | ||
const vcl::Font * | pDestFont, | ||
sal_Int32 | nOptions, | ||
bool | bIsInteractive, | ||
bool | bMultipleDoc | ||
) |
Definition at line 1268 of file outlvw.cxx.
References LANGUAGE_CHINESE_SIMPLIFIED, LANGUAGE_CHINESE_TRADITIONAL, LANGUAGE_KOREAN, and pEditView.
EESpellState OutlinerView::StartThesaurus | ( | weld::Widget * | pDialogParent | ) |
Definition at line 1263 of file outlvw.cxx.
References pEditView.
void OutlinerView::SwitchOffBulletsNumbering | ( | const bool | bAtSelection = false | ) |
switch off bullets/numbering for paragraphs
boolean | bAtSelection true: switch off bullets/numbering at selected paragraphs false: switch off bullets/numbering at all paragraphs |
Definition at line 1104 of file outlvw.cxx.
References ESelection::Adjust(), SfxItemSet::ClearItem(), DBG_ASSERT, EE_PARA_BULLETSTATE(), SfxItemSet::GetItemState(), Outliner::GetParaAttribs(), Outliner::ImplCheckParagraphs(), ESelection::nEndPara, ESelection::nStartPara, OLUNDO_DEPTH, Outliner::pEditEngine, pEditView, pOwner, Outliner::pParaList, Outliner::SetDepth(), Outliner::SetParaAttribs(), Outliner::UndoActionEnd(), and Outliner::UndoActionStart().
Referenced by ToggleBulletsNumbering().
void OutlinerView::ToggleBullets | ( | ) |
enables bullets for the selected paragraphs if the bullets/numbering of the first paragraph is off or disables bullets/numbering for the selected paragraphs if the bullets/numbering of the first paragraph is on
Definition at line 833 of file outlvw.cxx.
References ESelection::Adjust(), SfxItemSet::ClearItem(), DBG_ASSERT, EE_PARA_BULLETSTATE(), EE_PARA_NUMBULLET(), SfxItemPool::GetDefaultItem(), Outliner::GetDepth(), SfxItemSet::GetItemState(), Outliner::GetNumberFormat(), SvxNumberType::GetNumberingType(), SvxNumBulletItem::GetNumRule(), Outliner::GetParaAttribs(), SfxItemSet::GetPool(), Outliner::ImplCheckParagraphs(), ESelection::nEndPara, ESelection::nStartPara, OLUNDO_DEPTH, Outliner::pEditEngine, pEditView, pOwner, Outliner::pParaList, SfxItemSet::Put(), Outliner::SetDepth(), Outliner::SetParaAttribs(), SVX_NUM_BITMAP, SVX_NUM_CHAR_SPECIAL, Outliner::UndoActionEnd(), and Outliner::UndoActionStart().
void OutlinerView::ToggleBulletsNumbering | ( | const bool | bToggle, |
const bool | bHandleBullets, | ||
const SvxNumRule * | pNumRule | ||
) |
Definition at line 909 of file outlvw.cxx.
References ESelection::Adjust(), ApplyBulletsNumbering(), Outliner::GetBulletsNumberingStatus(), ESelection::nEndPara, ESelection::nStartPara, pEditView, pOwner, and SwitchOffBulletsNumbering().
void OutlinerView::TransliterateText | ( | TransliterationFlags | nTransliterationMode | ) |
Definition at line 1292 of file outlvw.cxx.
References pEditView.
|
friend |
Definition at line 181 of file outliner.hxx.
|
private |
Definition at line 203 of file outliner.hxx.
|
private |
Definition at line 184 of file outliner.hxx.
Referenced by AdjustHeight(), ApplyBulletsNumbering(), Command(), Copy(), Cut(), DeleteSurroundingText(), EnsureNumberingIsOn(), ExecuteSpellPopup(), GetAnchorMode(), GetAttribs(), GetBackgroundColor(), GetControlWord(), GetFieldAtCursor(), GetFieldAtSelection(), GetFieldUnderMousePointer(), GetInvalidateMore(), GetOutputArea(), GetSelected(), GetSelectedScriptType(), GetSelection(), GetSelectionRectangles(), GetStyleSheet(), GetSurroundingText(), GetSurroundingTextSelection(), GetVisArea(), GetWindow(), HasSelection(), HideCursor(), ImpCalcSelectedPages(), ImpCheckMousePos(), ImpGetSelectedParagraphs(), ImpInitPaste(), ImplExpandOrCollaps(), ImpToggleExpand(), Indent(), InsertField(), InsertText(), Outliner::InsertView(), IsCursorAtWrongSpelledWord(), IsReadOnly(), IsWrongSpelledWordAtPos(), MouseButtonDown(), MouseButtonUp(), MouseMove(), OutlinerView(), Paint(), Paste(), PostKeyEvent(), Read(), RegisterViewShell(), ReleaseMouse(), RemoveAttribs(), Outliner::RemoveView(), Scroll(), Select(), SelectFieldAtCursor(), SelectRange(), SetAnchorMode(), SetAttribs(), SetBackgroundColor(), SetControlWord(), SetInvalidateMore(), SetOutputArea(), SetReadOnly(), SetSelection(), SetVisArea(), SetWindow(), ShowCursor(), StartSearchAndReplace(), StartSpeller(), StartTextConversion(), StartThesaurus(), SwitchOffBulletsNumbering(), ToggleBullets(), ToggleBulletsNumbering(), and TransliterateText().
|
private |
Definition at line 183 of file outliner.hxx.
Referenced by ApplyBulletsNumbering(), CollapseAll(), CreateSelectionList(), Cut(), EnsureNumberingIsOn(), ExpandAll(), ImpCalcSelectedPages(), ImpCheckMousePos(), ImpGetSelectedParagraphs(), ImpInitPaste(), ImplExpandOrCollaps(), ImpPasted(), ImpToggleExpand(), Indent(), InsertText(), MouseButtonDown(), MouseButtonUp(), MouseMove(), OutlinerView(), Paint(), Paste(), PostKeyEvent(), Read(), RemoveAttribs(), Select(), SelectRange(), SetAttribs(), SetStyleSheet(), SwitchOffBulletsNumbering(), ToggleBullets(), and ToggleBulletsNumbering().