20 #include <config_features.h>
45 #include <com/sun/star/embed/Aspects.hpp>
46 #include <com/sun/star/embed/XEmbeddedObject.hpp>
62 #include <globals.hrc>
70 #include <strings.hrc>
75 #define ShellClass_SwTextShell
78 #include <swslots.hxx>
87 #include <drawdoc.hxx>
90 #include <com/sun/star/ui/dialogs/DialogClosedEvent.hpp>
91 #include <com/sun/star/ui/dialogs/ExecutableDialogResults.hpp>
101 sal_Int16 nDialogRet = pEvent->DialogResult;
102 if( nDialogRet == ui::dialogs::ExecutableDialogResults::CANCEL )
109 OSL_ENSURE( nDialogRet == ui::dialogs::ExecutableDialogResults::OK,
110 "dialog execution failed" );
134 "wrong shell on dispatcher" );
138 const sal_uInt16 nSlot = rReq.
GetSlot();
140 pArgs->GetItemState(nSlot,
false, &pItem );
149 case FN_INSERT_SOFT_HYPHEN:
155 case FN_INSERT_HARDHYPHEN:
156 case FN_INSERT_HARD_SPACE:
164 ACFlags::CapitalStartSentence | ACFlags::CapitalStartWord |
165 ACFlags::AddNonBrkSpace | ACFlags::ChgOrdinalNumber | ACFlags::TransliterateRTL |
166 ACFlags::ChgToEnEmDash | ACFlags::SetINetAttr | ACFlags::Autocorrect ) )
172 rSh.
Insert( OUString( cIns ) );
177 case FN_INSERT_NNBSP:
178 case SID_INSERT_RLM :
179 case SID_INSERT_LRM :
180 case SID_INSERT_ZWNBSP :
181 case SID_INSERT_ZWSP:
186 case SID_INSERT_RLM : cIns =
CHAR_RLM ;
break;
187 case SID_INSERT_LRM : cIns =
CHAR_LRM ;
break;
188 case SID_INSERT_ZWSP : cIns =
CHAR_ZWSP ;
break;
190 case FN_INSERT_NNBSP: cIns =
CHAR_NNBSP;
break;
192 rSh.
Insert( OUString( cIns ) );
196 case FN_INSERT_BREAK:
225 case SID_HYPERLINK_SETLINK:
231 #if HAVE_FEATURE_AVMEDIA
232 case SID_INSERT_AVMEDIA:
237 case SID_INSERT_OBJECT:
253 case SID_INSERT_FLOATINGFRAME:
267 embed::Aspects::MSOLE_CONTENT );
269 uno::Reference < beans::XPropertySet > xSet( xObj->getComponent(), uno::UNO_QUERY );
275 if( pScrollingItem && pScrollingItem->GetValue() <=
int(ScrollingMode::Auto) )
276 eScroll = static_cast<ScrollingMode>(pScrollingItem->GetValue());
280 aMargin = pMarginItem->GetSize();
282 xSet->setPropertyValue(
"FrameURL", uno::makeAny( pURLItem->GetValue() ) );
284 xSet->setPropertyValue(
"FrameName", uno::makeAny( pNameItem->
GetValue() ) );
286 if ( eScroll == ScrollingMode::Auto )
287 xSet->setPropertyValue(
"FrameIsAutoScroll",
288 uno::makeAny(
true ) );
290 xSet->setPropertyValue(
"FrameIsScrollingMode",
291 uno::makeAny( eScroll == ScrollingMode::Yes ) );
294 xSet->setPropertyValue(
"FrameIsBorder",
295 uno::makeAny( pBorderItem->GetValue() ) );
299 xSet->setPropertyValue(
"FrameMarginWidth",
300 uno::makeAny( sal_Int32( aMargin.
Width() ) ) );
302 xSet->setPropertyValue(
"FrameMarginHeight",
303 uno::makeAny( sal_Int32( aMargin.
Height() ) ) );
306 catch (
const uno::Exception&)
320 case SID_INSERT_DIAGRAM:
331 uno::Reference< chart2::data::XDataProvider > xDataProvider;
332 bool bFillWithData =
true;
333 OUString aRangeString;
334 if (!
GetShell().IsTableComplexForChart())
337 aRangeString = pTableFormat->
GetName() +
"."
341 xDataProvider.set(
GetView().GetDocShell()->getIDocumentChartDataProviderAccess().GetChartDataProvider() );
344 bFillWithData =
false;
350 if(pItem && xObj.
is())
352 Size aSize(static_cast<const SvxSizeItem*>(pItem)->GetSize());
354 ( aSize,
MapMode( MapUnit::MapTwip ),
MapMode( MapUnit::Map100thMM ) );
359 aSz.Width = aSize.
Width();
360 aSz.Height = aSize.
Height();
385 sal_uInt16 nCols = 1;
390 pArgs->GetItemState(SID_ATTR_COLUMNS,
false, &pItem) == SfxItemState::SET)
391 nCols = static_cast<const SfxUInt16Item *>(pItem)->GetValue();
392 if(pArgs->GetItemState(SID_MODIFIER,
false, &pItem) == SfxItemState::SET)
393 bModifier1 |=
KEY_MOD1 == static_cast<const SfxUInt16Item *>(pItem)->GetValue();
401 aStartPos.AdjustX( -(8 *
MM50) );
402 aStartPos.AdjustY( -(4 *
MM50) );
426 bool bSingleCol =
false;
427 if(
nullptr!= dynamic_cast< SwWebDocShell*>(
GetView().GetDocShell()) )
443 RndStdIds eAnchor = RndStdIds::FLY_AT_PARA;
444 if(pArgs->GetItemState(nSlot,
false, &pItem) == SfxItemState::SET)
445 eAnchor = static_cast<RndStdIds>(static_cast<const SfxUInt16Item *>(pItem)->GetValue());
446 if(pArgs->GetItemState(FN_PARAM_1,
false, &pItem) == SfxItemState::SET)
447 aPos = static_cast<const SfxPointItem *>(pItem)->GetValue();
448 if(pArgs->GetItemState(FN_PARAM_2,
false, &pItem) == SfxItemState::SET)
449 aSize = static_cast<const SvxSizeItem *>(pItem)->GetSize();
450 if(pArgs->GetItemState(SID_ATTR_COLUMNS,
false, &pItem) == SfxItemState::SET)
453 if( !bSingleCol && 1 < nCols )
456 aFormatCol.
Init( nCols , (rReq.
IsAPI() ? 0
481 if(pDlg->Execute() ==
RET_OK && pDlg->GetOutputItemSet())
489 const SfxItemSet* pOutSet = pDlg->GetOutputItemSet();
498 uno::Reference< frame::XDispatchRecorder > xRecorder =
500 if ( xRecorder.is() )
503 sal_uInt16 nAnchor =
static_cast<sal_uInt16
>(aMgr.
GetAnchor());
529 pColDlg->StartExecuteAsync([=](sal_Int32 ){
530 pColDlg->disposeOnce();
536 OSL_ENSURE(
false,
"wrong dispatcher");
559 bool bCursorInHidden =
false;
571 case SID_INSERT_AVMEDIA:
573 ||
GetShell().CursorInsideInputField()
574 || SfxObjectCreateMode::EMBEDDED == eCreateMode
581 case SID_INSERT_DIAGRAM:
584 || eCreateMode == SfxObjectCreateMode::EMBEDDED
593 || eCreateMode == SfxObjectCreateMode::EMBEDDED
601 case SID_INSERT_FLOATINGFRAME:
602 case SID_INSERT_OBJECT:
604 if( eCreateMode == SfxObjectCreateMode::EMBEDDED || bCursorInHidden )
608 else if(
GetShell().IsSelFrameMode()
609 ||
GetShell().CursorInsideInputField() )
613 else if(SID_INSERT_FLOATINGFRAME == nWhich && bHtmlModeOn)
634 case SID_HYPERLINK_GETLINK:
647 const SvxMacro *pMacro = pINetFormat->
GetMacro( SvMacroItemId::OnMouseOver );
649 aHLinkItem.
SetMacro(HyperDialogEvent::MouseOverObject, *pMacro);
651 pMacro = pINetFormat->
GetMacro( SvMacroItemId::OnClick );
653 aHLinkItem.
SetMacro(HyperDialogEvent::MouseClickObject, *pMacro);
655 pMacro = pINetFormat->
GetMacro( SvMacroItemId::OnMouseOut );
657 aHLinkItem.
SetMacro(HyperDialogEvent::MouseOutObject, *pMacro);
677 sReturn = sReturn.copy(0, std::min<sal_Int32>(255, sReturn.getLength()));
684 HyperDialogEvent::MouseClickObject | HyperDialogEvent::MouseOutObject );
686 rSet.
Put(aHLinkItem);
706 bool bDisable =
true;
713 if( pCurrSection && ( !rSh.
HasSelection() || 0 != nFullSectCnt ))
717 ( !pCurrSection || ( 1 != nFullSectCnt &&
769 OSL_ENSURE(
false,
"wrong dispatcher");
782 case SID_TRANSLITERATE_SENTENCE_CASE:
783 nMode = TransliterationFlags::SENTENCE_CASE;
785 case SID_TRANSLITERATE_TITLE_CASE:
786 nMode = TransliterationFlags::TITLE_CASE;
788 case SID_TRANSLITERATE_TOGGLE_CASE:
789 nMode = TransliterationFlags::TOGGLE_CASE;
791 case SID_TRANSLITERATE_UPPER:
792 nMode = TransliterationFlags::LOWERCASE_UPPERCASE;
794 case SID_TRANSLITERATE_LOWER:
795 nMode = TransliterationFlags::UPPERCASE_LOWERCASE;
798 case SID_TRANSLITERATE_HALFWIDTH:
799 nMode = TransliterationFlags::FULLWIDTH_HALFWIDTH;
801 case SID_TRANSLITERATE_FULLWIDTH:
802 nMode = TransliterationFlags::HALFWIDTH_FULLWIDTH;
805 case SID_TRANSLITERATE_HIRAGANA:
806 nMode = TransliterationFlags::KATAKANA_HIRAGANA;
808 case SID_TRANSLITERATE_KATAKANA:
809 nMode = TransliterationFlags::HIRAGANA_KATAKANA;
813 OSL_ENSURE(
false,
"wrong dispatcher");
816 if( nMode != TransliterationFlags::NONE )
822 if( rReq.
GetSlot() == SID_TRANSLITERATE_ROTATE_CASE )
839 static const sal_uInt16 aFrameAttrRange[] =
842 SID_ATTR_BORDER_INNER, SID_ATTR_BORDER_INNER,
844 SID_ATTR_PAGE_SIZE, SID_ATTR_PAGE_SIZE,
846 SID_HTML_MODE, SID_HTML_MODE,
847 SID_COLOR_TABLE, SID_PATTERN_LIST,
861 aSet.
Put(aFrameSize);
874 aBoxInfo.SetMinDist(
false);
875 aBoxInfo.SetDefDist(rBox.GetDistance(SvxBoxItemLine::LEFT));
888 OUString aChars, aFontName;
906 std::shared_ptr<SvxFontItem> aFont(std::make_shared<SvxFontItem>(
RES_CHRATR_FONT));
909 aSetItem.GetItemSet().Put( aSet,
false );
910 const SfxPoolItem* pI = aSetItem.GetItemOfScript( nScript );
913 aFont.reset(static_cast<SvxFontItem*>(pI->
Clone()));
917 aFont.reset(static_cast<SvxFontItem*>(
924 if (aFontName.isEmpty())
925 aFontName = aFont->GetFamilyName();
929 if( aChars.isEmpty() )
937 if( aFontName.isEmpty() && !sSymbolFont.isEmpty() )
940 aAllSet.Put(
SfxStringItem( SID_FONT_NAME, aFont->GetFamilyName() ) );
949 if( aChars.isEmpty() )
966 aSetItem.GetItemSet().Put( aSet,
false );
967 const SfxPoolItem* pI = aSetItem.GetItemOfScript( nScript );
970 aFont.reset(static_cast<SvxFontItem*>(pI->
Clone()));
986 std::unique_ptr<SvxFontItem> aNewFontItem(aFont->Clone());
989 aNewFontItem->SetPitch( aNewFont.
GetPitch());
990 aNewFontItem->SetCharSet( aNewFont.
GetCharSet() );
997 if( SvtScriptType::LATIN & nScript )
1001 aSet.Put( *aNewFontItem );
1003 if( SvtScriptType::ASIAN & nScript )
1007 aSet.Put( *aNewFontItem );
1009 if( SvtScriptType::COMPLEX & nScript )
1013 aSet.Put( *aNewFontItem );
1041 if ( !aChars.isEmpty() )
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)
bool IsInClickToEdit() const
const css::uno::Reference< css::embed::XEmbeddedObject > & GetObject() const
void SplitNode(bool bAutoFormat=false)
bool InsertMediaDlg(SfxRequest const &)
static SvxAutoCorrCfg & Get()
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 &)
void setWidth(tools::Long nWidth)
#define FN_DELETE_BACK_SENT
Point LogicToLogic(const Point &rPtSource, const MapMode *pMapModeSource, const MapMode *pMapModeDest) const
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)
const wchar_t *typedef int(__stdcall *DllNativeUnregProc)(int
void SetIntName(const OUString &rIntName)
virtual Size GetSizePixel() 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
#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()
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.
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
static void InitInterface_Impl()
SfxInterface initializer.
void RegisterChildWindow(sal_uInt16, bool bContext=false)
SfxObjectCreateMode GetCreateMode() const
void Insert(SwField const &, SwPaM *pAnnotationRange=nullptr)
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
static SvxHtmlOptions & Get()
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
SfxItemState GetItemState(sal_uInt16 nWhich, bool bSrchInParent=true, const SfxPoolItem **ppItem=nullptr) const
#define FN_INSERT_IDX_ENTRY_DLG
void EndAction(const bool bIdleEnd=false, const bool DoSetPosX=false)
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
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)
tools::Long Width() const
static sal_Int16 GetI18NScriptTypeOfLanguage(LanguageType nLang)
void AddRule(SwUndoArg eWhat, const OUString &rWith)
sal_uInt16 GetWhichOfScript(sal_uInt16 nWhich, sal_uInt16 nScript)
TransliterationFlags getNextMode()
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
OUString SwResId(const char *pId)
void SetName(const OUString &rName)
void SetName(const OUString &rName)
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
Point PixelToLogic(const Point &rDevicePt) const
void SetParent(const SfxItemSet *pNew)
void SetReturnValue(const SfxPoolItem &)
bool DelToEndOfSentence()
void InsertTable(SfxRequest &_rRequest)
#define FN_DELETE_BACK_LINE
constexpr sal_uInt16 RES_FRMATR_END(131)
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
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
const o3tl::enumarray< SvxAdjust, unsigned short > aSvxToUnoAdjust USHRT_MAX
OUString GetSelText() const
get selected text of a node at current cursor
LanguageType GetAppLanguage()
constexpr TypedWhichId< SvxFontItem > RES_CHRATR_CJK_FONT(22)
tools::Long Height() const
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.
void AppendItem(const SfxPoolItem &)
sal_uInt16 GetExportMode() const
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.
void Height(tools::Long nNew)
bool DeleteRow(bool bCompleteTable=false)
void SetContextName(const OUString &rsContextName)
constexpr sal_uInt16 RES_FRMATR_BEGIN(RES_PARATR_LIST_END)
void Undo(sal_uInt16 const nCount=1)
bool IsFrameSelected() const
rtl_TextEncoding GetCharSet() const
void DelToStartOfSentence()
void UnlockPaint(bool bVirDev=false)
bool IsSelFrameMode() const
void LaunchOLEObj(tools::Long nVerb=0)
bool CursorInsideInputField() const