Lines Matching refs:nPara

145 SfxItemSet SvxOutlinerForwarder::GetParaAttribs( sal_uInt16 nPara ) const  in GetParaAttribs()
150 if( nPara == mnParaAttribsCache ) in GetParaAttribs()
163 mpParaAttribsCache = new SfxItemSet( rOutliner.GetParaAttribs( nPara ) ); in GetParaAttribs()
164 mnParaAttribsCache = nPara; in GetParaAttribs()
168 SfxStyleSheet* pStyle = rEditEngine.GetStyleSheet( nPara ); in GetParaAttribs()
175 void SvxOutlinerForwarder::SetParaAttribs( sal_uInt16 nPara, const SfxItemSet& rSet ) in SetParaAttribs() argument
183 rOutliner.SetParaAttribs( nPara, rSet ); in SetParaAttribs()
199 void SvxOutlinerForwarder::GetPortions( sal_uInt16 nPara, SvUShorts& rList ) const in GetPortions() argument
201 ((EditEngine&)rOutliner.GetEditEngine()).GetPortions( nPara, rList ); in GetPortions()
235 XubString SvxOutlinerForwarder::CalcFieldValue( const SvxFieldItem& rField, sal_uInt16 nPara, sal_u… in CalcFieldValue() argument
237 return rOutliner.CalcFieldValue( rField, nPara, nPos, rpTxtColor, rpFldColor ); in CalcFieldValue()
240 void SvxOutlinerForwarder::FieldClicked( const SvxFieldItem& rField, sal_uInt16 nPara, xub_StrLen n… in FieldClicked() argument
242 rOutliner.FieldClicked( rField, nPara, nPos ); in FieldClicked()
259 sal_uInt16 SvxOutlinerForwarder::GetItemState( sal_uInt16 nPara, sal_uInt16 nWhich ) const in GetItemState() argument
261 const SfxItemSet& rSet = rOutliner.GetParaAttribs( nPara ); in GetItemState()
281 LanguageType SvxOutlinerForwarder::GetLanguage( sal_uInt16 nPara, sal_uInt16 nIndex ) const in GetLanguage() argument
283 return rOutliner.GetLanguage(nPara, nIndex); in GetLanguage()
286 sal_uInt16 SvxOutlinerForwarder::GetFieldCount( sal_uInt16 nPara ) const in GetFieldCount()
288 return rOutliner.GetEditEngine().GetFieldCount(nPara); in GetFieldCount()
291 EFieldInfo SvxOutlinerForwarder::GetFieldInfo( sal_uInt16 nPara, sal_uInt16 nField ) const in GetFieldInfo() argument
293 return rOutliner.GetEditEngine().GetFieldInfo( nPara, nField ); in GetFieldInfo()
296 EBulletInfo SvxOutlinerForwarder::GetBulletInfo( sal_uInt16 nPara ) const in GetBulletInfo()
298 return rOutliner.GetBulletInfo( nPara ); in GetBulletInfo()
301 Rectangle SvxOutlinerForwarder::GetCharBounds( sal_uInt16 nPara, sal_uInt16 nIndex ) const in GetCharBounds() argument
311 if( nIndex >= GetTextLen(nPara) ) in GetCharBounds()
318 aLast = rOutliner.GetEditEngine().GetCharacterBounds( EPosition(nPara, nIndex-1) ); in GetCharBounds()
330 aLast = GetParaBounds( nPara ); in GetCharBounds()
335 aLast.SetSize( Size( rOutliner.GetLineHeight(nPara,0), 1 ) ); in GetCharBounds()
337 aLast.SetSize( Size( 1, rOutliner.GetLineHeight(nPara,0) ) ); in GetCharBounds()
344 …rceHelper::EEToUserSpace( rOutliner.GetEditEngine().GetCharacterBounds( EPosition(nPara, nIndex) ), in GetCharBounds()
349 Rectangle SvxOutlinerForwarder::GetParaBounds( sal_uInt16 nPara ) const in GetParaBounds()
351 Point aPnt = rOutliner.GetDocPosTopLeft( nPara ); in GetParaBounds()
360 sal_uLong nWidth = rOutliner.GetTextHeight( nPara ); in GetParaBounds()
366 sal_uLong nHeight = rOutliner.GetTextHeight( nPara ); in GetParaBounds()
382 sal_Bool SvxOutlinerForwarder::GetIndexAtPoint( const Point& rPos, sal_uInt16& nPara, sal_uInt16& n… in GetIndexAtPoint() argument
393 nPara = aDocPos.nPara; in GetIndexAtPoint()
399 sal_Bool SvxOutlinerForwarder::GetWordIndices( sal_uInt16 nPara, sal_uInt16 nIndex, sal_uInt16& nSt… in GetWordIndices() argument
401 …ESelection aRes = rOutliner.GetEditEngine().GetWord( ESelection(nPara, nIndex, nPara, nIndex), com… in GetWordIndices()
403 if( aRes.nStartPara == nPara && in GetWordIndices()
414 …tAttributeRun( sal_uInt16& nStartIndex, sal_uInt16& nEndIndex, sal_uInt16 nPara, sal_uInt16 nIndex… in GetAttributeRun() argument
416 …lper::GetAttributeRun( nStartIndex, nEndIndex, rOutliner.GetEditEngine(), nPara, nIndex, bInCell ); in GetAttributeRun()
419 sal_uInt16 SvxOutlinerForwarder::GetLineCount( sal_uInt16 nPara ) const in GetLineCount()
421 return static_cast < sal_uInt16 >( rOutliner.GetLineCount(nPara) ); in GetLineCount()
424 sal_uInt16 SvxOutlinerForwarder::GetLineLen( sal_uInt16 nPara, sal_uInt16 nLine ) const in GetLineLen() argument
426 return rOutliner.GetLineLen(nPara, nLine); in GetLineLen()
429 …oundaries( /*out*/sal_uInt16 &rStart, /*out*/sal_uInt16 &rEnd, sal_uInt16 nPara, sal_uInt16 nLine … in GetLineBoundaries() argument
431 return rOutliner.GetEditEngine().GetLineBoundaries( rStart, rEnd, nPara, nLine ); in GetLineBoundaries()
434 sal_uInt16 SvxOutlinerForwarder::GetLineNumberAtIndex( sal_uInt16 nPara, sal_uInt16 nIndex ) const in GetLineNumberAtIndex() argument
436 return rOutliner.GetEditEngine().GetLineNumberAtIndex( nPara, nIndex ); in GetLineNumberAtIndex()
464 sal_Int16 SvxOutlinerForwarder::GetDepth( sal_uInt16 nPara ) const in GetDepth()
466 …DBG_ASSERT( nPara < GetParagraphCount(), "SvxOutlinerForwarder::GetDepth: Invalid paragraph index"… in GetDepth()
468 Paragraph* pPara = rOutliner.GetParagraph( nPara ); in GetDepth()
473 nLevel = rOutliner.GetDepth( nPara ); in GetDepth()
478 sal_Bool SvxOutlinerForwarder::SetDepth( sal_uInt16 nPara, sal_Int16 nNewDepth ) in SetDepth() argument
480 …DBG_ASSERT( nPara < GetParagraphCount(), "SvxOutlinerForwarder::SetDepth: Invalid paragraph index"… in SetDepth()
482 if( (nNewDepth >= -1) && (nNewDepth <= 9) && (nPara < GetParagraphCount()) ) in SetDepth()
484 Paragraph* pPara = rOutliner.GetParagraph( nPara ); in SetDepth()
491 rOutliner.SetLevelDependendStyleSheet( nPara ); in SetDepth()
500 sal_Int16 SvxOutlinerForwarder::GetNumberingStartValue( sal_uInt16 nPara ) in GetNumberingStartValue() argument
502 if( nPara < GetParagraphCount() ) in GetNumberingStartValue()
504 return rOutliner.GetNumberingStartValue( nPara ); in GetNumberingStartValue()
513 void SvxOutlinerForwarder::SetNumberingStartValue( sal_uInt16 nPara, sal_Int16 nNumberingStartValu… in SetNumberingStartValue() argument
515 if( nPara < GetParagraphCount() ) in SetNumberingStartValue()
517 rOutliner.SetNumberingStartValue( nPara, nNumberingStartValue ); in SetNumberingStartValue()
525 sal_Bool SvxOutlinerForwarder::IsParaIsNumberingRestart( sal_uInt16 nPara ) in IsParaIsNumberingRestart() argument
527 if( nPara < GetParagraphCount() ) in IsParaIsNumberingRestart()
529 return rOutliner.IsParaIsNumberingRestart( nPara ); in IsParaIsNumberingRestart()
538 void SvxOutlinerForwarder::SetParaIsNumberingRestart( sal_uInt16 nPara, sal_Bool bParaIsNumberingR… in SetParaIsNumberingRestart() argument
540 if( nPara < GetParagraphCount() ) in SetParaIsNumberingRestart()
542 rOutliner.SetParaIsNumberingRestart( nPara, bParaIsNumberingRestart ); in SetParaIsNumberingRestart()
562 xub_StrLen SvxOutlinerForwarder::AppendTextPortion( sal_uInt16 nPara, const String &rText, const Sf… in AppendTextPortion() argument
568 DBG_ASSERT( nPara < nParaCount, "paragraph index out of bounds" ); in AppendTextPortion()
569 if (/*0 <= nPara && */nPara < nParaCount) in AppendTextPortion()
571 nLen = rEditEngine.GetTextLen( nPara ); in AppendTextPortion()
572 rEditEngine.QuickInsertText( rText, ESelection( nPara, nLen, nPara, nLen ) ); in AppendTextPortion()