1b3f79822SAndrew Rist /************************************************************** 2cdf0e10cSrcweir * 3b3f79822SAndrew Rist * Licensed to the Apache Software Foundation (ASF) under one 4b3f79822SAndrew Rist * or more contributor license agreements. See the NOTICE file 5b3f79822SAndrew Rist * distributed with this work for additional information 6b3f79822SAndrew Rist * regarding copyright ownership. The ASF licenses this file 7b3f79822SAndrew Rist * to you under the Apache License, Version 2.0 (the 8b3f79822SAndrew Rist * "License"); you may not use this file except in compliance 9b3f79822SAndrew Rist * with the License. You may obtain a copy of the License at 10b3f79822SAndrew Rist * 11b3f79822SAndrew Rist * http://www.apache.org/licenses/LICENSE-2.0 12b3f79822SAndrew Rist * 13b3f79822SAndrew Rist * Unless required by applicable law or agreed to in writing, 14b3f79822SAndrew Rist * software distributed under the License is distributed on an 15b3f79822SAndrew Rist * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY 16b3f79822SAndrew Rist * KIND, either express or implied. See the License for the 17b3f79822SAndrew Rist * specific language governing permissions and limitations 18b3f79822SAndrew Rist * under the License. 19b3f79822SAndrew Rist * 20b3f79822SAndrew Rist *************************************************************/ 21b3f79822SAndrew Rist 22b3f79822SAndrew Rist 23cdf0e10cSrcweir 24cdf0e10cSrcweir // MARKER(update_precomp.py): autogen include statement, do not remove 25cdf0e10cSrcweir #include "precompiled_sc.hxx" 26cdf0e10cSrcweir 27cdf0e10cSrcweir 28cdf0e10cSrcweir #include "AccessibleDocumentBase.hxx" 29cdf0e10cSrcweir 30cdf0e10cSrcweir #ifndef _COM_SUN_STAR_ACCESSIBILITY_XACCESSIBLEROLE_HPP_ 31cdf0e10cSrcweir #include <com/sun/star/accessibility/AccessibleRole.hpp> 32cdf0e10cSrcweir #endif 33cdf0e10cSrcweir 34cdf0e10cSrcweir using namespace ::com::sun::star; 35cdf0e10cSrcweir using namespace ::com::sun::star::accessibility; 36cdf0e10cSrcweir 37cdf0e10cSrcweir //===== internal ======================================================== 38cdf0e10cSrcweir ScAccessibleDocumentBase(const uno::Reference<XAccessible> & rxParent)39cdf0e10cSrcweirScAccessibleDocumentBase::ScAccessibleDocumentBase( 40cdf0e10cSrcweir const uno::Reference<XAccessible>& rxParent) 41cdf0e10cSrcweir : ScAccessibleContextBase(rxParent, AccessibleRole::DOCUMENT) 42cdf0e10cSrcweir { 43cdf0e10cSrcweir } 44cdf0e10cSrcweir ~ScAccessibleDocumentBase(void)45cdf0e10cSrcweirScAccessibleDocumentBase::~ScAccessibleDocumentBase(void) 46cdf0e10cSrcweir { 47cdf0e10cSrcweir } SwitchViewFireFocus()48*0deba7fbSSteve Yinvoid ScAccessibleDocumentBase::SwitchViewFireFocus() 49*0deba7fbSSteve Yin { 50*0deba7fbSSteve Yin CommitFocusGained(); 51*0deba7fbSSteve Yin } 52*0deba7fbSSteve Yin 53