51 SID_ATTR_PAGE_SIZE, SID_ATTR_PAGE_SIZE>
54 if (!pSet || pSet->
Count()==0)
67 aTabDlg->StartExecuteAsync([aTabDlg](sal_Int32 ){
68 aTabDlg->disposeOnce();
77 const OUString sRemoveWhenUniStringIsGone = pItem->GetValue();
88 if((pColRegionItem = pSet->
GetItemIfSet(SID_ATTR_COLUMNS,
false)) ||
96 sal_uInt16 nCol = pColRegionItem->
GetValue();
99 aCol.
Init( nCol, 0,
static_cast< sal_uInt16
>(nWidth) );
105 aSet.Put(*pFormatCol);
126 OUString aFile, aSub;
128 if(SfxItemState::SET ==
132 if(SfxItemState::SET ==
136 if(!aFile.isEmpty() || !aSub.isEmpty())
142 if(SfxItemState::SET ==
149 sLinkFileName += aSub;
160 OUString aSectionContent = pSectionContent->
GetValue();
188 SID_ATTR_PAGE_SIZE, SID_ATTR_PAGE_SIZE>
199 aTabDlg->SetSectionData(rSectionData);
200 aTabDlg->StartExecuteAsync([aTabDlg](sal_Int32 ){
201 aTabDlg->disposeOnce();
208 sal_uInt16 nSlot = rReq.
GetSlot();
223 if(
auto pStringItem =
dynamic_cast< const SfxStringItem *
>( pItem ))
225 pEditRegionDlg->SelectSection(pStringItem->GetValue());
227 pEditRegionDlg->Execute();
sal_uInt16 GetValue() const
const OUString & GetValue() const
virtual bool DeleteAndJoin(SwPaM &, SwDeleteFlags flags=SwDeleteFlags::Default)=0
complete delete of a given PaM
const T * GetItemIfSet(TypedWhichId< T > nWhich, bool bSrchInParent=true) const
SfxItemState GetItemState(sal_uInt16 nWhich, bool bSrchInParent=true, const SfxPoolItem **ppItem=nullptr) const
sal_uInt16 GetSlot() const
const SfxItemSet * GetArgs() const
const T * GetArg(sal_uInt16 nSlotId) const
void SetReturnValue(const SfxPoolItem &)
void Done(bool bRemove=false)
SfxItemPool & GetPool() const
weld::Window * GetFrameWeld() const
virtual VclPtr< AbstractEditRegionDlg > CreateEditRegionDlg(weld::Window *pParent, SwWrtShell &rWrtSh)=0
virtual VclPtr< AbstractInsertSectionTabDialog > CreateInsertSectionTabDialog(weld::Window *pParent, const SfxItemSet &rSet, SwWrtShell &rSh)=0
static SwAbstractDialogFactory * Create()
void EditRegionDialog(SfxRequest const &rReq)
void InsertRegionDialog(SfxRequest &rReq)
SwCursor * GetCursor(bool bMakeTableCursor=true) const
Return pointer to the current shell cursor.
void EndAction(const bool bIdleEnd=false)
IDocumentContentOperations const & getIDocumentContentOperations() const
IDocumentUndoRedo & GetIDocumentUndoRedo()
SwSection const * InsertSection(SwSectionData &rNewData, SfxItemSet const *const =nullptr)
OUString GetUniqueSectionName(const OUString *pChkStr=nullptr) const
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...
PaM is Point and Mark: a selection of the document model.
virtual void SetMark()
Unless this is called, the getter method of Mark will return Point.
bool Move(SwMoveFnCollection const &fnMove=fnMoveForward, SwGoInDoc fnGo=GoInContent)
Movement of cursor.
const SwPosition * GetPoint() const
Of course Writer needs its own rectangles.
void Width(tools::Long nNew)
void SetHidden(bool const bFlag)
SAL_DLLPRIVATE void SetProtectFlag(bool const bFlag)
void SetEditInReadonlyFlag(bool const bFlag)
void SetType(SectionType const eNew)
void SetCondition(OUString const &rNew)
void SetLinkFileName(OUString const &rNew)
Used by the UI to modify the document model.
void StartInsertRegionDialog(const SwSectionData &)
const SwView & GetView() const
#define FN_PARAM_REGION_PROTECT
#define FN_PARAM_REGION_NAME
#define FN_EDIT_CURRENT_REGION
#define FN_PARAM_REGION_CONDITION
#define FN_PARAM_REGION_EDIT_IN_READONLY
#define FN_PARAM_REGION_HIDDEN
weld::Window * GetFrameWeld(const SfxFrame *pFrame)
@ Variable
Frame is variable in Var-direction.
constexpr TypedWhichId< SvxFrameDirectionItem > RES_FRAMEDIR(126)
constexpr TypedWhichId< SwFormatFootnoteAtTextEnd > RES_FTN_AT_TXTEND(123)
constexpr TypedWhichId< SwFormatFrameSize > RES_FRM_SIZE(89)
constexpr TypedWhichId< SwFormatCol > RES_COL(115)
constexpr TypedWhichId< SvxBrushItem > RES_BACKGROUND(111)
constexpr TypedWhichId< SvxLRSpaceItem > RES_LR_SPACE(97)
SW_DLLPUBLIC void PasteHTMLToPaM(SwWrtShell &rWrtSh, SwPaM *pCursor, const OString &rData)
OUString setToken(const OUString &rIn, sal_Int32 nToken, sal_Unicode cTok, std::u16string_view rNewToken)
const sal_Unicode cTokenSeparator
bool GoInContent(SwPaM &rPam, SwMoveFnCollection const &fnMove)
SwMoveFnCollection const & fnMoveBackward
sal_Int32 GetContentIndex() const
constexpr sal_uInt16 XATTR_FILL_FIRST(XATTRSET_LINE+1)
constexpr sal_uInt16 XATTR_FILL_LAST(XATTR_FILLUSESLIDEBACKGROUND)