Lines Matching refs:pDoc

166         SdDrawDocument* pDoc = 0;  in IMPL_LINK()  local
174 pDoc = dynamic_cast< SdDrawDocument* >( pTextObj->GetModel() ); in IMPL_LINK()
176 if( pDoc ) in IMPL_LINK()
177 pDocShell = pDoc->GetDocSh(); in IMPL_LINK()
240 if( !pDoc && pViewSh ) in IMPL_LINK()
241 pDoc = pViewSh->GetDoc(); in IMPL_LINK()
246 if( pPage && pDoc && !bMasterView ) in IMPL_LINK()
258 aRepresentation = pDoc->CreatePageNumValue((sal_uInt16)nPgNum); in IMPL_LINK()
280 if( !pDoc && pViewSh ) in IMPL_LINK()
281 pDoc = pViewSh->GetDoc(); in IMPL_LINK()
294 else if( pDoc ) in IMPL_LINK()
296 nPageCount = (sal_uInt16)pDoc->GetSdPageCount(PK_STANDARD); in IMPL_LINK()
302 aRepresentation = pDoc->CreatePageNumValue(nPageCount); in IMPL_LINK()
420 SdDrawDocument* pDoc = NULL; in CreateItemSet() local
431 pDoc = pDocSh->GetDoc(); in CreateItemSet()
435 if( pDoc && eDocType == pDoc->GetDocumentType() ) in CreateItemSet()
471 nDefTab = pDoc->GetDefaultTabulator(); in CreateItemSet()
478 nMetric = pDoc->GetUIUnit(); in CreateItemSet()
494 … aSdOptionsMiscItem.GetOptionsMisc().SetSummationOfParagraphs( pDoc->IsSummationOfParagraphs() ); in CreateItemSet()
496 (sal_uInt16)pDoc->GetPrinterIndependentLayout()); in CreateItemSet()
511 SdrPage* pPage = (SdrPage*) pDoc->GetSdPage(0, PK_STANDARD); in CreateItemSet()
519 const Fraction& rFraction = pDoc->GetUIScale(); in CreateItemSet()
552 SdDrawDocument* pDoc = NULL; in ApplyItemSet() local
562 pDoc = pDocSh->GetDoc(); in ApplyItemSet()
566 if( pDoc && eDocType == pDoc->GetDocumentType() ) in ApplyItemSet()
593 if( pDoc && eDocType == pDoc->GetDocumentType() ) in ApplyItemSet()
617 if( pDocSh && pDoc && eDocType == pDoc->GetDocumentType() ) in ApplyItemSet()
619 pDoc->SetUIScale( Fraction( nX, nY ) ); in ApplyItemSet()
681 if( pDocSh && pDoc && eDocType == pDoc->GetDocumentType() ) in ApplyItemSet()
704 pDoc->SetSummationOfParagraphs( pMiscItem->GetOptionsMisc().IsSummationOfParagraphs() ); in ApplyItemSet()
726 …if( pDoc->GetPrinterIndependentLayout() != pMiscItem->GetOptionsMisc().GetPrinterIndependentLayout… in ApplyItemSet()
727 … pDoc->SetPrinterIndependentLayout (pMiscItem->GetOptionsMisc().GetPrinterIndependentLayout()); in ApplyItemSet()
734 if( pDocSh && pDoc && eDocType == pDoc->GetDocumentType() ) in ApplyItemSet()
737 pDoc->SetUIUnit(eUIUnit); in ApplyItemSet()