Lines Matching refs:mpDoc
177 : new SwReader( rMedium, aFileName, mpDoc ); in StartConvertFrom()
256 mpDoc->RemoveAllFmtLanguageDependencies(); in ConvertFrom()
261 mpDoc->GetLinkManager().SetNeverAskUpdateAllLinks(); in ConvertFrom()
267 if ( mpDoc != pRdr->GetDoc() ) in ConvertFrom()
269 if( mpDoc ) in ConvertFrom()
271 mpDoc = pRdr->GetDoc(); in ConvertFrom()
276 … mxBasePool = new SwDocStyleSheetPool( *mpDoc, SFX_CREATE_MODE_ORGANIZER == GetCreateMode() ); in ConvertFrom()
289 if ( bOk && !mpDoc->IsInLoadAsynchron() ) in ConvertFrom()
302 if ( mpDoc == NULL ) in BeforeLoading()
307 mpDoc->RemoveAllFmtLanguageDependencies(); in BeforeLoading()
326 if ( mpWrtShell && mpDoc && in Save()
327 mpDoc->get(IDocumentSettingAccess::DO_NOT_CAPTURE_DRAW_OBJS_ON_PAGE) && in Save()
328 docfunc::AllDrawObjsOnPage( *mpDoc ) ) in Save()
330 mpDoc->set(IDocumentSettingAccess::DO_NOT_CAPTURE_DRAW_OBJS_ON_PAGE, false); in Save()
348 SwWriter aWrt( *GetMedium(), *mpDoc ); in Save()
363 if( mpDoc->ContainsMSVBasic() ) in Save()
370 mpDoc->SetContainsMSVBasic( sal_False ); in Save()
387 SwWriter aWrt( *GetMedium(), *mpDoc ); in Save()
416 mpDoc->setDocAccTitle(String()); in SaveAs()
443 if( mpDoc->get(IDocumentSettingAccess::GLOBAL_DOCUMENT) && in SaveAs()
444 !mpDoc->get(IDocumentSettingAccess::GLOBAL_DOCUMENT_SAVE_LINKS) ) in SaveAs()
471 if ( mpWrtShell && mpDoc && in SaveAs()
472 mpDoc->get(IDocumentSettingAccess::DO_NOT_CAPTURE_DRAW_OBJS_ON_PAGE) && in SaveAs()
473 docfunc::AllDrawObjsOnPage( *mpDoc ) ) in SaveAs()
475 mpDoc->set(IDocumentSettingAccess::DO_NOT_CAPTURE_DRAW_OBJS_ON_PAGE, false); in SaveAs()
501 if( mpDoc->ContainsMSVBasic() ) in SaveAs()
508 mpDoc->SetContainsMSVBasic( sal_False ); in SaveAs()
517 sal_Bool bIsModified = mpDoc->IsModified(); in SaveAs()
518 mpDoc->GetIDocumentUndoRedo().LockUndoNoModifiedPosition(); in SaveAs()
519 Link aOldOLELnk( mpDoc->GetOle2Link() ); in SaveAs()
520 mpDoc->SetOle2Link( Link() ); in SaveAs()
536 SwWriter aWrt( rMedium, *mpDoc ); in SaveAs()
544 mpDoc->SetModified(); in SaveAs()
545 mpDoc->GetIDocumentUndoRedo().UnLockUndoNoModifiedPosition(); in SaveAs()
547 mpDoc->SetOle2Link( aOldOLELnk ); in SaveAs()
597 if( mpDoc->ContainsMSVBasic() ) in ConvertTo()
610 mpDoc->SetContainsMSVBasic( sal_True ); in ConvertTo()
647 SwDocStat aDocStat( mpDoc->GetDocStat() );; in ConvertTo()
648 mpDoc->UpdateDocStat( aDocStat ); in ConvertTo()
653 if ( mpWrtShell && mpDoc && in ConvertTo()
654 mpDoc->get(IDocumentSettingAccess::DO_NOT_CAPTURE_DRAW_OBJS_ON_PAGE) && in ConvertTo()
655 docfunc::AllDrawObjsOnPage( *mpDoc ) ) in ConvertTo()
657 mpDoc->set(IDocumentSettingAccess::DO_NOT_CAPTURE_DRAW_OBJS_ON_PAGE, false); in ConvertTo()
791 SwWriter aWrt( rMedium, *mpDoc ); in ConvertTo()
822 mpDoc->SetModified(); in SaveCompleted()
824 mpDoc->ResetModified(); in SaveCompleted()
884 pOrig = const_cast<JobSetup*>(mpDoc->getJobsetup()); in Draw()
887 mpDoc->setJobsetup( rSetup ); in Draw()
899 ViewShell::PrtOle2( mpDoc, SW_MOD()->GetUsrPref(bWeb), aOpts, pDev, aRect ); in Draw()
904 mpDoc->setJobsetup( *pOrig ); in Draw()
942 SwNodeIndex aIdx( mpDoc->GetNodes().GetEndOfExtras(), 1 ); in GetVisArea()
943 SwCntntNode* pNd = mpDoc->GetNodes().GoNext( &aIdx ); in GetVisArea()
953 return mpDoc->getPrinter( false ); in GetDocumentPrinter()
958 return mpDoc->getReferenceDevice( false ); in GetDocumentRefDev()
1107 const SvNumberFormatter* pFmtr = mpDoc->GetNumberFormatter( sal_False ); in GetState()
1126 sfx2::LinkManager& rLnkMgr = mpDoc->GetLinkManager(); in GetState()
1134 bRet = mpDoc->HasInvisibleContent(); in GetState()
1190 ::DelAllGrfCacheEntries( mpDoc ); in PrepareReload()
1203 const bool bHasDocToStayModified( mpDoc->IsModified() && mpDoc->LinksUpdated() ); in LoadingFinished()
1213 if ( bHasDocToStayModified && !mpDoc->IsModified() ) in LoadingFinished()
1215 mpDoc->SetModified(); in LoadingFinished()
1224 mpDoc->GetLinkManager().CancelTransfers(); in CancelTransfers()
1235 SwIterator<SwCntntNode,SwFmtColl> aIter( *mpDoc->GetDfltGrfFmtColl() ); in RemoveOLEObjects()
1263 SwIterator<SwCntntNode,SwFmtColl> aIter( *mpDoc->GetDfltGrfFmtColl() ); in CalcLayoutForOLEObjects()
1305 if ( mpDoc ) in setDocAccTitle()
1307 mpDoc->setDocAccTitle( rTitle ); in setDocAccTitle()
1313 if ( mpDoc ) in getDocAccTitle()
1315 sRet = mpDoc->getDocAccTitle(); in getDocAccTitle()
1324 if ( mpDoc ) in setDocReadOnly()
1326 mpDoc->setDocReadOnly( bReadOnly ); in setDocReadOnly()
1332 if ( mpDoc ) in getDocReadOnly()
1334 return mpDoc->getDocReadOnly(); in getDocReadOnly()
1378 return mpDoc ? &mpDoc->GetXmlIdRegistry() : 0; in GetXmlIdRegistry()