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>
102 sal_Int16 nDialogRet = pEvent->DialogResult;
103 if( nDialogRet == ui::dialogs::ExecutableDialogResults::CANCEL )
110 OSL_ENSURE( nDialogRet == ui::dialogs::ExecutableDialogResults::OK,
111 "dialog execution failed" );
135 "wrong shell on dispatcher" );
139 const sal_uInt16 nSlot = rReq.
GetSlot();
141 pArgs->GetItemState(nSlot,
false, &pItem );
150 case FN_INSERT_SOFT_HYPHEN:
156 case FN_INSERT_HARDHYPHEN:
157 case FN_INSERT_HARD_SPACE:
165 ACFlags::CapitalStartSentence | ACFlags::CapitalStartWord |
166 ACFlags::AddNonBrkSpace | ACFlags::ChgOrdinalNumber | ACFlags::TransliterateRTL |
167 ACFlags::ChgToEnEmDash | ACFlags::SetINetAttr | ACFlags::Autocorrect ) )
173 rSh.
Insert( OUString( cIns ) );
178 case FN_INSERT_NNBSP:
179 case SID_INSERT_RLM :
180 case SID_INSERT_LRM :
182 case SID_INSERT_ZWSP:
187 case SID_INSERT_RLM : cIns =
CHAR_RLM ;
break;
188 case SID_INSERT_LRM : cIns =
CHAR_LRM ;
break;
189 case SID_INSERT_ZWSP : cIns =
CHAR_ZWSP ;
break;
190 case SID_INSERT_WJ: cIns =
CHAR_WJ;
break;
191 case FN_INSERT_NNBSP: cIns =
CHAR_NNBSP;
break;
193 rSh.
Insert( OUString( cIns ) );
197 case FN_INSERT_BREAK:
226 case SID_HYPERLINK_SETLINK:
232 #if HAVE_FEATURE_AVMEDIA
233 case SID_INSERT_AVMEDIA:
238 case SID_INSERT_OBJECT:
254 case SID_INSERT_FLOATINGFRAME:
268 embed::Aspects::MSOLE_CONTENT );
270 uno::Reference < beans::XPropertySet > xSet( xObj->getComponent(), uno::UNO_QUERY );
276 if( pScrollingItem && pScrollingItem->GetValue() <=
int(ScrollingMode::Auto) )
277 eScroll = static_cast<ScrollingMode>(pScrollingItem->GetValue());
281 aMargin = pMarginItem->GetSize();
283 xSet->setPropertyValue(
"FrameURL", uno::makeAny( pURLItem->GetValue() ) );
285 xSet->setPropertyValue(
"FrameName", uno::makeAny( pNameItem->
GetValue() ) );
287 if ( eScroll == ScrollingMode::Auto )
288 xSet->setPropertyValue(
"FrameIsAutoScroll",
289 uno::makeAny(
true ) );
291 xSet->setPropertyValue(
"FrameIsScrollingMode",
292 uno::makeAny( eScroll == ScrollingMode::Yes ) );
295 xSet->setPropertyValue(
"FrameIsBorder",
296 uno::makeAny( pBorderItem->GetValue() ) );
300 xSet->setPropertyValue(
"FrameMarginWidth",
301 uno::makeAny( sal_Int32( aMargin.
Width() ) ) );
303 xSet->setPropertyValue(
"FrameMarginHeight",
304 uno::makeAny( sal_Int32( aMargin.
Height() ) ) );
307 catch (
const uno::Exception&)
321 case SID_INSERT_DIAGRAM:
332 uno::Reference< chart2::data::XDataProvider > xDataProvider;
333 bool bFillWithData =
true;
334 OUString aRangeString;
335 if (!
GetShell().IsTableComplexForChart())
338 aRangeString = pTableFormat->
GetName() +
"."
342 xDataProvider.set(
GetView().GetDocShell()->getIDocumentChartDataProviderAccess().GetChartDataProvider() );
345 bFillWithData =
false;
351 if(pItem && xObj.
is())
353 Size aSize(static_cast<const SvxSizeItem*>(pItem)->GetSize());
355 ( aSize,
MapMode( MapUnit::MapTwip ),
MapMode( MapUnit::Map100thMM ) );
360 aSz.Width = aSize.
Width();
361 aSz.Height = aSize.
Height();
386 sal_uInt16 nCols = 1;
391 pArgs->GetItemState(SID_ATTR_COLUMNS,
false, &pItem) == SfxItemState::SET)
392 nCols = static_cast<const SfxUInt16Item *>(pItem)->GetValue();
393 if(pArgs->GetItemState(SID_MODIFIER,
false, &pItem) == SfxItemState::SET)
394 bModifier1 |=
KEY_MOD1 == static_cast<const SfxUInt16Item *>(pItem)->GetValue();
402 aStartPos.AdjustX( -(8 *
MM50) );
403 aStartPos.AdjustY( -(4 *
MM50) );
427 bool bSingleCol =
false;
428 if(
nullptr!= dynamic_cast< SwWebDocShell*>(
GetView().GetDocShell()) )
444 RndStdIds eAnchor = RndStdIds::FLY_AT_PARA;
445 if(pArgs->GetItemState(nSlot,
false, &pItem) == SfxItemState::SET)
446 eAnchor = static_cast<RndStdIds>(static_cast<const SfxUInt16Item *>(pItem)->GetValue());
447 if(pArgs->GetItemState(FN_PARAM_1,
false, &pItem) == SfxItemState::SET)
448 aPos = static_cast<const SfxPointItem *>(pItem)->GetValue();
449 if(pArgs->GetItemState(FN_PARAM_2,
false, &pItem) == SfxItemState::SET)
450 aSize = static_cast<const SvxSizeItem *>(pItem)->GetSize();
451 if(pArgs->GetItemState(SID_ATTR_COLUMNS,
false, &pItem) == SfxItemState::SET)
454 if( !bSingleCol && 1 < nCols )
457 aFormatCol.
Init( nCols , (rReq.
IsAPI() ? 0
482 if(pDlg->Execute() ==
RET_OK && pDlg->GetOutputItemSet())
490 const SfxItemSet* pOutSet = pDlg->GetOutputItemSet();
499 uno::Reference< frame::XDispatchRecorder > xRecorder =
501 if ( xRecorder.is() )
504 sal_uInt16 nAnchor =
static_cast<sal_uInt16
>(aMgr.
GetAnchor());
530 pColDlg->StartExecuteAsync([=](sal_Int32 ){
531 pColDlg->disposeOnce();
537 OSL_ENSURE(
false,
"wrong dispatcher");
560 bool bCursorInHidden =
false;
572 case SID_INSERT_AVMEDIA:
574 ||
GetShell().CursorInsideInputField()
575 || SfxObjectCreateMode::EMBEDDED == eCreateMode
582 case SID_INSERT_DIAGRAM:
585 || eCreateMode == SfxObjectCreateMode::EMBEDDED
594 || eCreateMode == SfxObjectCreateMode::EMBEDDED
602 case SID_INSERT_FLOATINGFRAME:
603 case SID_INSERT_OBJECT:
605 if( eCreateMode == SfxObjectCreateMode::EMBEDDED || bCursorInHidden )
609 else if(
GetShell().IsSelFrameMode()
610 ||
GetShell().CursorInsideInputField() )
614 else if(SID_INSERT_FLOATINGFRAME == nWhich && bHtmlModeOn)
635 case SID_HYPERLINK_GETLINK:
648 const SvxMacro *pMacro = pINetFormat->
GetMacro( SvMacroItemId::OnMouseOver );
650 aHLinkItem.
SetMacro(HyperDialogEvent::MouseOverObject, *pMacro);
652 pMacro = pINetFormat->
GetMacro( SvMacroItemId::OnClick );
654 aHLinkItem.
SetMacro(HyperDialogEvent::MouseClickObject, *pMacro);
656 pMacro = pINetFormat->
GetMacro( SvMacroItemId::OnMouseOut );
658 aHLinkItem.
SetMacro(HyperDialogEvent::MouseOutObject, *pMacro);
678 sReturn = sReturn.copy(0, std::min<sal_Int32>(255, sReturn.getLength()));
685 HyperDialogEvent::MouseClickObject | HyperDialogEvent::MouseOutObject );
687 rSet.
Put(aHLinkItem);
707 bool bDisable =
true;
714 if( pCurrSection && ( !rSh.
HasSelection() || 0 != nFullSectCnt ))
718 ( !pCurrSection || ( 1 != nFullSectCnt &&
770 OSL_ENSURE(
false,
"wrong dispatcher");
783 case SID_TRANSLITERATE_SENTENCE_CASE:
784 nMode = TransliterationFlags::SENTENCE_CASE;
786 case SID_TRANSLITERATE_TITLE_CASE:
787 nMode = TransliterationFlags::TITLE_CASE;
789 case SID_TRANSLITERATE_TOGGLE_CASE:
790 nMode = TransliterationFlags::TOGGLE_CASE;
792 case SID_TRANSLITERATE_UPPER:
793 nMode = TransliterationFlags::LOWERCASE_UPPERCASE;
795 case SID_TRANSLITERATE_LOWER:
796 nMode = TransliterationFlags::UPPERCASE_LOWERCASE;
799 case SID_TRANSLITERATE_HALFWIDTH:
800 nMode = TransliterationFlags::FULLWIDTH_HALFWIDTH;
802 case SID_TRANSLITERATE_FULLWIDTH:
803 nMode = TransliterationFlags::HALFWIDTH_FULLWIDTH;
806 case SID_TRANSLITERATE_HIRAGANA:
807 nMode = TransliterationFlags::KATAKANA_HIRAGANA;
809 case SID_TRANSLITERATE_KATAKANA:
810 nMode = TransliterationFlags::HIRAGANA_KATAKANA;
814 OSL_ENSURE(
false,
"wrong dispatcher");
817 if( nMode != TransliterationFlags::NONE )
823 if( rReq.
GetSlot() == SID_TRANSLITERATE_ROTATE_CASE )
840 static const sal_uInt16 aFrameAttrRange[] =
843 SID_ATTR_BORDER_INNER, SID_ATTR_BORDER_INNER,
845 SID_ATTR_PAGE_SIZE, SID_ATTR_PAGE_SIZE,
847 SID_HTML_MODE, SID_HTML_MODE,
848 SID_COLOR_TABLE, SID_PATTERN_LIST,
862 aSet.
Put(aFrameSize);
875 aBoxInfo.SetMinDist(
false);
876 aBoxInfo.SetDefDist(rBox.GetDistance(SvxBoxItemLine::LEFT));
889 OUString aChars, aFontName;
907 std::shared_ptr<SvxFontItem> aFont(std::make_shared<SvxFontItem>(
RES_CHRATR_FONT));
910 aSetItem.GetItemSet().Put( aSet,
false );
911 const SfxPoolItem* pI = aSetItem.GetItemOfScript( nScript );
914 aFont.reset(static_cast<SvxFontItem*>(pI->
Clone()));
918 aFont.reset(static_cast<SvxFontItem*>(
925 if (aFontName.isEmpty())
926 aFontName = aFont->GetFamilyName();
930 if( aChars.isEmpty() )
938 if( aFontName.isEmpty() && !sSymbolFont.isEmpty() )
941 aAllSet.Put(
SfxStringItem( SID_FONT_NAME, aFont->GetFamilyName() ) );
950 if( aChars.isEmpty() )
967 aSetItem.GetItemSet().Put( aSet,
false );
968 const SfxPoolItem* pI = aSetItem.GetItemOfScript( nScript );
971 aFont.reset(static_cast<SvxFontItem*>(pI->
Clone()));
987 std::unique_ptr<SvxFontItem> aNewFontItem(aFont->Clone());
990 aNewFontItem->SetPitch( aNewFont.
GetPitch());
991 aNewFontItem->SetCharSet( aNewFont.
GetCharSet() );
998 if( SvtScriptType::LATIN & nScript )
1002 aSet.Put( *aNewFontItem );
1004 if( SvtScriptType::ASIAN & nScript )
1008 aSet.Put( *aNewFontItem );
1010 if( SvtScriptType::COMPLEX & nScript )
1014 aSet.Put( *aNewFontItem );
1042 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)
constexpr sal_uInt16 RES_FRMATR_END(133)
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
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()
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.
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
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
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)
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
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
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)
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 EndAction(const bool bIdleEnd=false)
bool CursorInsideInputField() const