LibreOffice Module sw (master) 1
|
Used by the UI to modify the document model. More...
#include <wrtsh.hxx>
Classes | |
struct | CursorStack |
struct | ModeStack |
Public Types | |
enum | word { NO_WORD = 0 , WORD_SPACE_BEFORE = 1 , WORD_SPACE_AFTER = 2 , WORD_NO_SPACE = 3 } |
enum | GetStyle { GETSTYLE_NOCREATE , GETSTYLE_CREATESOME , GETSTYLE_CREATEANY } |
enum | DoType { UNDO , REDO , REPEAT } |
enum class | FieldDialogPressedButton { NONE , Previous , Next } |
typedef bool(SwWrtShell::* | FNSimpleMove) () |
Public Types inherited from SwCursorShell | |
enum | CursorFlag { UPDOWN = (1 << 0) , SCROLLWIN = (1 << 1) , CHKRANGE = (1 << 2) , READONLY = (1 << 3) } |
for calling UpdateCursor More... | |
enum class | StartsWith { None , Table , HiddenPara } |
enum class | PopMode { DeleteCurrent , DeleteStack } |
Public Types inherited from sw::Ring< SwViewShell > | |
typedef std::add_const< SwViewShell >::type | const_value_type |
typedef RingContainer< SwViewShell > | ring_container |
typedef RingContainer< const_value_type > | const_ring_container |
Public Member Functions | |
tools::Long | CallSetCursor (const Point *pPt, bool bProp) |
void | Drag (const Point *pPt, bool bProp) |
void | EndDrag (const Point *pPt, bool bProp) |
tools::Long | KillSelection (const Point *pPt, bool bProp) |
bool | IsSplitVerticalByDefault () const |
void | SetSplitVerticalByDefault (bool value) |
tools::Long | ResetSelect (const Point *, bool) |
void | ResetCursorStack () |
SelectionType | GetSelectionType () const |
bool | IsModePushed () const |
void | PushMode () |
void | PopMode () |
void | SttSelect () |
void | EndSelect () |
bool | IsInSelect () const |
void | SetInSelect () |
bool | HasSelection () const |
bool | Pop (SwCursorShell::PopMode, ::std::optional< SwCallLink > &roLink) |
bool | Pop (SwCursorShell::PopMode=SwCursorShell::PopMode::DeleteStack) |
void | EnterStdMode () |
bool | IsStdMode () const |
void | EnterExtMode () |
void | LeaveExtMode () |
void | ToggleExtMode () |
bool | IsExtMode () const |
void | EnterAddMode () |
void | LeaveAddMode () |
void | ToggleAddMode () |
bool | IsAddMode () const |
void | EnterBlockMode () |
void | LeaveBlockMode () |
void | ToggleBlockMode () |
bool | IsBlockMode () const |
void | SetInsMode (bool bOn=true) |
void | ToggleInsMode () |
bool | IsInsMode () const |
void | SetRedlineFlagsAndCheckInsMode (RedlineFlags eMode) |
void | EnterSelFrameMode (const Point *pStartDrag=nullptr) |
void | LeaveSelFrameMode () |
bool | IsSelFrameMode () const |
void | UnSelectFrame () |
void | Invalidate () |
void | SelTableCells (const Link< SwWrtShell &, void > &rLink) |
void | EndSelTableCells () |
bool | IsExtSel () const |
bool | Is_FnDragEQBeginDrag () const |
bool | IsEndWrd () |
bool | IsSttOfPara () const |
bool | IsEndOfPara () const |
bool | SelNearestWrd () |
bool | SelWrd (const Point *=nullptr) |
void | SelSentence (const Point *) |
void | SelPara (const Point *) |
void | SelAll () |
bool | SimpleMove (FNSimpleMove, bool bSelect) |
bool | Left (SwCursorSkipMode nMode, bool bSelect, sal_uInt16 nCount, bool bBasicCall, bool bVisual=false) |
bool | Right (SwCursorSkipMode nMode, bool bSelect, sal_uInt16 nCount, bool bBasicCall, bool bVisual=false) |
bool | Up (bool bSelect, sal_uInt16 nCount=1, bool bBasicCall=false) |
bool | Down (bool bSelect, sal_uInt16 nCount=1, bool bBasicCall=false) |
void | NxtWrd (bool bSelect=false) |
bool | PrvWrd (bool bSelect=false) |
bool | LeftMargin (bool bSelect, bool bBasicCall) |
bool | RightMargin (bool bSelect, bool bBasicCall) |
bool | StartOfSection (bool bSelect=false) |
bool | EndOfSection (bool bSelect=false) |
bool | SttNxtPg (bool bSelect=false) |
void | SttPrvPg (bool bSelect=false) |
void | EndNxtPg (bool bSelect=false) |
bool | EndPrvPg (bool bSelect=false) |
bool | SttPg (bool bSelect=false) |
bool | EndPg (bool bSelect=false) |
bool | SttPara (bool bSelect=false) |
void | EndPara (bool bSelect=false) |
bool | FwdPara () |
void | BwdPara () |
void | FwdSentence (bool bSelect=false) |
void | BwdSentence (bool bSelect=false) |
bool | SelectTableRowCol (const Point &rPt, const Point *pEnd=nullptr, bool bRowDrag=false) |
void | SelectTableRow () |
void | SelectTableCol () |
void | SelectTableCell () |
bool | SelectTextAttr (sal_uInt16 nWhich, const SwTextAttr *pAttr=nullptr) |
void | StartOfColumn () |
void | EndOfColumn () |
void | StartOfNextColumn () |
void | EndOfNextColumn () |
void | StartOfPrevColumn () |
void | EndOfPrevColumn () |
bool | GotoPage (sal_uInt16 nPage, bool bRecord) |
DECL_DLLPRIVATE_LINK (ExecFlyMac, const SwFlyFrameFormat *, void) | |
bool | PageCursor (SwTwips lOffset, bool bSelect) |
if no stack exists --> cancel selection if stack && change of direction --> pop cursor and return else --> push cursor transpose cursor More... | |
void | UpdateInputFields (SwInputFieldList *pLst=nullptr) |
void | NoEdit (bool bHideCursor=true) |
void | Edit () |
bool | IsRetainSelection () const |
void | SetRetainSelection (bool bRet) |
void | ChgDBData (const SwDBData &SwDBData) |
void | DelToEndOfLine () |
void | DelToStartOfLine () |
void | DelLine () |
Description: Erase the line. More... | |
bool | DelLeft () |
bool | DelRight (bool isReplaceHeuristic=false) |
void | DelToEndOfPara () |
void | DelToStartOfPara () |
bool | DelToEndOfSentence () |
void | DelToStartOfSentence () |
void | DelNxtWord () |
void | DelPrvWord () |
int | IntelligentCut (SelectionType nSelectionType, bool bCut=true) |
bool | InsertField2 (SwField const &, SwPaM *pAnnotationRange=nullptr) |
void | Insert (const OUString &) |
void | InsertGraphic (const OUString &rPath, const OUString &rFilter, const Graphic &, SwFlyFrameAttrMgr *=nullptr, RndStdIds nAnchorType=RndStdIds::FLY_AT_PARA) |
void | InsertByWord (const OUString &) |
void | InsertPageBreak (const OUString *pPageDesc=nullptr, const ::std::optional< sal_uInt16 > &rPgNum=std::nullopt) |
void | InsertLineBreak (std::optional< SwLineBreakClear > oClear=std::nullopt) |
void | InsertColumnBreak () |
void | InsertContentControl (SwContentControlType eType) |
void | InsertFootnote (const OUString &, bool bEndNote=false, bool bEdit=true) |
void | SplitNode (bool bAutoFormat=false) |
bool | CanInsert () |
void | InsertTableOf (const SwTOXBase &rTOX, const SfxItemSet *pSet=nullptr) |
void | UpdateTableOf (const SwTOXBase &rTOX, const SfxItemSet *pSet=nullptr) |
void | NumOrBulletOn (bool bNum) |
Turns on numbering or bullets. More... | |
void | NumOrBulletOff () |
void | NumOn () |
void | BulletOn () |
void | InsertObject (const svt::EmbeddedObjectRef &, SvGlobalName const *pName, sal_uInt16 nSlotId=0) |
bool | InsertOleObject (const svt::EmbeddedObjectRef &xObj, SwFlyFrameFormat **pFlyFrameFormat=nullptr) |
void | LaunchOLEObj (sal_Int32 nVerb=css::embed::EmbedVerbs::MS_OLEVERB_PRIMARY) |
virtual void | MoveObjectIfActive (svt::EmbeddedObjectRef &xObj, const Point &rOffset) override |
The layout has been changed, so the active object has to be moved after that. More... | |
virtual void | CalcAndSetScale (svt::EmbeddedObjectRef &xObj, const SwRect *pFlyPrtRect=nullptr, const SwRect *pFlyFrameRect=nullptr, const bool bNoTextFramePrtAreaChanged=false) override |
Client for OleObject has to be up-to-date regarding scaling. More... | |
virtual void | ConnectObj (svt::EmbeddedObjectRef &xIPObj, const SwRect &rPrt, const SwRect &rFrame) override |
Connect objects with ActivateWhenVisible at Paint. More... | |
SwTextFormatColl * | GetParaStyle (const OUString &rCollName, GetStyle eCreate=GETSTYLE_NOCREATE) |
SwCharFormat * | GetCharStyle (const OUString &rFormatName, GetStyle eCreate=GETSTYLE_NOCREATE) |
SwFrameFormat * | GetTableStyle (std::u16string_view rFormatName) |
void | SetPageStyle (const OUString &rCollName) |
OUString const & | GetCurPageStyle () const |
void | QuickUpdateStyle () |
void | Do (DoType eDoType, sal_uInt16 nCnt=1, sal_uInt16 nOffset=0) |
OUString | GetDoString (DoType eDoType) const |
OUString | GetRepeatString () const |
void | GetDoStrings (DoType eDoType, SfxStringListItem &rStrLstItem) const |
sal_Int32 | SearchPattern (const i18nutil::SearchOptions2 &rSearchOpt, bool bSearchInNotes, SwDocPositions eStart, SwDocPositions eEnd, FindRanges eFlags=FindRanges::InBody, bool bReplace=false) |
sal_Int32 | SearchTempl (const OUString &rTempl, SwDocPositions eStart, SwDocPositions eEnd, FindRanges eFlags=FindRanges::InBody, const OUString *pReplTempl=nullptr) |
sal_Int32 | SearchAttr (const SfxItemSet &rFindSet, bool bNoColls, SwDocPositions eStart, SwDocPositions eEnd, FindRanges eFlags=FindRanges::InBody, const i18nutil::SearchOptions2 *pSearchOpt=nullptr, const SfxItemSet *pReplaceSet=nullptr) |
void | AutoCorrect (SvxAutoCorrect &rACorr, sal_Unicode cChar) |
void | MoveCursor (bool bWithSelect=false) |
bool | StartInputFieldDlg (SwField *, bool bPrevButton, bool bNextButton, weld::Widget *pParentWin, FieldDialogPressedButton *pPressedButton=nullptr) |
bool | StartDropDownFieldDlg (SwField *, bool bPrevButton, bool bNextButton, weld::Widget *pParentWin, FieldDialogPressedButton *pPressedButton=nullptr) |
virtual void | DrawSelChanged () override |
void | GotoMark (const ::sw::mark::IMark *const pMark) |
bool | GotoMark (const ::sw::mark::IMark *const pMark, bool bSelect) |
void | GotoMark (const OUString &rName) |
bool | GoNextBookmark () |
bool | GoPrevBookmark () |
bool | GotoFieldmark (::sw::mark::IFieldmark const *const pMark) |
bool | GotoField (const SwFormatField &rField) |
bool | GotoContentControl (const SwFormatContentControl &rContentControl, bool bOnlyRefresh=false) |
void | SelectNextPrevHyperlink (bool bNext) |
const SwView & | GetView () const |
SwView & | GetView () |
void | ExecMacro (const SvxMacro &rMacro, OUString *pRet=nullptr, SbxArray *pArgs=nullptr) |
sal_uInt16 | CallEvent (SvMacroItemId nEvent, const SwCallMouseEvent &rCallEvent, bool bCheckPtr=false) |
void | ClickToField (const SwField &rField, bool bExecHyperlinks) |
void | ClickToINetAttr (const SwFormatINetFormat &rItem, LoadUrlFlags nFilter=LoadUrlFlags::NONE) |
bool | ClickToINetGrf (const Point &rDocPt, LoadUrlFlags nFilter) |
bool | IsInClickToEdit () const |
bool | GetURLFromButton (OUString &rURL, OUString &rDescr) const |
void | NavigatorPaste (const NaviContentBookmark &rBkmk, const sal_uInt16 nAction) |
virtual void | ApplyViewOptions (const SwViewOption &rOpt) override |
Apply ViewOptions with Start-/EndAction. More... | |
virtual void | SetReadonlyOption (bool bSet) override |
void | AutoUpdateFrame (SwFrameFormat *pFormat, const SfxItemSet &rStyleSet) |
void | AutoUpdatePara (SwTextFormatColl *pColl, const SfxItemSet &rStyleSet, SwPaM *pPaM=nullptr) |
void | StartInsertRegionDialog (const SwSectionData &) |
SwWrtShell (SwWrtShell &, vcl::Window *pWin, SwView &rShell) | |
SwWrtShell (SwDoc &rDoc, vcl::Window *pWin, SwView &rShell, const SwViewOption *pViewOpt) | |
virtual | ~SwWrtShell () override |
bool | TryRemoveIndent () |
OUString | GetSelDescr () const |
SwNavigationMgr & | GetNavigationMgr () |
void | addCurrentPosition () |
bool | GotoFly (const OUString &rName, FlyCntType eType=FLYCNTTYPE_ALL, bool bSelFrame=true) |
bool | GotoINetAttr (const SwTextINetFormat &rAttr) |
void | GotoOutline (SwOutlineNodes::size_type nIdx) |
bool | GotoOutline (const OUString &rName) |
bool | GotoRegion (std::u16string_view rName) |
bool | GotoRefMark (const OUString &rRefMark, sal_uInt16 nSubType=0, sal_uInt16 nSeqNo=0) |
bool | GotoNextTOXBase (const OUString *pName=nullptr) |
bool | GotoTable (const OUString &rName) |
void | GotoFormatField (const SwFormatField &rField) |
const SwRangeRedline * | GotoRedline (SwRedlineTable::size_type nArrPos, bool bSelect) |
bool | GotoDrawingObject (std::u16string_view rName) |
void | GotoFootnoteAnchor (const SwTextFootnote &rTextFootnote) |
void | ChangeHeaderOrFooter (std::u16string_view rStyleName, bool bHeader, bool bOn, bool bShowWarning) |
virtual void | SetShowHeaderFooterSeparator (FrameControlType eControl, bool bShow) override |
void | InsertPostIt (SwFieldMgr &rFieldMgr, const SfxRequest &rReq) |
Inserts a new annotation/comment at the current cursor position / selection. More... | |
bool | IsOutlineContentVisible (const size_t nPos) |
void | MakeOutlineContentVisible (const size_t nPos, bool bMakeVisible=true, bool bSetAttrOutlineVisibility=true) |
void | MakeAllFoldedOutlineContentVisible (bool bMakeVisible=true) |
void | InvalidateOutlineContentVisibility () |
bool | GetAttrOutlineContentVisible (const size_t nPos) const |
void | MakeOutlineLevelsVisible (const int nLevel) |
bool | HasFoldedOutlineContentSelected () const |
virtual void | InfoReadOnlyDialog (bool bAsync) const override |
Selected area has readonly content. More... | |
virtual bool | WarnHiddenSectionDialog () const override |
Selected area has hidden content. More... | |
virtual bool | WarnSwitchToDesignModeDialog () const override |
Switch to Design mode for Forms. More... | |
std::optional< OString > | getLOKPayload (int nType, int nViewId) const |
bool | GotoFootnoteAnchor () |
jump from footnote to anchor More... | |
bool | GotoFootnoteAnchor (const SwTextFootnote &rTextFootnote) |
void | Insert (sal_Unicode, bool bOnlyCurrCursor=false) |
Edit (all selected ranges). More... | |
void | Insert (const SwTOXMark &rMark) |
Public Member Functions inherited from SwFEShell | |
SwFEShell (SwDoc &rDoc, vcl::Window *pWin, const SwViewOption *pOpt) | |
SwFEShell (SwEditShell &rShell, vcl::Window *pWin) | |
virtual | ~SwFEShell () override |
void | Copy (SwDoc &rClpDoc, const OUString *pNewClpText=nullptr) |
Copy and Paste methods for internal clipboard. More... | |
bool | Paste (SwDoc &rClpDoc, bool bNestedTable=false) |
void | PastePages (SwFEShell &rToFill, sal_uInt16 nStartPage, sal_uInt16 nEndPage) |
Paste some pages into another doc - used in mailmerge. More... | |
bool | Copy (SwFEShell &, const Point &rSttPt, const Point &rInsPt, bool bIsMove=false, bool bSelectInsert=true) |
Copy-Method for Drag&Drop. More... | |
void | SelectFlyFrame (SwFlyFrame &rFrame) |
const SwFrameFormat * | IsFlyInFly () |
Is selected frame within another frame? More... | |
bool | SelectObj (const Point &rSelPt, sal_uInt8 nFlag=0, SdrObject *pObj=nullptr) |
If an object has been given, exactly this object is selected (instead of searching over position). More... | |
void | DelSelectedObj () |
void | SelectionToTop (bool bTop=true) |
Move selection upwards or downwards (Z-Order). More... | |
void | SelectionToBottom (bool bBottom=true) |
SdrLayerID | GetLayerId () const |
1 Heaven, 0 Hell, SDRLAYER_NOTFOUND Ambiguous. More... | |
void | SelectionToHeaven () |
Above document. More... | |
void | SelectionToHell () |
Below document. More... | |
bool | IsObjSelectable (const Point &rPt) |
The following two methods return enum SdrHdlKind. More... | |
SdrObject * | GetObjAt (const Point &rPt) |
Same as IsObjSelectable(), but return the object as well. More... | |
bool | IsInsideSelectedObj (const Point &rPt) |
returns enum values More... | |
bool | ShouldObjectBeSelected (const Point &rPt) |
Test if there is a draw object at that position and if it should be selected. More... | |
bool | MoveAnchor (SwMove nDir) |
bool | IsDirectlyInSection () const |
FrameTypeFlags | GetFrameType (const Point *pPt, bool bStopAtFly) const |
For return values see above FrameType. More... | |
FrameTypeFlags | GetSelFrameType () const |
bool | IsSelContainsControl () const |
check whether selected frame contains a control; companion method to GetSelFrameType, used for preventing drag&drop of controls into header More... | |
ObjCntType | GetObjCntType (const Point &rPt, SdrObject *&rpObj) const |
ObjCntType | GetObjCntTypeOfSelection () const |
SwRect | GetObjRect () const |
For adjustment of PosAttr when anchor changes. More... | |
SwRect | GetFlyRect () const |
For moving flys with keyboard. More... | |
void | CalcBoundRect (SwRect &_orRect, const RndStdIds _nAnchorId, const sal_Int16 _eHoriRelOrient=css::text::RelOrientation::FRAME, const sal_Int16 _eVertRelOrient=css::text::RelOrientation::FRAME, const SwFormatAnchor *_pToCharContentPos=nullptr, const bool _bFollowTextFlow=false, bool _bMirror=false, Point *_opRef=nullptr, Size *_opPercent=nullptr, const SwFormatFrameSize *pFormatFrameSize=nullptr) const |
i#17567 - adjustments to allow negative vertical positions for fly frames anchored to paragraph or to character. More... | |
void | SetObjRect (const SwRect &rRect) |
Set size of draw objects. More... | |
void | BeginDrag (const Point *pPt, bool bProp) |
void | Drag (const Point *pPt, bool bProp) |
void | EndDrag () |
void | BreakDrag () |
Point | GetAnchorObjDiff () const |
Methods for status line. More... | |
Point | GetObjAbsPos () const |
Size | GetObjSize () const |
void | GetPageObjs (std::vector< SwFrameFormat * > &rFillArr) |
SS for envelopes: get all page-bound objects and set them to new page. More... | |
void | SetPageObjsNewPage (std::vector< SwFrameFormat * > &rFillArr) |
virtual void | MakeSelVisible () override |
Show current selection (frame / draw object as required). More... | |
const SwFrameFormat * | GetFormatFromObj (const Point &rPt, SwRect **pRectToFill=nullptr) const |
const SwFrameFormat * | GetFormatFromAnyObj (const Point &rPt) const |
FlyProtectFlags | IsSelObjProtected (FlyProtectFlags eType) const |
Which Protection is set at selected object? More... | |
const Graphic * | GetGrfAtPos (const Point &rDocPos, OUString &rName, bool &rbLink) const |
Deliver graphic in rName besides graphic name. More... | |
OUString | GetObjTitle () const |
void | SetObjTitle (const OUString &rTitle) |
OUString | GetObjDescription () const |
void | SetObjDescription (const OUString &rDescription) |
bool | IsObjDecorative () const |
void | SetObjDecorative (bool isDecorative) |
bool | IsFrameSelected () const |
bool | GetFlyFrameAttr (SfxItemSet &rSet) const |
bool | SetFlyFrameAttr (SfxItemSet &rSet) |
void | ResetFlyFrameAttr (const SfxItemSet *pSet) |
const SwFrameFormat * | NewFlyFrame (const SfxItemSet &rSet, bool bAnchValid=false, SwFrameFormat *pParent=nullptr) |
void | SetFlyPos (const Point &rAbsPos) |
Point | FindAnchorPos (const Point &rAbsPos, bool bMoveIt=false) |
bool | IsFrameVertical (const bool bEnvironment, bool &bRightToLeft, bool &bVertL2R) const |
Determines whether a frame or its environment is vertically formatted and right-to-left. More... | |
SwFrameFormat * | GetSelectedFrameFormat () const |
If frame then frame style, else 0. More... | |
void | SetFrameFormat (SwFrameFormat *pFormat, bool bKeepOrient=false, Point const *pDocPos=nullptr) |
If frame then set frame style. More... | |
SwFlyFrame * | GetSelectedFlyFrame () const |
SwFlyFrame * | GetCurrFlyFrame (const bool bCalcFrame=true) const |
SwFlyFrame * | GetSelectedOrCurrFlyFrame () const |
SwFrameFormat * | WizardGetFly () |
Find/delete fly containing the cursor. More... | |
bool | GotoNextFly (GotoObjFlags eType=GotoObjFlags::FlyAny) |
Independent selecting of flys. More... | |
bool | GotoPrevFly (GotoObjFlags eType=GotoObjFlags::FlyAny) |
size_t | GetFlyCount (FlyCntType eType, bool bIgnoreTextBoxes=false) const |
Iterate over flys - for Basic-collections. More... | |
const SwFrameFormat * | GetFlyNum (size_t nIdx, FlyCntType eType, bool bIgnoreTextBoxes=false) const |
std::vector< SwFrameFormat const * > | GetFlyFrameFormats (FlyCntType eType, bool bIgnoreTextBoxes) |
const SwFrameFormat * | SelFlyGrabCursor () |
If a fly is selected, it draws cursor into the first ContentFrame. More... | |
const SwFrameFormat * | GetFlyFrameFormat () const |
Get FlyFrameFormat; for UI macro linkage at Flys. More... | |
SwFrameFormat * | GetFlyFrameFormat () |
Size | RequestObjectResize (const SwRect &rRect, const css::uno::Reference< css::embed::XEmbeddedObject > &) |
OLE. More... | |
virtual void | MoveObjectIfActive (svt::EmbeddedObjectRef &xObj, const Point &rOffset) |
The layout has been changed, so the active object has to be moved after that. More... | |
virtual void | CalcAndSetScale (svt::EmbeddedObjectRef &xObj, const SwRect *pFlyPrtRect=nullptr, const SwRect *pFlyFrameRect=nullptr, const bool bNoTextFramePrtAreaChanged=false)=0 |
Client for OleObject has to be up-to-date regarding scaling. More... | |
virtual void | ConnectObj (svt::EmbeddedObjectRef &, const SwRect &rPrt, const SwRect &rFrame)=0 |
Connect objects with ActivateWhenVisible at Paint. More... | |
bool | IsCheckForOLEInCaption () const |
Check resize of OLE-Object. More... | |
void | SetCheckForOLEInCaption (bool bFlag) |
void | SetFlyName (const OUString &rName) |
Set name at selected FlyFrame. More... | |
OUString | GetFlyName () const |
css::uno::Reference< css::embed::XEmbeddedObject > | GetOleRef () const |
get reference to OLE object (if there is one) for selected FlyFrame More... | |
OUString | GetUniqueGrfName () const |
Created unique name for frame. More... | |
OUString | GetUniqueOLEName () const |
OUString | GetUniqueFrameName () const |
bool | GotoFly (const OUString &rName, FlyCntType eType, bool bSelFrame) |
Jump to named Fly (graphic/OLE). More... | |
const SwFrameFormat * | IsURLGrfAtPos (const Point &rPt, OUString *pURL=nullptr, OUString *pTargetFrameName=nullptr, OUString *pURLDescription=nullptr) const |
Position is a graphic with URL? More... | |
SwChainRet | Chainable (SwRect &rRect, const SwFrameFormat &rSource, const Point &rPt) const |
For Chain always connect Fly specified by format with that hit by point. More... | |
SwChainRet | Chain (SwFrameFormat &rSource, const Point &rPt) |
void | Chain (SwFrameFormat &rSource, const SwFrameFormat &rDest) |
void | Unchain (SwFrameFormat &rFormat) |
void | HideChainMarker () |
void | SetChainMarker () |
Size | GetGraphicDefaultSize () const |
void | CheckUnboundObjects () |
Temporary work around for bug. More... | |
bool | GetObjAttr (SfxItemSet &rSet) const |
Attention: Ambiguities if multiple selections. More... | |
void | SetObjAttr (const SfxItemSet &rSet) |
const SdrObject * | GetBestObject (bool bNext, GotoObjFlags eType, bool bFlat=true, const svx::ISdrObjectFilter *pFilter=nullptr, bool *pbWrapped=nullptr) |
bool | GotoObj (bool bNext, GotoObjFlags eType=GotoObjFlags::DrawAny) |
void | SetDragMode (SdrDragMode eSdrDragMode) |
Set DragMode (e.g. Rotate), but do nothing when frame is selected. More... | |
SdrDragMode | GetDragMode () const |
void | StartCropImage () |
bool | IsRotationOfSwGrfNodePossible () const |
size_t | IsObjSelected () const |
bool | IsObjSelected (const SdrObject &rObj) const |
bool | IsObjSameLevelWithMarked (const SdrObject *pObj) const |
const SdrMarkList * | GetMarkList () const |
void | EndTextEdit () |
Deletes object if required. More... | |
RndStdIds | GetAnchorId () const |
Anchor type of selected object, RndStdIds::UNKNOWN if ambiguous or in case of frame selection. More... | |
bool | BeginCreate (SdrObjKind eSdrObjectKind, const Point &rPos) |
Process of creating draw objects. More... | |
bool | BeginCreate (SdrObjKind eSdrObjectKind, SdrInventor eObjInventor, const Point &) |
void | MoveCreate (const Point &rPos) |
bool | EndCreate (SdrCreateCmd eSdrCreateCmd) |
void | BreakCreate () |
bool | IsDrawCreate () const |
void | CreateDefaultShape (SdrObjKind eSdrObjectKind, const tools::Rectangle &rRect, sal_uInt16 nSlotId) |
bool | BeginMark (const Point &rPos) |
Functions for Rubberbox, it selects Draw-Objects. More... | |
void | MoveMark (const Point &rPos) |
bool | EndMark () |
bool | IsGroupSelected (bool bAllowDiagams) |
Create and destroy group, don't when frame is selected. More... | |
void | GroupSelection () |
Afterwards the group is selected. More... | |
void | UnGroupSelection () |
The individual objects are selected, but it is possible that there are groups included. More... | |
bool | IsGroupAllowed () const |
bool | IsUnGroupAllowed () const |
void | MirrorSelection (bool bHorizontal) |
Vertical if FALSE. More... | |
void | ChgAnchor (RndStdIds eAnchorId, bool bSameOnly=false, bool bPosCorr=true) |
frmatr.hxx. More... | |
bool | SetDrawingAttr (SfxItemSet &rSet) |
bool | GetDrawObjGraphic (SotClipboardFormatId nFormat, Graphic &rGrf) const |
Get selected DrawObj as graphics (MetaFile/Bitmap). More... | |
void | Paste (SvStream &rStm, SwPasteSdr nAction, const Point *pPt) |
bool | Paste (const Graphic &rGrf, const OUString &rURL) |
comphelper::OInterfaceContainerHelper3< css::text::XPasteListener > & | GetPasteListeners () |
bool | IsAlignPossible () const |
void | SetCalcFieldValueHdl (Outliner *pOutliner) |
void | Insert (const OUString &rGrfName, const OUString &rFltName, const Graphic *pGraphic, const SfxItemSet *pFlyAttrSet) |
void | InsertDrawObj (SdrObject &rDrawObj, const Point &rInsertPosition) |
Insertion of a drawing object which have to be already inserted in the DrawModel. More... | |
void | ReplaceSdrObj (const OUString &rGrfName, const Graphic *pGrf) |
void | AlignFormulaToBaseline (const css::uno::Reference< css::embed::XEmbeddedObject > &xObj) |
for starmath formulas anchored 'as char' it aligns it baseline to baseline changing the previous vertical orientation More... | |
void | AlignAllFormulasToBaseline () |
aligns all formulas with anchor 'as char' to baseline More... | |
Point | GetContentPos (const Point &rPoint, bool bNext) const |
Provide information about content situated closes to given Point. More... | |
Point | GetRelativePagePosition (const Point &rDocPos) |
Convert document position into position relative to the current page. More... | |
void | ShellLoseFocus () |
Hide or show layout-selection and pass call to CursorSh. More... | |
void | ShellGetFocus () |
void | ChgCurPageDesc (const SwPageDesc &) |
PageDescriptor-interface. More... | |
size_t | GetCurPageDesc (const bool bCalcFrame=true) const |
size_t | GetMousePageDesc (const Point &rPt) const |
size_t | GetPageDescCnt () const |
SwPageDesc * | FindPageDescByName (const OUString &rName, bool bGetFromPool=false, size_t *pPos=nullptr) |
const SwPageDesc & | GetPageDesc (size_t i) const |
void | ChgPageDesc (size_t i, const SwPageDesc &) |
const SwPageDesc * | GetSelectedPageDescs () const |
if inside all selection only one PageDesc, More... | |
const SwRect & | GetAnyCurRect (CurRectType eType, const Point *pPt=nullptr, const css::uno::Reference< css::embed::XEmbeddedObject > &=css::uno::Reference< css::embed::XEmbeddedObject >()) const |
sal_uInt16 | GetPageNumber (const Point &rPoint) const |
Page number of the page containing Point, O if no page. More... | |
bool | GetPageNumber (tools::Long nYPos, bool bAtCursorPos, sal_uInt16 &rPhyNum, sal_uInt16 &rVirtNum, OUString &rDisplay) const |
SwFlyFrameFormat * | InsertObject (const svt::EmbeddedObjectRef &, SfxItemSet *pFlyAttrSet) |
bool | FinishOLEObj () |
Shutdown server. More... | |
void | GetTableAttr (SfxItemSet &) const |
void | SetTableAttr (const SfxItemSet &) |
bool | HasWholeTabSelection () const |
bool | HasBoxSelection () const |
Is content of a table cell or at least a table cell completely selected? More... | |
void | InsertRow (sal_uInt16 nCnt, bool bBehind) |
void | InsertCol (sal_uInt16 nCnt, bool bBehind) |
bool | DeleteCol () |
void | DeleteTable () |
bool | DeleteRow (bool bCompleteTable=false) |
SwTable::SearchType | GetTableInsertMode () const |
void | SetTableInsertMode (SwTable::SearchType eFlag) |
bool | GetTableCopied () const |
void | SetTableCopied (bool bCopied) |
bool | DeleteTableSel () |
Current selection, may be whole table. More... | |
TableMergeErr | MergeTab () |
Merge selected parts of table. More... | |
void | SplitTab (bool bVert, sal_uInt16 nCnt, bool bSameHeight) |
Split cell vertically or horizontally. More... | |
bool | Sort (const SwSortOptions &) |
void | SetRowHeight (const SwFormatFrameSize &rSz) |
std::unique_ptr< SwFormatFrameSize > | GetRowHeight () const |
Pointer must be destroyed by caller != 0. More... | |
void | SetRowSplit (const SwFormatRowSplit &rSz) |
std::unique_ptr< SwFormatRowSplit > | GetRowSplit () const |
void | SetBoxAlign (sal_uInt16 nOrient) |
sal_uInt16 | GetBoxAlign () const |
USHRT_MAX if ambiguous. More... | |
bool | BalanceRowHeight (bool bTstOnly, const bool bOptimize=false) |
void | SetTabBorders (const SfxItemSet &rSet) |
void | GetTabBorders (SfxItemSet &rSet) const |
void | SetTabLineStyle (const Color *pColor, bool bSetLine=false, const editeng::SvxBorderLine *pBorderLine=nullptr) |
void | SetTabBackground (const SvxBrushItem &rNew) |
void | GetTabBackground (std::unique_ptr< SvxBrushItem > &rToFill) const |
void | SetBoxBackground (const SvxBrushItem &rNew) |
bool | GetBoxBackground (std::unique_ptr< SvxBrushItem > &rToFill) const |
FALSE ambiguous. More... | |
void | SetBoxDirection (const SvxFrameDirectionItem &rNew) |
bool | GetBoxDirection (std::unique_ptr< SvxFrameDirectionItem > &rToFill) const |
FALSE ambiguous. More... | |
void | SetRowBackground (const SvxBrushItem &rNew) |
bool | GetRowBackground (std::unique_ptr< SvxBrushItem > &rToFill) const |
FALSE ambiguous. More... | |
SwTab | WhichMouseTabCol (const Point &rPt) const |
void | GetTabCols (SwTabCols &rToFill) const |
Info about columns and margins. More... | |
void | SetTabCols (const SwTabCols &rNew, bool bCurRowOnly) |
void | GetMouseTabCols (SwTabCols &rToFill, const Point &rPt) const |
void | SetMouseTabCols (const SwTabCols &rNew, bool bCurRowOnly, const Point &rPt) |
bool | SelTableRowCol (const Point &rPt, const Point *pEnd, bool bRowDrag) |
pEnd will be used during MouseMove More... | |
void | GetTabRows (SwTabCols &rToFill) const |
void | SetTabRows (const SwTabCols &rNew, bool bCurColOnly) |
void | GetMouseTabRows (SwTabCols &rToFill, const Point &rPt) const |
void | SetMouseTabRows (const SwTabCols &rNew, bool bCurColOnly, const Point &rPt) |
void | ProtectCells () |
If a table selection exists it is destroyed in case cursor is not allowed in readonly. More... | |
void | UnProtectCells () |
Refers to table selection. More... | |
void | UnProtectTables () |
Unprotect all tables in selection. More... | |
bool | HasTableAnyProtection (const OUString *pTableName, bool *pFullTableProtection) |
bool | CanUnProtectCells () const |
sal_uInt16 | GetRowsToRepeat () const |
void | SetRowsToRepeat (sal_uInt16 nNumOfRows) |
sal_uInt16 | GetVirtPageNum () const |
sal_uInt16 | GetRowSelectionFromTop () const |
bool | IsInRepeatedHeadline () const |
bool | IsInHeadline () const |
void | AdjustCellWidth (const bool bBalance, const bool bNoShrink) |
bool | IsAdjustCellWidthAllowed (bool bBalance=false) const |
Not allowed if only empty cells are selected. More... | |
void | SetTableStyle (const OUString &rStyleName) |
Set table style of the current table. More... | |
bool | SetTableStyle (const SwTableAutoFormat &rNew) |
bool | UpdateTableStyleFormatting (SwTableNode *pTableNode=nullptr, bool bResetDirect=false, OUString const *pStyleName=nullptr) |
Update the direct formatting according to the current table style. More... | |
bool | GetTableAutoFormat (SwTableAutoFormat &rGet) |
void | SetColRowWidthHeight (TableChgWidthHeightType eType, sal_uInt16 nDiff) |
void | GetAutoSum (OUString &rFormula) const |
sal_uInt16 | GetPhyPageNum () const |
Phy: real page count. More... | |
void | SetNewPageOffset (sal_uInt16 nOffset) |
void | SetPageOffset (sal_uInt16 nOffset) |
Changes last page offset. More... | |
sal_uInt16 | GetPageOffset () const |
void | InsertLabel (const SwLabelType eType, const OUString &rText, const OUString &rSeparator, const OUString &rNumberSeparator, const bool bBefore, const sal_uInt16 nId, const OUString &rCharacterStyle, const bool bCpyBrd) |
sal_uInt16 | GetCurColNum (SwGetCurColNumPara *pPara=nullptr) const |
The ruler needs some information too. More... | |
sal_uInt16 | GetCurMouseColNum (const Point &rPt) const |
size_t | GetCurTabColNum () const |
size_t | GetCurMouseTabColNum (const Point &rPt) const |
sal_uInt16 | GetCurOutColNum () const |
Current outer column. More... | |
bool | IsColRightToLeft () const |
bool | IsTableRightToLeft () const |
bool | IsMouseTableRightToLeft (const Point &rPt) const |
bool | IsTableVertical () const |
bool | IsLastCellInRow () const |
tools::Long | GetSectionWidth (SwFormat const &rFormat) const |
Width of current range for column-dialog. More... | |
void | GetConnectableFrameFormats (SwFrameFormat &rFormat, const OUString &rReference, bool bSuccessors, std::vector< OUString > &aPrevPageVec, std::vector< OUString > &aThisPageVec, std::vector< OUString > &aNextPageVec, std::vector< OUString > &aRestVec) |
Color | GetShapeBackground () const |
SwFEShell::GetShapeBackground. More... | |
bool | IsShapeDefaultHoriTextDirR2L () const |
Is default horizontal text direction for selected drawing object right-to-left. More... | |
void | ParkCursorInTab () |
SwTextNode * | GetNumRuleNodeAtPos (const Point &rPot) |
bool | IsNumLabel (const Point &rPt, int nMaxOffset=-1) |
void | ToggleHeaderFooterEdit () |
SAL_DLLPRIVATE void | ClearColumnRowCache (SwTabFrame const *) |
void | Insert (sal_Unicode, bool bOnlyCurrCursor=false) |
Edit (all selected ranges). More... | |
void | Insert (const SwTOXMark &rMark) |
Public Member Functions inherited from SwEditShell | |
void | Insert (sal_Unicode, bool bOnlyCurrCursor=false) |
Edit (all selected ranges). More... | |
void | Insert2 (const OUString &, const bool bForceExpandHints=false) |
void | Overwrite (const OUString &) |
bool | Replace (const OUString &rNewStr, bool bRegExpRplc) |
Replace a selected range in a TextNode by given string. More... | |
bool | Delete (bool isArtificialSelection=false) |
Delete content of all ranges. More... | |
bool | DelFullPara () |
Remove a complete paragraph. More... | |
void | TransliterateText (TransliterationFlags nType) |
Change text to Upper/Lower/Hiragana/Katakana/... More... | |
void | CountWords (SwDocStat &rStat) const |
Count words in current selection. More... | |
bool | ConvertFieldsToText () |
Replace fields by text - mailmerge support. More... | |
void | SetNumberingRestart () |
Set all numbering start points to a fixed value - mailmerge support. More... | |
sal_uInt16 | GetLinkUpdMode () const |
Embeds all local links (ranges/graphics). More... | |
void | SetLinkUpdMode (sal_uInt16 nMode) |
bool | Copy (SwEditShell &rDestShell) |
Copy content of all ranges at current position of cursor to given Shell. More... | |
bool | CopySelToDoc (SwDoc &rInsDoc) |
For copying via ClipBoard: If table is copied into table, move all cursors away from it. More... | |
void | SplitNode (bool bAutoFormat=false, bool bCheckTableStart=true) |
bool | AppendTextNode () |
void | AutoFormatBySplitNode () |
void | DelINetAttrWithText () |
If cursor is in an INetAttribute it will be deleted completely including the descriptive text (needed at drag & drop). More... | |
bool | DontExpandFormat () |
If Cursor is at the end of a character style in which the DontExpand-flag is not yet set, the latter will be set (==> return TRUE). More... | |
bool | GetPaMAttr (SwPaM *pPaM, SfxItemSet &, const bool bMergeIndentValuesOfNumRule=false) const |
Apply / remove attributes. More... | |
bool | GetCurAttr (SfxItemSet &, const bool bMergeIndentValuesOfNumRule=false) const |
void | SetAttrItem (const SfxPoolItem &, SetAttrMode nFlags=SetAttrMode::DEFAULT, const bool bParagraphSetting=false) |
void | SetAttrSet (const SfxItemSet &, SetAttrMode nFlags=SetAttrMode::DEFAULT, SwPaM *pCursor=nullptr, const bool bParagraphSetting=false) |
std::vector< std::pair< const SfxPoolItem *, std::unique_ptr< SwPaM > > > | GetItemWithPaM (sal_uInt16 nWhich) |
Get RES_CHRATR_* items of one type in the current selection. More... | |
void | GetCurParAttr (SfxItemSet &rSet) const |
Get the paragraph format attribute(s) of the current selection. More... | |
void | GetPaMParAttr (SwPaM *pPaM, SfxItemSet &rSet) const |
Get the paragraph format attribute(s) of the selection(s) described by a SwPaM. More... | |
void | SetDefault (const SfxPoolItem &) |
Set attribute as new default attribute in document. More... | |
const SfxPoolItem & | GetDefault (sal_uInt16 nFormatHint) const |
Query default attribute of document. More... | |
template<class T > | |
const T & | GetDefault (TypedWhichId< T > nWhich) const |
void | ResetAttr (const o3tl::sorted_vector< sal_uInt16 > &attrs=o3tl::sorted_vector< sal_uInt16 >(), SwPaM *pCursor=nullptr) |
void | GCAttr () |
SvtScriptType | GetScriptType () const |
returns the script type of the selection More... | |
LanguageType | GetCurLang () const |
size_t | GetTableFrameFormatCount (bool bUsed=false) const |
TABLE. More... | |
SwFrameFormat & | GetTableFrameFormat (size_t nFormat, bool bUsed=false) const |
OUString | GetUniqueTableName () const |
sal_uInt16 | GetCharFormatCount () const |
CHAR. More... | |
SwCharFormat & | GetCharFormat (sal_uInt16 nFormat) const |
SwCharFormat * | GetCurCharFormat () const |
void | FillByEx (SwCharFormat *) |
SwCharFormat * | MakeCharFormat (const OUString &rName) |
SwCharFormat * | FindCharFormatByName (const OUString &rName) const |
SwTextFormatColl & | GetDfltTextFormatColl () const |
sal_uInt16 | GetTextFormatCollCount () const |
SwTextFormatColl & | GetTextFormatColl (sal_uInt16 nTextFormatColl) const |
SwTextFormatColl * | GetCurTextFormatColl () const |
Get the named paragraph format of the current selection. More... | |
SwTextFormatColl * | GetPaMTextFormatColl (SwPaM *pPaM) const |
Get the named paragraph format of the selection(s) described by a SwPaM. More... | |
void | SetTextFormatColl (SwTextFormatColl *, const bool bResetListAttrs=false) |
Add 2nd optional parameter <bResetListAttrs> - see also <SwDoc::SetTextFormatColl(..)> More... | |
SwTextFormatColl * | MakeTextFormatColl (const OUString &rFormatCollName, SwTextFormatColl *pDerivedFrom=nullptr) |
void | FillByEx (SwTextFormatColl *) |
SwTextFormatColl * | FindTextFormatCollByName (const OUString &rName) const |
SwTextFormatColl * | GetTextCollFromPool (sal_uInt16 nId) |
SwFormat * | GetFormatFromPool (sal_uInt16 nId) |
return the requested automatic format - base-class ! More... | |
SwPageDesc * | GetPageDescFromPool (sal_uInt16 nId) |
bool | IsUsed (const sw::BroadcastingModify &) const |
Query if the paragraph-/character-/frame-/page-style is used. More... | |
SwFrameFormat * | GetFrameFormatFromPool (sal_uInt16 nId) |
SwCharFormat * | GetCharFormatFromPool (sal_uInt16 nId) |
void | SetClassification (const OUString &rName, SfxClassificationPolicyType eType) |
void | ApplyAdvancedClassification (std::vector< svx::ClassificationResult > const &rResult) |
std::vector< svx::ClassificationResult > | CollectAdvancedClassification () |
SfxWatermarkItem | GetWatermark () const |
void | SetWatermark (const SfxWatermarkItem &rText) |
void | SignParagraph () |
Sign the paragraph at the cursor. More... | |
void | ValidateParagraphSignatures (SwTextNode *pNode, bool updateDontRemove) |
Validate the paragraph signatures, if any, of the current text node. More... | |
void | ValidateCurrentParagraphSignatures (bool updateDontRemove) |
Validate the current paragraph signatures, if any, at the cursor start. More... | |
void | ValidateAllParagraphSignatures (bool updateDontRemove) |
Validate all paragraph signatures. More... | |
void | RestoreMetadataFieldsAndValidateParagraphSignatures () |
Restore the metadata fields, if missing, from the RDF metadata and validate the signatures and update the signature metadata fields. More... | |
void | ClassifyDocPerHighestParagraphClass () |
Ensure that the classification of the doc is never lower than the paragraph with the highest classification. More... | |
void | ApplyParagraphClassification (std::vector< svx::ClassificationResult > aResult) |
Apply the classification to the paragraph at cursor. More... | |
std::vector< svx::ClassificationResult > | CollectParagraphClassification () |
bool | IsCursorInParagraphMetadataField () const |
Returns true iff the cursor is within a paragraph metadata field. More... | |
bool | RemoveParagraphMetadataFieldAtCursor () |
Removes the paragraph metadata field at the current cursor, if any. More... | |
bool | InsertField (SwField const &, const bool bForceExpandHints) |
add a field at the cursor position More... | |
void | UpdateOneField (SwField &) |
One single field. More... | |
size_t | GetFieldTypeCount (SwFieldIds nResId=SwFieldIds::Unknown) const |
count field types with a ResId, if SwFieldIds::Unknown count all More... | |
SwFieldType * | GetFieldType (size_t nField, SwFieldIds nResId=SwFieldIds::Unknown) const |
get field types with a ResId, if 0 get all More... | |
SwFieldType * | GetFieldType (SwFieldIds nResId, const OUString &rName) const |
get first type with given ResId and name More... | |
void | RemoveFieldType (size_t nField) |
delete field type More... | |
void | RemoveFieldType (SwFieldIds nResId, const OUString &rName) |
delete field type based on its name More... | |
void | FieldToText (SwFieldType const *pType) |
void | ChangeAuthorityData (const SwAuthEntry *pNewData) |
SwDBData const & | GetDBData () const |
Database information. More... | |
void | ChgDBData (const SwDBData &SwDBData) |
void | ChangeDBFields (const std::vector< OUString > &rOldNames, const OUString &rNewName) |
void | GetAllUsedDB (std::vector< OUString > &rDBNameList, std::vector< OUString > const *pAllDBNames) |
bool | IsAnyDatabaseFieldInDoc () const |
bool | IsFieldDataSourceAvailable (OUString &rUsedDataSource) const |
Check whether DB fields point to an available data source and returns it. More... | |
void | UpdateExpFields (bool bCloseDB=false) |
only every expression fields update More... | |
void | LockExpFields () |
void | UnlockExpFields () |
bool | IsExpFieldsLocked () const |
SwFieldUpdateFlags | GetFieldUpdateFlags () const |
void | SetFieldUpdateFlags (SwFieldUpdateFlags eFlags) |
SwDBManager * | GetDBManager () const |
For evaluation of DB fields (new DB-manager). More... | |
SwFieldType * | InsertFieldType (const SwFieldType &) |
insert field type More... | |
bool | IsModified () const |
Changes in document? More... | |
void | SetModified () |
void | ResetModified () |
void | SetUndoNoResetModified () |
void | UpdateDocStat () |
Document - Statistics. More... | |
const SwDocStat & | GetUpdatedDocStat () |
void | Insert (const SwTOXMark &rMark) |
void | DeleteTOXMark (SwTOXMark const *pMark) |
void | GetCurTOXMarks (SwTOXMarks &rMarks) const |
Get all marks at current SPoint. More... | |
void | InsertTableOf (const SwTOXBase &rTOX, const SfxItemSet *pSet=nullptr) |
Insert content table. Renew if required. More... | |
void | UpdateTableOf (const SwTOXBase &rTOX, const SfxItemSet *pSet=nullptr) |
update tables of content More... | |
const SwTOXBase * | GetCurTOX () const |
Get current listing before or at the Cursor. More... | |
const SwTOXBase * | GetDefaultTOXBase (TOXTypes eTyp, bool bCreate=false) |
void | SetDefaultTOXBase (const SwTOXBase &rBase) |
void | SetTOXBaseReadonly (const SwTOXBase &rTOXBase, bool bReadonly) |
sal_uInt16 | GetTOXCount () const |
const SwTOXBase * | GetTOX (sal_uInt16 nPos) const |
bool | DeleteTOX (const SwTOXBase &rTOXBase, bool bDelNodes) |
void | SetUpdateTOX (bool bFlag) |
After reading file update all content tables. More... | |
bool | IsUpdateTOX () const |
sal_uInt16 | GetTOXTypeCount (TOXTypes eTyp) const |
Manage types of content tables. More... | |
const SwTOXType * | GetTOXType (TOXTypes eTyp, sal_uInt16 nId) const |
void | InsertTOXType (const SwTOXType &rTyp) |
OUString const & | GetTOIAutoMarkURL () const |
AutoMark file. More... | |
void | SetTOIAutoMarkURL (const OUString &rSet) |
void | ApplyAutoMark () |
void | GetTOIKeys (SwTOIKeyType eTyp, std::vector< OUString > &rArr) const |
Key for managing index. More... | |
void | SetOutlineNumRule (const SwNumRule &) |
const SwNumRule * | GetOutlineNumRule () const |
bool | OutlineUpDown (short nOffset=1) |
bool | MoveOutlinePara (SwOutlineNodes::difference_type nOffset) |
bool | IsProtectedOutlinePara () const |
const SwNumRule * | GetNumRuleAtCurrCursorPos () const |
const SwNumRule * | GetNumRuleAtCurrentSelection () const |
Returns the numbering rule found at the paragraphs of the current selection, if all paragraphs of the current selection have the same or none numbering rule applied. More... | |
void | SetCurNumRule (const SwNumRule &, const bool bCreateNewList, const OUString &sContinuedListId=OUString(), const bool bResetIndentAttrs=false) |
Optional parameter <bResetIndentAttrs> (default value false). More... | |
void | NoNum () |
Paragraphs without enumeration but with indents. More... | |
void | DelNumRules () |
Delete, split enumeration list. More... | |
void | NumUpDown (bool bDown=true) |
bool | MoveParagraph (SwNodeOffset nOffset=SwNodeOffset(1)) |
bool | MoveNumParas (bool bUpperLower, bool bUpperLeft) |
bool | NumOrNoNum (bool bDelete=false, bool bChkStart=true) |
Switch on/off of numbering via Delete/Backspace. More... | |
void | ChangeIndentOfAllListLevels (sal_Int32 nDiff) |
Remove unused default parameter <nLevel> and <bRelative>. More... | |
void | SetIndent (short nIndent, const SwPosition &rPos) |
bool | IsFirstOfNumRuleAtCursorPos () const |
bool | IsNoNum (bool bChkStart=true) const |
sal_uInt8 | GetNumLevel () const |
void | GetCurrentOutlineLevels (sal_uInt8 &rUpper, sal_uInt8 &rLower) |
Detect highest and lowest level to check moving of outline levels. More... | |
int | GetCurrentParaOutlineLevel () const |
Get Outline level of current paragraph. More... | |
bool | HasNumber () const |
bool | HasBullet () const |
bool | SelectionHasNumber () const |
bool | SelectionHasBullet () const |
OUString | GetUniqueNumRuleName () const |
void | ChgNumRuleFormats (const SwNumRule &rRule) |
void | SetNumRuleStart (bool bFlag, SwPaM *pCursor) |
Set (and query if) a numbering with StartFlag starts at current PointPos. More... | |
bool | IsNumRuleStart (SwPaM *pPaM=nullptr) const |
void | SetNodeNumStart (sal_uInt16 nStt) |
sal_uInt16 | GetNodeNumStart (SwPaM *pPaM) const |
void | ReplaceNumRule (const OUString &rOldRule, const OUString &rNewRule) |
const SwNumRule * | SearchNumRule (const bool bNum, OUString &sListId) |
Searches for a text node with a numbering rule. More... | |
void | DoUndo (bool bOn=true) |
Undo. More... | |
bool | DoesUndo () const |
void | DoGroupUndo (bool bUn) |
bool | DoesGroupUndo () const |
void | DelAllUndoObj () |
SwUndoId | StartUndo (SwUndoId eUndoId=SwUndoId::EMPTY, const SwRewriter *pRewriter=nullptr) |
Undo: set up Undo parenthesis, return nUndoId of this parenthesis. More... | |
SwUndoId | EndUndo (SwUndoId eUndoId=SwUndoId::EMPTY, const SwRewriter *pRewriter=nullptr) |
Closes parenthesis of nUndoId, not used by UI. More... | |
bool | GetLastUndoInfo (OUString *const o_pStr, SwUndoId *const o_pId, const SwView *pView=nullptr) const |
bool | GetFirstRedoInfo (OUString *const o_pStr, SwUndoId *const o_pId, const SwView *pView=nullptr) const |
SwUndoId | GetRepeatInfo (OUString *const o_pStr) const |
bool | CursorsLocked () const |
is it forbidden to modify cursors via API calls? More... | |
void | HandleUndoRedoContext (::sw::UndoRedoContext &rContext) |
set selections to those contained in the UndoRedoContext should only be called by sw::UndoManager! More... | |
void | Undo (sal_uInt16 const nCount=1, sal_uInt16 nOffset=0) |
void | Redo (sal_uInt16 const nCount=1) |
void | Repeat (sal_uInt16 const nCount) |
void | StartAllAction () |
For all views of this document. More... | |
void | EndAllAction () |
virtual void | CalcLayout () override |
To enable set up of StartActions and EndActions. More... | |
sal_uInt16 | GetCntType () const |
Determine form of content. Return Type at CurrentCursor->SPoint. More... | |
bool | HasOtherCnt () const |
Are there frames, footnotes, etc. More... | |
virtual void | ApplyViewOptions (const SwViewOption &rOpt) override |
Apply ViewOptions with Start-/EndAction. More... | |
virtual void | InfoReadOnlyDialog (bool) const |
Selected area has readonly content. More... | |
virtual bool | WarnHiddenSectionDialog () const |
Selected area has hidden content. More... | |
virtual bool | WarnSwitchToDesignModeDialog () const |
Switch to Design mode for Forms. More... | |
void | GetSelectedText (OUString &rBuf, ParaBreakType nHndlParaBreak=ParaBreakType::ToBlank) |
Query text within selection. More... | |
const Graphic * | GetGraphic (bool bWait=true) const |
const GraphicObject * | GetGraphicObj () const |
const GraphicAttr * | GetGraphicAttr (GraphicAttr &rGA) const |
bool | IsLinkedGrfSwapOut () const |
GraphicType | GetGraphicType () const |
const tools::PolyPolygon * | GetGraphicPolygon () const |
void | SetGraphicPolygon (const tools::PolyPolygon *pPoly) |
void | ClearAutomaticContour () |
If there's an automatic, not manipulated polygon at the selected notxtnode, it has to be deleted, e.g. More... | |
bool | GetGrfSize (Size &) const |
void | GetGrfNms (OUString *pGrfName, OUString *pFltName, const SwFlyFrameFormat *=nullptr) const |
Returns the name and the filter name of a graphic if the pointer is on a graphic. More... | |
void | ReRead (const OUString &rGrfName, const OUString &rFltName, const Graphic *pGraphic=nullptr) |
Re-read if graphic is not ok. Current graphic is replaced by the new one. More... | |
void * | GetIMapInventor () const |
Unique identification of object (for ImageMapDlg). More... | |
Graphic | GetIMapGraphic () const |
Remove default parameter, because method always called this default value. More... | |
const SwFlyFrameFormat * | FindFlyByName (const OUString &rName) const |
svt::EmbeddedObjectRef & | GetOLEObject () const |
Get OLE object at pointer. More... | |
bool | HasOLEObj (std::u16string_view rName) const |
Is there an OLEObject with this name (SwFormat)? More... | |
void | SetChartName (const OUString &rName) |
void | UpdateCharts (const OUString &rName) |
Update content of all charts for table with given name. More... | |
OUString | GetCurWord () const |
request current word More... | |
void | InsertGlossary (SwTextBlocks &rGlossary, const OUString &) |
Glossary from glossary document in current document. More... | |
sal_uInt16 | MakeGlossary (SwTextBlocks &rToFill, const OUString &rName, const OUString &rShortName, bool bSaveRelFile, const OUString *pOnlyText) |
Make current selection glossary and insert into glossary document including styles. More... | |
sal_uInt16 | SaveGlossaryDoc (SwTextBlocks &rGlossary, const OUString &rName, const OUString &rShortName, bool bSaveRelFile, bool bOnlyText) |
Save complete content of doc as glossary. More... | |
void | HyphStart (SwDocPositions eStart, SwDocPositions eEnd) |
Save selections. More... | |
void | HyphEnd () |
restore selections. More... | |
css::uno::Reference< css::uno::XInterface > | HyphContinue (sal_uInt16 *pPageCnt, sal_uInt16 *pPageSt) |
void | HyphIgnore () |
ignore hyphenation More... | |
const SwTable & | InsertTable (const SwInsertTableOptions &rInsTableOpts, sal_uInt16 nRows, sal_uInt16 nCols, const SwTableAutoFormat *pTAFormat=nullptr) |
Inserts an nRows x nCols table to the document at the current position. More... | |
void | InsertDDETable (const SwInsertTableOptions &rInsTableOpts, SwDDEFieldType *pDDEType, sal_uInt16 nRows, sal_uInt16 nCols) |
void | UpdateTable () |
update fields of a listing More... | |
void | SetTableName (SwFrameFormat &rTableFormat, const OUString &rNewName) |
change table name More... | |
SwFrameFormat * | GetTableFormat () |
bool | TextToTable (const SwInsertTableOptions &rInsTableOpts, sal_Unicode cCh, const SwTableAutoFormat *pTAFormat=nullptr) |
bool | TableToText (sal_Unicode cCh) |
bool | IsTextToTableAvailable () const |
bool | GetTableBoxFormulaAttrs (SfxItemSet &rSet) const |
void | SetTableBoxFormulaAttrs (const SfxItemSet &rSet) |
bool | IsTableBoxTextFormat () const |
OUString | GetTableBoxText () const |
TableChgMode | GetTableChgMode () const |
void | SetTableChgMode (TableChgMode eMode) |
void | SplitTable (SplitTable_HeadlineOption eMode) |
Split table at cursor position. More... | |
bool | CanMergeTable (bool bWithPrev=true, bool *pChkNxtPrv=nullptr) const |
Merge tables. More... | |
bool | MergeTable (bool bWithPrev) |
void | AppendUndoForInsertFromDB (bool bIsTable) |
Set up InsertDB as table Undo. More... | |
void | SpellStart (SwDocPositions eStart, SwDocPositions eEnd, SwDocPositions eCurr, SwConversionArgs *pConvArgs=nullptr) |
Functions used for spell checking and text conversion. More... | |
void | SpellEnd (SwConversionArgs const *pConvArgs=nullptr, bool bRestoreSelection=true) |
Restore selections. More... | |
css::uno::Any | SpellContinue (sal_uInt16 *pPageCnt, sal_uInt16 *pPageSt, SwConversionArgs const *pConvArgs) |
bool | SpellSentence (svx::SpellPortions &rToFill, bool bIsGrammarCheck) |
Spells on a sentence basis - the SpellPortions are needed. More... | |
void | ApplyChangedSentence (const svx::SpellPortions &rNewPortions, bool bRecheck) |
Applies a changed sentence. More... | |
void | HandleCorrectionError (const OUString &aText, SwPosition aPos, sal_Int32 nBegin, sal_Int32 nLen, const Point *pPt, SwRect &rSelectRect) |
css::uno::Reference< css::linguistic2::XSpellAlternatives > | GetCorrection (const Point *pPt, SwRect &rSelectRect) |
Get a list of potential corrections for misspelled word. More... | |
bool | GetGrammarCorrection (css::linguistic2::ProofreadingResult &rResult, sal_Int32 &rErrorPosInText, sal_Int32 &rErrorIndexInResult, css::uno::Sequence< OUString > &rSuggestions, const Point *pPt, SwRect &rSelectRect) |
void | SetLinguRange (SwDocPositions eStart, SwDocPositions eEnd) |
const SwFormatRefMark * | GetRefMark (std::u16string_view rName) const |
get the reference of a given name in the Doc More... | |
sal_uInt16 | GetRefMarks (std::vector< OUString > *=nullptr) const |
get the names of all references in a Doc More... | |
void | AutoCorrect (SvxAutoCorrect &rACorr, bool bInsertMode, sal_Unicode cChar) |
Call AutoCorrect. More... | |
OUString | GetPrevAutoCorrWord (SvxAutoCorrect &rACorr) |
std::vector< OUString > | GetChunkForAutoText () |
void | AutoFormat (const SvxSwAutoFormatFlags *pAFlags) |
Set our styles according to the respective rules. More... | |
OUString | Calculate () |
Calculates selection. More... | |
bool | InsertURL (const SwFormatINetFormat &rFormat, const OUString &rStr, bool bKeepSelection=false) |
void | GetINetAttrs (SwGetINetAttrs &rArr, bool bIncludeInToxContent=true) |
OUString | GetDropText (const sal_Int32 nChars) const |
void | ReplaceDropText (const OUString &rStr, SwPaM *pPaM=nullptr) |
bool | IsOutlineMovable (SwOutlineNodes::size_type nIdx) const |
May an outline be moved or copied? Check whether it's in text body, not in table, and not read-only (move). More... | |
bool | IsOutlineCopyable (SwOutlineNodes::size_type nIdx) const |
sal_Int32 | GetLineCount () |
bool | GetCurFootnote (SwFormatFootnote *pToFillFootnote=nullptr) |
Query and set footnote-text/number. Set... to current SSelection! More... | |
bool | SetCurFootnote (const SwFormatFootnote &rFillFootnote) |
bool | HasFootnotes (bool bEndNotes=false) const |
size_t | GetSeqFootnoteList (SwSeqFieldList &rList, bool bEndNotes=false) |
Give a List of all footnotes and their beginning texts. More... | |
SwSection const * | InsertSection (SwSectionData &rNewData, SfxItemSet const *const =nullptr) |
bool | IsInsRegionAvailable () const |
const SwSection * | GetCurrSection () const |
SwSection * | GetAnySection (bool bOutOfTab=false, const Point *pPt=nullptr) |
Deliver the responsible area of the columns. More... | |
size_t | GetSectionFormatCount () const |
size_t | GetSectionFormatPos (const SwSectionFormat &) const |
const SwSectionFormat & | GetSectionFormat (size_t nFormat) const |
void | DelSectionFormat (size_t nFormat) |
void | UpdateSection (size_t const nSect, SwSectionData &, SfxItemSet const *const =nullptr) |
bool | IsAnySectionInDoc () const |
OUString | GetUniqueSectionName (const OUString *pChkStr=nullptr) const |
void | SetSectionAttr (const SfxItemSet &rSet, SwSectionFormat *pSectFormat=nullptr) |
Set attributes. More... | |
sal_uInt16 | GetFullSelectedSectionCount () const |
Search inside the cursor selection for full selected sections. More... | |
void | DoSpecialInsert () |
Special insert: Insert a new text node just before or after a section or table, if the cursor is positioned at the start/end of said section/table. More... | |
bool | CanSpecialInsert () const |
a node can be special-inserted (alt-Enter) whenever lcl_SpecialInsertNode finds a suitable position More... | |
void | SetNewDoc () |
Optimizing UI. More... | |
sfx2::LinkManager & | GetLinkManager () |
const sfx2::LinkManager & | GetLinkManager () const |
bool | IsMoveLeftMargin (bool bRight, bool bModulus=true) const |
Adjust left margin via object bar (similar to adjustment of numerations). More... | |
void | MoveLeftMargin (bool bRight, bool bModulus=true) |
SvNumberFormatter * | GetNumberFormatter () |
Query NumberFormatter from document. More... | |
const SvNumberFormatter * | GetNumberFormatter () const |
bool | IsGlobalDoc () const |
Interfaces for GlobalDocument. More... | |
void | SetGlblDocSaveLinks (bool bFlag) |
bool | IsGlblDocSaveLinks () const |
void | GetGlobalDocContent (SwGlblDocContents &rArr) const |
void | InsertGlobalDocContent (const SwGlblDocContent &rPos, SwSectionData &rNew) |
bool | InsertGlobalDocContent (const SwGlblDocContent &rPos, const SwTOXBase &rTOX) |
bool | InsertGlobalDocContent (const SwGlblDocContent &rPos) |
void | DeleteGlobalDocContent (const SwGlblDocContents &rArr, size_t nPos) |
bool | MoveGlobalDocContent (const SwGlblDocContents &rArr, size_t nFromPos, size_t nToPos, size_t nNewPos) |
void | GotoGlobalDocContent (const SwGlblDocContent &rPos) |
RedlineFlags | GetRedlineFlags () const |
For Redlining. More... | |
void | SetRedlineFlags (RedlineFlags eMode) |
bool | IsRedlineOn () const |
SwRedlineTable::size_type | GetRedlineCount () const |
const SwRangeRedline & | GetRedline (SwRedlineTable::size_type nPos) const |
bool | AcceptRedline (SwRedlineTable::size_type nPos) |
bool | RejectRedline (SwRedlineTable::size_type nPos) |
bool | AcceptRedlinesInSelection () |
bool | RejectRedlinesInSelection () |
SwRedlineTable::size_type | FindRedlineOfData (const SwRedlineData &) const |
Search Redline for this Data and. More... | |
bool | SetRedlineComment (const OUString &rS) |
Set comment to Redline at position. More... | |
const SwRangeRedline * | GetCurrRedline () const |
void | UpdateRedlineAttr () |
Redline attributes have been changed. Updated views. More... | |
tools::Long | CompareDoc (const SwDoc &rDoc) |
Compare two documents. More... | |
tools::Long | MergeDoc (const SwDoc &rDoc) |
Merge two documents. More... | |
const SwFootnoteInfo & | GetFootnoteInfo () const |
Footnote attributes global to document. More... | |
void | SetFootnoteInfo (const SwFootnoteInfo &rInfo) |
const SwEndNoteInfo & | GetEndNoteInfo () const |
void | SetEndNoteInfo (const SwEndNoteInfo &rInfo) |
const SwLineNumberInfo & | GetLineNumberInfo () const |
void | SetLineNumberInfo (const SwLineNumberInfo &rInfo) |
void | SetLabelDoc (bool bFlag) |
Labels: Synchronize ranges. More... | |
bool | IsLabelDoc () const |
void | CreateExtTextInput (LanguageType eInputLanguage) |
Interface for TextInputData - (for input of Japanese/Chinese chars.) More... | |
OUString | DeleteExtTextInput (bool bInsText=true) |
void | SetExtTextInputData (const CommandExtTextInputData &) |
bool | IsParagraphSignatureValidationEnabled () const |
Returns true iff paragraph signature validation is enabled. More... | |
bool | SetParagraphSignatureValidation (const bool bEnable) |
Enable/Disable paragraph signature validation and return the previous value. More... | |
sal_uInt16 | GetScalingOfSelectedText () const |
bool | IsNbspRunNext () const |
SwEditShell (SwDoc &, vcl::Window *, const SwViewOption *pOpt) | |
Ctor/Dtor. More... | |
SwEditShell (SwEditShell &, vcl::Window *) | |
Copy-Constructor in disguise. More... | |
virtual | ~SwEditShell () override |
Public Member Functions inherited from SwCursorShell | |
SAL_DLLPRIVATE void | UpdateCursor (sal_uInt16 eFlags=SwCursorShell::SCROLLWIN|SwCursorShell::CHKRANGE, bool bIdleEnd=false) |
SwCursorShell (SwDoc &rDoc, vcl::Window *pWin, const SwViewOption *pOpt) | |
default constructor More... | |
SwCursorShell (SwCursorShell &rShell, vcl::Window *pWin) | |
Copy constructor. More... | |
virtual | ~SwCursorShell () override |
virtual SwCursor & | CreateNewShellCursor () override |
Create and return a new shell cursor. More... | |
virtual SwCursor & | GetCurrentShellCursor () override |
Return the current shell cursor. More... | |
SwPaM * | CreateCursor () |
delete the current cursor and make the following into the current More... | |
void | DestroyCursor () |
transform TableCursor to normal cursor, nullify Tablemode More... | |
void | TableCursorToCursor () |
enter block mode, change normal cursor into block cursor More... | |
void | CursorToBlockCursor () |
leave block mode, change block cursor into normal cursor More... | |
void | BlockCursorToCursor () |
void | ExtendedSelectAll (bool bFootnotes=true) |
::std::optional<::std::pair< SwNode const *, ::std::vector< SwTableNode * > > > | ExtendedSelectedAll () const |
If ExtendedSelectAll() was called and selection didn't change since then. More... | |
StartsWith | StartsWith_ () |
If document body starts with a table or starts/ends with hidden paragraph. More... | |
SwCursor * | GetCursor (bool bMakeTableCursor=true) const |
Return pointer to the current shell cursor. More... | |
SwShellCursor * | GetCursor_ () |
const SwShellCursor * | GetCursor_ () const |
void | SetSelection (const SwPaM &rCursor) |
void | ParkCursor (const SwNode &rIdx) |
Remove selections and additional cursors of all shells. More... | |
SwPaM * | GetStackCursor () const |
void | StartAction () |
void | EndAction (const bool bIdleEnd=false) |
tools::Long | GetUpDownX () const |
bool | Left (sal_uInt16 nCnt, SwCursorSkipMode nMode, bool bAllowVisual=false) |
bool | Right (sal_uInt16 nCnt, SwCursorSkipMode nMode, bool bAllowVisual=false) |
bool | Up (sal_uInt16 nCnt=1) |
bool | Down (sal_uInt16 nCnt=1) |
bool | LeftMargin () |
bool | RightMargin (bool bAPI=false) |
bool | SttEndDoc (bool bStt) |
bool | MovePage (SwWhichPage, SwPosPage) |
bool | MovePara (SwWhichPara, SwMoveFnCollection const &) |
bool | MoveSection (SwWhichSection, SwMoveFnCollection const &) |
bool | MoveTable (SwWhichTable, SwMoveFnCollection const &) |
void | MoveColumn (SwWhichColumn, SwPosColumn) |
bool | MoveRegion (SwWhichRegion, SwMoveFnCollection const &) |
sal_Int32 | Find_Text (const i18nutil::SearchOptions2 &rSearchOpt, bool bSearchInNotes, SwDocPositions eStart, SwDocPositions eEnd, bool &bCancel, FindRanges eRng, bool bReplace=false) |
sal_Int32 | FindFormat (const SwTextFormatColl &rFormatColl, SwDocPositions eStart, SwDocPositions eEnd, bool &bCancel, FindRanges eRng, const SwTextFormatColl *pReplFormat) |
sal_Int32 | FindAttrs (const SfxItemSet &rSet, bool bNoCollections, SwDocPositions eStart, SwDocPositions eEnd, bool &bCancel, FindRanges eRng, const i18nutil::SearchOptions2 *pSearchOpt, const SfxItemSet *rReplSet) |
int | SetCursor (const Point &rPt, bool bOnlyText=false, bool bBlock=true) |
virtual void | VisPortChgd (const SwRect &) override |
void | Paint (vcl::RenderContext &rRenderContext, const tools::Rectangle &rRect) override |
void | SetMark () |
bool | HasMark () const |
void | ClearMark () |
void | NormalizePam (bool bPointFirst=true) |
Ensure point and mark of the current PaM are in a specific order. More... | |
void | SwapPam () |
bool | TestCurrPam (const Point &rPt, bool bTstHit=false) |
Search in the selected area for a Selection that covers the given point. More... | |
void | KillPams () |
void | Push () |
store a copy of the current cursor on the cursor stack More... | |
bool | Pop (PopMode, ::std::optional< SwCallLink > &roLink) |
bool | Pop (PopMode) |
delete cursor More... | |
void | Combine () |
Combine two cursors. More... | |
void | SttCursorMove () |
void | EndCursorMove (const bool bIdleEnd=false) |
bool | HasShellFocus () const |
void | ShellLoseFocus () |
void | ShellGetFocus () |
void | ShowCursor () |
void | HideCursor () |
void | ShowCursors (bool bCursorVis) |
void | HideCursors () |
bool | IsOverwriteCursor () const |
void | SetOverwriteCursor (bool bFlag) |
bool | IsSendAccessibleCursorEvents () const |
void | SetSendAccessibleCursorEvents (bool bEnable) |
SwContentFrame * | GetCurrFrame (const bool bCalcFrame=true) const |
Get current frame in which the cursor is positioned. More... | |
bool | IsCursorReadonly () const |
bool | HasReadonlySel (bool isReplace=false) const |
bool | HasHiddenSections () const |
bool | IsReadOnlyAvailable () const |
void | SetReadOnlyAvailable (bool bFlag) |
is the cursor allowed to enter ReadOnly sections? More... | |
bool | IsOverReadOnlyPos (const Point &rPt) const |
void | SetFlyMacroLnk (const Link< const SwFlyFrameFormat *, void > &rLnk) |
const Link< const SwFlyFrameFormat *, void > & | GetFlyMacroLnk () const |
void | SetChgLnk (const Link< LinkParamNone *, void > &rLnk) |
const Link< LinkParamNone *, void > & | GetChgLnk () const |
void | SetGrfArrivedLnk (const Link< SwCursorShell &, void > &rLnk) |
const Link< SwCursorShell &, void > & | GetGrfArrivedLnk () const |
void | CallChgLnk () |
bool | HasSelection () const |
Does the current cursor create a selection? More... | |
bool | IsSelection () const |
bool | IsMultiSelection () const |
bool | IsSelFullPara () const |
bool | ShouldWait () const |
Should WaitPtr be switched on for the clipboard? More... | |
bool | IsSelOnePara () const |
const SwRect & | GetCharRect () const |
bool | IsCursorVisible () const |
void | GetCharRectAt (SwRect &rRect, const SwPosition *pPos) |
void | GetPageNum (sal_uInt16 &rnPhyNum, sal_uInt16 &rnVirtNum, bool bAtCursorPos=true, const bool bCalcFrame=true) |
sal_uInt16 | GetPageNumSeqNonEmpty () |
sal_uInt16 | GetNextPrevPageNum (bool bNext=true) |
bool | GotoPage (sal_uInt16 nPage) |
sal_uInt16 | GetPageCnt () |
bool | GoNextCursor () |
go to the next SSelection More... | |
bool | GoPrevCursor () |
go to the previous SSelection More... | |
void | GoNextPrevCursorSetSearchLabel (const bool bNext) |
::sw::mark::IMark * | SetBookmark (const vcl::KeyCode &, const OUString &rName, IDocumentMarkAccess::MarkType eMark=IDocumentMarkAccess::MarkType::BOOKMARK) |
::sw::mark::IMark * | SetBookmark2 (const vcl::KeyCode &, const OUString &rName, bool bHide, const OUString &rCondition) |
bool | GotoMark (const ::sw::mark::IMark *const pMark) |
bool | GotoMark (const ::sw::mark::IMark *const pMark, bool bAtStart) |
bool | GoNextBookmark () |
bool | GoPrevBookmark () |
bool | IsFormProtected () |
::sw::mark::IFieldmark * | GetCurrentFieldmark () |
sw::mark::IFieldmark * | GetFieldmarkAfter (bool bLoop) |
sw::mark::IFieldmark * | GetFieldmarkBefore (bool bLoop) |
bool | GotoFieldmark (const ::sw::mark::IFieldmark *const pMark) |
void | UpdateCursorPos () |
Set the cursor back into content. More... | |
OUString | GetSelText () const |
get selected text of a node at current cursor More... | |
const SwTableNode * | IsCursorInTable () const |
Check if Point of current cursor is placed within a table. More... | |
bool | MoveOutOfTable () |
bool | TrySelectOuterTable () |
bool | MoveStartText () |
bool | IsCursorInFootnote () const |
Point & | GetCursorDocPos () const |
Point | GetCursorPagePos () const |
bool | IsCursorPtAtEnd () const |
const SwPaM * | GetTableCrs () const |
SwPaM * | GetTableCrs () |
bool | IsTableComplexForChart () |
OUString | GetBoxNms () const |
bool | GoNextCell (bool bAppendLine=true) |
set cursor into next/previous cell More... | |
bool | GoPrevCell () |
bool | GotoTable (const OUString &rName) |
bool | SelTableRow () |
bool | SelTableCol () |
bool | SelTableBox () |
bool | SelTable () |
void | GotoNextNum () |
go to next/previous point on the same level More... | |
void | GotoPrevNum () |
bool | GotoOutline (const OUString &rName) |
void | GotoOutline (SwOutlineNodes::size_type nIdx) |
SwOutlineNodes::size_type | GetOutlinePos (sal_uInt8 nLevel=UCHAR_MAX, SwPaM *pPaM=nullptr) |
search "outline position" before previous outline node at given level More... | |
void | MakeOutlineSel (SwOutlineNodes::size_type nSttPos, SwOutlineNodes::size_type nEndPos, bool bWithChildren, bool bKillPams=true) |
bool | GotoNextOutline () |
jump to next node with outline num. More... | |
bool | GotoPrevOutline () |
jump to previous node with outline num. More... | |
SwShellCursor * | getShellCursor (bool bBlock) |
Delivers the current shell cursor. More... | |
const SwShellCursor * | getShellCursor (bool bBlock) const |
bool | IsBlockMode () const |
bool | IsTableMode () const |
const SwShellTableCursor * | GetTableCursor () const |
SwShellTableCursor * | GetTableCursor () |
size_t | UpdateTableSelBoxes () |
bool | GotoFootnoteText () |
jump from content to footnote More... | |
bool | GotoFootnoteAnchor () |
jump from footnote to anchor More... | |
bool | GotoPrevFootnoteAnchor () |
bool | GotoNextFootnoteAnchor () |
void | GotoFlyAnchor () |
jump from the frame to the anchor More... | |
bool | GotoHeaderText () |
jump from the content to the header More... | |
bool | GotoFooterText () |
jump from the content to the footer More... | |
bool | SetCursorInHdFt (size_t nDescNo, bool bInHeader, bool bEven=false, bool bFirst=false) |
bool | IsInHeaderFooter (bool *pbInHeader=nullptr) const |
bool | GotoNextTOXBase (const OUString *=nullptr) |
jump to the next index More... | |
bool | GotoPrevTOXBase (const OUString *=nullptr) |
jump to previous index More... | |
void | GotoTOXMarkBase () |
jump to index of TOXMark More... | |
bool | GotoNxtPrvTOXMark (bool bNext=true) |
jump to next/previous index marker More... | |
const SwTOXMark & | GotoTOXMark (const SwTOXMark &rStart, SwTOXSearch eDir) |
traveling between marks More... | |
bool | GotoNxtPrvTableFormula (bool bNext=true, bool bOnlyErrors=false) |
Jump to next/previous table formula Optionally it is possible to also jump to broken formulas. More... | |
bool | SelectNxtPrvHyperlink (bool bNext) |
bool | GotoRefMark (const OUString &rRefMark, sal_uInt16 nSubType, sal_uInt16 nSeqNo) |
jump to reference marker More... | |
sal_Unicode | GetChar (bool bEnd=true, tools::Long nOffset=0) |
get the nth character of the current SSelection More... | |
bool | ExtendSelection (bool bEnd=true, sal_Int32 nCount=1) |
extend current SSelection by n characters More... | |
bool | SetVisibleCursor (const Point &rPt) |
Move visible cursor to given position in document. More... | |
void | UnSetVisibleCursor () |
SwVisibleCursor * | GetVisibleCursor () const |
bool | MoveFieldType (const SwFieldType *pFieldType, const bool bNext, const SwFieldIds nResType=SwFieldIds::Unknown, const bool bAddSetExpressionFieldsToInputFields=true) |
bool | GotoFormatField (const SwFormatField &rField) |
bool | GotoFormatContentControl (const SwFormatContentControl &rContentControl) |
void | GotoFormControl (bool bNext) |
Go to the next (or previous) form control, based first on tabIndex and then paragraph position, where a tabIndex of 1 is first, 0 is last, and -1 is excluded. More... | |
SwField * | GetCurField (const bool bIncludeInputFieldAtStart=false) const |
bool | CursorInsideInputField () const |
SwTextContentControl * | CursorInsideContentControl () const |
bool | DocPtInsideInputField (const Point &rDocPt) const |
sal_uInt16 | GetCursorCnt (bool bAll=true) const |
Get the number of elements in the ring of cursors. More... | |
bool | GoStartWord () |
bool | GoEndWord () |
bool | GoNextWord () |
bool | GoPrevWord () |
bool | GoNextSentence () |
bool | GoStartSentence () |
bool | GoEndSentence () |
bool | SelectWord (const Point *pPt) |
void | ExpandToSentenceBorders () |
bool | IsStartWord (sal_Int16 nWordType=css::i18n::WordType::ANYWORD_IGNOREWHITESPACES) const |
bool | IsEndWord (sal_Int16 nWordType=css::i18n::WordType::ANYWORD_IGNOREWHITESPACES) const |
bool | IsInWord (sal_Int16 nWordType=css::i18n::WordType::ANYWORD_IGNOREWHITESPACES) const |
bool | IsStartSentence () const |
bool | IsEndSentence () const |
bool | IsSttPara () const |
bool | IsEndPara () const |
bool | IsEndOfTable () const |
at the very last SwPosition inside a table More... | |
bool | IsStartOfDoc () const |
bool | IsEndOfDoc () const |
bool | IsInFrontOfLabel () const |
bool | IsAtLeftMargin () const |
bool | IsAtRightMargin () const |
bool | ParkTableCursor () |
Invalidate cursors. More... | |
bool | IsGCAttr () const |
void | ClearGCAttr () |
void | UpdateAttr () |
bool | IsAllProtect () const |
bool | GotoRegion (std::u16string_view rName) |
virtual void | MakeSelVisible () |
show the current selected "object" More... | |
bool | FindValidContentNode (bool bOnlyText) |
search a valid content position (not protected/hidden) More... | |
bool | GetContentAtPos (const Point &rPt, SwContentAtPos &rContentAtPos, bool bSetCursor=false, SwRect *pFieldRect=nullptr) |
const SwPostItField * | GetPostItFieldAtCursor () const |
void | GetSmartTagRect (const Point &rPt, SwRect &rSelectRect) |
void | GetSmartTagTerm (std::vector< OUString > &rSmartTagTypes, css::uno::Sequence< css::uno::Reference< css::container::XStringKeyMap > > &rStringKeyMaps, css::uno::Reference< css::text::XTextRange > &rRange) const |
bool | IsPageAtPos (const Point &rPt) const |
bool | SelectTextAttr (sal_uInt16 nWhich, bool bExpand, const SwTextAttr *pAttr=nullptr) |
bool | GotoINetAttr (const SwTextINetFormat &rAttr) |
const SwFormatINetFormat * | FindINetAttr (std::u16string_view rName) const |
bool | SelectTextModel (sal_Int32 nStart, sal_Int32 nEnd) |
bool | CheckTableBoxContent (const SwPosition *pPos=nullptr) |
void | SaveTableBoxContent (const SwPosition *pPos=nullptr) |
void | ClearTableBoxContent () |
bool | EndAllTableBoxEdit () |
void | SetSelTableCells (bool bFlag) |
bool | IsSelTableCells () const |
void | UnsetEnhancedTableSelection () |
SwTable::SearchType | GetEnhancedTableSelection () const |
bool | IsAutoUpdateCells () const |
void | SetAutoUpdateCells (bool bFlag) |
bool | GetShadowCursorPos (const Point &rPt, SwFillMode eFillMode, SwRect &rRect, sal_Int16 &rOrient) |
bool | SetShadowCursorPos (const Point &rPt, SwFillMode eFillMode) |
const SwRangeRedline * | SelNextRedline () |
const SwRangeRedline * | SelPrevRedline () |
const SwRangeRedline * | GotoRedline (SwRedlineTable::size_type nArrPos, bool bSelect) |
bool | GotoFootnoteAnchor (const SwTextFootnote &rTextFootnote) |
SAL_DLLPRIVATE SvxFrameDirection | GetTextDirection (const Point *pPt=nullptr) const |
bool | IsInVerticalText (const Point *pPt=nullptr) const |
bool | IsInRightToLeftText () const |
bool | bColumnChange () |
bool | IsInHiddenRange (const bool bSelect) |
If the current cursor position is inside a hidden range true is returned. More... | |
void | ClearUpCursors () |
void | SetMacroExecAllowed (const bool _bMacroExecAllowed) |
bool | IsMacroExecAllowed () const |
OUString | GetCursorDescr () const |
Returns textual description of the current selection. More... | |
virtual void | dumpAsXml (xmlTextWriterPtr pWriter) const override |
OUString | getPageRectangles () |
Implementation of lok::Document::getPartPageRectangles() for Writer. More... | |
void | NotifyCursor (SfxViewShell *pViewShell) const |
See SwView::NotifyCursor(). More... | |
Public Member Functions inherited from SwViewShell | |
SwViewShellImp * | Imp () |
const SwViewShellImp * | Imp () const |
const SwNodes & | GetNodes () const |
void | InitPrt (OutputDevice *pOutDev) |
void | StartAction () |
void | ImplStartAction () |
void | EndAction (const bool bIdleEnd=false) |
void | ImplEndAction (const bool bIdleEnd) |
sal_uInt16 | ActionCount () const |
bool | ActionPend () const |
bool | IsInEndAction () const |
void | SetRestoreActions (sal_uInt16 nSet) |
sal_uInt16 | GetRestoreActions () const |
bool | HasInvalidRect () const |
void | ChgHyphenation () |
void | ChgNumberDigits () |
bool | AddPaintRect (const SwRect &rRect) |
void | InvalidateWindows (const SwRect &rRect) |
void | FlushPendingLOKInvalidateTiles () |
void | Reformat () |
Invalidates complete Layout (ApplyViewOption). More... | |
void | PrePaint () |
void | DLPrePaint2 (const vcl::Region &rRegion) |
void | DLPostPaint2 (bool bPaintFormLayer) |
const MapMode & | getPrePostMapMode () const |
virtual void | Paint (vcl::RenderContext &rRenderContext, const tools::Rectangle &rRect) |
void | PaintTile (VirtualDevice &rDevice, int contextWidth, int contextHeight, int tilePosX, int tilePosY, tools::Long tileWidth, tools::Long tileHeight) |
Paint tile. More... | |
bool | IsPaintInProgress () const |
bool | IsDrawingLayerPaintInProgress () const |
virtual void | VisPortChgd (const SwRect &) |
bool | SmoothScroll (tools::Long lXDiff, tools::Long lYDiff, const tools::Rectangle *) |
void | EnableSmooth (bool b) |
const SwRect & | VisArea () const |
const tools::Rectangle & | getLOKVisibleArea () const |
The visible area in the client (set by setClientVisibleArea). More... | |
void | setLOKVisibleArea (const tools::Rectangle &rArea) |
void | MakeVisible (const SwRect &) |
void | SizeChgNotify () |
void | UISizeNotify () |
Point | GetPagePos (sal_uInt16 nPageNum) const |
sal_uInt16 | GetNumPages () const |
bool | IsDummyPage (sal_uInt16 nPageNum) const |
void | SetFirstVisPageInvalid () |
SwRootFrame * | GetLayout () const |
bool | IsNewLayout () const |
Size | GetDocSize () const |
virtual void | CalcLayout () |
sal_uInt16 | GetPageCount () const |
Size | GetPageSize (sal_uInt16 nPageNum, bool bSkipEmptyPages) const |
SwDoc * | GetDoc () const |
const IDocumentSettingAccess & | getIDocumentSettingAccess () const |
Provides access to the document setting interface. More... | |
IDocumentSettingAccess & | getIDocumentSettingAccess () |
const IDocumentDeviceAccess & | getIDocumentDeviceAccess () const |
Provides access to the document device interface. More... | |
IDocumentDeviceAccess & | getIDocumentDeviceAccess () |
const IDocumentMarkAccess * | getIDocumentMarkAccess () const |
Provides access to the document bookmark interface. More... | |
IDocumentMarkAccess * | getIDocumentMarkAccess () |
const IDocumentDrawModelAccess & | getIDocumentDrawModelAccess () const |
Provides access to the document draw model interface. More... | |
IDocumentDrawModelAccess & | getIDocumentDrawModelAccess () |
const IDocumentRedlineAccess & | getIDocumentRedlineAccess () const |
Provides access to the document redline interface. More... | |
IDocumentRedlineAccess & | getIDocumentRedlineAccess () |
const IDocumentLayoutAccess & | getIDocumentLayoutAccess () const |
Provides access to the document layout interface. More... | |
IDocumentLayoutAccess & | getIDocumentLayoutAccess () |
IDocumentContentOperations & | getIDocumentContentOperations () |
Provides access to the content operations interface. More... | |
IDocumentStylePoolAccess & | getIDocumentStylePoolAccess () |
Provides access to the document style pool interface. More... | |
const IDocumentStatistics & | getIDocumentStatistics () const |
Provides access to the document statistics interface. More... | |
IDocumentUndoRedo const & | GetIDocumentUndoRedo () const |
Provides access to the document undo/redo interface. More... | |
IDocumentUndoRedo & | GetIDocumentUndoRedo () |
const IDocumentListItems * | getIDocumentListItemsAccess () const |
const IDocumentOutlineNodes * | getIDocumentOutlineNodesAccess () const |
vcl::RenderContext & | GetRefDev () const |
vcl::Window * | GetWin () const |
vcl::RenderContext * | GetOut () const |
void | SetWin (vcl::Window *win) |
void | SetOut (vcl::RenderContext *pOut) |
void | ChgAllPageOrientation (Orientation eOri) |
void | ChgAllPageSize (Size const &rSz) |
bool | PrintOrPDFExport (OutputDevice *pOutDev, SwPrintData const &rPrintData, sal_Int32 nRenderer, bool bIsPDFExport) |
void | PrintProspect (OutputDevice *pOutDev, const SwPrintData &rPrintData, sal_Int32 nRenderer) |
print brochure More... | |
void | FillPrtDoc (SwDoc &rPrtDoc, const SfxPrinter *pPrt) |
void | CalcPagesForPrint (sal_uInt16 nMax) |
void | UpdateFields (bool bCloseDB=false) |
Forces update of each field. More... | |
bool | IsAnyFieldInDoc () const |
Check if the DocNodesArray contains fields. More... | |
void | UpdateOleObjectPreviews () |
Update the previews of all OLE objects. More... | |
void | UpdateAllCharts () |
update all charts for which any table exists More... | |
bool | HasCharts () const |
void | SetParaSpaceMax (bool bNew) |
void | SetParaSpaceMaxAtPages (bool bNew) |
void | SetTabCompat (bool bNew) |
void | SetAddExtLeading (bool bNew) |
void | SetAddParaSpacingToTableCells (bool _bAddParaSpacingToTableCells) |
Sets if paragraph and table spacing is added at bottom of table cells. More... | |
void | SetUseFormerLineSpacing (bool _bUseFormerLineSpacing) |
Sets if former formatting of text lines with proportional line spacing should used. More... | |
void | SetUseFormerObjectPositioning (bool _bUseFormerObjPos) |
Sets IDocumentSettingAccess if former object positioning should be used. More... | |
void | SetConsiderWrapOnObjPos (bool _bConsiderWrapOnObjPos) |
void | SetUseFormerTextWrapping (bool _bUseFormerTextWrapping) |
void | SetDoNotJustifyLinesWithManualBreak (bool _bDoNotJustifyLinesWithManualBreak) |
void | SetProtectForm (bool _bProtectForm) |
void | SetMsWordCompTrailingBlanks (bool _bMsWordCompTrailingBlanks) |
void | SetSubtractFlysAnchoredAtFlys (bool bSubtractFlysAnchoredAtFlys) |
void | SetEmptyDbFieldHidesPara (bool bEmptyDbFieldHidesPara) |
void | LayoutIdle () |
const SwViewOption * | GetViewOptions () const |
virtual void | ApplyViewOptions (const SwViewOption &rOpt) |
void | SetUIOptions (const SwViewOption &rOpt) |
virtual void | SetReadonlyOption (bool bSet) |
void | SetPDFExportOption (bool bSet) |
void | SetPrtFormatOption (bool bSet) |
void | SetReadonlySelectionOption (bool bSet) |
const SwAccessibilityOptions * | GetAccessibilityOptions () const |
SfxViewShell * | GetSfxViewShell () const |
void | SetSfxViewShell (SfxViewShell *pNew) |
virtual void | DrawSelChanged () |
SwPagePreviewLayout * | PagePreviewLayout () |
void | AdjustOptionsForPagePreview (SwPrintData const &rPrintOptions) |
adjust view options for page preview More... | |
bool | IsViewLocked () const |
void | LockView (bool b) |
void | LockPaint (LockPaintReason eReason) |
void | ImplLockPaint () |
void | UnlockPaint (bool bVirDev=false) |
void | ImplUnlockPaint (std::vector< LockPaintReason > &rReasons, bool bVirDev) |
bool | IsPaintLocked () const |
bool | HasDrawView () const |
void | MakeDrawView () |
bool | HasDrawViewDrag () const |
SdrView * | GetDrawView () |
const SdrView * | GetDrawView () const |
SdrView * | GetDrawViewWithValidMarkList () |
const SfxItemPool & | GetAttrPool () const |
SfxItemPool & | GetAttrPool () |
bool | IsPreview () const |
void | InvalidateLayout (bool bSizeChanged) |
const Size & | GetBrowseBorder () const |
sal_Int32 | GetBrowseWidth () const |
void | SetBrowseBorder (const Size &rNew) |
css::uno::Reference< css::accessibility::XAccessible > | CreateAccessible () |
css::uno::Reference< css::accessibility::XAccessible > | CreateAccessiblePreview () |
void | ShowPreviewSelection (sal_uInt16 nSelPage) |
void | InvalidateAccessibleFocus () |
void | ApplyAccessibilityOptions () |
void | InvalidateAccessibleParaFlowRelation (const SwTextFrame *_pFromTextFrame, const SwTextFrame *_pToTextFrame) |
invalidate CONTENT_FLOWS_FROM/_TO relation for paragraphs More... | |
void | InvalidateAccessibleParaTextSelection () |
invalidate text selection for paragraphs More... | |
void | InvalidateAccessibleParaAttrs (const SwTextFrame &rTextFrame) |
invalidate attributes for paragraphs and paragraph's characters More... | |
SwAccessibleMap * | GetAccessibleMap () |
SwViewShell (SwViewShell &, vcl::Window *pWin, OutputDevice *pOut=nullptr, tools::Long nFlags=0) | |
CTor for further Shells on a document. More... | |
SwViewShell (SwDoc &rDoc, vcl::Window *pWin, const SwViewOption *pOpt, OutputDevice *pOut=nullptr, tools::Long nFlags=0) | |
CTor for the first Shell. More... | |
virtual | ~SwViewShell () override |
sal_Int32 | GetPageNumAndSetOffsetForPDF (OutputDevice &rOut, const SwRect &rRect) const |
bool | IsInConstructor () const |
const BitmapEx & | GetReplacementBitmap (bool bIsErrorState) |
void | DeleteReplacementBitmaps () |
const SwPostItMgr * | GetPostItMgr () const |
SwPostItMgr * | GetPostItMgr () |
void | ToggleHeaderFooterEdit () |
Acts both for headers / footers, depending on the bShow(Header|Footer)Separator flags. More... | |
bool | IsHeaderFooterEdit () const |
Acts both for headers / footers, depending on the bShow(Header|Footer)Separator flags. More... | |
bool | IsShowHeaderFooterSeparator (FrameControlType eControl) |
virtual void | SetShowHeaderFooterSeparator (FrameControlType eControl, bool bShow) |
bool | IsSelectAll () const |
void | setOutputToWindow (bool bOutputToWindow) |
bool | isOutputToWindow () const |
void | OnGraphicArrived (const SwRect &) |
void | GetFirstLastVisPageNumbers (SwVisiblePageNumbers &rVisiblePageNumbers) |
virtual void | dumpAsXml (xmlTextWriterPtr pWriter) const |
Public Member Functions inherited from sw::Ring< SwViewShell > | |
virtual | ~Ring () COVERITY_NOEXCEPT_FALSE |
void | unlink () |
algo::unlink is buggy! don't call it directly! More... | |
void | MoveTo (SwViewShell *pDestRing) |
Removes this item from its current ring container and adds it to another ring container. More... | |
ring_container | GetRingContainer () |
const_ring_container | GetRingContainer () const |
Public Member Functions inherited from sw::IShellCursorSupplier | |
virtual | ~IShellCursorSupplier () |
virtual SwCursor & | CreateNewShellCursor ()=0 |
virtual SwCursor & | GetCurrentShellCursor ()=0 |
Private Types | |
enum | PageMove { MV_NO , MV_PAGE_UP , MV_PAGE_DOWN } |
enum | BookMarkMove { BOOKMARK_INDEX , BOOKMARK_NEXT , BOOKMARK_PREV } |
typedef tools::Long(SwWrtShell::* | SELECTFUNC) (const Point *, bool bProp) |
typedef void(SwWrtShell::* | SELECTFUNC2) (const Point *, bool bProp) |
Private Member Functions | |
SAL_DLLPRIVATE void | OpenMark () |
SAL_DLLPRIVATE void | CloseMark (bool bOkFlag) |
bool | HasCursorStack () const |
SAL_DLLPRIVATE bool | PushCursor (SwTwips lOffset, bool bSelect) |
SAL_DLLPRIVATE bool | PopCursor (bool bUpdate, bool bSelect=false) |
SAL_DLLPRIVATE void | SttWrd () |
SAL_DLLPRIVATE void | EndWrd () |
SAL_DLLPRIVATE bool | NxtWrd_ () |
SAL_DLLPRIVATE bool | PrvWrd_ () |
SAL_DLLPRIVATE bool | NxtWrdForDelete () |
SAL_DLLPRIVATE bool | PrvWrdForDelete () |
SAL_DLLPRIVATE bool | FwdSentence_ () |
SAL_DLLPRIVATE bool | BwdSentence_ () |
bool | FwdPara_ () |
SAL_DLLPRIVATE bool | BwdPara_ () |
SAL_DLLPRIVATE void | ResetCursorStack_ () |
SAL_DLLPRIVATE tools::Long | SetCursor (const Point *, bool bProp=false) |
SAL_DLLPRIVATE tools::Long | SetCursorKillSel (const Point *, bool bProp) |
SAL_DLLPRIVATE void | BeginDrag (const Point *, bool bProp) |
SAL_DLLPRIVATE void | DefaultDrag (const Point *, bool bProp) |
SAL_DLLPRIVATE void | DefaultEndDrag (const Point *, bool bProp) |
SAL_DLLPRIVATE void | ExtSelWrd (const Point *, bool bProp) |
SAL_DLLPRIVATE void | ExtSelLn (const Point *, bool bProp) |
SAL_DLLPRIVATE void | BeginFrameDrag (const Point *, bool bProp) |
SAL_DLLPRIVATE void | UpdateLayoutFrame (const Point *, bool bProp) |
SAL_DLLPRIVATE void | SttLeaveSelect () |
SAL_DLLPRIVATE void | AddLeaveSelect () |
SAL_DLLPRIVATE tools::Long | Ignore (const Point *, bool bProp) |
SAL_DLLPRIVATE void | LeaveExtSel () |
SAL_DLLPRIVATE bool | GoStart (bool KeepArea, bool *, bool bSelect, bool bDontMoveRegion=false) |
SAL_DLLPRIVATE bool | GoEnd (bool KeepArea=false, const bool *=nullptr) |
SAL_DLLPRIVATE bool | MoveBookMark (BookMarkMove eFuncId, const ::sw::mark::IMark *const pMark=nullptr) |
bool | Left (sal_uInt16 nCnt, SwCursorSkipMode nMode, bool bAllowVisual=false) |
bool | Right (sal_uInt16 nCnt, SwCursorSkipMode nMode, bool bAllowVisual=false) |
bool | Up (sal_uInt16 nCnt=1) |
bool | Down (sal_uInt16 nCnt=1) |
bool | LeftMargin () |
bool | RightMargin (bool bAPI=false) |
bool | SelectTextAttr (sal_uInt16 nWhich, bool bExpand, const SwTextAttr *pAttr=nullptr) |
bool | GotoPage (sal_uInt16 nPage) |
SwFlyFrameFormat * | InsertObject (const svt::EmbeddedObjectRef &, SfxItemSet *pFlyAttrSet) |
void | AutoCorrect (SvxAutoCorrect &rACorr, bool bInsertMode, sal_Unicode cChar) |
Call AutoCorrect. More... | |
bool | GotoMark (const ::sw::mark::IMark *const pMark) |
bool | GotoMark (const ::sw::mark::IMark *const pMark, bool bAtStart) |
int | SetCursor (const Point &rPt, bool bOnlyText=false, bool bBlock=true) |
Private Attributes | |
SELECTFUNC2 | m_fnDrag = &SwWrtShell::BeginDrag |
SELECTFUNC | m_fnSetCursor = &SwWrtShell::SetCursor |
SELECTFUNC2 | m_fnEndDrag = &SwWrtShell::DefaultEndDrag |
SELECTFUNC | m_fnKillSel = &SwWrtShell::Ignore |
struct SwWrtShell::ModeStack * | m_pModeStack = nullptr |
enum SwWrtShell::PageMove | m_ePageMove = MV_NO |
std::unique_ptr< CursorStack > | m_pCursorStack |
SwView & | m_rView |
SwNavigationMgr | m_aNavigationMgr |
Point | m_aDest |
bool | m_bDestOnStack = false |
bool | m_bIns:1 |
bool | m_bInSelect:1 |
bool | m_bExtMode:1 |
bool | m_bAddMode:1 |
bool | m_bBlockMode:1 |
bool | m_bLayoutMode:1 |
bool | m_bSelWrd:1 |
bool | m_bSelLn:1 |
bool | m_bIsInClickToEdit:1 |
bool | m_bClearMark:1 |
bool | m_bRetainSelection:1 |
Point | m_aStart |
Link< SwWrtShell &, void > | m_aSelTableLink |
Additional Inherited Members | |
Static Public Member Functions inherited from SwFEShell | |
static ObjCntType | GetObjCntType (const SdrObject &rObj) |
static SfxItemSetFixed< RES_VERT_ORIENT, RES_ANCHOR > | makeItemSetFromFormatAnchor (SfxItemPool &rPool, const SwFormatAnchor &rAnchor) |
static bool | IsVerticalModeAtNdAndPos (const SwTextNode &_rTextNode, const Point &_rDocPos) |
static void | SetLineEnds (SfxItemSet &rAttr, SdrObject const &rObj, sal_uInt16 nSlotId) |
Static Public Member Functions inherited from SwEditShell | |
static bool | IsTOXBaseReadonly (const SwTOXBase &rTOXBase) |
static void | InsertSoftHyph (const sal_Int32 nHyphPos) |
For Inserting SoftHyphen. Position is offset within the syllabificated word. More... | |
static void | PutSpellingToSentenceStart () |
Make SpellIter start with the current sentence when called next time. More... | |
static void | MoveContinuationPosToEndOfCheckedSentence () |
Moves the continuation position to the end of the currently checked sentence. More... | |
static bool | HasLastSentenceGotGrammarChecked () |
Check SwSpellIter data to see if the last sentence got grammar checked. More... | |
static bool | HasConvIter () |
Is text conversion active somewhere else? More... | |
static bool | HasHyphIter () |
Is hyphenation active somewhere else? More... | |
static void | IgnoreGrammarErrorAt (SwPaM &rErrorPosition) |
static SvxSwAutoFormatFlags * | GetAutoFormatFlags () |
static void | SetAutoFormatFlags (SvxSwAutoFormatFlags const *) |
static SwAutoCompleteWord & | GetAutoCompleteWords () |
Interface for access to AutoComplete-list. More... | |
Static Public Member Functions inherited from SwCursorShell | |
static SwTextField * | GetTextFieldAtPos (const SwPosition *pPos, ::sw::GetTextAttrMode eMode) |
static SwTextField * | GetTextFieldAtCursor (const SwPaM *pCursor, ::sw::GetTextAttrMode eMode) |
static SwField * | GetFieldAtCursor (const SwPaM *pCursor, const bool bIncludeInputFieldAtStart) |
static bool | PosInsideInputField (const SwPosition &rPos) |
static sal_Int32 | StartOfInputFieldAtPos (const SwPosition &rPos) |
static sal_Int32 | EndOfInputFieldAtPos (const SwPosition &rPos) |
static void | FirePageChangeEvent (sal_uInt16 nOldPage, sal_uInt16 nNewPage) |
static void | FireSectionChangeEvent (sal_uInt16 nOldSection, sal_uInt16 nNewSection) |
static void | FireColumnChangeEvent (sal_uInt16 nOldColumn, sal_uInt16 nNewColumn) |
Static Public Member Functions inherited from SwViewShell | |
static bool | IsLstEndAction () |
static void | PrtOle2 (SwDoc *pDoc, const SwViewOption *pOpt, const SwPrintData &rOptions, vcl::RenderContext &rRenderContext, const tools::Rectangle &rRect, bool bOutputForScreen) |
static void | SetShellRes (ShellResource *pRes) |
static ShellResource * | GetShellRes () |
static weld::Window * | CareChildWin (SwViewShell const &rVSh) |
static void | SetCareDialog (const std::shared_ptr< weld::Window > &rNew) |
static weld::Window * | GetCareDialog (SwViewShell const &rVSh) |
Protected Member Functions inherited from SwCursorShell | |
SwMoveFnCollection const & | MakeFindRange (SwDocPositions, SwDocPositions, SwPaM *) const |
int | CompareCursorStackMkCurrPt () const |
bool | SelTableRowOrCol (bool bRow, bool bRowSimple=false) |
bool | SetInFrontOfLabel (bool bNew) |
void | RefreshBlockCursor () |
SAL_DLLPRIVATE void | UpdateMarkedListLevel () |
Updates the marked list level according to the cursor. More... | |
virtual void | SwClientNotify (const SwModify &, const SfxHint &) override |
forward all attribute/format changes at the current node to the Link More... | |
Protected Member Functions inherited from sw::Ring< SwViewShell > | |
Ring () | |
Creates a new item in a ring container all by itself. More... | |
Ring (SwViewShell *pRing) | |
Creates a new item and add it to an existing ring container. More... | |
SwViewShell * | GetNextInRing () |
const_value_type * | GetNextInRing () const |
SwViewShell * | GetPrevInRing () |
const_value_type * | GetPrevInRing () const |
bool | unique () const |
Protected Attributes inherited from SwViewShell | |
SwRect | maVisArea |
The modern version of VisArea. More... | |
tools::Rectangle | maLOKVisibleArea |
The visible area in the LibreOfficeKit client. More... | |
rtl::Reference< SwDoc > | mxDoc |
The document; never 0. More... | |
sal_uInt16 | mnStartAction |
!= 0 if at least one Action is active. More... | |
sal_uInt16 | mnLockPaint |
!= 0 if Paint is locked. More... | |
std::vector< LockPaintReason > | maLockPaintReasons |
bool | mbSelectAll |
Special select all mode: whole document selected, even if doc starts with table. More... | |
bool | mbOutputToWindow |
The virtual device we paint to will end up on the screen. More... | |
std::stack< vcl::Region > | mPrePostPaintRegions |
VclPtr< OutputDevice > | mpPrePostOutDev |
MapMode | maPrePostMapMode |
Static Protected Attributes inherited from SwViewShell | |
static ShellResource * | spShellRes = nullptr |
Resources for the Shell. More... | |
static vcl::DeleteOnDeinit< std::shared_ptr< weld::Window > > | spCareDialog {} |
Avoid this window. More... | |
Used by the UI to modify the document model.
Eg. the Insert() method will take the current cursor position, insert the string, and take care of undo etc.
|
private |
|
private |
|
private |
enum SwWrtShell::DoType |
|
strong |
enum SwWrtShell::GetStyle |
|
private |
enum SwWrtShell::word |
SwWrtShell::SwWrtShell | ( | SwWrtShell & | rSh, |
vcl::Window * | pWin, | ||
SwView & | rShell | ||
) |
Definition at line 1995 of file wrtsh1.cxx.
References BITFLD_INI_LIST, SwCursorShell::GetFieldmarkAfter(), GotoFieldmark(), SwCursorShell::IsFormProtected(), LINK, SwCursorShell::SetFlyMacroLnk(), and SwViewShell::SetSfxViewShell().
SwWrtShell::SwWrtShell | ( | SwDoc & | rDoc, |
vcl::Window * | pWin, | ||
SwView & | rShell, | ||
const SwViewOption * | pViewOpt | ||
) |
Definition at line 2013 of file wrtsh1.cxx.
References BITFLD_INI_LIST, SwCursorShell::GetFieldmarkAfter(), GotoFieldmark(), SwCursorShell::IsFormProtected(), LINK, SwCursorShell::SetFlyMacroLnk(), and SwViewShell::SetSfxViewShell().
|
overridevirtual |
Definition at line 2031 of file wrtsh1.cxx.
References SwTransferable::ClearSelection(), IsModePushed(), PopCursor(), and PopMode().
void SwWrtShell::addCurrentPosition | ( | ) |
Definition at line 1869 of file wrtsh1.cxx.
References SwNavigationMgr::addEntry(), SwCursorShell::GetCursor(), SwPaM::GetPoint(), and m_aNavigationMgr.
Referenced by ChangeHeaderOrFooter(), ClickToField(), ClickToINetAttr(), SwTextShell::ExecMove(), SwTextShell::ExecMoveCol(), SwTextShell::ExecMoveLingu(), SwTextShell::ExecMoveMisc(), SwTextShell::ExecMovePage(), SwView::ExecSearch(), GotoOutline(), GotoPage(), IMPL_LINK(), SwEditWin::MouseButtonDown(), and MoveBookMark().
|
private |
Definition at line 626 of file select.cxx.
References SwCursorShell::CreateCursor(), SwCursorShell::HasSelection(), SwCursorShell::IsTableMode(), and LeaveAddMode().
Referenced by EndSelect().
|
overridevirtual |
Apply ViewOptions with Start-/EndAction.
Reimplemented from SwEditShell.
Definition at line 2122 of file wrtsh1.cxx.
References SwEditShell::ApplyViewOptions(), FN_VIEW_META_CHARS, SfxViewFrame::GetBindings(), GetView(), SfxViewShell::GetViewFrame(), and SfxBindings::Invalidate().
Referenced by SwXViewSettings::_setSingleValue(), SwBaseShell::Execute(), SwReadOnlyPopup::Execute(), SwView::ExecViewOptions(), SwEditWin::MouseButtonDown(), and SwXTextView::setPropertyValue().
|
private |
void SwWrtShell::AutoCorrect | ( | SvxAutoCorrect & | rACorr, |
sal_Unicode | cChar | ||
) |
Definition at line 1955 of file wrtsh1.cxx.
References SwRewriter::AddRule(), SwEditShell::AutoCorrect(), CanInsert(), DelRight(), SwEditShell::EndAllAction(), SwEditShell::EndUndo(), SwCursorShell::GetSelText(), HasSelection(), IsInsMode(), REPLACE, ResetCursorStack(), SwEditShell::StartAllAction(), SwEditShell::StartUndo(), SwResId(), UndoArg1, UndoArg2, and UndoArg3.
Referenced by SwEditWin::Command(), SwTextShell::ExecInsert(), SwTextShell::Execute(), InsertLineBreak(), and SwEditWin::KeyInput().
void SwWrtShell::AutoUpdateFrame | ( | SwFrameFormat * | pFormat, |
const SfxItemSet & | rStyleSet | ||
) |
Definition at line 1945 of file wrtsh1.cxx.
References SwCursorShell::EndAction(), SwFEShell::ResetFlyFrameAttr(), SwFormat::SetFormatAttr(), and SwCursorShell::StartAction().
Referenced by SwBaseShell::ExecBckCol(), SwFrameShell::ExecFrameStyle(), SwFrameShell::Execute(), and SwDrawBase::MouseButtonUp().
void SwWrtShell::AutoUpdatePara | ( | SwTextFormatColl * | pColl, |
const SfxItemSet & | rStyleSet, | ||
SwPaM * | pPaM = nullptr |
||
) |
Definition at line 1908 of file wrtsh1.cxx.
References SfxItemIter::ClearItem(), DEFAULT, SwCursorShell::EndAction(), SwViewShell::GetAttrPool(), SfxItemIter::GetCurItem(), SwCursorShell::GetCursor(), SfxItemIter::GetItemState(), SfxItemSet::GetItemState(), SwEditShell::GetPaMAttr(), IsInvalidItem(), SwViewShell::mxDoc, SfxItemIter::NextItem(), RES_CHRATR_BEGIN(), RES_CHRATR_END(), RES_FRMATR_BEGIN(), RES_FRMATR_END(), RES_PARATR_BEGIN(), RES_PARATR_END(), SwEditShell::ResetAttr(), SwEditShell::SetAttrSet(), and SwCursorShell::StartAction().
Referenced by SwBaseShell::ExecBckCol(), SwTextShell::ExecParaAttr(), SwView::ExecTabWin(), SwBaseShell::ExecTextCtrl(), sw_CharDialogResult(), and sw_ParagraphDialogResult().
|
private |
Definition at line 787 of file select.cxx.
References DefaultDrag(), ExtSelLn(), ExtSelWrd(), Ignore(), SwCursorShell::IsCursorPtAtEnd(), m_bInSelect, m_bSelLn, m_bSelWrd, m_fnDrag, m_fnSetCursor, SttSelect(), and SwCursorShell::SwapPam().
Referenced by DefaultEndDrag(), Is_FnDragEQBeginDrag(), and LeaveSelFrameMode().
|
private |
Definition at line 699 of file select.cxx.
References SwFEShell::BeginDrag(), bStartDrag, SwFEShell::Drag(), m_fnDrag, nStartDragX, and nStartDragY.
Referenced by EnterSelFrameMode(), and UpdateLayoutFrame().
void SwWrtShell::BulletOn | ( | ) |
Definition at line 1718 of file wrtsh1.cxx.
References NumOrBulletOn().
Referenced by SwTextShell::ExecEnterNum().
|
inline |
Definition at line 236 of file wrtsh.hxx.
References BwdPara_().
Referenced by SwTextShell::ExecMoveLingu().
|
private |
Definition at line 221 of file wrtsh4.cxx.
References SwCursorShell::ClearMark(), SwCursorShell::Combine(), fnParaStart, GoPrevPara(), IsSttOfPara(), SwCursorShell::MovePara(), SwCursorShell::Push(), and SttPara().
Referenced by BwdPara().
|
inline |
Definition at line 240 of file wrtsh.hxx.
References BwdSentence_().
Referenced by SwTextShell::ExecMoveLingu().
|
private |
Definition at line 193 of file wrtsh4.cxx.
References Chars, SwCursorShell::ClearMark(), SwCursorShell::Combine(), SwCursorShell::DeleteCurrent, fnParaStart, GoCurrPara(), SwCursorShell::GoStartSentence(), SwCursorShell::IsSttPara(), SwCursorShell::Left(), SwCursorShell::MovePara(), Pop(), and SwCursorShell::Push().
Referenced by BwdSentence(), and DelToStartOfSentence().
|
overridevirtual |
Client for OleObject has to be up-to-date regarding scaling.
Implemented in WrtShell. If a pointer is passed on a size, this is the object's current core-size. Else the size is provided via GetCurFlyRect().
Implements SwFEShell.
Definition at line 717 of file wrtsh1.cxx.
References SfxObjectShell::EnableSetModified(), SfxViewShell::FindIPClient(), FlyEmbedded, FlyEmbeddedPrt, SwSelPaintRects::Get1PixelInLogic(), SwFEShell::GetAnyCurRect(), SwViewShell::GetDoc(), SwDoc::GetDocShell(), SwFEShell::GetFlyFrameFormat(), SwFlyFrameFormat::GetLastFlyFramePrtRectPos(), svt::EmbeddedObjectRef::GetObject(), SfxInPlaceClient::GetScaleHeight(), SfxInPlaceClient::GetScaleWidth(), GetView(), svt::EmbeddedObjectRef::GetViewAspect(), Size::Height(), SwRect::Height(), svt::EmbeddedObjectRef::is(), SotExchange::IsChart(), SwRect::IsEmpty(), OutputDevice::LogicToLogic(), SwRect::Pos(), SwFEShell::RequestObjectResize(), SfxInPlaceClient::SetObjAreaAndScale(), SwRect::SSize(), SwRect::SVRect(), VCLUnoHelper::UnoEmbed2VCLMapUnit(), svt::EmbeddedObjectRef::UpdateReplacement(), Size::Width(), and SwRect::Width().
Referenced by ConnectObj(), SwTableFUNC::InsertChart(), InsertObject(), and LaunchOLEObj().
sal_uInt16 SwWrtShell::CallEvent | ( | SvMacroItemId | nEvent, |
const SwCallMouseEvent & | rCallEvent, | ||
bool | bCheckPtr = false |
||
) |
Definition at line 328 of file wrtsh3.cxx.
References SwDoc::CallEvent(), and SwViewShell::GetDoc().
Referenced by SwEditWin::MouseMove().
|
inline |
Definition at line 123 of file wrtsh.hxx.
Referenced by sw::FindTextImpl(), IMPL_LINK_NOARG(), SwEditWin::MouseButtonDown(), SwEditWin::MouseButtonUp(), SwEditWin::MouseMove(), SwEditWin::MoveCursor(), SwEditWin::SelectMenuPosition(), and SwEditWin::StopDDTimer().
bool SwWrtShell::CanInsert | ( | ) |
Definition at line 2058 of file wrtsh1.cxx.
References SwViewShell::GetPostItMgr(), GetView(), SwFEShell::IsObjSelected(), and IsSelFrameMode().
Referenced by AutoCorrect(), Edit(), SwGlossaryHdl::ExpandGlossary(), Insert(), InsertColumnBreak(), InsertContentControl(), InsertField2(), InsertFootnote(), SwGlossaryHdl::InsertGlossary(), InsertGraphic(), InsertLineBreak(), InsertObject(), InsertPageBreak(), InsertTableOf(), SplitNode(), UpdateTableOf(), and SwAnnotationShell::~SwAnnotationShell().
void SwWrtShell::ChangeHeaderOrFooter | ( | std::u16string_view | rStyleName, |
bool | bHeader, | ||
bool | bOn, | ||
bool | bShowWarning | ||
) |
Definition at line 2138 of file wrtsh1.cxx.
References addCurrentPosition(), SwFEShell::ChgPageDesc(), constTwips_5mm, SwEditShell::EndAllAction(), SwEditShell::EndUndo(), GetActiveView(), SwViewShell::GetDrawView(), SwFormat::GetFooter(), SwFormatFooter::GetFooterFormat(), SfxViewShell::GetFrameWeld(), SwFormat::GetHeader(), SwFormatHeader::GetHeaderFormat(), SwPageDesc::GetMaster(), SwPageDesc::GetName(), SwFEShell::GetPageDesc(), SwFEShell::GetPageDescCnt(), GetView(), HEADER_FOOTER, SwFormatHeader::IsActive(), SwFormatFooter::IsActive(), SwViewShell::IsHeaderFooterEdit(), SdrObjEditView::IsTextEdit(), o3tl::mm, RES_UL_SPACE(), RET_YES, SdrObjEditView::SdrEndTextEdit(), SwCursorShell::SetCursorInHdFt(), SwFormat::SetFormatAttr(), SwEditShell::StartAllAction(), SwEditShell::StartUndo(), SwFEShell::ToggleHeaderFooterEdit(), and o3tl::toTwips().
Referenced by SwTextShell::Execute(), SwHeaderFooterWin::ExecuteCommand(), and IMPL_LINK_NOARG().
void SwWrtShell::ChgDBData | ( | const SwDBData & | SwDBData | ) |
Definition at line 2083 of file wrtsh1.cxx.
References SwEditShell::ChgDBData(), GetView(), and SwView::NotifyDBChanged().
Referenced by SwFieldMgr::InsertField(), and SwDBManager::Merge().
void SwWrtShell::ClickToField | ( | const SwField & | rField, |
bool | bExecHyperlinks | ||
) |
Definition at line 342 of file wrtsh2.cxx.
References addCurrentPosition(), Chars, Dropdown, END, SwEditShell::EndAllAction(), SwEditShell::EndUndo(), ExecMacro(), SfxDispatcher::Execute(), FN_INSERT_FRAME, FN_INSERT_TABLE, FwdPara(), SwAuthorityField::GetAbsoluteURL(), SwAuthorityField::GetAuthority(), SwCursorShell::GetCursor(), SwCursorShell::GetCursor_(), SwEditShell::GetCurTOX(), SfxViewFrame::GetDispatcher(), SwField::GetFormat(), GetFrameWeld(), SwViewShell::GetLayout(), GetNode(), SwNode::GetNodeType(), SwField::GetPar2(), SwShellCursor::GetPtPos(), GetRef, SwMacroField::GetSvxMacro(), SwAuthorityField::GetTargetType(), SwTOXBase::GetTOXForm(), SwField::GetTyp(), SwTOXBase::GetType(), GetView(), SfxViewShell::GetViewFrame(), GotoNextTOXBase(), GotoPage(), SwCursorShell::GotoRefMark(), Input, SwField::IsClickable(), SwViewShell::IsViewLocked(), JE_FMT_FRAME, JE_FMT_GRAPHIC, JE_FMT_OLE, JE_FMT_TABLE, JumpEdit, LoadURL(), SwViewShell::LockView(), m_bIsInClickToEdit, Macro, NewView, SwCursorShell::NormalizePam(), Right(), SAL_WARN_IF, SetCursor(), SetExp, SwCursorShell::ShowCursor(), START, SwEditShell::StartAllAction(), StartDropDownFieldDlg(), StartInputFieldDlg(), SwEditShell::StartUndo(), SwView::StopShellTimer(), TableOfAuthorities, Text, TOX_AUTHORITIES, ToxContent, SwFieldType::UpdateFields(), and SwFieldType::Which().
Referenced by SwBaseShell::Execute(), and SwEditWin::MouseButtonUp().
void SwWrtShell::ClickToINetAttr | ( | const SwFormatINetFormat & | rItem, |
LoadUrlFlags | nFilter = LoadUrlFlags::NONE |
||
) |
Definition at line 506 of file wrtsh2.cxx.
References addCurrentPosition(), SwDoc::CallEvent(), SwViewShell::GetDoc(), SwFormatINetFormat::GetMacro(), SwFormatINetFormat::GetTargetFrame(), SwFormatINetFormat::GetTextINetFormat(), SwFormatINetFormat::GetValue(), LoadURL(), m_bIsInClickToEdit, and SwCallMouseEvent::Set().
Referenced by SwTextShell::Execute(), SwEditWin::KeyInput(), and SwEditWin::MouseButtonUp().
bool SwWrtShell::ClickToINetGrf | ( | const Point & | rDocPt, |
LoadUrlFlags | nFilter | ||
) |
Definition at line 536 of file wrtsh2.cxx.
References SwDoc::CallEvent(), EVENT_OBJECT_URLITEM, SwViewShell::GetDoc(), SwFEShell::IsURLGrfAtPos(), LoadURL(), and SwCallMouseEvent::Set().
Referenced by SwEditWin::MouseButtonUp().
|
inlineprivate |
Definition at line 48 of file delete.cxx.
References SwCursorShell::ClearMark(), SwEditShell::EndAllAction(), SwCursorShell::SwapPam(), and SwCursorShell::UpdateAttr().
Referenced by DelLeft(), DelRight(), DelToEndOfLine(), DelToEndOfSentence(), DelToStartOfLine(), and DelToStartOfSentence().
|
overridevirtual |
Connect objects with ActivateWhenVisible at Paint.
Called by notxtfrm::Paint, implemented in wrtsh.
Implements SwFEShell.
Definition at line 930 of file wrtsh1.cxx.
References CalcAndSetScale(), SfxViewShell::FindIPClient(), svt::EmbeddedObjectRef::GetObject(), and GetView().
SwWrtShell::DECL_DLLPRIVATE_LINK | ( | ExecFlyMac | , |
const SwFlyFrameFormat * | , | ||
void | |||
) |
|
private |
Definition at line 811 of file select.cxx.
References Link< typename Arg, typename Ret >::Call(), SwCursorShell::IsSelTableCells(), and m_aSelTableLink.
Referenced by BeginDrag().
|
private |
Definition at line 817 of file select.cxx.
References BeginDrag(), Link< typename Arg, typename Ret >::Call(), EndSelect(), IsExtSel(), SwCursorShell::IsSelTableCells(), LeaveExtSel(), m_aSelTableLink, and m_fnDrag.
Referenced by LeaveSelFrameMode().
bool SwWrtShell::DelLeft | ( | ) |
Definition at line 136 of file delete.cxx.
References Chars, SwCursorShell::ClearMark(), CloseMark(), SwEditShell::Delete(), SwCursorShell::DeleteCurrent, IDocumentMarkAccess::DeleteFieldmarkCommand(), IDocumentMarkAccess::deleteMark(), SwCursorShell::DeleteStack, SwFEShell::DelSelectedObj(), DrawObject, EMPTY, EnterBlockMode(), EnterSelFrameMode(), EnterStdMode(), SwNode::FindTableBoxStartNode(), Frame, SwCursorShell::GetChar(), SwPosition::GetContentIndex(), SwPosition::GetContentNode(), SwCursorShell::GetCursor(), SwViewShell::GetDoc(), IDocumentMarkAccess::getFieldmarkAt(), SwViewShell::getIDocumentMarkAccess(), SwFEShell::GetObjRect(), SwPaM::GetPoint(), SwPaM::GetPointNode(), GetSelectionType(), SwCursorShell::GetSelText(), SwFEShell::GotoNextFly(), Graphic, HasSelection(), IsBlockMode(), SwCursorShell::IsCursorInTable(), SwCursorShell::IsSelection(), SwCursorShell::IsSttPara(), unicode::isVariationSelector(), LeaveSelFrameMode(), SwCursorShell::Left(), SwViewShell::mxDoc, SwCursorShell::NormalizePam(), Ole, OpenMark(), SwCursorShell::Pop(), SwCursorShell::Push(), ResetCursorStack(), SwCursorShell::Right(), SetCursor(), SwCursorShell::SwapPam(), o3tl::temporary(), SwRect::TopLeft(), UnSelectFrame(), and SwCursorShell::UpdateAttr().
Referenced by SwEditWin::Command(), SwBaseShell::ExecDelete(), SwTextShell::Execute(), SwGlossaryHdl::Expand(), GotoContentControl(), and InsertLabEnvText().
void SwWrtShell::DelLine | ( | ) |
Description: Erase the line.
Definition at line 103 of file delete.cxx.
References SwCursorShell::ClearMark(), SwEditShell::Delete(), SwCursorShell::DeleteCurrent, SwCursorShell::LeftMargin(), Pop(), SwCursorShell::Push(), ResetCursorStack(), SwCursorShell::RightMargin(), SwCursorShell::SetMark(), and SwCursorShell::UpdateAttr().
Referenced by SwTextShell::ExecDelete().
void SwWrtShell::DelNxtWord | ( | ) |
Definition at line 618 of file delete.cxx.
References SwCursorShell::ClearMark(), SwEditShell::Delete(), EndWrd(), EnterStdMode(), SwCursorShell::IsEndOfDoc(), SwCursorShell::IsEndPara(), IsEndWrd(), SwCursorShell::IsStartWord(), NxtWrdForDelete(), ResetCursorStack(), SwCursorShell::SetMark(), SwCursorShell::SwapPam(), and SwCursorShell::UpdateAttr().
Referenced by SwTextShell::ExecDelete().
void SwWrtShell::DelPrvWord | ( | ) |
Definition at line 641 of file delete.cxx.
References SwCursorShell::ClearMark(), SwEditShell::Delete(), EnterStdMode(), IsEndWrd(), SwCursorShell::IsStartOfDoc(), SwCursorShell::IsStartWord(), SwCursorShell::IsSttPara(), PrvWrdForDelete(), ResetCursorStack(), SwCursorShell::SetMark(), SttWrd(), SwCursorShell::SwapPam(), and SwCursorShell::UpdateAttr().
Referenced by SwTextShell::ExecDelete().
bool SwWrtShell::DelRight | ( | bool | isReplaceHeuristic = false | ) |
Definition at line 285 of file delete.cxx.
References Cells, CH_TXT_TRACKED_DUMMY_CHAR, Chars, SwCursorShell::ClearMark(), CloseMark(), DbForm, SwDrawBase::Deactivate(), sw::Default, SwEditShell::Delete(), SwCursorShell::DeleteCurrent, IDocumentMarkAccess::DeleteFieldmarkCommand(), IDocumentMarkAccess::deleteMark(), SwEditShell::DelFullPara(), DelRight(), SwFEShell::DelSelectedObj(), DrawObject, DrawObjectEditMode, EMPTY, EnterBlockMode(), EnterSelFrameMode(), EnterStdMode(), SwNode::FindTableBoxStartNode(), Frame, SwFormat::GetAnchor(), SwFormatAnchor::GetAnchorId(), SwFormatAnchor::GetAnchorNode(), SwViewShell::GetAttrPool(), SwFormatAnchor::GetContentAnchor(), SwCursorShell::GetCurrentShellCursor(), SwCursorShell::GetCursor(), SwViewShell::GetDoc(), SwView::GetDrawFuncPtr(), SwFormatField::GetField(), IDocumentMarkAccess::getFieldmarkAt(), SwTextNode::GetFieldTextAttrAt(), SwFEShell::GetFlyFrameAttr(), SwFlyFrame::GetFormat(), SwTextAttr::GetFormatField(), SwViewShell::getIDocumentMarkAccess(), SwFEShell::GetObjRect(), SwPaM::GetPoint(), SwPaM::GetPointNode(), SwEditShell::GetRedlineFlags(), SwFEShell::GetSelectedFlyFrame(), GetSelectionType(), SwNode::GetTextNode(), GetView(), SwFEShell::GotoNextFly(), Graphic, HasSelection(), Ignore, Insert(), IsBlockMode(), SwCursorShell::IsCursorInTable(), SwCursorShell::IsEndPara(), SwFEShell::IsFrameSelected(), SwEditShell::IsRedlineOn(), SwCursorShell::IsSelection(), SwCursorShell::IsSttPara(), SwView::LeaveDrawCreate(), LeaveSelFrameMode(), SwCursorShell::Left(), Media, SwViewShell::mxDoc, SwCursorShell::NormalizePam(), NumberList, Ole, OpenMark(), Ornament, SwCursorShell::Pop(), PostIt, SwCursorShell::Push(), SfxItemSet::Put(), ResetCursorStack(), SwCursorShell::Right(), SwDoc::SetAttr(), SetCursor(), SwView::SetDrawFuncPtr(), SwFEShell::SetFlyFrameAttr(), SwEditShell::SetRedlineFlags(), Table, TableCell, Text, SwRect::TopLeft(), UnSelectFrame(), and SwCursorShell::UpdateAttr().
Referenced by SwMailMergeLayoutPage::Activate(), AutoCorrect(), SwEditWin::Command(), SwInsertDBColAutoPilot::DataToDoc(), sw::annotation::SwAnnotationWin::Delete(), SwPostItMgr::Delete(), SwTransferable::DeleteSelection(), DelRight(), SwTransferable::DragFinished(), SwContentTree::EditEntry(), SwBaseShell::ExecDelete(), SwTextShell::ExecInsert(), SwTextShell::Execute(), SwDBManager::ImportFromConnection(), Insert(), InsertColumnBreak(), SwModule::InsertEnv(), InsertField2(), SwGlossaryHdl::InsertGlossary(), InsertGraphic(), SwTextShell::InsertHyperlink(), InsertLineBreak(), InsertObject(), InsertOleObject(), InsertPageBreak(), SwTextShell::InsertSymbol(), InsertTableImpl(), InsertTableOf(), SwTransferable::PasteDDE(), SwTransferable::PrivateDrop(), SwTransferable::PrivatePaste(), and SplitNode().
void SwWrtShell::DelToEndOfLine | ( | ) |
Definition at line 128 of file delete.cxx.
References CloseMark(), SwEditShell::Delete(), OpenMark(), and SwCursorShell::RightMargin().
Referenced by SwTextShell::ExecDelete().
void SwWrtShell::DelToEndOfPara | ( | ) |
Definition at line 537 of file delete.cxx.
References SwEditShell::Delete(), SwCursorShell::DeleteCurrent, fnParaEnd, GoCurrPara(), SwCursorShell::MovePara(), Pop(), SwCursorShell::Push(), ResetCursorStack(), SwCursorShell::SetMark(), and SwCursorShell::UpdateAttr().
Referenced by SwTextShell::ExecDelete().
bool SwWrtShell::DelToEndOfSentence | ( | ) |
Definition at line 584 of file delete.cxx.
References Chars, SwCursorShell::ClearMark(), CloseMark(), SwEditShell::Delete(), SwCursorShell::DeleteCurrent, SwEditShell::DelFullPara(), fnParaEnd, FwdSentence_(), GoCurrPara(), SwCursorShell::IsEndOfDoc(), SwCursorShell::IsEndOfTable(), SwCursorShell::IsEndPara(), SwCursorShell::MovePara(), OpenMark(), Pop(), SwCursorShell::Push(), SwCursorShell::Right(), and SwCursorShell::SetMark().
Referenced by SwTextShell::ExecDelete().
void SwWrtShell::DelToStartOfLine | ( | ) |
Definition at line 120 of file delete.cxx.
References CloseMark(), SwEditShell::Delete(), SwCursorShell::LeftMargin(), and OpenMark().
Referenced by SwTextShell::ExecDelete().
void SwWrtShell::DelToStartOfPara | ( | ) |
Definition at line 554 of file delete.cxx.
References SwEditShell::Delete(), SwCursorShell::DeleteCurrent, fnParaStart, GoCurrPara(), SwCursorShell::MovePara(), Pop(), SwCursorShell::Push(), ResetCursorStack(), SwCursorShell::SetMark(), and SwCursorShell::UpdateAttr().
Referenced by SwTextShell::ExecDelete().
void SwWrtShell::DelToStartOfSentence | ( | ) |
Definition at line 575 of file delete.cxx.
References BwdSentence_(), CloseMark(), SwEditShell::Delete(), SwCursorShell::IsStartOfDoc(), and OpenMark().
Referenced by SwTextShell::ExecDelete().
void SwWrtShell::Do | ( | DoType | eDoType, |
sal_uInt16 | nCnt = 1 , |
||
sal_uInt16 | nOffset = 0 |
||
) |
Definition at line 33 of file wrtundo.cxx.
References SwCursorShell::CallChgLnk(), CNT_GRF, CNT_OLE, SwTransferable::CreateSelection(), SwEditShell::DoesUndo(), SwEditShell::DoUndo(), SwEditShell::EndAllAction(), EnterSelFrameMode(), EnterStdMode(), SwCursorShell::GetCharRect(), SwEditShell::GetCntType(), SwFEShell::IsFrameSelected(), SwFEShell::IsObjSelected(), SwCursorShell::IsSelection(), m_fnKillSel, m_fnSetCursor, Pos, SwEditShell::Redo(), REDO, SwEditShell::Repeat(), REPEAT, ResetSelect(), SwFEShell::SelectObj(), SetCursorKillSel(), SwEditShell::StartAllAction(), SwEditShell::Undo(), UNDO, and UnSelectFrame().
Referenced by SwEditWin::Command(), SwBaseShell::ExecUndo(), and SwAnnotationShell::ExecUndo().
bool SwWrtShell::Down | ( | bool | bSelect, |
sal_uInt16 | nCount = 1 , |
||
bool | bBasicCall = false |
||
) |
Definition at line 159 of file move.cxx.
References Point::AdjustY(), SwCursorShell::Down(), SwViewShell::GetViewOptions(), Height, SwCursorShell::IsCursorReadonly(), m_rView, nCount, nReadOnlyScrollOfst, Pos, SwView::SetVisArea(), SwView::SetVScrollMax(), Point::setY(), SwViewShell::VisArea(), and Point::Y().
Referenced by SwTextShell::ExecBasicMove(), SwXTextViewCursor::goDown(), IMPL_LINK_NOARG(), SwTableFUNC::InsertChart(), and SwTransferable::PrivateDrop().
|
inlineprivate |
Definition at line 369 of file crsrsh.hxx.
|
inline |
Definition at line 124 of file wrtsh.hxx.
Referenced by IMPL_LINK_NOARG(), and SwEditWin::MouseMove().
|
overridevirtual |
Reimplemented from SwViewShell.
Definition at line 243 of file wrtsh3.cxx.
References g_bNoInterrupt, SfxViewFrame::GetBindings(), GetView(), SfxViewShell::GetViewFrame(), and SfxBindings::Invalidate().
Referenced by SwPostItMgr::AssureStdModeAtShell(), and lcl_AssureStdModeAtShell().
void SwWrtShell::Edit | ( | ) |
Definition at line 188 of file wrtsh1.cxx.
References CanInsert(), and SwCursorShell::ShowCursor().
Referenced by SwDrawTextShell::ExecDraw(), sw::FindTextImpl(), SwEditWin::KeyInput(), LeaveSelFrameMode(), SwEditWin::MouseButtonDown(), SwEditWin::MouseButtonUp(), SwEditWin::SelectMenuPosition(), SwEditWin::SetApplyTemplate(), and SwDrawBaseShell::~SwDrawBaseShell().
|
inline |
Definition at line 125 of file wrtsh.hxx.
Referenced by SwEditWin::MouseButtonUp().
void SwWrtShell::EndNxtPg | ( | bool | bSelect = false | ) |
Definition at line 370 of file move.cxx.
References GetLastSub(), GetNextFrame(), and SwCursorShell::MovePage().
Referenced by SwTextShell::ExecMovePage().
void SwWrtShell::EndOfColumn | ( | ) |
Definition at line 416 of file move.cxx.
References GetColumnEnd(), GetCurrColumn(), and SwCursorShell::MoveColumn().
Referenced by SwTextShell::ExecMoveCol().
void SwWrtShell::EndOfNextColumn | ( | ) |
Definition at line 428 of file move.cxx.
References GetColumnEnd(), GetNextColumn(), and SwCursorShell::MoveColumn().
Referenced by SwTextShell::ExecMoveCol().
void SwWrtShell::EndOfPrevColumn | ( | ) |
Definition at line 440 of file move.cxx.
References GetColumnEnd(), GetPrevColumn(), and SwCursorShell::MoveColumn().
Referenced by SwTextShell::ExecMoveCol().
bool SwWrtShell::EndOfSection | ( | bool | bSelect = false | ) |
Definition at line 352 of file move.cxx.
References GoEnd().
Referenced by SwTextShell::ExecMove(), SwXTextViewCursor::gotoEnd(), SwModule::InsertLab(), and SwCursorShell::SelPrevRedline().
void SwWrtShell::EndPara | ( | bool | bSelect = false | ) |
Definition at line 400 of file move.cxx.
References fnParaEnd, GoCurrPara(), and SwCursorShell::MovePara().
Referenced by SwTextShell::ExecMoveLingu(), SwTextShell::Execute(), and InsertField2().
bool SwWrtShell::EndPg | ( | bool | bSelect = false | ) |
Definition at line 388 of file move.cxx.
References GetLastSub(), GetThisFrame(), and SwCursorShell::MovePage().
Referenced by SwTextShell::ExecMoveMisc(), SwTextShell::ExecMovePage(), IMPL_LINK(), IMPL_LINK_NOARG(), SwModule::InsertEnv(), SwXTextViewCursor::jumpToEndOfPage(), and SwEditWin::KeyInput().
bool SwWrtShell::EndPrvPg | ( | bool | bSelect = false | ) |
Definition at line 376 of file move.cxx.
References GetLastSub(), GetPrevFrame(), and SwCursorShell::MovePage().
Referenced by SwTextShell::ExecMovePage(), and SwXTextViewCursor::jumpToPreviousPage().
void SwWrtShell::EndSelect | ( | ) |
Definition at line 434 of file select.cxx.
References AddLeaveSelect(), SfxViewFrame::GetChildWindow(), SwCursorShell::GetCursor_(), GetView(), SfxViewShell::GetViewFrame(), m_bAddMode, m_bExtMode, m_bInSelect, m_fnKillSel, m_fnSetCursor, ResetSelect(), SetCursorKillSel(), SttLeaveSelect(), and SwWordCountWrapper::UpdateCounts().
Referenced by SwContentTree::CopyOutlineSelections(), DefaultEndDrag(), SwContentTree::DeleteOutlineSelections(), SwBaseShell::Execute(), SwTableShell::Execute(), SwTextShell::Execute(), SwContentTree::ExecuteContextMenuAction(), SwTextShell::InsertHyperlink(), SwEditWin::KeyInput(), LeaveBlockMode(), LeaveExtMode(), SwEditWin::MouseButtonDown(), SwView::Move(), MoveCursor(), PopCursor(), SwTransferable::PrivateDrop(), PushCursor(), SwHHCWrapper::ReplaceUnit(), SelAll(), SwHHCWrapper::SelectNewUnit_impl(), SelectTextAttr(), SelPara(), SelSentence(), SelWrd(), SwEditWin::SetCursorTwipPosition(), and SwInputWindow::ShowWin().
|
inline |
Definition at line 663 of file wrtsh.hxx.
References m_bClearMark, and SwCursorShell::SetSelTableCells().
Referenced by SwInputWindow::ApplyFormula(), SwInputWindow::CancelFormula(), and SwInputWindow::dispose().
|
private |
Definition at line 52 of file wrtsh4.cxx.
References SwCursorShell::ClearMark(), SwCursorShell::Combine(), fnParaEnd, GoCurrPara(), SwCursorShell::GoEndWord(), IsEndWrd(), SwCursorShell::MovePara(), and SwCursorShell::Push().
Referenced by DelNxtWord().
void SwWrtShell::EnterAddMode | ( | ) |
Definition at line 635 of file select.cxx.
References SwCursorShell::CreateCursor(), SwCursorShell::HasSelection(), Ignore(), Invalidate(), SwCursorShell::IsTableMode(), LeaveBlockMode(), m_bAddMode, m_bBlockMode, m_bExtMode, m_fnKillSel, m_fnSetCursor, and SetCursor().
Referenced by SwContentTree::CopyOutlineSelections(), SwContentTree::DeleteOutlineSelections(), SwContentTree::ExecuteContextMenuAction(), SwView::ExecuteStatusLine(), IMPL_LINK_NOARG(), SwEditWin::MouseButtonDown(), SwEditWin::MouseButtonUp(), and ToggleAddMode().
void SwWrtShell::EnterBlockMode | ( | ) |
Definition at line 660 of file select.cxx.
References SwCursorShell::CursorToBlockCursor(), EnterStdMode(), Invalidate(), and m_bBlockMode.
Referenced by DelLeft(), DelRight(), SwTextShell::Execute(), SwView::ExecuteStatusLine(), SwEditWin::MouseButtonDown(), and ToggleBlockMode().
void SwWrtShell::EnterExtMode | ( | ) |
Definition at line 593 of file select.cxx.
References SwCursorShell::ClearMark(), SwCursorShell::KillPams(), LeaveBlockMode(), m_bAddMode, m_bBlockMode, m_bExtMode, and SttSelect().
Referenced by SwView::ExecuteStatusLine(), and ToggleExtMode().
void SwWrtShell::EnterSelFrameMode | ( | const Point * | pStartDrag = nullptr | ) |
Definition at line 711 of file select.cxx.
References BeginFrameDrag(), bStartDrag, FLY_DRAG_START, SwCursorShell::HideCursor(), Invalidate(), m_bLayoutMode, m_fnDrag, m_fnEndDrag, nStartDragX, nStartDragY, SwBaseShell::SetFrameMode(), UpdateLayoutFrame(), Point::X(), and Point::Y().
Referenced by DelLeft(), DelRight(), Do(), SwTransferable::DragFinished(), SwBaseShell::ExecClpbrd(), SwTextShell::ExecMoveMisc(), SwBaseShell::Execute(), SwContentTree::GotoContent(), GotoDrawingObject(), sw::AccessibilityIssue::gotoIssue(), IMPL_LINK(), SwView::InsertCaption(), SwModule::InsertEnv(), SwFlyFrameAttrMgr::InsertFlyFrame(), InsertGraphic(), InsertOleObject(), SwXTextView::insertTransferable(), SwEditWin::KeyInput(), SwDrawBase::MouseButtonDown(), SwEditWin::MouseButtonDown(), SwEditWin::MouseButtonUp(), SwTransferable::PasteData(), PopCursor(), SwTransferable::PrivateDrop(), SwXTextView::select(), SwEditWin::SelectMenuPosition(), SelectNextPrevHyperlink(), and SwTransferable::SetSelInShell().
void SwWrtShell::EnterStdMode | ( | ) |
Definition at line 560 of file select.cxx.
References SwCursorShell::ClearMark(), SwTransferable::ClearSelection(), Invalidate(), IsRetainSelection(), IsSelFrameMode(), SwCursorShell::KillPams(), LeaveAddMode(), LeaveBlockMode(), LeaveSelFrameMode(), m_bAddMode, m_bBlockMode, m_bExtMode, m_bInSelect, m_bSelLn, m_bSelWrd, m_fnKillSel, m_fnSetCursor, ResetSelect(), SetCursorKillSel(), and UnSelectFrame().
Referenced by SwPostItMgr::AssureStdModeAtShell(), SwInputWindow::CancelFormula(), SwXTextViewCursor::collapseToEnd(), SwXTextViewCursor::collapseToStart(), DelLeft(), DelNxtWord(), DelPrvWord(), DelRight(), Do(), EnterBlockMode(), SwTextShell::ExecDelete(), SwSpellPopup::Execute(), SwView::Execute(), SwBaseShell::Execute(), SwFrameShell::Execute(), SwTableShell::Execute(), SwTextShell::Execute(), SwBezierShell::Execute(), SwNavigationShell::Execute(), SwContentTree::ExecuteContextMenuAction(), SwView::ExecuteStatusLine(), SwView::GenerateFormLetter(), GoStart(), SwGlobalTree::GotoContent(), GotoDrawingObject(), sw::AccessibilityIssue::gotoIssue(), SwXTextViewCursor::gotoRange(), SwInsertBookmarkDlg::GotoSelectedBookmark(), SwNavigationMgr::GotoSwPosition(), IMPL_LINK(), IMPL_LINK_NOARG(), SwModule::InsertEnv(), SwTextShell::InsertHyperlink(), SwTextShell::InsertMediaDlg(), InsertPostIt(), SwBaseShell::InsertTable(), SwXTextViewCursor::jumpToFirstPage(), SwXTextViewCursor::jumpToLastPage(), lcl_ActivateTextShell(), lcl_AssureStdModeAtShell(), lcl_LeaveDrawText(), lcl_Save(), MakeAllFoldedOutlineContentVisible(), SwSpellDialogChildWindow::MakeTextSelection_Impl(), SwEditWin::MouseButtonDown(), SwEditWin::MouseButtonUp(), SwTransferable::PrivateDrop(), SelAll(), SwXTextView::select(), SelectNextPrevHyperlink(), SwTransferable::SetSelInShell(), SwEditWin::ToggleOutlineContentVisibility(), SwTOXMgr::UpdateOrInsertTOX(), SwFieldEditDlg::~SwFieldEditDlg(), and SwJavaEditDialog::~SwJavaEditDialog().
void SwWrtShell::ExecMacro | ( | const SvxMacro & | rMacro, |
OUString * | pRet = nullptr , |
||
SbxArray * | pArgs = nullptr |
||
) |
Definition at line 319 of file wrtsh3.cxx.
References SwDoc::ExecMacro(), SwViewShell::GetDoc(), and SwCursorShell::IsMacroExecAllowed().
Referenced by ClickToField(), SwTextShell::ExecField(), SwGlossaryHdl::Expand(), SwGlossaryHdl::InsertGlossary(), SwEditWin::KeyInput(), SwEditWin::MouseButtonUp(), and SwEditWin::MouseMove().
|
private |
Definition at line 514 of file select.cxx.
References Chars, SwCursorShell::DestroyCursor(), SwCursorShell::GoEndSentence(), SwCursorShell::GoNextCursor(), SwCursorShell::GoPrevCursor(), SwCursorShell::GoStartSentence(), SwCursorShell::HasMark(), SwCursorShell::IsCursorPtAtEnd(), SwCursorShell::IsEndPara(), SwCursorShell::IsEndSentence(), SwCursorShell::IsStartSentence(), SwCursorShell::IsTableMode(), SwCursorShell::Right(), SwCursorShell::SetCursor(), and SwCursorShell::SwapPam().
Referenced by BeginDrag().
|
private |
Definition at line 457 of file select.cxx.
References SwCursorShell::Combine(), SwCursorShell::CompareCursorStackMkCurrPt(), SwCursorShell::DeleteCurrent, SwCursorShell::DestroyCursor(), SwCursorShell::GoNextCursor(), SwCursorShell::GoPrevCursor(), SwCursorShell::HasMark(), SwCursorShell::IsTableMode(), m_aStart, SwCursorShell::Pop(), SwCursorShell::Push(), SwCursorShell::SelectWord(), SwCursorShell::SetCursor(), and SwCursorShell::SwapPam().
Referenced by BeginDrag().
|
inline |
Definition at line 234 of file wrtsh.hxx.
References FwdPara_().
Referenced by ClickToField(), SwTextShell::ExecMoveLingu(), and SwMailMergeLayoutPage::InsertGreeting().
|
private |
Definition at line 210 of file wrtsh4.cxx.
References SwCursorShell::ClearMark(), SwCursorShell::Combine(), fnParaStart, GoNextPara(), SwCursorShell::MovePara(), and SwCursorShell::Push().
Referenced by FwdPara().
|
inline |
Definition at line 238 of file wrtsh.hxx.
References FwdSentence_().
Referenced by SwTextShell::ExecMoveLingu().
|
private |
Definition at line 176 of file wrtsh4.cxx.
References Chars, SwCursorShell::ClearMark(), SwCursorShell::Combine(), SwCursorShell::DeleteCurrent, fnParaEnd, GoCurrPara(), SwCursorShell::GoNextSentence(), SwCursorShell::IsEndPara(), SwCursorShell::MovePara(), Pop(), SwCursorShell::Push(), and SwCursorShell::Right().
Referenced by DelToEndOfSentence(), and FwdSentence().
bool SwWrtShell::GetAttrOutlineContentVisible | ( | const size_t | nPos | ) | const |
Definition at line 2637 of file wrtsh1.cxx.
References SwViewShell::GetNodes(), SwNodes::GetOutLineNds(), and nPos.
Referenced by SwContentTree::ExecuteContextMenuAction(), HasFoldedOutlineContentSelected(), IsOutlineContentVisible(), and SwEditWin::MouseMove().
SwCharFormat * SwWrtShell::GetCharStyle | ( | const OUString & | rFormatName, |
GetStyle | eCreate = GETSTYLE_NOCREATE |
||
) |
Definition at line 1840 of file wrtsh1.cxx.
References ChrFmt, SwEditShell::FindCharFormatByName(), SwEditShell::GetFormatFromPool(), SwStyleNameMapper::GetPoolIdFromUIName(), GETSTYLE_CREATEANY, GETSTYLE_NOCREATE, and nId.
Referenced by SwDropCapsPict::UpdatePaintSettings().
OUString const & SwWrtShell::GetCurPageStyle | ( | ) | const |
Definition at line 1888 of file wrtsh1.cxx.
References SwFEShell::GetCurPageDesc(), SwPageDesc::GetName(), and SwFEShell::GetPageDesc().
Referenced by SwView::StateStatusLine().
OUString SwWrtShell::GetDoString | ( | DoType | eDoType | ) | const |
Definition at line 95 of file wrtundo.cxx.
References SwEditShell::GetFirstRedoInfo(), SwEditShell::GetLastUndoInfo(), m_rView, REDO, SvtResId(), and UNDO.
Referenced by SwBaseShell::StateUndo(), and SwAnnotationShell::StateUndo().
void SwWrtShell::GetDoStrings | ( | DoType | eDoType, |
SfxStringListItem & | rStrLstItem | ||
) | const |
Definition at line 115 of file wrtundo.cxx.
References SwViewShell::GetIDocumentUndoRedo(), REDO, SfxStringListItem::SetString(), and UNDO.
Referenced by SwBaseShell::StateUndo(), and SwAnnotationShell::StateUndo().
Definition at line 237 of file wrtsh4.cxx.
References SwCursorShell::GetCursor_(), SwVisibleCursor::getLOKPayload(), SwSelPaintRects::getLOKPayload(), SwCursorShell::GetVisibleCursor(), and nType.
|
inline |
Definition at line 485 of file wrtsh.hxx.
Referenced by SwNavigationShell::Execute(), SwNavigationShell::GetState(), and IMPL_LINK().
SwTextFormatColl * SwWrtShell::GetParaStyle | ( | const OUString & | rCollName, |
GetStyle | eCreate = GETSTYLE_NOCREATE |
||
) |
Definition at line 1823 of file wrtsh1.cxx.
References SwEditShell::FindTextFormatCollByName(), SwStyleNameMapper::GetPoolIdFromUIName(), GETSTYLE_CREATEANY, GETSTYLE_NOCREATE, SwEditShell::GetTextCollFromPool(), nId, and TxtColl.
Referenced by SwEndNoteOptionPage::FillItemSet(), SwView::InsertCaption(), SwMultiTOXTabDialog::IsNoNum(), SwOutlineTabDialog::Ok(), SearchTempl(), and SwOutlineTabDialog::SwOutlineTabDialog().
OUString SwWrtShell::GetRepeatString | ( | ) | const |
Definition at line 138 of file wrtundo.cxx.
References SwEditShell::GetRepeatInfo(), and SvtResId().
Referenced by SwBaseShell::StateUndo().
OUString SwWrtShell::GetSelDescr | ( | ) | const |
Definition at line 2090 of file wrtsh1.cxx.
References DrawObject, Frame, SwCursorShell::GetCursorDescr(), SwFrameFormat::GetDescription(), SwFEShell::GetSelectedFrameFormat(), GetSelectionType(), Graphic, SwViewShell::mxDoc, and SwResId().
Referenced by SwTransferable::PrivateDrop().
SelectionType SwWrtShell::GetSelectionType | ( | ) | const |
Definition at line 1723 of file wrtsh1.cxx.
References SwViewShell::ActionPend(), svx::checkForSelectedCustomShapes(), svx::checkForSelectedFontWork(), DbForm, DrawObject, DrawObjectEditMode, ExtrudedCustomShape, FontWork, Frame, SwNumRule::Get(), SwTextNode::GetActualListLevel(), SwEditShell::GetCntType(), SdrView::GetContext(), SwCursorShell::GetCursor(), SwViewShell::GetDrawView(), SwView::GetEditWin(), SwCursorShell::GetEnhancedTableSelection(), SwViewShell::GetLayout(), GetNode(), SvxNumberType::GetNumberingType(), SwEditShell::GetNumRuleAtCurrCursorPos(), sw::GetParaPropsNode(), SwView::GetPostItMgr(), GetView(), Graphic, SwPostItMgr::HasActiveSidebarWin(), SwView::IsBezierEditMode(), SwCursorShell::IsCursorInTable(), SwView::IsDrawMode(), SwView::IsFormMode(), SwEditWin::IsFrameAction(), SwFEShell::IsFrameSelected(), SwTextNode::IsInList(), SwFEShell::IsObjSelected(), IsSelFrameMode(), SwCursorShell::IsTableMode(), SdrObjEditView::IsTextEdit(), SwView::LeaveDrawCreate(), MAXLEVEL, Media, NumberList, Ole, Ornament, PostIt, SwTable::SEARCH_COL, SwTable::SEARCH_ROW, SVX_NUM_NUMBER_NONE, Table, TableCell, TableCol, TableRow, and Text.
Referenced by SwFormatClipboard::Copy(), SwTransferable::DeleteSelection(), DelLeft(), DelRight(), SwView::DoVerb(), SwTransferable::DragFinished(), SwBaseShell::ExecBckCol(), SwBaseShell::Execute(), SwFrameShell::Execute(), SwBaseShell::ExecuteGallery(), SwTableOptionsTabPage::FillItemSet(), SwBaseShell::GetBckColState(), SwTransferable::GetData(), SwBaseShell::GetGalleryState(), SwSpellDialogChildWindow::GetNextWrongSentence(), GetSelDescr(), SwBaseShell::GetState(), SwFrameShell::GetState(), SwTextShell::GetState(), SwView::InsertCaption(), SwView::InsertGraphic(), SwView::InsertGraphicDlg(), SwTextShell::InsertHyperlink(), SwTransferable::isComplex(), SwXTextViewCursor::IsTextSelection(), SwEditWin::KeyInput(), lcl_TableParamToItemSet(), SwEditWin::MouseButtonDown(), SwEditWin::MouseButtonUp(), SwEditWin::MouseMove(), SwParaDlg::PageCreated(), SwFormatClipboard::Paste(), PrepareBoxInfo(), SwTransferable::PrepareForCopy(), SwTransferable::PrivateDrop(), SwTransferable::PrivatePaste(), SwWrapTabPage::Reset(), SwEditWin::SelectMenuPosition(), SwWebView::SelectShell(), SwCursorShell::sendLOKCursorUpdates(), SwTransferable::SetDataForDragAndDrop(), SwTextShell::StateInsert(), SwFrameShell::StateInsert(), SwModule::StateOther(), SwDocShell::StateStyleSheet(), SwView::StateTabWin(), SwCaptionDialog::SwCaptionDialog(), SwSortDlg::SwSortDlg(), and SwContentTree::UpdateTracking().
SwFrameFormat * SwWrtShell::GetTableStyle | ( | std::u16string_view | rFormatName | ) |
Definition at line 1857 of file wrtsh1.cxx.
References SwFormat::GetName(), SwEditShell::GetTableFrameFormat(), SwEditShell::GetTableFrameFormatCount(), i, SwFormat::IsDefault(), and SwEditShell::IsUsed().
Referenced by InsertTableImpl().
bool SwWrtShell::GetURLFromButton | ( | OUString & | rURL, |
OUString & | rDescr | ||
) | const |
Definition at line 336 of file wrtsh3.cxx.
References SwViewShell::GetDrawView(), SdrMarkList::GetMark(), SdrMarkView::GetMarkedObjectList(), SdrMark::GetMarkedSdrObj(), SdrObject::GetObjInventor(), and SdrUnoObj::GetUnoControlModel().
Referenced by SwTransferable::GetData(), SwTransferable::PrepareForCopy(), and SwTransferable::SetDataForDragAndDrop().
|
inline |
Definition at line 443 of file wrtsh.hxx.
Referenced by SwModelessRedlineAcceptDlg::Activate(), DrawSelection::Activate(), SwFlyFrame::ActiveUnfloatButton(), SwNavigationMgr::addEntry(), SwGlossaryDlg::Apply(), SwSortDlg::Apply(), SwSpellDialogChildWindow::ApplyChangedSentence(), ApplyCharBackground(), ApplyViewOptions(), SwPostItMgr::AssureStdModeAtShell(), CalcAndSetScale(), SwTransferable::CalculateAndCopy(), SwRedlineAcceptDlg::CallAcceptReject(), CanInsert(), ChangeHeaderOrFooter(), SwSpellPopup::checkRedline(), ChgDBData(), ClickToField(), SwEditWin::Command(), SwTemplateControl::Command(), ConnectObj(), SwTransferable::Copy(), SwTransferable::CopyGlossary(), SwContentTree::CopyOutlineSelections(), SwDrawBase::Deactivate(), SwTransferable::DeleteSelection(), DelRight(), SwPageFrame::DestroyImpl(), SwContentTree::Display(), SwTransferable::DragFinished(), DrawSelChanged(), SwEnvFormatPage::Edit(), SwGlobalTree::EditContent(), SwContentTree::EditEntry(), EndSelect(), SwDrawBase::EnterSelectMode(), SwBaseShell::ExecClpbrd(), SwDrawTextShell::ExecDraw(), SwDrawShell::ExecDrawAttrArgs(), SwFrameShell::ExecDrawAttrArgsTextFrame(), SwTextShell::ExecField(), SwDrawTextShell::ExecFontWork(), SwModule::ExecOther(), SwBaseShell::ExecUndo(), SwSpellPopup::Execute(), SwDrawShell::Execute(), SwDrawTextShell::Execute(), SwFrameShell::Execute(), SwTableShell::Execute(), SwTextShell::Execute(), SwGrfShell::Execute(), SwBezierShell::Execute(), SwDrawBaseShell::Execute(), SwNavigationShell::Execute(), SwReadOnlyPopup::Execute(), SwHeaderFooterWin::ExecuteCommand(), SwContentTree::ExecuteContextMenuAction(), SwGlobalTree::ExecuteContextMenuAction(), SwDBManager::ExecuteFormLetter(), SwGlossaryHdl::Expand(), SwInsertSectionTabPage::FillItemSet(), SwTableOptionsTabPage::FillItemSet(), SwSpellPopup::fillLangPopupMenu(), SwContentType::FillMemberList(), SwContentTree::FillTransferData(), SwSpellDialogChildWindow::FindNextDrawTextError_Impl(), SwTextShell::GetAttrState(), SwTransferable::GetData(), SwEditWin::GetDropDestination(), SwSpellDialogChildWindow::GetFocus(), SwDocShell::GetIPClient(), SwSpellDialogChildWindow::GetNextWrongSentence(), SwXTextDocument::getPointer(), GetSelectionType(), SwTransferable::GetSotDestination(), SwFrameShell::GetState(), SwTextShell::GetState(), SwMailMergeDlg::GetURLfromPath(), SwTextFrame::GetView(), SwNavigationMgr::goBack(), SwNavigationMgr::goForward(), SwContentTree::GotoContent(), GotoContentControl(), sw::AccessibilityIssue::gotoIssue(), IMPL_LINK(), IMPL_LINK_NOARG(), SwDBManager::ImportFromConnection(), SwMacroAssignDlg::INetFormatDlg(), InfoReadOnlyDialog(), SwIndexMarkPane::InitControls(), SwCompatibilityOptPage::InitControls(), SwTableFUNC::InsertChart(), SwModule::InsertEnv(), SwFieldMgr::InsertField(), SwModule::InsertLab(), InsertObject(), InsertOleObject(), InsertPostIt(), SwDBManager::InsertText(), SwBaseShell::InsertURLButton(), Invalidate(), InvalidateOutlineContentVisibility(), SwEditWin::IsInHeaderFooter(), SwXTextDocument::isMimeTypeSupported(), ItemSetToTableParam(), SwEditWin::KeyInput(), LaunchOLEObj(), lcl_AssureStdModeAtShell(), lcl_GetCharFormat(), lcl_getDocStyleSheet(), lcl_InsertBCText(), lcl_LeaveDrawText(), lcl_Save(), lcl_SetAttr(), lcl_TableParamToItemSet(), lcl_UpdateContourDlg(), LoadURL(), SwSpellDialogChildWindow::LoseFocus(), MakeAllFoldedOutlineContentVisible(), SwSpellDialogChildWindow::MakeTextSelection_Impl(), SwDBManager::Merge(), SwDBManager::MergeMailFiles(), SwEditWin::MouseButtonDown(), SwDrawBase::MouseButtonUp(), ConstRectangle::MouseButtonUp(), SwEditWin::MouseButtonUp(), SwEditWin::MouseMove(), MoveObjectIfActive(), NavigatorPaste(), SwGlossaryHdl::NewGlossary(), SwModule::Notify(), SwContentTree::Notify(), SwGlobalTree::Notify(), NumOrBulletOn(), SwInsertSectionTabDialog::Ok(), SwGlobalTree::OpenDoc(), SwFrameDlg::PageCreated(), SwTemplateDlgController::PageCreated(), SwSvxNumBulletTabDialog::PageCreated(), SwPageFrame::PaintBreak(), SwPageFrame::PaintDecorators(), SwTextFrame::PaintParagraphStylesHighlighting(), SwRootFrame::PaintSwFrame(), SwTransferable::Paste(), SwTransferable::PasteData(), SwTransferable::PasteDBData(), SwTransferable::PasteFileName(), SwTransferable::PasteFormat(), SwTransferable::PasteGrf(), SwTransferable::PrepareForCopy(), SwTransferable::PrepareForCopyTextRange(), SwTransferable::PrivateDrop(), PushCursor(), SwEndNoteOptionPage::Reset(), SwDropCapsPage::Reset(), SwFramePage::Reset(), SwCondCollPage::Reset(), sw::GraphicSizeCheckGUIEntry::runProperties(), SwDocShell::Save(), SwGlobalTree::Select(), SwCondCollPage::SelectHdl(), SwEditWin::SelectMenuPosition(), SwContentTree::SetActiveShell(), SwContentTree::SetConstantShell(), SwJavaEditDialog::SetField(), SwBaseShell::SetFrameMode(), SwSpellDialogChildWindow::SetGrammarChecking(), SetInsMode(), SetReadonlyOption(), SwTransferable::SetSelInShell(), SwEndNoteOptionPage::SetShell(), SwTextFlowPage::SetShell(), SetShowHeaderFooterSeparator(), SwInsertSectionTabPage::SetWrtShell(), SwTOXEntryTabPage::SetWrtShell(), SwNumPositionTabPage::SetWrtShell(), SwOutlineSettingsTabPage::SetWrtShell(), SfxToSwPageDescAttr(), QuickHelpData::Start(), SwTransferable::StartDrag(), StartDropDownFieldDlg(), StartInsertRegionDialog(), SwBaseShell::StateClpbrd(), SwDocShell::StateStyleSheet(), SwBaseShell::StateUndo(), QuickHelpData::Stop(), sw_CharDialog(), sw_CharDialogResult(), SwCaptionOptPage::SwCaptionOptPage(), SwEditRegionDlg::SwEditRegionDlg(), SwFlyFrameAttrMgr::SwFlyFrameAttrMgr(), SwFrameDlg::SwFrameDlg(), SwGlossaryDlg::SwGlossaryDlg(), SwInsertChart::SwInsertChart(), SwInsertSectionTabDialog::SwInsertSectionTabDialog(), SwLineNumberingDlg::SwLineNumberingDlg(), SwSectionPropertyTabDialog::SwSectionPropertyTabDialog(), SwTableHeightDlg::SwTableHeightDlg(), SwTableWidthDlg::SwTableWidthDlg(), SwTemplateDlgController::SwTemplateDlgController(), SwTitlePageDlg::SwTitlePageDlg(), SwTransferable::SwTransferable(), SwGlobalTree::Update(), UpdateInputFields(), SwTOXMgr::UpdateOrInsertTOX(), SwTextFrame::UpdateOutlineContentVisibilityButton(), SwDropCapsPict::UpdatePaintSettings(), SwFlyFrame::UpdateUnfloatButton(), WarnHiddenSectionDialog(), and SwPasteContext::~SwPasteContext().
|
private |
Definition at line 292 of file move.cxx.
References SwNode::EndOfSectionIndex(), FLY_ANY, FLY_FREE, fnRegionEnd, fnSectionEnd, fnTableEnd, FOOTER, FOOTNOTE, SwFEShell::GetFrameType(), GetNode(), SwNode::GetNodes(), SwPaM::GetPoint(), SwCursorShell::getShellCursor(), GoCurrSection(), GotoCurrRegionAndSkip(), GotoCurrTable(), HEADER, SwCursorShell::IsCursorInTable(), SwCursorShell::MoveOutOfTable(), SwCursorShell::MoveRegion(), SwCursorShell::MoveSection(), SwCursorShell::MoveTable(), and SwCursorShell::SttEndDoc().
Referenced by EndOfSection(), and SelAll().
bool SwWrtShell::GoNextBookmark | ( | ) |
Definition at line 277 of file wrtsh3.cxx.
References BOOKMARK_INDEX, BOOKMARK_NEXT, SwViewShell::getIDocumentMarkAccess(), SwViewShell::LockView(), MoveBookMark(), SvxSearchDialogWrapper::SetSearchLabel(), and SwCursorShell::ShowCursor().
Referenced by SwBaseShell::Execute().
bool SwWrtShell::GoPrevBookmark | ( | ) |
Definition at line 298 of file wrtsh3.cxx.
References BOOKMARK_INDEX, BOOKMARK_PREV, SwViewShell::getIDocumentMarkAccess(), SwViewShell::LockView(), MoveBookMark(), SvxSearchDialogWrapper::SetSearchLabel(), and SwCursorShell::ShowCursor().
Referenced by SwBaseShell::Execute().
|
private |
Definition at line 208 of file move.cxx.
References EnterStdMode(), FLY_ANY, FLY_FREE, fnRegionStart, fnSectionStart, fnTableStart, FOOTER, FOOTNOTE, SwFEShell::GetFrameType(), SwNode::GetIndex(), GetNode(), SwNode::GetNodes(), SwCursorShell::getShellCursor(), GoCurrSection(), GotoCurrRegionAndSkip(), GotoCurrTable(), SwFEShell::HasBoxSelection(), HEADER, SwCursorShell::IsCursorInTable(), m_bBlockMode, SwCursorShell::MoveOutOfTable(), SwCursorShell::MoveRegion(), SwCursorShell::MoveSection(), SwCursorShell::MoveStartText(), SwCursorShell::MoveTable(), SwCursorShell::SttEndDoc(), and SttSelect().
Referenced by SelAll(), and StartOfSection().
bool SwWrtShell::GotoContentControl | ( | const SwFormatContentControl & | rContentControl, |
bool | bOnlyRefresh = false |
||
) |
bOnlyRefresh | false: run default actions (e.g. toggle checkbox, remove placeholder content) true: do not alter the content control, just refresh the doc model |
Definition at line 96 of file wrtsh3.cxx.
References SwRewriter::AddRule(), DelLeft(), SfxDispatcher::Execute(), tools::JsonWriter::finishAndGetAsOString(), SwFormatContentControl::GetContentControl(), SwCursorShell::GetCursorDescr(), SfxViewFrame::GetDispatcher(), SwViewShell::GetIDocumentUndoRedo(), SwViewShell::GetSfxViewShell(), GetView(), SfxViewShell::GetViewFrame(), SwCursorShell::GotoFormatContentControl(), Insert(), comphelper::LibreOfficeKit::isActive(), SwFEShell::IsFrameSelected(), SwCursorShell::IsSelection(), IsSelFrameMode(), LeaveSelFrameMode(), SfxViewShell::libreOfficeKitViewCallback(), SwViewShell::LockView(), m_fnKillSel, m_fnSetCursor, tools::JsonWriter::put(), REPLACE, ResetSelect(), SetCursorKillSel(), SwCursorShell::ShowCursor(), SwView::StopShellTimer(), SwResId(), UndoArg1, UndoArg2, UndoArg3, and UnSelectFrame().
Referenced by SwXTextDocument::executeContentControlEvent(), IMPL_LINK(), SwTextContentControl::Invalidate(), SwEditWin::KeyInput(), and SwEditWin::MouseButtonUp().
bool SwWrtShell::GotoDrawingObject | ( | std::u16string_view | rName | ) |
Definition at line 670 of file move.cxx.
References SwNavigationMgr::addEntry(), EnterSelFrameMode(), EnterStdMode(), SwCursorShell::GetCursor(), IDocumentDrawModelAccess::GetDrawModel(), SwViewShell::GetDrawView(), SwViewShell::getIDocumentDrawModelAccess(), SdrObject::GetName(), SdrObjList::GetObj(), SdrObjList::GetObjCount(), SdrModel::GetPage(), SwPaM::GetPoint(), SdrPaintView::GetSdrPageView(), SwCursorShell::HideCursor(), i, m_aNavigationMgr, SdrMarkView::MarkObj(), nCount, SdrObjEditView::SdrEndTextEdit(), and SdrView::UnmarkAll().
Referenced by SwContentTree::GotoContent(), and sw::AccessibilityIssue::gotoIssue().
bool SwWrtShell::GotoField | ( | const SwFormatField & | rField | ) |
Definition at line 76 of file wrtsh3.cxx.
References SwCursorShell::GotoFormatField(), SwCursorShell::IsSelection(), IsSelFrameMode(), LeaveSelFrameMode(), m_fnKillSel, m_fnSetCursor, ResetSelect(), SetCursorKillSel(), and UnSelectFrame().
Referenced by sw::annotation::SwAnnotationWin::Delete(), SwPostItMgr::Delete(), SwFieldEditDlg::EnsureSelection(), and sw::annotation::SwAnnotationWin::GotoPos().
bool SwWrtShell::GotoFieldmark | ( | ::sw::mark::IFieldmark const *const | pMark | ) |
Definition at line 224 of file wrtsh3.cxx.
References SwCursorShell::GotoFieldmark(), SwCursorShell::IsSelection(), IsSelFrameMode(), LeaveSelFrameMode(), m_fnKillSel, m_fnSetCursor, ResetSelect(), SetCursorKillSel(), and UnSelectFrame().
Referenced by SwWrtShell().
bool SwWrtShell::GotoFly | ( | const OUString & | rName, |
FlyCntType | eType = FLYCNTTYPE_ALL , |
||
bool | bSelFrame = true |
||
) |
Definition at line 637 of file move.cxx.
References SwNavigationMgr::addEntry(), eType, SwCursorShell::GetCursor(), SwPaM::GetPoint(), SwFEShell::GotoFly(), and m_aNavigationMgr.
Referenced by SwMailMergeLayoutPage::Activate(), SwContentTree::GotoContent(), sw::AccessibilityIssue::gotoIssue(), SwModule::InsertEnv(), SwModule::InsertLab(), sw::GraphicSizeCheckGUIEntry::markObject(), SwTransferable::PasteFileList(), and SwXTextView::select().
bool SwCursorShell::GotoFootnoteAnchor | ( | ) |
jump from footnote to anchor
Definition at line 675 of file trvlfnfl.cxx.
bool SwCursorShell::GotoFootnoteAnchor | ( | const SwTextFootnote & | rTextFootnote | ) |
Definition at line 850 of file crstrvl.cxx.
References SwPosition::Assign(), SwTextAttr::End(), SwPaM::GetMark(), SwCursor::IsSelOvr(), and SwPaM::SetMark().
void SwWrtShell::GotoFootnoteAnchor | ( | const SwTextFootnote & | rTextFootnote | ) |
Definition at line 747 of file move.cxx.
References SwNavigationMgr::addEntry(), SwCursorShell::GetCursor(), SwPaM::GetPoint(), SwCursorShell::GotoFootnoteAnchor(), and m_aNavigationMgr.
Referenced by SwTextShell::ExecMoveMisc(), SwContentTree::GotoContent(), sw::AccessibilityIssue::gotoIssue(), and IMPL_LINK().
void SwWrtShell::GotoFormatField | ( | const SwFormatField & | rField | ) |
Definition at line 740 of file move.cxx.
References SwNavigationMgr::addEntry(), SwCursorShell::GetCursor(), SwPaM::GetPoint(), SwCursorShell::GotoFormatField(), and m_aNavigationMgr.
Referenced by SwTextShell::ExecIdx(), and SwContentTree::GotoContent().
bool SwWrtShell::GotoINetAttr | ( | const SwTextINetFormat & | rAttr | ) |
Definition at line 646 of file move.cxx.
References SwNavigationMgr::addEntry(), SwCursorShell::GetCursor(), SwPaM::GetPoint(), SwCursorShell::GotoINetAttr(), and m_aNavigationMgr.
Referenced by SwContentTree::GotoContent().
|
private |
void SwWrtShell::GotoMark | ( | const ::sw::mark::IMark *const | pMark | ) |
Definition at line 272 of file wrtsh3.cxx.
References BOOKMARK_INDEX, and MoveBookMark().
Referenced by SwInsertDBColAutoPilot::DataToDoc(), SwTextShell::ExecField(), SwView::ExecuteStatusLine(), SwContentTree::GotoContent(), SwInsertBookmarkDlg::GotoSelectedBookmark(), IMPL_LINK(), BookmarkTable::InsertBookmark(), SwTransferable::Paste(), SwTransferable::PrivateDrop(), and SwXTextView::select().
|
private |
bool SwWrtShell::GotoMark | ( | const ::sw::mark::IMark *const | pMark, |
bool | bSelect | ||
) |
Definition at line 627 of file move.cxx.
References SwNavigationMgr::addEntry(), SwCursorShell::GetCursor(), SwPaM::GetPoint(), SwCursorShell::GotoMark(), and m_aNavigationMgr.
void SwWrtShell::GotoMark | ( | const OUString & | rName | ) |
Definition at line 264 of file wrtsh3.cxx.
References BOOKMARK_INDEX, IDocumentMarkAccess::findMark(), SwViewShell::getIDocumentMarkAccess(), and MoveBookMark().
bool SwWrtShell::GotoNextTOXBase | ( | const OUString * | pName = nullptr | ) |
Definition at line 722 of file move.cxx.
References SwNavigationMgr::addEntry(), SwCursorShell::GetCursor(), SwPaM::GetPoint(), SwCursorShell::GotoNextTOXBase(), m_aNavigationMgr, and pName.
Referenced by ClickToField(), SwContentTree::GotoContent(), and SwGlobalTree::GotoContent().
bool SwWrtShell::GotoOutline | ( | const OUString & | rName | ) |
Definition at line 661 of file move.cxx.
References SwNavigationMgr::addEntry(), SwCursorShell::GetCursor(), SwPaM::GetPoint(), SwCursorShell::GotoOutline(), and m_aNavigationMgr.
void SwWrtShell::GotoOutline | ( | SwOutlineNodes::size_type | nIdx | ) |
Definition at line 655 of file move.cxx.
References addCurrentPosition(), and SwCursorShell::GotoOutline().
Referenced by SwContentTree::ExecuteContextMenuAction(), SwContentTree::GotoContent(), lcl_FoldedOutlineNodeEndOfParaSplit(), lcl_OutlineUpDownWithSubPoints(), MakeAllFoldedOutlineContentVisible(), SwNavigationPI::MoveOutline(), and SwEditWin::ToggleOutlineContentVisibility().
|
private |
Definition at line 559 of file crsrsh.cxx.
bool SwWrtShell::GotoPage | ( | sal_uInt16 | nPage, |
bool | bRecord | ||
) |
Definition at line 611 of file move.cxx.
References addCurrentPosition(), SwCursorShell::GotoPage(), IsSelFrameMode(), LeaveSelFrameMode(), and UnSelectFrame().
Referenced by ClickToField(), SwNavigationPI::EditAction(), SwView::Execute(), SwContentTree::ExecuteContextMenuAction(), SwXTextViewCursor::jumpToPage(), and SwXTextDocument::setPart().
const SwRangeRedline * SwWrtShell::GotoRedline | ( | SwRedlineTable::size_type | nArrPos, |
bool | bSelect | ||
) |
Definition at line 755 of file move.cxx.
References SwNavigationMgr::addEntry(), SwCursorShell::GetCursor(), SwPaM::GetPoint(), SwCursorShell::GotoRedline(), and m_aNavigationMgr.
Referenced by SwTextShell::ExecField(), IMPL_LINK(), and IMPL_LINK_NOARG().
bool SwWrtShell::GotoRefMark | ( | const OUString & | rRefMark, |
sal_uInt16 | nSubType = 0 , |
||
sal_uInt16 | nSeqNo = 0 |
||
) |
Definition at line 712 of file move.cxx.
References SwNavigationMgr::addEntry(), SwCursorShell::GetCursor(), SwPaM::GetPoint(), SwCursorShell::GotoRefMark(), and m_aNavigationMgr.
Referenced by SwContentTree::GotoContent().
bool SwWrtShell::GotoRegion | ( | std::u16string_view | rName | ) |
Definition at line 703 of file move.cxx.
References SwNavigationMgr::addEntry(), SwCursorShell::GetCursor(), SwPaM::GetPoint(), SwCursorShell::GotoRegion(), and m_aNavigationMgr.
Referenced by SwContentTree::ExecuteContextMenuAction(), and SwContentTree::GotoContent().
bool SwWrtShell::GotoTable | ( | const OUString & | rName | ) |
Definition at line 731 of file move.cxx.
References SwNavigationMgr::addEntry(), SwCursorShell::GetCursor(), SwPaM::GetPoint(), SwCursorShell::GotoTable(), and m_aNavigationMgr.
Referenced by SwContentTree::ExecuteContextMenuAction(), SwContentTree::GotoContent(), sw::AccessibilityIssue::gotoIssue(), and SwXTextView::select().
|
inlineprivate |
Definition at line 578 of file wrtsh.hxx.
Referenced by ResetCursorStack().
bool SwWrtShell::HasFoldedOutlineContentSelected | ( | ) | const |
Definition at line 2644 of file wrtsh1.cxx.
References GetAttrOutlineContentVisible(), SwCursorShell::GetCursor(), SwViewShell::GetDoc(), SwPaM::GetMark(), SwPosition::GetNode(), SwViewShell::GetNodes(), SwPaM::GetPoint(), sw::Ring< SwViewShell >::GetRingContainer(), SwPaM::Normalize(), and nPos.
Referenced by SwCursorShell::HasHiddenSections(), SwCursorShell::HasReadonlySel(), InfoReadOnlyDialog(), and WarnHiddenSectionDialog().
|
inline |
Definition at line 147 of file wrtsh.hxx.
References SwCursorShell::HasSelection(), SwCursorShell::IsMultiSelection(), and SwFEShell::IsObjSelected().
Referenced by AutoCorrect(), SwXTextViewCursor::collapseToEnd(), SwXTextViewCursor::collapseToStart(), SwEditWin::Command(), SwInsertDBColAutoPilot::DataToDoc(), SwContentTree::DeleteOutlineSelections(), SwEditWin::DeleteSurroundingText(), DelLeft(), DelRight(), SwFieldEditDlg::EnsureSelection(), SwTextShell::ExecCharAttrArgs(), SwBaseShell::ExecClpbrd(), SwBaseShell::ExecTextCtrl(), SwTableShell::Execute(), SwTextShell::Execute(), SwBezierShell::Execute(), SwGlossaryHdl::Expand(), SwSpellDialogChildWindow::GetNextWrongSentence(), SwTextShell::GetState(), SwEditWin::GetSurroundingText(), SwEditWin::GetSurroundingTextSelection(), SwBaseShell::GetTextFontCtrlState(), SwView::HasSelection(), IMPL_LINK(), SwDBManager::ImportFromConnection(), SwGlossaryDlg::Init(), SwIndexMarkPane::InitControls(), Insert(), InsertColumnBreak(), InsertContentControl(), InsertField2(), InsertFootnote(), SwGlossaryHdl::InsertGlossary(), SwView::InsertGraphic(), InsertGraphic(), SwView::InsertGraphicDlg(), SwTextShell::InsertHyperlink(), InsertLineBreak(), InsertObject(), InsertPageBreak(), InsertPostIt(), SwTextShell::InsertSymbol(), InsertTableImpl(), InsertTableOf(), SwXTextViewCursor::isCollapsed(), SwEditWin::KeyInput(), SwSpellDialogChildWindow::MakeTextSelection_Impl(), SwEditWin::MouseButtonDown(), SwEditWin::MouseButtonUp(), SwEditWin::MouseMove(), SwTransferable::PasteData(), SwTransferable::PasteDDE(), SwTransferable::PrivatePaste(), SplitNode(), SwBaseShell::StateClpbrd(), SwTextShell::StateInsert(), SwModule::StateOther(), sw_CharDialog(), SwColumnDlg::SwColumnDlg(), SwTranslateHelper::TranslateDocumentCancellable(), and SwTOXMgr::UpdateOrInsertTOX().
|
private |
Definition at line 388 of file select.cxx.
Referenced by BeginDrag(), EnterAddMode(), ResetSelect(), and SttSelect().
|
overridevirtual |
Selected area has readonly content.
Reimplemented from SwEditShell.
Definition at line 2666 of file wrtsh1.cxx.
References Application::CreateBuilder(), GetFrameWeld(), GetView(), SwViewShell::GetViewOptions(), HasFoldedOutlineContentSelected(), weld::DialogController::runAsync(), and SwResId().
Referenced by SwEditWin::Command(), SwTextShell::Execute(), SwEditWin::KeyInput(), and sw::sidebarwindows::SidebarTextControl::KeyInput().
void SwWrtShell::Insert | ( | const OUString & | rStr | ) |
Definition at line 226 of file wrtsh1.cxx.
References SwRewriter::AddRule(), CanInsert(), SwCursorShell::ClearMark(), SwCursorShell::CursorInsideContentControl(), SwCursorShell::DeleteCurrent, DelRight(), SwEditShell::EndAllAction(), SwEditShell::EndUndo(), SwFormatContentControl::GetContentControl(), SwTextAttr::GetContentControl(), SwCursorShell::GetCursor(), SwCursorShell::GetCursorDescr(), GetNode(), HasSelection(), SwEditShell::Insert2(), SwCursorShell::IsInHiddenRange(), m_bIns, SwCursorShell::NormalizePam(), SwEditShell::Overwrite(), Pop(), SwCursorShell::Push(), REPLACE, ResetCursorStack(), SwEditShell::StartAllAction(), SwEditShell::StartUndo(), SwResId(), UndoArg1, UndoArg2, and UndoArg3.
Referenced by SwHHCWrapper::ChangeText_impl(), SwInsertDBColAutoPilot::DataToDoc(), DelRight(), SwTextShell::ExecInsert(), SwEditWin::FlushInBuffer(), GotoContentControl(), SwMailMergeLayoutPage::InsertAddressFrame(), InsertByWord(), InsertContentControl(), SwMailMergeLayoutPage::InsertGreeting(), SwModule::InsertLab(), InsertLabEnvText(), InsertLineBreak(), SwTextShell::InsertSymbol(), SwEditWin::KeyInput(), and sw_CharDialogResult().
void SwEditShell::Insert | ( | sal_Unicode | c, |
bool | bOnlyCurrCursor = false |
||
) |
Edit (all selected ranges).
Definition at line 164 of file editsh.cxx.
void SwWrtShell::InsertByWord | ( | const OUString & | rStr | ) |
Definition at line 206 of file wrtsh1.cxx.
References GetAppCharClass(), Insert(), CharClass::isLetterNumeric(), and nPos.
Referenced by SwTextShell::ExecInsert().
void SwWrtShell::InsertColumnBreak | ( | ) |
Definition at line 1017 of file wrtsh1.cxx.
References CanInsert(), DelRight(), SwEditShell::EndUndo(), HasSelection(), SwCursorShell::IsCursorInTable(), lcl_IsAllowed(), RES_BREAK(), ResetCursorStack(), SwEditShell::SetAttrItem(), SwEditShell::SplitNode(), SwEditShell::StartUndo(), and UI_INSERT_COLUMN_BREAK.
Referenced by SwTextShell::ExecInsert().
void SwWrtShell::InsertContentControl | ( | SwContentControlType | eType | ) |
Definition at line 1040 of file wrtsh1.cxx.
References SwRewriter::AddRule(), SwPosition::Assign(), CanInsert(), Chars, CHECKBOX, COMBO_BOX, DATE, SwPaM::DeleteMark(), DROP_DOWN_LIST, SwCursorShell::EndAction(), SwEditShell::EndUndo(), BitmapEx::Erase(), eType, Fixed, SwFormat::GetAnchor(), SwFormatAnchor::GetAnchorContentNode(), SwFormatAnchor::GetAnchorContentOffset(), SwViewShell::GetAttrPool(), LanguageTag::getBcp47(), SwViewShell::GetDoc(), SvNumberFormatter::GetEntry(), SwFEShell::GetFlyFrameAttr(), SwFEShell::GetFlyFrameFormat(), SvNumberformat::GetFormatstring(), SvtOptionsDrawinglayer::getHilightColor(), SvNumberformat::GetLanguage(), SwDoc::GetNumberFormatter(), SwPaM::GetPoint(), SwCursorShell::getShellCursor(), SvNumberFormatter::GetStandardFormat(), HasSelection(), Color::IncreaseLuminance(), INSERT, Insert(), InsertGraphic, InsertGraphic(), lcl_IsAllowed(), LeaveSelFrameMode(), Left(), SwViewShell::LockPaint(), SwContentControlListItem::m_aValue, vcl::N24_BPP, PICTURE, PLAIN_TEXT, SfxItemSet::Put(), RES_TXTATR_CONTENTCONTROL(), ResetCursorStack(), RICH_TEXT, SwEditShell::SetAttrItem(), SwFEShell::SetFlyFrameAttr(), SwCursorShell::StartAction(), SwEditShell::StartUndo(), SwResId(), u, UndoArg1, SwViewShell::UnlockPaint(), and UnSelectFrame().
Referenced by SwTextShell::ExecInsert().
Definition at line 64 of file wrtsh2.cxx.
References SwRewriter::AddRule(), CanInsert(), SwCursorShell::ClearMark(), DelRight(), SwPaM::End(), SwEditShell::EndAllAction(), EndPara(), SwEditShell::EndUndo(), GetContentNode(), SwCursorShell::GetCurrentShellCursor(), SwField::GetDescription(), SwViewShell::GetDoc(), SwDoc::getIDocumentMarkAccess(), SwPaM::GetMark(), GetNode(), SwPaM::GetPoint(), SwCursorShell::GetTableCrs(), SwField::GetTyp(), HasSelection(), INSERT, SwEditShell::InsertField(), IsEndOfPara(), SwCursorShell::IsTableMode(), SwCursorShell::KillPams(), IDocumentMarkAccess::makeAnnotationMark(), SwPaM::Normalize(), SwCursorShell::NormalizePam(), Postit, ResetCursorStack(), SwPaM::Start(), SwEditShell::StartAllAction(), SwEditShell::StartUndo(), UndoArg1, and SwFieldType::Which().
Referenced by SwInsertDBColAutoPilot::DataToDoc(), SwFieldMgr::InsertField(), and SwTransferable::PasteDDE().
void SwWrtShell::InsertFootnote | ( | const OUString & | rStr, |
bool | bEndNote = false , |
||
bool | bEdit = true |
||
) |
Definition at line 1175 of file wrtsh1.cxx.
References SwNavigationMgr::addEntry(), CanInsert(), Chars, SwCursorShell::ClearMark(), SwCursorShell::GetCursor(), SwPaM::GetPoint(), SwCursorShell::GotoFootnoteText(), HasSelection(), SwCursorShell::IsCursorPtAtEnd(), Left(), m_aNavigationMgr, ResetCursorStack(), SwEditShell::SetAttrItem(), SwFormatFootnote::SetNumStr(), and SwCursorShell::SwapPam().
Referenced by SwTextShell::ExecField(), and SwTextShell::Execute().
void SwWrtShell::InsertGraphic | ( | const OUString & | rPath, |
const OUString & | rFilter, | ||
const Graphic & | rGrf, | ||
SwFlyFrameAttrMgr * | pFrameMgr = nullptr , |
||
RndStdIds | nAnchorType = RndStdIds::FLY_AT_PARA |
||
) |
Definition at line 290 of file wrtsh1.cxx.
References SwRewriter::AddRule(), Size::AdjustHeight(), Size::AdjustWidth(), SwFlyFrameAttrMgr::CalcHeightBorder(), SwFlyFrameAttrMgr::CalcWidthBorder(), CanInsert(), o3tl::cm, SwFlyFrameAttrMgr::DelAttr(), DelRight(), DFLT_HEIGHT, DFLT_WIDTH, SwEditShell::EndAllAction(), SwEditShell::EndUndo(), EnterSelFrameMode(), Fixed, SwFlyFrameAttrMgr::GetAttrSet(), SwFEShell::GetGraphicDefaultSize(), SwEditShell::GetGrfSize(), SwFlyFrameAttrMgr::GetSize(), Graphic::GetSizePixel(), GRF, HasSelection(), Size::Height(), o3tl::in, SwFEShell::Insert(), INSERT, SwEditShell::IsRedlineOn(), SwViewShell::mxDoc, RES_FRM_SIZE(), ResetCursorStack(), SwFlyFrameAttrMgr::SetAnchor(), Size::setHeight(), SwFlyFrameAttrMgr::SetHeightSizeType(), SwFlyFrameAttrMgr::SetSize(), Size::setWidth(), SwEditShell::StartAllAction(), SwEditShell::StartUndo(), SwResId(), o3tl::toTwips(), UndoArg1, SwFlyFrameAttrMgr::UpdateAttrMgr(), SwFlyFrameAttrMgr::UpdateFlyFrame(), and Size::Width().
Referenced by SwBaseShell::Execute(), InsertContentControl(), SwView::InsertGraphic(), SwTransferable::PasteDDE(), SwTransferable::PasteGrf(), and SwTransferable::PasteTargetURL().
void SwWrtShell::InsertLineBreak | ( | std::optional< SwLineBreakClear > | oClear = std::nullopt | ) |
Definition at line 979 of file wrtsh1.cxx.
References AutoCorrect(), CanInsert(), DelRight(), HasSelection(), Insert(), lcl_IsAllowed(), lcl_IsAutoCorr(), NONE, ResetCursorStack(), and SwEditShell::SetAttrItem().
Referenced by SwTextShell::ExecInsert().
|
private |
Definition at line 632 of file fefly1.cxx.
void SwWrtShell::InsertObject | ( | const svt::EmbeddedObjectRef & | xRef, |
SvGlobalName const * | pName, | ||
sal_uInt16 | nSlotId = 0 |
||
) |
Definition at line 409 of file wrtsh1.cxx.
References aName, svt::EmbeddedObjectRef::Assign(), CalcAndSetScale(), CanInsert(), SvxAbstractDialogFactory::Create(), comphelper::EmbeddedObjectContainer::CreateEmbeddedObject(), DelRight(), SfxInPlaceClient::DoVerb(), SvObjectServerList::FillInsertObjects(), SfxViewShell::FindIPClient(), FlyEmbedded, FlyEmbeddedPrt, SwFEShell::GetAnyCurRect(), SfxSlot::GetCommand(), GetFrameWeld(), svt::EmbeddedObjectRef::GetObject(), svt::EmbeddedObjectRef::GetSize(), SfxSlotPool::GetSlot(), comphelper::OStorageHelper::GetTemporaryStorage(), GetView(), svt::EmbeddedObjectRef::GetViewAspect(), HasSelection(), Size::Height(), SwRect::Height(), InsertOleObject(), svt::EmbeddedObjectRef::is(), SwViewShell::mxDoc, pName, SwRect::Pos(), SvObjectServerList::Remove(), SwFEShell::RequestObjectResize(), ResetCursorStack(), SwFEShell::SetCheckForOLEInCaption(), svt::EmbeddedObjectRef::SetGraphicStream(), SW_MOD, Size::Width(), and SwRect::Width().
Referenced by SwTextShell::ExecInsert().
bool SwWrtShell::InsertOleObject | ( | const svt::EmbeddedObjectRef & | xObj, |
SwFlyFrameFormat ** | pFlyFrameFormat = nullptr |
||
) |
Definition at line 513 of file wrtsh1.cxx.
References SwRewriter::AddRule(), SwFEShell::AlignFormulaToBaseline(), SwView::AutoCaption(), SwFEShell::CalcBoundRect(), DelRight(), SwEditShell::EndAllAction(), SwEditShell::EndUndo(), EnterSelFrameMode(), Fixed, SwFlyFrameAttrMgr::GetAnchor(), SwFlyFrameAttrMgr::GetAttrSet(), svt::EmbeddedObjectRef::GetObject(), SwEditShell::GetSelectedText(), svt::EmbeddedObjectRef::GetSize(), comphelper::EmbeddedObjectContainer::getUserAllowsLinkUpdate(), GetView(), Size::Height(), INSERT, SwFEShell::InsertObject(), svt::EmbeddedObjectRef::is(), SotExchange::IsChart(), SotExchange::IsMath(), SwCursorShell::IsSelection(), MATH_BASELINE_ALIGNMENT, SwViewShell::mxDoc, OLE, OLE_CAP, pName, ResetCursorStack(), Size::setHeight(), SwFlyFrameAttrMgr::SetHeightSizeType(), SwFlyFrameAttrMgr::SetSize(), comphelper::EmbeddedObjectContainer::setUserAllowsLinkUpdate(), Size::setWidth(), SwEditShell::SplitNode(), SwEditShell::StartAllAction(), SwEditShell::StartUndo(), SwResId(), ToOnlyCR, svt::EmbeddedObjectRef::TryRunningState(), UndoArg1, Size::Width(), and SwRect::Width().
Referenced by SwTextShell::ExecInsert(), SwTableFUNC::InsertChart(), InsertObject(), and SwTransferable::PasteOLE().
void SwWrtShell::InsertPageBreak | ( | const OUString * | pPageDesc = nullptr , |
const ::std::optional< sal_uInt16 > & | rPgNum = std::nullopt |
||
) |
Definition at line 941 of file wrtsh1.cxx.
References CanInsert(), SwDoc::ClearLineNumAttrs(), DelRight(), SwEditShell::EndUndo(), SwFEShell::FindPageDescByName(), SwCursorShell::GetCursor(), SwViewShell::GetDoc(), HasSelection(), SwCursorShell::IsCursorInTable(), lcl_IsAllowed(), RES_BREAK(), ResetCursorStack(), SwEditShell::SetAttrItem(), SwFormatPageDesc::SetNumOffset(), SwEditShell::SplitNode(), SwEditShell::StartUndo(), and UI_INSERT_PAGE_BREAK.
Referenced by SwTextShell::ExecInsert(), IMPL_LINK_NOARG(), and SwModule::InsertEnv().
void SwWrtShell::InsertPostIt | ( | SwFieldMgr & | rFieldMgr, |
const SfxRequest & | rReq | ||
) |
Inserts a new annotation/comment at the current cursor position / selection.
Definition at line 2228 of file wrtsh1.cxx.
References SL::aData, Cells, Chars, SwCursorShell::DeleteCurrent, End, EnterStdMode(), SwFieldType::FindFormatForField(), FOCUS, SwFormat::GetAnchor(), SwFormatAnchor::GetAnchorId(), SwFormatAnchor::GetAnchorNode(), SwPostItMgr::GetAnswerText(), SfxRequest::GetArg(), SwFormatAnchor::GetContentAnchor(), SwFieldMgr::GetCurField(), SwCursorShell::GetCurrentShellCursor(), SwViewShell::GetDoc(), SwView::GetEditWin(), IDocumentFieldsAccess::GetFieldType(), SwFlyFrame::GetFormat(), SwDoc::getIDocumentFieldsAccess(), SwPaM::GetPoint(), SwView::GetPostItMgr(), SwFEShell::GetSelectedFlyFrame(), SwField::GetTyp(), GetView(), HasSelection(), SwFieldMgr::InsertField(), comphelper::LibreOfficeKit::isActive(), SwPostItMgr::IsAnswer(), IsSelFrameMode(), SwCursorShell::IsTableMode(), comphelper::LibreOfficeKit::isTiledAnnotations(), SwCursorShell::KillPams(), SwCursorShell::Left(), Pop(), Postit, SwCursorShell::Push(), SwPostItMgr::RegisterAnswerText(), Right(), Start, SwEditWin::StopQuickHelp(), SW_MOD, and SwFieldType::Which().
Referenced by SwFrameShell::ExecField(), and SwTextShell::ExecField().
void SwWrtShell::InsertTableOf | ( | const SwTOXBase & | rTOX, |
const SfxItemSet * | pSet = nullptr |
||
) |
Definition at line 318 of file wrtsh2.cxx.
References CanInsert(), DelRight(), HasSelection(), and SwEditShell::InsertTableOf().
Referenced by SwTOXMgr::UpdateOrInsertTOX().
int SwWrtShell::IntelligentCut | ( | SelectionType | nSelectionType, |
bool | bCut = true |
||
) |
Definition at line 876 of file select.cxx.
References CH_TXTATR_BREAKWORD, CH_TXTATR_INWORD, Chars, SwCursorShell::ClearMark(), SwEditShell::Delete(), SwCursorShell::DeleteCurrent, GetAppCharClass(), SwCursorShell::GetChar(), IsAddMode(), SwCursorShell::IsCursorPtAtEnd(), CharClass::isLetterNumeric(), SwCursorShell::Left(), NO_WORD, Pop(), SwCursorShell::Push(), SwCursorShell::Right(), SwCursorShell::SetMark(), SwCursorShell::SwapPam(), Text, WORD_NO_SPACE, WORD_SPACE_AFTER, and WORD_SPACE_BEFORE.
Referenced by SwTransferable::DeleteSelection(), SwTransferable::DragFinished(), SwTransferable::PrepareForCopy(), SwTransferable::PrivateDrop(), and SwTransferable::SetDataForDragAndDrop().
void SwWrtShell::Invalidate | ( | ) |
Definition at line 53 of file select.cxx.
References FN_STAT_SELMODE, SfxViewFrame::GetBindings(), SfxViewFrame::GetChildWindow(), GetView(), SfxViewShell::GetViewFrame(), SfxBindings::Invalidate(), SfxBindings::Update(), and SwWordCountWrapper::UpdateCounts().
Referenced by EnterAddMode(), EnterBlockMode(), EnterSelFrameMode(), EnterStdMode(), LeaveAddMode(), LeaveBlockMode(), LeaveSelFrameMode(), ResetSelect(), SetInsMode(), SttSelect(), ToggleAddMode(), ToggleBlockMode(), and ToggleExtMode().
void SwWrtShell::InvalidateOutlineContentVisibility | ( | ) |
Definition at line 2543 of file wrtsh1.cxx.
References SwView::GetEditWin(), SwEditWin::GetFrameControlsManager(), SwViewShell::GetNodes(), SwNodes::GetOutLineNds(), GetView(), SwFrameControlsManager::HideControls(), IsOutlineContentVisible(), MakeOutlineContentVisible(), nPos, Outline, and o3tl::sorted_vector< typename Value, typename Compare, template< typename, typename > class Find, bool >::size().
Referenced by SwContentTree::ExecuteContextMenuAction(), MakeAllFoldedOutlineContentVisible(), and SwEditWin::ToggleOutlineContentVisibility().
|
inline |
Definition at line 671 of file wrtsh.hxx.
References BeginDrag(), and m_fnDrag.
Referenced by SwEditWin::MouseMove().
|
inline |
Definition at line 163 of file wrtsh.hxx.
Referenced by SwTextShell::Execute(), SwGlossaryHdl::ExpandGlossary(), IntelligentCut(), SwEditWin::MouseButtonDown(), SwEditWin::MouseButtonUp(), SwEditWin::MouseMove(), SwTransferable::PrepareForCopy(), SwTransferable::PrivateDrop(), and SwView::StateStatusLine().
|
inline |
Definition at line 168 of file wrtsh.hxx.
Referenced by DelLeft(), DelRight(), SwTextShell::Execute(), SwGlossaryHdl::ExpandGlossary(), SwTextShell::GetState(), SwEditWin::MouseButtonDown(), SwEditWin::MouseMove(), SwTransferable::PrivateDrop(), and SwView::StateStatusLine().
|
inline |
Definition at line 197 of file wrtsh.hxx.
References SwCursorShell::IsEndPara().
Referenced by InsertField2().
bool SwWrtShell::IsEndWrd | ( | ) |
Definition at line 196 of file wrtsh1.cxx.
References SwCursorShell::IsEndPara(), SwCursorShell::IsEndWord(), and SwCursorShell::IsSttPara().
Referenced by DelNxtWord(), DelPrvWord(), EndWrd(), SwGlossaryHdl::ExpandGlossary(), SwTransferable::PrivateDrop(), SwTransferable::PrivatePaste(), and SelNearestWrd().
|
inline |
Definition at line 158 of file wrtsh.hxx.
Referenced by SwGlossaryHdl::ExpandGlossary(), and SwEditWin::MouseButtonDown().
|
inline |
Definition at line 188 of file wrtsh.hxx.
Referenced by DefaultEndDrag().
|
inline |
Definition at line 669 of file wrtsh.hxx.
References m_bIsInClickToEdit.
Referenced by SwTextShell::ExecInsert(), and SwBaseShell::InsertTable().
|
inline |
Definition at line 144 of file wrtsh.hxx.
Referenced by SwTextShell::Execute(), SwEditWin::MouseButtonDown(), SwEditWin::MouseButtonUp(), SwEditWin::MouseMove(), SetCursor(), and SwEditWin::StartDrag().
|
inline |
Definition at line 172 of file wrtsh.hxx.
Referenced by AutoCorrect(), SwSpellPopup::Execute(), SwTextShell::Execute(), and SwView::StateStatusLine().
|
inline |
Definition at line 138 of file wrtsh.hxx.
Referenced by ~SwWrtShell().
bool SwWrtShell::IsOutlineContentVisible | ( | const size_t | nPos | ) |
Definition at line 2330 of file wrtsh1.cxx.
References GetAttrOutlineContentVisible(), SwViewShell::GetDoc(), SwNodes::GetEndOfContent(), SwSection::GetFormat(), SwContentNode::getLayoutFrame(), SwNodeIndex::GetNode(), SwDoc::GetNodes(), SwNodeIndex::GetNodes(), SwNodes::GetOutLineNds(), SwSectionNode::GetSection(), SwNode::GetSectionNode(), SwTableNode::GetTable(), SwNode::GetTableNode(), SwNode::GetTextNode(), SwViewShell::GetViewOptions(), SwTable::HasLayout(), SwNode::IsSectionNode(), SwNode::IsTableNode(), SwNode::IsTextNode(), SwSectionFormat::IsVisible(), nPos, and o3tl::sorted_vector< typename Value, typename Compare, template< typename, typename > class Find, bool >::size().
Referenced by SwContentTree::ExecuteContextMenuAction(), InvalidateOutlineContentVisibility(), lcl_SetOutlineContentEntriesSensitivities(), and SwEditWin::ToggleOutlineContentVisibility().
|
inline |
Definition at line 276 of file wrtsh.hxx.
Referenced by EnterStdMode().
|
inline |
Definition at line 177 of file wrtsh.hxx.
Referenced by SwPostItMgr::AssureStdModeAtShell(), CanInsert(), SwTemplateControl::Command(), SwTransferable::DragFinished(), SwDrawBase::EnterSelectMode(), EnterStdMode(), SwMediaShell::ExecMedia(), SwBaseShell::Execute(), SwBezierShell::Execute(), SwDrawBaseShell::Execute(), GetSelectionType(), SwBaseShell::GetState(), GotoContentControl(), GotoField(), GotoFieldmark(), GotoPage(), InsertPostIt(), SwXTextViewCursor::jumpToFirstPage(), SwXTextViewCursor::jumpToLastPage(), SwEditWin::KeyInput(), lcl_ActivateTextShell(), lcl_AssureStdModeAtShell(), MakeAllFoldedOutlineContentVisible(), SwDrawBase::MouseButtonDown(), SwEditWin::MouseButtonDown(), SwDrawBase::MouseButtonUp(), SwEditWin::MouseButtonUp(), SwEditWin::MouseMove(), MoveBookMark(), SwTransferable::PrivateDrop(), ResetSelect(), SwEditWin::SelectMenuPosition(), SwEditWin::SetApplyTemplate(), SetPageStyle(), SwEditWin::StartDrag(), SwTransferable::StartDrag(), SwTextShell::StateInsert(), SwBaseShell::StateUndo(), SwEditWin::StopDDTimer(), and SwShellCursor::UpDown().
bool SwWrtShell::IsSplitVerticalByDefault | ( | ) | const |
Definition at line 376 of file select.cxx.
References SwViewShell::GetDoc(), and SwDoc::IsSplitVerticalByDefault().
Referenced by SwTableShell::Execute().
|
inline |
Definition at line 153 of file wrtsh.hxx.
Referenced by SwView::StateStatusLine().
|
inline |
Definition at line 196 of file wrtsh.hxx.
References SwCursorShell::IsSttPara().
Referenced by BwdPara_(), SwTextShell::Execute(), and SwEditWin::KeyInput().
|
inline |
Definition at line 126 of file wrtsh.hxx.
Referenced by SwTranslateHelper::PasteHTMLToPaM().
void SwWrtShell::LaunchOLEObj | ( | sal_Int32 | nVerb = css::embed::EmbedVerbs::MS_OLEVERB_PRIMARY | ) |
Definition at line 654 of file wrtsh1.cxx.
References aArguments, CalcAndSetScale(), CNT_OLE, SfxInPlaceClient::DoVerb(), SfxViewShell::FindIPClient(), SwEditShell::GetCntType(), svt::EmbeddedObjectRef::GetObject(), SwEditShell::GetOLEObject(), GetView(), svt::EmbeddedObjectRef::is(), comphelper::LibreOfficeKit::isActive(), SotExchange::IsChart(), SotExchange::IsMath(), SfxInPlaceClient::IsProtected(), and comphelper::makePropertyValue().
Referenced by SwView::DoVerb(), SwTextShell::ExecInsert(), SwEditWin::KeyInput(), and SwEditWin::MouseButtonDown().
void SwWrtShell::LeaveAddMode | ( | ) |
Definition at line 650 of file select.cxx.
References Invalidate(), m_bAddMode, m_fnKillSel, m_fnSetCursor, ResetSelect(), and SetCursorKillSel().
Referenced by AddLeaveSelect(), SwContentTree::CopyOutlineSelections(), SwContentTree::DeleteOutlineSelections(), EnterStdMode(), SwContentTree::ExecuteContextMenuAction(), SwGlossaryHdl::ExpandGlossary(), IMPL_LINK_NOARG(), SwEditWin::MouseButtonDown(), SwEditWin::MouseButtonUp(), PopMode(), and ToggleAddMode().
void SwWrtShell::LeaveBlockMode | ( | ) |
Definition at line 669 of file select.cxx.
References SwCursorShell::BlockCursorToCursor(), EndSelect(), Invalidate(), and m_bBlockMode.
Referenced by EnterAddMode(), EnterExtMode(), EnterStdMode(), SwGlossaryHdl::ExpandGlossary(), PopMode(), SelAll(), and ToggleBlockMode().
void SwWrtShell::LeaveExtMode | ( | ) |
Definition at line 607 of file select.cxx.
References EndSelect(), and m_bExtMode.
Referenced by SwGlossaryHdl::ExpandGlossary(), PopMode(), and ToggleExtMode().
|
inlineprivate |
Definition at line 635 of file wrtsh.hxx.
Referenced by DefaultEndDrag().
void SwWrtShell::LeaveSelFrameMode | ( | ) |
Definition at line 729 of file select.cxx.
References BeginDrag(), bStartDrag, DefaultEndDrag(), Edit(), FLY_DRAG_END, Invalidate(), m_bLayoutMode, m_fnDrag, m_fnEndDrag, and SwBaseShell::SetFrameMode().
Referenced by SwPostItMgr::AssureStdModeAtShell(), DelLeft(), DelRight(), SwEditWin::EnterDrawMode(), SwDrawBase::EnterSelectMode(), EnterStdMode(), SwMediaShell::ExecMedia(), SwView::ExecTabWin(), SwBaseShell::Execute(), SwBezierShell::Execute(), SwDrawBaseShell::Execute(), GotoContentControl(), GotoField(), GotoFieldmark(), GotoPage(), InsertContentControl(), SwModule::InsertEnv(), SwXTextViewCursor::jumpToFirstPage(), SwXTextViewCursor::jumpToLastPage(), SwEditWin::KeyInput(), lcl_AssureStdModeAtShell(), lcl_UnSelectFrame(), MakeAllFoldedOutlineContentVisible(), SwSpellDialogChildWindow::MakeTextSelection_Impl(), SwEditWin::MouseButtonDown(), SwDrawBase::MouseButtonUp(), MoveBookMark(), SwTransferable::PrivateDrop(), PushCursor(), ResetSelect(), SwEditWin::SelectMenuPosition(), and SwTransferable::SetSelInShell().
|
inlineprivate |
Definition at line 364 of file crsrsh.hxx.
bool SwWrtShell::Left | ( | SwCursorSkipMode | nMode, |
bool | bSelect, | ||
sal_uInt16 | nCount, | ||
bool | bBasicCall, | ||
bool | bVisual = false |
||
) |
Definition at line 110 of file move.cxx.
References Point::AdjustX(), SwViewShell::GetViewOptions(), SwCursorShell::IsCursorReadonly(), SwCursorShell::Left(), m_rView, nCount, nReadOnlyScrollOfst, Pos, SwView::SetVisArea(), SwViewShell::VisArea(), and Width.
Referenced by SwInsFootNoteDlg::Apply(), SwTextShell::ExecBasicMove(), SwBaseShell::ExecDelete(), SwSpellPopup::Execute(), SwTextShell::Execute(), SwXTextViewCursor::goLeft(), SwContentTree::GotoContent(), SwInsFootNoteDlg::Init(), InsertContentControl(), SwFieldMgr::InsertField(), InsertFootnote(), SwEditWin::KeyInput(), SwEditWin::MouseButtonDown(), SwHHCWrapper::ReplaceUnit(), SelNearestWrd(), and SwTOXMgr::UpdateTOXMark().
|
inlineprivate |
Definition at line 370 of file crsrsh.hxx.
bool SwWrtShell::LeftMargin | ( | bool | bSelect, |
bool | bBasicCall | ||
) |
Definition at line 174 of file move.cxx.
References DOCUMENTBORDER, SwCursorShell::IsCursorReadonly(), SwCursorShell::LeftMargin(), m_rView, Pos, SwView::SetVisArea(), Point::setX(), and SwViewShell::VisArea().
Referenced by SwTextShell::ExecMove(), and SwXTextViewCursor::gotoStartOfLine().
void SwWrtShell::MakeAllFoldedOutlineContentVisible | ( | bool | bMakeVisible = true | ) |
Definition at line 2560 of file wrtsh1.cxx.
References SwCursorShell::EndAction(), SwFEShell::EndTextEdit(), EnterStdMode(), SwCursorShell::GetCurrFrame(), SwView::GetDocShell(), SwViewShell::GetDrawView(), SwView::GetEditWin(), SwEditWin::GetFrameControlsManager(), SwViewShell::GetNodes(), SwCursorShell::GetOutlinePos(), GetView(), GotoOutline(), SwFrameControlsManager::HideControls(), InvalidateOutlineContentVisibility(), SwFrameAreaDefinition::isFrameAreaDefinitionValid(), SwFrame::IsInDtor(), SwFEShell::IsObjSelected(), IsSelFrameMode(), SdrObjEditView::IsTextEdit(), SwViewShell::IsViewLocked(), SwView::LeaveDrawCreate(), LeaveSelFrameMode(), SwViewShell::LockView(), nPos, SwOutlineNodes::npos, Outline, SwCursorShell::StartAction(), and UnSelectFrame().
Referenced by SwView::ExecViewOptions(), MakeAllOutlineContentTemporarilyVisible::MakeAllOutlineContentTemporarilyVisible(), and MakeAllOutlineContentTemporarilyVisible::~MakeAllOutlineContentTemporarilyVisible().
void SwWrtShell::MakeOutlineContentVisible | ( | const size_t | nPos, |
bool | bMakeVisible = true , |
||
bool | bSetAttrOutlineVisibility = true |
||
) |
Definition at line 2424 of file wrtsh1.cxx.
References SwNodeIndex::Assign(), SwContentNode::DelFrames(), SwTableNode::DelFrames(), SwNode::EndOfSectionIndex(), SwNode::EndOfSectionNode(), SwTextNode::GetAttrOutlineContentVisible(), SwTextNode::GetAttrOutlineLevel(), SwNode::GetContentNode(), SwViewShell::GetDoc(), SwNodes::GetEndOfContent(), SwNodes::GetEndOfExtras(), SwNode::GetIndex(), SwContentNode::getLayoutFrame(), SwView::GetMaxOutlineLevelShown(), SwNodeIndex::GetNode(), SwViewShell::GetNodes(), SwNodes::GetOutLineNds(), SwNode::GetTableBox(), SwNode::GetTableNode(), SwNode::GetTextNode(), SwViewShell::GetViewOptions(), SwNode::IsContentNode(), SwTextNode::IsOutline(), SwNode::IsTableNode(), SwNode::IsTextNode(), m_rView, MakeFrames(), MakeOutlineContentVisible(), nPos, SwOutlineNodes::Seek_Entry(), SwTextNode::SetAttrOutlineContentVisible(), o3tl::sorted_vector< typename Value, typename Compare, template< typename, typename > class Find, bool >::size(), and SwNode::StartOfSectionNode().
Referenced by InvalidateOutlineContentVisibility(), MakeOutlineContentVisible(), and MakeOutlineLevelsVisible().
void SwWrtShell::MakeOutlineLevelsVisible | ( | const int | nLevel | ) |
Definition at line 2376 of file wrtsh1.cxx.
References a, SwContentNode::DelFrames(), SwTextNode::GetAttrOutlineLevel(), SwViewShell::GetDoc(), SwDoc::GetDocShell(), SwViewShell::GetLayout(), SwContentNode::getLayoutFrame(), SwNodeIndex::GetNode(), SwViewShell::GetNodes(), SwNodes::GetOutLineNds(), SwNode::GetTextNode(), m_rView, MakeFrames(), MakeOutlineContentVisible(), nPos, SwView::SetMaxOutlineLevelShown(), and o3tl::sorted_vector< typename Value, typename Compare, template< typename, typename > class Find, bool >::size().
Referenced by SwView::Execute().
|
private |
Definition at line 49 of file wrtsh3.cxx.
References addCurrentPosition(), BOOKMARK_INDEX, BOOKMARK_NEXT, BOOKMARK_PREV, SwCursorShell::GoNextBookmark(), SwCursorShell::GoPrevBookmark(), SwCursorShell::GotoMark(), SwCursorShell::IsSelection(), IsSelFrameMode(), LeaveSelFrameMode(), m_fnKillSel, m_fnSetCursor, ResetSelect(), SetCursorKillSel(), and UnSelectFrame().
Referenced by GoNextBookmark(), GoPrevBookmark(), and GotoMark().
void SwWrtShell::MoveCursor | ( | bool | bWithSelect = false | ) |
Definition at line 74 of file move.cxx.
References SwCursorShell::ClearGCAttr(), EndSelect(), SwEditShell::GCAttr(), SwCursorShell::IsGCAttr(), m_fnKillSel, ResetCursorStack(), and SttSelect().
Referenced by SwTextShell::ExecMoveMisc(), IMPL_LINK(), and SimpleMove().
|
overridevirtual |
The layout has been changed, so the active object has to be moved after that.
Reimplemented from SwFEShell.
Definition at line 694 of file wrtsh1.cxx.
References SfxViewShell::FindIPClient(), SfxInPlaceClient::GetObjArea(), svt::EmbeddedObjectRef::GetObject(), GetView(), nState, and SfxInPlaceClient::SetObjArea().
void SwWrtShell::NavigatorPaste | ( | const NaviContentBookmark & | rBkmk, |
const sal_uInt16 | nAction | ||
) |
Definition at line 619 of file wrtsh2.cxx.
References Content, sfx2::cTokenSeparator, SwEditShell::DoesUndo(), SwEditShell::DoUndo(), EMPTY, EXCHG_IN_ACTION_COPY, EXCHG_IN_ACTION_MOVE, FileLink, NaviContentBookmark::GetDescription(), SwView::GetDocShell(), SwSection::GetFormat(), SwEditShell::GetLastUndoInfo(), SfxObjectShell::GetMedium(), SwEditShell::GetSectionFormatPos(), o3tl::getToken(), SwEditShell::GetUniqueSectionName(), NaviContentBookmark::GetURL(), INetURLObject::GetURLNoMark(), SfxMedium::GetURLObject(), GetView(), SfxObjectShell::HasName(), SwEditShell::InsertSection(), SwEditShell::InsertURL(), INSSECTION, SwSectionData::SetLinkFileName(), SwSectionData::SetProtectFlag(), SwSectionData::SetType(), and SwEditShell::UpdateSection().
Referenced by SwTransferable::PasteData().
void SwWrtShell::NoEdit | ( | bool | bHideCursor = true | ) |
Definition at line 182 of file wrtsh1.cxx.
References SwCursorShell::HideCursor().
Referenced by SwDrawBase::Activate(), SwBezierShell::Execute(), SwEditWin::SetApplyTemplate(), SwDrawBaseShell::SwDrawBaseShell(), and SwDrawFormShell::SwDrawFormShell().
void SwWrtShell::NumOn | ( | ) |
Definition at line 1667 of file wrtsh1.cxx.
References NumOrBulletOn().
Referenced by SwTextShell::ExecEnterNum().
void SwWrtShell::NumOrBulletOff | ( | ) |
Definition at line 1672 of file wrtsh1.cxx.
References SwEditShell::DelNumRules(), SwNumRule::Get(), SwTextNode::GetActualListLevel(), SwCursorShell::GetCursor(), SwViewShell::GetLayout(), GetNode(), SwEditShell::GetNumRuleAtCurrCursorPos(), sw::GetParaPropsNode(), SwNumRule::IsOutlineRule(), MAXLEVEL, SwNumRule::Set(), SwEditShell::SetCurNumRule(), SwCursorShell::SetInFrontOfLabel(), SvxNumberType::SetNumberingType(), and SVX_NUM_NUMBER_NONE.
Referenced by SwTextShell::ExecEnterNum().
void SwWrtShell::NumOrBulletOn | ( | bool | bNum | ) |
Turns on numbering or bullets.
bNum | true: turn on numbering false: turn on bullets |
Definition at line 1356 of file wrtsh1.cxx.
References SwNumRule::ChangeIndent(), SwEditShell::EndUndo(), SwNumRule::Get(), SwTextNode::GetActualListLevel(), SwTextNode::GetAdditionalIndentForStartingNewList(), SwTextFormatColl::GetAssignedOutlineStyleLevel(), numfunc::GetBulletChar(), SwEditShell::GetCharFormatFromPool(), SwCursorShell::GetCursor(), SwEditShell::GetCurTextFormatColl(), numfunc::GetDefaultPositionAndSpaceMode(), numfunc::GetDefBulletFont(), SwViewShell::GetDoc(), SwView::GetDocShell(), SvxNumberFormat::GetFirstLineIndent(), SwDoc::getIDocumentContentOperations(), SvxNumberFormat::GetIndentAt(), SwViewShell::GetLayout(), GetNode(), SvxNumberType::GetNumberingType(), SwTextNode::GetNumRule(), SwFormat::GetNumRule(), SwEditShell::GetNumRuleAtCurrCursorPos(), SwEditShell::GetOutlineNumRule(), sw::GetParaPropsNode(), SvxNumberFormat::GetPositionAndSpaceMode(), SwEditShell::GetUniqueNumRuleName(), CntUnencodedStringItem::GetValue(), GetView(), SwTextNode::GetWidthOfLeadingTabs(), SwTextFormatColl::IsAssignedToListLevelOfOutlineStyle(), SwNumRule::IsAutoRule(), SwTextNode::IsCountedInList(), numfunc::IsDefBulletFontUserDefined(), SwCursorShell::IsInRightToLeftText(), SvxNumberFormat::LABEL_ALIGNMENT, SvxNumberFormat::LABEL_WIDTH_AND_POSITION, MAXLEVEL, SwViewShell::mxDoc, NUMORNONUM, IDocumentContentOperations::RemoveLeadingWhiteSpace(), RES_POOLCHR_BULLET_LEVEL, RES_POOLCHR_NUM_LEVEL, SwDoc::SearchNumRule(), SwNumRule::Set(), SvxNumberFormat::SetAbsLSpace(), SvxNumberFormat::SetBulletChar(), SvxNumberFormat::SetBulletFont(), SwNumFormat::SetCharFormat(), SwEditShell::SetCurNumRule(), SvxNumberFormat::SetListFormat(), SvxNumberFormat::SetNumAdjust(), SvxNumberType::SetNumberingType(), SwEditShell::StartUndo(), SVX_NUM_ARABIC, SVX_NUM_CHAR_SPECIAL, and SVX_NUM_NUMBER_NONE.
Referenced by BulletOn(), and NumOn().
|
inline |
Definition at line 217 of file wrtsh.hxx.
References NxtWrd_().
Referenced by SwTextShell::ExecMoveLingu().
|
private |
Definition at line 67 of file wrtsh4.cxx.
References Chars, SwCursorShell::ClearMark(), SwCursorShell::Combine(), SwCursorShell::DeleteCurrent, fnParaEnd, GoCurrPara(), SwCursorShell::GoNextWord(), SwCursorShell::IsEndPara(), SwCursorShell::IsStartWord(), SwCursorShell::MovePara(), Pop(), SwCursorShell::Push(), and SwCursorShell::Right().
Referenced by NxtWrd().
|
private |
Definition at line 131 of file wrtsh4.cxx.
References Chars, SwCursorShell::ClearMark(), SwCursorShell::Combine(), SwCursorShell::DeleteCurrent, fnParaEnd, GoCurrPara(), SwCursorShell::GoNextWord(), SwCursorShell::IsEndPara(), SwCursorShell::MovePara(), Pop(), SwCursorShell::Push(), and SwCursorShell::Right().
Referenced by DelNxtWord().
|
inlineprivate |
Definition at line 40 of file delete.cxx.
References SwCursorShell::KillPams(), ResetCursorStack(), SwCursorShell::SetMark(), and SwEditShell::StartAllAction().
Referenced by DelLeft(), DelRight(), DelToEndOfLine(), DelToEndOfSentence(), DelToStartOfLine(), and DelToStartOfSentence().
bool SwWrtShell::PageCursor | ( | SwTwips | lOffset, |
bool | bSelect | ||
) |
if no stack exists --> cancel selection if stack && change of direction --> pop cursor and return else --> push cursor transpose cursor
Definition at line 587 of file move.cxx.
References m_ePageMove, MV_NO, MV_PAGE_DOWN, MV_PAGE_UP, PopCursor(), and PushCursor().
bool SwWrtShell::Pop | ( | SwCursorShell::PopMode | eDelete, |
::std::optional< SwCallLink > & | roLink | ||
) |
Definition at line 2047 of file wrtsh1.cxx.
References SwCursorShell::IsSelection(), m_fnKillSel, m_fnSetCursor, SwCursorShell::Pop(), ResetSelect(), and SetCursorKillSel().
Referenced by SwMailMergeLayoutPage::Activate(), SwInputWindow::ApplyFormula(), BwdSentence_(), SwInputWindow::CancelFormula(), SwDocShell::ConvertTo(), SwFormatClipboard::Copy(), SwInputWindow::DelBoxContent(), SwEditWin::DeleteSurroundingText(), DelLine(), DelToEndOfPara(), DelToEndOfSentence(), DelToStartOfPara(), SwTextShell::ExecField(), SwView::ExecTabWin(), SwTextShell::Execute(), SwBreakDashedLine::execute(), SwEditWin::FlushInBuffer(), FwdSentence_(), SwEditWin::GetSurroundingText(), SwEditWin::GetSurroundingTextSelection(), IMPL_LINK(), SwHandleAnchorNodeChg::ImplDestroy(), Insert(), BookmarkTable::InsertBookmark(), SwFieldMgr::InsertField(), SwMailMergeLayoutPage::InsertGreeting(), SwModule::InsertLab(), SwIndexMarkPane::InsertMark(), InsertPostIt(), IntelligentCut(), SwTextContentControl::Invalidate(), ItemSetToTableParam(), SwEditWin::KeyInput(), lcl_OutlineUpDownWithSubPoints(), lcl_SetAllTextToDefaultLanguage(), lcl_TableParamToItemSet(), NxtWrd_(), NxtWrdForDelete(), Pop(), SwTransferable::PrivateDrop(), PrvWrd_(), PrvWrdForDelete(), SelAll(), SwLangHelper::SetLanguageStatus(), sw_CharDialog(), sw_CharDialogResult(), SwGrfShell::SwExternalToolEdit::Update(), and SwDropCapsPict::UpdatePaintSettings().
bool SwWrtShell::Pop | ( | SwCursorShell::PopMode | eDelete = SwCursorShell::PopMode::DeleteStack | ) |
Definition at line 2041 of file wrtsh1.cxx.
References Pop().
|
private |
Definition at line 523 of file move.cxx.
References SwRect::Contains(), EndSelect(), EnterSelFrameMode(), SwCursorShell::HideCursor(), SwFEShell::IsObjSelectable(), m_bDestOnStack, m_ePageMove, m_fnSetCursor, m_pCursorStack, MV_NO, SwRect::Pos(), ResetCursorStack_(), SwFEShell::SelectObj(), SttSelect(), and SwViewShell::VisArea().
Referenced by PageCursor(), and ~SwWrtShell().
void SwWrtShell::PopMode | ( | ) |
Definition at line 293 of file select.cxx.
References SwWrtShell::ModeStack::bAdd, SwWrtShell::ModeStack::bBlock, SwWrtShell::ModeStack::bExt, SwWrtShell::ModeStack::bIns, LeaveAddMode(), LeaveBlockMode(), LeaveExtMode(), m_bAddMode, m_bBlockMode, m_bExtMode, m_bIns, m_pModeStack, and SwWrtShell::ModeStack::pNext.
Referenced by SwEditWin::MouseButtonUp(), SwEditWin::StartDrag(), and ~SwWrtShell().
|
inline |
Definition at line 218 of file wrtsh.hxx.
References PrvWrd_().
Referenced by SwTextShell::ExecMoveLingu(), SwGlossaryHdl::ExpandGlossary(), and SelNearestWrd().
|
private |
Definition at line 98 of file wrtsh4.cxx.
References Chars, SwCursorShell::ClearMark(), SwCursorShell::Combine(), SwCursorShell::DeleteCurrent, fnParaStart, GoCurrPara(), SwCursorShell::GoPrevWord(), SwCursorShell::IsEndPara(), SwCursorShell::IsStartWord(), SwCursorShell::IsSttPara(), SwCursorShell::Left(), SwCursorShell::MovePara(), Pop(), and SwCursorShell::Push().
Referenced by PrvWrd().
|
private |
Definition at line 154 of file wrtsh4.cxx.
References Chars, SwCursorShell::ClearMark(), SwCursorShell::Combine(), SwCursorShell::DeleteCurrent, fnParaStart, GoCurrPara(), SwCursorShell::GoPrevWord(), SwCursorShell::IsSttPara(), SwCursorShell::Left(), SwCursorShell::MovePara(), Pop(), and SwCursorShell::Push().
Referenced by DelPrvWord().
|
private |
Definition at line 446 of file move.cxx.
References Point::AdjustY(), SwCursorShell::CallChgLnk(), SwRect::Contains(), EndSelect(), SwCursorShell::GetCharRect(), SwFEShell::GetContentPos(), GetView(), SwRect::Height(), SwCursorShell::IsCursorVisible(), SwFEShell::IsFrameSelected(), SwFEShell::IsObjSelected(), SwView::LeaveDrawCreate(), LeaveSelFrameMode(), m_aDest, m_bDestOnStack, m_fnSetCursor, m_pCursorStack, SwRect::Pos(), SwView::SetDrawFuncPtr(), Point::setX(), Point::setY(), SttSelect(), SwRect::Top(), UnSelectFrame(), SwViewShell::VisArea(), and Point::X().
Referenced by PageCursor().
void SwWrtShell::PushMode | ( | ) |
Definition at line 288 of file select.cxx.
References m_bAddMode, m_bBlockMode, m_bExtMode, m_bIns, and m_pModeStack.
Referenced by SwEditWin::MouseButtonDown().
void SwWrtShell::QuickUpdateStyle | ( | ) |
Definition at line 1895 of file wrtsh1.cxx.
References SwEditShell::FillByEx(), SwEditShell::GetCurTextFormatColl(), SwFormat::IsDefault(), and SwEditShell::SetTextFormatColl().
Referenced by SwTextShell::ExecCharAttr().
|
inline |
Definition at line 651 of file wrtsh.hxx.
References HasCursorStack(), and ResetCursorStack_().
Referenced by AutoCorrect(), DelLeft(), DelLine(), DelNxtWord(), DelPrvWord(), DelRight(), DelToEndOfPara(), DelToStartOfPara(), Insert(), InsertColumnBreak(), InsertContentControl(), InsertField2(), InsertFootnote(), InsertGraphic(), InsertLineBreak(), InsertObject(), InsertOleObject(), InsertPageBreak(), SwEditWin::MouseButtonDown(), MoveCursor(), OpenMark(), SwEditWin::SelectMenuPosition(), and SplitNode().
|
private |
Definition at line 571 of file move.cxx.
References m_bDestOnStack, m_ePageMove, m_pCursorStack, and MV_NO.
Referenced by PopCursor(), and ResetCursorStack().
tools::Long SwWrtShell::ResetSelect | ( | const Point * | , |
bool | |||
) |
Definition at line 342 of file select.cxx.
References Link< typename Arg, typename Ret >::Call(), SwCursorShell::ClearMark(), SwTransferable::ClearSelection(), SwCursorShell::GetChgLnk(), SwCursorShell::GetEnhancedTableSelection(), Ignore(), Invalidate(), IsSelFrameMode(), SwCursorShell::KillPams(), LeaveSelFrameMode(), m_bSelLn, m_bSelWrd, m_fnKillSel, m_fnSetCursor, SwTable::SEARCH_NONE, SetCursor(), UnSelectFrame(), and SwCursorShell::UnsetEnhancedTableSelection().
Referenced by SwInsFootNoteDlg::Apply(), SwIndexMarkPane::Apply(), Do(), EndSelect(), EnterStdMode(), SwTableShell::Execute(), SwTextShell::Execute(), GotoContentControl(), GotoField(), GotoFieldmark(), LeaveAddMode(), MoveBookMark(), Pop(), SwTransferable::PrivatePaste(), SwXTextDocument::resetSelection(), SelectNextPrevHyperlink(), SelectTableCell(), SelectTableCol(), SelectTableRow(), SelectTableRowCol(), SetCursorKillSel(), and SwInsFootNoteDlg::~SwInsFootNoteDlg().
|
inlineprivate |
Definition at line 366 of file crsrsh.hxx.
bool SwWrtShell::Right | ( | SwCursorSkipMode | nMode, |
bool | bSelect, | ||
sal_uInt16 | nCount, | ||
bool | bBasicCall, | ||
bool | bVisual = false |
||
) |
Definition at line 127 of file move.cxx.
References Point::AdjustX(), SwViewShell::GetViewOptions(), SwCursorShell::IsCursorReadonly(), m_rView, nCount, nReadOnlyScrollOfst, Pos, SwCursorShell::Right(), SwView::SetHScrollMax(), SwView::SetVisArea(), Point::setX(), SwViewShell::VisArea(), Width, and Point::X().
Referenced by SwInsFootNoteDlg::Apply(), ClickToField(), SwContentTree::CopyOutlineSelections(), SwContentTree::DeleteOutlineSelections(), SwFieldEditDlg::EnsureSelection(), SwTextShell::ExecBasicMove(), SwXTextViewCursor::goRight(), SwContentTree::GotoContent(), SwInsFootNoteDlg::Init(), SwModule::InsertEnv(), SwFieldMgr::InsertField(), InsertPostIt(), SwEditWin::KeyInput(), and SwHHCWrapper::SelectNewUnit_impl().
|
inlineprivate |
Definition at line 371 of file crsrsh.hxx.
bool SwWrtShell::RightMargin | ( | bool | bSelect, |
bool | bBasicCall | ||
) |
Definition at line 190 of file move.cxx.
References DOCUMENTBORDER, SwViewShell::GetDocSize(), SwCursorShell::IsCursorReadonly(), m_rView, Pos, SwCursorShell::RightMargin(), SwView::SetVisArea(), Point::setX(), SwViewShell::VisArea(), Width, and Point::X().
Referenced by SwTextShell::ExecMove(), and SwXTextViewCursor::gotoEndOfLine().
sal_Int32 SwWrtShell::SearchAttr | ( | const SfxItemSet & | rFindSet, |
bool | bNoColls, | ||
SwDocPositions | eStart, | ||
SwDocPositions | eEnd, | ||
FindRanges | eFlags = FindRanges::InBody , |
||
const i18nutil::SearchOptions2 * | pSearchOpt = nullptr , |
||
const SfxItemSet * | pReplaceSet = nullptr |
||
) |
Definition at line 265 of file select.cxx.
References SwCursorShell::ClearMark(), SwCursorShell::FindAttrs(), InSel, SAL_MAX_INT32, and SwEditShell::Undo().
sal_Int32 SwWrtShell::SearchPattern | ( | const i18nutil::SearchOptions2 & | rSearchOpt, |
bool | bSearchInNotes, | ||
SwDocPositions | eStart, | ||
SwDocPositions | eEnd, | ||
FindRanges | eFlags = FindRanges::InBody , |
||
bool | bReplace = false |
||
) |
Definition at line 221 of file select.cxx.
References SwCursorShell::ClearMark(), SwCursorShell::Find_Text(), InSel, SAL_MAX_INT32, and SwEditShell::Undo().
sal_Int32 SwWrtShell::SearchTempl | ( | const OUString & | rTempl, |
SwDocPositions | eStart, | ||
SwDocPositions | eEnd, | ||
FindRanges | eFlags = FindRanges::InBody , |
||
const OUString * | pReplTempl = nullptr |
||
) |
Definition at line 240 of file select.cxx.
References SwCursorShell::ClearMark(), SwCursorShell::FindFormat(), SwEditShell::GetDfltTextFormatColl(), GetParaStyle(), GETSTYLE_CREATESOME, InSel, SAL_MAX_INT32, and SwEditShell::Undo().
void SwWrtShell::SelAll | ( | ) |
Definition at line 124 of file select.cxx.
References SwCursorShell::DeleteCurrent, EndSelect(), EnterStdMode(), SwCursorShell::ExtendedSelectAll(), SwCursorShell::ExtendedSelectedAll(), fnSectionEnd, fnSectionStart, SwViewShell::GetDoc(), SwPaM::GetMark(), SwPaM::GetPoint(), SwCursorShell::getShellCursor(), GoCurrSection(), GoEnd(), GoStart(), SwFEShell::HasWholeTabSelection(), SwCursorShell::IsCursorInTable(), SwCursorShell::IsCursorPtAtEnd(), SwCursorShell::IsSelection(), SwViewShell::IsViewLocked(), LeaveBlockMode(), SwViewShell::LockView(), m_bBlockMode, SwCursorShell::MoveOutOfTable(), SwCursorShell::MoveSection(), SwCursorShell::None, Pop(), SwCursorShell::Push(), SwDoc::SetPrepareSelAll(), SwCursorShell::StartsWith_(), SwCursorShell::SttEndDoc(), SttSelect(), SwCursorShell::SwapPam(), and SwCursorShell::TrySelectOuterTable().
Referenced by SwTextShell::ExecMove(), SwFrameShell::ExecMove(), SwTextShell::Execute(), lcl_SetAllTextToDefaultLanguage(), and SwLangHelper::SetLanguageStatus().
void SwWrtShell::SelectNextPrevHyperlink | ( | bool | bNext | ) |
Definition at line 943 of file select.cxx.
References CNT_GRF, CNT_OLE, SwTransferable::CreateSelection(), SwCursorShell::EndAction(), EnterSelFrameMode(), EnterStdMode(), SwCursorShell::GetCharRect(), SwEditShell::GetCntType(), SwCursorShell::GetCursor_(), SwFEShell::IsFrameSelected(), SwFEShell::IsObjSelected(), SwCursorShell::IsSelection(), m_fnKillSel, m_fnSetCursor, Pos, ResetSelect(), SwCursor::RestoreSavePos(), SwCursorShell::SelectNxtPrvHyperlink(), SwFEShell::SelectObj(), SetCursorKillSel(), SwCursorShell::StartAction(), SwCursorShell::SttEndDoc(), and UnSelectFrame().
Referenced by SwEditWin::KeyInput().
void SwWrtShell::SelectTableCell | ( | ) |
Definition at line 862 of file select.cxx.
References m_fnKillSel, m_fnSetCursor, ResetSelect(), SwCursorShell::SelTableBox(), and SetCursorKillSel().
Referenced by SwTableShell::Execute().
void SwWrtShell::SelectTableCol | ( | ) |
Definition at line 853 of file select.cxx.
References m_fnKillSel, m_fnSetCursor, ResetSelect(), SwCursorShell::SelTableCol(), and SetCursorKillSel().
Referenced by SwTableShell::Execute().
void SwWrtShell::SelectTableRow | ( | ) |
Definition at line 844 of file select.cxx.
References m_fnKillSel, m_fnSetCursor, ResetSelect(), SwCursorShell::SelTableRow(), and SetCursorKillSel().
Referenced by SwTableShell::Execute().
bool SwWrtShell::SelectTableRowCol | ( | const Point & | rPt, |
const Point * | pEnd = nullptr , |
||
bool | bRowDrag = false |
||
) |
Definition at line 829 of file select.cxx.
References m_fnKillSel, m_fnSetCursor, ResetSelect(), SwFEShell::SelTableRowCol(), SetCursorKillSel(), and SttSelect().
Referenced by IMPL_LINK_NOARG(), SwEditWin::MouseButtonDown(), and SwEditWin::MouseMove().
|
private |
Definition at line 817 of file crstrvl.cxx.
bool SwWrtShell::SelectTextAttr | ( | sal_uInt16 | nWhich, |
const SwTextAttr * | pAttr = nullptr |
||
) |
Definition at line 763 of file move.cxx.
References EndSelect(), SwCursorShell::SelectTextAttr(), and SttSelect().
Referenced by SwTextShell::Execute(), SwTransferable::GetData(), SwTransferable::PrivateDrop(), sw_CharDialog(), and SwIndexMarkPane::UpdateDialog().
bool SwWrtShell::SelNearestWrd | ( | ) |
Definition at line 64 of file select.cxx.
References Cells, IsEndWrd(), SwCursorShell::IsInWord(), SwCursorShell::IsStartWord(), Left(), PrvWrd(), and SelWrd().
Referenced by SwTextShell::ExecMove().
void SwWrtShell::SelPara | ( | const Point * | pPt | ) |
Definition at line 108 of file select.cxx.
References SwCursorShell::ClearMark(), EndSelect(), fnParaEnd, fnParaStart, GoCurrPara(), m_aStart, m_bSelLn, m_bSelWrd, SwCursorShell::MovePara(), and SttSelect().
Referenced by SwEditWin::MouseButtonDown().
void SwWrtShell::SelSentence | ( | const Point * | pPt | ) |
Definition at line 92 of file select.cxx.
References SwCursorShell::ClearMark(), EndSelect(), SwCursorShell::GoEndSentence(), SwCursorShell::GoStartSentence(), m_aStart, m_bSelLn, m_bSelWrd, and SttSelect().
Referenced by SwTextShell::ExecMove(), and SwEditWin::MouseButtonDown().
|
inline |
Definition at line 657 of file wrtsh.hxx.
References m_aSelTableLink, m_bClearMark, and SwCursorShell::SetSelTableCells().
Referenced by SwInputWindow::ShowWin().
bool SwWrtShell::SelWrd | ( | const Point * | pPt = nullptr | ) |
Definition at line 74 of file select.cxx.
References EndSelect(), m_aStart, m_bSelWrd, SwCursorShell::SelectWord(), and SttSelect().
Referenced by SwTextShell::Execute(), SwView::GetSelectionTextParam(), SwEditWin::MouseButtonDown(), SelNearestWrd(), and sw_CharDialog().
|
private |
Definition at line 404 of file crsrsh.cxx.
|
private |
Definition at line 313 of file select.cxx.
References SwCursorShell::ClearMark(), IsInSelect(), SwCursorShell::SetCursor(), and SwCursorShell::TestCurrPam().
Referenced by ClickToField(), DelLeft(), DelRight(), EnterAddMode(), ResetSelect(), and SttSelect().
|
private |
Definition at line 325 of file select.cxx.
References ResetSelect(), and SwCursorShell::SetCursor().
Referenced by Do(), EndSelect(), EnterStdMode(), GotoContentControl(), GotoField(), GotoFieldmark(), LeaveAddMode(), MoveBookMark(), Pop(), SelectNextPrevHyperlink(), SelectTableCell(), SelectTableCol(), SelectTableRow(), and SelectTableRowCol().
|
inline |
Definition at line 145 of file wrtsh.hxx.
Referenced by IMPL_LINK(), and IMPL_LINK_NOARG().
void SwWrtShell::SetInsMode | ( | bool | bOn = true | ) |
Definition at line 679 of file select.cxx.
References SwCursorShell::EndAction(), SfxViewFrame::GetBindings(), GetView(), SfxViewShell::GetViewFrame(), Invalidate(), m_bIns, SwCursorShell::SetOverwriteCursor(), SfxBindings::SetState(), and SwCursorShell::StartAction().
Referenced by SwSpellPopup::Execute(), SwTextShell::Execute(), and SetRedlineFlagsAndCheckInsMode().
void SwWrtShell::SetPageStyle | ( | const OUString & | rCollName | ) |
Definition at line 1876 of file wrtsh1.cxx.
References SwFEShell::ChgCurPageDesc(), SwFEShell::FindPageDescByName(), SwCursorShell::HasSelection(), SwFEShell::IsObjSelected(), and IsSelFrameMode().
Referenced by SwDocShell::ApplyStyles().
|
overridevirtual |
Reimplemented from SwViewShell.
Definition at line 2129 of file wrtsh1.cxx.
References SwView::GetEditWin(), SwEditWin::GetFrameControlsManager(), GetView(), SwFrameControlsManager::SetReadonlyControls(), and SwViewShell::SetReadonlyOption().
Referenced by SwView::Notify().
void SwWrtShell::SetRedlineFlagsAndCheckInsMode | ( | RedlineFlags | eMode | ) |
Definition at line 690 of file select.cxx.
References eMode, SwEditShell::IsRedlineOn(), SetInsMode(), and SwEditShell::SetRedlineFlags().
Referenced by SwDocShell::SetChangeRecording().
|
inline |
Definition at line 277 of file wrtsh.hxx.
Referenced by SwTransferable::PrivatePaste().
|
overridevirtual |
Reimplemented from SwViewShell.
Definition at line 2221 of file wrtsh1.cxx.
References SwView::GetEditWin(), SwEditWin::GetFrameControlsManager(), GetView(), SwFrameControlsManager::HideControls(), and SwViewShell::SetShowHeaderFooterSeparator().
Referenced by SwTextShell::ExecMoveMisc(), and SwEditWin::MouseButtonDown().
void SwWrtShell::SetSplitVerticalByDefault | ( | bool | value | ) |
Definition at line 381 of file select.cxx.
References SwViewShell::GetDoc(), SwDoc::SetSplitVerticalByDefault(), and value.
Referenced by SwTableShell::Execute().
bool SwWrtShell::SimpleMove | ( | FNSimpleMove | FnSimpleMove, |
bool | bSelect | ||
) |
Definition at line 91 of file move.cxx.
References SwCursorShell::EndCursorMove(), MoveCursor(), and SwCursorShell::SttCursorMove().
void SwWrtShell::SplitNode | ( | bool | bAutoFormat = false | ) |
Definition at line 1317 of file wrtsh1.cxx.
References CanInsert(), DelRight(), SwEditShell::EndUndo(), SwEditWin::FlushInBuffer(), SwView::GetEditWin(), SwViewShell::GetViewOptions(), HasSelection(), SwCursorShell::IsEndPara(), lcl_FoldedOutlineNodeEndOfParaSplit(), m_rView, ResetCursorStack(), SwEditShell::SplitNode(), SPLITNODE, and SwEditShell::StartUndo().
Referenced by SwInsertDBColAutoPilot::DataToDoc(), SwTextShell::ExecInsert(), SwGlobalTree::ExecuteContextMenuAction(), SwMailMergeLayoutPage::InsertAddressFrame(), SwTableFUNC::InsertChart(), SwModule::InsertEnv(), SwMailMergeLayoutPage::InsertGreeting(), InsertLabEnvText(), and SwEditWin::KeyInput().
bool SwWrtShell::StartDropDownFieldDlg | ( | SwField * | pField, |
bool | bPrevButton, | ||
bool | bNextButton, | ||
weld::Widget * | pParentWin, | ||
SwWrtShell::FieldDialogPressedButton * | pPressedButton = nullptr |
||
) |
Definition at line 291 of file wrtsh2.cxx.
References SwAbstractDialogFactory::Create(), SwAbstractDialogFactory::CreateDropDownFieldDialog(), VclPtr< class reference_type >::disposeAndClear(), SfxDispatcher::Execute(), FN_EDIT_FIELD, SfxViewFrame::GetDispatcher(), GetView(), SfxViewShell::GetViewFrame(), SwViewShell::GetWin(), Next, vcl::Window::PaintImmediately(), Previous, RET_CANCEL, and RET_YES.
Referenced by ClickToField(), and UpdateInputFields().
bool SwWrtShell::StartInputFieldDlg | ( | SwField * | pField, |
bool | bPrevButton, | ||
bool | bNextButton, | ||
weld::Widget * | pParentWin, | ||
SwWrtShell::FieldDialogPressedButton * | pPressedButton = nullptr |
||
) |
Definition at line 264 of file wrtsh2.cxx.
References SwAbstractDialogFactory::Create(), SwAbstractDialogFactory::CreateFieldInputDlg(), VclPtr< class reference_type >::disposeAndClear(), VclPtr< class reference_type >::get(), SwViewShell::GetWin(), Next, vcl::Window::PaintImmediately(), Previous, and RET_CANCEL.
Referenced by ClickToField(), SwTextShell::ExecField(), SwFieldMgr::InsertField(), and UpdateInputFields().
void SwWrtShell::StartInsertRegionDialog | ( | const SwSectionData & | rSectionData | ) |
Definition at line 181 of file regionsw.cxx.
References SwFEShell::CalcBoundRect(), SwAbstractDialogFactory::Create(), SwAbstractDialogFactory::CreateInsertSectionTabDialog(), GetFrameWeld(), GetView(), RES_BACKGROUND(), RES_COL(), RES_FRM_SIZE(), Variable, SwRect::Width(), XATTR_FILL_FIRST(), and XATTR_FILL_LAST().
Referenced by SwTransferable::PasteFileName().
void SwWrtShell::StartOfColumn | ( | ) |
Definition at line 410 of file move.cxx.
References GetColumnStt(), GetCurrColumn(), and SwCursorShell::MoveColumn().
Referenced by SwTextShell::ExecMoveCol().
void SwWrtShell::StartOfNextColumn | ( | ) |
Definition at line 422 of file move.cxx.
References GetColumnStt(), GetNextColumn(), and SwCursorShell::MoveColumn().
Referenced by SwTextShell::ExecMoveCol().
void SwWrtShell::StartOfPrevColumn | ( | ) |
Definition at line 434 of file move.cxx.
References GetColumnStt(), GetPrevColumn(), and SwCursorShell::MoveColumn().
Referenced by SwTextShell::ExecMoveCol().
bool SwWrtShell::StartOfSection | ( | bool | bSelect = false | ) |
Definition at line 346 of file move.cxx.
References GoStart().
Referenced by SwTextShell::ExecMove(), SwXTextViewCursor::gotoStart(), SwModule::InsertLab(), SwCursorShell::SelNextRedline(), and SwTitlePageDlg::SwTitlePageDlg().
|
private |
Definition at line 616 of file select.cxx.
References SwCursorShell::ClearMark(), SwCursorShell::HasSelection(), SwCursorShell::IsSelTableCells(), and m_bClearMark.
Referenced by EndSelect().
bool SwWrtShell::SttNxtPg | ( | bool | bSelect = false | ) |
Definition at line 358 of file move.cxx.
References GetFirstSub(), GetNextFrame(), and SwCursorShell::MovePage().
Referenced by SwTextShell::ExecMovePage(), IMPL_LINK_NOARG(), SwModule::InsertEnv(), SwXTextViewCursor::jumpToNextPage(), and SwTitlePageDlg::SwTitlePageDlg().
bool SwWrtShell::SttPara | ( | bool | bSelect = false | ) |
Definition at line 394 of file move.cxx.
References fnParaStart, GoCurrPara(), and SwCursorShell::MovePara().
Referenced by BwdPara_(), SwTextShell::ExecMoveLingu(), SwTextShell::Execute(), and SwMailMergeLayoutPage::InsertGreeting().
bool SwWrtShell::SttPg | ( | bool | bSelect = false | ) |
Definition at line 382 of file move.cxx.
References GetFirstSub(), GetThisFrame(), and SwCursorShell::MovePage().
Referenced by SwTextShell::ExecMoveMisc(), SwTextShell::ExecMovePage(), IMPL_LINK(), SwXTextViewCursor::jumpToLastPage(), SwXTextViewCursor::jumpToStartOfPage(), and SwEditWin::KeyInput().
void SwWrtShell::SttPrvPg | ( | bool | bSelect = false | ) |
Definition at line 364 of file move.cxx.
References GetFirstSub(), GetPrevFrame(), and SwCursorShell::MovePage().
Referenced by SwTextShell::ExecMovePage().
void SwWrtShell::SttSelect | ( | ) |
Definition at line 394 of file select.cxx.
References SwTransferable::CreateSelection(), SwCursorShell::getShellCursor(), SwCursorShell::HasMark(), SwPaM::HasMark(), Ignore(), Invalidate(), m_bBlockMode, m_bInSelect, m_fnKillSel, m_fnSetCursor, SetCursor(), SwCursorShell::SetMark(), and SwShellCursor::SetMark().
Referenced by BeginDrag(), SwContentTree::CopyOutlineSelections(), SwContentTree::DeleteOutlineSelections(), EnterExtMode(), SwTextShell::ExecField(), SwTableShell::Execute(), SwContentTree::ExecuteContextMenuAction(), GoStart(), SwTextShell::InsertHyperlink(), SwEditWin::KeyInput(), SwEditWin::MouseButtonDown(), MoveCursor(), PopCursor(), SwTransferable::PrivateDrop(), PushCursor(), SelAll(), SwAccessibleContext::Select(), SelectTableRowCol(), SelectTextAttr(), SelPara(), SelSentence(), SelWrd(), SwEditWin::SetCursorTwipPosition(), and SwInputWindow::ShowWin().
|
private |
Definition at line 32 of file wrtsh4.cxx.
References SwCursorShell::ClearMark(), SwCursorShell::Combine(), fnParaStart, GoCurrPara(), SwCursorShell::GoStartWord(), SwCursorShell::IsSttPara(), SwCursorShell::MovePara(), and SwCursorShell::Push().
Referenced by DelPrvWord().
void SwWrtShell::ToggleAddMode | ( | ) |
Definition at line 767 of file select.cxx.
References EnterAddMode(), Invalidate(), LeaveAddMode(), and m_bAddMode.
Referenced by SwView::ExecuteStatusLine().
void SwWrtShell::ToggleBlockMode | ( | ) |
Definition at line 773 of file select.cxx.
References EnterBlockMode(), Invalidate(), LeaveBlockMode(), and m_bBlockMode.
Referenced by SwView::ExecuteStatusLine().
void SwWrtShell::ToggleExtMode | ( | ) |
Definition at line 779 of file select.cxx.
References EnterExtMode(), Invalidate(), LeaveExtMode(), and m_bExtMode.
Referenced by SwView::ExecuteStatusLine().
|
inline |
Definition at line 171 of file wrtsh.hxx.
Referenced by SwView::ExecuteStatusLine(), and sw::annotation::SwAnnotationWin::ToggleInsMode().
bool SwWrtShell::TryRemoveIndent | ( | ) |
Definition at line 62 of file delete.cxx.
References SfxItemSet::Get(), SwViewShell::GetAttrPool(), SwEditShell::GetCurAttr(), SvxFirstLineIndentItem::GetTextFirstLineOffset(), SvxTextLeftMarginItem::GetTextLeft(), SfxItemSet::Put(), RES_MARGIN_FIRSTLINE(), RES_MARGIN_TEXTLEFT(), SwEditShell::SetAttrSet(), SvxFirstLineIndentItem::SetTextFirstLineOffset(), and SvxTextLeftMarginItem::SetTextLeft().
Referenced by SwEditWin::KeyInput().
void SwWrtShell::UnSelectFrame | ( | ) |
Definition at line 332 of file select.cxx.
References SwTransferable::ClearSelection(), and SwFEShell::SelectObj().
Referenced by SwPostItMgr::AssureStdModeAtShell(), DelLeft(), DelRight(), Do(), EnterStdMode(), SwView::ExecTabWin(), SwBaseShell::Execute(), GotoContentControl(), GotoField(), GotoFieldmark(), GotoPage(), SwMailMergeLayoutPage::InsertAddressFrame(), InsertContentControl(), SwModule::InsertEnv(), SwBaseShell::InsertURLButton(), SwXTextViewCursor::jumpToFirstPage(), SwXTextViewCursor::jumpToLastPage(), SwEditWin::KeyInput(), lcl_AssureStdModeAtShell(), lcl_InsertBCText(), lcl_InsertLabText(), lcl_UnSelectFrame(), MakeAllFoldedOutlineContentVisible(), SwSpellDialogChildWindow::MakeTextSelection_Impl(), SwEditWin::MouseButtonDown(), MoveBookMark(), SwTransferable::PrivateDrop(), PushCursor(), ResetSelect(), SwEditWin::SelectMenuPosition(), SelectNextPrevHyperlink(), SwTransferable::SetSelInShell(), and SwEditWin::StartDrag().
bool SwWrtShell::Up | ( | bool | bSelect, |
sal_uInt16 | nCount = 1 , |
||
bool | bBasicCall = false |
||
) |
Definition at line 145 of file move.cxx.
References Point::AdjustY(), SwViewShell::GetViewOptions(), Height, SwCursorShell::IsCursorReadonly(), m_rView, nCount, nReadOnlyScrollOfst, Pos, SwView::SetVisArea(), SwCursorShell::Up(), and SwViewShell::VisArea().
Referenced by SwTextShell::ExecBasicMove(), SwGlobalTree::ExecuteContextMenuAction(), SwXTextViewCursor::goUp(), IMPL_LINK_NOARG(), SwTableFUNC::InsertChart(), and SwTransferable::PrivateDrop().
|
inlineprivate |
Definition at line 368 of file crsrsh.hxx.
void SwWrtShell::UpdateInputFields | ( | SwInputFieldList * | pLst = nullptr | ) |
Definition at line 146 of file wrtsh2.cxx.
References SwInputFieldList::Count(), Dropdown, SwCursorShell::GetCurField(), SwInputFieldList::GetField(), GetFrameWeld(), SwField::GetTyp(), GetView(), SwInputFieldList::GotoFieldPos(), i, Next, nIndex, NONE, SwInputFieldList::PopCursor(), Previous, SwInputFieldList::PushCursor(), StartDropDownFieldDlg(), StartInputFieldDlg(), SwFieldType::UpdateFields(), and SwFieldType::Which().
Referenced by SwBaseShell::Execute(), SwGlossaryHdl::Expand(), and SwGlossaryHdl::InsertGlossary().
|
private |
Definition at line 758 of file select.cxx.
References BeginFrameDrag(), SwFEShell::EndDrag(), and m_fnDrag.
Referenced by EnterSelFrameMode().
void SwWrtShell::UpdateTableOf | ( | const SwTOXBase & | rTOX, |
const SfxItemSet * | pSet = nullptr |
||
) |
Definition at line 331 of file wrtsh2.cxx.
References CanInsert(), and SwEditShell::UpdateTableOf().
Referenced by SwTextShell::ExecIdx(), SwGlobalTree::ExecuteContextMenuAction(), and SwTOXMgr::UpdateOrInsertTOX().
|
overridevirtual |
Selected area has hidden content.
Reimplemented from SwEditShell.
Definition at line 2697 of file wrtsh1.cxx.
References Application::CreateBuilder(), GetFrameWeld(), GetView(), SwViewShell::GetViewOptions(), HasFoldedOutlineContentSelected(), RET_YES, and SwResId().
|
overridevirtual |
Switch to Design mode for Forms.
Reimplemented from SwEditShell.
Definition at line 2713 of file wrtsh1.cxx.
References Application::CreateMessageDialog(), RET_YES, and SwResId().
Referenced by sw::AccessibilityIssue::gotoIssue().
|
private |
Definition at line 576 of file wrtsh.hxx.
Referenced by PushCursor().
|
private |
Definition at line 574 of file wrtsh.hxx.
Referenced by addCurrentPosition(), GotoDrawingObject(), GotoFly(), GotoFootnoteAnchor(), GotoFormatField(), GotoINetAttr(), GotoMark(), GotoNextTOXBase(), GotoOutline(), GotoRedline(), GotoRefMark(), GotoRegion(), GotoTable(), and InsertFootnote().
|
private |
Definition at line 609 of file wrtsh.hxx.
Referenced by DefaultDrag(), DefaultEndDrag(), and SelTableCells().
|
private |
Definition at line 608 of file wrtsh.hxx.
Referenced by ExtSelWrd(), SelPara(), SelSentence(), and SelWrd().
|
private |
Definition at line 599 of file wrtsh.hxx.
Referenced by EndSelect(), EnterAddMode(), EnterExtMode(), EnterStdMode(), LeaveAddMode(), PopMode(), PushMode(), and ToggleAddMode().
|
private |
Definition at line 600 of file wrtsh.hxx.
Referenced by EnterAddMode(), EnterBlockMode(), EnterExtMode(), EnterStdMode(), GoStart(), LeaveBlockMode(), PopMode(), PushMode(), SelAll(), SttSelect(), and ToggleBlockMode().
|
private |
Definition at line 605 of file wrtsh.hxx.
Referenced by EndSelTableCells(), SelTableCells(), and SttLeaveSelect().
|
private |
Definition at line 577 of file wrtsh.hxx.
Referenced by PopCursor(), PushCursor(), and ResetCursorStack_().
|
private |
Definition at line 598 of file wrtsh.hxx.
Referenced by EndSelect(), EnterAddMode(), EnterExtMode(), EnterStdMode(), LeaveExtMode(), PopMode(), PushMode(), and ToggleExtMode().
|
private |
Definition at line 596 of file wrtsh.hxx.
Referenced by Insert(), PopMode(), PushMode(), and SetInsMode().
|
private |
Definition at line 597 of file wrtsh.hxx.
Referenced by BeginDrag(), EndSelect(), EnterStdMode(), and SttSelect().
|
private |
Definition at line 604 of file wrtsh.hxx.
Referenced by ClickToField(), ClickToINetAttr(), and IsInClickToEdit().
|
private |
Definition at line 601 of file wrtsh.hxx.
Referenced by EnterSelFrameMode(), and LeaveSelFrameMode().
|
private |
Definition at line 603 of file wrtsh.hxx.
Referenced by BeginDrag(), EnterStdMode(), ResetSelect(), SelPara(), and SelSentence().
|
private |
Definition at line 602 of file wrtsh.hxx.
Referenced by BeginDrag(), EnterStdMode(), ResetSelect(), SelPara(), SelSentence(), and SelWrd().
|
private |
Referenced by PageCursor(), PopCursor(), and ResetCursorStack_().
|
private |
Definition at line 114 of file wrtsh.hxx.
Referenced by BeginDrag(), BeginFrameDrag(), DefaultEndDrag(), EnterSelFrameMode(), Is_FnDragEQBeginDrag(), LeaveSelFrameMode(), and UpdateLayoutFrame().
|
private |
Definition at line 116 of file wrtsh.hxx.
Referenced by EnterSelFrameMode(), and LeaveSelFrameMode().
|
private |
Definition at line 117 of file wrtsh.hxx.
Referenced by Do(), EndSelect(), EnterAddMode(), EnterStdMode(), GotoContentControl(), GotoField(), GotoFieldmark(), LeaveAddMode(), MoveBookMark(), MoveCursor(), Pop(), ResetSelect(), SelectNextPrevHyperlink(), SelectTableCell(), SelectTableCol(), SelectTableRow(), SelectTableRowCol(), and SttSelect().
|
private |
Definition at line 115 of file wrtsh.hxx.
Referenced by BeginDrag(), Do(), EndSelect(), EnterAddMode(), EnterStdMode(), GotoContentControl(), GotoField(), GotoFieldmark(), LeaveAddMode(), MoveBookMark(), Pop(), PopCursor(), PushCursor(), ResetSelect(), SelectNextPrevHyperlink(), SelectTableCell(), SelectTableCol(), SelectTableRow(), SelectTableRowCol(), and SttSelect().
|
private |
Definition at line 571 of file wrtsh.hxx.
Referenced by PopCursor(), PushCursor(), and ResetCursorStack_().
|
private |
Referenced by PopMode(), and PushMode().
|
private |
Definition at line 573 of file wrtsh.hxx.
Referenced by Down(), GetDoString(), Left(), LeftMargin(), MakeOutlineContentVisible(), MakeOutlineLevelsVisible(), Right(), RightMargin(), SplitNode(), and Up().