TSF Aware

Dictation, Windows Speech Recognition, and Text Services Framework.

Browse by Tags

Tagged Content List
  • Blog Post: Text services: Vista Extensions (UI Elements)

    The TSF tour ends here, with a brief discussion of UI Elements in Vista If your text service wishes to be available in full-screen applications like games, it must implement ITfUIElement , and call the ITfUIElementMgr whenever the text service wants to display some UI. (See the discussion of UILess...
  • Blog Post: Text Services: Vista Extensions

    In Windows Vista, TSF added the ability to run in locations where it had previously been disabled. For example, TSF is now available on secure desktops, in full screen (DirectX) applications, and in MTA threads. However, text services have to be aware of these new environments, and must tell TSF that...
  • Blog Post: Text Services: Candidates

    If your text service supports multiple interpretations of the same input, and you wish to allow users to correct the initial interpretation (for dictation, we call this 'correction'; IMEs tend to call it 'reconversion'), your text service will need to implement these interfaces. Your service will also...
  • Blog Post: Text Services: Function Providers

    TSF allows text services to offer optional extension points through the ITfFunctionProvider interface. Indirection through the function provider allows text services to minimize memory usage and startup time by instantiating services when requested, rather than when loaded. Interface ...
  • Blog Post: Text Services: Language Bar

    If your text service wishes to display some UI on the language bar, then your service will need to create objects that implement one (or more) of the following interfaces: Interface How Obtained ITfLangBarItem Pass this base interface to ITfLangBarItemMgr::AddItem...
  • Blog Post: Text Service: Display Attributes

    If your text service wishes to display text in different colors (e.g., displaying the current composition in red), then your text service needs to implement these interfaces: Interface How Obtained ITfDisplayAttributeProvider Obtained by QI from ITfTextInputProcessor...
  • Blog Post: Text Service Properties

    The next thing that I'd like to talk about are properties. While the TSF manager implements basic property handling (via ITfProperty), a text service has the ability to customize the way TSF handles properties. If your text service wishes to attach private information to the inserted text, it can...
  • Blog Post: Text Service Basics

    We have finally finished looking at the interfaces that TSF implements for you. Now we start looking at the interfaces that text services must implement. The first step are the essential interfaces. Every text service must implement these two interfaces. It may optionally implement other interfaces...
  • Blog Post: A Tour through TSF: Miscellaneous Functions

    The last set of interfaces implemented by the TSF manager are the 'odd-ball' interfaces that don't really fall into any other logical groups. Helpers The interfaces in this category provide auxiliary services for applications or text services. Interface How to Obtain ...
  • Blog Post: A Tour through TSF: Language Bar

    These interfaces manage the language bar and the items that display on the language bar. These interfaces are used exclusively by text services, and will be discussed further in a future post. Interface How to Obtain ITfLangBarMgr CoCreateInstance(CLSID_TF_LangBarMgr...
  • Blog Post: A Tour through TSF: Enumerators

    The next set of TSF manager interfaces are the enumerators. These are rather boring interfaces; they just enumerate things. Generally speaking, the enumerators enumerate things owned by the item that provides the enumerator. For example, IEnumTfContexts is returned from ITfDocumentMgr. Therefore,...
  • Blog Post: A Tour through TSF: Event sinks

    The interfaces in this category allow you to be called back when certain events happen on another interface. These callbacks are generally referred to as 'event sinks'. Interface How to Obtain ITfSource QI on ITfThreadMgr , ITfContext , ITfCompartment , ITfInputProcessorProfiles...
  • Blog Post: A Tour through TSF: Contexts and Ranges

    Our next stop on our tour through TSF brings us to the two most heavily used interfaces in text services: Contexts and Ranges. But first, a quick diversion to discuss the relationship between threads, documents, and contexts. The ITfThreadMgr object is the primary object implemented by TSF. TSF ensures...
  • Blog Post: A Tour through TSF: TSF Managers

    The next stop on the tour is an extended visit through the TSF manager interfaces. Since TSF implements a lot of interfaces, I decided to break them up into separate posts. I've also included a (very brief) description of how a text service (or application) would obtain an instance of each interface...
  • Blog Post: TSF Application interfaces

    The first stop on the TSF tour is the application interfaces. These are implemented by applications or text controls. An application (or text control) must implement ITextStoreACP to be considered ‘TSF-aware'. It may choose to implement any of the other interfaces described in the table below. I also...
  • Blog Post: A Tour through TSF

    The Text Services Framework consists of over 100 interfaces. MSDN does a pretty good job describing what each interface implements, and who should implement it, but it doesn’t do a great job of showing how all the interfaces fit together. I've composed a series of posts that divide the TSF interfaces...
Page 1 of 1 (16 items)