namespace com::sun::star { namespace accessibility { class XAccessibleContext; } namespace awt { class XControl; } namespace beans { class XPropertySet; } namespace beans { class XPropertySetInfo; } namespace lang { class XComponent; } namespace lang { class XTypeProvider; } namespace uno { class XAggregation; }
}
namespace accessibility
{ class OWrappedAccessibleChildrenManager;
}
namespace accessibility {
class AccessibleShapeInfo; class AccessibleShapeTreeInfo;
/** Initialize a new shape. See the documentation of the base' constructor forthereasonofthismethod'sexistence.
*/ virtualvoid Init( ) override;
/// Create a name string that contains the accessible name. virtual OUString
CreateAccessibleBaseName( ) override;
/** Create a unique name string that contains the accessible name. The nameconsistsofthebasenameandtheindex.
*/ virtual OUString
CreateAccessibleName( ) override;
/// Create a description string that contains the accessible description.
OUString CreateAccessibleDescription();
#ifdef DBG_UTIL /// Set the specified state virtualbool SetState( sal_Int64 _nState ) override; #endif// DBG_UTIL
/// (safely) reads the given property from the model of the UNO control
OUString getControlModelStringProperty( const OUString& _rPropertyName ) const;
/// ensure that our control model exists(will be retrieved upon need only) bool ensureControlModelAccess( );
/// ensures that we're listening for the given property if(and only if!) necessary bool ensureListeningState( constbool _bCurrentlyListening, constbool _bNeedNewListening, const OUString& _rPropertyName );
/// starts multiplexing the state changes of our aggregate context void startStateMultiplexing( ); /// stops multiplexing the state changes of our aggregate context void stopStateMultiplexing( );
/** adjusts our AccessibleRole, depending on the control type we're working for
css::uno::Reference< css::beans::XPropertySet >
m_xControlModel;
css::uno::Reference< css::beans::XPropertySetInfo >
m_xModelPropsMeta; // cache this for performance reasons
css::uno::Reference< css::awt::XControl >
m_xUnoControl; // our UNO control
css::uno::WeakReference< css::accessibility::XAccessibleContext >
m_aControlContext; // the AccessibleContext of the control
css::uno::Reference< css::uno::XAggregation >
m_xControlContextProxy; // the proxy for "aggregating" the AccessibleContext of the control
css::uno::Reference< css::lang::XTypeProvider >
m_xControlContextTypeAccess; // cached interface of our aggregate
css::uno::Reference< css::lang::XComponent >
m_xControlContextComponent; // cached interface of our aggregate
bool m_bListeningForName : 1; // are we currently listening for changes of the "Name" property? bool m_bListeningForDesc : 1; // are we currently listening for changes of the "HelpText" property? bool m_bMultiplexingStates : 1; // are we currently multiplexing state changes of the native context? bool m_bDisposeNativeContext : 1; // do we need to dispose mxNativeContextComponent? bool m_bWaitingForControl : 1; // if we are created before our control exists, we need to wait for it to appear ...
};
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.