Lines Matching refs:nNumber

54                      Paragraphs::size_type nNumber):  in Paragraph()  argument
55 ParagraphImpl(rDocument, nNumber, *this) {} in Paragraph()
91 Paragraphs::size_type nNumber, in ParagraphImpl() argument
95 m_nNumber(nNumber), in ParagraphImpl()
910 Paragraphs::size_type nNumber = pParagraph->getNumber(); in retrieveParagraphSelection() local
916 if ( nNumber >= aMinPaM.GetPara() && nNumber <= aMaxPaM.GetPara() ) in retrieveParagraphSelection()
918 *pBegin = nNumber > aMinPaM.GetPara() in retrieveParagraphSelection()
922 *pEnd = nNumber < aMaxPaM.GetPara() in retrieveParagraphSelection()
923 … ? static_cast< ::sal_Int32 >( m_rEngine.GetText(static_cast< ::sal_uLong >(nNumber)).Len() ) in retrieveParagraphSelection()
942 Paragraphs::size_type nNumber = pParagraph->getNumber(); in retrieveParagraphCaretPosition() local
945 return aEndPaM.GetPara() == nNumber in retrieveParagraphCaretPosition()
955 ::sal_uLong nNumber = static_cast< ::sal_uLong >(pParagraph->getNumber()); in retrieveCharacterBounds()
956 sal_Int32 nLength = m_rEngine.GetText(nNumber).Len(); in retrieveCharacterBounds()
969 m_rEngine.PaMtoEditCursor(::TextPaM(nNumber, in retrieveCharacterBounds()
975 m_rEngine.PaMtoEditCursor(::TextPaM(nNumber, in retrieveCharacterBounds()
979 m_rEngine.PaMtoEditCursor(::TextPaM(nNumber, in retrieveCharacterBounds()
1007 ::sal_uLong nNumber = static_cast< ::sal_uLong >(pParagraph->getNumber()); in retrieveCharacterIndex()
1012 return aPaM.GetPara() == nNumber in retrieveCharacterIndex()
1120 ::sal_uLong nNumber = static_cast< ::sal_uLong >(pParagraph->getNumber()); in retrieveCharacterAttributes()
1124 if (nIndex < 0 || nIndex > m_rEngine.GetText(nNumber).Len()) in retrieveCharacterAttributes()
1221 ::sal_uLong nNumber = static_cast< ::sal_uLong >( pParagraph->getNumber() ); in retrieveRunAttributesImpl()
1222 ::TextPaM aPaM( nNumber, static_cast< ::sal_uInt16 >( Index ) ); in retrieveRunAttributesImpl()
1278 ::sal_uLong nNumber = static_cast< ::sal_uLong >( pParagraph->getNumber() ); in retrieveRunAttributes()
1280 if ( Index < 0 || Index >= m_rEngine.GetText(nNumber).Len() ) in retrieveRunAttributes()
1299 ::sal_uLong nNumber = static_cast< ::sal_uLong >(pParagraph->getNumber()); in changeParagraphText()
1301 changeParagraphText(nNumber, 0, m_rEngine.GetTextLen(nNumber), false, in changeParagraphText()
1314 ::sal_uLong nNumber = static_cast< ::sal_uLong >(pParagraph->getNumber()); in changeParagraphText()
1317 || nEnd > m_rEngine.GetText(nNumber).Len()) in changeParagraphText()
1324 changeParagraphText(nNumber, static_cast< ::sal_uInt16 >(nBegin), in changeParagraphText()
1336 ::sal_uLong nNumber = static_cast< ::sal_uLong >(pParagraph->getNumber()); in copyParagraphText()
1339 || nEnd > m_rEngine.GetText(nNumber).Len()) in copyParagraphText()
1346 ::TextSelection(::TextPaM(nNumber, static_cast< ::sal_uInt16 >(nBegin)), in copyParagraphText()
1347 ::TextPaM(nNumber, static_cast< ::sal_uInt16 >(nEnd)))); in copyParagraphText()
1360 ::sal_uLong nNumber = static_cast< ::sal_uLong >(pParagraph->getNumber()); in changeParagraphAttributes()
1363 || nEnd > m_rEngine.GetText(nNumber).Len()) in changeParagraphAttributes()
1379 nNumber, static_cast< ::sal_uInt16 >(nBegin), in changeParagraphAttributes()
1386 nNumber, static_cast< ::sal_uInt16 >(nBegin), in changeParagraphAttributes()
1398 ::sal_uLong nNumber = static_cast< ::sal_uLong >(pParagraph->getNumber()); in changeParagraphSelection()
1401 || nEnd > m_rEngine.GetText(nNumber).Len()) in changeParagraphSelection()
1408 ::TextSelection(::TextPaM(nNumber, static_cast< ::sal_uInt16 >(nBegin)), in changeParagraphSelection()
1409 ::TextPaM(nNumber, static_cast< ::sal_uInt16 >(nEnd)))); in changeParagraphSelection()
1425 ::sal_uLong nNumber = static_cast< ::sal_uLong >( pParagraph->getNumber() ); in retrieveParagraphLineBoundary()
1426 if ( nIndex < 0 || nIndex > m_rEngine.GetText( nNumber ).Len() ) in retrieveParagraphLineBoundary()
1435 ::sal_uInt16 nLineCount = m_rEngine.GetLineCount( nNumber ); in retrieveParagraphLineBoundary()
1439 m_rEngine.GetLineLen( nNumber, nLine ) ); in retrieveParagraphLineBoundary()
1467 ::sal_uLong nNumber = static_cast< ::sal_uLong >( pParagraph->getNumber() ); in retrieveParagraphBoundaryOfLine()
1468 if ( nLineNo >= m_rEngine.GetLineCount( nNumber ) ) in retrieveParagraphBoundaryOfLine()
1480 m_rEngine.GetLineLen( nNumber, nLine ) ); in retrieveParagraphBoundaryOfLine()
1497 Paragraphs::size_type nNumber = pParagraph->getNumber(); in retrieveParagraphLineWithCursor() local
1500 return aEndPaM.GetPara() == nNumber in retrieveParagraphLineWithCursor()
1946 Document::changeParagraphText(::sal_uLong nNumber, ::sal_uInt16 nBegin, ::sal_uInt16 nEnd, in changeParagraphText() argument
1950 m_rView.SetSelection(::TextSelection(::TextPaM(nNumber, nBegin), in changeParagraphText()
1951 ::TextPaM(nNumber, nEnd))); in changeParagraphText()