TS_ATTR_* Constants

The TS_ATTR_* constants are used to obtain and change the values of document attributes. These constants form possible values of bitfield flags in ITextStoreACP and ITextStoreAnchor methods.

Constant/value Description
TS_ATTR_FIND_BACKWARDS
( 0x1 )
Search backward from the start character or anchor position for the position where a transition occurs in a document attribute value. The default is search forward.
TS_ATTR_FIND_WANT_OFFSET
( 0x2 )
Return the number of characters between the start character or anchor position (acpStart in ITextStoreACP::FindNextAttrTransition or paStart in ITextStoreAnchor::FindNextAttrTransition ) and the position at which an attribute transition occurs.
TS_ATTR_FIND_UPDATESTART
( 0x4 )
Used by ITextStoreAnchor::FindNextAttrTransition to position the input anchor at the next attribute transition, if one is found. Otherwise the input anchor is not modified.
TS_ATTR_FIND_WANT_VALUE
( 0x8 )
Load supported document attribute values into the TS_ATTRVAL structure.
TS_ATTR_FIND_WANT_END
( 0x10 )
Used by ITextStoreACP::RequestAttrsTransitioningAtPosition and ITextStoreAnchor::RequestAttrsTransitioningAtPosition to obtain the document attribute values that end at the specified character or anchor position.
TS_ATTR_FIND_HIDDEN
( 0x20 )
Reserved.

Requirements

Requirement Value
Minimum supported client
Windows 2000 Professional [desktop apps only]
Minimum supported server
Windows 2000 Server [desktop apps only]
Redistributable
TSF 1.0 on Windows 2000 Professional
Header
Textstor.h
IDL
Textstor.idl

See also

TS_ATTRID

TS_ATTRVAL

ITextStoreACP::FindNextAttrTransition

ITextStoreACP::RequestAttrsTransitioningAtPosition

ITextStoreAnchor::FindNextAttrTransition

ITextStoreAnchor::RequestAttrsTransitioningAtPosition