BIDI > Support of Bidirectional and Contextual Languages > Bidirectional Attributes  
 
Bidirectional Attributes  
The display of Arabic character strings can be configured with a set of bidirectional attributes:
*The IlvLayoutDirection Attribute
*The IlvNumerals Attribute
*The IlvShaping Attribute
*The IlvSwapping Attribute
*The IlvWordBreak Attribute
These attributes, defined in the <ilviews/bidi/type.h> header file, are represented by five different enumeration types with various possible values, shown in Table 1.1. These values are used to retrieve the visual string that will be displayed from the stored logical string.
Enumerations of Bidirectional Attributes
Bidirectional Attribute
Enumeration
typedef enum IlvLayoutDirection {
IlvLayoutDirectionLeftToRight,
IlvLayoutDirectionRightToLeft,
IlvLayoutDirectionContextual
};
 
typedef enum IlvNumerals {
IlvNumeralsNominal,
IlvNumeralsNational,
IlvNumeralsContextual
};
 
typedef enum IlvShaping {
IlvShapingOff,
IlvShapingOn
};
 
typedef enum IlvSwapping {
IlvSwappingOff,
IlvSwappingOn
};
 
typedef enum IlvWordBreak {
IlvWordBreakOff,
IlvWordBreakOn
};
 
These types and their impact on the shaping of character strings in Arabic or on the objects in which these strings appear are described further in the designated sections.

Version 6.0
Copyright © 2015, Rogue Wave Software, Inc. All Rights Reserved.