LibreOffice Module vcl (master)
1
|
#include <sal/config.h>
#include <string_view>
#include <sal/log.hxx>
#include <osl/diagnose.h>
#include <comphelper/string.hxx>
#include <vcl/builder.hxx>
#include <vcl/fieldvalues.hxx>
#include <vcl/toolkit/field.hxx>
#include <vcl/event.hxx>
#include <vcl/svapp.hxx>
#include <vcl/settings.hxx>
#include <vcl/uitest/uiobject.hxx>
#include <vcl/uitest/metricfielduiobject.hxx>
#include <svdata.hxx>
#include <i18nutil/unicode.hxx>
#include <rtl/math.hxx>
#include <unotools/localedatawrapper.hxx>
#include <boost/property_tree/ptree.hpp>
#include <tools/json_writer.hxx>
Go to the source code of this file.
Namespaces | |
vcl | |
Macros | |
#define | K *1000L |
#define | M *1000000LL |
#define | X *5280L |
Functions | |
static bool | ImplMetricProcessKeyInput (const KeyEvent &rKEvt, bool bUseThousandSep, const LocaleDataWrapper &rWrapper) |
static OUString | ImplMetricGetUnitText (const OUString &rStr) |
static OUString | ImplMetricToString (FieldUnit rUnit) |
FieldUnit | vcl::StringToMetric (const OUString &rMetricString) |
static FieldUnit | ImplMetricGetUnit (const OUString &rStr) |
static FieldUnit | ImplMap2FieldUnit (MapUnit meUnit, tools::Long &nDecDigits) |
static double | nonValueDoubleToValueDouble (double nValue) |
sal_Int64 | vcl::ConvertValue (sal_Int64 nValue, sal_Int64 mnBaseValue, sal_uInt16 nDecDigits, FieldUnit eInUnit, FieldUnit eOutUnit) |
sal_Int64 | vcl::ConvertValue (sal_Int64 nValue, sal_uInt16 nDigits, MapUnit eInUnit, FieldUnit eOutUnit) |
double | vcl::ConvertDoubleValue (double nValue, sal_Int64 mnBaseValue, sal_uInt16 nDecDigits, FieldUnit eInUnit, FieldUnit eOutUnit) |
double | vcl::ConvertDoubleValue (double nValue, sal_uInt16 nDigits, MapUnit eInUnit, FieldUnit eOutUnit) |
double | vcl::ConvertDoubleValue (double nValue, sal_uInt16 nDigits, FieldUnit eInUnit, MapUnit eOutUnit) |
bool | vcl::TextToValue (const OUString &rStr, double &rValue, sal_Int64 nBaseValue, sal_uInt16 nDecDigits, const LocaleDataWrapper &rLocaleDataWrapper, FieldUnit eUnit) |
static bool | ImplCurrencyProcessKeyInput (const KeyEvent &rKEvt, bool bUseThousandSep, const LocaleDataWrapper &rWrapper) |
static bool | ImplCurrencyGetValue (const OUString &rStr, sal_Int64 &rValue, sal_uInt16 nDecDigits, const LocaleDataWrapper &rWrapper) |
Variables | |
const sal_Int64 | aImplFactor [sal_uInt16(FieldUnit::LINE)+1][sal_uInt16(FieldUnit::LINE)+1] |
#define X *5280L |
Definition at line 977 of file field.cxx.
Referenced by TextView::Command(), vcl::PDFWriterImpl::drawEllipse(), vcl::PDFWriterImpl::drawRectangle(), HatchCmpFnc(), vcl::ImplPolygonRectTest(), GDIMetaFile::Rotate(), and vcl::PDFWriterImpl::writeGradientFunction().
|
static |
Definition at line 1717 of file field.cxx.
Referenced by ImplLongCurrencyGetValue(), and ImplLongCurrencyReformat().
|
static |
|
static |
Definition at line 1004 of file field.cxx.
Referenced by vcl::ConvertDoubleValue(), and vcl::ConvertValue().
|
static |
Definition at line 969 of file field.cxx.
References ImplMetricGetUnitText(), and vcl::StringToMetric().
Referenced by vcl::TextToValue().
|
static |
Definition at line 921 of file field.cxx.
References unicode::isAlpha(), and unicode::isControl().
Referenced by ImplMetricGetUnit().
|
static |
Definition at line 914 of file field.cxx.
Referenced by MetricField::PreNotify(), and MetricBox::PreNotify().
|
static |
Definition at line 941 of file field.cxx.
References ImplGetFieldUnits().
Referenced by MetricFormatter::CreateFieldText().
|
static |
Definition at line 1040 of file field.cxx.
Referenced by vcl::ConvertValue().
const sal_Int64 aImplFactor[sal_uInt16(FieldUnit::LINE)+1][sal_uInt16(FieldUnit::LINE)+1] |
Definition at line 983 of file field.cxx.
Referenced by vcl::ConvertDoubleValue().