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>
63 #include <globals.hrc>
71 #include <strings.hrc>
76 #define ShellClass_SwTextShell
79 #include <swslots.hxx>
88 #include <drawdoc.hxx>
91 #include <com/sun/star/ui/dialogs/DialogClosedEvent.hpp>
92 #include <com/sun/star/ui/dialogs/ExecutableDialogResults.hpp>
103 sal_Int16 nDialogRet = pEvent->DialogResult;
104 if( nDialogRet == ui::dialogs::ExecutableDialogResults::CANCEL )
111 OSL_ENSURE( nDialogRet == ui::dialogs::ExecutableDialogResults::OK,
112 "dialog execution failed" );
136 "wrong shell on dispatcher" );
140 const sal_uInt16 nSlot = rReq.
GetSlot();
142 pArgs->GetItemState(nSlot,
false, &pItem );
151 case FN_INSERT_SOFT_HYPHEN:
157 case FN_INSERT_HARDHYPHEN:
158 case FN_INSERT_HARD_SPACE:
166 ACFlags::CapitalStartSentence | ACFlags::CapitalStartWord |
167 ACFlags::AddNonBrkSpace | ACFlags::ChgOrdinalNumber | ACFlags::TransliterateRTL |
168 ACFlags::ChgToEnEmDash | ACFlags::SetINetAttr | ACFlags::Autocorrect ) )
174 rSh.
Insert( OUString( cIns ) );
179 case FN_INSERT_NNBSP:
180 case SID_INSERT_RLM :
181 case SID_INSERT_LRM :
183 case SID_INSERT_ZWSP:
188 case SID_INSERT_RLM : cIns =
CHAR_RLM ;
break;
189 case SID_INSERT_LRM : cIns =
CHAR_LRM ;
break;
190 case SID_INSERT_ZWSP : cIns =
CHAR_ZWSP ;
break;
191 case SID_INSERT_WJ: cIns =
CHAR_WJ;
break;
192 case FN_INSERT_NNBSP: cIns =
CHAR_NNBSP;
break;
194 rSh.
Insert( OUString( cIns ) );
198 case FN_INSERT_BREAK:
248 aContext.maEndDialogFn = [](sal_Int32){};
259 case SID_HYPERLINK_SETLINK:
265 #if HAVE_FEATURE_AVMEDIA
266 case SID_INSERT_AVMEDIA:
271 case SID_INSERT_OBJECT:
287 case SID_INSERT_FLOATINGFRAME:
301 embed::Aspects::MSOLE_CONTENT );
303 uno::Reference < beans::XPropertySet > xSet( xObj->getComponent(), uno::UNO_QUERY );
309 if( pScrollingItem && pScrollingItem->GetValue() <=
int(ScrollingMode::Auto) )
310 eScroll = static_cast<ScrollingMode>(pScrollingItem->GetValue());
314 aMargin = pMarginItem->GetSize();
316 xSet->setPropertyValue(
"FrameURL",
uno::Any( pURLItem->GetValue() ) );
320 if ( eScroll == ScrollingMode::Auto )
321 xSet->setPropertyValue(
"FrameIsAutoScroll",
324 xSet->setPropertyValue(
"FrameIsScrollingMode",
325 uno::Any( eScroll == ScrollingMode::Yes ) );
328 xSet->setPropertyValue(
"FrameIsBorder",
329 uno::Any( pBorderItem->GetValue() ) );
333 xSet->setPropertyValue(
"FrameMarginWidth",
336 xSet->setPropertyValue(
"FrameMarginHeight",
340 catch (
const uno::Exception&)
354 case SID_INSERT_DIAGRAM:
365 uno::Reference< chart2::data::XDataProvider > xDataProvider;
366 bool bFillWithData =
true;
367 OUString aRangeString;
368 if (!
GetShell().IsTableComplexForChart())
371 aRangeString = pTableFormat->
GetName() +
"."
375 xDataProvider.set(
GetView().GetDocShell()->getIDocumentChartDataProviderAccess().GetChartDataProvider() );
378 bFillWithData =
false;
384 if(pItem && xObj.
is())
386 Size aSize(static_cast<const SvxSizeItem*>(pItem)->GetSize());
392 aSz.Width = aSize.
Width();
393 aSz.Height = aSize.
Height();
418 sal_uInt16 nCols = 1;
424 (pColsItem = pArgs->GetItemIfSet(SID_ATTR_COLUMNS,
false)))
426 if(
const SfxUInt16Item* pModifierItem = pArgs->GetItemIfSet(SID_MODIFIER,
false))
427 bModifier1 |=
KEY_MOD1 == pModifierItem->GetValue();
437 aStartPos.AdjustX(-constTwips_4cm);
438 aStartPos.AdjustY(-constTwips_2cm);
439 Size aSize(2 * constTwips_4cm, 2 * constTwips_2cm);
462 bool bSingleCol =
false;
463 if(
nullptr!= dynamic_cast< SwWebDocShell*>(
GetView().GetDocShell()) )
478 RndStdIds eAnchor = RndStdIds::FLY_AT_PARA;
479 if(pArgs->GetItemState(nSlot,
false, &pItem) == SfxItemState::SET)
480 eAnchor = static_cast<RndStdIds>(static_cast<const SfxUInt16Item *>(pItem)->GetValue());
481 if(pArgs->GetItemState(FN_PARAM_1,
false, &pItem) == SfxItemState::SET)
482 aPos = static_cast<const SfxPointItem *>(pItem)->GetValue();
483 if(pArgs->GetItemState(FN_PARAM_2,
false, &pItem) == SfxItemState::SET)
484 aSize = static_cast<const SvxSizeItem *>(pItem)->GetSize();
485 if(
const SfxUInt16Item* pColsItem = pArgs->GetItemIfSet(SID_ATTR_COLUMNS,
false))
487 const sal_uInt16 nCols = pColsItem->GetValue();
488 if( !bSingleCol && 1 < nCols )
491 aFormatCol.
Init( nCols , (rReq.
IsAPI() ? 0
516 if(pDlg->Execute() ==
RET_OK && pDlg->GetOutputItemSet())
524 const SfxItemSet* pOutSet = pDlg->GetOutputItemSet();
533 uno::Reference< frame::XDispatchRecorder > xRecorder =
535 if ( xRecorder.is() )
538 sal_uInt16 nAnchor =
static_cast<sal_uInt16
>(aMgr.
GetAnchor());
564 pColDlg->StartExecuteAsync([=](sal_Int32 ){
565 pColDlg->disposeOnce();
571 OSL_ENSURE(
false,
"wrong dispatcher");
594 bool bCursorInHidden =
false;
606 case SID_INSERT_AVMEDIA:
608 ||
GetShell().CursorInsideInputField()
609 || SfxObjectCreateMode::EMBEDDED == eCreateMode
616 case SID_INSERT_DIAGRAM:
619 || eCreateMode == SfxObjectCreateMode::EMBEDDED
628 || eCreateMode == SfxObjectCreateMode::EMBEDDED
636 case SID_INSERT_FLOATINGFRAME:
637 case SID_INSERT_OBJECT:
639 if( eCreateMode == SfxObjectCreateMode::EMBEDDED || bCursorInHidden )
643 else if(
GetShell().IsSelFrameMode()
644 ||
GetShell().CursorInsideInputField() )
648 else if(SID_INSERT_FLOATINGFRAME == nWhich && bHtmlModeOn)
668 case SID_HYPERLINK_GETLINK:
676 aHLinkItem.
SetURL(pINetFormat->GetValue());
678 aHLinkItem.
SetIntName(pINetFormat->GetName());
679 const SvxMacro *pMacro = pINetFormat->GetMacro( SvMacroItemId::OnMouseOver );
681 aHLinkItem.
SetMacro(HyperDialogEvent::MouseOverObject, *pMacro);
683 pMacro = pINetFormat->GetMacro( SvMacroItemId::OnClick );
685 aHLinkItem.
SetMacro(HyperDialogEvent::MouseClickObject, *pMacro);
687 pMacro = pINetFormat->GetMacro( SvMacroItemId::OnMouseOut );
689 aHLinkItem.
SetMacro(HyperDialogEvent::MouseOutObject, *pMacro);
709 sReturn = sReturn.copy(0, std::min<sal_Int32>(255, sReturn.getLength()));
716 HyperDialogEvent::MouseClickObject | HyperDialogEvent::MouseOutObject );
718 rSet.
Put(aHLinkItem);
738 bool bDisable =
true;
745 if( pCurrSection && ( !rSh.
HasSelection() || 0 != nFullSectCnt ))
749 ( !pCurrSection || ( 1 != nFullSectCnt &&
801 OSL_ENSURE(
false,
"wrong dispatcher");
814 case SID_TRANSLITERATE_SENTENCE_CASE:
815 nMode = TransliterationFlags::SENTENCE_CASE;
817 case SID_TRANSLITERATE_TITLE_CASE:
818 nMode = TransliterationFlags::TITLE_CASE;
820 case SID_TRANSLITERATE_TOGGLE_CASE:
821 nMode = TransliterationFlags::TOGGLE_CASE;
823 case SID_TRANSLITERATE_UPPER:
824 nMode = TransliterationFlags::LOWERCASE_UPPERCASE;
826 case SID_TRANSLITERATE_LOWER:
827 nMode = TransliterationFlags::UPPERCASE_LOWERCASE;
830 case SID_TRANSLITERATE_HALFWIDTH:
831 nMode = TransliterationFlags::FULLWIDTH_HALFWIDTH;
833 case SID_TRANSLITERATE_FULLWIDTH:
834 nMode = TransliterationFlags::HALFWIDTH_FULLWIDTH;
837 case SID_TRANSLITERATE_HIRAGANA:
838 nMode = TransliterationFlags::KATAKANA_HIRAGANA;
840 case SID_TRANSLITERATE_KATAKANA:
841 nMode = TransliterationFlags::HIRAGANA_KATAKANA;
845 OSL_ENSURE(
false,
"wrong dispatcher");
848 if( nMode != TransliterationFlags::NONE )
854 if( rReq.
GetSlot() == SID_TRANSLITERATE_ROTATE_CASE )
874 SID_ATTR_BORDER_INNER, SID_ATTR_BORDER_INNER,
875 SID_ATTR_PAGE_SIZE, SID_ATTR_PAGE_SIZE,
876 SID_COLOR_TABLE, SID_PATTERN_LIST,
877 SID_HTML_MODE, SID_HTML_MODE,
888 aSet.
Put(aFrameSize);
901 aBoxInfo.SetMinDist(
false);
902 aBoxInfo.SetDefDist(rBox.GetDistance(SvxBoxItemLine::LEFT));
915 OUString aChars, aFontName;
931 std::shared_ptr<SvxFontItem> aFont(std::make_shared<SvxFontItem>(RES_CHRATR_FONT));
934 aSetItem.GetItemSet().Put( aSet,
false );
935 const SfxPoolItem* pI = aSetItem.GetItemOfScript( nScript );
938 aFont.reset(static_cast<SvxFontItem*>(pI->
Clone()));
946 aFont.reset(aSet.Get(nFontWhich).Clone());
949 if (aFontName.isEmpty())
950 aFontName = aFont->GetFamilyName();
954 if( aChars.isEmpty() )
962 if( aFontName.isEmpty() && !sSymbolFont.isEmpty() )
965 aAllSet.Put(
SfxStringItem( SID_FONT_NAME, aFont->GetFamilyName() ) );
974 if( aChars.isEmpty() )
991 aSetItem.GetItemSet().Put( aSet,
false );
992 const SfxPoolItem* pI = aSetItem.GetItemOfScript( nScript );
995 aFont.reset(static_cast<SvxFontItem*>(pI->
Clone()));
1003 aFont.reset(aSet.Get( nFontWhich ).Clone());
1013 std::unique_ptr<SvxFontItem> aNewFontItem(aFont->Clone());
1016 aNewFontItem->SetPitch( aNewFont.
GetPitch());
1017 aNewFontItem->SetCharSet( aNewFont.
GetCharSet() );
1024 if( SvtScriptType::LATIN & nScript )
1026 aRestoreSet.Put( aSet.Get( RES_CHRATR_FONT ) );
1027 aNewFontItem->SetWhich(RES_CHRATR_FONT);
1028 aSet.Put( *aNewFontItem );
1030 if( SvtScriptType::ASIAN & nScript )
1032 aRestoreSet.Put( aSet.Get( RES_CHRATR_CJK_FONT ) );
1033 aNewFontItem->SetWhich(RES_CHRATR_CJK_FONT);
1034 aSet.Put( *aNewFontItem );
1036 if( SvtScriptType::COMPLEX & nScript )
1038 aRestoreSet.Put( aSet.Get( RES_CHRATR_CTL_FONT ) );
1039 aNewFontItem->SetWhich(RES_CHRATR_CTL_FONT);
1040 aSet.Put( *aNewFontItem );
1068 if ( !aChars.isEmpty() )
void InsertLineBreak(std::optional< SwLineBreakClear > oClear=std::nullopt)
OString stripEnd(const OString &rIn, char c)
void SetMacro(HyperDialogEvent nEvent, const SvxMacro &rMacro)
void SetURL(const OUString &rURL)
SfxViewFrame * GetViewFrame() const
#define LINK(Instance, Class, Member)
css::uno::Reference< css::embed::XEmbeddedObject > CreateEmbeddedObject(const css::uno::Sequence< sal_Int8 > &, OUString &, OUString const *pBaseURL=nullptr)
#define FN_INSERT_PICTURE_CONTENT_CONTROL
bool IsInClickToEdit() const
const css::uno::Reference< css::embed::XEmbeddedObject > & GetObject() const
void SplitNode(bool bAutoFormat=false)
bool InsertMediaDlg(SfxRequest const &)
static SvxAutoCorrCfg & Get()
const T * GetItemIfSet(TypedWhichId< T > nWhich, bool bSrchInParent=true) const
void InsertByWord(const OUString &)
bool IsAutoCorrFlag(ACFlags nFlag) const
constexpr TypedWhichId< SvxFontItem > RES_CHRATR_CTL_FONT(27)
const OUString & GetFamilyName() const
constexpr sal_uInt16 KEY_MOD1
const SwPageDesc * GetSelectedPageDescs() const
if inside all selection only one PageDesc,
#define SFX_IMPL_INTERFACE(Class, SuperClass)
void AutoCaption(const sal_uInt16 nType, const SvGlobalName *pOleId=nullptr)
static SfxInterface * GetStaticInterface()
void InsertObject( const svt::EmbeddedObjectRef &, SvGlobalName const *pName, sal_uInt16 nSlotId=0)
void ExecInsert(SfxRequest &)
constexpr auto toTwips(N number, Length from)
void setWidth(tools::Long nWidth)
static constexpr auto Items
#define FN_DELETE_BACK_SENT
virtual SfxPoolItem * Clone(SfxItemPool *pPool=nullptr) const =0
SwWrtShell * GetShellPtr()
const SwRect & GetAnyCurRect(CurRectType eType, const Point *pPt=nullptr, const css::uno::Reference< css::embed::XEmbeddedObject > &=css::uno::Reference< css::embed::XEmbeddedObject >()) const
#define SO3_IFRAME_CLASSID
static SvxAbstractDialogFactory * Create()
void RegisterObjectBar(sal_uInt16, SfxVisibilityFlags nFlags, ToolbarId eId)
Reference< XFrame > xFrame
void SetAttrSet(const SfxItemSet &, SetAttrMode nFlags=SetAttrMode::DEFAULT, SwPaM *pCursor=nullptr, const bool bParagraphSetting=false)
bool Pop(SwCursorShell::PopMode=SwCursorShell::PopMode::DeleteStack)
constexpr Point convert(const Point &rPoint, o3tl::Length eFrom, o3tl::Length eTo)
const wchar_t *typedef int(__stdcall *DllNativeUnregProc)(int
void SetIntName(const OUString &rIntName)
constexpr sal_uInt16 RES_FRMATR_END(133)
virtual Size GetSizePixel() const
sal_uInt16 GetValue() const
SvtScriptType GetAllScriptsOfText(const OUString &rText) const
virtual ~SwTextShell() override
void SetCol(const SwFormatCol &rCol)
#define FN_INSERT_AUTH_ENTRY_DLG
#define FN_DELETE_WHOLE_LINE
SwUndoId EndUndo(SwUndoId eUndoId=SwUndoId::EMPTY, const SwRewriter *pRewriter=nullptr)
Closes parenthesis of nUndoId, not used by UI.
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 DestroyCursor()
transform TableCursor to normal cursor, nullify Tablemode
void Done(bool bRemove=false)
const SvGlobalName & GetValue() const
void LaunchOLEObj(sal_Int32 nVerb=css::embed::EmbedVerbs::MS_OLEVERB_PRIMARY)
#define FN_INSERT_COLUMN_BREAK
Of course Writer needs its own rectangles.
const SfxItemSet * GetArgs() const
void RegisterPopupMenu(const OUString &)
#define FN_INSERT_LINEBREAK
bool InsertOleObject(const svt::EmbeddedObjectRef &xObj, SwFlyFrameFormat **pFlyFrameFormat=nullptr)
RndStdIds GetAnchor() const
void ExecTransliteration(SfxRequest const &)
#define FN_INSERT_FRAME_INTERACT
void InsertHyperlink(const SvxHyperlinkItem &rHlnkItem)
RotateTransliteration m_aRotateCase
constexpr TypedWhichId< SvxFontItem > RES_CHRATR_FONT(7)
FontFamily GetFamilyType()
constexpr SwTwips DEF_GUTTER_WIDTH
SwWrtShell & GetWrtShell() const
IDocumentDrawModelAccess const & getIDocumentDrawModelAccess() const
const SwSection * GetCurrSection() const
#define FN_DELETE_BACK_WORD
Used by the UI to modify the document model.
OUString SwResId(TranslateId aId)
#define FN_INSERT_CONTENT_CONTROL
constexpr tools::Long Width() const
bool SelectHiddenRange()
If the current cursor position is inside a hidden range, the hidden range is selected.
void SetTargetFrame(const OUString &rTarget)
static bool lcl_IsMarkInSameSection(SwWrtShell &rWrtSh, const SwSection *pSect)
bool IsAutoFormatByInput() const
IMPL_STATIC_LINK(SwTextShell, DialogClosedHdl, css::ui::dialogs::DialogClosedEvent *, pEvent, void)
SfxFrame & GetFrame() const
SfxItemSet CreateInsertFrameItemSet(SwFlyFrameAttrMgr &rMgr)
Create item set for the insert frame dialog.
void InsertSymbol(SfxRequest &)
void Width(tools::Long nNew)
const SfxItemSet & GetAttrSet() const
#define FN_INSERT_CHECKBOX_CONTENT_CONTROL
void Insert(const OUString &)
static void InitInterface_Impl()
SfxInterface initializer.
void RegisterChildWindow(sal_uInt16, bool bContext=false)
SfxObjectCreateMode GetCreateMode() const
sal_Int16 GetI18NScriptTypeOfLanguage(LanguageType nLang)
virtual VclPtr< SfxAbstractTabDialog > CreateFrameTabDialog(const OUString &rDialogType, SfxViewFrame *pFrame, weld::Window *pParent, const SfxItemSet &rCoreSet, bool bNewFrame=true, const OString &sDefPage=OString())=0
Point GetObjAbsPos() const
constexpr TypedWhichId< SwFormatINetFormat > RES_TXTATR_INETFMT(51)
SfxItemPool & GetPool() const
weld::Window * GetFrameWeld(const SfxFrame *pFrame)
const SfxItemPool & GetAttrPool() const
virtual void ClearRedo()=0
Delete all Redo actions.
Rect of current PrtArea of page.
SvtScriptType GetScriptType() const
returns the script type of the selection
bool HasSelection() const
const SfxItemSet * GetParent() const
bool IsInsRegionAvailable() const
SwPaM * CreateCursor()
delete the current cursor and make the following into the current
#define FN_INSERT_IDX_ENTRY_DLG
sal_uInt16 GetModifier() const
Window class for the Writer edit area, this is the one handling mouse and keyboard events and doing t...
void Push()
store a copy of the current cursor on the cursor stack
sal_uInt16 GetFullSelectedSectionCount() const
Search inside the cursor selection for full selected sections.
SvxAutoCorrect * GetAutoCorrect()
void StateInsert(SfxItemSet &)
SfxBindings & GetBindings()
void Assign(const css::uno::Reference< css::embed::XEmbeddedObject > &xObj, sal_Int64 nAspect)
svt::EmbeddedObjectRef & GetOLEObject() const
Get OLE object at pointer.
const OUString & GetValue() const
#define FN_CONTENT_CONTROL_PROPERTIES
void ExecDelete(SfxRequest &)
void DelLine()
Description: Erase the line.
sal_uInt16 GetHtmlMode(const SwDocShell *pShell)
SwTextShell(SwView &rView)
const T * GetArg(sal_uInt16 nSlotId) const
void SetAttrSet(const SfxItemSet &rSet)
virtual const SwDrawModel * GetDrawModel() const =0
Draw Model and id accessors.
SwUndoId StartUndo(SwUndoId eUndoId=SwUndoId::EMPTY, const SwRewriter *pRewriter=nullptr)
Undo: set up Undo parenthesis, return nUndoId of this parenthesis.
constexpr sal_uInt16 XATTR_FILL_FIRST(XATTRSET_LINE+1)
void InsertContentControl(SwContentControlType eType)
void AddRule(SwUndoArg eWhat, const OUString &rWith)
void Undo(sal_uInt16 const nCount=1, sal_uInt16 nOffset=0)
sal_uInt16 GetWhichOfScript(sal_uInt16 nWhich, sal_uInt16 nScript)
TransliterationFlags getNextMode()
virtual VclPtr< VclAbstractDialog > CreateSwContentControlDlg(weld::Window *pParent, SwWrtShell &rSh)=0
static SwAbstractDialogFactory * Create()
#define FN_WORDCOUNT_DIALOG
virtual VclPtr< SfxAbstractDialog > CreateCharMapDialog(weld::Window *pParent, const SfxItemSet &rAttr, const css::uno::Reference< css::frame::XFrame > &rFrame)=0
void SetName(const OUString &rName)
Point PixelToLogic(const Point &rDevicePt) const
void SetName(const OUString &rName)
bool StartExecuteAsync(const std::function< void(sal_Int32)> &rEndDialogFn)
void PutAreaListItems(SfxItemSet &rSet) const
Put needed items for XPropertyList entries from the DrawModel.
OUString GetBoxNms() const
SwDocShell * GetDocShell()
const css::uno::Reference< css::frame::XFrame > & GetFrameInterface() const
const OUString & GetSymbolFont() const
SwFrameFormat * GetTableFormat()
#define FN_GET_PRINT_AREA
#define SFX_OBJECTBAR_OBJECT
void SetParent(const SfxItemSet *pNew)
void SetReturnValue(const SfxPoolItem &)
bool DelToEndOfSentence()
void InsertTable(SfxRequest &_rRequest)
#define FN_DELETE_BACK_LINE
IDocumentUndoRedo const & GetIDocumentUndoRedo() const
Provides access to the document undo/redo interface.
const SfxPoolItem * Put(const SfxPoolItem &rItem, sal_uInt16 nWhich)
sal_uInt16 GetSlot() const
static const OUString & GetContextName(const Context eContext)
void SetMacroEvents(const HyperDialogEvent nEvents)
const css::uno::Reference< css::frame::XDispatchRecorder > & GetRecorder() const
void DisableItem(sal_uInt16 nWhich)
const SfxPoolItem & Get(sal_uInt16 nWhich, bool bSrchInParent=true) const
constexpr tools::Long Height() const
void ExecRotateTransliteration(SfxRequest const &)
#define FN_DELETE_BACK_PARA
#define FN_INSERT_FRAME_INTERACT_NOCOL
bool IsCursorPtAtEnd() const
bool ExtendSelection(bool bEnd=true, sal_Int32 nCount=1)
extend current SSelection by n characters
OUString GetSelText() const
get selected text of a node at current cursor
LanguageType GetAppLanguage()
constexpr TypedWhichId< SvxFontItem > RES_CHRATR_CJK_FONT(22)
size_t IsObjSelected() const
#define FN_INSERT_PAGEBREAK
bool GetCurAttr(SfxItemSet &, const bool bMergeIndentValuesOfNumRule=false) const
constexpr TypedWhichId< SvxBoxItem > RES_BOX(106)
void SetInsertMode(SvxLinkInsertMode eNew)
void AutoCorrect(SvxAutoCorrect &rACorr, sal_Unicode cChar)
void TransliterateText(TransliterationFlags nType)
Change text to Upper/Lower/Hiragana/Katakana/...
void InsFrameMode(sal_uInt16 nCols)
SvxLinkInsertMode GetInsertMode() const
const SwFrameFormat * GetFlyFrameFormat() const
Get FlyFrameFormat; for UI macro linkage at Flys.
bool CursorInsideContentControl() const
void AppendItem(const SfxPoolItem &)
virtual VclPtr< VclAbstractDialog > CreateSwColumnDialog(weld::Window *pParent, SwWrtShell &rSh)=0
constexpr sal_uInt16 XATTR_FILL_LAST(XATTR_FILLBACKGROUND)
void InsertPageBreak(const OUString *pPageDesc=nullptr, const ::std::optional< sal_uInt16 > &rPgNum=std::nullopt)
static bool TryRunningState(const css::uno::Reference< css::embed::XEmbeddedObject > &)
const Size & GetSize() const
Frame is variable in Var-direction.
sal_Int64 GetViewAspect() const
SelectionType GetSelectionType() const
void StartAllAction()
For all views of this document.
#define FN_INSERT_DROPDOWN_CONTENT_CONTROL
void Height(tools::Long nNew)
bool DeleteRow(bool bCompleteTable=false)
sal_uInt16 GetExportMode()
void SetContextName(const OUString &rsContextName)
constexpr sal_uInt16 RES_FRMATR_BEGIN(RES_PARATR_LIST_END)
bool IsFrameSelected() const
rtl_TextEncoding GetCharSet() const
void DelToStartOfSentence()
void UnlockPaint(bool bVirDev=false)
bool IsSelFrameMode() const
void EndAction(const bool bIdleEnd=false)
bool CursorInsideInputField() const