2.3.20 NumberListFormat

Target namespace: http://schemas.microsoft.com/office/onenote/2009/internal/specific

Referenced by: jcidNumberListNode

The NumberListFormat simple type is an array of Unicode characters that specifies the format of the text in a numbered or bulleted list. This property MUST be set.

The first character in the array specifies the length, in characters, of the array, not including the first character. The remaining characters in the array specify the appearance of the list item.

A list item is a numbered list if it contains the numbering character 0xFFFD, which MUST be immediately followed by a numbering format character. There MUST NOT be more than one numbering character in the array. All other characters in the array MUST be valid Unicode characters. The list item is a bulleted list if it does not contain the numbering character.

The numbering character and numbering format character represent an automatic number, beginning with 1 and incremented by 1 for each subsequent jcidNumberListNode structure containing identical NumberListFormat strings within the same outline at the same outline element indent level. The value of this automatic number can be overridden by jcidNumberListNode.ListRestart. All other characters in the array are static and do not change with subsequent list items.

The formatting of the automatic number is specified by the numbering format character and MUST be a valid value for the MSONFC data type, as specified in [MS-OSHARED] section 2.2.1.3. Except that the numbering format character MUST NOT be 52, 55, or 56; instead, the value can be 5, which specifies that the enumeration content is formatted according to the operating system’s current language code identifier (LCID), as specified in [MS-LCID], and as listed in the following table.

System language identifier

MSONFC value

LANG_HINDI

msonfcHindi4

LANG_THAI

msonfcThai3

LANG_VIETNAMESE

msonfcViet1

All others

msonfcCardtext