Lines Matching refs:eBorder
63 size_t GetIndexFromFrameBorderType( FrameBorderType eBorder ) in GetIndexFromFrameBorderType() argument
65 DBG_ASSERT( eBorder != FRAMEBORDER_NONE, in GetIndexFromFrameBorderType()
67 return static_cast< size_t >( eBorder ) - 1; in GetIndexFromFrameBorderType()
97 FrameSelFlags lclGetFlagFromType( FrameBorderType eBorder ) in lclGetFlagFromType() argument
99 switch( eBorder ) in lclGetFlagFromType()
225 FrameBorderType eBorder = FRAMEBORDER_NONE; in GetKeyboardNeighbor() local
228 case KEY_LEFT: eBorder = meKeyLeft; break; in GetKeyboardNeighbor()
229 case KEY_RIGHT: eBorder = meKeyRight; break; in GetKeyboardNeighbor()
230 case KEY_UP: eBorder = meKeyTop; break; in GetKeyboardNeighbor()
231 case KEY_DOWN: eBorder = meKeyBottom; break; in GetKeyboardNeighbor()
234 return eBorder; in GetKeyboardNeighbor()
522 const FrameBorder& FrameSelectorImpl::GetBorder( FrameBorderType eBorder ) const in GetBorder()
524 size_t nIndex = GetIndexFromFrameBorderType( eBorder ); in GetBorder()
531 FrameBorder& FrameSelectorImpl::GetBorderAccess( FrameBorderType eBorder ) in GetBorderAccess() argument
533 return const_cast< FrameBorder& >( GetBorder( eBorder ) ); in GetBorderAccess()
804 bool FrameSelector::IsBorderEnabled( FrameBorderType eBorder ) const in IsBorderEnabled()
806 return mxImpl->GetBorder( eBorder ).IsEnabled(); in IsBorderEnabled()
816 FrameBorderType eBorder = FRAMEBORDER_NONE; in GetEnabledBorderType() local
821 eBorder = mxImpl->maEnabBorders[ nVecIdx ]->GetType(); in GetEnabledBorderType()
823 return eBorder; in GetEnabledBorderType()
826 sal_Int32 FrameSelector::GetEnabledBorderIndex( FrameBorderType eBorder ) const in GetEnabledBorderIndex()
830 if( (*aIt)->GetType() == eBorder ) in GetEnabledBorderIndex()
842 FrameBorderState FrameSelector::GetFrameBorderState( FrameBorderType eBorder ) const in GetFrameBorderState()
844 return mxImpl->GetBorder( eBorder ).GetState(); in GetFrameBorderState()
847 const SvxBorderLine* FrameSelector::GetFrameBorderStyle( FrameBorderType eBorder ) const in GetFrameBorderStyle()
849 const SvxBorderLine& rStyle = mxImpl->GetBorder( eBorder ).GetCoreStyle(); in GetFrameBorderStyle()
854 void FrameSelector::ShowBorder( FrameBorderType eBorder, const SvxBorderLine* pStyle ) in ShowBorder() argument
856 mxImpl->SetBorderCoreStyle( mxImpl->GetBorderAccess( eBorder ), pStyle ); in ShowBorder()
859 void FrameSelector::SetBorderDontCare( FrameBorderType eBorder ) in SetBorderDontCare() argument
861 mxImpl->SetBorderState( mxImpl->GetBorderAccess( eBorder ), FRAMESTATE_DONTCARE ); in SetBorderDontCare()
929 bool FrameSelector::IsBorderSelected( FrameBorderType eBorder ) const in IsBorderSelected()
931 return mxImpl->GetBorder( eBorder ).IsSelected(); in IsBorderSelected()
934 void FrameSelector::SelectBorder( FrameBorderType eBorder, bool bSelect /*, bool bFocus */ ) in SelectBorder() argument
936 mxImpl->SelectBorder( mxImpl->GetBorderAccess( eBorder ), bSelect ); in SelectBorder()
940 Reference< XAccessible > xRet = GetChildAccessible(eBorder); in SelectBorder()
995 Reference< XAccessible > FrameSelector::GetChildAccessible( FrameBorderType eBorder ) in GetChildAccessible() argument
998 size_t nVecIdx = static_cast< size_t >( eBorder ); in GetChildAccessible()
999 if( IsBorderEnabled( eBorder ) && (1 <= nVecIdx) && (nVecIdx <= mxImpl->maChildVec.size()) ) in GetChildAccessible()
1004 new a11y::AccFrameSelector( *this, eBorder ); in GetChildAccessible()
1032 Rectangle FrameSelector::GetClickBoundRect( FrameBorderType eBorder ) const in GetClickBoundRect()
1035 const FrameBorder& rBorder = mxImpl->GetBorder( eBorder ); in GetClickBoundRect()
1160 … FrameBorderType eBorder = aIt.Is() ? (*aIt)->GetType() : mxImpl->maEnabBorders.front()->GetType(); in KeyInput() local
1165 eBorder = mxImpl->GetBorder( eBorder ).GetKeyboardNeighbor( nCode ); in KeyInput()
1167 while( (eBorder != FRAMEBORDER_NONE) && !IsBorderEnabled( eBorder ) ); in KeyInput()
1170 if( eBorder != FRAMEBORDER_NONE ) in KeyInput()
1173 SelectBorder( eBorder ); in KeyInput()