Lines Matching refs:pDesc
256 const SwPageDesc* pDesc = 0; in lcl_FindPageDesc() local
260 pDesc = rDoc.FindPageDescByName( rName ); in lcl_FindPageDesc()
261 if( !pDesc && bCreate ) in lcl_FindPageDesc()
265 pDesc = rDoc.GetPageDescFromPool(nId); in lcl_FindPageDesc()
271 if(pDesc) in lcl_FindPageDesc()
274 if(pDesc->GetFollow()) in lcl_FindPageDesc()
275 pStyle->PresetFollow(pDesc->GetFollow()->GetName()); in lcl_FindPageDesc()
282 return pDesc; in lcl_FindPageDesc()
408 pDesc(0), in SwDocStyleSheet()
454 pDesc(rOrg.pDesc), in SwDocStyleSheet()
883 ASSERT(pDesc, "PageDesc fehlt!"); in SetName()
884 if( pDesc && pDesc->GetName() != rStr ) in SetName()
890 SwPageDesc aPageDesc(*((SwPageDesc*)pDesc)); in SetName()
1036 ASSERT(pDesc, "PageDesc fehlt!"); in SetFollow()
1037 if( pDesc ) in SetFollow()
1043 if( pFollowDesc != pDesc->GetFollow() && in SetFollow()
1044 rDoc.FindPageDescByName( pDesc->GetName(), &nId ) ) in SetFollow()
1046 SwPageDesc aDesc( *pDesc ); in SetFollow()
1049 pDesc = &const_cast<const SwDoc &>(rDoc).GetPageDesc( nId ); in SetFollow()
1132 ASSERT(pDesc, "Kein PageDescriptor"); in GetItemSet()
1133 ::PageDescToItemSet(*((SwPageDesc*)pDesc), aCoreSet); in GetItemSet()
1367 ASSERT(pDesc, "Wo ist der PageDescriptor"); in SetItemSet()
1369 if( rDoc.FindPageDescByName( pDesc->GetName(), &nPgDscPos )) in SetItemSet()
1371 pNewDsc = new SwPageDesc( *pDesc ); in SetItemSet()
1375 rDoc.CopyPageDesc(*pDesc, *pNewDsc); // #i7983# in SetItemSet()
1461 pDesc = &const_cast<const SwDoc &>(rDoc).GetPageDesc( nPgDscPos ); in SetItemSet()
1715 pDesc = lcl_FindPageDesc(rDoc, aName, this, bCreate); in FillStyleSheet()
1716 bPhysical = 0 != pDesc; in FillStyleSheet()
1717 if( bFillOnlyInfo && !pDesc ) in FillStyleSheet()
1721 pDesc = lcl_FindPageDesc( rDoc, aName, this, sal_True ); in FillStyleSheet()
1724 if( pDesc ) in FillStyleSheet()
1726 nPoolId = pDesc->GetPoolFmtId(); in FillStyleSheet()
1727 nHelpId = pDesc->GetPoolHelpId(); in FillStyleSheet()
1728 if( pDesc->GetPoolHlpFileId() != UCHAR_MAX ) in FillStyleSheet()
1729 aHelpFile = *rDoc.GetDocPattern( pDesc->GetPoolHlpFileId() ); in FillStyleSheet()
1737 bRet = 0 != pDesc || USHRT_MAX != nPoolId; in FillStyleSheet()
1739 pDesc = 0; in FillStyleSheet()
1854 pDesc = lcl_FindPageDesc( rDoc, aName ); in Create()
1855 if( !pDesc ) in Create()
1858 pDesc = &const_cast<const SwDoc &>(rDoc).GetPageDesc(nId); in Create()
1920 return pDesc; in GetPageDesc()
1967 pDesc = 0; in SetPhysical()
1997 case SFX_STYLE_FAMILY_PAGE : pMod = pDesc; break; in IsUsed()
2054 if( !pDesc && in GetHelpId()
2055 0 == ( pDesc = lcl_FindPageDesc( rDoc, aName, 0, sal_False ) ) ) in GetHelpId()
2061 nId = pDesc->GetPoolHelpId(); in GetHelpId()
2062 nFileId = pDesc->GetPoolHlpFileId(); in GetHelpId()
2063 nPoolId = pDesc->GetPoolFmtId(); in GetHelpId()
2125 ((SwPageDesc*)pDesc)->SetPoolHelpId( nHId ); in SetHelpId()
2126 ((SwPageDesc*)pDesc)->SetPoolHlpFileId( nFileId ); in SetHelpId()
2270 SwPageDesc *pDesc = rDoc.FindPageDescByName( in Replace() local
2274 if( pDesc ) in Replace()
2275 pTargetFmt = &pDesc->GetMaster(); in Replace()