Lines Matching refs:pFmt

130 	SwCharFmt* 	pFmt = 0;  in lcl_FindCharFmt()  local
133 pFmt = rDoc.FindCharFmtByName( rName ); in lcl_FindCharFmt()
134 if( !pFmt && rName == *SwStyleNameMapper::GetTextUINameArray()[ RES_POOLCOLL_STANDARD - in lcl_FindCharFmt()
138 pFmt = (SwCharFmt*)rDoc.GetDfltCharFmt(); in lcl_FindCharFmt()
141 if( !pFmt && bCreate ) in lcl_FindCharFmt()
145 pFmt = rDoc.GetCharFmtFromPool(nId); in lcl_FindCharFmt()
150 if(pFmt) in lcl_FindCharFmt()
153 SwFmt* p = pFmt->DerivedFrom(); in lcl_FindCharFmt()
162 return pFmt; in lcl_FindCharFmt()
219 SwFrmFmt* pFmt = 0; in lcl_FindFrmFmt() local
222 pFmt = rDoc.FindFrmFmtByName( rName ); in lcl_FindFrmFmt()
223 if( !pFmt && bCreate ) in lcl_FindFrmFmt()
227 pFmt = rDoc.GetFrmFmtFromPool(nId); in lcl_FindFrmFmt()
233 if(pFmt) in lcl_FindFrmFmt()
236 if( pFmt->DerivedFrom() && !pFmt->DerivedFrom()->IsDefault() ) in lcl_FindFrmFmt()
237 pStyle->PresetParent( pFmt->DerivedFrom()->GetName() ); in lcl_FindFrmFmt()
244 return pFmt; in lcl_FindFrmFmt()
482 SwFmt* pFmt = 0; in GetParent() local
487 pFmt = rDoc.FindCharFmtByName( aName ); in GetParent()
492 pFmt = rDoc.FindTxtFmtCollByName( aName ); in GetParent()
497 pFmt = rDoc.FindFrmFmtByName( aName ); in GetParent()
508 if( !pFmt ) // noch nicht vorhanden, also dflt. Parent in GetParent()
517 SwFmt* p = pFmt->DerivedFrom(); in GetParent()
909 SwFmt* pFmt = 0, *pParent = 0; in SetParent() local
914 if( 0 != ( pFmt = pCharFmt ) && rStr.Len() ) in SetParent()
920 if( 0 != ( pFmt = pColl ) && rStr.Len() ) in SetParent()
926 if( 0 != ( pFmt = pFrmFmt ) && rStr.Len() ) in SetParent()
938 if( pFmt && pFmt->DerivedFrom() && in SetParent()
939 pFmt->DerivedFrom()->GetName() != rStr ) in SetParent()
943 bRet = pFmt->SetDerivedFrom( pParent ); in SetParent()
1147 SwFmt* pFmt = 0; in SetItemSet() local
1156 pFmt = pCharFmt; in SetItemSet()
1259 pFmt = pColl; in SetItemSet()
1295 pFmt = pFrmFmt; in SetItemSet()
1312 pFmt = &pNewDsc->GetMaster(); in SetItemSet()
1358 if( pFmt && rSet.Count()) in SetItemSet()
1371 *pFmt ); in SetItemSet()
1392 rDoc.ChgFmt(*pFmt, aSet); // alles gesetzten Putten in SetItemSet()
1562 SwFmt* pFmt = 0; in FillStyleSheet() local
1581 pFmt = pCharFmt; in FillStyleSheet()
1582 if( !bCreate && !pFmt ) in FillStyleSheet()
1608 pFmt = pColl; in FillStyleSheet()
1630 pFmt = pFrmFmt; in FillStyleSheet()
1631 if( !bCreate && !pFmt ) in FillStyleSheet()
1703 if( pFmt ) in FillStyleSheet()
1704 nPoolId = pFmt->GetPoolFmtId(); in FillStyleSheet()
1707 if( pFmt == rDoc.GetDfltCharFmt() ) in FillStyleSheet()
1722 if( pFmt ) in FillStyleSheet()
1726 nHelpId = pFmt->GetPoolHelpId(); in FillStyleSheet()
1727 if( pFmt->GetPoolHlpFileId() != UCHAR_MAX ) in FillStyleSheet()
1728 aHelpFile = *rDoc.GetDocPattern( pFmt->GetPoolHlpFileId() ); in FillStyleSheet()
1732 if( RES_CONDTXTFMTCOLL == pFmt->Which() ) in FillStyleSheet()
2254 SwCharFmt* pFmt = lcl_FindCharFmt(rDoc, rName, 0, sal_False ); in Remove() local
2255 if(pFmt) in Remove()
2256 rDoc.DelCharFmt(pFmt); in Remove()
2268 SwFrmFmt* pFmt = lcl_FindFrmFmt(rDoc, rName, 0, sal_False ); in Remove() local
2269 if(pFmt) in Remove()
2270 rDoc.DelFrmFmt(pFmt); in Remove()
2303 SwFmt* pFmt = 0, *pParent = 0; in SetParent() local
2307 if( 0 != ( pFmt = lcl_FindCharFmt( rDoc, rStyle ) ) && rParent.Len() ) in SetParent()
2312 if( 0 != ( pFmt = lcl_FindParaFmt( rDoc, rStyle ) ) && rParent.Len() ) in SetParent()
2317 if( 0 != ( pFmt = lcl_FindFrmFmt( rDoc, rStyle ) ) && rParent.Len() ) in SetParent()
2330 if( pFmt && pFmt->DerivedFrom() && in SetParent()
2331 pFmt->DerivedFrom()->GetName() != rParent ) in SetParent()
2335 bRet = pFmt->SetDerivedFrom( pParent ); in SetParent()
2344 mxStyleSheet->PresetFollow( ((SwTxtFmtColl*)pFmt)-> in SetParent()
2496 SwCharFmt* pFmt = (*rDoc.GetCharFmts())[ i ]; in First() local
2497 if( pFmt->IsDefault() && pFmt != rDoc.GetDfltCharFmt() ) in First()
2500 const sal_Bool bUsed = bIsSearchUsed && (bOrganizer || rDoc.IsUsed(*pFmt)); in First()
2504 const sal_uInt16 nId = rDoc.GetDfltCharFmt() == pFmt ? in First()
2506 pFmt->GetPoolFmtId(); in First()
2523 aLst.Append( cCHAR, pFmt == rDoc.GetDfltCharFmt() in First()
2526 : pFmt->GetName() ); in First()
2716 SwFrmFmt* pFmt = (*rDoc.GetFrmFmts())[ i ]; in First() local
2718 if(pFmt->IsDefault() || pFmt->IsAuto()) in First()
2723 const sal_uInt16 nId = pFmt->GetPoolFmtId(); in First()
2724 sal_Bool bUsed = bIsSearchUsed && ( bOrganizer || rDoc.IsUsed(*pFmt)); in First()
2736 aLst.Append( cFRAME, pFmt->GetName() ); in First()