Lines Matching refs:mpDoc
123 SD_MOD()->GetSdOptions(mpDoc->GetDocumentType())); in GetPrinter()
180 …if ( mpDoc->GetPrinterIndependentLayout() == ::com::sun::star::document::PrinterIndependentLayout:… in SetPrinter()
189 …if ( mpDoc->GetPrinterIndependentLayout() == ::com::sun::star::document::PrinterIndependentLayout:… in UpdateFontList()
245 if( mpDoc ) in UpdateRefDevice()
249 switch (mpDoc->GetPrinterIndependentLayout()) in UpdateRefDevice()
268 mpDoc->SetRefDevice( pRefDevice ); in UpdateRefDevice()
270 ::sd::Outliner* pOutl = mpDoc->GetOutliner( sal_False ); in UpdateRefDevice()
275 ::sd::Outliner* pInternalOutl = mpDoc->GetInternalOutliner( sal_False ); in UpdateRefDevice()
300 mpDoc->NewOrLoadCompleted(NEW_DOC); // otherwise calling in InitNew()
328 mpDoc->SetStarDrawPreviewMode( sal_True ); in Load()
335 mpDoc->SetStartWithPresentation( true ); in Load()
356 SdPage* pPage = mpDoc->GetSdPage( 0, PK_STANDARD ); in Load()
430 mpDoc->NewOrLoadCompleted( NEW_DOC ); in LoadFrom()
431 mpDoc->CreateFirstPages(); in LoadFrom()
432 mpDoc->StopWorkStartupDelay(); in LoadFrom()
474 mpDoc->SetStarDrawPreviewMode( sal_True ); in ConvertFrom()
481 mpDoc->SetStartWithPresentation( true ); in ConvertFrom()
487 mpDoc->StopWorkStartupDelay(); in ConvertFrom()
494 mpDoc->CreateFirstPages(); in ConvertFrom()
495 mpDoc->StopWorkStartupDelay(); in ConvertFrom()
503 mpDoc->CreateFirstPages(); in ConvertFrom()
504 mpDoc->StopWorkStartupDelay(); in ConvertFrom()
510 mpDoc->CreateFirstPages(); in ConvertFrom()
511 mpDoc->StopWorkStartupDelay(); in ConvertFrom()
516 mpDoc->CreateFirstPages(); in ConvertFrom()
517 mpDoc->StopWorkStartupDelay(); in ConvertFrom()
552 mpDoc->StopWorkStartupDelay(); in Save()
579 mpDoc->setDocAccTitle(String()); in SaveAs()
593 mpDoc->StopWorkStartupDelay(); in SaveAs()
625 if( mpDoc->GetPageCount() ) in ConvertTo()
663 const sal_uLong nOldSwapMode = mpDoc->GetSwapGraphicsMode(); in ConvertTo()
665 mpDoc->SetSwapGraphicsMode( SDR_SWAPGRAPHICSMODE_TEMP ); in ConvertTo()
669 mpDoc->SetSwapGraphicsMode( nOldSwapMode ); in ConvertTo()
691 mpDoc->NbcSetChanged( sal_False ); in SaveCompleted()
730 return mpDoc; in GetDoc()
741 return( (SfxStyleSheetBasePool*) mpDoc->GetStyleSheetPool() ); in GetStyleSheetPool()
777 nPageNumber = mpDoc->GetPageCount() - 2; in GotoBookmark()
789 if ( nPageNumber >= mpDoc->GetPageCount() ) in GotoBookmark()
799 nPageNumber = mpDoc->GetPageByName( aBookmark, bIsMasterPage ); in GotoBookmark()
804 pObj = mpDoc->GetObj(aBookmark); in GotoBookmark()
819 pPage = (SdPage*) mpDoc->GetMasterPage(nPageNumber); in GotoBookmark()
821 pPage = (SdPage*) mpDoc->GetPage(nPageNumber); in GotoBookmark()
827 if( (eNewPageKind != PK_STANDARD) && (mpDoc->GetDocumentType() == DOCUMENT_TYPE_DRAW) ) in GotoBookmark()
960 sal_uInt16 nPgNum = mpDoc->GetPageByName( aBookmark, bIsMasterPage ); in GetObjectIsmarked()
966 pObj = mpDoc->GetObj(aBookmark); in GetObjectIsmarked()
980 SdPage* pPage = (SdPage*) mpDoc->GetPage(nPgNum); in GetObjectIsmarked()
1067 sal_uInt16 nPgNum = mpDoc->GetPageByName( aBookmark, bIsMasterPage ); in GotoTreeBookmark()
1073 pObj = mpDoc->GetObj(aBookmark); in GotoTreeBookmark()
1087 SdPage* pPage = (SdPage*) mpDoc->GetPage(nPgNum); in GotoTreeBookmark()
1197 sal_uInt32 nCount = mpDoc->GetMasterSdPageCount(PK_STANDARD); in SaveAsOwnFormat()
1200 String aOldPageLayoutName = mpDoc->GetMasterSdPage(i, PK_STANDARD)->GetLayoutName(); in SaveAsOwnFormat()
1206 mpDoc->RenameLayoutTemplate(aOldPageLayoutName, aNewLayoutName); in SaveAsOwnFormat()
1268 if (pReferenceDevice == NULL && mpDoc != NULL) in GetDocumentRefDev()
1269 pReferenceDevice = mpDoc->GetRefDevice (); in GetDocumentRefDev()
1285 if (mpDoc ) in setDocAccTitle()
1287 mpDoc->setDocAccTitle( rTitle ); in setDocAccTitle()
1293 if (mpDoc) in getDocAccTitle()
1295 sRet = mpDoc->getDocAccTitle(); in getDocAccTitle()
1302 if (mpDoc ) in setDocReadOnly()
1304 mpDoc->setDocReadOnly( bReadOnly ); in setDocReadOnly()
1309 if (mpDoc) in getDocReadOnly()
1311 return mpDoc->getDocReadOnly(); in getDocReadOnly()