Lines Matching refs:nMnemonicPos
6402 xub_StrLen nMnemonicPos = STRING_NOTFOUND; in ImplDrawText() local
6406 aStr = GetNonMnemonicString( aStr, nMnemonicPos ); in ImplDrawText()
6493 if ( (nMnemonicPos >= nIndex) && (nMnemonicPos < nIndex+nLineLen) ) in ImplDrawText()
6502 long lc_x1 = pCaretXArray[2*(nMnemonicPos - nIndex)]; in ImplDrawText()
6503 long lc_x2 = pCaretXArray[2*(nMnemonicPos - nIndex)+1]; in ImplDrawText()
6568 if ( nMnemonicPos != STRING_NOTFOUND ) in ImplDrawText()
6572 long lc_x1 = pCaretXArray[2*(nMnemonicPos)]; in ImplDrawText()
6573 long lc_x2 = pCaretXArray[2*(nMnemonicPos)+1]; in ImplDrawText()
6588 if ( nMnemonicPos != STRING_NOTFOUND ) in ImplDrawText()
6598 if ( nMnemonicPos != STRING_NOTFOUND ) in ImplDrawText()
6996 xub_StrLen nMnemonicPos = STRING_NOTFOUND; in DrawCtrlText() local
7003 aStr = GetNonMnemonicString( aStr, nMnemonicPos ); in DrawCtrlText()
7004 if ( nMnemonicPos != STRING_NOTFOUND ) in DrawCtrlText()
7006 if( nMnemonicPos < nIndex ) in DrawCtrlText()
7010 if( nMnemonicPos < (nIndex+nLen) ) in DrawCtrlText()
7012 … DBG_ASSERT( nMnemonicPos < (nIndex+nLen), "Mnemonic underline marker after last character" ); in DrawCtrlText()
7016 if( nMnemonicPos >= nLen ) in DrawCtrlText()
7023 nMnemonicPos = nLen-1; in DrawCtrlText()
7028 long lc_x1 = pCaretXArray[ 2*(nMnemonicPos - nIndex) ]; in DrawCtrlText()
7029 long lc_x2 = pCaretXArray[ 2*(nMnemonicPos - nIndex)+1 ]; in DrawCtrlText()
7081 if ( nMnemonicPos != STRING_NOTFOUND ) in DrawCtrlText()
7093 if ( nMnemonicPos != STRING_NOTFOUND ) in DrawCtrlText()
7113 xub_StrLen nMnemonicPos; in GetCtrlTextWidth() local
7114 XubString aStr = GetNonMnemonicString( rStr, nMnemonicPos ); in GetCtrlTextWidth()
7115 if ( nMnemonicPos != STRING_NOTFOUND ) in GetCtrlTextWidth()
7117 if ( nMnemonicPos < nIndex ) in GetCtrlTextWidth()
7120 (nMnemonicPos >= nIndex) && (nMnemonicPos < (sal_uLong)(nIndex+nLen)) ) in GetCtrlTextWidth()