NVDA Helper
In-process and lite high-speed utilities for NVDA
textFromIAccessible.cpp File Reference
#include "textFromIAccessible.h"
#include <string>
#include <vector>
#include <windows.h>
#include <atlcomcli.h>
#include <ia2.h>
#include <common/ia2utils.h>

Go to the source code of this file.

Macros

#define WIN32_LEAN_AND_MEAN
 

Functions

bool isEmpty (CComBSTR &val)
 
bool appendNameDescription (CComPtr< IAccessible > pacc, wstring &textBuf)
 
bool getTextFromIAccessible (wstring &textBuf, IAccessible2 *pacc2, bool useNewText, bool recurse, bool includeTopLevelText)
 

Variables

auto constexpr OBJ_REPLACEMENT_CHAR = L'\xfffc'
 

Macro Definition Documentation

◆ WIN32_LEAN_AND_MEAN

#define WIN32_LEAN_AND_MEAN

Function Documentation

◆ isEmpty()

bool isEmpty ( CComBSTR & val)

References OBJ_REPLACEMENT_CHAR.

Referenced by appendNameDescription().

◆ appendNameDescription()

bool appendNameDescription ( CComPtr< IAccessible > pacc,
wstring & textBuf )

References isEmpty().

Referenced by getTextFromIAccessible().

◆ getTextFromIAccessible()

bool getTextFromIAccessible ( wstring & textBuf,
IAccessible2 * pacc2,
bool useNewText,
bool recurse,
bool includeTopLevelText )

Variable Documentation

◆ OBJ_REPLACEMENT_CHAR

auto constexpr OBJ_REPLACEMENT_CHAR = L'\xfffc'
constexpr

Referenced by getTextFromIAccessible(), and isEmpty().