LibreOffice Module framework (master) 1
Classes | Namespaces | Enumerations | Functions
mischelper.hxx File Reference
#include <com/sun/star/linguistic2/XLanguageGuessing.hpp>
#include <com/sun/star/document/XDocumentEventListener.hpp>
#include <com/sun/star/util/XChangesListener.hpp>
#include <com/sun/star/container/XContainerListener.hpp>
#include <com/sun/star/frame/XFrame.hpp>
#include <com/sun/star/uno/XComponentContext.hpp>
#include <com/sun/star/ui/XContextChangeEventListener.hpp>
#include <cppuhelper/implbase.hxx>
#include <cppuhelper/weakref.hxx>
#include <i18nlangtag/lang.h>
#include <o3tl/string_view.hxx>
#include <svl/languageoptions.hxx>
#include <rtl/ustring.hxx>
#include <functional>
#include <set>
#include <utility>
Include dependency graph for mischelper.hxx:
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Classes

class  framework::LanguageGuessingHelper
 
class  framework::WeakContainerListener
 
class  framework::WeakChangesListener
 
class  framework::WeakDocumentEventListener
 

Namespaces

namespace  framework
 

Enumerations

enum  framework::LangMenuIDs {
  framework::MID_LANG_SEL_1 = 1 ,
  framework::MID_LANG_SEL_2 ,
  framework::MID_LANG_SEL_3 ,
  framework::MID_LANG_SEL_4 ,
  framework::MID_LANG_SEL_5 ,
  framework::MID_LANG_SEL_6 ,
  framework::MID_LANG_SEL_7 ,
  framework::MID_LANG_SEL_8 ,
  framework::MID_LANG_SEL_9 ,
  framework::MID_LANG_SEL_NONE ,
  framework::MID_LANG_SEL_RESET ,
  framework::MID_LANG_SEL_MORE ,
  framework::MID_LANG_DEF_NONE ,
  framework::MID_LANG_DEF_RESET ,
  framework::MID_LANG_DEF_MORE ,
  framework::MID_LANG_PARA_SEPARATOR ,
  framework::MID_LANG_PARA_STRING ,
  framework::MID_LANG_PARA_1 ,
  framework::MID_LANG_PARA_2 ,
  framework::MID_LANG_PARA_3 ,
  framework::MID_LANG_PARA_4 ,
  framework::MID_LANG_PARA_5 ,
  framework::MID_LANG_PARA_6 ,
  framework::MID_LANG_PARA_7 ,
  framework::MID_LANG_PARA_8 ,
  framework::MID_LANG_PARA_9 ,
  framework::MID_LANG_PARA_NONE ,
  framework::MID_LANG_PARA_RESET ,
  framework::MID_LANG_PARA_MORE
}
 

Functions

bool framework::IsScriptTypeMatchingToLanguage (SvtScriptType nScriptType, LanguageType nLang)
 
void framework::RetrieveTypeNameFromResourceURL (std::u16string_view aResourceURL, OUString &aType, OUString &aName)
 
void framework::FillLangItems (std::set< OUString > &rLangItems, const css::uno::Reference< css::frame::XFrame > &rxFrame, const LanguageGuessingHelper &rLangGuessHelper, SvtScriptType nScriptType, const OUString &rCurLang, const OUString &rKeyboardLang, const OUString &rGuessedTextLang)
 
css::uno::Reference< css::ui::XContextChangeEventListener > framework::GetFirstListenerWith_Impl (css::uno::Reference< css::uno::XComponentContext > const &xComponentContext, css::uno::Reference< css::uno::XInterface > const &xEventFocus, std::function< bool(css::uno::Reference< css::ui::XContextChangeEventListener > const &)> const &rPredicate)