ICU 77.1  77.1
All Data Structures Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Modules Pages
udisplaycontext.h
Go to the documentation of this file.
1 // © 2016 and later: Unicode, Inc. and others.
2 // License & terms of use: http://www.unicode.org/copyright.html
3 /*
4 *****************************************************************************************
5 * Copyright (C) 2014-2016, International Business Machines
6 * Corporation and others. All Rights Reserved.
7 *****************************************************************************************
8 */
9 
10 #ifndef UDISPLAYCONTEXT_H
11 #define UDISPLAYCONTEXT_H
12 
13 #include "unicode/utypes.h"
14 
15 #if !UCONFIG_NO_FORMATTING
16 
53 };
58 
164 
165 };
169 typedef enum UDisplayContext UDisplayContext;
170 
171 #endif /* #if !UCONFIG_NO_FORMATTING */
172 
173 #endif
UDisplayContextType
Display context types, for getting values of a particular setting.
@ UDISPCTX_TYPE_SUBSTITUTE_HANDLING
Type to retrieve the substitute handling setting, e.g.
@ UDISPCTX_TYPE_DISPLAY_LENGTH
Type to retrieve the display length setting, e.g.
@ UDISPCTX_TYPE_CAPITALIZATION
Type to retrieve the capitalization context setting, e.g.
@ UDISPCTX_TYPE_DIALECT_HANDLING
Type to retrieve the dialect handling setting, e.g.
UDisplayContext
Display context settings.
@ UDISPCTX_NO_SUBSTITUTE
A possible setting for SUBSTITUTE_HANDLING: Returns a null value with error code set to U_ILLEGAL_ARG...
@ UDISPCTX_LENGTH_SHORT
A possible setting for DISPLAY_LENGTH: use short names when generating a locale name,...
@ UDISPCTX_CAPITALIZATION_FOR_UI_LIST_OR_MENU
The capitalization context if a date, date symbol or display name is to be formatted with capitalizat...
@ UDISPCTX_CAPITALIZATION_NONE
The capitalization context to be used is unknown (this is the default value).
@ UDISPCTX_STANDARD_NAMES
A possible setting for DIALECT_HANDLING: use standard names when generating a locale name,...
@ UDISPCTX_LENGTH_FULL
A possible setting for DISPLAY_LENGTH: use full names when generating a locale name,...
@ UDISPCTX_DIALECT_NAMES
A possible setting for DIALECT_HANDLING: use dialect names, when generating a locale name,...
@ UDISPCTX_SUBSTITUTE
A possible setting for SUBSTITUTE_HANDLING: Returns a fallback value (e.g., the input code) when no d...
@ UDISPCTX_CAPITALIZATION_FOR_BEGINNING_OF_SENTENCE
The capitalization context if a date, date symbol or display name is to be formatted with capitalizat...
@ UDISPCTX_CAPITALIZATION_FOR_STANDALONE
The capitalization context if a date, date symbol or display name is to be formatted with capitalizat...
@ UDISPCTX_CAPITALIZATION_FOR_MIDDLE_OF_SENTENCE
The capitalization context if a date, date symbol or display name is to be formatted with capitalizat...
Basic definitions for ICU, for both C and C++ APIs.