Lines Matching refs:pColl
176 SwTxtFmtColl* pColl = 0; in lcl_FindParaFmt() local
180 pColl = rDoc.FindTxtFmtCollByName( rName ); in lcl_FindParaFmt()
181 if( !pColl && bCreate ) in lcl_FindParaFmt()
185 pColl = rDoc.GetTxtCollFromPool(nId); in lcl_FindParaFmt()
191 if(pColl) in lcl_FindParaFmt()
194 if( pColl->DerivedFrom() && !pColl->DerivedFrom()->IsDefault() ) in lcl_FindParaFmt()
195 pStyle->PresetParent( pColl->DerivedFrom()->GetName() ); in lcl_FindParaFmt()
199 SwTxtFmtColl& rNext = pColl->GetNextTxtFmtColl(); in lcl_FindParaFmt()
205 return pColl; in lcl_FindParaFmt()
407 pColl(0), in SwDocStyleSheet()
444 pColl(rOrg.pColl), in SwDocStyleSheet()
805 ASSERT(pColl, "Collektion fehlt!"); in SetName()
806 if( pColl && pColl->GetName() != rStr ) in SetName()
808 if (pColl->GetName().Len() > 0) in SetName()
809 rDoc.RenameFmt(*pColl, rStr); in SetName()
811 pColl->SetName(rStr); in SetName()
919 ASSERT( pColl, "Collektion fehlt!") in SetParent()
920 if( 0 != ( pFmt = pColl ) && rStr.Len() ) in SetParent()
972 ASSERT(pColl, "Collection fehlt!"); in SetFollow()
973 if( pColl ) in SetFollow()
975 SwTxtFmtColl* pFollow = pColl; in SetFollow()
977 pFollow = pColl; in SetFollow()
979 pColl->SetNextTxtFmtColl(*pFollow); in SetFollow()
1045 ASSERT(pColl, "Wo ist die Collektion"); in GetItemSet()
1046 aCoreSet.Put(pColl->GetAttrSet()); in GetItemSet()
1048 aCoreSet.Put(SfxBoolItem(SID_ATTR_AUTO_STYLE_UPDATE, pColl->IsAutoUpdateFmt())); in GetItemSet()
1049 if(pColl->DerivedFrom()) in GetItemSet()
1050 aCoreSet.SetParent(&pColl->DerivedFrom()->GetAttrSet()); in GetItemSet()
1096 ASSERT( pColl, "<SwDocStyleSheet::MergeIndentAttrsOfListStyle(..)> - missing paragraph style"); in MergeIndentAttrsOfListStyle()
1097 if ( pColl->AreListLevelIndentsApplicable() ) in MergeIndentAttrsOfListStyle()
1099 ASSERT( pColl->GetItemState( RES_PARATR_NUMRULE ) == SFX_ITEM_SET, in MergeIndentAttrsOfListStyle()
1101 const String sNumRule = pColl->GetNumRule().GetValue(); in MergeIndentAttrsOfListStyle()
1162 ASSERT(pColl, "Wo ist die Collection"); in SetItemSet()
1166 pColl->SetAutoUpdateFmt(((const SfxBoolItem*)pAutoUpdate)->GetValue()); in SetItemSet()
1174 if( RES_CONDTXTFMTCOLL == pColl->Which() && pCondItem ) in SetItemSet()
1181 ((SwConditionTxtFmtColl*)pColl)->RemoveCondition( aCond ); in SetItemSet()
1187 ((SwConditionTxtFmtColl*)pColl)->InsertCondition( aCond ); in SetItemSet()
1192 SwCondCollCondChg aMsg( pColl ); in SetItemSet()
1193 pColl->ModifyNotification( &aMsg, &aMsg ); in SetItemSet()
1195 else if( pCondItem && !pColl->GetDepends() ) in SetItemSet()
1200 pColl->GetName(), (SwTxtFmtColl*)pColl->DerivedFrom() ); in SetItemSet()
1201 if( pColl != &pColl->GetNextTxtFmtColl() ) in SetItemSet()
1202 pCColl->SetNextTxtFmtColl( pColl->GetNextTxtFmtColl() ); in SetItemSet()
1204 if( pColl->IsAssignedToListLevelOfOutlineStyle()) in SetItemSet()
1205 pCColl->AssignToListLevelOfOutlineStyle(pColl->GetAssignedOutlineStyleLevel()); in SetItemSet()
1224 rDoc.DelTxtFmtColl( pColl ); in SetItemSet()
1225 pColl = pCColl; in SetItemSet()
1231 pColl->GetItemState( RES_LR_SPACE, sal_False, 0 ) == SFX_ITEM_SET ) in SetItemSet()
1233 rDoc.ResetAttrAtFormat( RES_LR_SPACE, *pColl ); in SetItemSet()
1259 pFmt = pColl; in SetItemSet()
1261 sal_uInt16 nId = pColl->GetPoolFmtId() & in SetItemSet()
1284 pColl->SetPoolFmtId( nId ); in SetItemSet()
1599 pColl = lcl_FindParaFmt(rDoc, aName, this, bCreate); in FillStyleSheet()
1600 bPhysical = 0 != pColl; in FillStyleSheet()
1605 pColl = lcl_FindParaFmt(rDoc, aName, this, sal_True ); in FillStyleSheet()
1608 pFmt = pColl; in FillStyleSheet()
1609 if( pColl ) in FillStyleSheet()
1610 PresetFollow( pColl->GetNextTxtFmtColl().GetName() ); in FillStyleSheet()
1614 bRet = 0 != pColl || USHRT_MAX != nPoolId; in FillStyleSheet()
1617 pColl = 0; in FillStyleSheet()
1761 pColl = lcl_FindParaFmt( rDoc, aName ); in Create()
1762 if( !pColl ) in Create()
1766 pColl = rDoc.MakeCondTxtFmtColl( aName, pPar ); in Create()
1768 pColl = rDoc.MakeTxtFmtColl( aName, pPar ); in Create()
1838 return pColl; in GetCollection()
1891 pColl = 0; in SetPhysical()
1921 case SFX_STYLE_FAMILY_PARA : pMod = pColl; break; in IsUsed()
1960 if( !pColl && in GetHelpId()
1961 0 == ( pColl = lcl_FindParaFmt( rDoc, aName, 0, sal_False )) ) in GetHelpId()
1966 pTmpFmt = pColl; in GetHelpId()
2048 case SFX_STYLE_FAMILY_PARA : pTmpFmt = pColl; break; in SetHelpId()
2261 SwTxtFmtColl* pColl = lcl_FindParaFmt(rDoc, rName, 0, sal_False ); in Remove() local
2262 if(pColl) in Remove()
2263 rDoc.DelTxtFmtColl(pColl); in Remove()
2572 SwTxtFmtColl* pColl = (*rDoc.GetTxtFmtColls())[ i ]; in First() local
2574 if(pColl->IsDefault()) in First()
2577 const sal_Bool bUsed = bOrganizer || rDoc.IsUsed(*pColl); in First()
2580 const sal_uInt16 nId = pColl->GetPoolFmtId(); in First()
2635 if( RES_CONDTXTFMTCOLL != pColl->Which() ) continue; in First()
2643 aLst.Append( cPARA, pColl->GetName() ); in First()