19#ifndef INCLUDED_SW_SOURCE_UIBASE_INC_LANGHELPER_HXX 
   20#define INCLUDED_SW_SOURCE_UIBASE_INC_LANGHELPER_HXX 
   23#include <rtl/ustring.hxx> 
Used by the UI to modify the document model.
 
LanguageType GetCurrentLanguage(SfxItemSet const &aSet, SvtScriptType nScriptType)
 
void SelectPara(EditView &rEditView, const ESelection &rCurSel)
 
void SetLanguage_None(SwWrtShell &rWrtSh, bool bIsForSelection, SfxItemSet &rCoreSet)
 
void ResetLanguages(SwWrtShell &rWrtSh, OutlinerView const *pOLV=nullptr)
 
void SelectCurrentPara(SwWrtShell &rWrtSh)
 
void GetLanguageStatus(OutlinerView *pOLV, SfxItemSet &rSet)
 
bool SetLanguageStatus(OutlinerView *pOLV, SfxRequest &rReq, SwView const &rView, SwWrtShell &rSh)
 
void SetLanguage(SwWrtShell &rWrtSh, std::u16string_view rLangText, bool bIsForSelection, SfxItemSet &rCoreSet)
 
OUString GetTextForLanguageGuessing(EditEngine const *rEditEngine, const ESelection &rDocSelection)
 
LanguageType GetLanguage(SfxItemSet const &aSet, sal_uInt16 nLangWhichId)