LibreOffice Module cui (master) 1
Classes | Typedefs | Functions | Variables
cui Namespace Reference

Classes

struct  FontFeatureItem
 
class  FontFeaturesDialog
 

Typedefs

typedef ::comphelper::WeakComponentImplHelper< XServiceInfo, XExecutableDialog, XAsynchronousExecutableDialog, XInitialization, XPropertyAccess > ColorPickerBase
 

Functions

static void RGBtoHSV (double dR, double dG, double dB, double &dH, double &dS, double &dV)
 
static void HSVtoRGB (double dH, double dS, double dV, double &dR, double &dG, double &dB)
 
static void CMYKtoRGB (double fCyan, double fMagenta, double fYellow, double fKey, double &dR, double &dG, double &dB)
 
static void RGBtoCMYK (double dR, double dG, double dB, double &fCyan, double &fMagenta, double &fYellow, double &fKey)
 
static int toInt (double dValue, double dRange)
 
 IMPL_LINK_NOARG (ColorPickerDialog, ColorFieldControlModifydl, ColorFieldControl &, void)
 
 IMPL_LINK_NOARG (ColorPickerDialog, ColorSliderControlModifyHdl, ColorSliderControl &, void)
 
 IMPL_LINK (ColorPickerDialog, ColorModifyMetricHdl, weld::MetricSpinButton &, rEdit, void)
 
 IMPL_LINK_NOARG (ColorPickerDialog, ColorModifyEditHdl, weld::Entry &, void)
 
 IMPL_LINK (ColorPickerDialog, ColorModifySpinHdl, weld::SpinButton &, rEdit, void)
 
 IMPL_LINK_NOARG (ColorPickerDialog, ModeModifyHdl, weld::Toggleable &, void)
 
SAL_DLLPUBLIC_EXPORT css::uno::XInterface * com_sun_star_cui_ColorPicker_get_implementation (css::uno::XComponentContext *, css::uno::Sequence< css::uno::Any > const &)
 
constexpr OUStringLiteral gsColorKey (u"Color")
 
constexpr OUStringLiteral gsModeKey (u"Mode")
 
static sal_Int32 makeEnumComboBox (weld::ComboBox &rNameBox, vcl::font::FeatureDefinition const &rFeatureDefinition, uint32_t nDefault)
 
 IMPL_LINK (FontFeatureItem, CheckBoxToggledHdl, weld::Toggleable &, rToggle, void)
 
 IMPL_LINK_NOARG (FontFeaturesDialog, CheckBoxToggledHdl, weld::Toggleable &, void)
 
 IMPL_LINK_NOARG (FontFeaturesDialog, ComboBoxSelectedHdl, weld::ComboBox &, void)
 
static AbstractDialogFactory_ImplGetFactory ()
 

Variables

const ColorMode DefaultMode = HUE
 
constexpr int nCenterOffset = 5
 

Typedef Documentation

◆ ColorPickerBase

typedef ::comphelper::WeakComponentImplHelper< XServiceInfo, XExecutableDialog, XAsynchronousExecutableDialog, XInitialization, XPropertyAccess > cui::ColorPickerBase

Definition at line 1224 of file colorpicker.cxx.

Function Documentation

◆ CMYKtoRGB()

static void cui::CMYKtoRGB ( double  fCyan,
double  fMagenta,
double  fYellow,
double  fKey,
double &  dR,
double &  dG,
double &  dB 
)
static

Definition at line 110 of file colorpicker.cxx.

◆ com_sun_star_cui_ColorPicker_get_implementation()

SAL_DLLPUBLIC_EXPORT css::uno::XInterface * cui::com_sun_star_cui_ColorPicker_get_implementation ( css::uno::XComponentContext *  ,
css::uno::Sequence< css::uno::Any > const &   
)

Definition at line 1262 of file colorpicker.cxx.

◆ GetFactory()

static AbstractDialogFactory_Impl * cui::GetFactory ( )
static

Definition at line 25 of file cuiexp.cxx.

Referenced by CreateDialogFactory().

◆ gsColorKey()

constexpr OUStringLiteral cui::gsColorKey ( u"Color"  )
constexpr

◆ gsModeKey()

constexpr OUStringLiteral cui::gsModeKey ( u"Mode"  )
constexpr

◆ HSVtoRGB()

static void cui::HSVtoRGB ( double  dH,
double  dS,
double  dV,
double &  dR,
double &  dG,
double &  dB 
)
static

Definition at line 100 of file colorpicker.cxx.

References basegfx::utils::hsv2rgb(), and result.

◆ IMPL_LINK() [1/3]

cui::IMPL_LINK ( ColorPickerDialog  ,
ColorModifyMetricHdl  ,
weld::MetricSpinButton ,
rEdit  ,
void   
)

◆ IMPL_LINK() [2/3]

cui::IMPL_LINK ( ColorPickerDialog  ,
ColorModifySpinHdl  ,
weld::SpinButton ,
rEdit  ,
void   
)

Definition at line 1114 of file colorpicker.cxx.

References m_xMFBlue, m_xMFGreen, m_xMFRed, and n.

◆ IMPL_LINK() [3/3]

cui::IMPL_LINK ( FontFeatureItem  ,
CheckBoxToggledHdl  ,
weld::Toggleable ,
rToggle  ,
void   
)

Definition at line 201 of file FontFeaturesDialog.cxx.

◆ IMPL_LINK_NOARG() [1/6]

cui::IMPL_LINK_NOARG ( ColorPickerDialog  ,
ColorFieldControlModifydl  ,
ColorFieldControl &  ,
void   
)

Definition at line 985 of file colorpicker.cxx.

References BLUE, GREEN, m_aColorField, mdBlue, mdHue, mdRed, mdSat, meMode, RED, x, and y.

◆ IMPL_LINK_NOARG() [2/6]

cui::IMPL_LINK_NOARG ( ColorPickerDialog  ,
ColorModifyEditHdl  ,
weld::Entry ,
void   
)

◆ IMPL_LINK_NOARG() [3/6]

cui::IMPL_LINK_NOARG ( ColorPickerDialog  ,
ColorSliderControlModifyHdl  ,
ColorSliderControl &  ,
void   
)

Definition at line 1021 of file colorpicker.cxx.

References BLUE, GREEN, m_aColorSlider, meMode, and RED.

◆ IMPL_LINK_NOARG() [4/6]

cui::IMPL_LINK_NOARG ( ColorPickerDialog  ,
ModeModifyHdl  ,
weld::Toggleable ,
void   
)

Definition at line 1139 of file colorpicker.cxx.

References BLUE, eMode, GREEN, m_xRBBlue, m_xRBBrightness, m_xRBGreen, m_xRBRed, m_xRBSaturation, meMode, and RED.

◆ IMPL_LINK_NOARG() [5/6]

cui::IMPL_LINK_NOARG ( FontFeaturesDialog  ,
CheckBoxToggledHdl  ,
weld::Toggleable ,
void   
)

Definition at line 208 of file FontFeaturesDialog.cxx.

◆ IMPL_LINK_NOARG() [6/6]

cui::IMPL_LINK_NOARG ( FontFeaturesDialog  ,
ComboBoxSelectedHdl  ,
weld::ComboBox ,
void   
)

Definition at line 213 of file FontFeaturesDialog.cxx.

◆ makeEnumComboBox()

static sal_Int32 cui::makeEnumComboBox ( weld::ComboBox rNameBox,
vcl::font::FeatureDefinition const &  rFeatureDefinition,
uint32_t  nDefault 
)
static

◆ RGBtoCMYK()

static void cui::RGBtoCMYK ( double  dR,
double  dG,
double  dB,
double &  fCyan,
double &  fMagenta,
double &  fYellow,
double &  fKey 
)
static

Definition at line 122 of file colorpicker.cxx.

Referenced by IMPL_LINK_NOARG().

◆ RGBtoHSV()

static void cui::RGBtoHSV ( double  dR,
double  dG,
double  dB,
double &  dH,
double &  dS,
double &  dV 
)
static

Definition at line 91 of file colorpicker.cxx.

References result, and basegfx::utils::rgb2hsv().

Referenced by IMPL_LINK_NOARG().

◆ toInt()

static int cui::toInt ( double  dValue,
double  dRange 
)
static

Definition at line 882 of file colorpicker.cxx.

Variable Documentation

◆ DefaultMode

const ColorMode cui::DefaultMode = HUE

Definition at line 194 of file colorpicker.cxx.

◆ nCenterOffset

constexpr int cui::nCenterOffset = 5
constexpr

Definition at line 403 of file colorpicker.cxx.