20#include <config_features.h>
71#define ShellClass_SwFrameShell
78using ::editeng::SvxBorderLine;
100 GetStaticInterface()->RegisterPopupMenu(
"frame");
102 GetStaticInterface()->RegisterObjectBar(
SFX_OBJECTBAR_OBJECT, SfxVisibilityFlags::Invisible, ToolbarId::Frame_Toolbox);
108 sal_uInt16 nSlot = rReq.
GetSlot();
121 sal_uInt16 nSlot = rReq.
GetSlot();
138 sal_uInt16 nSlot = rReq.
GetSlot();
150 case SID_FRAME_TO_TOP:
154 case SID_FRAME_TO_BOTTOM:
172 SfxCallMode::SYNCHRON|SfxCallMode::RECORD,
179 sal_uInt16 nCols = 1;
181 nCols = pColsItem->GetValue();
210 case SID_HYPERLINK_SETLINK:
212 if(pArgs && SfxItemState::SET == pArgs->
GetItemState(SID_HYPERLINK_SETLINK,
false, &pItem))
215 const OUString& rURL = rHLinkItem.
GetURL();
222 OUString sOldName(rHLinkItem.
GetName().toAsciiUpperCase());
223 OUString sFlyName(rSh.
GetFlyName().toAsciiUpperCase());
224 if (sOldName != sFlyName)
226 OUString
sName(sOldName);
230 sName = sOldName +
"_" + OUString::number(
i++);
234 aURL.SetURL( rURL,
false );
262 case SID_OPEN_XML_FILTERSETTINGS:
272 default: bMore =
true;
281 bool bUpdateMgr =
true;
282 bool bCopyToFormat =
false;
285 case SID_OBJECT_ALIGN_MIDDLE:
289 case SID_OBJECT_ALIGN_DOWN :
293 case SID_OBJECT_ALIGN_UP :
321 case SID_OBJECT_ALIGN_CENTER :
325 case SID_OBJECT_ALIGN_RIGHT:
329 case SID_OBJECT_ALIGN_LEFT:
345 bCopyToFormat =
true;
349 case SID_ATTR_ULSPACE:
350 case SID_ATTR_LRSPACE:
355 bCopyToFormat =
true;
360 case SID_ATTR_TRANSFORM:
362 bool bApplyNewPos =
false;
363 bool bApplyNewSize =
false;
370 aNewPos.
setX( pXItem->GetValue() );
375 aNewPos.
setY( pYItem->GetValue() );
385 aNewSize.
setWidth( pWidthItem->GetValue() );
386 bApplyNewSize =
true;
390 aNewSize.
setHeight( pHeightItem->GetValue() );
391 bApplyNewSize =
true;
395 if (pArgs && (pArgs->
HasItem(SID_ATTR_TRANSFORM_ANGLE) || pArgs->
HasItem(SID_ATTR_TRANSFORM_DELTA_ANGLE)))
404 const Degree10 nDeltaRot = to<Degree10>(pAngleItem->GetValue());
414 const Degree10 nNewRot = to<Degree10>(pTransformItem->GetValue());
429 if (!bApplyNewPos && !bApplyNewSize)
452 SID_DOCFRAME, SID_DOCFRAME,
453 SID_ATTR_BRUSH, SID_ATTR_BRUSH,
454 SID_ATTR_BORDER_INNER, SID_ATTR_BORDER_INNER,
455 SID_ATTR_LRSPACE, SID_ATTR_ULSPACE,
456 SID_ATTR_PAGE_SIZE, SID_ATTR_PAGE_SIZE,
460 SID_COLOR_TABLE, SID_PATTERN_LIST,
461 SID_HTML_MODE, SID_HTML_MODE,
489 aSet.Put(aFrameSize);
509 const uno::Reference < embed::XEmbeddedObject > xObj( rSh.
GetOleRef() );
524 OUString(
"FrameDialog"),
533 pDlg->SetCurPageId(
"wrap");
536 if ( pDlg->Execute() )
538 const SfxItemSet* pOutSet = pDlg->GetOutputItemSet();
569 aShellSet.Put(*pOutSet);
583 OUString sPrevName = pPreviousItem->GetValue();
590 if (pFlyFormat->
GetName() != sPrevName)
598 if (!sPrevName.isEmpty())
603 SAL_WARN_IF(!pPrevFormat,
"sw.ui",
"No frame found!");
606 rSh.
Chain(*pPrevFormat, *pCurrFlyFormat);
615 OUString sNextName = pChainNextItem->GetValue();
622 if (pFlyFormat->
GetName() != sNextName)
630 if (!sNextName.isEmpty())
635 SAL_WARN_IF(!pNextFormat,
"sw.ui",
"No frame found!");
639 pCurrFlyFormat), *pNextFormat);
659 bCopyToFormat =
true;
675 if ( pDlg->Execute() ==
RET_OK )
677 pDlg->GetName(
aName);
698 aTitle, aDescription, isDecorative));
700 if ( pDlg->Execute() ==
RET_OK )
702 pDlg->GetDescription(aDescription);
703 pDlg->GetTitle(aTitle);
704 pDlg->IsDecorative(isDecorative);
714 assert(!
"wrong dispatcher");
747 bProtect |= bParentCntProt;
766 case SID_ATTR_ULSPACE:
767 case SID_ATTR_LRSPACE:
778 case SID_OBJECT_ALIGN:
784 case SID_OBJECT_ALIGN_LEFT :
785 case SID_OBJECT_ALIGN_CENTER :
786 case SID_OBJECT_ALIGN_RIGHT :
799 sal_Int16 nHoriOrient = -1;
802 case SID_OBJECT_ALIGN_LEFT:
803 nHoriOrient = text::HoriOrientation::LEFT;
805 case SID_OBJECT_ALIGN_CENTER:
806 nHoriOrient = text::HoriOrientation::CENTER;
808 case SID_OBJECT_ALIGN_RIGHT:
809 nHoriOrient = text::HoriOrientation::RIGHT;
815 if (nHoriOrient != -1)
830 case SID_OBJECT_ALIGN_UP :
831 case SID_OBJECT_ALIGN_MIDDLE :
832 case SID_OBJECT_ALIGN_DOWN :
848 case SID_OBJECT_ALIGN_UP :
850 sNewLabel =
SwResId(STR_FRMUI_TOP_BASE);
852 case SID_OBJECT_ALIGN_MIDDLE :
854 sNewLabel =
SwResId(STR_FRMUI_CENTER_BASE);
856 case SID_OBJECT_ALIGN_DOWN :
859 sNewLabel =
SwResId(STR_FRMUI_BOTTOM_BASE);
868 nWhich != SID_OBJECT_ALIGN_UP )
870 if (aMgr.
GetAnchor() == RndStdIds::FLY_AT_FLY)
887 case SID_OBJECT_ALIGN_UP :
894 case SID_OBJECT_ALIGN_MIDDLE:
901 case SID_OBJECT_ALIGN_DOWN:
910 if ( !sNewLabel.isEmpty() )
914 case SID_HYPERLINK_GETLINK:
923 aHLinkItem.
SetURL(pFormatURL->GetURL());
972 case SID_FRAME_TO_TOP:
973 case SID_FRAME_TO_BOTTOM:
976 if ( bParentCntProt )
980 case SID_ATTR_TRANSFORM:
986 case SID_ATTR_TRANSFORM_PROTECT_SIZE:
1001 case SID_ATTR_TRANSFORM_WIDTH:
1007 case SID_ATTR_TRANSFORM_HEIGHT:
1045 if (eAnchorId != RndStdIds::FLY_AS_CHAR && eAnchorId != RndStdIds::FLY_AT_CHAR)
1082 bool bDefault =
false;
1101 SvxBorderLine aBorderLine;
1107 case SID_ATTR_BORDER:
1111 std::unique_ptr<SvxBoxItem> aNewBox(pBoxItem->Clone());
1112 const SvxBorderLine* pBorderLine;
1114 pBorderLine = aBoxItem->GetTop();
1115 if (pBorderLine !=
nullptr)
1117 pBorderLine = aBoxItem->GetBottom();
1118 if (pBorderLine !=
nullptr)
1120 pBorderLine = aBoxItem->GetLeft();
1121 if (pBorderLine !=
nullptr)
1123 pBorderLine = aBoxItem->GetRight();
1124 if (pBorderLine !=
nullptr)
1127 if(aBorderLine.GetOutWidth() == 0)
1129 aBorderLine.SetBorderLineStyle(
1130 SvxBorderLineStyle::SOLID);
1135#if HAVE_FEATURE_SCRIPTING
1143 aBoxItem = std::move(aNewBox);
1145 if( aBoxItem->GetTop() !=
nullptr )
1146 aBoxItem->SetLine(&aBorderLine, SvxBoxItemLine::TOP);
1147 if( aBoxItem->GetBottom() !=
nullptr )
1148 aBoxItem->SetLine(&aBorderLine, SvxBoxItemLine::BOTTOM);
1149 if( aBoxItem->GetLeft() !=
nullptr )
1150 aBoxItem->SetLine(&aBorderLine, SvxBoxItemLine::LEFT);
1151 if( aBoxItem->GetRight() !=
nullptr )
1152 aBoxItem->SetLine(&aBorderLine, SvxBoxItemLine::RIGHT);
1157 case SID_FRAME_LINESTYLE:
1161 if ( pLineItem->GetLine() )
1163 aBorderLine = *(pLineItem->GetLine());
1165 if (!aBoxItem->GetTop() && !aBoxItem->GetBottom() &&
1166 !aBoxItem->GetLeft() && !aBoxItem->GetRight())
1168 aBoxItem->SetLine(&aBorderLine, SvxBoxItemLine::TOP);
1169 aBoxItem->SetLine(&aBorderLine, SvxBoxItemLine::BOTTOM);
1170 aBoxItem->SetLine(&aBorderLine, SvxBoxItemLine::LEFT);
1171 aBoxItem->SetLine(&aBorderLine, SvxBoxItemLine::RIGHT);
1175 if( aBoxItem->GetTop() )
1177 aBorderLine.SetColor( aBoxItem->GetTop()->GetColor() );
1178 aBoxItem->SetLine(&aBorderLine, SvxBoxItemLine::TOP);
1180 if( aBoxItem->GetBottom() )
1182 aBorderLine.SetColor( aBoxItem->GetBottom()->GetColor());
1183 aBoxItem->SetLine(&aBorderLine, SvxBoxItemLine::BOTTOM);
1185 if( aBoxItem->GetLeft() )
1187 aBorderLine.SetColor( aBoxItem->GetLeft()->GetColor());
1188 aBoxItem->SetLine(&aBorderLine, SvxBoxItemLine::LEFT);
1190 if( aBoxItem->GetRight() )
1192 aBorderLine.SetColor(aBoxItem->GetRight()->GetColor());
1193 aBoxItem->SetLine(&aBorderLine, SvxBoxItemLine::RIGHT);
1199 aBoxItem->SetLine(
nullptr, SvxBoxItemLine::TOP);
1200 aBoxItem->SetLine(
nullptr, SvxBoxItemLine::BOTTOM);
1201 aBoxItem->SetLine(
nullptr, SvxBoxItemLine::LEFT);
1202 aBoxItem->SetLine(
nullptr, SvxBoxItemLine::RIGHT);
1208 case SID_FRAME_LINECOLOR:
1212 const Color& rNewColor = pColorItem->GetValue();
1214 if (!aBoxItem->GetTop() && !aBoxItem->GetBottom() &&
1215 !aBoxItem->GetLeft() && !aBoxItem->GetRight())
1217 aBorderLine.SetColor( rNewColor );
1218 aBorderLine.SetBorderLineStyle(SvxBorderLineStyle::SOLID);
1221 aBoxItem->SetLine(&aBorderLine, SvxBoxItemLine::TOP);
1222 aBoxItem->SetLine(&aBorderLine, SvxBoxItemLine::BOTTOM);
1223 aBoxItem->SetLine(&aBorderLine, SvxBoxItemLine::LEFT);
1224 aBoxItem->SetLine(&aBorderLine, SvxBoxItemLine::RIGHT);
1228 if (aBoxItem->GetTop())
1229 aBoxItem->GetTop()->SetColor(rNewColor);
1230 if (aBoxItem->GetBottom())
1231 aBoxItem->GetBottom()->SetColor(rNewColor);
1232 if (aBoxItem->GetLeft())
1233 aBoxItem->GetLeft()->SetColor(rNewColor);
1234 if (aBoxItem->GetRight())
1235 aBoxItem->GetRight()->SetColor(rNewColor);
1242 if (bDefault && (aBoxItem->GetTop() || aBoxItem->GetBottom() ||
1243 aBoxItem->GetLeft() || aBoxItem->GetRight()))
1247 aFrameSet.
Put( std::move(aBoxItem) );
1261 if(pBorderLine->GetWidth() > rBorderLine.GetWidth())
1262 rBorderLine.SetWidth(pBorderLine->GetWidth());
1264 rBorderLine.SetBorderLineStyle(pBorderLine->GetBorderLineStyle());
1265 rBorderLine.SetColor(pBorderLine->GetColor());
1289 const SvxBorderLine* pLine = aFrameSet.
Get(
RES_BOX).GetTop();
1303 else if (
GetShell().CursorInsideInputField() )
1355 case SID_ATTR_FILL_STYLE:
1356 case SID_ATTR_FILL_COLOR:
1357 case SID_ATTR_FILL_GRADIENT:
1358 case SID_ATTR_FILL_HATCH:
1359 case SID_ATTR_FILL_BITMAP:
1360 case SID_ATTR_FILL_TRANSPARENCE:
1361 case SID_ATTR_FILL_FLOATTRANSPARENCE:
1363 pDis->
Execute(SID_ATTRIBUTES_AREA);
1374 case SID_ATTRIBUTES_AREA:
1394 pDlg->StartExecuteAsync([pDlg,
this](sal_Int32 nResult){
1400 static sal_uInt16 aInval[] =
1402 SID_ATTR_FILL_STYLE,
1403 SID_ATTR_FILL_COLOR,
1404 SID_ATTR_FILL_TRANSPARENCE,
1405 SID_ATTR_FILL_FLOATTRANSPARENCE,
1412 rBnd.
Update(SID_ATTR_FILL_STYLE);
1413 rBnd.
Update(SID_ATTR_FILL_COLOR);
1414 rBnd.
Update(SID_ATTR_FILL_TRANSPARENCE);
1415 rBnd.
Update(SID_ATTR_FILL_FLOATTRANSPARENCE);
1417 pDlg->disposeOnce();
1435 case SID_ATTRIBUTES_AREA:
@ MATH_BASELINE_ALIGNMENT
PropertiesInfo aProperties
const OUString & GetValue() const
virtual const SwDrawModel * GetDrawModel() const =0
Draw Model and id accessors.
virtual bool get(DocumentSettingId id) const =0
Return the specified document setting.
void setX(tools::Long nX)
void setY(tools::Long nY)
size_t GetMarkedObjectCount() const
const SfxItemPool & GetItemPool() const
const SfxItemSet & GetDefaultAttr() const
void SetDefaultAttr(const SfxItemSet &rAttr, bool bReplaceAll)
SdrModel & GetModel() const
void Update(sal_uInt16 nId)
void Invalidate(sal_uInt16 nId)
const SfxPoolItem * Execute(sal_uInt16 nSlot, SfxCallMode nCall=SfxCallMode::SLOT, const SfxPoolItem **pArgs=nullptr, sal_uInt16 nModi=0, const SfxPoolItem **pInternalArgs=nullptr)
const SfxPoolItem * ExecuteList(sal_uInt16 nSlot, SfxCallMode nCall, std::initializer_list< SfxPoolItem const * > args, std::initializer_list< SfxPoolItem const * > internalargs=std::initializer_list< SfxPoolItem const * >())
const T * GetItemIfSet(TypedWhichId< T > nWhich, bool bSrchInParent=true) const
const SfxItemSet * GetParent() const
bool HasItem(sal_uInt16 nWhich, const SfxPoolItem **ppItem=nullptr) const
SfxItemState GetItemState(sal_uInt16 nWhich, bool bSrchInParent=true, const SfxPoolItem **ppItem=nullptr) const
const SfxPoolItem * Put(const SfxPoolItem &rItem, sal_uInt16 nWhich)
const SfxPoolItem & Get(sal_uInt16 nWhich, bool bSrchInParent=true) const
void DisableItem(sal_uInt16 nWhich)
const Point & GetValue() const
sal_uInt16 GetSlot() const
const SfxItemSet * GetArgs() const
void SetReturnValue(const SfxPoolItem &)
void Done(bool bRemove=false)
SfxItemPool & GetPool() const
void SetContextName(const OUString &rsContextName)
static void HandleOpenXmlFilterSettings(SfxRequest &)
SfxViewFrame * GetFrame() const
void SetName(const OUString &rName)
SfxBindings & GetBindings()
SfxDispatcher * GetDispatcher()
SfxViewFrame & GetViewFrame() const
constexpr tools::Long getHeight() const
constexpr tools::Long getWidth() const
void setWidth(tools::Long nWidth)
void setHeight(tools::Long nHeight)
static sal_uInt16 IsMath(const SvGlobalName &rName)
virtual VclPtr< AbstractSvxAreaTabDialog > CreateSvxAreaTabDialog(weld::Window *pParent, const SfxItemSet *pAttr, SdrModel *pModel, bool bShadow, bool bSlideBackground)=0
virtual VclPtr< AbstractSvxObjectTitleDescDialog > CreateSvxObjectTitleDescDialog(weld::Window *pParent, const OUString &rTitle, const OUString &rDescription, bool isDecorative)=0
virtual VclPtr< AbstractSvxObjectNameDialog > CreateSvxObjectNameDialog(weld::Window *pParent, const OUString &rName)=0
static SvxAbstractDialogFactory * Create()
static const sal_Int16 Hairline
virtual SvxBoxItem * Clone(SfxItemPool *pPool=nullptr) const override
sal_uInt16 GetSmallestDistance() const
SvxLinkInsertMode GetInsertMode() const
const OUString & GetName() const
const OUString & GetURL() const
void SetName(const OUString &rName)
void SetInsertMode(SvxLinkInsertMode eNew)
void SetURL(const OUString &rURL)
const OUString & GetTargetFrame() const
void SetTargetFrame(const OUString &rTarget)
void SetHeight(tools::Long n)
void SetWidth(tools::Long n)
virtual VclPtr< SfxAbstractTabDialog > CreateFrameTabDialog(const OUString &rDialogType, SfxViewFrame &rFrame, weld::Window *pParent, const SfxItemSet &rCoreSet, bool bNewFrame=true, const OUString &sDefPage={})=0
static SwAbstractDialogFactory * Create()
void GotoFlyAnchor()
jump from the frame to the anchor
SwDoc * GetDoc()
returns Doc. But be careful!
IDocumentSettingAccess const & getIDocumentSettingAccess() const
IDocumentDrawModelAccess const & getIDocumentDrawModelAccess() const
void PutAreaListItems(SfxItemSet &rSet) const
Put needed items for XPropertyList entries from the DrawModel.
bool GetCurAttr(SfxItemSet &, const bool bMergeIndentValuesOfNumRule=false) const
void StartAllAction()
For all views of this document.
const SwFlyFrameFormat * FindFlyByName(const OUString &rName) const
void SetChainMode(bool bOn)
SwApplyTemplate * GetApplyTemplate() const
SwFlyFrame * GetSelectedFlyFrame() const
void Unchain(SwFrameFormat &rFormat)
bool SetFlyFrameAttr(SfxItemSet &rSet)
FrameTypeFlags GetFrameType(const Point *pPt, bool bStopAtFly) const
For return values see above FrameType.
void SetObjDescription(const OUString &rDescription)
FlyProtectFlags IsSelObjProtected(FlyProtectFlags eType) const
Which Protection is set at selected object?
OUString GetFlyName() const
OUString GetObjTitle() const
void SetObjTitle(const OUString &rTitle)
void SetFlyName(const OUString &rName)
Set name at selected FlyFrame.
bool IsFrameSelected() const
void SetObjDecorative(bool isDecorative)
OUString GetObjDescription() const
css::uno::Reference< css::embed::XEmbeddedObject > GetOleRef() const
get reference to OLE object (if there is one) for selected FlyFrame
const SwFrameFormat * GetFlyNum(size_t nIdx, FlyCntType eType, bool bIgnoreTextBoxes=false) const
SwFrameFormat * GetSelectedFrameFormat() const
If frame then frame style, else 0.
void SelectionToTop(bool bTop=true)
Move selection upwards or downwards (Z-Order).
void SelectionToBottom(bool bBottom=true)
size_t GetFlyCount(FlyCntType eType, bool bIgnoreTextBoxes=false) const
Iterate over flys - for Basic-collections.
SwChainRet Chain(SwFrameFormat &rSource, const Point &rPt)
const SwRect & GetAnyCurRect(CurRectType eType, const Point *pPt=nullptr, const css::uno::Reference< css::embed::XEmbeddedObject > &=css::uno::Reference< css::embed::XEmbeddedObject >()) const
bool GetFlyFrameAttr(SfxItemSet &rSet) const
bool IsObjDecorative() const
const SwFrameFormat * IsFlyInFly()
Is selected frame within another frame?
const SwFrameFormat * GetFlyFrameFormat() const
Get FlyFrameFormat; for UI macro linkage at Flys.
void SetVertOrientation(sal_Int16 eOrient)
void SetAbsPos(const Point &rLPoint)
const SwFormatFrameSize & GetFrameSize() const
void SetSize(const Size &rLSize)
void SetRotation(Degree10 nOld, Degree10 nNew, const Size &rUnrotatedSize)
RndStdIds GetAnchor() const
void SetAttrSet(const SfxItemSet &rSet)
const Size & GetSize() const
const SwFormatHoriOrient & GetHoriOrient() const
const SfxItemSet & GetAttrSet() const
void SetHorzOrientation(sal_Int16 eOrient)
general base class for all free-flowing frames
virtual const SwFlyFrameFormat * GetFormat() const override
void GetState(SfxItemSet &)
void GetDrawAttrStateTextFrame(SfxItemSet &rSet)
void ExecDrawAttrArgsTextFrame(SfxRequest const &rReq)
virtual ~SwFrameShell() override
void GetLineStyleState(SfxItemSet &rSet)
void StateInsert(SfxItemSet &rSet)
void ExecFrameStyle(SfxRequest const &rReq)
void ExecField(const SfxRequest &rReq)
void ExecDrawDlgTextFrame(SfxRequest const &rReq)
void Execute(SfxRequest &)
void DisableStateTextFrame(SfxItemSet &rSet)
void ExecMove(SfxRequest &rReq)
SwFrameShell(SwView &rView)
Of course Writer needs its own rectangles.
void Height(tools::Long nNew)
void Width(tools::Long nNew)
const Size & GetUnrotatedSize() const
Degree10 GetValue() const
static void ClearSelection(const SwWrtShell &rSh, const SwFrameShell *pCreator=nullptr)
static void CreateSelection(SwWrtShell &rSh, const SwFrameShell *pCreator=nullptr)
void SetKeepRatio(bool b)
const SwViewOption * GetViewOptions() const
SdrView * GetDrawViewWithValidMarkList()
const SfxItemPool & GetAttrPool() const
SwWrtShell & GetWrtShell() const
void ExecNumberingOutline(SfxItemPool &)
SwDocShell * GetDocShell()
void UpdateWordCount(SfxShell *, sal_uInt16)
void ExecFormatFootnote()
Used by the UI to modify the document model.
void InsertPostIt(SwFieldMgr &rFieldMgr, const SfxRequest &rReq)
Inserts a new annotation/comment at the current cursor position / selection.
void AutoUpdateFrame(SwFrameFormat *pFormat, const SfxItemSet &rStyleSet)
SelectionType GetSelectionType() const
const SwView & GetView() const
static const OUString & GetContextName(const Context eContext)
#define FN_SET_FRM_ALT_NAME
#define FN_SET_FRM_POSITION
#define FN_FRAME_MIRROR_ON_EVEN_PAGES
#define FN_FRAME_ALIGN_VERT_CHAR_TOP
#define FN_FORMAT_FRAME_DLG
#define FN_FRAME_ALIGN_VERT_BOTTOM
#define FN_GET_PRINT_AREA
#define FN_PARAM_CHAIN_PREVIOUS
#define FN_FORMAT_FOOTNOTE_DLG
#define FN_FRAME_ALIGN_VERT_ROW_TOP
#define FN_FRAME_ALIGN_VERT_CHAR_CENTER
#define FN_FRAME_ALIGN_VERT_ROW_BOTTOM
#define FN_TITLE_DESCRIPTION_SHAPE
#define FN_FORMAT_GRAFIC_DLG
#define FN_KEEP_ASPECT_RATIO
#define FN_FRAME_ALIGN_HORZ_LEFT
#define FN_MATH_BASELINE_ALIGNMENT
#define FN_FRAME_ALIGN_HORZ_CENTER
#define FN_NUMBERING_OUTLINE_DLG
#define FN_FRAME_ALIGN_VERT_CENTER
#define FN_WORDCOUNT_DIALOG
#define FN_FRAME_TO_ANCHOR
#define FN_FRAME_ALIGN_HORZ_RIGHT
#define FN_FRAME_ALIGN_VERT_ROW_CENTER
#define FN_PARAM_CHAIN_NEXT
#define FN_FRAME_ALIGN_VERT_TOP
#define FN_UNO_DESCRIPTION
#define FN_FRAME_ALIGN_VERT_CHAR_BOTTOM
weld::Window * GetFrameWeld(const SfxFrame *pFrame)
@ Page
Rect of current page.
@ FlyEmbedded
Rect of current FlyFrame.
@ PagePrt
Rect of current PrtArea of page.
FrameTypeFlags
values can be combined via logical or
FlyProtectFlags
values can be combined via logical or
@ Parent
Check only parents.
@ Fixed
Frame cannot be moved in Var-direction.
@ Variable
Frame is variable in Var-direction.
static void lcl_FrameGetMaxLineWidth(const SvxBorderLine *pBorderLine, SvxBorderLine &rBorderLine)
static const SwFrameFormat * lcl_GetFrameFormatByName(SwWrtShell const &rSh, std::u16string_view rName)
constexpr sal_uInt16 RES_FRMATR_BEGIN(RES_PARATR_LIST_END)
constexpr TypedWhichId< SwFormatURL > RES_URL(117)
constexpr TypedWhichId< SwFormatFrameSize > RES_FRM_SIZE(89)
constexpr TypedWhichId< SwFormatCol > RES_COL(115)
constexpr TypedWhichId< SwFormatHoriOrient > RES_HORI_ORIENT(109)
constexpr TypedWhichId< SwFormatVertOrient > RES_VERT_ORIENT(108)
constexpr sal_uInt16 RES_FRMATR_END(141)
constexpr TypedWhichId< SvxOpaqueItem > RES_OPAQUE(105)
constexpr TypedWhichId< SvxProtectItem > RES_PROTECT(106)
constexpr TypedWhichId< SwFormatAnchor > RES_ANCHOR(110)
constexpr TypedWhichId< SvxBoxItem > RES_BOX(112)
constexpr TypedWhichId< SwRotationGrf > RES_GRFATR_ROTATION(143)
constexpr TypedWhichId< SwFormatSurround > RES_SURROUND(107)
constexpr TypedWhichId< SvxLRSpaceItem > RES_LR_SPACE(97)
constexpr TypedWhichId< SvxULSpaceItem > RES_UL_SPACE(98)
constexpr TypedWhichId< SvxPrintItem > RES_PRINT(104)
const SfxPoolItem * GetDfltAttr(sal_uInt16 nWhich)
Get the default attribute from corresponding default attribute table.
#define SAL_WARN_IF(condition, area, stream)
Sequence< beans::PropertyValue > GetCommandProperties(const OUString &rsCommandName, const OUString &rsModuleName)
OUString GetModuleIdentifier(const Reference< frame::XFrame > &rxFrame)
OUString GetLabelForCommand(const css::uno::Sequence< css::beans::PropertyValue > &rProperties)
#define SFX_OBJECTBAR_OBJECT
#define SFX_IMPL_INTERFACE(Class, SuperClass)
OUString SwResId(TranslateId aId)
constexpr SwTwips MIN_BORDER_DIST
sal_uInt16 GetHtmlMode(const SwDocShell *pShell)
constexpr sal_uInt16 XATTR_FILL_FIRST(XATTRSET_LINE+1)
constexpr sal_uInt16 XATTR_FILL_LAST(XATTR_FILLUSESLIDEBACKGROUND)