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

Classes

struct  FontFeatureItem
 
class  FontFeaturesDialog
 

Typedefs

typedef ::cppu::WeakComponentImplHelper< XServiceInfo, XExecutableDialog, 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::ToggleButton &, void)
 
SAL_DLLPUBLIC_EXPORT css::uno::XInterface * com_sun_star_cui_ColorPicker_get_implementation (css::uno::XComponentContext *, css::uno::Sequence< css::uno::Any > const &)
 
const OUStringLiteral gsColorKey ("Color")
 
const OUStringLiteral gsModeKey ("Mode")
 
static sal_Int32 makeEnumComboBox (weld::ComboBox &rNameBox, vcl::font::FeatureDefinition const &rFeatureDefinition, uint32_t nDefault)
 
 IMPL_LINK_NOARG (FontFeaturesDialog, CheckBoxToggledHdl, weld::ToggleButton &, void)
 
 IMPL_LINK_NOARG (FontFeaturesDialog, ComboBoxSelectedHdl, weld::ComboBox &, void)
 
static AbstractDialogFactory_ImplGetFactory ()
 

Variables

const ColorMode DefaultMode = HUE
 

Typedef Documentation

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

Definition at line 1208 of file colorpicker.cxx.

Function Documentation

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

Definition at line 107 of file colorpicker.cxx.

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 1243 of file colorpicker.cxx.

static AbstractDialogFactory_Impl* cui::GetFactory ( )
static

Definition at line 25 of file cuiexp.cxx.

Referenced by CreateDialogFactory().

const OUStringLiteral cui::gsColorKey ( "Color"  )
const OUStringLiteral cui::gsModeKey ( "Mode"  )
static void cui::HSVtoRGB ( double  dH,
double  dS,
double  dV,
double &  dR,
double &  dG,
double &  dB 
)
static

Definition at line 97 of file colorpicker.cxx.

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

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

Definition at line 1098 of file colorpicker.cxx.

References m_xMFBlue, m_xMFGreen, m_xMFRed, and rEdit.

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

Definition at line 160 of file FontFeaturesDialog.cxx.

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

Definition at line 165 of file FontFeaturesDialog.cxx.

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

Definition at line 969 of file colorpicker.cxx.

References m_aColorField, mdBlue, mdHue, mdRed, mdSat, and meMode.

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

Definition at line 1005 of file colorpicker.cxx.

References m_aColorSlider, and meMode.

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

Definition at line 1123 of file colorpicker.cxx.

References m_xRBBlue, m_xRBBrightness, m_xRBGreen, m_xRBRed, m_xRBSaturation, and meMode.

static sal_Int32 cui::makeEnumComboBox ( weld::ComboBox rNameBox,
vcl::font::FeatureDefinition const &  rFeatureDefinition,
uint32_t  nDefault 
)
static
static void cui::RGBtoCMYK ( double  dR,
double  dG,
double  dB,
double &  fCyan,
double &  fMagenta,
double &  fYellow,
double &  fKey 
)
static

Definition at line 119 of file colorpicker.cxx.

Referenced by IMPL_LINK_NOARG().

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

Definition at line 88 of file colorpicker.cxx.

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

Referenced by IMPL_LINK_NOARG().

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

Definition at line 870 of file colorpicker.cxx.

Variable Documentation

const ColorMode cui::DefaultMode = HUE

Definition at line 191 of file colorpicker.cxx.