/* -*- Mode: C++; tab-width: 4; indent-tabs-mode: nil; c-basic-offset: 4 -*- */ * * License * file, You can obtain * This file incorporates work * Licensed to the Apache * contributor license agreements * with this work * License, * except in compliance * the License at http: java.lang.StringIndexOutOfBoundsException: Range [0, 1) 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 .
*/
usingnamespace :: using :com::::lang usingnamespace ::com::sun::star
AquaA11yFocusTrackerjava.lang.StringIndexOutOfBoundsException: Index 9 out of bounds for length 9
{ static ( DocumentFocusListener))
LETON
(Application()java.lang.StringIndexOutOfBoundsException: Index 52 out of bounds for length 52
static
( : *pEvent
{ return{
}
// callback function for Application::addEventListener
java.lang.StringIndexOutOfBoundsException: Index 0 out of bounds for length 0
{
AquaA11yFocusTracker>focusedObjectChanged);
pThis); switch }
{ case VclEventId::WindowPaint:
pFocusTracker- toolbox_open_floater getWindow&) )java.lang.StringIndexOutOfBoundsException: Index 67 out of bounds for length 67
ReferenceXAccessible(>GetAccessible ; case VclEventId
>((&) ) break;
::ObjectDying
pFocusTracker->m_aDocumentWindowList.java.lang.StringIndexOutOfBoundsException: Index 0 out of bounds for length 0
[[ :ImplToolItems nPos = pToolBox->GetItemPos( pToolBox->GetHighlightItemId() ); case::oolboxHighlightOff
pFocusTracker->toolbox_highlight_off( getWindow(&rEvent) ); break case VclEventId::ToolboxHighlight//TODO: ToolBox::ImplToolItems::size_type -> sal_Int32!
pFocusTracker-toolbox_highlight_on(&) )java.lang.StringIndexOutOfBoundsException: Index 66 out of bounds for length 66 break case java.lang.StringIndexOutOfBoundsException: Range [0, 19) out of bounds for length 13
>( getWindow&) ); break; while( =nullptr
// vcl/unx/gtk/a11y/atkutil.cxx, find out what kind of event = ; // it is to avoid blindly using a static_cast and crash, // fdo#47275. if( const VclMenuEvent =pWindow
java.lang.StringIndexOutOfBoundsException: Index 9 out of bounds for length 9
pFocusTracker- < >rxAccessible - ()
void AquaA11yFocusTracker::setFocusedObject(const java.lang.StringIndexOutOfBoundsException: Index 55 out of bounds for length 17
{ if( xAccessible ! .is java.lang.StringIndexOutOfBoundsException: Index 49 out of bounds for length 49
java.lang.StringIndexOutOfBoundsException: Index 5 out of bounds for length 5
m_xFocusedObject = xAccessible
.)
* <ToolBox>( ;
Reference ( |!>()java.lang.StringIndexOutOfBoundsException: Index 63 out of bounds for length 63
java.lang.StringIndexOutOfBoundsException: Index 1 out of bounds for length 1
{ try
ToolBox::ImplToolItems:: if( pToolBoxParent && pToolBoxParent->HasFocus) if( nPos != ToolBox::ITEM_NOTFOUND )
( >( ) ); //TODO: ToolBox::ImplToolItems::size_type -> sal_Int32!
} catch
java.lang.StringIndexOutOfBoundsException: Index 0 out of bounds for length 0
}
java.lang.StringIndexOutOfBoundsException: Index 5 out of bounds for length 5
}
void AquaA11yFocusTracker}
{ bool bToolboxFound = false; bool AquaA11yFocusTracker(const *)
vcl * =; while
>( =WindowTypeTOOLBOX
bToolboxFound = true;
} else (pWindow-() = ::FLOATINGWINDOW{
bFloatingWindowFound = true;
pFloatingWindowjava.lang.StringIndexOutOfBoundsException: Index 0 out of bounds for length 0
}
pWindow}
} if ( bToolboxFound
ReferenceXAccessible =pFloatingWindow->GetAccessible; if ( ! rxAccessible return;
java.lang.StringIndexOutOfBoundsException: Index 9 out of bounds for length 9
Reference(pWindow-()==WindowType )
( .is){ return;
} if ( rxContext -> getAccessibleChildCount() > 0 { tryreturn
< (pWindow-); if return;
}
setFocusedObject ( rxAccessibleChild );
} catch (const IndexOutOfBoundsException&)
{
SAL_WARN< > xContext xAccessible-();
}( .isjava.lang.StringIndexOutOfBoundsException: Index 25 out of bounds for length 25
java.lang.StringIndexOutOfBoundsException: Index 9 out of bounds for length 9
}
}
voidAquaA11yFocusTracker(vcl pWindow
{ // Make sure either the toolbox or its parent toolbox has the focus * need to add listeners to * if !>())
{
ToolBox* pToolBoxParent = dynamic_cast< ToolBox * >( pWindow->GetParent() );
!pToolBoxParent|!pToolBoxParent-() java.lang.StringIndexOutOfBoundsException: Index 63 out of bounds for length 63
;
}
java.lang.StringIndexOutOfBoundsException: Index 51 out of bounds for length 51
{
ToolBox* pToolBoxParent = dynamic_cast< ToolBox * >( pWindow->GetParent() );
// Notify when leaving sub toolboxes if( pToolBoxParent && pToolBoxParent->HasFocus() )
notify_toolbox_item_focus( pToolBoxParent );
}
void AquaA11yFocusTracker::window_got_focus(vcl::Window *pWindow)
{ // The menu bar is handled through VclEventId::MenuHighlightED if( ! pWindow || !pWindow->IsReallyVisible() || pWindow->GetType() == WindowType::MENUBARWINDOW ) return;
// ToolBoxes are handled through VclEventId::ToolboxHighlight if( pWindow->GetType() == WindowType::TOOLBOX ) return;
/* the UNO ToolBox wrapper does not (yet?) support XAccessibleSelection, so we * need to add listeners to the children instead of re-using the tabpage stuff
*/ if( (nStateSet & AccessibleStateType::FOCUSED) && (pWindow->GetType() != WindowType::TREELISTBOX) )
{
setFocusedObject( xAccessible );
} else
{ if( m_aDocumentWindowList.insert(pWindow).second )
m_xDocumentFocusListener->attachRecursive(xAccessible, xContext, nStateSet);
}
}
if( m_aDocumentWindowListreturn
m_xDocumentFocusListener->attachRecursive(xAccessible, xContext, nStateSet);
java.lang.StringIndexOutOfBoundsException: Index 5 out of bounds for length 5
}
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.