TX Text Control .NET Server

Javascript: ListFormat.Attribute Enumeration

Enumeration|Introduced in 28.0

Description

Determines a certain list format attribute.

Members

MemberDescription
LevelSpecifies the attribute set through the Level property.
LeftIndentSpecifies the attribute set through the LeftIndent property.
FormatCharacterSpecifies the attribute set through the FormatCharacter property.
NumberFormatSpecifies the attribute set through the NumberFormat property.
FirstNumberSpecifies the attribute set through the FirstNumber property.
CharBeforeNumberSpecifies the attribute set through the CharBeforeNumber property.
CharAfterNumberSpecifies the attribute set through the CharAfterNumber property.
RestartNumberingSpecifies the attribute set through the RestartNumbering property.
BulletCharacterSpecifies the attribute set through the BulletCharacter property.
BulletSizeSpecifies the attribute set through the BulletSize property.
HangingIndentSpecifies the attribute set through the HangingIndent property.
TypeSpecifies the attribute set through the Type property.
TextBeforeNumberSpecifies the attribute set through the TextBeforeNumber property.
TextAfterNumberSpecifies the attribute set through the TextAfterNumber property.
FontNameSpecifies the attribute set through the FontName property.
AllSpecifies all attributes of the ListFormat.

Examples

The following example uses TXTextControl.Listformat.Attribute.Level (specifies the attribute set through the Level property.) in a document-editing workflow.

function onTxError(error) {
    console.error("TX Text Control error:", error.msg);
    error.handled = true;
}

TXTextControl.selection.isCommonListFormatValueSelected(
    TXTextControl.Listformat.Attribute.Level,
    function() {
        console.log("is common list format value selected completed.");
    },
    onTxError
);