Quellcodebibliothek Statistik Leitseite products/Sources/formale Sprachen/C/Firefox/accessible/windows/uia/   (Firefox Browser Version 153.0.1©)  Datei vom 27.6.2026 mit Größe 2 kB image not shown  

Quelle  UiaText.h

  Sprache: C
 

/* This Source Code Form is subject to the terms of the Mozilla Public
 * License, v. 2.0. If a copy of the MPL was not distributed with this file,
 * You can obtain one at http://mozilla.org/MPL/2.0/. */


#ifndef mozilla_a11y_UiaText_h_
#define mozilla_a11y_UiaText_h_

#include "objbase.h"
#include "uiautomation.h"

#include "IUnknownImpl.h"
#include "mozilla/RefPtr.h"

namespace mozilla::a11y {
class Accessible;
class MsaaAccessible;

/**
 * ITextProvider2 implementation.
 */

class UiaText : public ITextProvider2 {
 public:
  explicit UiaText(MsaaAccessible* aMsaa);

  // IUnknown
  DECL_IUNKNOWN

  // ITextProvider
  virtual HRESULT STDMETHODCALLTYPE GetSelection(
      /* [retval][out] */ __RPC__deref_out_opt SAFEARRAY** aRetVal);

  virtual HRESULT STDMETHODCALLTYPE GetVisibleRanges(
      /* [retval][out] */ __RPC__deref_out_opt SAFEARRAY** aRetVal);

  virtual HRESULT STDMETHODCALLTYPE RangeFromChild(
      /* [in] */ __RPC__in_opt IRawElementProviderSimple* aChildElement,
      /* [retval][out] */ __RPC__deref_out_opt ITextRangeProvider** aRetVal);

  virtual HRESULT STDMETHODCALLTYPE RangeFromPoint(
      /* [in] */ struct UiaPoint aPoint,
      /* [retval][out] */ __RPC__deref_out_opt ITextRangeProvider** aRetVal);

  virtual /* [propget] */ HRESULT STDMETHODCALLTYPE get_DocumentRange(
      /* [retval][out] */ __RPC__deref_out_opt ITextRangeProvider** aRetVal);

  virtual /* [propget] */ HRESULT STDMETHODCALLTYPE get_SupportedTextSelection(
      /* [retval][out] */ __RPC__out enum SupportedTextSelection* aRetVal);

  // ITextProvider2
  virtual HRESULT STDMETHODCALLTYPE RangeFromAnnotation(
      /* [in] */ __RPC__in_opt IRawElementProviderSimple* aAnnotationElement,
      /* [retval][out] */ __RPC__deref_out_opt ITextRangeProvider** aRetVal);

  virtual HRESULT STDMETHODCALLTYPE GetCaretRange(
      /* [out] */ __RPC__out BOOL* aIsActive,
      /* [retval][out] */ __RPC__deref_out_opt ITextRangeProvider** aRetVal);

 private:
  virtual ~UiaText() = default;
  Accessible* Acc() const;

  RefPtr<MsaaAccessible> mMsaa;
};

}  // namespace mozilla::a11y

#endif

Messung V0.5 in Prozent
C=72 H=100 G=86

¤ Dauer der Verarbeitung: 0.13 Sekunden  (vorverarbeitet am  2026-08-24) ¤

*© Formatika GbR, Deutschland






Wurzel

Suchen

PVS Prover

Isabelle Prover

NIST Cobol Testsuite

Cephes Mathematical Library

Vienna Development Method

Haftungshinweis

Die Informationen auf dieser Webseite wurden nach bestem Wissen sorgfältig zusammengestellt. Es wird jedoch weder Vollständigkeit, noch Richtigkeit, noch Qualität der bereit gestellten Informationen zugesichert.

Bemerkung:

Die farbliche Syntaxdarstellung und die Messung sind noch experimentell.