pub enum PresentationVariant {
Show 23 variants
Default,
LatinDecimals,
ArabicDecimals,
MirrorPairs,
MirrorFormulae,
Isolated,
Initial,
Medial,
Final,
DecimalFullStop,
DecimalComma,
VowelAboveOrBelow,
VowelAfterPreceding,
ContextualShapeArabicScriptWithLamAleph,
ContextualShapeArabicScript,
NoMirroring,
NoVowels,
SlantFollowsStringDirection,
NoContextualShapeArabicScript,
NoContextualShapeArabicScriptExceptDigits,
DeviceDependentDecimalDigits,
PersistCharacterForm,
DesistCharacterForm,
}
Expand description
Valid parameter values to the function SAPV
.
Variants§
Default
Default presentation (implementation-defined); cancels the effect of any preceding occurrence of SAPV
in the
data stream.
LatinDecimals
The decimal digits are presented by means of the graphic symbols used in the Latin script.
ArabicDecimals
The decimal digits are presented by means of the graphic symbols used in the Arabic script, i.e. the Hindi symbols.
MirrorPairs
When the direction of the character path is right-to-left, each of the graphic characters in the graphic character set(s) in use which is one of a left/right handed pair (parentheses, square brackets, curly brackets, greater-than/less-than signs, etc.) is presented as “mirrored”, i.e. as the other member of the pair. For example, the coded graphic character given the name LEFT PARENTHESIS is presented as RIGHT PARENTHESIS, and vice versa.
MirrorFormulae
When the direction of the character path is right-to-left, all graphic characters which represent operators and delimiters in mathematical formulae and which are not symmetrical about a vertical axis are presented as mirrored about that vertical axis.
Isolated
The following graphic character is presented in its isolated form.
Initial
The following graphic character is presented in its initial form.
Medial
The following graphic character is presented in its medial form.
Final
The following graphic character is presented in its final form.
DecimalFullStop
Where the bit combination 02/14
is intended to represent a decimal mark in a decimal number it shall be
represented by means of the graphic symbol FULL STOP.
DecimalComma
Where the bit combination 02/14
is intended to represent a decimal mark in a decimal number it shall be
represented by means of the graphic symbol COMMA.
VowelAboveOrBelow
Vowels are presented above or below the preceding character.
VowelAfterPreceding
Vowels are presented after the preceding character.
ContextualShapeArabicScriptWithLamAleph
Contextual shape determination of Arabic scripts, including the LAM-ALEPH ligature but excluding all other Arabic ligatures.
ContextualShapeArabicScript
Contextual shape determination of Arabic scripts, excluding all Arabic ligatures.
NoMirroring
Cancels the effect of PresentationVariant::MirrorPairs
and PresentationVariant::MirrorFormulae
.
NoVowels
Vowels are not presented.
SlantFollowsStringDirection
When the string direction is right-to-left, the italicized characters are slanted to the left, when the string direction is left-to-right, the italicized characters are slanted to the right.
NoContextualShapeArabicScript
Contextual shape determination of Arabic scripts is not used, the graphic characters - including the digits - are presented in the form they are stored (pass-through).
NoContextualShapeArabicScriptExceptDigits
Contextual shape determination of Arabic scripts i not used, the graphic characters - excluding the digits - are presented in the form they are stored (pass-through).
DeviceDependentDecimalDigits
The graphic symbols used to present the decimal digits are device dependent.
PersistCharacterForm
Establishes the effect of parameter values PresentationVariant::Isolated
, PresentationVariant::Initial
,
PresentationVariant::Medial
, and PresentationVariant::Final
for the following graphic characters until
cancelled.
DesistCharacterForm
Cancels the effect of parameter value PresentationVariant::PersistCharacterForm
, i.e. re-establishes the
effect of parameter values PresentationVariant::Isolated
, PresentationVariant::Initial
,
PresentationVariant::Medial
, and PresentationVariant::Final
for the next single graphic character only.
Trait Implementations§
source§impl Clone for PresentationVariant
impl Clone for PresentationVariant
source§fn clone(&self) -> PresentationVariant
fn clone(&self) -> PresentationVariant
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source
. Read moresource§impl Default for PresentationVariant
impl Default for PresentationVariant
source§fn default() -> PresentationVariant
fn default() -> PresentationVariant
source§impl PartialEq<PresentationVariant> for PresentationVariant
impl PartialEq<PresentationVariant> for PresentationVariant
source§fn eq(&self, other: &PresentationVariant) -> bool
fn eq(&self, other: &PresentationVariant) -> bool
self
and other
values to be equal, and is used
by ==
.