2.5.119 Feat11WSSListInfo
The Feat11WSSListInfo structure specifies the relationship between a table column and a Web-based data provider list.
|
|
|
|
|
|
|
|
|
|
1 |
|
|
|
|
|
|
|
|
|
2 |
|
|
|
|
|
|
|
|
|
3 |
|
---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
LCID |
|||||||||||||||||||||||||||||||
cDec |
|||||||||||||||||||||||||||||||
A |
B |
C |
D |
E |
F |
G |
unused1 |
||||||||||||||||||||||||
H |
I |
J |
K |
L |
M |
N |
O |
bDefaultType |
unused2 |
||||||||||||||||||||||
rgbDV (variable) |
|||||||||||||||||||||||||||||||
... |
|||||||||||||||||||||||||||||||
strFormula (variable) |
|||||||||||||||||||||||||||||||
... |
|||||||||||||||||||||||||||||||
reserved |
LCID (4 bytes): An unsigned integer that specifies the language code identifier (LCID) of the source data.
cDec (4 bytes): An unsigned integer that specifies the number of decimal places for a numeric column.
A - fPercent (1 bit): A bit that specifies whether the numeric values in the column are displayed as percentages.
B - fDecSet (1 bit): A bit that specifies whether the numeric values in the column are displayed with a fixed decimal point. The position of the decimal point is specified by the cDec field.
C - fDateOnly (1 bit): A bit that specifies whether only the date part of date/time values is displayed.
D - fReadingOrder (2 bits): An unsigned integer that specifies the reading order. MUST be a value from the following table:
-
Value
Meaning
0x0
Reading order is determined by the application based on the reading order of the cells surrounding the table.
0x1
Reading order is left-to-right.
0x2
Reading order is right-to-left.
E - fRichText (1 bit): A bit that specifies whether the column contains rich text.
F - fUnkRTFormatting (1 bit): A bit that specifies whether the column contains unrecognized rich text formatting.
G - fAlertUnkRTFormatting (1 bit): A bit that specifies whether the column contains unrecognized rich text formatting that requires notifying the user.
unused1 (24 bits): Undefined and MUST be ignored.
H - fReadOnly (1 bit): A bit that specifies whether the column is read only.
I - fRequired (1 bit): A bit that specifies whether every item in this column has to contain data.
J - fMinSet (1 bit): A bit that specifies whether a minimum numeric value for the column exists. The minimum value is stored in the List Data stream within the LISTSCHEMA element, under the Field node's Min attribute.
K - fMaxSet (1 bit): A bit that specifies whether a maximum numeric value for the column exists. The maximum value is stored in the List Data stream within the LISTSCHEMA element, under the Field node's Max attribute.
L - fDefaultSet (1 bit): A bit that specifies whether there is a default value for the column.
M - fDefaultDateToday (1 bit): A bit that specifies whether the default value for the column is the current date.
N - fLoadFormula (1 bit): A bit that specifies whether a validation formula exists for this column. The formula is specified by the strFormula field.
O - fAllowFillIn (1 bit): A bit that specifies whether a choice field allows custom user entries.
bDefaultType (8 bits): An unsigned integer that specifies the type of the rgbDV default value. This field MUST be ignored if fDefaultSet is not 0x1; otherwise, it MUST be a value from the following table:
-
Value
Meaning
0x00
There is no default value specified.
0x01
rgbDV is a string.
0x02
rgbDV is a Boolean.
0x03
rgbDV is a number.
unused2 (16 bits): Undefined, MUST be ignored.
rgbDV (variable): A field of variable data type that specifies the default value for the column. The data type is specified in the lfdt field of the containing Feat11FieldDataItem structure. MUST be one of the data types specified in the following table:
lfdt of the containing Feat11FieldDataItem |
Data Type |
rgbDV data type and meaning |
---|---|---|
0x00000001 |
Short Text |
An XLUnicodeString with a maximum length of 255 Unicode characters. |
0x00000002 |
Number |
An Xnum (section 2.5.342). |
0x00000003 |
Yes/No |
A 32-bit Boolean (section 2.5.14). |
0x00000004 |
Date time |
A DateAsNum. |
0x00000005 |
Invalid |
rgbDV does not exist. |
0x00000006 |
Currency |
An Xnum. |
0x00000007 |
Invalid |
rgbDV does not exist. |
0x00000008 |
Choice |
An XLUnicodeString with a maximum length of 255 Unicode characters. |
0x00000009 |
Invalid |
rgbDV does not exist. |
0x0000000A |
Invalid |
rgbDV does not exist. |
0x0000000B |
Multi-choice |
An XLUnicodeString with a maximum length of 255 Unicode characters. |
strFormula (variable): An XLUnicodeString that specifies the validation formula as defined by the Web based data provider. This field exists if and only if fLoadFormula is set to 0x1.
reserved (4 bytes): MUST be 0x00000000, and MUST be ignored.