LibreOffice Module sw (master) 1
|
#include <fesh.hxx>
Public Member Functions | |
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 |
Static Public Member Functions | |
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) |
Private Member Functions | |
SAL_DLLPRIVATE SwFlyFrame * | FindFlyFrame (const css::uno::Reference< css::embed::XEmbeddedObject > &) const |
SAL_DLLPRIVATE void | EndAllActionAndCall () |
Terminate actions for all shells and call ChangeLink. More... | |
SAL_DLLPRIVATE void | ScrollTo (const Point &rPt) |
SAL_DLLPRIVATE void | ChangeOpaque (SdrLayerID nLayerId) |
SAL_DLLPRIVATE const SwFrame * | GetBox (const Point &rPt, bool *pbRow=nullptr, bool *pbCol=nullptr) const |
Used for mouse operations on a table: More... | |
SAL_DLLPRIVATE void | GetTabCols_ (SwTabCols &rToFill, const SwFrame *pBox) const |
SAL_DLLPRIVATE void | GetTabRows_ (SwTabCols &rToFill, const SwFrame *pBox) const |
SAL_DLLPRIVATE bool | ImpEndCreate () |
SAL_DLLPRIVATE bool | CopyDrawSel (SwFEShell &rDestShell, const Point &rSttPt, const Point &rInsPt, bool bIsMove, bool bSelectInsert) |
Methods for copying of draw objects. More... | |
SAL_DLLPRIVATE const SdrMarkList * | GetMarkList_ () const |
Get list of marked SdrObjects; helper method for GetSelFrameType, IsSelContainsControl. More... | |
SAL_DLLPRIVATE bool | CheckHeadline (bool bRepeat) const |
bool | Copy (SwEditShell &rDestShell) |
Copy content of all ranges at current position of cursor to given Shell. More... | |
Static Private Member Functions | |
static SAL_DLLPRIVATE sal_uInt16 | GetCurColNum_ (const SwFrame *pFrame, SwGetCurColNumPara *pPara) |
Private Attributes | |
std::unique_ptr< SwColCache > | m_pColumnCache |
std::unique_ptr< SwColCache > | m_pRowCache |
std::unique_ptr< SdrDropMarkerOverlay > | m_pChainTo |
std::unique_ptr< SdrDropMarkerOverlay > | m_pChainFrom |
bool | m_bCheckForOLEInCaption |
comphelper::OInterfaceContainerHelper3< css::text::XPasteListener > | m_aPasteListeners |
SwTable::SearchType | m_eTableInsertMode |
insert table rows or columns instead of overwriting the existing table cells More... | |
bool | m_bTableCopied |
table copied to the clipboard by the last private copy More... | |
Additional Inherited Members | |
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 |
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... | |
SwFEShell::SwFEShell | ( | SwDoc & | rDoc, |
vcl::Window * | pWin, | ||
const SwViewOption * | pOpt | ||
) |
SwFEShell::SwFEShell | ( | SwEditShell & | rShell, |
vcl::Window * | pWin | ||
) |
void SwFEShell::AdjustCellWidth | ( | const bool | bBalance, |
const bool | bNoShrink | ||
) |
Definition at line 1289 of file fetab.cxx.
References SwDoc::AdjustCellWidth(), EndAllActionAndCall(), SwViewShell::GetDoc(), SwCursorShell::getShellCursor(), and SwEditShell::StartAllAction().
Referenced by SwTableShell::Execute().
void SwFEShell::AlignAllFormulasToBaseline | ( | ) |
aligns all formulas with anchor 'as char' to baseline
Definition at line 2156 of file fefly1.cxx.
References AlignFormulaToBaseline(), SwNodeIndex::Assign(), SwEditShell::EndAllAction(), SwNode::EndOfSectionNode(), SwNodeIndex::GetNode(), SwViewShell::GetNodes(), SwNode::GetOLENode(), SwOLENode::GetOLEObj(), SwOLEObj::GetOleRef(), SwNode::GetStartNode(), SotExchange::IsMath(), and SwEditShell::StartAllAction().
Referenced by SwModule::ApplyItemSet().
void SwFEShell::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
Definition at line 2097 of file fefly1.cxx.
References FindFlyFrame(), SwFormat::GetAnchor(), SwFormatAnchor::GetAnchorId(), SwFlyFrame::GetFormat(), SwFlyFrameFormat::GetLastFlyFramePrtRectPos(), SwFormat::GetVertOrient(), SwFrame::InvalidatePos(), SotExchange::IsMath(), o3tl::mm100, SwPostItHelper::NONE, SwFormat::SetFormatAttr(), SwFormatVertOrient::SetPos(), SwFormatVertOrient::SetVertOrient(), o3tl::toTwips(), svt::EmbeddedObjectRef::TryRunningState(), and Point::Y().
Referenced by AlignAllFormulasToBaseline(), SwBaseShell::Execute(), SwOleClient::FormatChanged(), and SwWrtShell::InsertOleObject().
bool SwFEShell::BalanceRowHeight | ( | bool | bTstOnly, |
const bool | bOptimize = false |
||
) |
Definition at line 911 of file fetab.cxx.
References SwDoc::BalanceRowHeight(), EndAllActionAndCall(), SwViewShell::GetDoc(), SwCursorShell::getShellCursor(), and SwEditShell::StartAllAction().
Referenced by SwTableShell::Execute(), and SwTableShell::GetState().
bool SwFEShell::BeginCreate | ( | SdrObjKind | eSdrObjectKind, |
const Point & | rPos | ||
) |
Process of creating draw objects.
At the beginning object type is passed. At the end a Cmd can be passed. Here, SDRCREATE_RESTRAINTEND for end or SdrCreateCmd::NextPoint for a polygon may be relevant. After RESTRAINTEND the object is created and selected. BreakCreate interrupts the process. In this case no object is selected.
Definition at line 1666 of file feshview.cxx.
References SdrCreateView::BegCreateCaptionObj(), SdrCreateView::BegCreateObj(), FLY_DRAG_START, FrameNotify(), SwViewShellImp::GetDrawView(), SwViewShell::GetOut(), GetPageNumber(), SwViewShell::HasDrawView(), SwViewShell::Imp(), lMinBorder, SwViewShellImp::MakeDrawView(), MINFLY, and SdrCreateView::SetCurrentObj().
Referenced by ConstFormControl::CreateDefaultObject(), SwBaseShell::InsertURLButton(), SwDrawBase::MouseButtonDown(), and ConstFormControl::MouseButtonDown().
bool SwFEShell::BeginCreate | ( | SdrObjKind | eSdrObjectKind, |
SdrInventor | eObjInventor, | ||
const Point & | rPos | ||
) |
Definition at line 1690 of file feshview.cxx.
References SdrCreateView::BegCreateObj(), FLY_DRAG_START, FrameNotify(), SwViewShellImp::GetDrawView(), SwViewShell::GetOut(), GetPageNumber(), SwViewShell::HasDrawView(), SwViewShell::Imp(), SwViewShellImp::MakeDrawView(), and SdrCreateView::SetCurrentObj().
void SwFEShell::BeginDrag | ( | const Point * | pPt, |
bool | bProp | ||
) |
Definition at line 727 of file feshview.cxx.
References SdrMarkView::AreObjectsMarked(), SdrDragView::BegDragObj(), FrameNotify(), SdrDragView::GetDragMethod(), SwViewShellImp::GetDrawView(), SwViewShell::Imp(), m_pChainFrom, m_pChainTo, SdrMarkView::PickHandle(), and SdrDragMethod::SetShiftPressed().
Referenced by SwWrtShell::BeginFrameDrag().
bool SwFEShell::BeginMark | ( | const Point & | rPos | ) |
Functions for Rubberbox, it selects Draw-Objects.
Definition at line 2113 of file feshview.cxx.
References SdrMarkView::BegMarkObj(), SdrMarkView::BegMarkPoints(), SwViewShellImp::GetDrawView(), GetPageNumber(), SwViewShell::HasDrawView(), SdrMarkView::HasMarkablePoints(), SwViewShell::Imp(), and SwViewShellImp::MakeDrawView().
Referenced by SwDrawBase::MouseButtonDown().
void SwFEShell::BreakCreate | ( | ) |
Definition at line 2101 of file feshview.cxx.
References SdrCreateView::BrkCreateObj(), FLY_DRAG_END, FrameNotify(), SwViewShellImp::GetDrawView(), SwViewShell::HasDrawView(), and SwViewShell::Imp().
Referenced by SwDrawBase::BreakCreate(), SwDrawBase::Deactivate(), SwDrawBase::MouseButtonUp(), and ConstPolygon::MouseButtonUp().
void SwFEShell::BreakDrag | ( | ) |
Definition at line 793 of file feshview.cxx.
References SdrDragView::BrkDragObj(), SwViewShellImp::GetDrawView(), SwViewShell::HasDrawView(), SwViewShell::HasDrawViewDrag(), SwViewShell::Imp(), and SetChainMarker().
Referenced by SwEditWin::MouseButtonUp().
|
pure virtual |
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().
Implemented in SwWrtShell.
Referenced by SwContentNotify::ImplDestroy().
void SwFEShell::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.
i#18732 - adjustments for new option 'FollowTextFlow' i#22341 - adjustments for new vertical alignment at top of line
Definition at line 690 of file fews.cxx.
References Point::AdjustX(), Point::AdjustY(), SwRect::Bottom(), SwFrame::DynCastTextFrame(), SwFrame::FindFlyFrame(), SwFrame::FindPageFrame(), SwFrame::FindTabFrame(), SwAnchoredObject::GetAnchorFrame(), SwTextFrame::GetAutoPos(), SwTextFrame::GetBaseOffsetForFly(), SwRectFnSet::GetBottom(), SwFormatAnchor::GetContentAnchor(), SwCursorShell::GetCurrFrame(), SwFlyFrame::GetFormat(), SwFrameAreaDefinition::getFrameArea(), SwFrameAreaDefinition::getFramePrintArea(), SwFormatFrameSize::GetHeightPercentRelation(), objectpositioning::SwEnvironmentOfAnchoredObject::GetHoriEnvironmentLayoutFrame(), SwRectFnSet::GetLeft(), SwFrame::GetLeftMargin(), SwRectFnSet::GetPos(), SwRectFnSet::GetPrtBottom(), SwFrame::GetRightMargin(), GetSelectedFlyFrame(), SwFormatSurround::GetSurround(), SwFormat::GetSurround(), SwTextFrame::GetTextNodeFirst(), SwFrame::GetTopMargin(), SwTextFrame::GetTopOfLine(), SwFrame::GetUpper(), objectpositioning::SwEnvironmentOfAnchoredObject::GetVertEnvironmentLayoutFrame(), SwFormatFrameSize::GetWidthPercentRelation(), Point::getX(), Point::getY(), SwRect::Height(), SwFrame::IsBodyFrame(), SwFrame::IsCellFrame(), SwFrame::IsFlyFrame(), SwFlyFrame::IsFlyInContentFrame(), SwFrame::IsHeaderFrame(), SwFrame::IsPageFrame(), SwFrame::IsRightToLeft(), SwFrame::IsTextFrame(), SwRectFnSet::IsVert(), SwRectFnSet::IsVertL2R(), SwRect::Left(), SwLayoutFrame::Lower(), SwFrame::OnRightPage(), SwRect::Pos(), SwRect::Right(), SwRectFnSet::SetBottom(), Size::setHeight(), Size::setWidth(), Point::setX(), Point::setY(), SwRect::SSize(), Top, SwRect::Top(), SwRect::TopRight(), and SwRect::Width().
Referenced by SwEditWin::ChangeFly(), SwTextShell::ExecIdx(), SwView::ExecTabWin(), GetGraphicDefaultSize(), IMPL_LINK(), SwWrtShell::InsertOleObject(), SwBaseShell::InsertRegionDialog(), SwWrtShell::StartInsertRegionDialog(), SwColumnDlg::SwColumnDlg(), and SwFlyFrameAttrMgr::ValidateMetrics().
bool SwFEShell::CanUnProtectCells | ( | ) | const |
Definition at line 1144 of file fetab.cxx.
References o3tl::sorted_vector< typename Value, typename Compare, template< typename, typename > class Find, bool >::empty(), SwCursorShell::GetCurrFrame(), GetTableSelCrs(), SwFrame::GetUpper(), HasProtectedCells(), o3tl::sorted_vector< typename Value, typename Compare, template< typename, typename > class Find, bool >::insert(), SwFrame::IsCellFrame(), SwCursorShell::IsCursorInTable(), SwNode::IsProtect(), and SwCursorShell::IsTableMode().
Referenced by SwTableShell::GetState().
SwChainRet SwFEShell::Chain | ( | SwFrameFormat & | rSource, |
const Point & | rPt | ||
) |
Definition at line 2803 of file feshview.cxx.
References SwDoc::Chain(), Chainable(), SwEditShell::EndAllAction(), SwViewShell::GetDoc(), SwViewShellImp::GetDrawView(), SwFlyFrame::GetFormat(), SdrPaintView::GetHitTolerancePixel(), SdrPaintView::getHitTolLog(), SwViewShell::Imp(), OK, SdrMarkView::PickObj(), SetChainMarker(), SdrPaintView::SetHitTolerancePixel(), and SwEditShell::StartAllAction().
Referenced by SwFrameShell::Execute(), and SwEditWin::MouseButtonDown().
void SwFEShell::Chain | ( | SwFrameFormat & | rSource, |
const SwFrameFormat & | rDest | ||
) |
Definition at line 2798 of file feshview.cxx.
References SwDoc::Chain(), and SwViewShell::GetDoc().
SwChainRet SwFEShell::Chainable | ( | SwRect & | rRect, |
const SwFrameFormat & | rSource, | ||
const Point & | rPt | ||
) | const |
For Chain always connect Fly specified by format with that hit by point.
rRect contains rect of Fly (for its highlight).
Definition at line 2764 of file feshview.cxx.
References SwDoc::Chainable(), SwRect::Clear(), SwFormat::GetChain(), SwViewShell::GetDoc(), SwViewShellImp::GetDrawView(), SwVirtFlyDrawObj::GetFlyFrame(), SwFlyFrame::GetFormat(), SwFrameAreaDefinition::getFrameArea(), SdrPaintView::GetHitTolerancePixel(), SdrPaintView::getHitTolLog(), SwFormatChain::GetNext(), SwViewShell::HasDrawView(), SwViewShell::Imp(), NOT_FOUND, SdrMarkView::PickObj(), SdrPaintView::SetHitTolerancePixel(), and SOURCE_CHAINED.
Referenced by Chain(), SwEditWin::MouseButtonDown(), and SwEditWin::UpdatePointer().
|
private |
Definition at line 1075 of file feshview.cxx.
References CheckControlLayer(), SwTextBoxHelper::DoTextBoxZOrderCorrection(), FindFrameFormat(), SdrObject::GetCurrentBoundRect(), SwViewShell::GetDoc(), SwViewShellImp::GetDrawView(), IDocumentDrawModelAccess::GetHellId(), SwViewShell::getIDocumentDrawModelAccess(), SwDoc::getIDocumentState(), SdrObject::GetLayer(), SdrMarkList::GetMark(), SdrMarkList::GetMarkCount(), SdrMarkView::GetMarkedObjectList(), SdrMark::GetMarkedSdrObj(), SwContact::GetMaster(), SwFormat::GetOpaque(), GetUserCall(), SwViewShell::HasDrawView(), i, SwViewShell::Imp(), SwViewShell::InvalidateWindows(), SwFormat::SetFormatAttr(), SdrObject::SetLayer(), and IDocumentState::SetModified().
Referenced by SelectionToHeaven(), and SelectionToHell().
|
private |
Definition at line 1266 of file fetab.cxx.
References SwFrame::FindTabFrame(), SwCursorShell::GetCurrFrame(), SwTabFrame::IsInHeadline(), SwFrame::IsInTab(), SwCursorShell::IsTableMode(), and SwLayoutFrame::Lower().
void SwFEShell::CheckUnboundObjects | ( | ) |
Temporary work around for bug.
Definition at line 2703 of file feshview.cxx.
References SwRect::Bottom(), SwDrawContact::ConnectToLayout(), SwRect::Contains(), SwEditShell::EndAllAction(), FindAnchor(), SwViewShell::GetAttrPool(), SwCursorShell::GetCharRect(), SwViewShellImp::GetDrawView(), SwFrameAreaDefinition::getFrameArea(), SwViewShell::getIDocumentLayoutAccess(), SwViewShell::GetLayout(), SdrMarkList::GetMark(), SdrMarkList::GetMarkCount(), SdrMarkView::GetMarkedObjectList(), SdrMark::GetMarkedSdrObj(), SwFrame::GetNext(), SwNoTextFrame::GetNode(), SdrObject::GetSnapRect(), SwTextFrame::GetTextNodeForParaProps(), GetUserCall(), i, SwViewShell::Imp(), SwFrame::IsTextFrame(), SwLayoutFrame::Lower(), IDocumentLayoutAccess::MakeLayoutFormat(), SwContact::MoveObjToVisibleLayer(), Pos, RES_ANCHOR(), RES_FRM_SIZE(), RES_SURROUND(), SwFormatAnchor::SetAnchor(), SwFormatAnchor::SetType(), SwEditShell::StartAllAction(), tools::Rectangle::TopLeft(), and Point::Y().
Referenced by SwBezierShell::Execute().
void SwFEShell::ChgAnchor | ( | RndStdIds | eAnchorId, |
bool | bSameOnly = false , |
||
bool | bPosCorr = true |
||
) |
frmatr.hxx.
Here no enum because of dependencies. bool value only for internal use! Anchor is newly set according to current document position. Anchor is not re-set.
Definition at line 2239 of file feshview.cxx.
References ChgAnchor(), SwEditShell::EndAllAction(), FrameNotify(), SwViewShell::GetDoc(), SwViewShellImp::GetDrawView(), SdrMarkList::GetMark(), SdrMarkList::GetMarkCount(), SdrMarkView::GetMarkedObjectList(), SdrMark::GetMarkedSdrObj(), SdrObject::getParentSdrObjectFromSdrObject(), SwViewShell::HasDrawView(), SwViewShell::Imp(), SwEditShell::StartAllAction(), and SdrView::UnmarkAll().
Referenced by ChgAnchor(), EndDrag(), SwBaseShell::Execute(), SwDrawBaseShell::Execute(), ConstRectangle::MouseButtonUp(), and SetDrawingAttr().
void SwFEShell::ChgCurPageDesc | ( | const SwPageDesc & | rDesc | ) |
PageDescriptor-interface.
Definition at line 43 of file fedesc.cxx.
References DEFAULT, EndAllActionAndCall(), SwPageFrame::FindFirstBodyContent(), SwFrame::FindPageFrame(), SwFrame::FindTabFrame(), SwCursorShell::GetCurrFrame(), SwCursorShell::GetCursor(), SwViewShell::GetDoc(), SwLayoutFrame::GetFormat(), SwDoc::getIDocumentContentOperations(), SwViewShell::GetLayout(), SwFrame::GetNext(), SwNoTextFrame::GetNode(), SwFormatPageDesc::GetNumOffset(), SwFormatPageDesc::GetPageDesc(), GetPageDesc(), GetPageDescCnt(), SwFrame::GetPageDescItem(), SwFrame::GetPrev(), SwTextFrame::GetTextNodeFirst(), SwCursorShell::HasMark(), IDocumentContentOperations::InsertPoolItem(), SwFrame::IsContentFrame(), SwFrame::IsInTab(), SwFrame::IsTextFrame(), SwLayoutFrame::Lower(), SwDoc::SetAttr(), SwFormatPageDesc::SetNumOffset(), and SwEditShell::StartAllAction().
Referenced by SwModule::InsertEnv(), SwEditWin::MouseButtonUp(), PastePages(), and SwWrtShell::SetPageStyle().
void SwFEShell::ChgPageDesc | ( | size_t | i, |
const SwPageDesc & | rChged | ||
) |
Definition at line 111 of file fedesc.cxx.
References SwDoc::ChgPageDesc(), SwDoc::CopyPageDesc(), EndAllActionAndCall(), SwViewShell::GetDoc(), SwViewShell::GetIDocumentUndoRedo(), i, and SwEditShell::StartAllAction().
Referenced by SwWrtShell::ChangeHeaderOrFooter(), SwTextShell::ExecField(), SwView::ExecTabWin(), SwBaseShell::Execute(), SwBaseShell::ExecuteGallery(), SwModule::InsertEnv(), and SwModule::InsertLab().
void SwFEShell::ClearColumnRowCache | ( | SwTabFrame const * | pFrame | ) |
Definition at line 2281 of file fetab.cxx.
References m_pColumnCache, and m_pRowCache.
|
pure virtual |
Connect objects with ActivateWhenVisible at Paint.
Called by notxtfrm::Paint, implemented in wrtsh.
Implemented in SwWrtShell.
void SwFEShell::Copy | ( | SwDoc & | rClpDoc, |
const OUString * | pNewClpText = nullptr |
||
) |
Copy and Paste methods for internal clipboard.
Definition at line 77 of file fecopy.cxx.
References aFrameFormatSetRange, SwDoc::CloneSdrObj(), IDocumentLayoutAccess::CopyLayoutFormat(), SwEditShell::CopySelToDoc(), SwNodes::Delete(), DeleteRedlines, IDocumentLayoutAccess::DelLayoutFormat(), SwNode::EndOfSectionNode(), SwTextNode::EraseText(), sw::DocumentFieldsManager::GCFieldTypes(), SwFormat::GetAnchor(), SwFormatAnchor::GetAnchorId(), SwFormatAnchor::GetAnchorNode(), SwDoc::GetAttrPool(), SwFormatAnchor::GetContentAnchor(), SwPosition::GetContentIndex(), SwDoc::GetDfltTextFormatColl(), SwDoc::GetDocumentFieldsManager(), SwViewShell::GetDrawView(), SwViewShellImp::GetDrawView(), SwNodes::GetEndOfContent(), SwNodes::GetEndOfExtras(), SwTextAttr::GetFlyCnt(), SwContact::GetFormat(), SwFlyFrame::GetFormat(), SwDoc::getIDocumentContentOperations(), SwDoc::getIDocumentFieldsAccess(), SwDoc::getIDocumentLayoutAccess(), SwDoc::getIDocumentRedlineAccess(), SwDoc::GetIDocumentUndoRedo(), SwNodeIndex::GetIndex(), SwNode::GetIndex(), SdrMarkList::GetMark(), SdrMarkList::GetMarkCount(), SdrMarkView::GetMarkedObjectList(), SdrMark::GetMarkedSdrObj(), SwNodeIndex::GetNode(), SwDoc::GetNodes(), SdrObject::getParentSdrObjectFromSdrObject(), GetSelectedFlyFrame(), SwDoc::GetSpzFrameFormats(), SwTextNode::GetText(), SwTextNode::GetTextAttrForCharAt(), SwNode::GetTextNode(), SdrObject::GetUserCall(), GetUserCall(), i, SwViewShell::Imp(), IDocumentContentOperations::InsertDrawObj(), inserted(), SwTextNode::InsertText(), IDocumentFieldsAccess::IsExpFieldsLocked(), IsFrameSelected(), IsObjSelected(), IDocumentFieldsAccess::LockExpFields(), SwNodes::MakeTextNode(), sw::FrameFormats< value_type >::newDefault(), NONE, SfxItemSet::Put(), RES_TXTATR_FLYCNT(), SwFormatAnchor::SetAnchor(), SwPosition::SetContent(), IDocumentRedlineAccess::SetRedlineFlags_intern(), IDocumentFieldsAccess::UnlockExpFields(), and IDocumentFieldsAccess::UpdateExpFields().
Referenced by SwTransferable::CalculateAndCopy(), SwViewShell::FillPrtDoc(), SwEditWin::MouseButtonUp(), and SwTransferable::PrepareForCopy().
|
private |
Copy content of all ranges at current position of cursor to given Shell.
Definition at line 199 of file eddel.cxx.
References SwCursorShell::GetCursor(), and SwPaM::GetPoint().
bool SwFEShell::Copy | ( | SwFEShell & | rDestShell, |
const Point & | rSttPt, | ||
const Point & | rInsPt, | ||
bool | bIsMove = false , |
||
bool | bSelectInsert = true |
||
) |
Copy-Method for Drag&Drop.
Definition at line 440 of file fecopy.cxx.
References SwViewShell::ActionPend(), SwEditShell::Copy(), CopyDrawSel(), IDocumentLayoutAccess::CopyLayoutFormat(), DeleteRedlines, IDocumentLayoutAccess::DelLayoutFormat(), o3tl::sorted_vector< typename Value, typename Compare, template< typename, typename > class Find, bool >::empty(), SwEditShell::EndAllAction(), SwNode::EndOfSectionIndex(), SwFormat::GetAnchor(), SwFormatAnchor::GetAnchorId(), SwFormat::GetContent(), SwFormatContent::GetContentIdx(), SwCursorShell::GetCursor(), SwCursorShell::GetCursorDocPos(), SwViewShell::GetDoc(), SwViewShellImp::GetDrawView(), SwFlyFrame::GetFormat(), SwFrameAreaDefinition::getFrameArea(), SwDoc::getIDocumentFieldsAccess(), SwDoc::getIDocumentLayoutAccess(), SwDoc::getIDocumentRedlineAccess(), SwNodeIndex::GetIndex(), SwViewShell::GetLayout(), SwRootFrame::GetModelPositionForViewPoint(), SwNodeIndex::GetNode(), SwPosition::GetNode(), SwPosition::GetNodeIndex(), SwRootFrame::GetPageAtPos(), GetPageNumber(), SwPaM::GetPoint(), SwPaM::GetPointNode(), IDocumentRedlineAccess::GetRedlineFlags(), GetSelectedFlyFrame(), IDocumentFieldsAccess::GetSysFieldType(), SwTableNode::GetTable(), GetTableSel(), Point::getX(), Point::getY(), SwCursorShell::HasShellFocus(), SdrMarkView::hideMarkHandles(), SwViewShell::Imp(), SwDoc::InsCopyOfTable(), IsFrameSelected(), SwNode::IsNoTextNode(), IsObjSelected(), SwCursorShell::IsTableMode(), lcl_SetAnchor(), IDocumentFieldsAccess::LockExpFields(), SwViewShell::mxDoc, SwPostItHelper::NONE, SwCursorShell::ParkTableCursor(), SwRect::Pos(), SelectFlyFrame(), SwFormat::SetFormatAttr(), SetOnlyText, SwFormatAnchor::SetPageNum(), IDocumentRedlineAccess::SetRedlineFlags_intern(), size, o3tl::sorted_vector< typename Value, typename Compare, template< typename, typename > class Find, bool >::size(), SwEditShell::StartAllAction(), Table, IDocumentFieldsAccess::UnlockExpFields(), SdrView::UnmarkAll(), and IDocumentFieldsAccess::UpdateFields().
|
private |
Methods for copying of draw objects.
Definition at line 274 of file fecopy.cxx.
References aFrameFormatSetRange, SwDoc::CloneSdrObj(), IDocumentLayoutAccess::CopyLayoutFormat(), DelSelectedObj(), SwFrameFormat::FindSdrObject(), SwFormat::GetAnchor(), SwFormatAnchor::GetAnchorId(), SwDoc::GetAttrPool(), SwFormat::GetAttrSet(), SwCursorShell::GetCursor(), SwViewShell::GetDoc(), SwViewShell::GetDrawView(), SwViewShellImp::GetDrawView(), SwContact::GetFormat(), SwFrameAreaDefinition::getFrameArea(), SwDoc::getIDocumentContentOperations(), SwDoc::getIDocumentLayoutAccess(), SwViewShell::GetLayout(), SdrMarkList::GetMark(), SdrMarkList::GetMarkCount(), SdrMark::GetMarkedSdrObj(), SwRootFrame::GetModelPositionForViewPoint(), SwPosition::GetNode(), SwTextBoxHelper::getOtherTextBoxFormat(), SwRootFrame::GetPageAtPos(), GetPageNumber(), SwViewShellImp::GetPageView(), SdrObject::getParentSdrObjectFromSdrObject(), SwPaM::GetPoint(), SwPaM::GetPointNode(), SdrObject::GetSnapRect(), SdrObject::GetUserCall(), GetUserCall(), Point::getX(), Point::getY(), i, SwViewShell::Imp(), IDocumentContentOperations::InsertDrawObj(), SdrEditView::InsertObjectAtView(), SdrPaintView::IsGroupEntered(), SwNode::IsNoTextNode(), lcl_SetAnchor(), SwViewShell::MakeDrawView(), SdrMarkView::MarkObj(), SwPostItHelper::NONE, SwRect::Pos(), sw::PREPPASTING, SfxItemSet::Put(), RES_DRAWFRMFMT(), SwFormat::SetFormatAttr(), SetOnlyText, SwFormatAnchor::SetPageNum(), SwTextBoxHelper::syncFlyFrameAttr(), tools::Rectangle::TopLeft(), SdrView::UnmarkAll(), Point::X(), and Point::Y().
Referenced by Copy().
void SwFEShell::CreateDefaultShape | ( | SdrObjKind | eSdrObjectKind, |
const tools::Rectangle & | rRect, | ||
sal_uInt16 | nSlotId | ||
) |
Definition at line 2916 of file feshview.cxx.
References basegfx::B2DPolyPolygon::append(), basegfx::B2DPolygon::append(), basegfx::B2DPolygon::appendBezierSegment(), tools::Rectangle::Bottom(), tools::Rectangle::BottomRight(), tools::Rectangle::Center(), SwEditShell::DoesUndo(), DynCastSdrTextObj(), SdrPaintView::GetActiveLayer(), SwViewShell::GetDoc(), SwViewShell::GetDrawView(), tools::Rectangle::GetHeight(), SwDoc::GetIDocumentUndoRedo(), SwViewShell::GetIDocumentUndoRedo(), SdrModel::GetItemPool(), SdrPaintView::GetModel(), SdrPaintView::GetSdrPageView(), tools::Rectangle::GetWidth(), SwViewShell::GetWin(), Point::getX(), Point::getY(), ImpEndCreate(), SdrEditView::InsertObjectAtView(), tools::Rectangle::Left(), SdrObjFactory::MakeNewObject(), makeSdrCircEndAngleItem(), makeSdrCircStartAngleItem(), makeSdrTextAutoGrowHeightItem(), makeSdrTextAutoGrowWidthItem(), SfxItemSet::Put(), tools::Rectangle::Right(), SDRTEXTHORZADJUST_RIGHT, SDRTEXTVERTADJUST_CENTER, SDRTEXTVERTADJUST_TOP, basegfx::B2DPolygon::setClosed(), SetLineEnds(), SdrCreateView::SetupObjLayer(), tools::Rectangle::Top(), tools::Rectangle::TopLeft(), Width, and Point::X().
Referenced by SwDrawBase::CreateDefaultObject(), and SwDrawBase::CreateDefaultObjectAtPosWithSize().
bool SwFEShell::DeleteCol | ( | ) |
Definition at line 266 of file fetab.cxx.
References CH_TXT_TRACKED_DUMMY_CHAR, Col, COL_DELETE, SwEditShell::Delete(), IDocumentContentOperations::DeleteAndJoin(), SwDoc::DeleteColumn, SwDoc::DeleteRowCol(), o3tl::sorted_vector< typename Value, typename Compare, template< typename, typename > class Find, bool >::empty(), EndAllActionAndCall(), SwEditShell::EndUndo(), ERR_TBLDDECHG_ERROR, SwNode::FindTableNode(), SwNode::GetContentNode(), SwCursorShell::GetCurrFrame(), SwViewShell::GetDoc(), SwDoc::GetEditShell(), GetFrameWeld(), SwDoc::getIDocumentContentOperations(), SwDoc::getIDocumentRedlineAccess(), SwPaM::GetMark(), SwPaM::GetPointNode(), SwEditShell::GetRedlineCount(), IDocumentRedlineAccess::GetRedlineFlags(), SwCursorShell::getShellCursor(), SwTableBox::GetSttNd(), SwTableNode::GetTable(), SwTabFrame::GetTable(), GetTableSel(), SwFrame::GetUpper(), ErrorHandler::HandleError(), i, SwFrame::ImplFindTabFrame(), IDocumentContentOperations::InsertString(), SwFrame::IsCellFrame(), SwTableBox::IsEmpty(), SwFrame::IsInTab(), SwTable::IsNewModel(), NONE, ParkCursorInTab(), RES_PRINT(), SwDoc::SetBoxAttr(), SwPosition::SetContent(), SwPaM::SetMark(), IDocumentRedlineAccess::SetRedlineFlags_intern(), o3tl::sorted_vector< typename Value, typename Compare, template< typename, typename > class Find, bool >::size(), SwEditShell::StartAllAction(), and SwEditShell::StartUndo().
Referenced by SwTableShell::Execute().
bool SwFEShell::DeleteRow | ( | bool | bCompleteTable = false | ) |
Definition at line 382 of file fetab.cxx.
References SwPosition::Assign(), o3tl::sorted_vector< typename Value, typename Compare, template< typename, typename > class Find, bool >::back(), SwTableLines::back(), Chars, SwEditShell::Delete(), SwPaM::DeleteMark(), SwDoc::DeleteRowCol(), SwTableNode::DelFrames(), o3tl::sorted_vector< typename Value, typename Compare, template< typename, typename > class Find, bool >::empty(), EndAllActionAndCall(), SwNode::EndOfSectionIndex(), SwEditShell::EndUndo(), ERR_TBLDDECHG_ERROR, SwTableBox::FindNextBox(), SwTableLine::FindNextBox(), SwTableBox::FindPreviousBox(), SwTableLine::FindPreviousBox(), SwNode::FindTableNode(), fnMoveBackward, ForEach_FndLineCopyCol(), FndBox_::GetBox(), SwNode::GetContentNode(), IDocumentLayoutAccess::GetCurrentLayout(), SwCursorShell::GetCurrFrame(), SwCursorShell::GetCursor(), SwViewShell::GetDoc(), SwDoc::GetDocShell(), SwDoc::GetEditShell(), SwTableBox::GetFrameFormat(), GetFrameWeld(), SwDoc::getIDocumentLayoutAccess(), FndBox_::GetLines(), SwNodeIndex::GetNode(), GetNode(), SwDoc::GetNodes(), SwViewShell::GetNodes(), SwPaM::GetPoint(), SwFormat::GetProtect(), SwCursorShell::getShellCursor(), SwTableBox::GetSttIdx(), SwTableBox::GetSttNd(), SwTableLine::GetTabBoxes(), SwTableNode::GetTable(), SwTabFrame::GetTable(), SwCursorShell::GetTableCursor(), GetTableSel(), SwTable::GetTabLines(), SwTableBox::GetTabLines(), SwTableBox::GetUpper(), GoInContent(), SwNodes::GoNext(), ErrorHandler::HandleError(), SwDoc::HasRowNotTracked(), SwFrame::ImplFindTabFrame(), SwDocShell::IsChangeRecording(), SvxProtectItem::IsContentProtected(), SwTable::IsDeleted(), SwTableLine::IsDeleted(), SwRootFrame::IsHideRedlines(), SwFrame::IsInTab(), SwFrame::IsTextFrame(), SwCursorShell::KillPams(), SwTableNode::MakeOwnFrames(), SwPaM::Move(), RES_PRINT(), Row, ROW_DELETE, SwPaM::SetMark(), SwShellTableCursor::SetMark(), SwDoc::SetRowNotTracked(), o3tl::sorted_vector< typename Value, typename Compare, template< typename, typename > class Find, bool >::size(), SwEditShell::StartAllAction(), SwEditShell::StartUndo(), and UI_TABLE_DELETE.
Referenced by DeleteTable(), SwContentTree::EditEntry(), SwTextShell::ExecDelete(), and SwTableShell::Execute().
void SwFEShell::DeleteTable | ( | ) |
Definition at line 377 of file fetab.cxx.
References DeleteRow().
Referenced by SwTransferable::DeleteSelection(), and SwTableShell::Execute().
bool SwFEShell::DeleteTableSel | ( | ) |
Current selection, may be whole table.
Definition at line 1457 of file fetab.cxx.
References ClearFEShellTabCols(), SwDoc::DeleteRowCol(), o3tl::sorted_vector< typename Value, typename Compare, template< typename, typename > class Find, bool >::empty(), EndAllActionAndCall(), ERR_TBLDDECHG_ERROR, SwCursorShell::GetCurrFrame(), SwViewShell::GetDoc(), GetFrameWeld(), SwTabFrame::GetTable(), GetTableSelCrs(), SwFrame::GetUpper(), ErrorHandler::HandleError(), SwFrame::ImplFindTabFrame(), SwFrame::IsCellFrame(), SwFrame::IsInTab(), SwCursorShell::ParkCursor(), o3tl::sorted_vector< typename Value, typename Compare, template< typename, typename > class Find, bool >::size(), and SwEditShell::StartAllAction().
Referenced by SwTransferable::DragFinished().
void SwFEShell::DelSelectedObj | ( | ) |
Definition at line 2257 of file feshview.cxx.
References SwDrawView::DeleteMarked(), SwEditShell::EndAllAction(), FLY_DRAG_END, FrameNotify(), SwViewShellImp::GetDrawView(), SwViewShell::HasDrawView(), SwViewShell::Imp(), and SwEditShell::StartAllAction().
Referenced by CopyDrawSel(), SwWrtShell::DelLeft(), SwWrtShell::DelRight(), EndTextEdit(), SwMediaShell::ExecMedia(), SwBezierShell::Execute(), SwDrawBaseShell::Execute(), Paste(), and ReplaceSdrObj().
void SwFEShell::Drag | ( | const Point * | pPt, |
bool | bProp | ||
) |
Definition at line 741 of file feshview.cxx.
References FrameNotify(), SwViewShellImp::GetDrawView(), SwViewShell::HasDrawView(), SwViewShell::HasDrawViewDrag(), SwViewShell::Imp(), SdrDragView::MovDragObj(), ScrollTo(), and SwDrawView::ShowDragAnchor().
Referenced by SwWrtShell::BeginFrameDrag().
|
private |
Terminate actions for all shells and call ChangeLink.
Definition at line 69 of file fews.cxx.
References SwCursorShell::CallChgLnk(), SwCursorShell::EndAction(), and sw::Ring< SwViewShell >::GetRingContainer().
Referenced by AdjustCellWidth(), BalanceRowHeight(), ChgCurPageDesc(), ChgPageDesc(), DeleteCol(), DeleteRow(), DeleteTableSel(), ImpEndCreate(), InsertCol(), InsertLabel(), InsertRow(), MergeTab(), NewFlyFrame(), ProtectCells(), ResetFlyFrameAttr(), SetBoxAlign(), SetBoxBackground(), SetBoxDirection(), SetColRowWidthHeight(), SetDrawingAttr(), SetFlyFrameAttr(), SetFrameFormat(), SetMouseTabCols(), SetMouseTabRows(), SetObjAttr(), SetRowBackground(), SetRowHeight(), SetRowSplit(), SetRowsToRepeat(), SetTabBorders(), SetTabCols(), SetTableAttr(), SetTabLineStyle(), SetTabRows(), SplitTab(), UnProtectCells(), UnProtectTables(), and UpdateTableStyleFormatting().
bool SwFEShell::EndCreate | ( | SdrCreateCmd | eSdrCreateCmd | ) |
Definition at line 1719 of file feshview.cxx.
References SdrCreateView::EndCreateObj(), FLY_DRAG_END, FrameNotify(), SwViewShell::GetDoc(), SwViewShell::GetDrawView(), SwViewShellImp::GetDrawView(), SwDoc::GetIDocumentUndoRedo(), SwViewShell::HasDrawView(), SwViewShell::Imp(), and ImpEndCreate().
Referenced by ConstFormControl::CreateDefaultObject(), SwBaseShell::InsertURLButton(), SwDrawBase::MouseButtonUp(), ConstArc::MouseButtonUp(), and ConstPolygon::MouseButtonUp().
void SwFEShell::EndDrag | ( | ) |
Definition at line 753 of file feshview.cxx.
References ChgAnchor(), END, SdrDragView::EndDragObj(), SwEditShell::EndUndo(), FrameNotify(), SwViewShell::GetDoc(), SwViewShellImp::GetDrawView(), SwDoc::getIDocumentState(), SwDoc::GetIDocumentUndoRedo(), sw::Ring< SwViewShell >::GetRingContainer(), SwViewShell::HasDrawView(), SwViewShell::Imp(), SdrDragView::IsDragObj(), IDocumentState::SetModified(), START, and SwEditShell::StartUndo().
Referenced by SwWrtShell::UpdateLayoutFrame().
bool SwFEShell::EndMark | ( | ) |
Definition at line 2152 of file feshview.cxx.
References SdrMarkView::AdjustMarkHdl(), SdrMarkList::DeleteMark(), SdrMarkView::EndMarkObj(), SdrMarkView::EndMarkPoints(), FLY_DRAG_START, FrameNotify(), SwViewShell::GetDrawView(), SwViewShellImp::GetDrawView(), GetFlyFromMarked(), SdrMarkList::GetMark(), SdrMarkList::GetMarkCount(), SdrMarkView::GetMarkedObjectList(), SdrMark::GetMarkedSdrObj(), SwViewShell::HasDrawView(), i, SwViewShell::Imp(), lcl_GrabCursor(), SwDrawView::MarkListHasChanged(), and SetChainMarker().
Referenced by SwDrawBase::MouseButtonUp().
void SwFEShell::EndTextEdit | ( | ) |
Deletes object if required.
Definition at line 1193 of file feshview.cxx.
References SdrObjUserCall::Changed(), SdrMarkList::DeleteMark(), DelSelectedObj(), SwEditShell::EndAllAction(), SdrMarkList::FindObject(), SwViewShell::GetDrawView(), SwViewShellImp::GetDrawView(), SdrObject::GetLastBoundRect(), SdrMarkList::GetMark(), SdrMarkList::GetMarkCount(), SdrMarkView::GetMarkedObjectList(), SdrMark::GetMarkedSdrObj(), SdrObject::getParentSdrObjectFromSdrObject(), SwViewShell::GetSfxViewShell(), SdrObjEditView::GetTextEditObject(), GetUserCall(), SwViewShell::HasDrawView(), i, SwViewShell::Imp(), comphelper::LibreOfficeKit::isActive(), SdrMarkView::MarkObj(), SfxLokHelper::notifyOtherViews(), SdrObjEditView::SdrEndTextEdit(), SwEditShell::StartAllAction(), and SdrView::UnmarkAll().
Referenced by SwPostItMgr::AssureStdModeAtShell(), SwEditWin::EnterDrawMode(), SwDrawTextShell::ExecDraw(), SwNavigationShell::Execute(), IMPL_LINK(), lcl_AssureStdModeAtShell(), SwWrtShell::MakeAllFoldedOutlineContentVisible(), and SwEditWin::ToggleOutlineContentVisibility().
Definition at line 421 of file fefly1.cxx.
References SwTextBoxHelper::changeAnchor(), CheckControlLayer(), FindAnchor(), SwFrame::FindFlyFrame(), SwFrame::FindFooterOrHeader(), SwFrame::FindPageFrame(), SwFormat::GetAnchor(), SwContact::GetAnchoredObj(), SwAnchoredObject::GetAnchorFrame(), SwFormatAnchor::GetAnchorId(), SwFormat::GetAttrSet(), SwFrame::GetCharRect(), SdrObject::getChildrenOfSdrObject(), SwFormatAnchor::GetContentAnchor(), SwNode::GetContentNode(), SwCursorShell::GetCurrFrame(), SwFormat::GetDoc(), SwViewShell::GetDoc(), SwViewShellImp::GetDrawView(), GetFormat(), SwFrame::GetFrameAnchorPos(), SwAnchoredObject::GetFrameFormat(), SwViewShell::GetLayout(), SwContentNode::getLayoutFrame(), SdrMarkList::GetMark(), SdrMarkList::GetMarkCount(), SdrMarkView::GetMarkedObjectList(), SdrMark::GetMarkedSdrObj(), SwFrame::GetModelPositionForViewPoint(), SwRootFrame::GetModelPositionForViewPoint(), SwPosition::GetNode(), SwNoTextFrame::GetNode(), SwViewShell::GetNodes(), SdrObjList::GetObj(), SwTextBoxHelper::getOtherTextBoxFormat(), GetPhyPageNum(), SwTextFrame::GetTextNodeForParaProps(), GetUserCall(), SwViewShell::HasDrawView(), HasWrap(), i, SwViewShell::Imp(), SwFrame::IsProtected(), SwTextBoxHelper::isTextBox(), SwFrame::IsTextFrame(), pos, SwRect::Pos(), SwCursorShell::PosInsideInputField(), RES_DRAWFRMFMT(), SwFormatAnchor::SetAnchor(), SwDoc::SetAttr(), SetOnlyText, SwFormatAnchor::SetPageNum(), SwEditShell::StartAllAction(), SwTextBoxHelper::syncFlyFrameAttr(), and SwFormat::Which().
Referenced by SwDrawShell::Execute(), SwEditWin::MouseButtonUp(), and SwEditWin::MouseMove().
|
private |
Definition at line 38 of file feflyole.cxx.
References SwNode::EndOfSectionIndex(), SwFrame::FindFlyFrame(), SwNodes::GetEndOfAutotext(), SwNode::GetIndex(), SwViewShell::GetLayout(), GetNode(), SwViewShell::GetNodes(), SwNode::GetOLENode(), SwOLENode::GetOLEObj(), SwOLEObj::GetOleRef(), GetSelectedFlyFrame(), GetStartNode(), SwFrame::IsNoTextFrame(), SwNode::IsOLENode(), SwLayoutFrame::Lower(), and SwNode::StartOfSectionIndex().
Referenced by AlignFormulaToBaseline(), GetAnyCurRect(), and RequestObjectResize().
SwPageDesc * SwFEShell::FindPageDescByName | ( | const OUString & | rName, |
bool | bGetFromPool = false , |
||
size_t * | pPos = nullptr |
||
) |
Definition at line 131 of file fedesc.cxx.
References SwDoc::FindPageDesc(), SwViewShell::GetDoc(), SwViewShell::getIDocumentStylePoolAccess(), SwDoc::GetPageDescCnt(), SwEditShell::GetPageDescFromPool(), SwStyleNameMapper::GetPoolIdFromUIName(), and PageDesc.
Referenced by SwDoc::AppendDoc(), SwEndNoteOptionPage::FillItemSet(), SwTextFlowPage::FillItemSet(), SwModule::InsertEnv(), SwWrtShell::InsertPageBreak(), lcl_FindUniqueName(), PastePages(), and SwWrtShell::SetPageStyle().
bool SwFEShell::FinishOLEObj | ( | ) |
Shutdown server.
Definition at line 88 of file feflyole.cxx.
References SwEditShell::ClearAutomaticContour(), CNT_OLE, SfxInPlaceClient::DeactivateObject(), SwEditShell::GetCntType(), SwViewShell::GetDoc(), SwDoc::GetDocShell(), SfxObjectShell::getEmbeddedObjectContainer(), SwDoc::getIDocumentLinksAdministration(), SfxViewShell::GetIPClient(), IDocumentLinksAdministration::GetLinkManager(), sfx2::LinkManager::GetLinks(), SwViewShell::GetSfxViewShell(), comphelper::EmbeddedObjectContainer::getUserAllowsLinkUpdate(), IsCheckForOLEInCaption(), SfxInPlaceClient::IsObjectInPlaceActive(), SetCheckForOLEInCaption(), comphelper::EmbeddedObjectContainer::setUserAllowsLinkUpdate(), and sfx2::LinkManager::UpdateAllLinks().
Referenced by SwEditWin::Command(), SwEditWin::MouseButtonDown(), and SwAccessibleContext::Select().
RndStdIds SwFEShell::GetAnchorId | ( | ) | const |
Anchor type of selected object, RndStdIds::UNKNOWN if ambiguous or in case of frame selection.
Else RndStdIds::FLY_AT_PAGE or RndStdIds::FLY_AT_PARA.
Definition at line 2209 of file feshview.cxx.
References SwFormat::GetAnchor(), SwFormatAnchor::GetAnchorId(), SwViewShellImp::GetDrawView(), SwContact::GetFormat(), SdrMarkList::GetMark(), SdrMarkList::GetMarkCount(), SdrMarkView::GetMarkedObjectList(), SdrMark::GetMarkedSdrObj(), GetUserCall(), SwViewShell::HasDrawView(), i, SwViewShell::Imp(), and nId.
Referenced by SwEditWin::ChangeDrawing(), SwDrawBaseShell::Execute(), SwBaseShell::GetState(), SwDrawBaseShell::GetState(), and IsGroupSelected().
Point SwFEShell::GetAnchorObjDiff | ( | ) | const |
Methods for status line.
Definition at line 2283 of file feshview.cxx.
References SdrMarkView::GetAllMarkedRect(), SwAnchoredObject::GetAnchorFrame(), SdrObject::GetAnchorPos(), SwViewShell::GetDrawView(), SwViewShellImp::GetDrawView(), SwFrameAreaDefinition::getFrameArea(), SdrMarkList::GetMark(), SdrMarkList::GetMarkCount(), SdrMarkView::GetMarkedObjectList(), SdrMark::GetMarkedSdrObj(), GetSelectedFlyFrame(), SwViewShell::Imp(), IsFrameSelected(), SwRect::Pos(), SdrCreateView::TakeActionRect(), and tools::Rectangle::TopLeft().
Referenced by SwDrawBase::MouseButtonUp(), SwBaseShell::SetFrameMode(), and SwView::StateStatusLine().
const SwRect & SwFEShell::GetAnyCurRect | ( | CurRectType | eType, |
const Point * | pPt = nullptr , |
||
const css::uno::Reference< css::embed::XEmbeddedObject > & | = css::uno::Reference < css::embed::XEmbeddedObject >() |
||
) | const |
Definition at line 90 of file fews.cxx.
References a, SwFrame::Calc(), eType, SwFrame::FindFlyFrame(), FindFlyFrame(), SwFrame::FindFooterOrHeader(), SwFrame::FindPageFrame(), SwFrame::FindSctFrame(), SwFrame::FindTabFrame(), FlyEmbedded, FlyEmbeddedPrt, SwNode::GetContentNode(), SwCursorShell::GetCurrFrame(), SwCursorShell::GetCursor(), SwViewShell::GetDrawView(), GetFlyFromMarked(), SwFrameAreaDefinition::getFrameArea(), SwFrameAreaDefinition::getFramePrintArea(), SwViewShell::GetLayout(), SwContentNode::getLayoutFrame(), SwRootFrame::GetModelPositionForViewPoint(), SwPosition::GetNode(), SwViewShell::GetOut(), SwRootFrame::GetPagesArea(), SwFrame::getRootFrame(), GetShell(), SwViewShellImp::HasDrawView(), HeaderFooter, SwViewShell::Imp(), SwRootFrame::IsCallbackActionEnabled(), SwFrame::IsFlyFrame(), SwFrame::IsInSct(), SwFrame::IsInTab(), Page, PageCalc, PagePrt, PagesArea, Section, SectionOutsideTable, SectionPrt, and SwRootFrame::SetCallbackActionEnabled().
Referenced by SwWrtShell::CalcAndSetScale(), SwTextShell::CreateInsertFrameItemSet(), SwView::ExecTabWin(), SwFrameShell::Execute(), SwTableShell::Execute(), SwGrfShell::Execute(), GetLeftMargin(), GetTableWidth(), IMPL_LINK_NOARG(), SwMailMergeLayoutPage::InsertGreeting(), SwWrtShell::InsertObject(), SwOleClient::ObjectAreaChanged(), SwParaDlg::PageCreated(), SwOleClient::RequestNewObjectArea(), SwCursorShell::sendLOKCursorUpdates(), SwNumPositionTabPage::SetWrtShell(), SwSectionIndentTabPage::SetWrtShell(), and SwView::StateTabWin().
void SwFEShell::GetAutoSum | ( | OUString & | rFormula | ) | const |
Definition at line 2384 of file fetab.cxx.
References cListDelim, SwCursorShell::GetAutoSumSel, SwCursorShell::GetCurrFrame(), SwTableBox::GetName(), SwCellFrame::GetTabBox(), SwTabFrame::GetTable(), i, SwFrame::ImplFindTabFrame(), SwTableBox::IsFormulaOrValueBox(), lcl_IsFormulaSelBoxes(), n, RES_BOXATR_FORMULA(), RES_BOXATR_VALUE(), and sCalc_Sum.
Referenced by SwTableShell::Execute().
const SdrObject * SwFEShell::GetBestObject | ( | bool | bNext, |
GotoObjFlags | eType, | ||
bool | bFlat = true , |
||
const svx::ISdrObjectFilter * | pFilter = nullptr , |
||
bool * | pbWrapped = nullptr |
||
) |
Definition at line 1442 of file feshview.cxx.
References SwRect::Center(), DrawAny, DrawControl, DrawSimple, eType, SwFrame::FindFlyFrame(), FlyAny, FlyFrame, FlyGrf, FlyOLE, SwCursorShell::GetCharRect(), SdrObject::GetCurrentBoundRect(), SdrPageView::GetCurrentGroup(), SwCursorShell::GetCurrFrame(), IDocumentDrawModelAccess::GetDrawModel(), SwViewShellImp::GetDrawView(), SwVirtFlyDrawObj::GetFlyFrame(), SwFrameAreaDefinition::getFrameArea(), SwNode::GetGrfNode(), SwViewShell::getIDocumentDrawModelAccess(), SdrMarkList::GetMark(), SdrMarkList::GetMarkCount(), SdrMarkView::GetMarkedObjectList(), SdrMark::GetMarkedSdrObj(), GetNode(), SwNode::GetOLENode(), SdrModel::GetPage(), SdrObject::getParentSdrObjListFromSdrObject(), SdrPaintView::GetSdrPageView(), SdrObject::GetSnapRect(), SdrObject::GetSubList(), SdrObject::GetUserCall(), SwFlyFrame::GetVirtDrawObj(), Point::getX(), Point::getY(), SwViewShell::HasDrawView(), SwViewShell::Imp(), svx::ISdrObjectFilter::includeObject(), SdrObjListIter::IsMore(), SwFrame::IsNoTextFrame(), SwVirtFlyDrawObj::IsTextBox(), lcl_IsControlGroup(), LONG_MAX, SwLayoutFrame::Lower(), SdrObjListIter::Next(), NONE, SwRect::Pos(), tools::Rectangle::TopLeft(), and Point::Y().
Referenced by SwTextShell::ExecMoveMisc(), and GotoObj().
|
private |
Used for mouse operations on a table:
Definition at line 1784 of file fetab.cxx.
References COLFUZZY, SwAnchoredObject::DynCastFlyFrame(), ENHANCED_TABLE_SELECTION_FUZZY, SwFrameAreaDefinition::getFrameArea(), SwViewShell::GetLayout(), SwFrame::GetNext(), SwPageFrame::GetSortedObjs(), SwViewShell::GetWin(), i, SwRect::IsNear(), lcl_FindFrame(), SwLayoutFrame::Lower(), vcl::Window::PixelToLogic(), RULER_MOUSE_MARGINWIDTH, SwSortedObjs::size(), and Size::Width().
Referenced by GetCurMouseColNum(), GetCurMouseTabColNum(), GetMouseTabCols(), GetMouseTabRows(), IsMouseTableRightToLeft(), SelTableRowCol(), SetMouseTabCols(), SetMouseTabRows(), and WhichMouseTabCol().
sal_uInt16 SwFEShell::GetBoxAlign | ( | ) | const |
USHRT_MAX if ambiguous.
Definition at line 998 of file fetab.cxx.
References SwDoc::GetBoxAlign(), and SwCursorShell::getShellCursor().
Referenced by SwTableShell::GetState(), and lcl_TableParamToItemSet().
bool SwFEShell::GetBoxBackground | ( | std::unique_ptr< SvxBrushItem > & | rToFill | ) | const |
FALSE ambiguous.
Definition at line 966 of file fetab.cxx.
References SwDoc::GetBoxAttr(), and SwCursorShell::getShellCursor().
Referenced by SwBaseShell::ExecBckCol(), SwBaseShell::ExecDlg(), SwTableShell::Execute(), and SwBaseShell::GetBckColState().
bool SwFEShell::GetBoxDirection | ( | std::unique_ptr< SvxFrameDirectionItem > & | rToFill | ) | const |
FALSE ambiguous.
Definition at line 982 of file fetab.cxx.
References SwDoc::GetBoxAttr(), and SwCursorShell::getShellCursor().
Referenced by lcl_TableParamToItemSet().
void SwFEShell::GetConnectableFrameFormats | ( | SwFrameFormat & | rFormat, |
const OUString & | rReference, | ||
bool | bSuccessors, | ||
std::vector< OUString > & | aPrevPageVec, | ||
std::vector< OUString > & | aThisPageVec, | ||
std::vector< OUString > & | aNextPageVec, | ||
std::vector< OUString > & | aRestVec | ||
) |
Definition at line 1866 of file fefly1.cxx.
References SwCursorShell::EndAction(), FLYCNTTYPE_FRM, SwFormat::GetChain(), SwFormat::GetName(), SwFormatChain::GetNext(), SwFormatChain::GetPrev(), SwViewShell::mxDoc, n, OK, SwCursorShell::StartAction(), and SwFormatGetPageNum().
Referenced by SwFrameAddPage::Reset().
Provide information about content situated closes to given Point.
Definition at line 84 of file fews.cxx.
References SwViewShell::GetLayout(), and SwRootFrame::GetNextPrevContentPos().
Referenced by IMPL_LINK_NOARG(), and SwWrtShell::PushCursor().
sal_uInt16 SwFEShell::GetCurColNum | ( | SwGetCurColNumPara * | pPara = nullptr | ) | const |
The ruler needs some information too.
Definition at line 640 of file fews.cxx.
References GetCurColNum_(), and SwCursorShell::GetCurrFrame().
Referenced by IMPL_LINK_NOARG(), and SwView::StateTabWin().
|
staticprivate |
Definition at line 599 of file fews.cxx.
References Fly, GetFormat(), SwFrameAreaDefinition::getFramePrintArea(), SwFrame::GetPrev(), SwFrame::GetType(), SwFrame::GetUpper(), SwFrame::IsColumnFrame(), Page, SwGetCurColNumPara::pFrameFormat, SwGetCurColNumPara::pPrtRect, and Section.
Referenced by GetCurColNum(), GetCurMouseColNum(), and GetCurOutColNum().
sal_uInt16 SwFEShell::GetCurMouseColNum | ( | const Point & | rPt | ) | const |
Definition at line 2231 of file fetab.cxx.
References GetBox(), and GetCurColNum_().
Referenced by SwView::StateTabWin().
size_t SwFEShell::GetCurMouseTabColNum | ( | const Point & | rPt | ) | const |
!!GetCurTabColNum() mitpflegen!!!!
Definition at line 2236 of file fetab.cxx.
References SwTabCols::Count(), GetBox(), SwFrameAreaDefinition::getFrameArea(), SwTabCols::GetLeft(), SwTabCols::GetLeftMin(), GetMouseTabCols(), i, IsSame(), and SwRect::Left().
Referenced by SwView::StateTabWin().
sal_uInt16 SwFEShell::GetCurOutColNum | ( | ) | const |
Current outer column.
Definition at line 646 of file fews.cxx.
References SwFrame::FindSctFrame(), SwFrame::FindTabFrame(), GetCurColNum_(), SwCursorShell::GetCurrFrame(), and SwFrame::IsInTab().
Referenced by SwView::StateTabWin().
size_t SwFEShell::GetCurPageDesc | ( | const bool | bCalcFrame = true | ) | const |
Definition at line 167 of file fedesc.cxx.
References SwFrame::FindPageFrame(), SwCursorShell::GetCurrFrame(), SwViewShell::GetDoc(), SwPageFrame::GetPageDesc(), and nPos.
Referenced by SwDoc::AppendDoc(), SwXTextView::BuildTmpSelectionDoc(), SwBaseShell::ExecDlg(), SwTextShell::ExecField(), SwView::ExecTabWin(), SwBaseShell::Execute(), SwBaseShell::ExecuteGallery(), SwWrtShell::GetCurPageStyle(), SwXTextViewCursor::getPosition(), SwModule::InsertEnv(), SwModule::InsertLab(), SwDocShell::MakeByExample(), PastePages(), SwDocShell::StateStyleSheet(), SwView::StateTabWin(), SwReadOnlyPopup::SwReadOnlyPopup(), and SwTitlePageDlg::SwTitlePageDlg().
SwFlyFrame * SwFEShell::GetCurrFlyFrame | ( | const bool | bCalcFrame = true | ) | const |
Definition at line 296 of file fefly1.cxx.
References SwFrame::FindFlyFrame(), and SwCursorShell::GetCurrFrame().
Referenced by GetFlyRect(), GetSelectedOrCurrFlyFrame(), IsFlyInFly(), SetFlyPos(), and SwTextShell::StateField().
size_t SwFEShell::GetCurTabColNum | ( | ) | const |
!!GetCurMouseTabColNum() mitpflegen!!!!
Definition at line 1499 of file fetab.cxx.
References SwTabCols::Count(), SwFrame::FindPageFrame(), SwFrame::FindTabFrame(), SwCursorShell::GetCurrFrame(), SwFrameAreaDefinition::getFrameArea(), SwTabCols::GetLeft(), SwRectFnSet::GetLeft(), SwTabCols::GetLeftMin(), SwTabCols::GetRight(), SwRectFnSet::GetRight(), GetTabCols(), SwFrame::GetUpper(), i, SwFrame::IsCellFrame(), SwFrame::IsInTab(), SwFrame::IsRightToLeft(), and IsSame().
Referenced by SwTableFUNC::GetCurColNum(), IsLastCellInRow(), and SwView::StateTabWin().
SdrDragMode SwFEShell::GetDragMode | ( | ) | const |
Definition at line 681 of file feshview.cxx.
References SdrMarkView::GetDragMode(), SwViewShellImp::GetDrawView(), SwViewShell::HasDrawView(), and SwViewShell::Imp().
Referenced by SwGrfShell::Execute(), and SelectObj().
bool SwFEShell::GetDrawObjGraphic | ( | SotClipboardFormatId | nFormat, |
Graphic & | rGrf | ||
) | const |
Get selected DrawObj as graphics (MetaFile/Bitmap).
Return value indicates if it was converted.
Definition at line 1226 of file fecopy.cxx.
References CNT_GRF, Graphic::Draw(), VclPtr< class reference_type >::get(), SwEditShell::GetCntType(), SwViewShellImp::GetDrawView(), SwEditShell::GetGraphic(), SwEditShell::GetGrfSize(), SdrMarkList::GetMark(), SdrMarkList::GetMarkCount(), SdrExchangeView::GetMarkedObjBitmapEx(), SdrMarkView::GetMarkedObjectList(), SdrExchangeView::GetMarkedObjMetaFile(), SdrMark::GetMarkedSdrObj(), GetSelectedFlyFrame(), Graphic::GetType(), SwViewShell::GetWin(), SwViewShell::HasDrawView(), SwViewShell::Imp(), GDIMetaFile::Record(), MapMode::SetOrigin(), GDIMetaFile::SetPrefMapMode(), GDIMetaFile::SetPrefSize(), SSize, and GDIMetaFile::Stop().
Referenced by SwTransferable::GetData(), and SwTransferable::PrepareForCopy().
size_t SwFEShell::GetFlyCount | ( | FlyCntType | eType, |
bool | bIgnoreTextBoxes = false |
||
) | const |
Iterate over flys - for Basic-collections.
Definition at line 2551 of file feshview.cxx.
References eType, SwViewShell::GetDoc(), and SwDoc::GetFlyCount().
Referenced by SwContentType::FillMemberList(), and lcl_GetFrameFormatByName().
bool SwFEShell::GetFlyFrameAttr | ( | SfxItemSet & | rSet | ) | const |
Definition at line 1061 of file fefly1.cxx.
References SfxItemSet::ClearItem(), eType, SwFormat::GetAttrSet(), SwFlyFrame::GetFormat(), SfxItemSet::GetItemIfSet(), SfxItemSet::GetParent(), GetSelectedOrCurrFlyFrame(), RES_ANCHOR(), RES_CHAIN(), RES_CNTNT(), RES_FILL_ORDER(), RES_OPAQUE(), RES_SURROUND(), rSet, SfxItemSet::Set(), and SfxItemSet::SetParent().
Referenced by SwEditWin::ChangeFly(), SwFormatClipboard::Copy(), SwWrtShell::DelRight(), SwBaseShell::ExecBckCol(), SwBaseShell::ExecDlg(), SwFrameShell::ExecDrawDlgTextFrame(), SwFrameShell::ExecFrameStyle(), SwView::ExecTabWin(), SwBaseShell::Execute(), SwFrameShell::Execute(), SwBaseShell::GetBckColState(), SwTransferable::GetData(), SwFrameShell::GetDrawAttrStateTextFrame(), SwFrameShell::GetLineStyleState(), SwBaseShell::GetState(), SwFrameShell::GetState(), IMPL_LINK_NOARG(), SwWrtShell::InsertContentControl(), lcl_UpdateIMapDlg(), SwDocShell::MakeByExample(), SwTransferable::PasteAsHyperlink(), SwTransferable::PasteFileName(), SwTransferable::PasteGrf(), SwTransferable::PasteImageMap(), SwTransferable::PasteTargetURL(), SwTransferable::PrepareForCopy(), SwTransferable::PrivateDrop(), SwTransferable::SetDataForDragAndDrop(), SwBaseShell::SetWrapMode(), SwView::StateTabWin(), SwFlyFrameAttrMgr::SwFlyFrameAttrMgr(), SwFlyFrameAttrMgr::UpdateAttrMgr(), SwFlyFrameAttrMgr::UpdateFlyFrame(), and SwDocShell::UpdateStyle().
SwFrameFormat * SwFEShell::GetFlyFrameFormat | ( | ) |
Definition at line 1278 of file fefly1.cxx.
References SwFlyFrame::GetFormat(), and GetSelectedOrCurrFlyFrame().
const SwFrameFormat * SwFEShell::GetFlyFrameFormat | ( | ) | const |
Get FlyFrameFormat; for UI macro linkage at Flys.
Definition at line 1270 of file fefly1.cxx.
References SwFlyFrame::GetFormat(), and GetSelectedOrCurrFlyFrame().
Referenced by SwWrtShell::CalcAndSetScale(), SwView::ExecTabWin(), SwFrameShell::Execute(), SwFrameAddPage::FillItemSet(), SwXTextView::getSelection(), SwTransferable::GetSotDestination(), SwFrameShell::GetState(), GetTableWidth(), SwFramePage::Init(), SwMailMergeLayoutPage::InsertAddressFrame(), SwWrtShell::InsertContentControl(), SwEditWin::KeyInput(), SwEditWin::MouseButtonDown(), SwEditWin::MouseButtonUp(), SwEditWin::MouseMove(), SwFramePage::Reset(), SwFrameAddPage::Reset(), SwTextShell::StateInsert(), SwView::StateTabWin(), SwColumnDlg::SwColumnDlg(), SwEditWin::UpdatePointer(), and SwPasteContext::~SwPasteContext().
std::vector< SwFrameFormat const * > SwFEShell::GetFlyFrameFormats | ( | FlyCntType | eType, |
bool | bIgnoreTextBoxes | ||
) |
Definition at line 2561 of file feshview.cxx.
References eType, SwViewShell::GetDoc(), and SwDoc::GetFlyFrameFormats().
Referenced by SwContentTree::BringEntryToAttention(), and SwContentType::FillMemberList().
OUString SwFEShell::GetFlyName | ( | ) | const |
Definition at line 1481 of file fefly1.cxx.
References SwLayoutFrame::GetFormat(), SwFormat::GetName(), and GetSelectedFlyFrame().
Referenced by SwFrameShell::Execute(), SwGrfShell::Execute(), SwFrameShell::GetState(), SwTransferable::PasteFileList(), and SwContentTree::UpdateTracking().
const SwFrameFormat * SwFEShell::GetFlyNum | ( | size_t | nIdx, |
FlyCntType | eType, | ||
bool | bIgnoreTextBoxes = false |
||
) | const |
Definition at line 2556 of file feshview.cxx.
References eType, SwViewShell::GetDoc(), and SwDoc::GetFlyNum().
Referenced by lcl_GetFrameFormatByName().
SwRect SwFEShell::GetFlyRect | ( | ) | const |
For moving flys with keyboard.
Definition at line 1286 of file fefly1.cxx.
References GetCurrFlyFrame(), and SwFrameAreaDefinition::getFrameArea().
Referenced by SwEditWin::ChangeFly().
const SwFrameFormat * SwFEShell::GetFormatFromAnyObj | ( | const Point & | rPt | ) | const |
Definition at line 1651 of file fefly1.cxx.
References SwFrame::FindFlyFrame(), SwNode::GetContentNode(), SwCursorShell::GetCursor(), GetFormat(), GetFormatFromObj(), SwViewShell::GetLayout(), SwContentNode::getLayoutFrame(), SwRootFrame::GetModelPositionForViewPoint(), SwPosition::GetNode(), RES_FLYFRMFMT(), and SwFormat::Which().
Referenced by SwEditWin::MouseMove().
const SwFrameFormat * SwFEShell::GetFormatFromObj | ( | const Point & | rPt, |
SwRect ** | pRectToFill = nullptr |
||
) | const |
Definition at line 1620 of file fefly1.cxx.
References SdrObject::GetCurrentBoundRect(), SwViewShellImp::GetDrawView(), GetFormat(), SdrPaintView::GetHitTolerancePixel(), SdrPaintView::getHitTolLog(), SdrMarkView::GetMarkHdlSizePixel(), SdrObject::GetUserCall(), SwViewShell::HasDrawView(), SwViewShell::Imp(), SdrMarkView::PickObj(), and SdrPaintView::SetHitTolerancePixel().
Referenced by SwEditWin::GetDropDestination(), GetFormatFromAnyObj(), SwEditWin::MouseButtonUp(), SwTransferable::PasteData(), SwTransferable::PrivateDrop(), SetFrameFormat(), and SwEditWin::UpdatePointer().
FrameTypeFlags SwFEShell::GetFrameType | ( | const Point * | pPt, |
bool | bStopAtFly | ||
) | const |
For return values see above FrameType.
pPt: Cursr or DocPos respectively; bStopAtFly: Stop at flys or continue over anchor. Although (0,TRUE) is kind of a standard, the parameters are not defaulted here in order to force more conscious use especially of bStopAtFly.
Definition at line 237 of file fews.cxx.
References BODY, Body, Cell, COLSECT, COLSECTOUTTAB, COLUMN, Column, Fly, FLY_ANY, FLY_ATCNT, FLY_FREE, FLY_INCNT, FOOTER, Footer, FOOTNOTE, Ftn, FTNPAGE, SwNode::GetContentNode(), SwCursorShell::GetCurrFrame(), SwCursorShell::GetCursor(), SwViewShell::GetLayout(), SwContentNode::getLayoutFrame(), SwRootFrame::GetModelPositionForViewPoint(), SwFrame::GetNext(), SwPosition::GetNode(), SwFrame::GetPrev(), SwFrame::GetType(), SwFrame::GetUpper(), HEADER, Header, SwFlyFrame::IsFlyAtContentFrame(), SwFrame::IsFlyFrame(), SwFlyFrame::IsFlyLayFrame(), SwPageFrame::IsFootnotePage(), SwFrame::IsPageFrame(), SwFrame::IsSctFrame(), NONE, PAGE, Page, Row, Tab, and TABLE.
Referenced by SwEditWin::AcceptDrop(), SwBreakDlg::CheckEnable(), SwTextShell::ExecMoveMisc(), SwView::ExecTabWin(), SwBaseShell::GetGalleryState(), SwSpellDialogChildWindow::GetNextWrongSentence(), SwBaseShell::GetState(), SwFrameShell::GetState(), SwTextShell::GetState(), SwWrtShell::GoEnd(), SwWrtShell::GoStart(), SwXTextViewCursor::gotoRange(), IMPL_LINK(), IMPL_LINK_NOARG(), SwIndexMarkPane::InitControls(), SwFieldMgr::InsertField(), SwBaseShell::InsertTable(), SwEditWin::KeyInput(), SwParaDlg::PageCreated(), SwTableTabDlg::PageCreated(), SwDocShell::StateStyleSheet(), and SwView::StateTabWin().
Size SwFEShell::GetGraphicDefaultSize | ( | ) | const |
Definition at line 1241 of file fews.cxx.
References CalcBoundRect(), SwFormat::GetAnchor(), SwAnchoredObject::GetAnchorFrame(), SwFormatAnchor::GetAnchorId(), SwFlyFrame::GetFormat(), SwFrameAreaDefinition::getFramePrintArea(), GetSelectedFlyFrame(), SwFrame::GetUpper(), SwRect::Height(), Size::IsEmpty(), SwFrame::IsVertical(), Size::setHeight(), Size::setWidth(), SwRect::SSize(), and SwRect::Width().
Referenced by SwWrtShell::InsertGraphic().
const Graphic * SwFEShell::GetGrfAtPos | ( | const Point & | rDocPos, |
OUString & | rName, | ||
bool & | rbLink | ||
) | const |
Deliver graphic in rName besides graphic name.
If graphic is linked give name with path. rbLink is TRUE if graphic is linked.
Definition at line 1582 of file fefly1.cxx.
References SwViewShellImp::GetDrawView(), SwGrfNode::GetFileFilterNms(), SwVirtFlyDrawObj::GetFlyFrame(), SwFlyFrame::GetFormat(), SwGrfNode::GetGrf(), SwNode::GetGrfNode(), SdrPaintView::getHitTolLog(), SwGrfNode::GetLink(), SwFormat::GetName(), GetNode(), SwViewShell::HasDrawView(), SwViewShell::Imp(), SwGrfNode::IsGrfLink(), SwFrame::IsNoTextFrame(), sfx2::SvLinkSource::IsPending(), SwLayoutFrame::Lower(), and SdrMarkView::PickObj().
Referenced by SwEditWin::GetDropDestination(), and SwReadOnlyPopup::SwReadOnlyPopup().
SdrLayerID SwFEShell::GetLayerId | ( | ) | const |
1 Heaven, 0 Hell, SDRLAYER_NOTFOUND Ambiguous.
Definition at line 1049 of file feshview.cxx.
References SwViewShellImp::GetDrawView(), SdrObject::GetLayer(), SdrMarkList::GetMark(), SdrMarkList::GetMarkCount(), SdrMarkView::GetMarkedObjectList(), SdrMark::GetMarkedSdrObj(), SwViewShell::HasDrawView(), i, SwViewShell::Imp(), and SDRLAYER_NOTFOUND().
Referenced by SwDrawShell::Execute(), SwDrawBaseShell::Execute(), SwBaseShell::GetState(), SwDrawShell::GetState(), and SwBaseShell::SetWrapMode().
|
inline |
Definition at line 522 of file fesh.hxx.
Referenced by SwAccessibleMap::InvalidateCursorPosition().
|
private |
Get list of marked SdrObjects; helper method for GetSelFrameType, IsSelContainsControl.
Definition at line 606 of file feshview.cxx.
References SwViewShell::GetDrawView(), SwViewShellImp::GetDrawView(), SdrMarkView::GetMarkedObjectList(), and SwViewShell::Imp().
Referenced by GetSelFrameType(), and IsSelContainsControl().
size_t SwFEShell::GetMousePageDesc | ( | const Point & | rPt | ) | const |
Definition at line 148 of file fedesc.cxx.
References SwRect::Bottom(), SwDoc::ContainsPageDesc(), SwViewShell::GetDoc(), SwFrameAreaDefinition::getFrameArea(), SwViewShell::GetLayout(), SwFrame::GetNext(), SwPageFrame::GetPageDesc(), SwLayoutFrame::Lower(), nPos, and Point::Y().
Referenced by SwView::StateTabWin().
Definition at line 2211 of file fetab.cxx.
References GetBox(), and GetTabCols_().
Referenced by SwView::ExecTabWin(), GetCurMouseTabColNum(), and SwView::StateTabWin().
Definition at line 866 of file fetab.cxx.
References GetBox(), and GetTabRows_().
Referenced by SwView::ExecTabWin(), and SwView::StateTabWin().
SwTextNode * SwFEShell::GetNumRuleNodeAtPos | ( | const Point & | rPot | ) |
Definition at line 2153 of file fetab.cxx.
References SwContentAtPos::aFnd, SwCursorShell::GetContentAtPos(), SwNode::GetTextNode(), NumLabel, and SwContentAtPos::pNode.
Referenced by SwEditWin::changeMousePointer(), and SwEditWin::MouseButtonDown().
Point SwFEShell::GetObjAbsPos | ( | ) | const |
Definition at line 2312 of file feshview.cxx.
References SdrDragStat::GetActionRect(), SdrPaintView::GetDragStat(), SwViewShell::GetDrawView(), SwViewShellImp::GetDrawView(), SwViewShell::Imp(), and tools::Rectangle::TopLeft().
Referenced by SwTextShell::ExecInsert().
Same as IsObjSelectable(), but return the object as well.
Definition at line 1275 of file feshview.cxx.
References SwViewShellImp::GetDrawView(), SdrPaintView::GetHitTolerancePixel(), SdrPaintView::getHitTolLog(), SdrMarkView::GetMarkHdlSizePixel(), SwViewShell::Imp(), SdrMarkView::PickObj(), and SdrPaintView::SetHitTolerancePixel().
Referenced by lcl_urlOverBackground(), and SwEditWin::UpdatePointer().
bool SwFEShell::GetObjAttr | ( | SfxItemSet & | rSet | ) | const |
Attention: Ambiguities if multiple selections.
Definition at line 2649 of file feshview.cxx.
References SwFormat::GetAttrSet(), SwViewShellImp::GetDrawView(), SwContact::GetFormat(), SdrMarkList::GetMark(), SdrMarkList::GetMarkCount(), SdrMarkView::GetMarkedObjectList(), SdrMark::GetMarkedSdrObj(), GetUserCall(), i, SwViewShell::Imp(), IsObjSelected(), SfxItemSet::MergeValues(), SfxItemSet::Put(), and rSet.
Referenced by SwDrawBaseShell::Execute(), SwBaseShell::GetState(), and SwBaseShell::SetWrapMode().
ObjCntType SwFEShell::GetObjCntType | ( | const Point & | rPt, |
SdrObject *& | rpObj | ||
) | const |
Definition at line 1743 of file fefly1.cxx.
References eType, SwViewShellImp::GetDrawView(), SdrPaintView::GetHitTolerancePixel(), SdrPaintView::getHitTolLog(), SdrMarkView::GetMarkHdlSizePixel(), GetObjCntType(), SwViewShell::HasDrawView(), SwViewShell::Imp(), OBJCNT_NONE, SdrMarkView::PickObj(), and SdrPaintView::SetHitTolerancePixel().
|
static |
Definition at line 1667 of file fefly1.cxx.
References eType, SwFormat::GetAnchor(), SwFormatAnchor::GetAnchorId(), SwContact::GetFormat(), SwNode::GetGrfNode(), SwNoTextFrame::GetNode(), SdrObject::GetObjInventor(), SdrUnoObj::GetUnoControlModel(), GetUserCall(), uno::Any::hasValue(), SwFrame::IsNoTextFrame(), SwLayoutFrame::Lower(), OBJCNT_CONTROL, OBJCNT_FLY, OBJCNT_GRF, OBJCNT_GROUPOBJ, OBJCNT_NONE, OBJCNT_OLE, OBJCNT_SIMPLE, OBJCNT_URLBUTTON, sName, and xModel.
Referenced by SwEditWin::ExecuteDrop(), SwEditWin::GetDropDestination(), GetObjCntType(), GetObjCntTypeOfSelection(), IsDrawObjSelectable(), SwFlyFrame::IsShowUnfloatButton(), and SwEditWin::StartDrag().
ObjCntType SwFEShell::GetObjCntTypeOfSelection | ( | ) | const |
Definition at line 1769 of file fefly1.cxx.
References eType, SwViewShellImp::GetDrawView(), SdrMarkList::GetMark(), SdrMarkList::GetMarkCount(), SdrMarkView::GetMarkedObjectList(), SdrMark::GetMarkedSdrObj(), GetObjCntType(), SwViewShell::HasDrawView(), i, SwViewShell::Imp(), OBJCNT_DONTCARE, and OBJCNT_NONE.
Referenced by SwTransferable::GetSotDestination(), SwTransferable::PasteAsHyperlink(), SwTransferable::PasteFileName(), SwTransferable::PasteGrf(), and SwTransferable::PasteTargetURL().
OUString SwFEShell::GetObjDescription | ( | ) | const |
Definition at line 2006 of file fefly1.cxx.
References FindFrameFormat(), SdrObject::GetDescription(), SwViewShellImp::GetDrawView(), SdrMarkList::GetMark(), SdrMarkList::GetMarkCount(), SdrMarkView::GetMarkedObjectList(), SdrMark::GetMarkedSdrObj(), SwFlyFrameFormat::GetObjDescription(), SwViewShell::HasDrawView(), SwViewShell::Imp(), RES_FLYFRMFMT(), and SwFormat::Which().
Referenced by SwFrameShell::Execute(), and SwGrfShell::Execute().
SwRect SwFEShell::GetObjRect | ( | ) | const |
For adjustment of PosAttr when anchor changes.
Definition at line 1298 of file fefly1.cxx.
References SwViewShell::GetDrawView(), SwViewShell::HasDrawView(), and SwViewShell::Imp().
Referenced by SwWrtShell::DelLeft(), SwWrtShell::DelRight(), SwView::ExecTabWin(), SwDrawBaseShell::Execute(), SwTransferable::PrivateDrop(), and SwView::StateTabWin().
Size SwFEShell::GetObjSize | ( | ) | const |
Definition at line 2270 of file feshview.cxx.
References SdrMarkView::GetAllMarkedRect(), SwViewShell::GetDrawView(), SwViewShellImp::GetDrawView(), tools::Rectangle::GetSize(), SwViewShell::HasDrawView(), SwViewShell::Imp(), and SdrCreateView::TakeActionRect().
Referenced by SwTextShell::ExecInsert(), SwDrawBase::MouseButtonUp(), SwTransferable::PrepareForCopy(), SwBaseShell::SetFrameMode(), and SwView::StateStatusLine().
OUString SwFEShell::GetObjTitle | ( | ) | const |
Definition at line 1964 of file fefly1.cxx.
References FindFrameFormat(), SwViewShellImp::GetDrawView(), SdrMarkList::GetMark(), SdrMarkList::GetMarkCount(), SdrMarkView::GetMarkedObjectList(), SdrMark::GetMarkedSdrObj(), GetObjTitle(), SdrObject::GetTitle(), SwViewShell::HasDrawView(), SwViewShell::Imp(), RES_FLYFRMFMT(), and SwFormat::Which().
Referenced by SwFrameShell::Execute(), SwGrfShell::Execute(), and GetObjTitle().
uno::Reference< embed::XEmbeddedObject > SwFEShell::GetOleRef | ( | ) | const |
get reference to OLE object (if there is one) for selected FlyFrame
Definition at line 1491 of file fefly1.cxx.
References GetNode(), SwNode::GetOLENode(), SwOLENode::GetOLEObj(), SwOLEObj::GetOleRef(), GetSelectedFlyFrame(), SwFrame::IsNoTextFrame(), and SwLayoutFrame::Lower().
Referenced by SwBaseShell::Execute(), and SwFrameShell::Execute().
const SwPageDesc & SwFEShell::GetPageDesc | ( | size_t | i | ) | const |
Definition at line 126 of file fedesc.cxx.
References SwViewShell::GetDoc(), SwDoc::GetPageDesc(), and i.
Referenced by SwDoc::AppendDoc(), SwXTextView::BuildTmpSelectionDoc(), SwWrtShell::ChangeHeaderOrFooter(), ChgCurPageDesc(), SwBaseShell::ExecDlg(), SwTextShell::ExecField(), SwView::ExecTabWin(), SwBaseShell::Execute(), SwBaseShell::ExecuteGallery(), SwWrtShell::GetCurPageStyle(), GetPageNumber(), SwXTextViewCursor::getPosition(), GetSelectedPageDescs(), SwModule::InsertEnv(), SwModule::InsertLab(), SwDocShell::MakeByExample(), PastePages(), SwEndNoteOptionPage::Reset(), SwFieldRefPage::Reset(), SwTextFlowPage::Reset(), SwContentTree::SetActiveShell(), SwDocShell::StateStyleSheet(), SwView::StateTabWin(), SwBreakDlg::SwBreakDlg(), SwReadOnlyPopup::SwReadOnlyPopup(), and SwTitlePageDlg::SwTitlePageDlg().
size_t SwFEShell::GetPageDescCnt | ( | ) | const |
Definition at line 38 of file fedesc.cxx.
References SwViewShell::GetDoc(), and SwDoc::GetPageDescCnt().
Referenced by SwWrtShell::ChangeHeaderOrFooter(), ChgCurPageDesc(), SwEndNoteOptionPage::Reset(), SwTextFlowPage::Reset(), and SwBreakDlg::SwBreakDlg().
sal_uInt16 SwFEShell::GetPageNumber | ( | const Point & | rPoint | ) | const |
Page number of the page containing Point, O if no page.
Definition at line 185 of file fews.cxx.
References SwRect::Contains(), SwFrameAreaDefinition::getFrameArea(), SwViewShell::GetLayout(), SwFrame::GetNext(), GetPhyPageNum(), and SwLayoutFrame::Lower().
Referenced by BeginCreate(), BeginMark(), Copy(), CopyDrawSel(), SwAccessibleDocument::getExtendedAttributes(), lcl_SetAnchor(), MoveCreate(), and MoveMark().
bool SwFEShell::GetPageNumber | ( | tools::Long | nYPos, |
bool | bAtCursorPos, | ||
sal_uInt16 & | rPhyNum, | ||
sal_uInt16 & | rVirtNum, | ||
OUString & | rDisplay | ||
) | const |
Definition at line 196 of file fews.cxx.
References SwRect::Bottom(), SwFrame::FindPageFrame(), SwCursorShell::GetCurrFrame(), SwViewShellImp::GetFirstVisPage(), SwFrameAreaDefinition::getFrameArea(), SwViewShell::GetLayout(), SwFrame::GetNext(), SvxNumberType::GetNumStr(), SwPageDesc::GetNumType(), SwViewShell::GetOut(), GetPageDesc(), GetPhyPageNum(), GetVirtPageNum(), SwViewShell::Imp(), SwLayoutFrame::Lower(), and Top.
void SwFEShell::GetPageObjs | ( | std::vector< SwFrameFormat * > & | rFillArr | ) |
SS for envelopes: get all page-bound objects and set them to new page.
Definition at line 1003 of file fefly1.cxx.
References SwViewShell::mxDoc.
Referenced by SwModule::InsertEnv().
sal_uInt16 SwFEShell::GetPageOffset | ( | ) | const |
Definition at line 402 of file fews.cxx.
References SwPageFrame::FindFirstBodyContent(), SwFrame::FindPageFrame(), SwFrame::FindTabFrame(), SwCursorShell::GetCurrFrame(), SwFormatPageDesc::GetNumOffset(), SwFrame::GetPageDescItem(), SwFrame::GetPrev(), and SwFrame::IsInTab().
comphelper::OInterfaceContainerHelper3< css::text::XPasteListener > & SwFEShell::GetPasteListeners | ( | ) |
Definition at line 1224 of file fecopy.cxx.
References m_aPasteListeners.
Referenced by SwXTextDocument::addPasteEventListener(), SwPasteContext::remember(), SwXTextDocument::removePasteEventListener(), and SwPasteContext::~SwPasteContext().
sal_uInt16 SwFEShell::GetPhyPageNum | ( | ) | const |
Phy: real page count.
Virt: consider offset that may have been set by user.
Definition at line 335 of file fews.cxx.
References SwCursorShell::GetCurrFrame(), and SwFrame::GetPhyPageNum().
Referenced by SwFramePage::DeactivatePage(), SwBaseShell::Execute(), SwFramePage::FillItemSet(), FindAnchorPos(), GetPageNumber(), GetSelectedPageDescs(), and MoveAnchor().
Convert document position into position relative to the current page.
Definition at line 3222 of file feshview.cxx.
References SwRect::Contains(), SwFrameAreaDefinition::getFrameArea(), SwViewShell::GetLayout(), SwFrame::GetNext(), SwLayoutFrame::Lower(), and SwRect::TopLeft().
Referenced by SwEditWin::MouseMove().
bool SwFEShell::GetRowBackground | ( | std::unique_ptr< SvxBrushItem > & | rToFill | ) | const |
FALSE ambiguous.
Definition at line 930 of file fetab.cxx.
References SwDoc::GetRowBackground(), and SwCursorShell::getShellCursor().
Referenced by lcl_TableParamToItemSet().
std::unique_ptr< SwFormatFrameSize > SwFEShell::GetRowHeight | ( | ) | const |
Pointer must be destroyed by caller != 0.
Definition at line 906 of file fetab.cxx.
References SwDoc::GetRowHeight(), and SwCursorShell::getShellCursor().
Referenced by SwTableShell::Execute(), SwTableShell::GetState(), and SwTableHeightDlg::SwTableHeightDlg().
sal_uInt16 SwFEShell::GetRowSelectionFromTop | ( | ) | const |
Definition at line 1233 of file fetab.cxx.
References SwCursorShell::GetCursor_(), SwPaM::GetMark(), SwPaM::GetPoint(), SwCursorShell::GetTableCursor(), SwCursorShell::IsTableMode(), and lcl_GetRowNumber().
Referenced by SwTableShell::Execute(), and SwTableShell::GetState().
std::unique_ptr< SwFormatRowSplit > SwFEShell::GetRowSplit | ( | ) | const |
Definition at line 893 of file fetab.cxx.
References SwDoc::GetRowSplit(), and SwCursorShell::getShellCursor().
Referenced by SwTableShell::Execute(), SwTableShell::GetState(), and lcl_TableParamToItemSet().
sal_uInt16 SwFEShell::GetRowsToRepeat | ( | ) | const |
Definition at line 1171 of file fetab.cxx.
References SwFrame::FindTabFrame(), SwCursorShell::GetCurrFrame(), SwTable::GetRowsToRepeat(), and SwTabFrame::GetTable().
Referenced by SwTableShell::Execute(), SwTableShell::GetState(), and lcl_TableParamToItemSet().
tools::Long SwFEShell::GetSectionWidth | ( | SwFormat const & | rFormat | ) | const |
Width of current range for column-dialog.
Definition at line 2888 of file feshview.cxx.
References SwFrame::FindSctFrame(), SwIterator< TElementType, TSource, eMode >::First(), SwCursorShell::GetCurrFrame(), SwFrameAreaDefinition::getFrameArea(), SwFrame::GetUpper(), SwFrame::IsInSct(), SwFrame::KnowsFormat(), SwIterator< TElementType, TSource, eMode >::Next(), and SwRect::Width().
Referenced by SwColumnDlg::SwColumnDlg().
SwFlyFrame * SwFEShell::GetSelectedFlyFrame | ( | ) | const |
Definition at line 277 of file fefly1.cxx.
References SwViewShellImp::GetDrawView(), SwVirtFlyDrawObj::GetFlyFrame(), SdrMarkList::GetMark(), SdrMarkList::GetMarkCount(), SdrMarkView::GetMarkedObjectList(), SdrMark::GetMarkedSdrObj(), SwViewShell::HasDrawView(), and SwViewShell::Imp().
Referenced by CalcBoundRect(), Copy(), SwWrtShell::DelRight(), SwGrfShell::Execute(), FindFlyFrame(), GetAnchorObjDiff(), GetDrawObjGraphic(), GetFlyName(), GetGraphicDefaultSize(), GetOleRef(), SwAccessibleSelectionHelper::getSelectedAccessibleChild(), GetSelectedFrameFormat(), GetSelectedOrCurrFlyFrame(), SwFrameShell::GetState(), ImpEndCreate(), SwWrtShell::InsertPostIt(), SelectFlyFrame(), SetChainMarker(), SetFlyName(), and SetFrameFormat().
SwFrameFormat * SwFEShell::GetSelectedFrameFormat | ( | ) | const |
If frame then frame style, else 0.
Definition at line 1213 of file fefly1.cxx.
References SwFormat::DerivedFrom(), SwViewShell::GetDoc(), SwLayoutFrame::GetFormat(), and GetSelectedFlyFrame().
Referenced by SwBaseShell::ExecBckCol(), SwFrameShell::ExecFrameStyle(), SwDocShell::ExecStyleSheet(), SwFrameShell::Execute(), SwGrfShell::Execute(), SwWrtShell::GetSelDescr(), SwDocShell::MakeByExample(), SwDrawBase::MouseButtonUp(), and SwDocShell::StateStyleSheet().
SwFlyFrame * SwFEShell::GetSelectedOrCurrFlyFrame | ( | ) | const |
Definition at line 303 of file fefly1.cxx.
References GetCurrFlyFrame(), and GetSelectedFlyFrame().
Referenced by GetFlyFrameAttr(), GetFlyFrameFormat(), ResetFlyFrameAttr(), and SetFlyFrameAttr().
const SwPageDesc * SwFEShell::GetSelectedPageDescs | ( | ) | const |
if inside all selection only one PageDesc,
Definition at line 185 of file fedesc.cxx.
References SwFrame::FindPageFrame(), SwCursorShell::GetCursor(), SwViewShell::GetLayout(), SwContentNode::getLayoutFrame(), SwFrame::GetNext(), SwPageFrame::GetPageDesc(), GetPageDesc(), GetPhyPageNum(), SwPageFrame::GetPhyPageNum(), and sw::Ring< SwViewShell >::GetRingContainer().
Referenced by SwTextShell::StateInsert(), and SwColumnDlg::SwColumnDlg().
FrameTypeFlags SwFEShell::GetSelFrameType | ( | ) | const |
Definition at line 614 of file feshview.cxx.
References DRAWOBJ, eType, FLY_ATCNT, FLY_FREE, FLY_INCNT, GetFlyFromMarked(), SdrMarkList::GetMarkCount(), GetMarkList_(), SwFlyFrame::IsFlyAtContentFrame(), SwFlyFrame::IsFlyInContentFrame(), SwFlyFrame::IsFlyLayFrame(), and NONE.
Referenced by SwEditWin::AcceptDrop(), SwEditWin::MouseButtonDown(), SwEditWin::MouseButtonUp(), and SwEditWin::SelectMenuPosition().
Color SwFEShell::GetShapeBackground | ( | ) | const |
SwFEShell::GetShapeBackground.
SwFEShell::GetShapeBackground method determines background color of the page the selected drawing object is on and returns this color.
method determines background color of the page the selected drawing object is on and returns this color. If no color is found, because no drawing object is selected or ..., color COL_BLACK (default color on constructing object of class Color) is returned.
If no color is found, because no drawing object is selected or ..., color COL_BLACK (default color on constructing object of class Color) is returned.
Definition at line 3134 of file feshview.cxx.
References SwFrame::FindPageFrame(), SwPageFrame::GetDrawBackgroundColor(), SwViewShell::GetDrawView(), SwViewShellImp::GetDrawView(), SdrMarkList::GetMark(), SdrMarkList::GetMarkCount(), SdrMarkView::GetMarkedObjectList(), SdrMark::GetMarkedSdrObj(), GetUserCall(), and SwViewShell::Imp().
Referenced by SwView::BeginTextEdit().
void SwFEShell::GetTabBackground | ( | std::unique_ptr< SvxBrushItem > & | rToFill | ) | const |
Definition at line 1016 of file fetab.cxx.
References SwCursorShell::GetCurrFrame(), SwLayoutFrame::GetFormat(), SwFrame::ImplFindTabFrame(), SwFrame::IsInTab(), and SwFormat::makeBackgroundBrushItem().
Referenced by lcl_TableParamToItemSet().
void SwFEShell::GetTabBorders | ( | SfxItemSet & | rSet | ) | const |
Definition at line 953 of file fetab.cxx.
References SwCursorShell::getShellCursor(), SwDoc::GetTabBorders(), and rSet.
Referenced by SwBaseShell::ExecDlg(), SwTableShell::Execute(), SwBaseShell::GetBorderState(), SwTableShell::GetFrameBorderState(), SwTableShell::GetLineStyleState(), lcl_TableParamToItemSet(), and SwView::StateTabWin().
void SwFEShell::GetTabCols | ( | SwTabCols & | rToFill | ) | const |
Info about columns and margins.
Definition at line 815 of file fetab.cxx.
References SwCursorShell::GetCurrFrame(), GetTabCols_(), SwFrame::GetUpper(), SwFrame::IsCellFrame(), and SwFrame::IsInTab().
Referenced by SwView::ExecTabWin(), GetCurTabColNum(), SwTableFUNC::InitTabCols(), IsLastCellInRow(), ItemSetToTableParam(), lcl_TableParamToItemSet(), SwCursorShell::sendLOKCursorUpdates(), and SwView::StateTabWin().
Definition at line 685 of file fetab.cxx.
References SwFrame::FindPageFrame(), SwFrame::FindTabFrame(), SwFrameAreaDefinition::getFrameArea(), SwFrameAreaDefinition::getFramePrintArea(), SwRectFnSet::GetLeft(), SwRectFnSet::GetRight(), SwCellFrame::GetTabBox(), SwDoc::GetTabCols(), SwTable::GetTabCols(), SwTabFrame::GetTable(), SwRectFnSet::GetWidth(), and m_pColumnCache.
Referenced by GetMouseTabCols(), and GetTabCols().
void SwFEShell::GetTableAttr | ( | SfxItemSet & | rSet | ) | const |
Definition at line 2299 of file fetab.cxx.
References SwFormat::GetAttrSet(), SwCursorShell::GetCurrFrame(), SwLayoutFrame::GetFormat(), SwFrame::ImplFindTabFrame(), SwFrame::IsInTab(), SfxItemSet::Put(), and rSet.
Referenced by SwTableShell::Execute().
bool SwFEShell::GetTableAutoFormat | ( | SwTableAutoFormat & | rGet | ) |
Definition at line 1430 of file fetab.cxx.
References SwCursorShell::GetCursor(), SwViewShell::GetDoc(), SwTableNode::GetTable(), SwDoc::GetTableAutoFormat(), GetTableSelCrs(), SwTable::GetTabSortBoxes(), o3tl::sorted_vector< typename Value, typename Compare, template< typename, typename > class Find, bool >::insert(), SwCursorShell::IsCursorInTable(), SwTable::IsTableComplex(), SwCursorShell::IsTableMode(), n, and o3tl::sorted_vector< typename Value, typename Compare, template< typename, typename > class Find, bool >::size().
Referenced by SwDocShell::MakeByExample(), SwDocShell::StateStyleSheet(), and SwDocShell::UpdateStyle().
|
inline |
Definition at line 653 of file fesh.hxx.
Referenced by SwTransferable::PrepareForCopy(), and SwBaseShell::StateClpbrd().
|
inline |
Definition at line 650 of file fesh.hxx.
Referenced by SwTransferable::Paste(), and SwTransferable::PrepareForCopy().
void SwFEShell::GetTabRows | ( | SwTabCols & | rToFill | ) | const |
Definition at line 832 of file fetab.cxx.
References SwCursorShell::GetCurrFrame(), GetTabRows_(), SwFrame::GetUpper(), SwFrame::IsCellFrame(), and SwFrame::IsInTab().
Referenced by SwView::ExecTabWin(), SwCursorShell::sendLOKCursorUpdates(), and SwView::StateTabWin().
Definition at line 750 of file fetab.cxx.
References SwFrame::FindPageFrame(), SwFrame::FindTabFrame(), SwFrameAreaDefinition::getFrameArea(), SwFrameAreaDefinition::getFramePrintArea(), SwRectFnSet::GetHeight(), SwFrame::GetPrtLeft(), SwFrame::GetPrtTop(), SwTabFrame::GetTable(), SwDoc::GetTabRows(), SwRectFnSet::IsVert(), SwRect::Left(), LONG_MAX, m_pRowCache, and SwRect::Top().
Referenced by GetMouseTabRows(), and GetTabRows().
OUString SwFEShell::GetUniqueFrameName | ( | ) | const |
Definition at line 83 of file feflyole.cxx.
References SwViewShell::GetDoc(), and SwDoc::GetUniqueFrameName().
Referenced by SwFrameAddPage::Reset().
OUString SwFEShell::GetUniqueGrfName | ( | ) | const |
Created unique name for frame.
Definition at line 1504 of file fefly1.cxx.
References SwViewShell::GetDoc(), and SwDoc::GetUniqueGrfName().
Referenced by SwFrameAddPage::Reset().
OUString SwFEShell::GetUniqueOLEName | ( | ) | const |
Definition at line 78 of file feflyole.cxx.
References SwViewShell::GetDoc(), and SwDoc::GetUniqueOLEName().
Referenced by SwFrameAddPage::Reset().
sal_uInt16 SwFEShell::GetVirtPageNum | ( | ) | const |
Definition at line 343 of file fews.cxx.
References SwCursorShell::GetCurrFrame(), and SwFrame::GetVirtPageNum().
Referenced by SwTextShell::ExecField(), GetPageNumber(), and SwDBManager::MergeMailFiles().
bool SwFEShell::GotoFly | ( | const OUString & | rName, |
FlyCntType | eType, | ||
bool | bSelFrame | ||
) |
Jump to named Fly (graphic/OLE).
Definition at line 2493 of file feshview.cxx.
References SwViewShell::ActionPend(), SwPosition::Assign(), SwCursorShell::ClearMark(), SwLayoutFrame::ContainsContent(), eType, SwIterator< TElementType, TSource, eMode >::First(), SwCursorShell::GetCharRect(), SwCursorShell::GetCursor(), SwCursorShell::GetCursorDocPos(), SwFrameAreaDefinition::getFrameArea(), SwFrameAreaDefinition::getFramePrintArea(), GetNode(), SwPaM::GetPoint(), SwFlyFrame::GetVirtDrawObj(), Grf, SwFrame::IsNoTextFrame(), SwFrame::IsTextFrame(), SwViewShell::MakeVisible(), SwViewShell::mxDoc, NONE, Ole, SwRect::Pos(), SelectObj(), and Text.
Referenced by SwWrtShell::GotoFly().
|
inline |
Independent selecting of flys.
Definition at line 416 of file fesh.hxx.
References eType.
Referenced by SwWrtShell::DelLeft(), SwWrtShell::DelRight(), IMPL_LINK(), and SwEditWin::SelectMenuPosition().
bool SwFEShell::GotoObj | ( | bool | bNext, |
GotoObjFlags | eType = GotoObjFlags::DrawAny |
||
) |
Definition at line 1630 of file feshview.cxx.
References SwViewShell::ActionPend(), SwCursorShell::CallChgLnk(), eType, GetBestObject(), SdrObject::GetCurrentBoundRect(), SwVirtFlyDrawObj::GetFlyFrame(), SwFrameAreaDefinition::getFrameArea(), SwViewShell::MakeVisible(), SwRect::Pos(), SelectObj(), and SvxSearchDialogWrapper::SetSearchLabel().
Referenced by SwTextShell::ExecMoveMisc(), SwBaseShell::Execute(), IMPL_LINK(), and SwEditWin::KeyInput().
|
inline |
void SwFEShell::GroupSelection | ( | ) |
Afterwards the group is selected.
Definition at line 2450 of file feshview.cxx.
References END, SwEditShell::EndAllAction(), SwEditShell::EndUndo(), SwViewShell::GetDoc(), SwViewShell::GetDrawView(), SwDoc::GroupSelection(), SwViewShell::Imp(), IsGroupAllowed(), START, SwEditShell::StartAllAction(), and SwEditShell::StartUndo().
Referenced by SwDrawBaseShell::Execute().
bool SwFEShell::HasBoxSelection | ( | ) | const |
Is content of a table cell or at least a table cell completely selected?
Definition at line 1041 of file fetab.cxx.
References SwPaM::End(), SwNode::EndOfSectionIndex(), SwNode::EndOfSectionNode(), SwPaM::Exchange(), SwPosition::GetContentIndex(), SwNode::GetContentNode(), SwCursorShell::GetCursor(), SwPaM::GetMark(), SwNodeIndex::GetNode(), SwPosition::GetNodeIndex(), SwPaM::GetPoint(), SwPaM::GetPointNode(), SwNodes::GoPrevious(), SwCursorShell::IsCursorInTable(), SwCursorShell::IsTableMode(), and SwContentNode::Len().
Referenced by SwTableShell::GetState(), and SwWrtShell::GoStart().
bool SwFEShell::HasTableAnyProtection | ( | const OUString * | pTableName, |
bool * | pFullTableProtection | ||
) |
Definition at line 1137 of file fetab.cxx.
References SwCursorShell::GetCursor(), SwViewShell::GetDoc(), and SwDoc::HasTableAnyProtection().
bool SwFEShell::HasWholeTabSelection | ( | ) | const |
Definition at line 1023 of file fetab.cxx.
References o3tl::sorted_vector< typename Value, typename Compare, template< typename, typename > class Find, bool >::back(), o3tl::sorted_vector< typename Value, typename Compare, template< typename, typename > class Find, bool >::empty(), SwNode::EndOfSectionIndex(), SwNode::EndOfSectionNode(), GetTableSelCrs(), SwCursorShell::IsCursorInTable(), SwCursorShell::IsTableMode(), and SwNode::StartOfSectionIndex().
Referenced by SwTransferable::DeleteSelection(), lcl_TableParamToItemSet(), SwTransferable::PrepareForCopy(), SwTransferable::PrivateDrop(), and SwWrtShell::SelAll().
void SwFEShell::HideChainMarker | ( | ) |
Definition at line 2833 of file feshview.cxx.
References m_pChainFrom, and m_pChainTo.
Referenced by SwFrameShell::Execute().
|
private |
Definition at line 1745 of file feshview.cxx.
References tools::Rectangle::AdjustBottom(), tools::Rectangle::AdjustLeft(), tools::Rectangle::AdjustRight(), tools::Rectangle::AdjustTop(), SdrModel::AllocPage(), SwPosition::Assign(), aVertical, tools::Rectangle::Bottom(), o3tl::cm, SwDrawContact::ConnectToLayout(), SwRect::Contains(), SwDrawView::DeleteMarked(), EndAllActionAndCall(), EndSdrCreate, FindAnchor(), SwFrame::FindFlyFrame(), SwFrame::FindFooterOrHeader(), SwContentFrame::FindMaster(), SwFrame::FindPageFrame(), FLY_DRAG_END, FrameNotify(), SwFormatAnchor::GetAnchorContentOffset(), SwAnchoredObject::GetAnchorFrame(), SwFormatAnchor::GetAnchorId(), SwFormatAnchor::GetAnchorNode(), SdrObject::GetAnchorPos(), SwViewShell::GetAttrPool(), SwTextFrame::GetBaseVertOffsetForFly(), SwFrame::GetCharRect(), SwNode::GetContentNode(), SwViewShell::GetDoc(), IDocumentDrawModelAccess::GetDrawModel(), SwDrawContact::GetDrawObjectByAnchorFrame(), SwViewShell::GetDrawView(), SwViewShellImp::GetDrawView(), SwFlyFrame::GetFormat(), SwFrameAreaDefinition::getFrameArea(), SwFrameAreaDefinition::getFramePrintArea(), tools::Rectangle::GetHeight(), GetHtmlMode(), SwViewShell::getIDocumentDrawModelAccess(), SwViewShell::getIDocumentLayoutAccess(), SwDoc::getIDocumentState(), SwDoc::GetIDocumentUndoRedo(), SwViewShell::GetLayout(), SwContentNode::getLayoutFrame(), SdrMarkList::GetMark(), SdrMarkView::GetMarkedObjectList(), SdrMark::GetMarkedSdrObj(), SwRootFrame::GetModelPositionForViewPoint(), SdrObject::GetName(), SwPosition::GetNode(), GetNode(), SwViewShell::GetNodes(), SdrObject::GetObjIdentifier(), SdrObject::GetObjInventor(), IDocumentDrawModelAccess::GetOrCreateDrawModel(), SdrObject::GetOrdNumDirect(), SdrModel::GetPage(), SwRootFrame::GetPageAtPos(), SdrObject::getParentSdrObjectFromSdrObject(), SwFrame::GetPhyPageNum(), GetSelectedFlyFrame(), SdrObject::GetSnapRect(), SwNode::GetTextNode(), SwFormat::GetVertOrient(), Point::getX(), Point::getY(), SwRect::Height(), SwViewShell::Imp(), SwTextNode::InsertItem(), SdrModel::InsertPage(), tools::Rectangle::IsEmpty(), SwDoc::IsInHeaderFooter(), SwNode::IsProtect(), SwFrame::IsRightToLeft(), SwFrame::IsTextFrame(), SwFrame::IsVertical(), SwCursorShell::KillPams(), tools::Rectangle::Left(), SwRect::Left(), SwViewShell::LockPaint(), IDocumentLayoutAccess::MakeLayoutFormat(), SdrObject::MakeNameUnique(), sw::MapViewToModel(), SdrMarkView::MarkObj(), MINFLY, Minimum, SwContact::MoveObjToVisibleLayer(), SdrObject::NbcSetAnchorPos(), SdrObject::NbcSetRelativePos(), NewFlyFrame(), SwPostItHelper::NONE, tools::Rectangle::Overlaps(), pos, SwDrawFrameFormat::PosAttrSet(), SfxItemSet::Put(), SdrObjList::RecalcObjOrdNums(), SdrObjList::RemoveObject(), RES_ANCHOR(), RES_FRM_SIZE(), RES_SURROUND(), tools::Rectangle::Right(), SwFormatAnchor::SetAnchor(), SwDoc::SetAttr(), SwFormat::SetFormatAttr(), SwFrameFormat::SetFormatName(), SwFormatHoriOrient::SetHoriOrient(), IDocumentState::SetModified(), SetOnlyText, SwFormatAnchor::SetPageNum(), SwDrawFrameFormat::SetPositionLayoutDir(), SwFormatVertOrient::SetRelationOrient(), SwFormatHoriOrient::SetRelationOrient(), SwFormatAnchor::SetType(), SwFormatVertOrient::SetVertOrient(), SwEditShell::StartAllAction(), SwRect::SVRect(), tools::Rectangle::Top(), SwRect::Top(), tools::Rectangle::TopLeft(), tools::Rectangle::TopRight(), o3tl::toTwips(), SwViewShell::UnlockPaint(), SdrView::UnmarkAll(), and SwRect::Width().
Referenced by CreateDefaultShape(), EndCreate(), and Paste().
void SwFEShell::Insert | ( | const OUString & | rGrfName, |
const OUString & | rFltName, | ||
const Graphic * | pGraphic, | ||
const SfxItemSet * | pFlyAttrSet | ||
) |
Definition at line 837 of file fefly1.cxx.
References IDocumentRedlineAccess::AppendRedline(), SwEditShell::EndAllAction(), SwAnchoredObject::FindPageFrameOfAnchor(), SwFormat::GetAnchor(), SwFormatAnchor::GetAnchorId(), SwFormatAnchor::GetAnchorNode(), SwFormatAnchor::GetContentAnchor(), SwPosition::GetContentIndex(), SwCursorShell::GetCursor(), SwCursorShell::GetCursorDocPos(), SwViewShell::GetDoc(), SwFlyFrameFormat::GetFrame(), SwDoc::getIDocumentContentOperations(), SwDoc::getIDocumentRedlineAccess(), SfxItemSet::GetItemIfSet(), SwViewShell::GetLayout(), SwShellCursor::GetNext(), SwPosition::GetNode(), SwFormatAnchor::GetPageNum(), SwPaM::GetPageNum(), SwPaM::GetPoint(), SwPaM::GetPointNode(), SwShellCursor::GetPtPos(), IDocumentContentOperations::InsertGraphic(), SwPageFrame::InvalidateContent(), SwPageFrame::InvalidateFlyLayout(), SwEditShell::IsRedlineOn(), lcl_SetNewFlyPos(), RES_ANCHOR(), SelectFlyFrame(), SwFormatAnchor::SetAnchor(), SwRootFrame::SetAssertFlyPages(), SwFormatAnchor::SetPageNum(), and SwEditShell::StartAllAction().
Referenced by SwWrtShell::InsertGraphic().
void SwEditShell::Insert | ( | sal_Unicode | c, |
bool | bOnlyCurrCursor = false |
||
) |
Edit (all selected ranges).
Definition at line 164 of file editsh.cxx.
void SwFEShell::InsertCol | ( | sal_uInt16 | nCnt, |
bool | bBehind | ||
) |
Definition at line 213 of file fetab.cxx.
References CheckSplitCells(), Col, o3tl::sorted_vector< typename Value, typename Compare, template< typename, typename > class Find, bool >::empty(), EndAllActionAndCall(), ERR_TBLDDECHG_ERROR, ERR_TBLINSCOL_ERROR, SwCursorShell::GetCurrFrame(), SwViewShell::GetDoc(), GetFrameWeld(), SwTabFrame::GetTable(), GetTableSel(), ErrorHandler::HandleError(), SwFrame::ImplFindTabFrame(), SwDoc::InsertCol(), SwFrame::IsInTab(), o3tl::sorted_vector< typename Value, typename Compare, template< typename, typename > class Find, bool >::size(), and SwEditShell::StartAllAction().
Referenced by SwTableShell::Execute().
Insertion of a drawing object which have to be already inserted in the DrawModel.
Definition at line 958 of file fefly1.cxx.
References aFrameFormatSetRange, SwViewShell::GetAttrPool(), SwViewShell::GetDoc(), SwViewShellImp::GetDrawView(), SwFrameAreaDefinition::getFrameArea(), SwDoc::getIDocumentContentOperations(), SwViewShell::getIDocumentDrawModelAccess(), SwViewShell::GetLayout(), SwContentNode::getLayoutFrame(), SwRootFrame::GetModelPositionForViewPoint(), SdrObject::GetName(), SwPaM::GetPoint(), SwPaM::GetPointContentNode(), SdrObject::GetUserCall(), SwViewShell::Imp(), IDocumentContentOperations::InsertDrawObj(), lcl_FindAnchorPos(), SwRect::Left(), SdrMarkView::MarkObj(), SwContact::MoveObjToVisibleLayer(), SwViewShell::mxDoc, SfxItemSet::Put(), SwRootFrame::SetAssertFlyPages(), SwFrameFormat::SetFormatName(), SdrObject::SetLayer(), SetOnlyText, SdrObject::SetRelativePos(), SwRect::Top(), Point::X(), and Point::Y().
void SwFEShell::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 | ||
) |
Definition at line 421 of file fews.cxx.
References SwUndoInsertLabel::CreateRewriter(), Draw, EndAllActionAndCall(), SwEditShell::EndUndo(), eType, SwFrame::FindFlyFrame(), SwFrame::FindTabFrame(), Fly, SwCursorShell::GetCurrFrame(), SwCursorShell::GetCursorDocPos(), SwViewShell::GetDoc(), SwViewShell::GetDrawView(), SwViewShellImp::GetDrawView(), GetFormat(), SwFlyFrameFormat::GetFrame(), SdrMarkList::GetMark(), SdrMarkList::GetMarkCount(), SdrMarkView::GetMarkedObjectList(), SdrMark::GetMarkedSdrObj(), SwTabFrame::GetTable(), SwTable::GetTabSortBoxes(), i, SwViewShell::Imp(), SwDoc::InsertDrawLabel(), SwDoc::InsertLabel(), INSERTLABEL, SwFrame::IsInFly(), SwFrame::IsInTab(), nId, Object, SelectFlyFrame(), SwEditShell::StartAllAction(), SwEditShell::StartUndo(), and Table.
Referenced by SwView::InsertCaption().
SwFlyFrameFormat * SwFEShell::InsertObject | ( | const svt::EmbeddedObjectRef & | xObj, |
SfxItemSet * | pFlyAttrSet | ||
) |
Definition at line 928 of file fefly1.cxx.
References SwEditShell::EndAllAction(), SwCursorShell::GetCursor(), SwCursorShell::GetCursorDocPos(), SwViewShell::GetDoc(), SwFlyFrameFormat::GetFrame(), SwDoc::getIDocumentContentOperations(), SwViewShell::GetLayout(), sw::Ring< SwViewShell >::GetRingContainer(), IDocumentContentOperations::InsertEmbObject(), SelectFlyFrame(), SwRootFrame::SetAssertFlyPages(), and SwEditShell::StartAllAction().
Referenced by SwWrtShell::InsertOleObject().
void SwFEShell::InsertRow | ( | sal_uInt16 | nCnt, |
bool | bBehind | ||
) |
Definition at line 175 of file fetab.cxx.
References SwPosition::Assign(), o3tl::sorted_vector< typename Value, typename Compare, template< typename, typename > class Find, bool >::empty(), SwPaM::End(), EndAllActionAndCall(), SwNode::EndOfSectionNode(), ERR_TBLDDECHG_ERROR, SwCursorShell::ExtendedSelectedAll(), SwNode::FindTableNode(), SwCursorShell::GetCurrFrame(), SwViewShell::GetDoc(), GetFrameWeld(), SwNode::GetIndex(), SwPosition::GetNode(), SwCursorShell::getShellCursor(), SwTabFrame::GetTable(), GetTableSel(), ErrorHandler::HandleError(), SwFrame::ImplFindTabFrame(), SwDoc::InsertRow(), SwFrame::IsInTab(), Row, o3tl::sorted_vector< typename Value, typename Compare, template< typename, typename > class Find, bool >::size(), SwPaM::Start(), SwEditShell::StartAllAction(), SwCursorShell::StartsWith_(), and SwCursorShell::Table.
Referenced by SwTableShell::Execute().
bool SwFEShell::IsAdjustCellWidthAllowed | ( | bool | bBalance = false | ) | const |
Not allowed if only empty cells are selected.
Definition at line 1303 of file fetab.cxx.
References o3tl::sorted_vector< typename Value, typename Compare, template< typename, typename > class Find, bool >::empty(), SwCursorShell::GetCurrFrame(), SwViewShell::GetDoc(), SwNodeIndex::GetNode(), SwDoc::GetNodes(), SwTableBox::GetSttNd(), GetTableSelCrs(), SwTextNode::GetText(), SwNode::GetTextNode(), SwFrame::GetUpper(), SwNodes::GoNext(), i, o3tl::sorted_vector< typename Value, typename Compare, template< typename, typename > class Find, bool >::insert(), SwFrame::IsCellFrame(), SwFrame::IsInTab(), and o3tl::sorted_vector< typename Value, typename Compare, template< typename, typename > class Find, bool >::size().
Referenced by SwTableShell::Execute(), and SwTableShell::GetState().
bool SwFEShell::IsAlignPossible | ( | ) | const |
Definition at line 2698 of file feshview.cxx.
References SwViewShellImp::GetDrawView(), SwViewShell::Imp(), and SdrEditView::IsAlignPossible().
Referenced by SwDrawBaseShell::Execute(), and SwDrawBaseShell::GetState().
|
inline |
bool SwFEShell::IsColRightToLeft | ( | ) | const |
Definition at line 585 of file fews.cxx.
References SwCursorShell::GetCurrFrame(), SwFrame::GetUpper(), SwFrame::IsColumnFrame(), and SwFrame::IsRightToLeft().
Referenced by SwView::StateTabWin().
bool SwFEShell::IsDirectlyInSection | ( | ) | const |
Definition at line 231 of file fews.cxx.
References SwCursorShell::GetCurrFrame(), SwFrame::GetUpper(), and SwFrame::IsSctFrame().
Referenced by SwView::ExecTabWin(), and SwView::StateTabWin().
bool SwFEShell::IsDrawCreate | ( | ) | const |
Definition at line 2108 of file feshview.cxx.
References SwViewShellImp::GetDrawView(), SwViewShellImp::HasDrawView(), SwViewShell::Imp(), and SdrCreateView::IsCreateObj().
Referenced by SwEditWin::Command(), SwDrawBase::Deactivate(), SwEditWin::EnterDrawMode(), SwBezierShell::Execute(), SwSpellDialogChildWindow::MakeTextSelection_Impl(), SwDrawBase::MouseButtonDown(), ConstFormControl::MouseButtonDown(), SwEditWin::MouseButtonDown(), SwDrawBase::MouseButtonUp(), ConstArc::MouseButtonUp(), ConstPolygon::MouseButtonUp(), SwEditWin::MouseButtonUp(), and SwEditWin::StartDrag().
const SwFrameFormat * SwFEShell::IsFlyInFly | ( | ) |
Is selected frame within another frame?
Definition at line 312 of file fefly1.cxx.
References FindAnchor(), SwFrame::FindFlyFrame(), FindFrameFormat(), SwFormat::GetAnchor(), SwFormatAnchor::GetAnchorId(), SwNode::GetContentNode(), SdrObject::GetCurrentBoundRect(), GetCurrFlyFrame(), SwViewShell::GetDoc(), SwViewShellImp::GetDrawView(), SwFlyFrame::GetFormat(), GetFormat(), SwViewShell::GetLayout(), SwContentNode::getLayoutFrame(), SdrMarkList::GetMark(), SdrMarkList::GetMarkCount(), SdrMarkView::GetMarkedObjectList(), SdrMark::GetMarkedSdrObj(), SwRootFrame::GetModelPositionForViewPoint(), SwPosition::GetNode(), SwViewShell::GetNodes(), GetUserCall(), Point::getX(), SwViewShell::HasDrawView(), SwViewShell::Imp(), SwFrame::IsFlyFrame(), SetOnlyText, Point::setX(), and tools::Rectangle::TopLeft().
Referenced by SwDrawBaseShell::Execute(), SwBaseShell::GetState(), SwFrameShell::GetState(), and SwFramePage::Reset().
bool SwFEShell::IsFrameSelected | ( | ) | const |
Definition at line 1133 of file feshview.cxx.
References SwViewShell::GetDrawView(), GetFlyFromMarked(), SwViewShell::HasDrawView(), and SwViewShell::Imp().
Referenced by SwDocShell::ApplyStyles(), SwAccessibleMap::BuildSelectedParas(), Copy(), SwWrtShell::DelRight(), SwFrameShell::DisableStateTextFrame(), SwWrtShell::Do(), SwEditWin::EnterDrawMode(), SwBaseShell::ExecClpbrd(), SwBaseShell::ExecDlg(), SwFrameShell::ExecDrawAttrArgsTextFrame(), SwFrameShell::ExecDrawDlgTextFrame(), SwFrameShell::ExecFrameStyle(), SwTextShell::ExecInsert(), SwView::ExecTabWin(), SwBaseShell::Execute(), SwFrameShell::Execute(), SwGrfShell::Execute(), SwView::ExecutePrint(), SwGrfShell::ExecuteRotation(), SwView::ExecuteStatusLine(), GetAnchorObjDiff(), SwBaseShell::GetBorderState(), SwAccessibleFrameBase::GetCursor(), SwAccessibleParagraph::GetCursor(), SwTransferable::GetData(), SwFrameShell::GetDrawAttrStateTextFrame(), SwFrameShell::GetLineStyleState(), SwWrtShell::GetSelectionType(), SwBaseShell::GetState(), SwFrameShell::GetState(), SwContentTree::GotoContent(), SwWrtShell::GotoContentControl(), sw::AccessibilityIssue::gotoIssue(), SwView::InsertCaption(), SwView::InsertGraphicDlg(), SwXTextView::insertTransferable(), IsObjSelected(), SwEditWin::KeyInput(), lcl_UnSelectFrame(), SwDocShell::MakeByExample(), SwEditWin::MouseButtonDown(), SwEditWin::MouseButtonUp(), SwEditWin::MouseMove(), SwTransferable::PasteData(), SwTransferable::PasteGrf(), SwTransferable::PrepareForCopy(), SwTransferable::PrivateDrop(), SwWrtShell::PushCursor(), SwAccessibleContext::Select(), SwEditWin::SelectMenuPosition(), SwWrtShell::SelectNextPrevHyperlink(), SetChainMarker(), SwTransferable::SetDataForDragAndDrop(), SwBaseShell::SetFrameMode(), SwTransferable::SetSelInShell(), SwBaseShell::SetWrapMode(), SwView::StateStatusLine(), SwDocShell::StateStyleSheet(), SwView::StateTabWin(), SwFlyFrameAttrMgr::UpdateAttrMgr(), SwFlyFrameAttrMgr::UpdateFlyFrame(), SwEditWin::UpdatePointer(), and SwDocShell::UpdateStyle().
bool SwFEShell::IsFrameVertical | ( | const bool | bEnvironment, |
bool & | bRightToLeft, | ||
bool & | bVertL2R | ||
) | const |
Determines whether a frame or its environment is vertically formatted and right-to-left.
also determines, if frame or its environment is in Mongolian layout (vertical left-to-right)
Definition at line 1270 of file fews.cxx.
References SwContact::GetAnchoredObj(), SwAnchoredObject::GetAnchorFrame(), SwViewShellImp::GetDrawView(), SdrMarkList::GetMark(), SdrMarkList::GetMarkCount(), SdrMarkView::GetMarkedObjectList(), SdrMark::GetMarkedSdrObj(), GetUserCall(), SwViewShell::HasDrawView(), SwViewShell::Imp(), SwFrame::IsRightToLeft(), SwFrame::IsVertical(), and SwFrame::IsVertLR().
Referenced by SwEditWin::ChangeDrawing(), SwView::ExecTabWin(), SwDrawBaseShell::Execute(), IMPL_LINK(), SwFramePage::Reset(), SwView::StateTabWin(), and SwFlyFrameAttrMgr::SwFlyFrameAttrMgr().
bool SwFEShell::IsGroupAllowed | ( | ) | const |
Definition at line 2373 of file feshview.cxx.
References SwFrame::FindFooterOrHeader(), SwAnchoredObject::GetAnchorFrame(), SwDrawContact::GetAnchorFrame(), SwViewShellImp::GetDrawView(), SdrMarkList::GetMark(), SdrMarkList::GetMarkCount(), SdrMarkView::GetMarkedObjectList(), SdrMark::GetMarkedSdrObj(), SdrObject::getParentSdrObjectFromSdrObject(), GetUserCall(), i, SwViewShell::Imp(), and IsObjSelected().
Referenced by SwDrawBaseShell::Execute(), SwDrawBaseShell::GetState(), and GroupSelection().
bool SwFEShell::IsGroupSelected | ( | bool | bAllowDiagams | ) |
Create and destroy group, don't when frame is selected.
Can be a mixed selection!
Definition at line 2318 of file feshview.cxx.
References GetAnchorId(), SwViewShellImp::GetDrawView(), GetFormat(), SdrMarkList::GetMark(), SdrMarkList::GetMarkCount(), SdrMarkView::GetMarkedObjectList(), SdrMark::GetMarkedSdrObj(), GetUserCall(), i, SwViewShell::Imp(), SdrObject::Is3DObj(), SdrObject::isDiagram(), SdrObject::IsGroupObject(), and IsObjSelected().
Referenced by SwDrawBaseShell::Execute(), SwDrawBaseShell::GetState(), and UnGroupSelection().
|
inline |
Definition at line 725 of file fesh.hxx.
Referenced by SwTableShell::GetState().
|
inline |
Definition at line 724 of file fesh.hxx.
Referenced by SwTableShell::Execute(), and SwTableShell::GetState().
bool SwFEShell::IsInsideSelectedObj | ( | const Point & | rPt | ) |
returns enum values
Definition at line 1243 of file feshview.cxx.
References SwViewShellImp::GetDrawView(), SdrMarkList::GetMarkCount(), SdrMarkView::GetMarkedObjectList(), SwViewShell::HasDrawView(), SwViewShell::Imp(), and SdrMarkView::IsMarkedObjHit().
Referenced by SwEditWin::MouseButtonDown(), SwTransferable::PrivateDrop(), SwEditWin::SelectMenuPosition(), SwEditWin::StartDrag(), and SwEditWin::UpdatePointer().
bool SwFEShell::IsLastCellInRow | ( | ) | const |
Definition at line 250 of file fetab.cxx.
References SwTabCols::Count(), GetCurTabColNum(), GetTabCols(), and IsTableRightToLeft().
Referenced by ParkCursorInTab().
bool SwFEShell::IsMouseTableRightToLeft | ( | const Point & | rPt | ) | const |
Definition at line 2489 of file fetab.cxx.
References GetBox(), SwFrame::ImplFindTabFrame(), and SwFrame::IsRightToLeft().
Referenced by SwView::ExecTabWin(), and SwView::StateTabWin().
Definition at line 2165 of file fetab.cxx.
References SwCursorShell::GetContentAtPos(), SwContentAtPos::nDist, and NumLabel.
Referenced by SwEditWin::changeMousePointer(), and SwEditWin::MouseButtonDown().
bool SwFEShell::IsObjDecorative | ( | ) | const |
Definition at line 2048 of file fefly1.cxx.
References FindFrameFormat(), SfxItemSet::Get(), SwFormat::GetAttrSet(), SwViewShell::GetDrawView(), SdrMarkList::GetMark(), SdrMarkList::GetMarkCount(), SdrMark::GetMarkedSdrObj(), SwViewShell::HasDrawView(), SwViewShell::Imp(), SdrObject::IsDecorative(), RES_DECORATIVE(), RES_FLYFRMFMT(), and SwFormat::Which().
Referenced by SwFrameShell::Execute().
bool SwFEShell::IsObjSameLevelWithMarked | ( | const SdrObject * | pObj | ) | const |
Definition at line 1173 of file feshview.cxx.
References SwViewShellImp::GetDrawView(), SdrMarkList::GetMark(), SdrMarkList::GetMarkCount(), SdrMarkView::GetMarkedObjectList(), SdrMark::GetMarkedSdrObj(), SdrObject::getParentSdrObjectFromSdrObject(), and SwViewShell::Imp().
Referenced by SwAccessibleMap::IsInSameLevel().
bool SwFEShell::IsObjSelectable | ( | const Point & | rPt | ) |
The following two methods return enum SdrHdlKind.
Declared as int in order to spare including SVDRAW.HXX.
Definition at line 1258 of file feshview.cxx.
References SwViewShellImp::GetDrawView(), SdrPaintView::GetHitTolerancePixel(), SdrPaintView::getHitTolLog(), SdrMarkView::GetMarkHdlSizePixel(), SwViewShell::Imp(), SdrMarkView::PickObj(), and SdrPaintView::SetHitTolerancePixel().
Referenced by SwEditWin::changeMousePointer(), SwDrawBase::EnterSelectMode(), SwDrawBase::MouseButtonDown(), SwEditWin::MouseButtonDown(), SwDrawBase::MouseButtonUp(), SwWrtShell::PopCursor(), and SwEditWin::UpdatePointer().
size_t SwFEShell::IsObjSelected | ( | ) | const |
Definition at line 1125 of file feshview.cxx.
References SwViewShellImp::GetDrawView(), SdrMarkList::GetMarkCount(), SdrMarkView::GetMarkedObjectList(), SwViewShell::HasDrawView(), SwViewShell::Imp(), and IsFrameSelected().
Referenced by SwPostItMgr::AssureStdModeAtShell(), SwAccessibleMap::BuildSelectedParas(), SwWrtShell::CanInsert(), SwTemplateControl::Command(), SwAccessibleShapeMap_Impl::Copy(), Copy(), SwWrtShell::Do(), SwAccessibleMap::DoInvalidateShapeSelection(), SwTransferable::DragFinished(), SwEditWin::EnterDrawMode(), SwDrawBase::EnterSelectMode(), SwBaseShell::ExecClpbrd(), SwTextShell::ExecInsert(), SwMediaShell::ExecMedia(), SwView::ExecTabWin(), SwBaseShell::Execute(), SwDrawShell::Execute(), SwBezierShell::Execute(), SwDrawBaseShell::Execute(), SwView::ExecutePrint(), SwView::ExecuteStatusLine(), SwAccessibleFrameBase::GetCursor(), SwAccessibleParagraph::GetCursor(), GetObjAttr(), SwAccessibleSelectionHelper::getSelectedAccessibleChild(), SwWrtShell::GetSelectionType(), SwBaseShell::GetState(), SwDrawShell::GetState(), SwDrawBaseShell::GetState(), SwContentTree::GotoContent(), SwWrtShell::HasSelection(), SwXTextView::insertTransferable(), SwBaseShell::InsertURLButton(), IsGroupAllowed(), IsGroupSelected(), SwEditWin::KeyInput(), lcl_ActivateTextShell(), lcl_AssureStdModeAtShell(), SwWrtShell::MakeAllFoldedOutlineContentVisible(), MirrorSelection(), SwDrawBase::MouseButtonDown(), SwEditWin::MouseButtonDown(), SwDrawBase::MouseButtonUp(), SwEditWin::MouseButtonUp(), SwEditWin::MouseMove(), SwTransferable::PasteGrf(), SwTransferable::PasteTargetURL(), SwTransferable::PrepareForCopy(), SwTransferable::PrivateDrop(), SwWrtShell::PushCursor(), SwAccessibleContext::Select(), SwAccessibleSelectionHelper::selectAllAccessibleChildren(), SwWrtShell::SelectNextPrevHyperlink(), SwTransferable::SetDataForDragAndDrop(), SwBaseShell::SetFrameMode(), SwWrtShell::SetPageStyle(), SwTransferable::SetSelInShell(), SwBaseShell::SetWrapMode(), SwView::StateStatusLine(), SwView::StateTabWin(), and SwEditWin::UpdatePointer().
bool SwFEShell::IsObjSelected | ( | const SdrObject & | rObj | ) | const |
Definition at line 1142 of file feshview.cxx.
References SwViewShellImp::GetDrawView(), SwViewShell::HasDrawView(), SwViewShell::Imp(), IsFrameSelected(), and SdrMarkView::IsObjMarked().
bool SwFEShell::IsRotationOfSwGrfNodePossible | ( | ) | const |
Definition at line 1150 of file feshview.cxx.
References SwVirtFlyDrawObj::ContainsSwGrfNode(), SwViewShellImp::GetDrawView(), SdrMarkList::GetMark(), SdrMarkList::GetMarkCount(), SdrMarkView::GetMarkedObjectList(), SdrMark::GetMarkedSdrObj(), and SwViewShell::Imp().
Referenced by SwGrfShell::Execute().
bool SwFEShell::IsSelContainsControl | ( | ) | const |
check whether selected frame contains a control; companion method to GetSelFrameType, used for preventing drag&drop of controls into header
Definition at line 647 of file feshview.cxx.
References CheckControlLayer(), SdrMarkList::GetMark(), SdrMarkList::GetMarkCount(), SdrMark::GetMarkedSdrObj(), and GetMarkList_().
Referenced by SwEditWin::AcceptDrop().
FlyProtectFlags SwFEShell::IsSelObjProtected | ( | FlyProtectFlags | eType | ) | const |
Which Protection is set at selected object?
Definition at line 2581 of file feshview.cxx.
References Content, eType, Fixed, SwFormat::GetAnchor(), SwDrawContact::GetAnchorFrame(), SwFormatAnchor::GetAnchorId(), SwViewShellImp::GetDrawView(), SwFlyFrame::GetFormat(), SdrMarkList::GetMark(), SdrMarkList::GetMarkCount(), SdrMarkView::GetMarkedObjectList(), SdrMark::GetMarkedSdrObj(), GetNode(), SwNode::GetOLENode(), SwOLENode::GetOLEObj(), SwOLEObj::GetOleRef(), SwFormat::GetProtect(), GetUserCall(), SwViewShell::HasDrawView(), i, SwViewShell::Imp(), SvxProtectItem::IsContentProtected(), SotExchange::IsMath(), SdrObject::IsMoveProtect(), SwFrame::IsNoTextFrame(), SwFrame::IsProtected(), SdrObject::IsResizeProtect(), SwLayoutFrame::Lower(), MATH_BASELINE_ALIGNMENT, SwViewShell::mxDoc, NONE, Parent, Pos, and Size.
Referenced by SwEditWin::AcceptDrop(), SwEditWin::ChangeDrawing(), SwEditWin::ChangeFly(), SwDrawBaseShell::Disable(), SwBaseShell::ExecClpbrd(), SwGrfShell::GetAttrState(), SwGrfShell::GetAttrStateForRotation(), SwFrameShell::GetLineStyleState(), SwBaseShell::GetState(), SwDrawShell::GetState(), SwDrawBaseShell::GetState(), SwFrameShell::GetState(), IMPL_LINK_NOARG(), SwFramePage::Init(), SwEditWin::MouseButtonDown(), SwTransferable::PrivateDrop(), SwBaseShell::StateClpbrd(), SwBaseShell::StateStyle(), and SwEditWin::UpdatePointer().
bool SwFEShell::IsShapeDefaultHoriTextDirR2L | ( | ) | const |
Is default horizontal text direction for selected drawing object right-to-left.
Is default horizontal text direction for selected drawing object right-to-left Because drawing objects only painted for each page only, the default horizontal text direction of a drawing object is given by the corresponding page property.
Because drawing objects only painted for each page only, the default horizontal text direction of a drawing object is given by the corresponding page property.
Definition at line 3182 of file feshview.cxx.
References SwFrame::FindPageFrame(), SwViewShell::GetDrawView(), SwViewShellImp::GetDrawView(), SdrMarkList::GetMark(), SdrMarkList::GetMarkCount(), SdrMarkView::GetMarkedObjectList(), SdrMark::GetMarkedSdrObj(), GetUserCall(), SwViewShell::Imp(), and SwFrame::IsRightToLeft().
Referenced by SwView::BeginTextEdit().
bool SwFEShell::IsTableRightToLeft | ( | ) | const |
Definition at line 2480 of file fetab.cxx.
References SwCursorShell::GetCurrFrame(), SwFrame::ImplFindTabFrame(), SwFrame::IsInTab(), and SwFrame::IsRightToLeft().
Referenced by AutoFormatPreview::DetectRTL(), SwView::ExecTabWin(), IsLastCellInRow(), and SwView::StateTabWin().
bool SwFEShell::IsTableVertical | ( | ) | const |
Definition at line 2497 of file fetab.cxx.
References SwCursorShell::GetCurrFrame(), SwFrame::ImplFindTabFrame(), SwFrame::IsInTab(), and SwFrame::IsVertical().
Referenced by SwTableShell::Execute(), SwEditWin::KeyInput(), and SwView::StateTabWin().
bool SwFEShell::IsUnGroupAllowed | ( | ) | const |
Definition at line 2433 of file feshview.cxx.
References SwViewShellImp::GetDrawView(), SdrMarkList::GetMark(), SdrMarkList::GetMarkCount(), SdrMarkView::GetMarkedObjectList(), SdrMark::GetMarkedSdrObj(), i, and SwViewShell::Imp().
Referenced by SwDrawBaseShell::Execute(), and SwDrawBaseShell::GetState().
const SwFrameFormat * SwFEShell::IsURLGrfAtPos | ( | const Point & | rPt, |
OUString * | pURL = nullptr , |
||
OUString * | pTargetFrameName = nullptr , |
||
OUString * | pURLDescription = nullptr |
||
) | const |
Position is a graphic with URL?
Definition at line 1509 of file fefly1.cxx.
References SwViewShellImp::GetDrawView(), SwVirtFlyDrawObj::GetFlyFrame(), SwFlyFrame::GetFormat(), SwFrameAreaDefinition::getFrameArea(), SdrPaintView::GetHitTolerancePixel(), SdrPaintView::getHitTolLog(), SwFrameFormat::GetIMapObject(), SwFormatURL::GetMap(), SwFormat::GetName(), SwViewShell::GetOut(), SwFormatURL::GetTargetFrameName(), SwFormatURL::GetURL(), SwFormat::GetURL(), Point::getX(), Point::getY(), SwViewShell::HasDrawView(), SwViewShell::Imp(), SwFormatURL::IsServerMap(), OutputDevice::LogicToPixel(), SdrMarkView::PickObj(), pObject, SwRect::Pos(), and SdrPaintView::SetHitTolerancePixel().
Referenced by SwWrtShell::ClickToINetGrf(), SwEditWin::MouseButtonDown(), SwEditWin::SelectMenuPosition(), and SwReadOnlyPopup::SwReadOnlyPopup().
|
static |
Definition at line 2183 of file fetab.cxx.
References SwContentNode::GetTextDirection().
Referenced by SwEditWin::changeMousePointer(), and SwEditWin::MouseButtonDown().
|
static |
Definition at line 1137 of file fefly1.cxx.
References SfxItemSet::Put().
Referenced by SwBaseShell::Execute().
|
overridevirtual |
Show current selection (frame / draw object as required).
Reimplemented from SwCursorShell.
Definition at line 2568 of file feshview.cxx.
References SwCursorShell::GetCurrFrame(), SwViewShell::GetDrawView(), SwViewShell::HasDrawView(), SwViewShell::Imp(), SwCursorShell::MakeSelVisible(), and SwViewShell::MakeVisible().
Referenced by SwEditWin::MouseButtonDown(), and SwEditWin::SelectMenuPosition().
TableMergeErr SwFEShell::MergeTab | ( | ) |
Merge selected parts of table.
Definition at line 615 of file fetab.cxx.
References EndAllActionAndCall(), ERR_TBLDDECHG_ERROR, SwNode::FindTableNode(), SwViewShell::GetDoc(), GetFrameWeld(), SwPaM::GetPointNode(), SwTableCursor::GetSelectedBoxesCount(), SwTableNode::GetTable(), SwCursorShell::GetTableCursor(), SwTable::GetTabLines(), ErrorHandler::HandleError(), SwCursorShell::IsTableMode(), SwCursorShell::KillPams(), SwDoc::MergeTable(), NoSelection, SwTableLines::size(), and SwEditShell::StartAllAction().
Referenced by SwTableShell::Execute().
void SwFEShell::MirrorSelection | ( | bool | bHorizontal | ) |
Vertical if FALSE.
Definition at line 2479 of file feshview.cxx.
References SwViewShellImp::GetDrawView(), SwViewShell::Imp(), SdrEditView::IsMirrorAllowed(), IsObjSelected(), SdrEditView::MirrorAllMarkedHorizontal(), and SdrEditView::MirrorAllMarkedVertical().
Referenced by SwDrawShell::Execute().
bool SwFEShell::MoveAnchor | ( | SwMove | nDir | ) |
Definition at line 372 of file feshview.cxx.
References SwAnchoredObject::AnchorFrame(), SwAnchoredObject::ClearCharRectAndTopOfLine(), DOWN, SwEditShell::EndAllAction(), SwFrame::FindFlyFrame(), SwFrame::FindNext(), SwFrame::FindPageFrame(), SwFrame::FindPrev(), SwFormat::GetAnchor(), SwContact::GetAnchoredObj(), SwAnchoredObject::GetAnchorFrame(), SwFormatAnchor::GetAnchorId(), SwFormatAnchor::GetContentAnchor(), SwFormat::GetDoc(), SwViewShell::GetDrawView(), SwViewShellImp::GetDrawView(), SwFlyFrame::GetFormat(), SwFrameAreaDefinition::getFrameArea(), SwAnchoredObject::GetFrameFormat(), SdrMarkList::GetMark(), SdrMarkList::GetMarkCount(), SdrMarkView::GetMarkedObjectList(), SdrMark::GetMarkedSdrObj(), SwFrame::GetNext(), GetPhyPageNum(), SwFrame::GetPrev(), SwPageFrame::GetSortedObjs(), SwTextFrame::GetText(), GetUserCall(), SwRect::Height(), SwViewShell::Imp(), SwFrame::IsContentFrame(), SwFrame::IsFlyFrame(), SwFrame::IsPageFrame(), SwFrame::IsProtected(), SwFrame::IsRightToLeft(), SwFrame::IsTextFrame(), SwFrame::IsVertical(), LEFT, SwRect::Left(), LessX(), LessY(), SwTextFrame::MapModelToViewPos(), SwTextFrame::MapViewToModelPos(), pos, RIGHT, SwFormatAnchor::SetAnchor(), SwDoc::SetAttr(), SwFormatAnchor::SetPageNum(), SwEditShell::StartAllAction(), SwRect::Top(), UP, and SwRect::Width().
Referenced by SwEditWin::ChangeDrawing().
void SwFEShell::MoveCreate | ( | const Point & | rPos | ) |
Definition at line 1708 of file feshview.cxx.
References FrameNotify(), SwViewShellImp::GetDrawView(), GetPageNumber(), SwViewShell::HasDrawView(), SwViewShell::Imp(), SdrCreateView::MovCreateObj(), and ScrollTo().
Referenced by ConstFormControl::CreateDefaultObject(), SwBaseShell::InsertURLButton(), and SwDrawBase::MouseMove().
void SwFEShell::MoveMark | ( | const Point & | rPos | ) |
Definition at line 2134 of file feshview.cxx.
References SwViewShellImp::GetDrawView(), GetPageNumber(), SwViewShell::HasDrawView(), SwViewShell::Imp(), SdrDragView::IsInsObjPoint(), SdrMarkView::IsMarkPoints(), E3dView::MovAction(), SdrDragView::MovInsObjPoint(), SdrMarkView::MovMarkPoints(), and ScrollTo().
Referenced by SwDrawBase::MouseMove().
|
virtual |
The layout has been changed, so the active object has to be moved after that.
Reimplemented in SwWrtShell.
Definition at line 1314 of file fews.cxx.
Referenced by lcl_MoveAllLowerObjs().
const SwFrameFormat * SwFEShell::NewFlyFrame | ( | const SfxItemSet & | rSet, |
bool | bAnchValid = false , |
||
SwFrameFormat * | pParent = nullptr |
||
) |
Definition at line 660 of file fefly1.cxx.
References SwFormatVertOrient::Clone(), SwFormatHoriOrient::Clone(), SwFrameFormat::DelFrames(), o3tl::sorted_vector< typename Value, typename Compare, template< typename, typename > class Find, bool >::empty(), EMPTY, EndAllActionAndCall(), FindAnchor(), SfxItemSet::Get(), SwFormatAnchor::GetAnchorId(), SwCursorShell::GetCursor(), SwCursorShell::GetCursorDocPos(), SwViewShell::GetDoc(), SwFlyFrameFormat::GetFrame(), SwFormatHoriOrient::GetHoriOrient(), SwDoc::GetIDocumentUndoRedo(), SwViewShell::GetIDocumentUndoRedo(), SfxItemSet::GetItemIfSet(), SwEditShell::GetLastUndoInfo(), SwViewShell::GetLayout(), SwPosition::GetNode(), SwNoTextFrame::GetNode(), SwFormatAnchor::GetPageNum(), GetTableSel(), SwTextFrame::GetTextNodeForParaProps(), SwFormatVertOrient::GetVertOrient(), SwPaM::HasMark(), INSLAYFMT, SwPaM::IsMultiSelection(), SwCursorShell::IsTableMode(), SwFrame::IsTextFrame(), SwCursorShell::KillPams(), lcl_SetNewFlyPos(), SwDoc::MakeFlyAndMove(), SwDoc::MakeFlySection(), SwPostItHelper::NONE, SwCursorShell::ParkCursor(), Put, RES_ANCHOR(), RES_HORI_ORIENT(), RES_VERT_ORIENT(), rSet, SelectFlyFrame(), SwFormatAnchor::SetAnchor(), SwRootFrame::SetAssertFlyPages(), SwDoc::SetFlyFrameAttr(), SwFormatAnchor::SetPageNum(), SwPaM::Start(), and SwEditShell::StartAllAction().
Referenced by ImpEndCreate(), SwMailMergeLayoutPage::InsertAddressFrame(), SwFlyFrameAttrMgr::InsertFlyFrame(), lcl_InsertBCText(), and lcl_InsertLabText().
void SwFEShell::ParkCursorInTab | ( | ) |
Definition at line 93 of file fetab.cxx.
References SwCursorShell::GetCursor(), SwPaM::GetMark(), SwPaM::GetPoint(), sw::Ring< value_type >::GetRingContainer(), SwCursor::GoNextCell(), SwCursor::GoPrevCell(), IsLastCellInRow(), and SwCursorShell::KillPams().
Referenced by DeleteCol(), ProtectCells(), and Sort().
bool SwFEShell::Paste | ( | const Graphic & | rGrf, |
const OUString & | rURL | ||
) |
Definition at line 1572 of file fecopy.cxx.
References SdrEditView::AddUndo(), SdrObject::Clone(), SwViewShellImp::GetDrawView(), SdrModel::GetItemPool(), SdrMarkList::GetMark(), SdrMarkList::GetMarkCount(), SdrMarkView::GetMarkedObjectList(), SdrMark::GetMarkedSdrObj(), SdrPaintView::GetModel(), SdrPaintView::GetSdrPageView(), SwViewShell::Imp(), SdrObject::IsClosedObj(), SdrMarkView::MarkObj(), SfxItemSet::Put(), SdrEditView::ReplaceObjectAtView(), and SdrObject::SetMergedItemSetAndBroadcast().
void SwFEShell::Paste | ( | SvStream & | rStm, |
SwPasteSdr | nAction, | ||
const Point * | pPt | ||
) |
Definition at line 1349 of file fecopy.cxx.
References SdrObject::CloneSdrObject(), DelSelectedObj(), SwEditShell::EndAllAction(), SwEditShell::EndUndo(), SwFrame::FindFooterOrHeader(), FindFrameFormat(), SwContentFrame::FindMaster(), SwAnchoredObject::GetAnchorFrame(), SwViewShell::GetAttrPool(), SwFormat::GetAttrSet(), SwCursorShell::GetCharRect(), SdrObject::GetCurrentBoundRect(), SwCursorShell::GetCursor(), SwViewShell::GetDoc(), SwViewShellImp::GetDrawView(), SwFrame::GetFrameAnchorPos(), SdrGrafObj::GetGraphic(), tools::Rectangle::GetHeight(), SwDoc::getIDocumentContentOperations(), SwViewShell::getIDocumentDrawModelAccess(), SwViewShell::GetIDocumentUndoRedo(), SdrObject::GetLayer(), SdrMarkList::GetMark(), SdrMarkList::GetMarkCount(), SdrMarkView::GetMarkedObjectList(), SdrMark::GetMarkedSdrObj(), SdrObject::GetMergedItemSet(), SdrObject::GetOrdNum(), SdrObject::getSdrModelFromSdrObject(), tools::Rectangle::GetSize(), SdrObject::GetSnapRect(), Graphic::GetType(), tools::Rectangle::GetWidth(), Point::getX(), Point::getY(), SdrEditView::GroupMarked(), SwViewShell::HasDrawView(), HasWrap(), Size::Height(), i, SwViewShell::Imp(), ImpEndCreate(), SdrObject::ImpSetAnchorPos(), Insert, IDocumentContentOperations::InsertDrawObj(), SdrMarkView::IsDesignMode(), SwFrame::IsTextFrame(), lcl_ConvertSdrOle2ObjsToSdrGrafObjs(), SwViewShellImp::MakeDrawView(), SdrEditView::MoveMarkedObj(), SwViewShell::mxDoc, SdrExchangeView::Paste(), Pos, SfxItemSet::Put(), Replace, SwDrawView::ReplaceMarkedDrawVirtObjs(), SdrEditView::ReplaceObjectAtView(), rStrm, SvStream::Seek(), SfxItemSet::Set(), SetAttr, SdrView::SetAttributes(), SdrCreateView::SetCurrentObj(), SdrMarkView::SetDesignMode(), SdrObject::SetLayer(), SwEditShell::StartAllAction(), SwEditShell::StartUndo(), SvxDrawingLayerImport(), tools::Rectangle::TopLeft(), and Size::Width().
bool SwFEShell::Paste | ( | SwDoc & | rClpDoc, |
bool | bNestedTable = false |
||
) |
Definition at line 831 of file fecopy.cxx.
References SwViewShell::ActionPend(), SwPosition::AssignEndIndex(), CheckPosInFly, SwDoc::ClearBoxNumAttrs(), IDocumentContentOperations::CopyRange(), SwEditShell::Delete(), SwPaM::End(), SwEditShell::EndAllAction(), SwNode::EndOfSectionIndex(), SwNode::EndOfSectionNode(), SwNode::FindTableBoxStartNode(), SwFormatAnchor::GetAnchorId(), SwFormatAnchor::GetAnchorNode(), SwNode::GetContentNode(), SwCursorShell::GetCursor(), SwPaM::GetDoc(), SwViewShell::GetDoc(), SwViewShell::GetDrawView(), SwNodes::GetEndOfContent(), SwNodes::GetEndOfExtras(), SwDoc::getIDocumentContentOperations(), SwDoc::getIDocumentFieldsAccess(), SwDoc::GetIDocumentUndoRedo(), SwNode::GetIndex(), SwViewShell::GetLayout(), SwPaM::GetMark(), SwPaM::GetMarkNode(), SwPaM::GetNext(), SwNodeIndex::GetNode(), SwPosition::GetNode(), SwPosition::GetNodeIndex(), SwDoc::GetNodes(), SwPaM::GetPoint(), SwPaM::GetPointNode(), SwPaM::GetPrev(), sw::Ring< SwViewShell >::GetRingContainer(), sw::Ring< value_type >::GetRingContainer(), SwDoc::GetSpzFrameFormats(), IDocumentFieldsAccess::GetSysFieldType(), SwTableNode::GetTable(), SwTable::GetTableBox(), SwNode::GetTableNode(), GetTableSel(), SwNodes::GoNext(), SwViewShell::Imp(), SwDoc::InsCopyOfTable(), o3tl::sorted_vector< typename Value, typename Compare, template< typename, typename > class Find, bool >::insert(), inserted(), INSGLOSSARY, SwDoc::IsColumnSelection(), SwDoc::IsInTable(), SwTable::IsNewModel(), SwTable::IsTableComplex(), SwCursorShell::IsTableMode(), SwContentNode::Len(), IDocumentFieldsAccess::LockExpFields(), SwViewShell::MakeDrawView(), SwDoc::MakeUniqueNumRules(), min(), nCount, PaMCorrAbs(), SwCursorShell::ParkTableCursor(), SwCursorShell::SaveTableBoxContent(), sw::RingContainer< value_type >::size(), SwPaM::Start(), SwEditShell::StartAllAction(), Table, IDocumentFieldsAccess::UnlockExpFields(), IDocumentFieldsAccess::UpdateFields(), SwDoc::UpdateParRsid(), and SwCursor::UpDown().
Referenced by SwTransferable::PasteGrf(), SwTransferable::PasteSdrFormat(), SwTransferable::PasteTargetURL(), and SwTransferable::PrivatePaste().
void SwFEShell::PastePages | ( | SwFEShell & | rToFill, |
sal_uInt16 | nStartPage, | ||
sal_uInt16 | nEndPage | ||
) |
Paste some pages into another doc - used in mailmerge.
Definition at line 1140 of file fecopy.cxx.
References SwEditShell::AppendTextNode(), ChgCurPageDesc(), SwEditShell::Copy(), IDocumentLayoutAccess::CopyLayoutFormat(), SwCursorShell::DeleteCurrent, IDocumentContentOperations::DelFullPara(), SwEditShell::EndAllAction(), SwEditShell::EndUndo(), FindPageDescByName(), SwNode::FindTableNode(), SwFormat::GetAnchor(), SwFormatAnchor::GetAnchorId(), GetCurPageDesc(), SwCursorShell::GetCursor(), SwViewShell::GetDoc(), SwViewShellImp::GetDrawView(), SwNodes::GetEndOfExtras(), GetFirstSub(), SwViewShell::getIDocumentContentOperations(), SwDoc::getIDocumentContentOperations(), SwDoc::getIDocumentFieldsAccess(), SwDoc::getIDocumentLayoutAccess(), GetLastSub(), SwPageDesc::GetName(), SwDoc::GetNodes(), GetPageDesc(), SwFormatAnchor::GetPageNum(), SwPaM::GetPoint(), GetThisFrame(), SwCursorShell::GotoPage(), SwViewShell::Imp(), INSERT, IDocumentFieldsAccess::LockExpFields(), SwViewShell::MakeDrawView(), SwCursorShell::MovePage(), SwCursorShell::Pop(), SwCursorShell::Push(), SwFormatAnchor::SetPageNum(), SwCursorShell::SetSelection(), SwEditShell::StartAllAction(), SwEditShell::StartUndo(), SwEditShell::Undo(), IDocumentFieldsAccess::UnlockExpFields(), and IDocumentFieldsAccess::UpdateFields().
Referenced by IMPL_LINK_NOARG().
void SwFEShell::ProtectCells | ( | ) |
If a table selection exists it is destroyed in case cursor is not allowed in readonly.
Definition at line 1082 of file fetab.cxx.
References SwCursorShell::ClearMark(), EndAllActionAndCall(), SwViewShell::GetDoc(), SwCursorShell::getShellCursor(), SwCursorShell::IsCursorReadonly(), SwCursorShell::IsTableMode(), ParkCursorInTab(), RES_PROTECT(), SwDoc::SetBoxAttr(), SvxProtectItem::SetContentProtect(), and SwEditShell::StartAllAction().
Referenced by SwTableShell::Execute().
void SwFEShell::ReplaceSdrObj | ( | const OUString & | rGrfName, |
const Graphic * | pGrf | ||
) |
Definition at line 1797 of file fefly1.cxx.
References tools::Rectangle::Bottom(), DelSelectedObj(), SwEditShell::EndAllAction(), SwEditShell::EndUndo(), FindFrameFormat(), SwFormat::GetAttrSet(), SwCursorShell::GetCursor(), SwViewShell::GetDoc(), SwViewShell::GetDrawView(), SwDoc::getIDocumentContentOperations(), SfxItemSet::GetItemState(), SdrMarkList::GetMark(), SdrMark::GetMarkedSdrObj(), SdrObject::GetOrdNum(), SfxItemSet::GetRanges(), SdrObject::GetRelativePos(), SdrObject::GetSnapRect(), Point::getX(), Point::getY(), SwViewShell::HasDrawView(), SwViewShell::Imp(), IDocumentContentOperations::InsertGraphic(), tools::Rectangle::Left(), MINFLY, Minimum, SwViewShell::mxDoc, SwPostItHelper::NONE, SfxItemSet::Put(), RES_HORI_ORIENT(), RES_VERT_ORIENT(), tools::Rectangle::Right(), SfxItemSet::Set(), SwEditShell::StartAllAction(), SwEditShell::StartUndo(), and tools::Rectangle::Top().
Referenced by SwTransferable::PasteTargetURL().
Size SwFEShell::RequestObjectResize | ( | const SwRect & | rRect, |
const css::uno::Reference< css::embed::XEmbeddedObject > & | |||
) |
OLE.
Server requires new size. Desired values are adjusted as frame attributes. If the values are not allowed, the formatting clips and determines scaling. See CalcAndSetScale(). The
Definition at line 1318 of file fefly1.cxx.
References abs(), Size::AdjustHeight(), Size::AdjustWidth(), SwFlyFrame::ChgRelPos(), SwFlyFrame::ChgSize(), ClrContourCache(), SwEditShell::EndAllAction(), FindFlyFrame(), SwAnchoredObject::GetAnchorFrame(), SwFormat::GetDoc(), SwFormatField::GetField(), SwFlyFrame::GetFormat(), SwFrameAreaDefinition::getFrameArea(), SwFrameAreaDefinition::getFramePrintArea(), SwFormat::GetFrameSize(), SwFormatFrameSize::GetHeightSizeType(), SwFormat::GetHoriOrient(), SwFrame::GetNext(), GetNode(), SwNode::GetNoTextNode(), SwFormatVertOrient::GetPos(), SwFormatHoriOrient::GetPos(), SwFrame::GetPrev(), SwFormat::GetProtect(), SwField::GetTypeId(), SwFrame::GetUpper(), SwFormat::GetVertOrient(), SwFormatFrameSize::GetWidthPercent(), Point::getX(), Point::getY(), Size::Height(), SwRect::Height(), SwRect::IsEmpty(), SwFlyFrame::IsFlyAtContentFrame(), SwFrame::IsFlyFrame(), SwFrame::IsNoTextFrame(), SvxProtectItem::IsPosProtected(), SvxProtectItem::IsSizeProtected(), SwFrame::IsTextFrame(), SwRect::Left(), SwLayoutFrame::Lower(), m_bCheckForOLEInCaption, Minimum, sw::MergedAttrIter::NextAttr(), SwRect::Pos(), RES_TXTATR_FIELD(), Sequence, SwDoc::SetAttr(), SwNoTextNode::SetContour(), SvxSizeItem::SetHeight(), SwFlyFrameFormat::SetLastFlyFramePrtRectPos(), SvxSizeItem::SetWidth(), Point::setX(), Point::setY(), SwRect::SSize(), SwEditShell::StartAllAction(), SwRect::Top(), SfxPoolItem::Which(), Size::Width(), and SwRect::Width().
Referenced by SwWrtShell::CalcAndSetScale(), SwWrtShell::InsertObject(), SwOleClient::RequestNewObjectArea(), and SwOleClient::ViewChanged().
void SwFEShell::ResetFlyFrameAttr | ( | const SfxItemSet * | pSet | ) |
Definition at line 1186 of file fefly1.cxx.
References EndAllActionAndCall(), SfxItemIter::GetCurItem(), SwViewShell::GetDoc(), SwFlyFrame::GetFormat(), SwDoc::getIDocumentState(), GetSelectedOrCurrFlyFrame(), IsInvalidItem(), SfxItemIter::NextItem(), RES_ANCHOR(), RES_CHAIN(), RES_CNTNT(), SwFormat::ResetFormatAttr(), IDocumentState::SetModified(), and SwEditShell::StartAllAction().
Referenced by SwWrtShell::AutoUpdateFrame().
|
private |
Definition at line 664 of file feshview.cxx.
References SwViewShell::GetDrawView(), SwViewShell::Imp(), IsScrollMDI(), ScrollMDI(), and SCROLLVAL.
Referenced by Drag(), MoveCreate(), and MoveMark().
void SwFEShell::SelectFlyFrame | ( | SwFlyFrame & | rFrame | ) |
Definition at line 238 of file fefly1.cxx.
References SdrMarkView::AreObjectsMarked(), SwCursorShell::ClearMark(), SwAnchoredObject::GetAnchorFrame(), SwViewShellImp::GetDrawView(), SwViewShellImp::GetPageView(), GetSelectedFlyFrame(), SwFlyFrame::GetVirtDrawObj(), SwViewShell::GetWin(), SwViewShell::Imp(), SwFrame::IsFlyFrame(), SwFlyFrame::IsFlyInContentFrame(), SwCursorShell::KillPams(), SdrMarkView::MarkObj(), SwFlyFrame::SelectionHasChanged(), SelFlyGrabCursor(), SwFrame::SetCompletePaint(), and SdrView::UnmarkAll().
Referenced by Copy(), Insert(), InsertLabel(), InsertObject(), NewFlyFrame(), SetFlyFrameAttr(), and SetFrameFormat().
void SwFEShell::SelectionToBottom | ( | bool | bBottom = true | ) |
Definition at line 997 of file feshview.cxx.
References SwTextBoxHelper::DoTextBoxZOrderCorrection(), SwEditShell::EndAllAction(), FindFrameFormat(), SwViewShell::GetDoc(), SwViewShellImp::GetDrawView(), GetFlyFromMarked(), SwDoc::getIDocumentState(), SdrMarkList::GetMark(), SdrMarkList::GetMarkCount(), SdrMarkView::GetMarkedObjectList(), SdrMark::GetMarkedSdrObj(), SwViewShell::HasDrawView(), i, SwViewShell::Imp(), SwFlyFrame::IsFlyInContentFrame(), SwTextBoxHelper::isTextBox(), lcl_NotifyNeighbours(), SdrEditView::MovMarkedToBtm(), SdrEditView::PutMarkedToBtm(), RES_DRAWFRMFMT(), RES_FLYFRMFMT(), IDocumentState::SetModified(), and SwEditShell::StartAllAction().
Referenced by SwFrameShell::Execute(), and SwDrawBaseShell::Execute().
void SwFEShell::SelectionToHeaven | ( | ) |
Above document.
Definition at line 1115 of file feshview.cxx.
References ChangeOpaque(), and SwViewShell::getIDocumentDrawModelAccess().
Referenced by SwDrawShell::Execute(), SwDrawBaseShell::Execute(), and SwBaseShell::SetWrapMode().
void SwFEShell::SelectionToHell | ( | ) |
Below document.
Definition at line 1120 of file feshview.cxx.
References ChangeOpaque(), and SwViewShell::getIDocumentDrawModelAccess().
Referenced by SwDrawShell::Execute(), SwDrawBaseShell::Execute(), and SwBaseShell::SetWrapMode().
void SwFEShell::SelectionToTop | ( | bool | bTop = true | ) |
Move selection upwards or downwards (Z-Order).
TRUE = to top or bottom. FALSE = run past one other.
Definition at line 928 of file feshview.cxx.
References SwTextBoxHelper::DoTextBoxZOrderCorrection(), SwEditShell::EndAllAction(), FindFrameFormat(), SwViewShell::GetDoc(), SwViewShellImp::GetDrawView(), GetFlyFromMarked(), SwDoc::getIDocumentState(), SdrMarkList::GetMark(), SdrMarkList::GetMarkCount(), SdrMarkView::GetMarkedObjectList(), SdrMark::GetMarkedSdrObj(), SwViewShell::HasDrawView(), i, SwViewShell::Imp(), SwFlyFrame::IsFlyInContentFrame(), SwTextBoxHelper::isTextBox(), lcl_NotifyNeighbours(), SdrEditView::MovMarkedToTop(), SdrEditView::PutMarkedToTop(), RES_DRAWFRMFMT(), RES_FLYFRMFMT(), IDocumentState::SetModified(), and SwEditShell::StartAllAction().
Referenced by SwFrameShell::Execute(), and SwDrawBaseShell::Execute().
If an object has been given, exactly this object is selected (instead of searching over position).
Definition at line 161 of file feshview.cxx.
References SwCursorShell::CallChgLnk(), SwCursorShell::ClearMark(), CNT_GRF, CNT_TXT, SwCursorShell::EndAction(), FLY_DRAG_END, FLY_DRAG_START, FrameNotify(), SdrMarkView::GetAllMarkedRect(), SwEditShell::GetCntType(), GetDragMode(), SwViewShellImp::GetDrawView(), GetFlyFromMarked(), SwContact::GetFormat(), SwFlyFrame::GetFormat(), SwFrameAreaDefinition::getFrameArea(), SdrMarkList::GetMark(), SdrMarkList::GetMarkCount(), SdrMarkView::GetMarkedObjectList(), SdrMark::GetMarkedSdrObj(), SdrMarkView::GetMarkHdlSizePixel(), SwTextBoxHelper::getOtherTextBoxFormat(), SwViewShell::GetOut(), SwViewShellImp::GetPageView(), SwFlyAtContentFrame::GetPrecede(), SwFormat::GetProtect(), GetUserCall(), SwViewShell::GetWin(), Point::getX(), SwNoTextFrame::HasAnimation(), i, SwViewShell::Imp(), vcl::Window::Invalidate(), SvxProtectItem::IsContentProtected(), SwFlyFrame::IsFlySplitAllowed(), SwCursorShell::IsReadOnlyAvailable(), SwViewShell::IsViewLocked(), SwCursorShell::KillPams(), lcl_GrabCursor(), SwViewShell::LockView(), SwLayoutFrame::Lower(), SdrMarkView::MarkObj(), nType, OutputDevice::PixelToLogic(), pObject, SwRect::Pos(), RES_FLYFRMFMT(), SwFlyFrame::SelectionHasChanged(), SwCursorShell::SetCursor(), SetDragMode(), Point::setX(), SwCursorShell::StartAction(), SwRect::SVRect(), SW_ADD_SELECT, SW_ALLOW_TEXTBOX, SW_ENTER_GROUP, SW_LEAVE_FRAME, tools::Rectangle::TopLeft(), and SdrView::UnmarkAll().
Referenced by SwWrtShell::Do(), SwEditWin::EnterDrawMode(), SwDrawBase::EnterSelectMode(), SwSpellDialogChildWindow::FindNextDrawTextError_Impl(), GotoFly(), GotoObj(), lcl_AssureStdModeAtShell(), lcl_goIntoTextBox(), lcl_LeaveDrawText(), lcl_SelectSdrMarkList(), SwSpellDialogChildWindow::MakeTextSelection_Impl(), SwDrawBase::MouseButtonDown(), SwEditWin::MouseButtonDown(), SwDrawBase::MouseButtonUp(), SwWrtShell::PopCursor(), SwTransferable::PrivateDrop(), sw::DocumentDrawModelManager::Search(), SwAccessibleContext::Select(), SwEditWin::SelectMenuPosition(), SwWrtShell::SelectNextPrevHyperlink(), SetDrawingAttr(), SwTransferable::SetSelInShell(), SwEditWin::StartDrag(), and SwWrtShell::UnSelectFrame().
const SwFrameFormat * SwFEShell::SelFlyGrabCursor | ( | ) |
If a fly is selected, it draws cursor into the first ContentFrame.
Definition at line 802 of file feshview.cxx.
References SwPosition::Assign(), SwCursorShell::ClearMark(), SwLayoutFrame::ContainsContent(), SwCursorShell::GetCharRect(), SwCursorShell::GetCursor(), SwCursorShell::GetCursorDocPos(), SwViewShellImp::GetDrawView(), GetFlyFromMarked(), SwFlyFrame::GetFormat(), SwFrameAreaDefinition::getFrameArea(), SwFrameAreaDefinition::getFramePrintArea(), SdrMarkView::GetMarkedObjectList(), GetNode(), SwPaM::GetPoint(), SwViewShell::HasDrawView(), SwViewShell::Imp(), SwFrame::IsNoTextFrame(), SwFrame::IsTextFrame(), SwCursorShell::KillPams(), and SwRect::Pos().
Referenced by lcl_GrabCursor(), SwEditWin::MouseButtonDown(), SelectFlyFrame(), and SwEditWin::SelectMenuPosition().
pEnd will be used during MouseMove
Definition at line 1957 of file fetab.cxx.
References SwRect::Center(), SwPaM::DeleteMark(), SwTabFrame::FindMaster(), SwFrame::FindTabFrame(), GetBox(), GetCellContent(), SwCursorShell::GetCursor_(), SwFrameAreaDefinition::getFrameArea(), SwPosition::GetNode(), GetNode(), SwPaM::GetPoint(), SwShellCursor::GetPtPos(), SwTableBox::GetSttNd(), SwCellFrame::GetTabBox(), i, SwNode::IsInProtectSect(), SwCursor::IsInProtectTable(), SwFrame::IsRowFrame(), SwCursorShell::IsTableMode(), SwFrame::IsTextFrame(), lcl_ProjectOntoClosestTableFrame(), SwLayoutFrame::Lower(), SwCursor::RestoreSavePos(), SwCursorShell::SelTable(), SwCursorShell::SelTableRowOrCol(), SwShellCursor::SetMark(), SwNode::StartOfSectionNode(), and SwCursorShell::TableCursorToCursor().
Referenced by SwWrtShell::SelectTableRowCol().
void SwFEShell::SetBoxAlign | ( | sal_uInt16 | nOrient | ) |
Definition at line 990 of file fetab.cxx.
References EndAllActionAndCall(), SwViewShell::GetDoc(), SwCursorShell::getShellCursor(), SwDoc::SetBoxAlign(), and SwEditShell::StartAllAction().
Referenced by SwTableShell::Execute(), and ItemSetToTableParam().
void SwFEShell::SetBoxBackground | ( | const SvxBrushItem & | rNew | ) |
Definition at line 958 of file fetab.cxx.
References EndAllActionAndCall(), SwViewShell::GetDoc(), SwCursorShell::getShellCursor(), SwDoc::SetBoxAttr(), and SwEditShell::StartAllAction().
Referenced by SwBaseShell::ExecBckCol(), SwBaseShell::ExecDlg(), SwBaseShell::ExecuteGallery(), and ItemSetToTableParam().
void SwFEShell::SetBoxDirection | ( | const SvxFrameDirectionItem & | rNew | ) |
Definition at line 974 of file fetab.cxx.
References EndAllActionAndCall(), SwViewShell::GetDoc(), SwCursorShell::getShellCursor(), SwDoc::SetBoxAttr(), and SwEditShell::StartAllAction().
Referenced by ItemSetToTableParam().
void SwFEShell::SetCalcFieldValueHdl | ( | Outliner * | pOutliner | ) |
Definition at line 2759 of file feshview.cxx.
References SwViewShell::GetDoc(), and SwDoc::SetCalcFieldValueHdl().
Referenced by SwView::BeginTextEdit().
void SwFEShell::SetChainMarker | ( | ) |
Definition at line 2839 of file feshview.cxx.
References SwRect::Bottom(), SwViewShell::GetDrawView(), SwFrameAreaDefinition::getFrameArea(), SwFlyFrame::GetNextLink(), SwFlyFrame::GetPrevLink(), GetSelectedFlyFrame(), IsFrameSelected(), m_pChainFrom, m_pChainTo, SwRect::Pos(), and SwRect::Right().
Referenced by BreakDrag(), Chain(), EndMark(), and SwFrameShell::Execute().
|
inline |
Definition at line 461 of file fesh.hxx.
Referenced by FinishOLEObj(), SwTableFUNC::InsertChart(), and SwWrtShell::InsertObject().
void SwFEShell::SetColRowWidthHeight | ( | TableChgWidthHeightType | eType, |
sal_uInt16 | nDiff | ||
) |
The cells are destroyed in here
Definition at line 2322 of file fetab.cxx.
References ClearFEShellTabCols(), ColLeft, ColRight, EndAllActionAndCall(), eType, extractPosition(), SwCursorShell::GetCurrFrame(), SwViewShell::GetDoc(), SwLayoutFrame::GetFormat(), SwFrameAreaDefinition::getFramePrintArea(), SwFormat::GetFrameSize(), SwFormatHoriOrient::GetHoriOrient(), SwFormat::GetHoriOrient(), SwTabFrame::GetTable(), SwTable::GetTableChgMode(), SwFrame::GetUpper(), SvxSizeItem::GetWidth(), SwRectFnSet::GetWidth(), SwFrame::ImplFindTabFrame(), SwFrame::IsCellFrame(), SwFrame::IsInTab(), SwPostItHelper::NONE, SwDoc::SetColRowWidthHeight(), SwFormat::SetFormatAttr(), SvxSizeItem::SetWidth(), SwEditShell::StartAllAction(), VarWidthChangeAbs, and SwRect::Width().
Referenced by SwEditWin::KeyInput().
void SwFEShell::SetDragMode | ( | SdrDragMode | eSdrDragMode | ) |
Set DragMode (e.g. Rotate), but do nothing when frame is selected.
Definition at line 675 of file feshview.cxx.
References SwViewShellImp::GetDrawView(), SwViewShell::HasDrawView(), SwViewShell::Imp(), and SdrMarkView::SetDragMode().
Referenced by SwDrawShell::Execute(), SwGrfShell::Execute(), SwDrawBaseShell::Execute(), SelectObj(), and StartCropImage().
bool SwFEShell::SetDrawingAttr | ( | SfxItemSet & | rSet | ) |
Definition at line 1147 of file fefly1.cxx.
References ChgAnchor(), SfxItemSet::ClearItem(), SfxItemSet::Count(), EndAllActionAndCall(), SwEditShell::EndUndo(), FindFrameFormat(), SfxItemSet::Get(), SwFormat::GetAnchor(), SwFormatAnchor::GetAnchorId(), SwViewShell::GetDoc(), SwViewShellImp::GetDrawView(), SfxItemSet::GetItemState(), SdrMarkList::GetMark(), SdrMarkList::GetMarkCount(), SdrMarkView::GetMarkedObjectList(), SdrMark::GetMarkedSdrObj(), SwViewShell::HasDrawView(), SwViewShell::Imp(), RES_ANCHOR(), rSet, SelectObj(), SetFlyFrameAttr(), SwEditShell::StartAllAction(), and SwEditShell::StartUndo().
Referenced by SwDrawBaseShell::Execute().
bool SwFEShell::SetFlyFrameAttr | ( | SfxItemSet & | rSet | ) |
Definition at line 1103 of file fefly1.cxx.
References SfxItemSet::Count(), EndAllActionAndCall(), SwViewShell::GetDoc(), SwFlyFrame::GetFormat(), SwFlyFrameFormat::GetFrame(), SwFrameAreaDefinition::getFrameArea(), SfxItemSet::GetItemState(), SwViewShell::GetLayout(), GetSelectedOrCurrFlyFrame(), SwRect::Pos(), RES_ANCHOR(), rSet, SelectFlyFrame(), SwRootFrame::SetAssertFlyPages(), SetFlyFrameAttr(), SwEditShell::StartAllAction(), and sw_ChkAndSetNewAnchor().
Referenced by SwEditWin::ChangeFly(), SwWrtShell::DelRight(), SwBaseShell::ExecBckCol(), SwBaseShell::ExecDlg(), SwFrameShell::ExecDrawAttrArgsTextFrame(), SwFrameShell::ExecDrawDlgTextFrame(), SwFrameShell::ExecFrameStyle(), SwView::ExecTabWin(), SwBaseShell::Execute(), SwFrameShell::Execute(), SwBaseShell::ExecuteGallery(), SwWrtShell::InsertContentControl(), SwDrawBase::MouseButtonUp(), SwFormatClipboard::Paste(), SwTransferable::PasteAsHyperlink(), SwTransferable::PasteFileName(), SwTransferable::PasteGrf(), SwTransferable::PasteImageMap(), SwTransferable::PasteTargetURL(), SwTransferable::PrivateDrop(), SetDrawingAttr(), SetFlyFrameAttr(), SwBaseShell::SetWrapMode(), and SwFlyFrameAttrMgr::UpdateFlyFrame().
void SwFEShell::SetFlyName | ( | const OUString & | rName | ) |
Set name at selected FlyFrame.
Definition at line 1471 of file fefly1.cxx.
References SwViewShell::GetDoc(), SwLayoutFrame::GetFormat(), GetSelectedFlyFrame(), and SwDoc::SetFlyName().
Referenced by SwFrameShell::Execute(), SwModule::InsertEnv(), SwFrameAddPage::Reset(), and SwFlyFrameAttrMgr::UpdateFlyFrame_().
void SwFEShell::SetFlyPos | ( | const Point & | rAbsPos | ) |
Definition at line 373 of file fefly1.cxx.
References SwCursorShell::CallChgLnk(), SwFlyFrame::ChgRelPos(), SwAnchoredObject::GetAnchorFrame(), GetCurrFlyFrame(), SwFrameAreaDefinition::getFrameArea(), TransformableSwFrame::getUntransformedFrameArea(), Point::getX(), Point::getY(), SwFlyFrame::IsFlyAtContentFrame(), SwFlyFrame::IsFlyFreeFrame(), SwFlyFrame::IsFlyInContentFrame(), SwFlyFreeFrame::isTransformableSwFrame(), SwRect::Left(), SwRect::Pos(), Point::setX(), Point::setY(), SwRect::Top(), Point::X(), and Point::Y().
Referenced by SwEditWin::ChangeFly(), and SwFlyFrameAttrMgr::UpdateFlyFrame_().
void SwFEShell::SetFrameFormat | ( | SwFrameFormat * | pFormat, |
bool | bKeepOrient = false , |
||
Point const * | pDocPos = nullptr |
||
) |
If frame then set frame style.
Definition at line 1223 of file fefly1.cxx.
References aFrameFormatSetRange, EndAllActionAndCall(), SwViewShell::GetAttrPool(), SwViewShell::GetDoc(), SwFlyFrame::GetFormat(), GetFormatFromObj(), SwFlyFrameFormat::GetFrame(), SwFrameAreaDefinition::getFrameArea(), SwFormat::GetItemState(), SwViewShell::GetLayout(), GetSelectedFlyFrame(), SwRect::Pos(), RES_ANCHOR(), SelectFlyFrame(), SwRootFrame::SetAssertFlyPages(), SwEditShell::StartAllAction(), and sw_ChkAndSetNewAnchor().
Referenced by SwDocShell::ApplyStyles(), SwView::InsertGraphicDlg(), SwDocShell::MakeByExample(), SwEditWin::MouseButtonUp(), and SwDocShell::UpdateStyle().
|
static |
Definition at line 923 of file feshview.cxx.
References ConstructHelper::SetLineEnds().
Referenced by CreateDefaultShape(), and ConstRectangle::MouseButtonDown().
Definition at line 2218 of file fetab.cxx.
References EndAllActionAndCall(), GetBox(), SwViewShell::GetDoc(), SwDoc::SetTabCols(), and SwEditShell::StartAllAction().
Referenced by SwView::ExecTabWin().
Definition at line 873 of file fetab.cxx.
References EndAllActionAndCall(), GetBox(), SwViewShell::GetDoc(), SwDoc::SetTabRows(), and SwEditShell::StartAllAction().
Referenced by SwView::ExecTabWin().
void SwFEShell::SetNewPageOffset | ( | sal_uInt16 | nOffset | ) |
Definition at line 372 of file fews.cxx.
References SwFrame::FindPageFrame(), SwCursorShell::GetCurrFrame(), SwViewShell::GetLayout(), lcl_SetAPageOffset(), and SwRootFrame::SetVirtPageNum().
void SwFEShell::SetObjAttr | ( | const SfxItemSet & | rSet | ) |
Definition at line 2672 of file feshview.cxx.
References SfxItemSet::Count(), EndAllActionAndCall(), SwEditShell::EndUndo(), SwViewShell::GetDoc(), SwViewShellImp::GetDrawView(), SwContact::GetFormat(), SwDoc::getIDocumentState(), SdrMarkList::GetMark(), SdrMarkList::GetMarkCount(), SdrMarkView::GetMarkedObjectList(), SdrMark::GetMarkedSdrObj(), GetUserCall(), i, SwViewShell::Imp(), INSATTR, rSet, SwDoc::SetAttr(), IDocumentState::SetModified(), SwEditShell::StartAllAction(), and SwEditShell::StartUndo().
Referenced by SwDrawBaseShell::Execute(), and SwBaseShell::SetWrapMode().
void SwFEShell::SetObjDecorative | ( | bool | isDecorative | ) |
Definition at line 2070 of file fefly1.cxx.
References FindFrameFormat(), SwViewShell::GetDoc(), SwViewShell::GetDrawView(), SdrMarkList::GetMark(), SdrMarkList::GetMarkCount(), SdrMark::GetMarkedSdrObj(), SwViewShell::HasDrawView(), SwViewShell::Imp(), RES_FLYFRMFMT(), SdrObject::SetDecorative(), SwDoc::SetFlyFrameDecorative(), and SwFormat::Which().
Referenced by SwFrameShell::Execute().
void SwFEShell::SetObjDescription | ( | const OUString & | rDescription | ) |
Definition at line 2026 of file fefly1.cxx.
References FindFrameFormat(), SwViewShell::GetDoc(), SwViewShellImp::GetDrawView(), SdrMarkList::GetMark(), SdrMarkList::GetMarkCount(), SdrMarkView::GetMarkedObjectList(), SdrMark::GetMarkedSdrObj(), SwViewShell::HasDrawView(), SwViewShell::Imp(), RES_FLYFRMFMT(), SdrObject::SetDescription(), SwDoc::SetFlyFrameDescription(), and SwFormat::Which().
Referenced by SwFrameShell::Execute(), and SwGrfShell::Execute().
void SwFEShell::SetObjRect | ( | const SwRect & | rRect | ) |
Set size of draw objects.
Definition at line 1309 of file fefly1.cxx.
References SwCursorShell::CallChgLnk(), SwViewShellImp::GetDrawView(), SwViewShell::HasDrawView(), SwViewShell::Imp(), SdrEditView::SetAllMarkedRect(), and SwRect::SVRect().
Referenced by SwView::ExecTabWin().
void SwFEShell::SetObjTitle | ( | const OUString & | rTitle | ) |
Definition at line 1984 of file fefly1.cxx.
References FindFrameFormat(), SwViewShell::GetDoc(), SwViewShellImp::GetDrawView(), SdrMarkList::GetMark(), SdrMarkList::GetMarkCount(), SdrMarkView::GetMarkedObjectList(), SdrMark::GetMarkedSdrObj(), SwViewShell::HasDrawView(), SwViewShell::Imp(), RES_FLYFRMFMT(), SwDoc::SetFlyFrameTitle(), SdrObject::SetTitle(), and SwFormat::Which().
Referenced by SwFrameShell::Execute(), and SwGrfShell::Execute().
void SwFEShell::SetPageObjsNewPage | ( | std::vector< SwFrameFormat * > & | rFillArr | ) |
Definition at line 1016 of file fefly1.cxx.
References SwEditShell::EndAllAction(), SwEditShell::EndUndo(), SwFormatAnchor::GetAnchorId(), SwViewShell::GetLayout(), SwFormatAnchor::GetPageNum(), SwRootFrame::GetPageNum(), SwViewShell::mxDoc, sw::PAGE_OUT_OF_BOUNDS, RES_DRAWFRMFMT(), SwRootFrame::SetAssertFlyPages(), SwFormatAnchor::SetPageNum(), SwEditShell::StartAllAction(), and SwEditShell::StartUndo().
Referenced by SwModule::InsertEnv().
void SwFEShell::SetPageOffset | ( | sal_uInt16 | nOffset | ) |
Changes last page offset.
Definition at line 379 of file fews.cxx.
References SwPageFrame::FindFirstBodyContent(), SwFrame::FindPageFrame(), SwFrame::FindTabFrame(), SwCursorShell::GetCurrFrame(), SwViewShell::GetLayout(), SwFormatPageDesc::GetNumOffset(), SwFrame::GetPageDescItem(), SwFrame::GetPrev(), SwFrame::IsInTab(), lcl_SetAPageOffset(), and SwRootFrame::SetVirtPageNum().
void SwFEShell::SetRowBackground | ( | const SvxBrushItem & | rNew | ) |
Definition at line 922 of file fetab.cxx.
References EndAllActionAndCall(), SwViewShell::GetDoc(), SwCursorShell::getShellCursor(), SwDoc::SetRowBackground(), and SwEditShell::StartAllAction().
Referenced by SwBaseShell::ExecuteGallery(), and ItemSetToTableParam().
void SwFEShell::SetRowHeight | ( | const SwFormatFrameSize & | rSz | ) |
Definition at line 898 of file fetab.cxx.
References EndAllActionAndCall(), SwViewShell::GetDoc(), SwCursorShell::getShellCursor(), SwDoc::SetRowHeight(), and SwEditShell::StartAllAction().
Referenced by SwTableHeightDlg::Apply(), and SwTableShell::Execute().
void SwFEShell::SetRowSplit | ( | const SwFormatRowSplit & | rSz | ) |
Definition at line 885 of file fetab.cxx.
References EndAllActionAndCall(), SwViewShell::GetDoc(), SwCursorShell::getShellCursor(), SwDoc::SetRowSplit(), and SwEditShell::StartAllAction().
Referenced by SwTableShell::Execute(), and ItemSetToTableParam().
void SwFEShell::SetRowsToRepeat | ( | sal_uInt16 | nNumOfRows | ) |
Definition at line 1180 of file fetab.cxx.
References EndAllActionAndCall(), SwFrame::FindTabFrame(), SwCursorShell::GetCurrFrame(), SwViewShell::GetDoc(), SwTable::GetRowsToRepeat(), SwTabFrame::GetTable(), SwDoc::SetRowsToRepeat(), and SwEditShell::StartAllAction().
Referenced by SwInsertDBColAutoPilot::DataToDoc(), SwTableShell::Execute(), and ItemSetToTableParam().
void SwFEShell::SetTabBackground | ( | const SvxBrushItem & | rNew | ) |
Definition at line 1003 of file fetab.cxx.
References SwEditShell::EndAllAction(), SwCursorShell::GetCurrFrame(), SwViewShell::GetDoc(), SwLayoutFrame::GetFormat(), SwDoc::getIDocumentState(), SwFrame::ImplFindTabFrame(), SwFrame::IsInTab(), SwDoc::SetAttr(), IDocumentState::SetModified(), and SwEditShell::StartAllAction().
Referenced by SwBaseShell::ExecuteGallery(), and ItemSetToTableParam().
void SwFEShell::SetTabBorders | ( | const SfxItemSet & | rSet | ) |
Definition at line 935 of file fetab.cxx.
References EndAllActionAndCall(), SwViewShell::GetDoc(), SwCursorShell::getShellCursor(), rSet, SwDoc::SetTabBorders(), and SwEditShell::StartAllAction().
Referenced by SwBaseShell::ExecDlg(), SwBaseShell::Execute(), SwTableShell::Execute(), and ItemSetToTableParam().
void SwFEShell::SetTabCols | ( | const SwTabCols & | rNew, |
bool | bCurRowOnly | ||
) |
Definition at line 797 of file fetab.cxx.
References EndAllActionAndCall(), SwCursorShell::GetCurrFrame(), SwViewShell::GetDoc(), SwFrame::GetUpper(), SwFrame::IsCellFrame(), SwFrame::IsInTab(), SwDoc::SetTabCols(), and SwEditShell::StartAllAction().
Referenced by SwView::ExecTabWin(), ItemSetToTableParam(), and SwTableFUNC::SetColWidth().
void SwFEShell::SetTableAttr | ( | const SfxItemSet & | rNew | ) |
Definition at line 2306 of file fetab.cxx.
References EndAllActionAndCall(), SwFrame::FindTabFrame(), SwCursorShell::GetCurrFrame(), SwViewShell::GetDoc(), SwLayoutFrame::GetFormat(), SwDoc::getIDocumentState(), SwTabFrame::GetTable(), SwFrame::IsInTab(), SwDoc::SetAttr(), SwTable::SetHTMLTableLayout(), IDocumentState::SetModified(), and SwEditShell::StartAllAction().
Referenced by SwTableShell::Execute(), SwModule::InsertEnv(), ItemSetToTableParam(), and lcl_SetAttr().
|
inline |
Definition at line 654 of file fesh.hxx.
Referenced by SwTransferable::PrepareForCopy().
|
inline |
Definition at line 651 of file fesh.hxx.
Referenced by SwTransferable::PrepareForCopy().
void SwFEShell::SetTableStyle | ( | const OUString & | rStyleName | ) |
Set table style of the current table.
Definition at line 1354 of file fetab.cxx.
References SwTableAutoFormatTable::FindAutoFormat(), SwViewShell::GetDoc(), SwDoc::GetTableStyles(), SwCursorShell::IsCursorInTable(), and UpdateTableStyleFormatting().
Referenced by SwDocShell::ApplyStyles(), SwInsertDBColAutoPilot::DataToDoc(), SwDocShell::MakeByExample(), and SwAutoFormatDlg::run().
bool SwFEShell::SetTableStyle | ( | const SwTableAutoFormat & | rNew | ) |
Definition at line 1370 of file fetab.cxx.
References SwTableAutoFormatTable::AddAutoFormat(), SwViewShell::GetDoc(), SwTableAutoFormat::GetName(), SwDoc::GetTableStyles(), SwCursorShell::IsCursorInTable(), and UpdateTableStyleFormatting().
void SwFEShell::SetTabLineStyle | ( | const Color * | pColor, |
bool | bSetLine = false , |
||
const editeng::SvxBorderLine * | pBorderLine = nullptr |
||
) |
Definition at line 943 of file fetab.cxx.
References EndAllActionAndCall(), SwViewShell::GetDoc(), SwCursorShell::getShellCursor(), SwDoc::SetTabLineStyle(), and SwEditShell::StartAllAction().
Referenced by SwTableShell::ExecTableStyle().
void SwFEShell::SetTabRows | ( | const SwTabCols & | rNew, |
bool | bCurColOnly | ||
) |
Definition at line 848 of file fetab.cxx.
References EndAllActionAndCall(), SwCursorShell::GetCurrFrame(), SwViewShell::GetDoc(), SwFrame::GetUpper(), SwFrame::IsCellFrame(), SwFrame::IsInTab(), SwDoc::SetTabRows(), and SwEditShell::StartAllAction().
Referenced by SwView::ExecTabWin().
void SwFEShell::ShellGetFocus | ( | ) |
Definition at line 309 of file fews.cxx.
References FLY_DRAG_START, FrameNotify(), SwViewShell::GetDrawView(), SwViewShellImp::GetDrawView(), SwViewShell::HasDrawView(), SwViewShell::Imp(), comphelper::LibreOfficeKit::isActive(), SetShell(), SwCursorShell::ShellGetFocus(), and SdrMarkView::showMarkHandles().
void SwFEShell::ShellLoseFocus | ( | ) |
Hide or show layout-selection and pass call to CursorSh.
Definition at line 323 of file fews.cxx.
References FLY_DRAG_END, FrameNotify(), SwViewShell::GetDrawView(), SwViewShellImp::GetDrawView(), SwViewShell::HasDrawView(), SdrMarkView::hideMarkHandles(), SwViewShell::Imp(), comphelper::LibreOfficeKit::isActive(), and SwCursorShell::ShellLoseFocus().
bool SwFEShell::ShouldObjectBeSelected | ( | const Point & | rPt | ) |
Test if there is a draw object at that position and if it should be selected.
The 'should' is aimed at Writer text fly frames which may be in front of the draw object.
Definition at line 1293 of file feshview.cxx.
References a, tools::Rectangle::Contains(), SwRect::Contains(), SwLayoutFrame::ContainsContent(), SwFrame::DynCastTextFrame(), SwContact::GetAnchoredObj(), SwContact::GetAnchorNode(), SwTextFrame::GetCharRect(), SwVirtFlyDrawObj::GetCurrentBoundRect(), SwViewShell::GetDoc(), IDocumentDrawModelAccess::GetDrawModel(), SwViewShellImp::GetDrawView(), SwAnchoredObject::GetFrameFormat(), IDocumentDrawModelAccess::GetHellId(), SdrPaintView::GetHitTolerancePixel(), SdrPaintView::getHitTolLog(), SwViewShell::getIDocumentDrawModelAccess(), SwTextFrame::GetKeyCursorOfst(), SdrObject::GetLastBoundRect(), SdrObject::GetLayer(), SwViewShell::GetLayout(), SdrMarkView::GetMarkHdlSizePixel(), SwContentFrame::GetNextContentFrame(), SwViewShell::GetNodes(), SdrObjList::GetObj(), SdrObject::GetOrdNum(), SdrModel::GetPage(), SwRootFrame::GetPageAtPos(), SwFormatSurround::GetSurround(), SwFormat::GetSurround(), SdrObject::GetUserCall(), GetUserCall(), SwViewShell::Imp(), SwViewShell::IsHeaderFooterEdit(), SwDoc::IsInHeaderFooter(), SwContact::ObjAnchoredAtPage(), SwRect::Overlaps(), SdrMarkView::PickObj(), SdrPaintView::SetHitTolerancePixel(), and SwFrame::UnionFrame().
Referenced by SwEditWin::MouseButtonDown(), and SwEditWin::SelectMenuPosition().
bool SwFEShell::Sort | ( | const SwSortOptions & | rOpt | ) |
Definition at line 517 of file fews.cxx.
References SwPosition::Adjust(), SwPosition::Assign(), SwPaM::DeleteMark(), SwEditShell::EndAllAction(), SwFrame::FindTabFrame(), SwCursorShell::GetCurrFrame(), SwCursorShell::GetCursor(), SwNodeIndex::GetNode(), SwPaM::GetPoint(), SwPaM::GetPointContentNode(), sw::Ring< SwViewShell >::GetRingContainer(), GetTableSel(), SwFrame::GetUpper(), SwCursorShell::HasSelection(), SwFrame::IsCellFrame(), SwCursorShell::IsTableMode(), SwContentNode::Len(), SwViewShell::mxDoc, ParkCursorInTab(), SwPosition::SetContent(), SwPaM::SetMark(), SwEditShell::StartAllAction(), and SwPaM::StartEnd().
Referenced by SwSortDlg::Apply().
void SwFEShell::SplitTab | ( | bool | bVert, |
sal_uInt16 | nCnt, | ||
bool | bSameHeight | ||
) |
Split cell vertically or horizontally.
Definition at line 647 of file fetab.cxx.
References CheckSplitCells(), ClearFEShellTabCols(), o3tl::sorted_vector< typename Value, typename Compare, template< typename, typename > class Find, bool >::empty(), EndAllActionAndCall(), ERR_TBLDDECHG_ERROR, ERR_TBLSPLIT_ERROR, SwCursorShell::GetCurrFrame(), SwViewShell::GetDoc(), GetFrameWeld(), SwTabFrame::GetTable(), GetTableSel(), ErrorHandler::HandleError(), SwFrame::ImplFindTabFrame(), SwFrame::IsInTab(), NONE, o3tl::sorted_vector< typename Value, typename Compare, template< typename, typename > class Find, bool >::size(), SwDoc::SplitTable(), and SwEditShell::StartAllAction().
Referenced by SwTableShell::Execute().
void SwFEShell::StartCropImage | ( | ) |
Definition at line 691 of file feshview.cxx.
References SwViewShellImp::GetDrawView(), SdrMarkList::GetMark(), SdrMarkList::GetMarkCount(), SdrMarkView::GetMarkedObjectList(), SdrMark::GetMarkedSdrObj(), SwViewShellImp::GetPageView(), SwViewShell::HasDrawView(), i, SwViewShell::Imp(), SdrMarkView::MarkObj(), SetDragMode(), SdrCreateView::SetEditMode(), and SdrView::UnmarkAll().
Referenced by SwGrfShell::Execute().
void SwFEShell::ToggleHeaderFooterEdit | ( | ) |
Definition at line 1319 of file fews.cxx.
References SwCursorShell::ClearMark(), SwViewShell::GetDrawView(), SwViewShellImp::GetDrawView(), SwViewShell::Imp(), SwViewShell::ToggleHeaderFooterEdit(), and SdrView::UnmarkAll().
Referenced by SwWrtShell::ChangeHeaderOrFooter(), SwTextShell::ExecMoveMisc(), SwEditWin::KeyInput(), and SwEditWin::MouseButtonDown().
void SwFEShell::Unchain | ( | SwFrameFormat & | rFormat | ) |
Definition at line 2826 of file feshview.cxx.
References SwEditShell::EndAllAction(), SwViewShell::GetDoc(), SwEditShell::StartAllAction(), and SwDoc::Unchain().
Referenced by SwFrameShell::Execute().
void SwFEShell::UnGroupSelection | ( | ) |
The individual objects are selected, but it is possible that there are groups included.
Definition at line 2465 of file feshview.cxx.
References END, SwEditShell::EndAllAction(), SwEditShell::EndUndo(), SwViewShell::GetDoc(), SwViewShell::GetDrawView(), SwViewShell::Imp(), IsGroupSelected(), START, SwEditShell::StartAllAction(), SwEditShell::StartUndo(), and SwDoc::UnGroupSelection().
Referenced by SwDrawBaseShell::Execute().
void SwFEShell::UnProtectCells | ( | ) |
Refers to table selection.
Definition at line 1102 of file fetab.cxx.
References o3tl::sorted_vector< typename Value, typename Compare, template< typename, typename > class Find, bool >::empty(), EndAllActionAndCall(), SwCursorShell::GetCurrFrame(), SwViewShell::GetDoc(), GetTableSelCrs(), SwFrame::GetUpper(), o3tl::sorted_vector< typename Value, typename Compare, template< typename, typename > class Find, bool >::insert(), SwFrame::IsCellFrame(), SwCursorShell::IsTableMode(), SwEditShell::StartAllAction(), and SwDoc::UnProtectCells().
Referenced by SwTableShell::Execute().
void SwFEShell::UnProtectTables | ( | ) |
Unprotect all tables in selection.
Definition at line 1129 of file fetab.cxx.
References EndAllActionAndCall(), SwCursorShell::GetCursor(), SwViewShell::GetDoc(), SwEditShell::StartAllAction(), and SwDoc::UnProtectTables().
Referenced by SwTextShell::Execute().
bool SwFEShell::UpdateTableStyleFormatting | ( | SwTableNode * | pTableNode = nullptr , |
bool | bResetDirect = false , |
||
OUString const * | pStyleName = nullptr |
||
) |
Update the direct formatting according to the current table style.
pTableNode | Table node to update. When nullptr, current cursor position is used. |
bResetDirect | Reset direct formatting that might be applied to the cells. |
pStyleName | new style to apply |
Definition at line 1383 of file fetab.cxx.
References ClearFEShellTabCols(), o3tl::sorted_vector< typename Value, typename Compare, template< typename, typename > class Find, bool >::empty(), EndAllActionAndCall(), SwTableAutoFormatTable::FindAutoFormat(), SwViewShell::GetDoc(), SwTableNode::GetTable(), GetTableSelCrs(), SwTable::GetTableStyleName(), SwDoc::GetTableStyles(), SwTable::GetTabSortBoxes(), o3tl::sorted_vector< typename Value, typename Compare, template< typename, typename > class Find, bool >::insert(), SwCursorShell::IsCursorInTable(), SwTable::IsTableComplex(), SwCursorShell::IsTableMode(), n, SwDoc::SetTableAutoFormat(), o3tl::sorted_vector< typename Value, typename Compare, template< typename, typename > class Find, bool >::size(), and SwEditShell::StartAllAction().
Referenced by SetTableStyle().
Definition at line 2074 of file fetab.cxx.
References bCol, COL_HORI, COL_NONE, COL_VERT, COLSEL_HORI, COLSEL_VERT, SwFrame::FindTabFrame(), GetBox(), SwTableBox::GetSttNd(), SwCellFrame::GetTabBox(), SwNode::IsInProtectSect(), SwFrame::IsRightToLeft(), SwFrame::IsRowFrame(), SwFrame::IsVertical(), SwLayoutFrame::Lower(), ROW_HORI, ROW_VERT, ROWSEL_HORI, ROWSEL_HORI_RTL, ROWSEL_VERT, SEL_HORI, SEL_HORI_RTL, and SEL_VERT.
Referenced by SwEditWin::changeMousePointer(), and SwEditWin::MouseButtonDown().
SwFrameFormat * SwFEShell::WizardGetFly | ( | ) |
Find/delete fly containing the cursor.
Definition at line 1442 of file fefly1.cxx.
References sw::FrameFormats< value_type >::empty(), SwCursorShell::GetCursor(), SwNodeIndex::GetNode(), SwPosition::GetNode(), SwPaM::GetPoint(), SwNode::GetStartNode(), and SwViewShell::mxDoc.
Referenced by SwModule::InsertLab().
|
private |
Definition at line 209 of file fesh.hxx.
Referenced by GetPasteListeners().
|
private |
Definition at line 208 of file fesh.hxx.
Referenced by RequestObjectResize().
|
private |
|
private |
|
private |
Definition at line 207 of file fesh.hxx.
Referenced by BeginDrag(), HideChainMarker(), and SetChainMarker().
|
private |
Definition at line 206 of file fesh.hxx.
Referenced by BeginDrag(), HideChainMarker(), and SetChainMarker().
|
mutableprivate |
Definition at line 204 of file fesh.hxx.
Referenced by ClearColumnRowCache(), and GetTabCols_().
|
mutableprivate |
Definition at line 205 of file fesh.hxx.
Referenced by ClearColumnRowCache(), and GetTabRows_().