pub enum PresentationVariant {
Show 23 variants
Default = 0,
LatinDecimals = 1,
ArabicDecimals = 2,
MirrorPairs = 3,
MirrorFormulae = 4,
Isolated = 5,
Initial = 6,
Medial = 7,
Final = 8,
DecimalFullStop = 9,
DecimalComma = 10,
VowelAboveOrBelow = 11,
VowelAfterPreceding = 12,
ContextualShapeArabicScriptWithLamAleph = 13,
ContextualShapeArabicScript = 14,
NoMirroring = 15,
NoVowels = 16,
SlantFollowsStringDirection = 17,
NoContextualShapeArabicScript = 18,
NoContextualShapeArabicScriptExceptDigits = 19,
DeviceDependentDecimalDigits = 20,
PersistCharacterForm = 21,
DesistCharacterForm = 22,
}
Expand description
Valid parameter values to the function SAPV
.
Variants§
Default = 0
Default presentation (implementation-defined); cancels the effect of any preceding occurrence of SAPV
in the
data stream.
LatinDecimals = 1
The decimal digits are presented by means of the graphic symbols used in the Latin script.
ArabicDecimals = 2
The decimal digits are presented by means of the graphic symbols used in the Arabic script, i.e. the Hindi symbols.
MirrorPairs = 3
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 = 4
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 = 5
The following graphic character is presented in its isolated form.
Initial = 6
The following graphic character is presented in its initial form.
Medial = 7
The following graphic character is presented in its medial form.
Final = 8
The following graphic character is presented in its final form.
DecimalFullStop = 9
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 = 10
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 = 11
Vowels are presented above or below the preceding character.
VowelAfterPreceding = 12
Vowels are presented after the preceding character.
ContextualShapeArabicScriptWithLamAleph = 13
Contextual shape determination of Arabic scripts, including the LAM-ALEPH ligature but excluding all other Arabic ligatures.
ContextualShapeArabicScript = 14
Contextual shape determination of Arabic scripts, excluding all Arabic ligatures.
NoMirroring = 15
Cancels the effect of PresentationVariant::MirrorPairs
and PresentationVariant::MirrorFormulae
.
NoVowels = 16
Vowels are not presented.
SlantFollowsStringDirection = 17
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 = 18
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 = 19
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 = 20
The graphic symbols used to present the decimal digits are device dependent.
PersistCharacterForm = 21
Establishes the effect of parameter values PresentationVariant::Isolated
, PresentationVariant::Initial
,
PresentationVariant::Medial
, and PresentationVariant::Final
for the following graphic characters until
cancelled.
DesistCharacterForm = 22
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 for PresentationVariant
impl PartialEq 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 ==
.