LibreOffice Module svl (master) 1
|
#include <cstdlib>
#include <dtoa.h>
#include <float.h>
#include <comphelper/string.hxx>
#include <o3tl/string_view.hxx>
#include <sal/log.hxx>
#include <tools/date.hxx>
#include <rtl/math.hxx>
#include <rtl/character.hxx>
#include <unotools/charclass.hxx>
#include <unotools/calendarwrapper.hxx>
#include <unotools/localedatawrapper.hxx>
#include <com/sun/star/i18n/CalendarFieldIndex.hpp>
#include <com/sun/star/i18n/LocaleCalendar2.hpp>
#include <unotools/digitgroupingiterator.hxx>
#include <comphelper/sequence.hxx>
#include <svl/zforlist.hxx>
#include "zforscan.hxx"
#include <svl/zformat.hxx>
#include <memory>
#include "zforfind.hxx"
Go to the source code of this file.
Macros | |
#define | NF_TEST_CALENDAR 0 |
#define | NF_RECOGNIZE_ISO8601_TIMEZONES 0 |
Functions | |
static void | TransformInput (SvNumberFormatter const *pFormatter, OUString &rStr) |
static bool | lcl_IsSignedYearSep (std::u16string_view rStr, std::u16string_view rPat, sal_Int32 nPat) |
If a string is a separator plus '-' minus sign preceding a 'Y' year in a date pattern at position nPat. More... | |
static sal_Int32 | lcl_getPatternSeparatorLength (std::u16string_view rPat, sal_Int32 nPat) |
Length of separator usually is 1 but theoretically could be anything. More... | |
Variables | |
const sal_Unicode | cNoBreakSpace = 0xA0 |
const sal_Unicode | cNarrowNoBreakSpace = 0x202F |
const bool | kDefaultEra = true |
#define NF_RECOGNIZE_ISO8601_TIMEZONES 0 |
Definition at line 69 of file zforfind.cxx.
#define NF_TEST_CALENDAR 0 |
Definition at line 48 of file zforfind.cxx.
|
static |
Length of separator usually is 1 but theoretically could be anything.
Definition at line 1287 of file zforfind.cxx.
Referenced by ImpSvNumberInputScan::IsAcceptedDatePattern(), and ImpSvNumberInputScan::SkipDatePatternSeparator().
|
static |
If a string is a separator plus '-' minus sign preceding a 'Y' year in a date pattern at position nPat.
Definition at line 1269 of file zforfind.cxx.
Referenced by ImpSvNumberInputScan::IsAcceptedDatePattern(), and ImpSvNumberInputScan::SkipDatePatternSeparator().
|
static |
Definition at line 133 of file zforfind.cxx.
References SvNumberFormatter::GetCharClass(), SvNumberFormatter::GetLanguageTag(), LanguageTag::getLocale(), SvNumberFormatter::GetNatNum(), CharClass::isDigit(), and nPos.
Referenced by ImpSvNumberInputScan::IsNumberFormat().
const sal_Unicode cNarrowNoBreakSpace = 0x202F |
Definition at line 72 of file zforfind.cxx.
Referenced by ImpSvNumberInputScan::GetThousandSep(), and ImpSvNumberInputScan::SkipBlanks().
const sal_Unicode cNoBreakSpace = 0xA0 |
Definition at line 71 of file zforfind.cxx.
Referenced by ImpSvNumberInputScan::GetThousandSep(), and ImpSvNumberInputScan::SkipBlanks().
const bool kDefaultEra = true |
Definition at line 73 of file zforfind.cxx.
Referenced by ImpSvNumberInputScan::GetDateRef(), ImpSvNumberInputScan::ImplGetYear(), ImpSvNumberInputScan::IsNumberFormat(), ImpSvNumberInputScan::Reset(), and ImpSvNumberInputScan::ScanMidString().