Lines Matching refs:rBoundary
101 sal_Bool OCommonAccessibleText::implIsValidBoundary( i18n::Boundary& rBoundary, sal_Int32 nLength ) in implIsValidBoundary() argument
103 …return ( rBoundary.startPos >= 0 ) && ( rBoundary.startPos < nLength ) && ( rBoundary.endPos >= 0 … in implIsValidBoundary()
122 void OCommonAccessibleText::implGetGlyphBoundary( i18n::Boundary& rBoundary, sal_Int32 nIndex ) in implGetGlyphBoundary() argument
139 rBoundary.startPos = nStartIndex; in implGetGlyphBoundary()
140 rBoundary.endPos = nEndIndex; in implGetGlyphBoundary()
146 rBoundary.startPos = nIndex; in implGetGlyphBoundary()
147 rBoundary.endPos = nIndex; in implGetGlyphBoundary()
153 sal_Bool OCommonAccessibleText::implGetWordBoundary( i18n::Boundary& rBoundary, sal_Int32 nIndex ) in implGetWordBoundary() argument
163 …rBoundary = xBreakIter->getWordBoundary( sText, nIndex, implGetLocale(), i18n::WordType::ANY_WORD,… in implGetWordBoundary()
169 sal_Int32 nType = xCharClass->getCharacterType( sText, rBoundary.startPos, implGetLocale() ); in implGetWordBoundary()
177 rBoundary.startPos = nIndex; in implGetWordBoundary()
178 rBoundary.endPos = nIndex; in implGetWordBoundary()
186 void OCommonAccessibleText::implGetSentenceBoundary( i18n::Boundary& rBoundary, sal_Int32 nIndex ) in implGetSentenceBoundary() argument
196 rBoundary.endPos = xBreakIter->endOfSentence( sText, nIndex, aLocale ); in implGetSentenceBoundary()
197 rBoundary.startPos = xBreakIter->beginOfSentence( sText, rBoundary.endPos, aLocale ); in implGetSentenceBoundary()
202 rBoundary.startPos = nIndex; in implGetSentenceBoundary()
203 rBoundary.endPos = nIndex; in implGetSentenceBoundary()
209 void OCommonAccessibleText::implGetParagraphBoundary( i18n::Boundary& rBoundary, sal_Int32 nIndex ) in implGetParagraphBoundary() argument
215 rBoundary.startPos = 0; in implGetParagraphBoundary()
216 rBoundary.endPos = sText.getLength(); in implGetParagraphBoundary()
220 rBoundary.startPos = nFound + 1; in implGetParagraphBoundary()
224 rBoundary.endPos = nFound + 1; in implGetParagraphBoundary()
228 rBoundary.startPos = nIndex; in implGetParagraphBoundary()
229 rBoundary.endPos = nIndex; in implGetParagraphBoundary()
235 void OCommonAccessibleText::implGetLineBoundary( i18n::Boundary& rBoundary, sal_Int32 nIndex ) in implGetLineBoundary() argument
242 rBoundary.startPos = 0; in implGetLineBoundary()
243 rBoundary.endPos = nLength; in implGetLineBoundary()
247 rBoundary.startPos = nIndex; in implGetLineBoundary()
248 rBoundary.endPos = nIndex; in implGetLineBoundary()