Lines Matching refs:pDesc

257 	const SwPageDesc* pDesc = 0;  in lcl_FindPageDesc()  local
261 pDesc = rDoc.FindPageDescByName( rName ); in lcl_FindPageDesc()
262 if( !pDesc && bCreate ) in lcl_FindPageDesc()
266 pDesc = rDoc.GetPageDescFromPool(nId); in lcl_FindPageDesc()
272 if(pDesc) in lcl_FindPageDesc()
275 if(pDesc->GetFollow()) in lcl_FindPageDesc()
276 pStyle->PresetFollow(pDesc->GetFollow()->GetName()); in lcl_FindPageDesc()
283 return pDesc; in lcl_FindPageDesc()
409 pDesc(0), in SwDocStyleSheet()
446 pDesc(rOrg.pDesc), in SwDocStyleSheet()
832 ASSERT(pDesc, "PageDesc fehlt!"); in SetName()
833 if( pDesc && pDesc->GetName() != rStr ) in SetName()
839 SwPageDesc aPageDesc(*((SwPageDesc*)pDesc)); in SetName()
985 ASSERT(pDesc, "PageDesc fehlt!"); in SetFollow()
986 if( pDesc ) in SetFollow()
992 if( pFollowDesc != pDesc->GetFollow() && in SetFollow()
993 rDoc.FindPageDescByName( pDesc->GetName(), &nId ) ) in SetFollow()
995 SwPageDesc aDesc( *pDesc ); in SetFollow()
998 pDesc = &const_cast<const SwDoc &>(rDoc).GetPageDesc( nId ); in SetFollow()
1066 ASSERT(pDesc, "Kein PageDescriptor"); in GetItemSet()
1067 ::PageDescToItemSet(*((SwPageDesc*)pDesc), aCoreSet); in GetItemSet()
1301 ASSERT(pDesc, "Wo ist der PageDescriptor"); in SetItemSet()
1303 if( rDoc.FindPageDescByName( pDesc->GetName(), &nPgDscPos )) in SetItemSet()
1305 pNewDsc = new SwPageDesc( *pDesc ); in SetItemSet()
1309 rDoc.CopyPageDesc(*pDesc, *pNewDsc); // #i7983# in SetItemSet()
1387 pDesc = &const_cast<const SwDoc &>(rDoc).GetPageDesc( nPgDscPos ); in SetItemSet()
1641 pDesc = lcl_FindPageDesc(rDoc, aName, this, bCreate); in FillStyleSheet()
1642 bPhysical = 0 != pDesc; in FillStyleSheet()
1643 if( bFillOnlyInfo && !pDesc ) in FillStyleSheet()
1647 pDesc = lcl_FindPageDesc( rDoc, aName, this, sal_True ); in FillStyleSheet()
1650 if( pDesc ) in FillStyleSheet()
1652 nPoolId = pDesc->GetPoolFmtId(); in FillStyleSheet()
1653 nHelpId = pDesc->GetPoolHelpId(); in FillStyleSheet()
1654 if( pDesc->GetPoolHlpFileId() != UCHAR_MAX ) in FillStyleSheet()
1655 aHelpFile = *rDoc.GetDocPattern( pDesc->GetPoolHlpFileId() ); in FillStyleSheet()
1663 bRet = 0 != pDesc || USHRT_MAX != nPoolId; in FillStyleSheet()
1665 pDesc = 0; in FillStyleSheet()
1780 pDesc = lcl_FindPageDesc( rDoc, aName ); in Create()
1781 if( !pDesc ) in Create()
1784 pDesc = &const_cast<const SwDoc &>(rDoc).GetPageDesc(nId); in Create()
1846 return pDesc; in GetPageDesc()
1893 pDesc = 0; in SetPhysical()
1923 case SFX_STYLE_FAMILY_PAGE : pMod = pDesc; break; in IsUsed()
1980 if( !pDesc && in GetHelpId()
1981 0 == ( pDesc = lcl_FindPageDesc( rDoc, aName, 0, sal_False ) ) ) in GetHelpId()
1987 nId = pDesc->GetPoolHelpId(); in GetHelpId()
1988 nFileId = pDesc->GetPoolHlpFileId(); in GetHelpId()
1989 nPoolId = pDesc->GetPoolFmtId(); in GetHelpId()
2051 ((SwPageDesc*)pDesc)->SetPoolHelpId( nHId ); in SetHelpId()
2052 ((SwPageDesc*)pDesc)->SetPoolHlpFileId( nFileId ); in SetHelpId()
2196 SwPageDesc *pDesc = rDoc.FindPageDescByName( in Replace() local
2200 if( pDesc ) in Replace()
2201 pTargetFmt = &pDesc->GetMaster(); in Replace()