Lines Matching refs:nDepth

72 sal_uInt16 lcl_ImplGetDefBulletWidth( sal_Int16 nDepth )  in lcl_ImplGetDefBulletWidth()  argument
74 return ( nDepth < nDefStyles ) ? pDefBulletWidths[nDepth] : nDefBulletWidth; in lcl_ImplGetDefBulletWidth()
77 sal_uInt16 lcl_ImplGetDefBulletIndent( sal_Int16 nDepth ) in lcl_ImplGetDefBulletIndent() argument
81 if( nDepth >= 0 ) in lcl_ImplGetDefBulletIndent()
83 for ( sal_Int16 n = 0; n <= nDepth; n++ ) in lcl_ImplGetDefBulletIndent()
104 Paragraph* Outliner::Insert(const XubString& rText, sal_uLong nAbsPos, sal_Int16 nDepth) in Insert() argument
111 ImplCheckDepth( nDepth ); in Insert()
120 if( pPara->GetDepth() != nDepth ) in Insert()
124 pPara->SetDepth( nDepth ); in Insert()
136 pPara = new Paragraph( nDepth ); in Insert()
140 ImplInitDepth( (sal_uInt32)nAbsPos, nDepth, sal_False ); in Insert()
175 sal_Int16 nDepth = -1; in ParagraphInserted() local
178 nDepth = pParaBefore->GetDepth(); in ParagraphInserted()
180 Paragraph* pPara = new Paragraph( nDepth ); in ParagraphInserted()
203 sal_Int16 nDepth = pPara->GetDepth(); in ParagraphDeleted() local
217 if ( pPara && ( pPara->GetDepth() > nDepth ) ) in ParagraphDeleted()
221 while ( pPara && pPara->GetDepth() > nDepth ) in ParagraphDeleted()
225 if ( pPara && ( pPara->GetDepth() == nDepth ) ) in ParagraphDeleted()
266 void Outliner::SetMaxDepth( sal_Int16 nDepth, sal_Bool bCheckParagraphs ) in SetMaxDepth() argument
268 if( nMaxDepth != nDepth ) in SetMaxDepth()
270 nMaxDepth = Min( nDepth, (sal_Int16)(SVX_MAX_NUM-1) ); in SetMaxDepth()
658 ImplCheckDepth( pPara->nDepth ); in SetText()
814 sal_Int16 nDepth = GetDepth( nPara ); in ImplSetLevelDependendStyleSheet() local
815 if( nDepth < 0 ) in ImplSetLevelDependendStyleSheet()
816 nDepth = 0; in ImplSetLevelDependendStyleSheet()
820 aNewStyleSheetName += String::CreateFromInt32( nDepth+1 ); in ImplSetLevelDependendStyleSheet()
837 void Outliner::ImplInitDepth( sal_uInt32 nPara, sal_Int16 nDepth, sal_Bool bCreateUndo, sal_Bool bU… in ImplInitDepth() argument
841 …DBG_ASSERT( ( nDepth >= nMinDepth ) && ( nDepth <= nMaxDepth ), "ImplInitDepth - Depth is invalid!… in ImplInitDepth()
847 pPara->SetDepth( nDepth ); in ImplInitDepth()
862 aAttrs.Put( SfxInt16Item( EE_PARA_OUTLLEVEL, nDepth ) ); in ImplInitDepth()
869 InsertUndo( new OutlinerUndoChangeDepth( this, nPara, nOldDepth, nDepth ) ); in ImplInitDepth()
1236 sal_Int16 nDepth = rLevel.GetValue(); in Read() local
1237 ImplInitDepth( n, nDepth, sal_False ); in Read()
1329 sal_Int16 nDepth = -1; in ImpTextPasted() local
1334 nDepth = rLevel.GetValue(); in ImpTextPasted()
1336 if ( nDepth != GetDepth( nStartPara ) ) in ImpTextPasted()
1337 ImplInitDepth( nStartPara, nDepth, sal_False ); in ImpTextPasted()
1539 sal_Int16 nDepth = pPara? pPara->GetDepth() : -1; in GetNumberFormat() local
1541 if( nDepth >= 0 ) in GetNumberFormat()
1544 if ( rNumBullet.GetNumRule()->GetLevelCount() > nDepth ) in GetNumberFormat()
1545 pFmt = rNumBullet.GetNumRule()->Get( nDepth ); in GetNumberFormat()
1964 const sal_Int16 nDepth = pPara->GetDepth(); in ImplGetNumbering() local
1967 if( (nDepth > nParaDepth) || (nDepth == -1) ) in ImplGetNumbering()
1971 if( nDepth < nParaDepth ) in ImplGetNumbering()
2043 sal_Int16 nDepth = pPara->GetDepth(); in ImplCalcBulletText() local
2047 while ( pPara && ( pPara->GetDepth() > nDepth ) ) in ImplCalcBulletText()
2051 if ( pPara && ( pPara->GetDepth() < nDepth ) ) in ImplCalcBulletText()