Qt
Internal/Contributor docs for the Qt SDK. Note: These are NOT official API docs; those are found at https://doc.qt.io/
Loading...
Searching...
No Matches
cfgas_stringformatter.cpp File Reference

(e4657a741c23c8f48e0e97ae2091dc2d99f4f27d)

#include "xfa/fgas/crt/cfgas_stringformatter.h"
#include <math.h>
#include <algorithm>
#include <limits>
#include <utility>
#include <vector>
#include "core/fxcrt/cfx_datetime.h"
#include "core/fxcrt/compiler_specific.h"
#include "core/fxcrt/containers/contains.h"
#include "core/fxcrt/fx_extension.h"
#include "core/fxcrt/fx_safe_types.h"
#include "core/fxcrt/notreached.h"
#include "core/fxcrt/stl_util.h"
#include "xfa/fgas/crt/cfgas_decimal.h"
#include "xfa/fgas/crt/locale_mgr_iface.h"
Include dependency graph for cfgas_stringformatter.cpp:

Go to the source code of this file.

Macros

#define FX_NUMSTYLE_Percent   0x01
#define FX_NUMSTYLE_Exponent   0x02
#define FX_NUMSTYLE_DotVorv   0x04
#define SUBC(a, b, c)

Functions

bool FX_DateFromCanonical (pdfium::span< const wchar_t > spDate, CFX_DateTime *datetime)
bool FX_TimeFromCanonical (const LocaleIface *pLocale, pdfium::span< const wchar_t > spTime, CFX_DateTime *datetime)

Macro Definition Documentation

◆ FX_NUMSTYLE_DotVorv

#define FX_NUMSTYLE_DotVorv   0x04

Definition at line 32 of file cfgas_stringformatter.cpp.

◆ FX_NUMSTYLE_Exponent

#define FX_NUMSTYLE_Exponent   0x02

Definition at line 31 of file cfgas_stringformatter.cpp.

◆ FX_NUMSTYLE_Percent

#define FX_NUMSTYLE_Percent   0x01

Definition at line 30 of file cfgas_stringformatter.cpp.

◆ SUBC

#define SUBC ( a,
b,
c )
Value:
a, c
GLboolean GLboolean GLboolean GLboolean a
const GLubyte * c

Definition at line 47 of file cfgas_stringformatter.cpp.

Function Documentation

◆ FX_DateFromCanonical()

bool FX_DateFromCanonical ( pdfium::span< const wchar_t > spDate,
CFX_DateTime * datetime )

Definition at line 761 of file cfgas_stringformatter.cpp.

References CFX_DateTime::SetDate().

Here is the call graph for this function:

◆ FX_TimeFromCanonical()

bool FX_TimeFromCanonical ( const LocaleIface * pLocale,
pdfium::span< const wchar_t > spTime,
CFX_DateTime * datetime )

Definition at line 808 of file cfgas_stringformatter.cpp.

References CFX_DateTime::SetTime().

Here is the call graph for this function: