20#include <config_features.h>
45#include <com/sun/star/embed/Aspects.hpp>
46#include <com/sun/star/embed/XEmbeddedObject.hpp>
47#include <osl/diagnose.h>
76#define ShellClass_SwTextShell
91#include <com/sun/star/ui/dialogs/DialogClosedEvent.hpp>
92#include <com/sun/star/ui/dialogs/ExecutableDialogResults.hpp>
104 sal_Int16 nDialogRet = pEvent->DialogResult;
105 if( nDialogRet == ui::dialogs::ExecutableDialogResults::CANCEL )
112 OSL_ENSURE( nDialogRet == ui::dialogs::ExecutableDialogResults::OK,
113 "dialog execution failed" );
138 "wrong shell on dispatcher" );
142 const sal_uInt16 nSlot = rReq.
GetSlot();
153 case FN_INSERT_SOFT_HYPHEN:
159 case FN_INSERT_HARDHYPHEN:
160 case FN_INSERT_HARD_SPACE:
168 ACFlags::CapitalStartSentence | ACFlags::CapitalStartWord |
169 ACFlags::AddNonBrkSpace | ACFlags::ChgOrdinalNumber | ACFlags::TransliterateRTL |
170 ACFlags::ChgToEnEmDash | ACFlags::SetINetAttr | ACFlags::Autocorrect |
171 ACFlags::SetDOIAttr ) )
177 rSh.
Insert( OUString( cIns ) );
182 case FN_INSERT_NNBSP:
183 case SID_INSERT_RLM :
184 case SID_INSERT_LRM :
186 case SID_INSERT_ZWSP:
191 case SID_INSERT_RLM : cIns =
CHAR_RLM ;
break;
192 case SID_INSERT_LRM : cIns =
CHAR_LRM ;
break;
193 case SID_INSERT_ZWSP : cIns =
CHAR_ZWSP ;
break;
194 case SID_INSERT_WJ: cIns =
CHAR_WJ;
break;
195 case FN_INSERT_NNBSP: cIns =
CHAR_NNBSP;
break;
197 rSh.
Insert( OUString( cIns ) );
201 case FN_INSERT_BREAK:
267 pDlg->StartExecuteAsync(aContext);
277 case SID_HYPERLINK_SETLINK:
283#if HAVE_FEATURE_AVMEDIA
284 case SID_INSERT_AVMEDIA:
289 case SID_INSERT_OBJECT:
305 case SID_INSERT_FLOATINGFRAME:
319 embed::Aspects::MSOLE_CONTENT );
321 uno::Reference < beans::XPropertySet > xSet( xObj->getComponent(), uno::UNO_QUERY );
327 if( pScrollingItem && pScrollingItem->GetValue() <=
int(ScrollingMode::Auto) )
328 eScroll =
static_cast<ScrollingMode>(pScrollingItem->GetValue());
332 aMargin = pMarginItem->GetSize();
334 xSet->setPropertyValue(
"FrameURL",
uno::Any( pURLItem->GetValue() ) );
338 if ( eScroll == ScrollingMode::Auto )
339 xSet->setPropertyValue(
"FrameIsAutoScroll",
342 xSet->setPropertyValue(
"FrameIsScrollingMode",
343 uno::Any( eScroll == ScrollingMode::Yes ) );
346 xSet->setPropertyValue(
"FrameIsBorder",
347 uno::Any( pBorderItem->GetValue() ) );
351 xSet->setPropertyValue(
"FrameMarginWidth",
354 xSet->setPropertyValue(
"FrameMarginHeight",
358 catch (
const uno::Exception&)
372 case SID_INSERT_DIAGRAM:
383 uno::Reference< chart2::data::XDataProvider > xDataProvider;
384 bool bFillWithData =
true;
385 OUString aRangeString;
386 if (!
GetShell().IsTableComplexForChart())
389 aRangeString = pTableFormat->
GetName() +
"."
393 xDataProvider.set(
GetView().GetDocShell()->getIDocumentChartDataProviderAccess().GetChartDataProvider() );
396 bFillWithData =
false;
402 if(pItem && xObj.
is())
410 aSz.Width = aSize.
Width();
411 aSz.Height = aSize.
Height();
436 sal_uInt16 nCols = 1;
442 (pColsItem = pArgs->
GetItemIfSet(SID_ATTR_COLUMNS,
false)))
445 bModifier1 |=
KEY_MOD1 == pModifierItem->GetValue();
455 aStartPos.
AdjustX(-constTwips_4cm);
456 aStartPos.
AdjustY(-constTwips_2cm);
457 Size aSize(2 * constTwips_4cm, 2 * constTwips_2cm);
480 bool bSingleCol =
false;
496 RndStdIds eAnchor = RndStdIds::FLY_AT_PARA;
497 if(pArgs->
GetItemState(nSlot,
false, &pItem) == SfxItemState::SET)
499 if(pArgs->
GetItemState(FN_PARAM_1,
false, &pItem) == SfxItemState::SET)
501 if(pArgs->
GetItemState(FN_PARAM_2,
false, &pItem) == SfxItemState::SET)
505 const sal_uInt16 nCols = pColsItem->GetValue();
506 if( !bSingleCol && 1 < nCols )
509 aFormatCol.
Init( nCols , (rReq.
IsAPI() ? 0
534 if(pDlg->Execute() ==
RET_OK && pDlg->GetOutputItemSet())
542 const SfxItemSet* pOutSet = pDlg->GetOutputItemSet();
551 uno::Reference< frame::XDispatchRecorder > xRecorder =
553 if ( xRecorder.is() )
556 sal_uInt16 nAnchor =
static_cast<sal_uInt16
>(aMgr.
GetAnchor());
582 pColDlg->StartExecuteAsync([=](sal_Int32 ){
583 pColDlg->disposeOnce();
589 OSL_ENSURE(
false,
"wrong dispatcher");
617 case SID_INSERT_AVMEDIA:
619 ||
GetShell().CursorInsideInputField()
620 || SfxObjectCreateMode::EMBEDDED == eCreateMode
627 case SID_INSERT_DIAGRAM:
629 ||
GetShell().CursorInsideInputField()
630 || eCreateMode == SfxObjectCreateMode::EMBEDDED
639 || eCreateMode == SfxObjectCreateMode::EMBEDDED
647 case SID_INSERT_FLOATINGFRAME:
648 case SID_INSERT_OBJECT:
650 if( eCreateMode == SfxObjectCreateMode::EMBEDDED || bCursorInHidden )
654 else if(
GetShell().IsSelFrameMode()
655 ||
GetShell().CursorInsideInputField() )
659 else if(SID_INSERT_FLOATINGFRAME == nWhich && bHtmlModeOn)
673 ||
GetShell().CursorInsideInputField()
679 case SID_HYPERLINK_GETLINK:
687 aHLinkItem.
SetURL(pINetFormat->GetValue());
689 aHLinkItem.
SetIntName(pINetFormat->GetName());
690 const SvxMacro *pMacro = pINetFormat->GetMacro( SvMacroItemId::OnMouseOver );
692 aHLinkItem.
SetMacro(HyperDialogEvent::MouseOverObject, *pMacro);
694 pMacro = pINetFormat->GetMacro( SvMacroItemId::OnClick );
696 aHLinkItem.
SetMacro(HyperDialogEvent::MouseClickObject, *pMacro);
698 pMacro = pINetFormat->GetMacro( SvMacroItemId::OnMouseOut );
700 aHLinkItem.
SetMacro(HyperDialogEvent::MouseOutObject, *pMacro);
720 sReturn = sReturn.copy(0, std::min<sal_Int32>(255, sReturn.getLength()));
727 HyperDialogEvent::MouseClickObject | HyperDialogEvent::MouseOutObject );
749 bool bDisable =
true;
756 if( pCurrSection && ( !rSh.
HasSelection() || 0 != nFullSectCnt ))
760 ( !pCurrSection || ( 1 != nFullSectCnt &&
812 OSL_ENSURE(
false,
"wrong dispatcher");
825 case SID_TRANSLITERATE_SENTENCE_CASE:
826 nMode = TransliterationFlags::SENTENCE_CASE;
828 case SID_TRANSLITERATE_TITLE_CASE:
829 nMode = TransliterationFlags::TITLE_CASE;
831 case SID_TRANSLITERATE_TOGGLE_CASE:
832 nMode = TransliterationFlags::TOGGLE_CASE;
834 case SID_TRANSLITERATE_UPPER:
835 nMode = TransliterationFlags::LOWERCASE_UPPERCASE;
837 case SID_TRANSLITERATE_LOWER:
838 nMode = TransliterationFlags::UPPERCASE_LOWERCASE;
841 case SID_TRANSLITERATE_HALFWIDTH:
842 nMode = TransliterationFlags::FULLWIDTH_HALFWIDTH;
844 case SID_TRANSLITERATE_FULLWIDTH:
845 nMode = TransliterationFlags::HALFWIDTH_FULLWIDTH;
848 case SID_TRANSLITERATE_HIRAGANA:
849 nMode = TransliterationFlags::KATAKANA_HIRAGANA;
851 case SID_TRANSLITERATE_KATAKANA:
852 nMode = TransliterationFlags::HIRAGANA_KATAKANA;
856 OSL_ENSURE(
false,
"wrong dispatcher");
859 if( nMode != TransliterationFlags::NONE )
865 if( rReq.
GetSlot() == SID_TRANSLITERATE_ROTATE_CASE )
885 SID_ATTR_BORDER_INNER, SID_ATTR_BORDER_INNER,
886 SID_ATTR_PAGE_SIZE, SID_ATTR_PAGE_SIZE,
887 SID_COLOR_TABLE, SID_PATTERN_LIST,
888 SID_HTML_MODE, SID_HTML_MODE,
899 aSet.
Put(aFrameSize);
926 OUString aChars, aFontName;
942 std::shared_ptr<SvxFontItem> aFont(std::make_shared<SvxFontItem>(
RES_CHRATR_FONT));
945 aSetItem.GetItemSet().Put( aSet,
false );
957 aFont.reset(aSet.Get(nFontWhich).Clone());
960 if (aFontName.isEmpty())
961 aFontName = aFont->GetFamilyName();
965 if( aChars.isEmpty() )
973 if( aFontName.isEmpty() && !sSymbolFont.isEmpty() )
985 if( aChars.isEmpty() )
1002 aSetItem.GetItemSet().Put( aSet,
false );
1014 aFont.reset(aSet.Get( nFontWhich ).Clone());
1024 std::unique_ptr<SvxFontItem> aNewFontItem(aFont->Clone());
1027 aNewFontItem->SetPitch( aNewFont.
GetPitch());
1028 aNewFontItem->SetCharSet( aNewFont.
GetCharSet() );
1035 if( SvtScriptType::LATIN & nScript )
1039 aSet.Put( *aNewFontItem );
1041 if( SvtScriptType::ASIAN & nScript )
1045 aSet.Put( *aNewFontItem );
1047 if( SvtScriptType::COMPLEX & nScript )
1051 aSet.Put( *aNewFontItem );
1079 if ( !aChars.isEmpty() )
sal_uInt16 GetValue() const
const OUString & GetValue() const
virtual const SwDrawModel * GetDrawModel() const =0
Draw Model and id accessors.
tools::Long AdjustY(tools::Long nVertMove)
tools::Long AdjustX(tools::Long nHorzMove)
TransliterationFlags getNextMode()
const css::uno::Reference< css::frame::XDispatchRecorder > & GetRecorder() const
const css::uno::Reference< css::frame::XFrame > & GetFrameInterface() const
const SvGlobalName & GetValue() const
void RegisterPopupMenu(const OUString &)
void RegisterChildWindow(sal_uInt16, bool bContext=false)
void RegisterObjectBar(sal_uInt16, SfxVisibilityFlags nFlags, ToolbarId eId)
void SetParent(const SfxItemSet *pNew)
const T * GetItemIfSet(TypedWhichId< T > nWhich, bool bSrchInParent=true) const
const SfxItemSet * GetParent() 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)
SfxObjectCreateMode GetCreateMode() const
const Point & GetValue() const
virtual SfxPoolItem * Clone(SfxItemPool *pPool=nullptr) const=0
sal_uInt16 GetSlot() const
const SfxItemSet * GetArgs() const
const T * GetArg(sal_uInt16 nSlotId) const
void AppendItem(const SfxPoolItem &)
void SetReturnValue(const SfxPoolItem &)
sal_uInt16 GetModifier() const
void Done(bool bRemove=false)
SfxItemPool & GetPool() const
void SetContextName(const OUString &rsContextName)
static SfxInterface * GetStaticInterface()
void SetName(const OUString &rName)
SfxBindings & GetBindings()
SfxFrame & GetFrame() const
SfxViewFrame & GetViewFrame() const
constexpr tools::Long Height() const
void setWidth(tools::Long nWidth)
constexpr tools::Long Width() const
css::uno::Sequence< sal_Int8 > GetByteSequence() const
virtual VclPtr< SfxAbstractDialog > CreateCharMapDialog(weld::Window *pParent, const SfxItemSet &rAttr, const css::uno::Reference< css::frame::XFrame > &rFrame)=0
static SvxAbstractDialogFactory * Create()
bool IsAutoFormatByInput() const
SvxAutoCorrect * GetAutoCorrect()
static SvxAutoCorrCfg & Get()
bool IsAutoCorrFlag(ACFlags nFlag) const
void SetMinDist(bool bNew)
void SetDefDist(sal_uInt16 nNew)
sal_Int16 GetDistance(SvxBoxItemLine nLine, bool bAllowNegative=false) const
void SetMacroEvents(const HyperDialogEvent nEvents)
SvxLinkInsertMode GetInsertMode() const
void SetIntName(const OUString &rIntName)
void SetName(const OUString &rName)
void SetInsertMode(SvxLinkInsertMode eNew)
void SetURL(const OUString &rURL)
void SetMacro(HyperDialogEvent nEvent, const SvxMacro &rMacro)
void SetTargetFrame(const OUString &rTarget)
const SfxPoolItem * GetItemOfScript(SvtScriptType nScript) const
const Size & GetSize() const
virtual VclPtr< VclAbstractDialog > CreateSwContentControlDlg(weld::Window *pParent, SwWrtShell &rSh)=0
virtual VclPtr< VclAbstractDialog > CreateSwColumnDialog(weld::Window *pParent, SwWrtShell &rSh)=0
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 InsertTable(SfxRequest &_rRequest)
SwWrtShell * GetShellPtr()
SvtScriptType GetAllScriptsOfText(const OUString &rText) const
OUString GetBoxNms() const
bool IsInHiddenRange(const bool bSelect)
If the current cursor position is inside a hidden range true is returned.
OUString GetSelText() const
get selected text of a node at current cursor
bool ExtendSelection(bool bEnd=true, sal_Int32 nCount=1)
extend current SSelection by n characters
bool CursorInsideInputField() const
SwPaM * CreateCursor()
delete the current cursor and make the following into the current
void EndAction(const bool bIdleEnd=false)
SwTextContentControl * CursorInsideContentControl() const
void DestroyCursor()
transform TableCursor to normal cursor, nullify Tablemode
bool IsCursorPtAtEnd() 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.
SwUndoId StartUndo(SwUndoId eUndoId=SwUndoId::EMPTY, const SwRewriter *pRewriter=nullptr)
Undo: set up Undo parenthesis, return nUndoId of this parenthesis.
void SetAttrSet(const SfxItemSet &, SetAttrMode nFlags=SetAttrMode::DEFAULT, SwPaM *pCursor=nullptr, const bool bParagraphSetting=false)
SwFrameFormat * GetTableFormat()
svt::EmbeddedObjectRef & GetOLEObject() const
Get OLE object at pointer.
sal_uInt16 GetFullSelectedSectionCount() const
Search inside the cursor selection for full selected sections.
const SwSection * GetCurrSection() const
SvtScriptType GetScriptType() const
returns the script type of the selection
void Undo(sal_uInt16 const nCount=1, sal_uInt16 nOffset=0)
bool IsInsRegionAvailable() const
SwUndoId EndUndo(SwUndoId eUndoId=SwUndoId::EMPTY, const SwRewriter *pRewriter=nullptr)
Closes parenthesis of nUndoId, not used by UI.
void TransliterateText(TransliterationFlags nType)
Change text to Upper/Lower/Hiragana/Katakana/...
Window class for the Writer edit area, this is the one handling mouse and keyboard events and doing t...
const SwPageDesc * GetSelectedPageDescs() const
if inside all selection only one PageDesc,
bool IsFrameSelected() const
Point GetObjAbsPos() const
bool DeleteRow(bool bCompleteTable=false)
const SwRect & GetAnyCurRect(CurRectType eType, const Point *pPt=nullptr, const css::uno::Reference< css::embed::XEmbeddedObject > &=css::uno::Reference< css::embed::XEmbeddedObject >()) const
size_t IsObjSelected() const
const SwFrameFormat * GetFlyFrameFormat() const
Get FlyFrameFormat; for UI macro linkage at Flys.
RndStdIds GetAnchor() const
void SetCol(const SwFormatCol &rCol)
void SetAttrSet(const SfxItemSet &rSet)
const Size & GetSize() const
const SfxItemSet & GetAttrSet() const
Of course Writer needs its own rectangles.
void Height(tools::Long nNew)
void Width(tools::Long nNew)
void AddRule(SwUndoArg eWhat, const OUString &rWith)
css::uno::Reference< css::frame::XModel > InsertChart(css::uno::Reference< css::chart2::data::XDataProvider > const &rxDataProvider, bool bFillWithData, const OUString &rCellRange, SwFlyFrameFormat **ppFlyFrameFormat=nullptr)
void InsertSymbol(SfxRequest &)
void InsertHyperlink(const SvxHyperlinkItem &rHlnkItem)
virtual ~SwTextShell() override
void ExecTransliteration(SfxRequest const &)
RotateTransliteration m_aRotateCase
void StateInsert(SfxItemSet &)
bool InsertMediaDlg(SfxRequest const &)
void ExecInsert(SfxRequest &)
SfxItemSet CreateInsertFrameItemSet(SwFlyFrameAttrMgr &rMgr)
Create item set for the insert frame dialog.
void ExecDelete(SfxRequest &)
static void InitInterface_Impl()
SfxInterface initializer.
SwTextShell(SwView &rView)
void ExecRotateTransliteration(SfxRequest const &)
const OUString & GetSymbolFont() const
void UnlockPaint(bool bVirDev=false)
IDocumentUndoRedo const & GetIDocumentUndoRedo() const
Provides access to the document undo/redo interface.
void LockPaint(LockPaintReason eReason)
const SfxItemPool & GetAttrPool() const
void AutoCaption(const sal_uInt16 nType, const SvGlobalName *pOleId=nullptr)
SwDocShell * GetDocShell()
void InsFrameMode(sal_uInt16 nCols)
Used by the UI to modify the document model.
bool IsSelFrameMode() const
void InsertLineBreak(std::optional< SwLineBreakClear > oClear=std::nullopt)
void Insert(const OUString &)
SelectionType GetSelectionType() const
bool InsertOleObject(const svt::EmbeddedObjectRef &xObj, SwFlyFrameFormat **pFlyFrameFormat=nullptr)
void SplitNode(bool bAutoFormat=false)
void DelToStartOfSentence()
void InsertContentControl(SwContentControlType eType)
void InsertByWord(const OUString &)
bool DelRight(bool isReplaceHeuristic=false)
void DelLine()
Description: Erase the line.
void InsertObject(const svt::EmbeddedObjectRef &, SvGlobalName const *pName, sal_uInt16 nSlotId=0)
void AutoCorrect(SvxAutoCorrect &rACorr, sal_Unicode cChar)
bool HasSelection() const
void InsertPageBreak(const OUString *pPageDesc=nullptr, const ::std::optional< sal_uInt16 > &rPgNum=std::nullopt)
bool DelToEndOfSentence()
bool IsInClickToEdit() const
void LaunchOLEObj(sal_Int32 nVerb=css::embed::EmbedVerbs::MS_OLEVERB_PRIMARY)
css::uno::Reference< css::embed::XEmbeddedObject > CreateEmbeddedObject(const css::uno::Sequence< sal_Int8 > &, OUString &, OUString const *pBaseURL=nullptr)
#define SO3_IFRAME_CLASSID
static bool TryRunningState(const css::uno::Reference< css::embed::XEmbeddedObject > &)
sal_Int64 GetViewAspect() const
void Assign(const css::uno::Reference< css::embed::XEmbeddedObject > &xObj, sal_Int64 nAspect)
const css::uno::Reference< css::embed::XEmbeddedObject > & GetObject() const
static const OUString & GetContextName(const Context eContext)
FontFamily GetFamilyType()
const OUString & GetFamilyName() const
rtl_TextEncoding GetCharSet() const
Point PixelToLogic(const Point &rDevicePt) const
virtual Size GetSizePixel() const
#define FN_INSERT_LINEBREAK
#define FN_INSERT_COMBO_BOX_CONTENT_CONTROL
#define FN_INSERT_CONTENT_CONTROL
#define FN_INSERT_FRAME_INTERACT_NOCOL
#define FN_INSERT_FRAME_INTERACT
#define FN_CONTENT_CONTROL_PROPERTIES
#define FN_INSERT_IDX_ENTRY_DLG
#define FN_INSERT_PLAIN_TEXT_CONTENT_CONTROL
#define FN_INSERT_AUTH_ENTRY_DLG
#define FN_DELETE_BACK_LINE
#define FN_GET_PRINT_AREA
#define FN_INSERT_DROPDOWN_CONTENT_CONTROL
#define FN_DELETE_BACK_PARA
#define FN_INSERT_PAGEBREAK
#define FN_DELETE_BACK_WORD
#define FN_INSERT_DATE_CONTENT_CONTROL
#define FN_DELETE_WHOLE_LINE
#define FN_WORDCOUNT_DIALOG
#define FN_INSERT_COLUMN_BREAK
#define FN_INSERT_PICTURE_CONTENT_CONTROL
#define FN_INSERT_CHECKBOX_CONTENT_CONTROL
#define FN_DELETE_BACK_SENT
weld::Window * GetFrameWeld(const SfxFrame *pFrame)
@ Page
Rect of current page.
@ PagePrt
Rect of current PrtArea of page.
@ Variable
Frame is variable in Var-direction.
constexpr sal_uInt16 RES_FRMATR_BEGIN(RES_PARATR_LIST_END)
constexpr TypedWhichId< SvxFontItem > RES_CHRATR_CJK_FONT(22)
constexpr TypedWhichId< SvxFontItem > RES_CHRATR_CTL_FONT(27)
constexpr sal_uInt16 RES_FRMATR_END(141)
constexpr TypedWhichId< SwFormatINetFormat > RES_TXTATR_INETFMT(51)
constexpr TypedWhichId< SvxBoxItem > RES_BOX(112)
constexpr TypedWhichId< SvxFontItem > RES_CHRATR_FONT(7)
sal_uInt16 GetWhichOfScript(sal_uInt16 nWhich, sal_uInt16 nScript)
LanguageType GetAppLanguage()
constexpr sal_uInt16 KEY_MOD1
#define LINK(Instance, Class, Member)
sal_Int16 GetI18NScriptTypeOfLanguage(LanguageType nLang)
sal_uInt16 GetExportMode()
OString stripEnd(const OString &rIn, char c)
constexpr auto toTwips(N number, Length from)
constexpr Point convert(const Point &rPoint, o3tl::Length eFrom, o3tl::Length eTo)
static constexpr auto Items
#define SFX_OBJECTBAR_OBJECT
#define SFX_IMPL_INTERFACE(Class, SuperClass)
std::function< void(sal_Int32)> maEndDialogFn
Reference< XFrame > xFrame
OUString SwResId(TranslateId aId)
constexpr SwTwips DEF_GUTTER_WIDTH
static bool lcl_IsMarkInSameSection(SwWrtShell &rWrtSh, const SwSection *pSect)
IMPL_STATIC_LINK(SwTextShell, DialogClosedHdl, css::ui::dialogs::DialogClosedEvent *, pEvent, void)
sal_uInt16 GetHtmlMode(const SwDocShell *pShell)
constexpr sal_uInt16 XATTR_FILL_FIRST(XATTRSET_LINE+1)
constexpr sal_uInt16 XATTR_FILL_LAST(XATTR_FILLUSESLIDEBACKGROUND)