LibreOffice Module comphelper (master)  1
Namespaces | Functions | Variables
lok.cxx File Reference
#include <comphelper/lok.hxx>
#include <i18nlangtag/languagetag.hxx>
#include <sal/log.hxx>
#include <iostream>
#include <map>
Include dependency graph for lok.cxx:

Go to the source code of this file.

Namespaces

 comphelper::LibreOfficeKit
 

Functions

static bool comphelper::LibreOfficeKit::g_bActive (false)
 
static bool comphelper::LibreOfficeKit::g_bPartInInvalidation (false)
 
static bool comphelper::LibreOfficeKit::g_bTiledPainting (false)
 
static bool comphelper::LibreOfficeKit::g_bDialogPainting (false)
 
static bool comphelper::LibreOfficeKit::g_bTiledAnnotations (true)
 
static bool comphelper::LibreOfficeKit::g_bRangeHeaders (false)
 
static bool comphelper::LibreOfficeKit::g_bViewIdForVisCursorInvalidation (false)
 
static bool comphelper::LibreOfficeKit::g_bLocalRendering (false)
 
static Compat comphelper::LibreOfficeKit::g_eCompatFlags (Compat::none)
 
static double comphelper::LibreOfficeKit::g_fDPIScale (1.0)
 Scaling of the cairo canvas painting for hi-dpi. More...
 
void comphelper::LibreOfficeKit::setActive (bool bActive)
 
bool comphelper::LibreOfficeKit::isActive ()
 
void comphelper::LibreOfficeKit::setPartInInvalidation (bool bPartInInvalidation)
 Set whether clients want a part number in an invalidation payload. More...
 
bool comphelper::LibreOfficeKit::isPartInInvalidation ()
 Check whether clients want a part number in an invalidation payload. More...
 
void comphelper::LibreOfficeKit::setTiledPainting (bool bTiledPainting)
 Set if we are doing tiled painting. More...
 
bool comphelper::LibreOfficeKit::isTiledPainting ()
 Check if we are doing tiled painting. More...
 
void comphelper::LibreOfficeKit::setDialogPainting (bool bDialogPainting)
 Set if we are painting the dialog. More...
 
bool comphelper::LibreOfficeKit::isDialogPainting ()
 Check if we are painting the dialog. More...
 
void comphelper::LibreOfficeKit::setDPIScale (double fDPIScale)
 Set the DPI scale for rendering for HiDPI displays. More...
 
double comphelper::LibreOfficeKit::getDPIScale ()
 Get the DPI scale for rendering for HiDPI displays. More...
 
void comphelper::LibreOfficeKit::setTiledAnnotations (bool bTiledAnnotations)
 Set if we want no annotations rendering. More...
 
bool comphelper::LibreOfficeKit::isTiledAnnotations ()
 Check if annotations rendering is turned off. More...
 
void comphelper::LibreOfficeKit::setRangeHeaders (bool bTiledAnnotations)
 Set if we want range based header data. More...
 
void comphelper::LibreOfficeKit::setViewIdForVisCursorInvalidation (bool bViewIdForVisCursorInvalidation)
 Set whether clients want viewId in visible cursor invalidation payload. More...
 
bool comphelper::LibreOfficeKit::isViewIdForVisCursorInvalidation ()
 Check whether clients want viewId in visible cursor invalidation payload. More...
 
bool comphelper::LibreOfficeKit::isRangeHeaders ()
 Check if range based header data is enabled. More...
 
void comphelper::LibreOfficeKit::setLocalRendering (bool bLocalRendering=true)
 Shift the coordinates before rendering each bitmap. More...
 
bool comphelper::LibreOfficeKit::isLocalRendering ()
 
void comphelper::LibreOfficeKit::setCompatFlag (Compat flag)
 Set compatibility flags. More...
 
bool comphelper::LibreOfficeKit::isCompatFlagSet (Compat flag)
 Get compatibility flags. More...
 
void comphelper::LibreOfficeKit::setLocale (const LanguageTag &languageTag)
 Update the current LOK's locale. More...
 
const LanguageTagcomphelper::LibreOfficeKit::getLocale ()
 Get the current LOK's locale. More...
 
void comphelper::LibreOfficeKit::setLanguageTag (const LanguageTag &languageTag)
 Update the current LOK's language. More...
 
const LanguageTagcomphelper::LibreOfficeKit::getLanguageTag ()
 Get the current LOK's language. More...
 
bool comphelper::LibreOfficeKit::isWhitelistedLanguage (const OUString &lang)
 If the language name should be used for this LOK instance. More...
 
static voidcomphelper::LibreOfficeKit::pStatusIndicatorCallbackData (nullptr)
 
void comphelper::LibreOfficeKit::setStatusIndicatorCallback (void(*callback)(void *data, statusIndicatorCallbackType type, int percent), void *data)
 
void comphelper::LibreOfficeKit::statusIndicatorStart ()
 
void comphelper::LibreOfficeKit::statusIndicatorSetValue (int percent)
 
void comphelper::LibreOfficeKit::statusIndicatorFinish ()
 

Variables

static LanguageAndLocale comphelper::LibreOfficeKit::g_aLanguageAndLocale
 
static void(* comphelper::LibreOfficeKit::pStatusIndicatorCallback )(void *data, statusIndicatorCallbackType type, int percent)(nullptr)
 

Variable Documentation

LanguageTag maLanguageTag

Definition at line 44 of file lok.cxx.

LanguageTag maLocaleLanguageTag

Definition at line 45 of file lok.cxx.