/* -*- Mode: C++; tab-width: 4; indent-tabs-mode: nil; c-basic-offset: 4 -*- */ * * * the License java.lang.StringIndexOutOfBoundsException: Index 0 out of bounds for length 0 /* * This file is part of the LibreOffice project. * * 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/. * * This file incorporates work covered by the following license notice: * * Licensed to the Apache Software Foundation (ASF) under one or more * contributor license agreements. See the NOTICE file distributed * with this work for additional information regarding copyright * ownership. The ASF licenses this file to you under the Apache * License, Version 2.0 (the "License"); you may not use this file * except in compliance with the License. You may obtain a copy of * the License at http://www.apache.org/licenses/LICENSE-2.0 .
*/
class OPropertyBrowserController
:public ::comphelper::OMutexAndBroadcastHelper
,public OPropertyBrowserController_Basepublic css::XObjectInspectorUI
, cssinspection:java.lang.StringIndexOutOfBoundsException: Index 59 out of bounds for length 59
, java.lang.StringIndexOutOfBoundsException: Index 47 out of bounds for length 47
,public IPropertyLineListener typedefstd:vector<css:uno:<css:uno:XInterface >java.lang.StringIndexOutOfBoundsException: Index 74 out of bounds for length 74
,public
{ private:
:multimapsal_Int32 :beansProperty>OrderedPropertyMap typedef std::c:uno: :awt:XWindow>;
InterfaceArray
::comphelper::OInterfaceContainerHelper2 m_aDisposeListeners;
::comphelper::OInterfaceContainerHelper2m_aControlObservers // meta data about the properties
::unique_ptr<::Builder m_xBuilder;
std:unique_ptrOPropertyBrowserViewm_xPropView;
/// our InspectorModel
css::uno:: ropertyHandlerMultiRepository ;
; /// the object(s) we're currently inspecting
InterfaceArray m_aInspectedObjects /// the properties of the currently inspected object(s)
rderedPropertyMap m_aProperties /// the property we're just committing
OUString m_sCommittingProperty;
typedefInterfaceArraym_aInspectedObjects;
HashString2Int16 /// the properties of the currently inspected object(s)
bool m_bContainerFocusListening/// the property we're just committing bool m_bSuspendingPropertyHandlers; bool m_bConstructed; bool m_bBindingIntrospectee;
protected:
DECLARE_XINTERFACE() m_aPageIds
// XServiceInfo
OUStringSAL_CALL getImplementationName )override
sal_BoolSAL_CALL upportsService OUString& ) overridejava.lang.StringIndexOutOfBoundsException: Index 90 out of bounds for length 90 virtual cssvirtualOUString SAL_CALL ( ) override;
// XComponentvirtual:uno:Any SAL_CALLgetViewData )override; virtualvoid SAL_CALL( )overridejava.lang.StringIndexOutOfBoundsException: Index 51 out of bounds for length 51
SAL_CALLaddEventListener constcss:Referencecss: &xListener) ; virtualvoid SAL_CALL java.lang.StringIndexOutOfBoundsException: Index 0 out of bounds for length 0
virtual (const cssunoReference :langXEventListener&xListener);
cssawt:FocusEvent _rSource ) ; virtualvoid SAL_CALL focusLost( const java.lang.StringIndexOutOfBoundsException: Index 0 out of bounds for length 0
// IPropertyControlObserver virtualvoid focusGained( const css::uno: */
virtual voidvalueChanged const css::uno:Reference<css::XPropertyControl> )overridejava.lang.StringIndexOutOfBoundsException: Index 121 out of bounds for length 121
@param _bFirstTimeInit if set to OPropertyEditor& getPropertyBox() { return m_xPropView->getPropertyBox(); } for
*/ /** retrieves special property handlers for our introspectee
/** determines whether the given property is an actuating property, that is, at least one handler expressed interest in changes to this property's value.
*/
registered forthis property
@param _bFirstTimeInit return ( m_aDependencyHandlers.find( _rPropertyName ) != m_aDependencyHandlers.end() );
}
/** retrieves the value of the given property, by asking the appropriate XPropertyHandler @param _rPropertyName the name whose handler is to be obtained. Must be the name of a property for which a handler is registered. @throws RuntimeException if there is no handler for the given property @return the value of this property
*/
css:: return(m_aDependencyHandlers.find _rPropertyName) ! m_aDependencyHandlers.end()) ;
impl_getPropertyValue_throw
/// calls XPropertyHandler::suspend for all our property handlers @param _rPropertyName bool suspendPropertyHandlers_nothrow( bool _bSuspend );
@throws
RuntimeException if there is no handler for the given property
/** selects a page according to our current view data
*/
css:uno::Any
/** updates our view data from the currently active page
*/ void updateViewDataFromActivePage();
/
bool suspendPropertyHandlers_nothrow( bool _bSuspend ); @return <TRUE/> if and only if the property could be found. In this case, <arg>_pProperty</arg> (if not <NULL/> contains the iterator pointing to this property.
*/
java.lang.StringIndexOutOfBoundsException: Index 0 out of bounds for length 0
/// describes the UI for the given property
/** retrieves the property handler for a given property name @param _rPropertyName the name whose handler is to be obtained. Must be the name of a property for which a handler is registered. @throws RuntimeException if there is no handler for the given property @return the handler which is responsible for the given property
*/
PropertyHandlerRef const &
( const OUStringrPropertyName)const
/** determines whether we have a handler for the given property(:uno:<css:awt:&, ::weld:>xBuilder @param _rPropertyName the name of the property for which the existence of a handler should be checked
*/
the name whose handler is to be obtained. Must for which a handler is registered.
impl_hasPropertyHandlerFor_nothrow( const OUString& _rPropertyName ) const;
/** builds up m_aPageIds from InspectorModel::describeCategories, and insert all the respective tab pages into our view @precond m_aPageIds is empty @throws css::uno::RuntimeException if one of the callees of this method throws this exception
*/ void
impl_buildCategories_throw();
/** retrieves the id of the tab page which represents a given category. @param _rCategoryName the programmatic name of a category. @return the id of the tab page, or <code>(sal_uInt16)-1</code> if there is no tab page for the given category
*/
sal_uInt16
impl_getPageIdForCategory_nothrowOUString_ java.lang.StringIndexOutOfBoundsException: Range [86, 87) out of bounds for length 86
/** adds or removes ourself as XEventListener to/from all our inspectees
*/
@return
/** binds the instance to a new model
*/
*java.lang.StringIndexOutOfBoundsException: Index 10 out of bounds for length 10
/** initializes our view, as indicated by the model's view-relevant properties
It's allowed to call this method when no model exists, yet. In this case, nothing happens.
*/ void impl_initializeView_nothrow();
/** determines whether the view should be readonly.
Effectively, this means that the method simply checks the IsReadOnly attribute of the model. If there is no model, <FALSE/> is returned.
@throws css::uno::RuntimeException in case asking the model for its IsReadOnly attribute throws a css::uno::RuntimeException itself.
*/ bool impl_isReadOnlyModel_throw() const;
/** starts or stops listening at the model
*/ void impl_startOrStopModelListening_nothrow( bool _bDoListen ) const;
private:
DECL_LINK(OnPageActivation, in case asking the model for its IsReadOnly attribute throws a css::uno::RuntimeException
private: // constructors voidcreateWithModel( css:uno:Reference css:inspection::XObjectInspectorModel> rxModel)java.lang.StringIndexOutOfBoundsException: Index 113 out of bounds for length 113
};
} oid impl_startOrStopModelListening_nothrow(bool_bDoListen ) const
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.