Public Member Functions | |
UIATextRangeProvider (UIATextProvider &textProvider, Range< int > range) | |
ULONG STDMETHODCALLTYPE | AddRef () |
JUCE_COMRESULT | AddToSelection () override |
JUCE_COMRESULT | Clone (ComTypes::ITextRangeProvider **pRetVal) override |
JUCE_COMRESULT | Compare (ComTypes::ITextRangeProvider *range, BOOL *pRetVal) override |
JUCE_COMRESULT | CompareEndpoints (ComTypes::TextPatternRangeEndpoint endpoint, ComTypes::ITextRangeProvider *targetRange, ComTypes::TextPatternRangeEndpoint targetEndpoint, int *pRetVal) override |
JUCE_COMRESULT | ExpandToEnclosingUnit (ComTypes::TextUnit unit) override |
JUCE_COMRESULT | FindAttribute (TEXTATTRIBUTEID, VARIANT, BOOL, ComTypes::ITextRangeProvider **pRetVal) override |
JUCE_COMRESULT | FindText (BSTR text, BOOL backward, BOOL ignoreCase, ComTypes::ITextRangeProvider **pRetVal) override |
JUCE_COMRESULT | GetAttributeValue (TEXTATTRIBUTEID attributeId, VARIANT *pRetVal) override |
JUCE_COMRESULT | GetBoundingRectangles (SAFEARRAY **pRetVal) override |
JUCE_COMRESULT | GetChildren (SAFEARRAY **pRetVal) override |
JUCE_COMRESULT | GetEnclosingElement (IRawElementProviderSimple **pRetVal) override |
const AccessibilityHandler & | getHandler () const |
Range< int > | getSelectionRange () const noexcept |
JUCE_COMRESULT | GetText (int maxLength, BSTR *pRetVal) override |
bool | isElementValid () const |
JUCE_COMRESULT | Move (ComTypes::TextUnit unit, int count, int *pRetVal) override |
JUCE_COMRESULT | MoveEndpointByRange (ComTypes::TextPatternRangeEndpoint endpoint, ComTypes::ITextRangeProvider *targetRange, ComTypes::TextPatternRangeEndpoint targetEndpoint) override |
JUCE_COMRESULT | MoveEndpointByUnit (ComTypes::TextPatternRangeEndpoint endpoint, ComTypes::TextUnit unit, int count, int *pRetVal) override |
JUCE_COMRESULT | QueryInterface (REFIID refId, void **result) |
ULONG STDMETHODCALLTYPE | Release () |
JUCE_COMRESULT | RemoveFromSelection () override |
JUCE_COMRESULT | ScrollIntoView (BOOL) override |
JUCE_COMRESULT | Select () override |
Protected Member Functions | |
JUCE_COMRESULT | castToType (void **result) |
Protected Attributes | |
ULONG | refCount |
Private Member Functions | |
void | setEndpointChecked (ComTypes::TextPatternRangeEndpoint endpoint, int newEndpoint) |
Static Private Member Functions | |
static AccessibilityTextHelpers::BoundaryType | getBoundaryType (ComTypes::TextUnit unit) |
Private Attributes | |
ComSmartPtr< AccessibilityNativeHandle > | nativeHandle |
ComSmartPtr< UIATextProvider > | owner |
Range< int > | selectionRange |
|
inline |
Referenced by Clone(), and FindText().
|
inlineinherited |
|
inlineoverride |
References Select().
|
inlineprotectedinherited |
|
inlineoverride |
References owner, selectionRange, UIATextRangeProvider(), and juce::withCheckedComArgs().
|
inlineoverride |
References getSelectionRange(), juce::gl::range, selectionRange, and juce::withCheckedComArgs().
|
inlineoverride |
|
inlineoverride |
References juce::AccessibilityTextHelpers::backwards, juce::end(), juce::AccessibilityTextHelpers::findTextBoundary(), juce::AccessibilityTextHelpers::forwards, getBoundaryType(), juce::Range< ValueType >::getStart(), juce::UIAProviderBase::isElementValid(), owner, selectionRange, juce::gl::start, and juce::ComTypes::TextUnit_Character.
|
inlineoverride |
References juce::withCheckedComArgs().
|
inlineoverride |
|
inlineoverride |
References juce::ComTypes::CaretPosition_BeginningOfLine, juce::ComTypes::CaretPosition_EndOfLine, juce::ComTypes::CaretPosition_Unknown, juce::VariantHelpers::clear(), juce::AccessibilityTextInterface::getTextInsertionOffset(), juce::AccessibilityTextInterface::getTotalNumCharacters(), juce::AccessibilityTextInterface::isReadOnly(), owner, juce::VariantHelpers::setBool(), juce::VariantHelpers::setInt(), juce::ComTypes::UIA_CaretPositionAttributeId, and juce::ComTypes::UIA_IsReadOnlyAttributeId.
|
inlinestaticprivate |
References juce::AccessibilityTextHelpers::character, juce::AccessibilityTextHelpers::document, jassertfalse, juce::AccessibilityTextHelpers::line, juce::ComTypes::TextUnit_Character, juce::ComTypes::TextUnit_Document, juce::ComTypes::TextUnit_Format, juce::ComTypes::TextUnit_Line, juce::ComTypes::TextUnit_Page, juce::ComTypes::TextUnit_Paragraph, juce::ComTypes::TextUnit_Word, and juce::AccessibilityTextHelpers::word.
Referenced by ExpandToEnclosingUnit(), and MoveEndpointByUnit().
|
inlineoverride |
|
inlineoverride |
References juce::withCheckedComArgs().
|
inlineoverride |
|
inlineinherited |
References juce::UIAProviderBase::nativeHandle.
Referenced by juce::UIAExpandCollapseProvider::get_ExpandCollapseState(), juce::UIAValueProvider::get_IsReadOnly(), juce::UIAValueProvider::get_Value(), juce::UIATextProvider::GetCaretRange(), juce::UIAToggleProvider::getCurrentToggleState(), GetEnclosingElement(), juce::UIATransformProvider::getPeer(), juce::UIAWindowProvider::getPeer(), juce::UIASelectionProvider::getSelectedChildren(), juce::UIAInvokeProvider::Invoke(), juce::UIAExpandCollapseProvider::invokeShowMenu(), juce::UIASelectionProvider::isMultiSelectable(), juce::UIAValueProvider::SetValue(), juce::UIARangeValueProvider::SetValue(), juce::UIAToggleProvider::Toggle(), juce::UIAGridItemProvider::withCellInterface(), juce::UIAGridProvider::withTableInterface(), juce::UIATextProvider::withTextInterface(), and juce::UIARangeValueProvider::withValueInterface().
References selectionRange.
Referenced by Compare(), CompareEndpoints(), and MoveEndpointByRange().
|
inlineoverride |
|
inlineinherited |
References juce::UIAProviderBase::nativeHandle.
Referenced by juce::UIAWindowProvider::Close(), ExpandToEnclosingUnit(), juce::UIAInvokeProvider::Invoke(), juce::UIAExpandCollapseProvider::invokeShowMenu(), juce::UIATransformProvider::Move(), MoveEndpointByRange(), RemoveFromSelection(), juce::UIATransformProvider::Resize(), juce::UIATransformProvider::Rotate(), ScrollIntoView(), Select(), juce::UIAValueProvider::SetValue(), juce::UIARangeValueProvider::SetValue(), juce::UIAWindowProvider::SetVisualState(), and juce::UIAToggleProvider::Toggle().
|
inlineoverride |
|
inlineoverride |
|
inlineoverride |
References juce::AccessibilityTextHelpers::backwards, juce::gl::count, juce::AccessibilityTextHelpers::findTextBoundary(), juce::AccessibilityTextHelpers::forwards, getBoundaryType(), juce::Range< ValueType >::getEnd(), juce::Range< ValueType >::getStart(), juce::AccessibilityTextInterface::getTotalNumCharacters(), owner, selectionRange, setEndpointChecked(), and juce::ComTypes::TextPatternRangeEndpoint_Start.
Referenced by Move().
|
inlineinherited |
|
inlineinherited |
|
inlineoverride |
References juce::UIAProviderBase::isElementValid(), and owner.
|
inlineoverride |
References juce::UIAProviderBase::isElementValid().
|
inlineoverride |
References juce::UIAProviderBase::isElementValid(), owner, and selectionRange.
Referenced by AddToSelection().
|
inlineprivate |
|
privateinherited |
Referenced by juce::UIAProviderBase::getHandler(), and juce::UIAProviderBase::isElementValid().
|
private |
|
protectedinherited |