NVDA Helper
In-process and lite high-speed utilities for NVDA
WinWord::Fields Class Reference

#include <Fields.h>

Public Member Functions

 Fields (IDispatch *pRange)
 Ctor.
 
bool hasLinks (const int rangeStart, const int rangeEnd)
 
bool hasLinks ()
 
std::optional< intgetEndOfPageNumberFieldAtIndex (const int index)
 
 Fields (const Fields &)=delete
 
Fieldsoperator= (const Fields &)=delete
 

Detailed Description

Constructor & Destructor Documentation

◆ Fields() [1/2]

WinWord::Fields::Fields ( IDispatch * pRange)

Ctor.

Parameters
pRangethe range to get field information for. This includes references, links and page numbers. All subsequent queries will be on sub-ranges of this. Most likely, this range should be the paragraph.

References LOG_DEBUGWARNING, wdDISPID_FIELDS_COUNT, wdDISPID_FIELDS_ITEM, wdDISPID_FIELDS_ITEM_RESULT, wdDISPID_FIELDS_ITEM_TYPE, wdDISPID_RANGE_END, wdDISPID_RANGE_FIELDS, and wdDISPID_RANGE_START.

◆ Fields() [2/2]

WinWord::Fields::Fields ( const Fields & )
delete

Member Function Documentation

◆ hasLinks() [1/2]

bool WinWord::Fields::hasLinks ( const int rangeStart,
const int rangeEnd )

◆ hasLinks() [2/2]

bool WinWord::Fields::hasLinks ( )

◆ getEndOfPageNumberFieldAtIndex()

std::optional< int > WinWord::Fields::getEndOfPageNumberFieldAtIndex ( const int index)

◆ operator=()

Fields & WinWord::Fields::operator= ( const Fields & )
delete

The documentation for this class was generated from the following files: