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)
 
OUString ColorPicker_getImplementationName ()
 
Reference< XInterfaceColorPicker_createInstance (Reference< XComponentContext > const &)
 
Sequence< OUString > ColorPicker_getSupportedServiceNames ()
 
static const OUStringLiteral gsColorKey ("Color")
 
static 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 ()
 
css::uno::Reference< css::uno::XInterface > ColorPicker_createInstance (css::uno::Reference< css::uno::XComponentContext > const &)
 

Variables

const ColorMode DefaultMode = HUE
 

Typedef Documentation

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

Definition at line 1209 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 108 of file colorpicker.cxx.

css::uno::Reference<css::uno::XInterface> cui::ColorPicker_createInstance ( css::uno::Reference< css::uno::XComponentContext > const &  )
Reference< XInterface > cui::ColorPicker_createInstance ( Reference< XComponentContext > const &  )

Definition at line 1248 of file colorpicker.cxx.

OUString cui::ColorPicker_getImplementationName ( )

Definition at line 1243 of file colorpicker.cxx.

css::uno::Sequence< OUString > cui::ColorPicker_getSupportedServiceNames ( )
Exceptions
css::uno::RuntimeException

Definition at line 1253 of file colorpicker.cxx.

static AbstractDialogFactory_Impl* cui::GetFactory ( )
static

Definition at line 25 of file cuiexp.cxx.

Referenced by CreateDialogFactory().

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

Definition at line 98 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 1099 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 159 of file FontFeaturesDialog.cxx.

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

Definition at line 164 of file FontFeaturesDialog.cxx.

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

Definition at line 970 of file colorpicker.cxx.

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

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

Definition at line 1006 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 1124 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 120 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 89 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 871 of file colorpicker.cxx.

Variable Documentation

const ColorMode cui::DefaultMode = HUE

Definition at line 192 of file colorpicker.cxx.