Eine aufbereitete Darstellung der Quelle

 
     
 
 
Anforderungen  |   Konzepte  |   Entwurf  |   Entwicklung  |   Qualitätssicherung  |   Lebenszyklus  |   Steuerung
 
 
 
 

Benutzer

Quelle  sdnTextAccessible.h

  Sprache: C
 

/* -*- Mode: C++; tab-width: 2; indent-tabs-mode: nil; c-basic-offset: 2 -*- */
/* vim: set ts=2 et sw=2 tw=80: */
/* 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_sdnTextAccessible_h_
#define mozilla_a11y_sdnTextAccessible_h_

#include "ISimpleDOM.h"
#include "IUnknownImpl.h"

#include "MsaaAccessible.h"

class nsIFrame;
struct nsPoint;

namespace mozilla {
namespace a11y {

class sdnTextAccessible final : public ISimpleDOMText {
 public:
  explicit sdnTextAccessible(MsaaAccessible* aMsaa) : mMsaa(aMsaa) {};
  ~sdnTextAccessible() {}

  DECL_IUNKNOWN

  // ISimpleDOMText

  virtual /* [propget] */ HRESULT STDMETHODCALLTYPE get_domText(
      /* [retval][out] */ BSTR __RPC_FAR* aText);

  virtual HRESULT STDMETHODCALLTYPE get_clippedSubstringBounds(
      /* [in] */ unsigned int startIndex,
      /* [in] */ unsigned int endIndex,
      /* [out] */ int __RPC_FAR* aX,
      /* [out] */ int __RPC_FAR* aY,
      /* [out] */ int __RPC_FAR* aWidth,
      /* [out] */ int __RPC_FAR* aHeight);

  virtual HRESULT STDMETHODCALLTYPE get_unclippedSubstringBounds(
      /* [in] */ unsigned int aStartIndex,
      /* [in] */ unsigned int aEndIndex,
      /* [out] */ int __RPC_FAR* aX,
      /* [out] */ int __RPC_FAR* aY,
      /* [out] */ int __RPC_FAR* aWidth,
      /* [out] */ int __RPC_FAR* aHeight);

  virtual HRESULT STDMETHODCALLTYPE scrollToSubstring(
      /* [in] */ unsigned int aStartIndex,
      /* [in] */ unsigned int aEndIndex);

  virtual /* [propget] */ HRESULT STDMETHODCALLTYPE get_fontFamily(
      /* [retval][out] */ BSTR __RPC_FAR* aFontFamily);

 private:
  /**
   *  Return child frame containing offset on success.
   */

  nsIFrame* GetPointFromOffset(nsIFrame* aContainingFrame, int32_t aOffset,
                               bool aPreferNext, nsPoint& aOutPoint);

  RefPtr<MsaaAccessible> mMsaa;
};

}  // namespace a11y
}  // namespace mozilla

#endif

Messung V0.5 in Prozent
C=90 H=96 G=93

¤ Dauer der Verarbeitung: 0.8 Sekunden  (vorverarbeitet am  2026-06-05) ¤

*© 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.






                                                                                                                                                                                                                                                                                                                                                                                                     


Neuigkeiten

     Aktuelles
     Motto des Tages

Software

     Quellcodebibliothek
     Eigene Quellcodes
     Fremde Quellcodes
     Suchen

Aktivitäten

     Artikel über Sicherheit
     Anleitung zur Aktivierung von SSL

Muße

     Gedichte
     Musik
     Bilder

Jenseits des Üblichen ....
    

Besucherstatistik

Besucherstatistik