Lines Matching refs:nIndex

249             sal_Int32 nIndex = 0;  in implGetChildByRole()  local
250 while( !xAccObj.is() && (nIndex < nCount) ) in implGetChildByRole()
252 Reference< XAccessible > xCurrObj = xParentCtxt->getAccessibleChild( nIndex ); in implGetChildByRole()
259 ++nIndex; in implGetChildByRole()
360 sal_Int32 nIndex = lcl_ExpandSequence( rSeq, 7 ); in lcl_FillFontAttributes() local
361 …lcl_FillProperty( rSeq[ nIndex++ ], CREATE_OUSTRING( "CharFontName" ), aFontItem, MID_FONT_… in lcl_FillFontAttributes()
362 …lcl_FillProperty( rSeq[ nIndex++ ], CREATE_OUSTRING( "CharFontFamily" ), aFontItem, MID_FONT_… in lcl_FillFontAttributes()
363 …lcl_FillProperty( rSeq[ nIndex++ ], CREATE_OUSTRING( "CharFontStyleName" ), aFontItem, MID_FONT_… in lcl_FillFontAttributes()
364 …lcl_FillProperty( rSeq[ nIndex++ ], CREATE_OUSTRING( "CharFontCharSet" ), aFontItem, MID_FONT_… in lcl_FillFontAttributes()
365 …lcl_FillProperty( rSeq[ nIndex++ ], CREATE_OUSTRING( "CharFontPitch" ), aFontItem, MID_FONT_… in lcl_FillFontAttributes()
366 …lcl_FillProperty( rSeq[ nIndex++ ], CREATE_OUSTRING( "CharHeight" ), aHeightItem, MID_FONTH… in lcl_FillFontAttributes()
367 …lcl_FillProperty( rSeq[ nIndex++ ], CREATE_OUSTRING( "CharLocale" ), aLangItem, MID_LANG_… in lcl_FillFontAttributes()
463 sal_Bool SAL_CALL ScAccessibleCsvRuler::setCaretPosition( sal_Int32 nIndex ) in setCaretPosition() argument
468 ensureValidIndex( nIndex ); in setCaretPosition()
471 rRuler.Execute( CSVCMD_MOVERULERCURSOR, lcl_GetRulerPos( nIndex ) ); in setCaretPosition()
475 sal_Unicode SAL_CALL ScAccessibleCsvRuler::getCharacter( sal_Int32 nIndex ) in getCharacter() argument
480 ensureValidIndex( nIndex ); in getCharacter()
481 return maBuffer.charAt( nIndex ); in getCharacter()
484 Sequence< PropertyValue > SAL_CALL ScAccessibleCsvRuler::getCharacterAttributes( sal_Int32 nIndex, in getCharacterAttributes() argument
490 ensureValidIndexWithEnd( nIndex ); in getCharacterAttributes()
503 …essibleCsvRuler::AwtRectangle SAL_CALL ScAccessibleCsvRuler::getCharacterBounds( sal_Int32 nIndex ) in getCharacterBounds() argument
508 ensureValidIndexWithEnd( nIndex ); in getCharacterBounds()
510 Point aPos( rRuler.GetX( lcl_GetRulerPos( nIndex ) ) - rRuler.GetCharWidth() / 2, 0 ); in getCharacterBounds()
579 TextSegment SAL_CALL ScAccessibleCsvRuler::getTextAtIndex( sal_Int32 nIndex, sal_Int16 nTextType ) in getTextAtIndex() argument
589 if( (nIndex == implGetTextLength()) && (nTextType != AccessibleTextType::LINE) ) in getTextAtIndex()
592 ensureValidIndex( nIndex ); in getTextAtIndex()
595 sal_Int32 nRulerPos = lcl_GetRulerPos( nIndex ); in getTextAtIndex()
602 aResult.SegmentStart = nIndex; in getTextAtIndex()
603 aResultText.append( maBuffer.charAt( nIndex ) ); in getTextAtIndex()
610 aResult.SegmentStart = nIndex; in getTextAtIndex()
612 aResultText.append( maBuffer.charAt( nIndex ) ); in getTextAtIndex()
628 sal_Int32 nFirstIndex = implGetFirstEqualFormatted( nIndex ); in getTextAtIndex()
629 sal_Int32 nLastIndex = implGetLastEqualFormatted( nIndex ); in getTextAtIndex()
644 TextSegment SAL_CALL ScAccessibleCsvRuler::getTextBeforeIndex( sal_Int32 nIndex, sal_Int16 nTextTyp… in getTextBeforeIndex() argument
649 ensureValidIndexWithEnd( nIndex ); in getTextBeforeIndex()
655 sal_Int32 nRulerPos = lcl_GetRulerPos( nIndex ); in getTextBeforeIndex()
661 if( nIndex > 0 ) in getTextBeforeIndex()
662 aResult = getTextAtIndex( nIndex - 1, nTextType ); in getTextBeforeIndex()
684 sal_Int32 nFirstIndex = implGetFirstEqualFormatted( nIndex ); in getTextBeforeIndex()
697 TextSegment SAL_CALL ScAccessibleCsvRuler::getTextBehindIndex( sal_Int32 nIndex, sal_Int16 nTextTyp… in getTextBehindIndex() argument
702 ensureValidIndexWithEnd( nIndex ); in getTextBehindIndex()
708 sal_Int32 nRulerPos = lcl_GetRulerPos( nIndex ); in getTextBehindIndex()
715 if( nIndex < nLastValid ) in getTextBehindIndex()
716 aResult = getTextAtIndex( nIndex + 1, nTextType ); in getTextBehindIndex()
738 sal_Int32 nLastIndex = implGetLastEqualFormatted( nIndex ); in getTextBehindIndex()
832 void ScAccessibleCsvRuler::ensureValidIndex( sal_Int32 nIndex ) const in ensureValidIndex()
835 if( (nIndex < 0) || (nIndex >= implGetTextLength()) ) in ensureValidIndex()
839 void ScAccessibleCsvRuler::ensureValidIndexWithEnd( sal_Int32 nIndex ) const in ensureValidIndexWithEnd()
842 if( (nIndex < 0) || (nIndex > implGetTextLength()) ) in ensureValidIndexWithEnd()
986 Reference< XAccessible > SAL_CALL ScAccessibleCsvGrid::getAccessibleChild( sal_Int32 nIndex ) in getAccessibleChild() argument
991 ensureValidIndex( nIndex ); in getAccessibleChild()
992 return implCreateCellObj( implGetRow( nIndex ), implGetColumn( nIndex ) ); in getAccessibleChild()
1384 void ScAccessibleCsvGrid::ensureValidIndex( sal_Int32 nIndex ) const in ensureValidIndex()
1387 if( (nIndex < 0) || (nIndex >= implGetCellCount()) ) in ensureValidIndex()
1532 Reference< XAccessible > SAL_CALL ScAccessibleCsvCell::getAccessibleChild( sal_Int32 nIndex ) in getAccessibleChild() argument
1535 return AccessibleStaticTextBase::getAccessibleChild( nIndex ); in getAccessibleChild()