21#include <com/sun/star/linguistic2/XThesaurus.hpp>
66#include <osl/diagnose.h>
92 const sal_uInt16 nSlot = rReq.
GetSlot();
97 bool bRestoreSelection =
false;
100 sal_uInt16 nEEWhich = 0;
103 case SID_LANGUAGE_STATUS:
117 OUString aReplaceText;
121 if (!aReplaceText.isEmpty())
126 case SID_ATTR_CHAR_FONT:
127 case SID_ATTR_CHAR_FONTHEIGHT:
128 case SID_ATTR_CHAR_WEIGHT:
129 case SID_ATTR_CHAR_POSTURE:
137 SvtScriptType nScriptTypes = SvtScriptType::LATIN | SvtScriptType::ASIAN | SvtScriptType::COMPLEX;
138 if (nSlot == SID_ATTR_CHAR_FONT)
144 aNewAttr.
Put( aSetItem.GetItemSet() );
152 case SID_ATTR_CHAR_UNDERLINE:
167 case SID_ATTR_CHAR_OVERLINE:
177 case SID_ATTR_CHAR_WORDLINEMODE: nEEWhich =
EE_CHAR_WLM;
break;
184 case SID_ATTR_PARA_ADJUST_LEFT:
187 case SID_ATTR_PARA_ADJUST_CENTER:
190 case SID_ATTR_PARA_ADJUST_RIGHT:
193 case SID_ATTR_PARA_ADJUST_BLOCK:
196 case SID_ATTR_PARA_LRSPACE:
199 GetArgs()->
Get(nSlot)));
201 aNewAttr.
Put(aParaMargin);
205 case SID_HANGING_INDENT:
208 if( eState >= SfxItemState::DEFAULT )
216 aNewAttr.
Put(aParaMargin);
221 case SID_ATTR_PARA_LINESPACE:
227 aNewAttr.
Put( aLineSpace );
231 case SID_ATTR_PARA_ULSPACE:
237 aNewAttr.
Put( aULSpace );
241 case SID_PARASPACE_INCREASE:
242 case SID_PARASPACE_DECREASE:
245 sal_uInt16 nUpper = aULSpace.
GetUpper();
246 sal_uInt16 nLower = aULSpace.
GetLower();
248 if ( nSlot == SID_PARASPACE_INCREASE )
250 nUpper = std::min< sal_uInt16 >( nUpper + 57, 5670 );
251 nLower = std::min< sal_uInt16 >( nLower + 57, 5670 );
255 nUpper = std::max< sal_Int16 >( nUpper - 57, 0 );
256 nLower = std::max< sal_Int16 >( nLower - 57, 0 );
261 aNewAttr.
Put( aULSpace );
265 case SID_ATTR_PARA_LINESPACE_10:
272 case SID_ATTR_PARA_LINESPACE_115:
279 case SID_ATTR_PARA_LINESPACE_15:
286 case SID_ATTR_PARA_LINESPACE_20:
299 if( eEsc == SvxEscapement::Superscript )
303 aNewAttr.
Put( aItem );
311 if( eEsc == SvxEscapement::Subscript )
315 aNewAttr.
Put( aItem );
319 case SID_CHAR_DLG_EFFECT:
320 case SID_CHAR_DLG_POSITION:
322 case SID_CHAR_DLG_FOR_PARAGRAPH:
327 if( !pArgs || pItem )
330 if (nSlot == SID_CHAR_DLG_FOR_PARAGRAPH)
335 bRestoreSelection =
true;
345 aDlgAttr.
Put( aEditAttr );
350 if (nSlot == SID_CHAR_DLG_EFFECT)
352 pDlg->SetCurPageId(
"fonteffects");
354 else if (nSlot == SID_CHAR_DLG_POSITION)
356 pDlg->SetCurPageId(
"position");
358 else if (nSlot == SID_CHAR_DLG_FOR_PARAGRAPH)
360 pDlg->SetCurPageId(
"font");
364 pDlg->SetCurPageId(pItem->
GetValue());
367 sal_uInt16 nRet = pDlg->Execute();
370 rReq.
Done( *( pDlg->GetOutputItemSet() ) );
371 aNewAttr.
Put(*pDlg->GetOutputItemSet());
377 aNewAttr.
Put(*pArgs);
391 case SID_OPEN_XML_FILTERSETTINGS:
412 SID_ATTR_PARA_HYPHENZONE, SID_ATTR_PARA_WIDOWS> aDlgAttr(
GetPool() );
414 aDlgAttr.Put(aEditAttr);
424 sal_uInt16 nRet = pDlg->Execute();
427 rReq.
Done( *( pDlg->GetOutputItemSet() ) );
428 aNewAttr.
Put(*pDlg->GetOutputItemSet());
434 aNewAttr.
Put(*pArgs);
437 case SID_AUTOSPELL_CHECK:
447 nCtrl |= EEControlBits::ONLINESPELLING|EEControlBits::ALLOWBIGOBJS;
450 pOutliner->SetControlWord(nCtrl);
455 case SID_HYPERLINK_SETLINK:
459 pNewAttrs->GetItemState(nSlot,
false, &pItem);
469 if (pFieldItem &&
dynamic_cast< const SvxURLField *
>( pFieldItem->
GetField() ) !=
nullptr )
481 case SID_EDIT_HYPERLINK:
489 case SID_REMOVE_HYPERLINK:
495 case SID_OPEN_HYPERLINK:
501 SfxStringItem aTarget(SID_TARGETNAME, pURLField->GetTargetFrame());
505 SID_OPENDOC, SfxCallMode::SYNCHRON, { &aUrl, &aTarget, &aNewView, &aBrowsing });
510 case SID_COPY_HYPERLINK_LOCATION:
515 uno::Reference<datatransfer::clipboard::XClipboard> xClipboard
522 case SID_TEXTDIRECTION_LEFT_TO_RIGHT:
523 case SID_TEXTDIRECTION_TOP_TO_BOTTOM:
536 nSlot == SID_TEXTDIRECTION_LEFT_TO_RIGHT ?
537 text::WritingMode_LR_TB
542 rSh.
GetView().AttrChangedNotify(
nullptr);
546 case SID_ATTR_PARA_LEFT_TO_RIGHT:
547 case SID_ATTR_PARA_RIGHT_TO_LEFT:
554 bool bLeftToRight = nSlot == SID_ATTR_PARA_LEFT_TO_RIGHT;
557 if( pNewAttrs && SfxItemState::SET == pNewAttrs->GetItemState( nSlot,
true, &pPoolItem ) )
560 bLeftToRight = !bLeftToRight;
568 nAdjust = pAdjustItem->GetAdjust();
573 if(
nAdjust == SvxAdjust::Right )
579 if(
nAdjust == SvxAdjust::Left )
584 rSh.
GetView().AttrChangedNotify(
nullptr);
593 (pObjSh ? pObjSh->
GetItem(SID_ATTR_CHAR_FONTLIST) :
nullptr);
600 assert(
false &&
"wrong dispatcher");
603 if (nEEWhich && pNewAttrs)
605 aNewAttr.
Put(pNewAttrs->Get(nWhich).CloneSetWhich(nEEWhich));
624 if (bRestoreSelection)
654 case SID_LANGUAGE_STATUS:
680 case SID_ATTR_PARA_ADJUST_LEFT:
681 eAdjust = SvxAdjust::Left;
683 case SID_ATTR_PARA_ADJUST_RIGHT:
684 eAdjust = SvxAdjust::Right;
686 case SID_ATTR_PARA_ADJUST_CENTER:
687 eAdjust = SvxAdjust::Center;
689 case SID_ATTR_PARA_ADJUST_BLOCK:
690 eAdjust = SvxAdjust::Block;
707 case SID_ATTR_PARA_LRSPACE:
708 case SID_ATTR_PARA_LEFTSPACE:
709 case SID_ATTR_PARA_RIGHTSPACE:
710 case SID_ATTR_PARA_FIRSTLINESPACE:
713 if (eState >= SfxItemState::DEFAULT)
716 aLR.SetWhich(SID_ATTR_PARA_LRSPACE);
724 case SID_ATTR_PARA_LINESPACE:
727 if (eState >= SfxItemState::DEFAULT)
737 case SID_ATTR_PARA_ULSPACE:
738 case SID_ATTR_PARA_BELOWSPACE:
739 case SID_ATTR_PARA_ABOVESPACE:
740 case SID_PARASPACE_INCREASE:
741 case SID_PARASPACE_DECREASE:
744 if (eState >= SfxItemState::DEFAULT)
751 if (nSlotId == SID_ATTR_PARA_ULSPACE || nSlotId == SID_ATTR_PARA_ABOVESPACE
752 || nSlotId == SID_ATTR_PARA_BELOWSPACE)
754 aULSpace.SetWhich(nSlotId);
770 case SID_ATTR_PARA_LINESPACE_10:
773 case SID_ATTR_PARA_LINESPACE_115:
776 case SID_ATTR_PARA_LINESPACE_15:
779 case SID_ATTR_PARA_LINESPACE_20:
805 nEsc = SvxEscapement::Superscript;
808 nEsc = SvxEscapement::Subscript;
837 case SID_HANGUL_HANJA_CONVERSION:
838 case SID_CHINESE_CONVERSION:
850 case SID_TEXTDIRECTION_LEFT_TO_RIGHT:
851 case SID_TEXTDIRECTION_TOP_TO_BOTTOM:
861 bFlag = pOutliner->IsVertical()
862 == (SID_TEXTDIRECTION_TOP_TO_BOTTOM == nSlotId);
867 if (nSlotId == SID_TEXTDIRECTION_LEFT_TO_RIGHT)
869 bFlag =
eMode == text::WritingMode_LR_TB;
873 bFlag =
eMode != text::WritingMode_TB_RL;
878 case SID_ATTR_PARA_LEFT_TO_RIGHT:
879 case SID_ATTR_PARA_RIGHT_TO_LEFT:
889 if (pOutliner && pOutliner->IsVertical())
898 case SvxFrameDirection::Horizontal_LR_TB:
899 bFlag = nWhich == SID_ATTR_PARA_LEFT_TO_RIGHT;
902 case SvxFrameDirection::Horizontal_RL_TB:
903 bFlag = nWhich != SID_ATTR_PARA_LEFT_TO_RIGHT;
912 case SID_TRANSLITERATE_HALFWIDTH:
913 case SID_TRANSLITERATE_FULLWIDTH:
914 case SID_TRANSLITERATE_HIRAGANA:
915 case SID_TRANSLITERATE_KATAKANA:
935 case SID_REMOVE_HYPERLINK:
936 case SID_EDIT_HYPERLINK:
937 case SID_OPEN_HYPERLINK:
938 case SID_COPY_HYPERLINK_LOCATION:
970 sal_uInt16 nEEWhich = 0;
974 case SID_ATTR_CHAR_FONT:
975 case SID_ATTR_CHAR_FONTHEIGHT:
976 case SID_ATTR_CHAR_WEIGHT:
977 case SID_ATTR_CHAR_POSTURE:
981 pEditPool = aEditAttr.
GetPool();
983 aSetItem.GetItemSet().Put( aEditAttr,
false );
1000 case SID_AUTOSPELL_CHECK:
1009 case SID_ATTR_CHAR_WORDLINEMODE: nEEWhich =
EE_CHAR_WLM;
break;
1021 pEditPool = aEditAttr.
GetPool();
1024 aSetItem.GetItemSet().Put( aEditAttr,
false );
1030 if( nSize >= 19998 )
1032 else if( nSize <= 40 )
1072 case SID_PASTE_UNFORMATTED:
1076 case SID_PASTE_SPECIAL:
1081 pDlg->Insert(SotClipboardFormatId::STRING, OUString());
1082 pDlg->Insert(SotClipboardFormatId::RTF, OUString());
1083 pDlg->Insert(SotClipboardFormatId::RICHTEXT, OUString());
1088 if (nFormat != SotClipboardFormatId::NONE)
1090 if (nFormat == SotClipboardFormatId::STRING)
1099 case SID_CLIPBOARD_FORMAT_ITEMS:
1109 if (nFormat != SotClipboardFormatId::NONE)
1111 if (nFormat == SotClipboardFormatId::STRING)
1121 OSL_FAIL(
"wrong dispatcher");
1137 const bool bPaste = aDataHelper.
HasFormat( SotClipboardFormatId::STRING ) ||
1138 aDataHelper.
HasFormat( SotClipboardFormatId::RTF ) ||
1139 aDataHelper.
HasFormat( SotClipboardFormatId::RICHTEXT );
1155 case SID_PASTE_UNFORMATTED:
1156 case SID_PASTE_SPECIAL:
1161 case SID_CLIPBOARD_FORMAT_ITEMS:
1166 if ( aDataHelper.
HasFormat( SotClipboardFormatId::STRING ) )
1168 if ( aDataHelper.
HasFormat( SotClipboardFormatId::RTF ) )
1170 if ( aDataHelper.
HasFormat( SotClipboardFormatId::RICHTEXT ) )
1199 case SID_HYPERLINK_GETLINK:
1220 sSel = sSel.copy(0, std::min<sal_Int32>(255, sSel.getLength()));
const OUString & GetValue() const
ESelection GetSelection() const
void SelectCurrentWord(sal_Int16 nWordType=css::i18n::WordType::ANYWORD_IGNOREWHITESPACES)
void ChangeFontSize(bool bGrow, const FontList *pList)
bool HasSelection() const
void SetSelection(const ESelection &rNewSel)
static css::lang::Locale convertToLocale(LanguageType nLangID, bool bResolveSystem=true)
void SetSelection(const ESelection &)
SvtScriptType GetSelectedScriptType() const
void SelectFieldAtCursor()
void InsertField(const SvxFieldItem &rFld)
const SvxFieldItem * GetFieldAtSelection() const
ESelection GetSelection() const
const SvxFieldData * GetFieldAtCursor() const
void Paste(bool bUseSpecial=false)
Outliner * GetOutliner() const
OUString GetSelected() const
EditView & GetEditView() const
SdrMark * GetMark(size_t nNum) const
const SdrMarkList & GetMarkedObjectList() const
SdrObject * GetMarkedSdrObj() const
virtual SdrEndTextEditKind SdrEndTextEdit(bool bDontDeleteReally=false)
const OutlinerView * GetTextEditOutlinerView() const
const SdrOutliner * GetTextEditOutliner() const
SdrPageView * GetSdrPageView() const
bool SetAttributes(const SfxItemSet &rSet, bool bReplaceAll=false)
void SetVisibleState(sal_uInt16 nId, bool bShow)
void InvalidateAll(bool bWithMsg)
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 * >())
sal_uInt16 GetWhich(sal_uInt16 nSlot, bool bDeep=true) const
SfxItemPool * GetSecondaryPool() const
sal_uInt16 GetSlotId(sal_uInt16 nWhich) const
const WhichRangesContainer & GetRanges() const
SfxItemPool * GetPool() const
virtual std::unique_ptr< SfxItemSet > Clone(bool bItems=true, SfxItemPool *pToPool=nullptr) const
const T * GetItemIfSet(TypedWhichId< T > nWhich, bool bSrchInParent=true) 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)
void InvalidateItem(sal_uInt16 nWhich)
static SAL_WARN_UNUSED_RESULT SfxObjectShell * Current()
std::unique_ptr< SfxPoolItem > CloneSetWhich(sal_uInt16 nNewWhich) const
sal_uInt16 GetSlot() const
const SfxItemSet * GetArgs() const
const T * GetArg(sal_uInt16 nSlotId) const
void Done(bool bRemove=false)
const SfxPoolItem * GetSlotState(sal_uInt16 nSlotId, const SfxInterface *pIF=nullptr, SfxItemSet *pStateSet=nullptr)
SfxItemPool & GetPool() const
static void HandleOpenXmlFilterSettings(SfxRequest &)
const SfxPoolItem * GetItem(sal_uInt16 nSlotId) const
virtual SfxObjectShell * GetObjectShell()
const SfxPoolItem * ExecuteSlot(SfxRequest &rReq, const SfxInterface *pIF=nullptr)
SfxBindings & GetBindings()
SfxDispatcher * GetDispatcher()
weld::Window * GetFrameWeld() const
SfxViewFrame & GetViewFrame() const
static bool IsCTLFontEnabled()
static SvxAbstractDialogFactory * Create()
SvxAdjust GetAdjust() const
void SetEscapement(const SvxEscapement eNew)
const SvxFieldData * GetField() const
sal_uInt32 GetHeight() const
const FontList * GetFontList() 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)
short GetTextFirstLineOffset() const
void SetRight(const tools::Long nR, const sal_uInt16 nProp=100)
tools::Long GetRight() const
void SetTextLeft(const tools::Long nL, const sal_uInt16 nProp=100)
tools::Long GetTextLeft() const
void SetTextFirstLineOffset(const short nF, const sal_uInt16 nProp=100)
void SetPropLineSpace(const sal_uInt16 nProp)
sal_uInt16 GetPropLineSpace() const
void PutItemForScriptType(SvtScriptType nScriptType, const SfxPoolItem &rItem)
const SfxPoolItem * GetItemOfScript(SvtScriptType nScript) const
FontLineStyle GetLineStyle() const
void SetLower(const sal_uInt16 nL, const sal_uInt16 nProp=100)
sal_uInt16 GetUpper() const
void SetUpper(const sal_uInt16 nU, const sal_uInt16 nProp=100)
sal_uInt16 GetLower() const
const OUString & GetRepresentation() const
void SetTargetFrame(const OUString &rFrm)
const OUString & GetTargetFrame() const
const OUString & GetURL() const
virtual VclPtr< SfxAbstractTabDialog > CreateSwParaDlg(weld::Window *pParent, SwView &rVw, const SfxItemSet &rCoreSet, bool bDraw, const OUString &sDefPage={})=0
virtual VclPtr< SfxAbstractTabDialog > CreateSwCharDlg(weld::Window *pParent, SwView &pVw, const SfxItemSet &rCoreSet, SwCharDlgMode nDialogMode, const OUString *pFormatStr=nullptr)=0
static SwAbstractDialogFactory * Create()
const SfxPoolItem & GetDefault(sal_uInt16 nFormatHint) const
Get the default attribute in this document.
void ExecClpbrd(SfxRequest const &rReq)
void StateInsert(SfxItemSet &rSet)
void SetAttrToMarked(const SfxItemSet &rAttr)
void StateClpbrd(SfxItemSet &rSet)
void Execute(SfxRequest &)
void GetDrawTextCtrlState(SfxItemSet &)
void GetState(SfxItemSet &)
bool BeginTextEdit(SdrObject *pObj, SdrPageView *pPV=nullptr, vcl::Window *pWin=nullptr, bool bIsNewObj=false, bool bSetSelectionToStart=false)
void ExecNumberingOutline(SfxItemPool &)
void UpdateWordCount(SfxShell *, sal_uInt16)
void ExecFormatFootnote()
Used by the UI to modify the document model.
const SwView & GetView() const
static TransferableDataHelper CreateFromSystemClipboard(vcl::Window *pWindow)
bool HasFormat(SotClipboardFormatId nFormat) const
const css::uno::Reference< css::datatransfer::XTransferable > & GetTransferable() const
static void RemoveURLField(EditView &pEditView)
static bool IsCursorAtURLField(const EditView &pEditView)
css::uno::Reference< css::datatransfer::clipboard::XClipboard > GetClipboard()
static void CopyStringTo(const OUString &rContent, const css::uno::Reference< css::datatransfer::clipboard::XClipboard > &rxClipboard, const vcl::ILibreOfficeKitNotifier *pNotifier=nullptr)
#define FN_SET_SUPER_SCRIPT
#define FN_GROW_FONT_SIZE
#define FN_SHRINK_FONT_SIZE
#define FN_FORMAT_FOOTNOTE_DLG
#define FN_NUMBERING_OUTLINE_DLG
#define FN_WORDCOUNT_DIALOG
#define FN_SET_SUB_SCRIPT
weld::Window * GetFrameWeld(const SfxFrame *pFrame)
constexpr TypedWhichId< SvxContourItem > EE_CHAR_OUTLINE(EE_CHAR_START+8)
constexpr TypedWhichId< SvxKerningItem > EE_CHAR_KERNING(EE_CHAR_START+12)
constexpr TypedWhichId< SvxFieldItem > EE_FEATURE_FIELD(EE_FEATURE_NOTCONV+1)
constexpr TypedWhichId< SvxUnderlineItem > EE_CHAR_UNDERLINE(EE_CHAR_START+5)
constexpr TypedWhichId< SvxAdjustItem > EE_PARA_JUST(EE_PARA_START+16)
constexpr TypedWhichId< SvxAutoKernItem > EE_CHAR_PAIRKERNING(EE_CHAR_START+11)
constexpr TypedWhichId< SvxShadowedItem > EE_CHAR_SHADOW(EE_CHAR_START+9)
constexpr TypedWhichId< SvxULSpaceItem > EE_PARA_ULSPACE(EE_PARA_START+14)
constexpr TypedWhichId< SvxOverlineItem > EE_CHAR_OVERLINE(EE_CHAR_START+29)
constexpr TypedWhichId< SvxLRSpaceItem > EE_PARA_LRSPACE(EE_PARA_START+13)
constexpr sal_uInt16 EE_ITEMS_END(EE_FEATURE_END)
constexpr TypedWhichId< SvxColorItem > EE_CHAR_COLOR(EE_CHAR_START+0)
constexpr TypedWhichId< SvxCrossedOutItem > EE_CHAR_STRIKEOUT(EE_CHAR_START+6)
constexpr TypedWhichId< SvxLineSpacingItem > EE_PARA_SBL(EE_PARA_START+15)
constexpr TypedWhichId< SvxEscapementItem > EE_CHAR_ESCAPEMENT(EE_CHAR_START+10)
constexpr TypedWhichId< SvxFrameDirectionItem > EE_PARA_WRITINGDIR(EE_PARA_START+0)
constexpr TypedWhichId< SvxColorItem > EE_CHAR_BKGCOLOR(EE_CHAR_START+32)
constexpr TypedWhichId< SvxCharScaleWidthItem > EE_CHAR_FONTWIDTH(EE_CHAR_START+3)
constexpr TypedWhichId< SvxLanguageItem > EE_CHAR_LANGUAGE(EE_CHAR_START+14)
constexpr sal_uInt16 EE_ITEMS_START(OWN_ATTR_VALUE_END+1)
constexpr TypedWhichId< SvxWordLineModeItem > EE_CHAR_WLM(EE_CHAR_START+13)
constexpr TypedWhichId< SvxCharReliefItem > EE_CHAR_RELIEF(EE_CHAR_START+26)
constexpr TypedWhichId< SvxLanguageItem > RES_CHRATR_LANGUAGE(10)
constexpr TypedWhichId< SvxHyphenZoneItem > RES_PARATR_HYPHENZONE(69)
constexpr TypedWhichId< SvxOrphansItem > RES_PARATR_ORPHANS(66)
constexpr TypedWhichId< SvxWidowsItem > RES_PARATR_WIDOWS(67)
constexpr TypedWhichId< SvxFormatBreakItem > RES_BREAK(100)
constexpr TypedWhichId< SvxKerningItem > RES_CHRATR_KERNING(9)
constexpr TypedWhichId< SvxFormatSplitItem > RES_PARATR_SPLIT(65)
sal_uInt16 GetWhichOfScript(sal_uInt16 nWhich, sal_uInt16 nScript)
LanguageType GetAppLanguage()
sal_Int32 nFirstLineOffset
#define LINE_SPACE_DEFAULT_HEIGHT
SVXCORE_DLLPUBLIC MSO_SPT Get(const OUString &)
bool IsVerticalTextEnabled()
bool IsChangeCaseMapEnabled()
sal_Int16 GetI18NScriptTypeOfLanguage(LanguageType nLang)
void SelectPara(EditView &rEditView, const ESelection &rCurSel)
void GetLanguageStatus(OutlinerView *pOLV, SfxItemSet &rSet)
bool SetLanguageStatus(OutlinerView *pOLV, SfxRequest &rReq, SwView const &rView, SwWrtShell &rSh)
LanguageType GetLanguage(SfxItemSet const &aSet, sal_uInt16 nLangWhichId)
OString stripEnd(const OString &rIn, char c)
void ReplaceTextWithSynonym(EditView &rEditView, const OUString &rSynonmText)
bool GetStatusValueForThesaurusFromContext(OUString &rStatusVal, LanguageType &rLang, const EditView &rEditView)
bool IsInvalidItem(const SfxPoolItem *pItem)
static LanguageType nLang
constexpr TypedWhichId< SvxWritingModeItem > SDRATTR_TEXTDIRECTION(SDRATTR_NOTPERSIST_FIRST+34)
uno::Reference< linguistic2::XThesaurus > GetThesaurus()
sal_uInt16 GetHtmlMode(const SwDocShell *pShell)