LibreOffice Module chart2 (master) 1
|
#include <NumberFormatterWrapper.hxx>
Public Member Functions | |
NumberFormatterWrapper (const css::uno::Reference< css::util::XNumberFormatsSupplier > &xSupplier) | |
~NumberFormatterWrapper () | |
SvNumberFormatter * | getSvNumberFormatter () const |
const css::uno::Reference< css::util::XNumberFormatsSupplier > & | getNumberFormatsSupplier () const |
OUString | getFormattedString (sal_Int32 nNumberFormatKey, double fValue, Color &rLabelColor, bool &rbColorChanged) const |
Date | getNullDate () const |
Private Attributes | |
css::uno::Reference< css::util::XNumberFormatsSupplier > | m_xNumberFormatsSupplier |
SvNumberFormatter * | m_pNumberFormatter |
css::uno::Any | m_aNullDate |
Definition at line 31 of file NumberFormatterWrapper.hxx.
chart::NumberFormatterWrapper::NumberFormatterWrapper | ( | const css::uno::Reference< css::util::XNumberFormatsSupplier > & | xSupplier | ) |
Definition at line 50 of file NumberFormatterWrapper.cxx.
References SvNumberFormatsSupplierObj::GetNumberFormatter(), m_aNullDate, m_pNumberFormatter, m_xNumberFormatsSupplier, and SAL_WARN_IF.
chart::NumberFormatterWrapper::~NumberFormatterWrapper | ( | ) |
Definition at line 65 of file NumberFormatterWrapper.cxx.
OUString chart::NumberFormatterWrapper::getFormattedString | ( | sal_Int32 | nNumberFormatKey, |
double | fValue, | ||
Color & | rLabelColor, | ||
bool & | rbColorChanged | ||
) | const |
Definition at line 104 of file NumberFormatterWrapper.cxx.
References SvNumberFormatter::ChangeNullDate(), SvNumberFormatter::ChangeStandardPrec(), Date::GetDay(), Date::GetMonth(), SvNumberFormatter::GetNullDate(), SvNumberFormatter::GetOutputString(), SvNumberFormatter::GetStandardPrec(), Date::GetYear(), m_aNullDate, m_pNumberFormatter, and SvNumberFormatter::UNLIMITED_PRECISION.
Referenced by chart::ExplicitCategoriesProvider::convertCategoryAnysToText(), and chart::FixedNumberFormatter::getFormattedString().
Date chart::NumberFormatterWrapper::getNullDate | ( | ) | const |
Definition at line 88 of file NumberFormatterWrapper.cxx.
References SvNumberFormatter::GetNullDate(), m_aNullDate, and m_pNumberFormatter.
Referenced by chart::ChartView::impl_createDiagramAndContent().
|
inline |
Definition at line 39 of file NumberFormatterWrapper.hxx.
|
inline |
Definition at line 37 of file NumberFormatterWrapper.hxx.
Referenced by chart::ChartController::executeDispatch_InsertMenu_DataLabels(), chart::DiagramHelper::getDateNumberFormat(), chart::DiagramHelper::getDateTimeInputNumberFormat(), chart::DiagramHelper::getPercentNumberFormat(), and chart::SchAttribTabDlg::SchAttribTabDlg().
|
private |
Definition at line 49 of file NumberFormatterWrapper.hxx.
Referenced by getFormattedString(), getNullDate(), and NumberFormatterWrapper().
|
private |
Definition at line 48 of file NumberFormatterWrapper.hxx.
Referenced by getFormattedString(), getNullDate(), and NumberFormatterWrapper().
|
private |
Definition at line 46 of file NumberFormatterWrapper.hxx.
Referenced by NumberFormatterWrapper().