Lines Matching refs:mpDoc
140 SwTransferable::InitOle( this, *mpDoc ); in InitNew()
153 mpDoc->setForbiddenCharacters( eLang, aForbidden); in InitNew()
156 mpDoc->set(IDocumentSettingAccess::KERN_ASIAN_PUNCTUATION, in InitNew()
158 …mpDoc->setCharacterCompressionType(static_cast<SwCharCompressType>(aAsian.GetCharDistanceCompressi… in InitNew()
159 mpDoc->setPrintData(*SW_MOD()->GetPrtOptions(bWeb)); in InitNew()
166 SfxPrinter* pPrt = mpDoc->getPrinter( false ); in InitNew()
204 … const SvxLanguageItem& rLang = (const SvxLanguageItem&)mpDoc->GetDefault( aLangTypes[i] ); in InitNew()
241 mpDoc->SetDefault(*pFontItem); in InitNew()
244 SwTxtFmtColl *pColl = mpDoc->GetTxtCollFromPool(RES_POOLCOLL_STANDARD); in InitNew()
251 mpDoc->SetDefault(SvxFontHeightItem( nFontHeight, 100, aFontHeightWhich[i] )); in InitNew()
254 SwTxtFmtColl *pColl = mpDoc->GetTxtCollFromPool(RES_POOLCOLL_STANDARD); in InitNew()
277 …LanguageType eLanguage = static_cast<const SvxLanguageItem&>(mpDoc->GetDefault( RES_CHRATR_LANGUAG… in InitNew()
284 …eLanguage = static_cast<const SvxLanguageItem&>(mpDoc->GetDefault( RES_CHRATR_CJK_LANGUAGE )).GetL… in InitNew()
290 …eLanguage = static_cast<const SvxLanguageItem&>(mpDoc->GetDefault( RES_CHRATR_CTL_LANGUAGE )).GetL… in InitNew()
301 pColl = mpDoc->GetTxtCollFromPool(aFontIdPoolId[nIdx + 1]); in InitNew()
314 pColl = mpDoc->GetTxtCollFromPool(aFontIdPoolId[nIdx + 1]); in InitNew()
326 mpDoc->set( IDocumentSettingAccess::MATH_BASELINE_ALIGNMENT, in InitNew()
334 mpDoc->SetDefault( SvxAdjustItem(SVX_ADJUST_RIGHT, RES_PARATR_ADJUST ) ); in InitNew()
341 mpDoc->SetDefault( SwFmtFollowTextFlow( sal_False ) ); in InitNew()
344 mpDoc->SetDefault( SfxBoolItem( RES_COLLAPSING_BORDERS, sal_True ) ); in InitNew()
348 mpDoc->SetDefault( SvxAutoKernItem( sal_True, RES_CHRATR_AUTOKERN ) ); in InitNew()
353 mpDoc->ResetModified(); in InitNew()
366 mpDoc(0), in SwDocShell()
385 mpDoc(0), in SwDocShell()
404 mpDoc(pD), in SwDocShell()
424 if( mpDoc ) in ~SwDocShell()
426 mpDoc->GetChartControllerHelper().Disconnect(); in ~SwDocShell()
427 SwChartDataProvider *pPCD = mpDoc->GetChartDataProvider(); in ~SwDocShell()
464 if( !mpDoc ) in AddLink()
467 mpDoc = aFactory.GetDoc(); in AddLink()
468 mpDoc->acquire(); in AddLink()
469 mpDoc->set(IDocumentSettingAccess::HTML_MODE, ISA(SwWebDocShell) ); in AddLink()
472 mpDoc->acquire(); in AddLink()
473 mpDoc->SetDocShell( this ); // am Doc den DocShell-Pointer setzen in AddLink()
477 SetPool(&mpDoc->GetAttrPool()); in AddLink()
480 mpDoc->SetOle2Link(LINK(this, SwDocShell, Ole2ModifiedHdl)); in AddLink()
493 ASSERT(mpDoc, "Kein Doc keine FontList"); in UpdateFontList()
494 if( mpDoc ) in UpdateFontList()
497 mpFontList = new FontList( mpDoc->getReferenceDevice( true ) ); in UpdateFontList()
515 if(mpDoc) in RemoveLink()
522 sal_Int8 nRefCt = static_cast< sal_Int8 >(mpDoc->release()); in RemoveLink()
523 mpDoc->SetOle2Link(Link()); in RemoveLink()
524 mpDoc->SetDocShell( 0 ); in RemoveLink()
526 delete mpDoc; in RemoveLink()
527 mpDoc = 0; // wir haben das Doc nicht mehr !! in RemoveLink()
555 if( mpDoc ) // fuer Letzte Version !! in Load()
563 mxBasePool = new SwDocStyleSheetPool( *mpDoc, SFX_CREATE_MODE_ORGANIZER == GetCreateMode() ); in Load()
583 SwReader aRdr( rMedium, aEmptyStr, mpDoc ); in Load()
594 SwTransferable::InitOle( this, *mpDoc ); in Load()
608 SwReader aRdr( rMedium, aEmptyStr, mpDoc ); in Load()
618 if( !mpDoc->get(IDocumentSettingAccess::HTML_MODE) ) in Load()
619 mpDoc->set(IDocumentSettingAccess::HTML_MODE, true); in Load()
623 if( !mpDoc->get(IDocumentSettingAccess::GLOBAL_DOCUMENT) ) in Load()
624 mpDoc->set(IDocumentSettingAccess::GLOBAL_DOCUMENT, true); in Load()
650 if ( bRet && !mpDoc->IsInLoadAsynchron() && in Load()
673 if( mpDoc ) in LoadFrom()
690 mxBasePool = new SwDocStyleSheetPool( *mpDoc, SFX_CREATE_MODE_ORGANIZER == GetCreateMode() ); in LoadFrom()
694 SwReader aRdr( rMedium, aEmptyStr, mpDoc ); in LoadFrom()
729 mpDoc->ResetModified(); in LoadFrom()
737 mxBasePool = new SwDocStyleSheetPool( *mpDoc, SFX_CREATE_MODE_ORGANIZER == GetCreateMode() ); in SubInitNew()
741 mpDoc->setLinkUpdateMode( GLOBALSETTING ); in SubInitNew()
742 mpDoc->setFieldUpdateFlags( AUTOUPD_GLOBALSETTING ); in SubInitNew()
758 SfxItemSet aDfltSet( mpDoc->GetAttrPool(), nRange ); in SubInitNew()
774 SvxHyphenZoneItem aHyp( (SvxHyphenZoneItem&) mpDoc->GetDefault( in SubInitNew()
788 mpDoc->SetDefault( aDfltSet ); in SubInitNew()
794 mpDoc->SetDefaultPageMode( bSquaredPageMode ); in SubInitNew()
797 mpDoc->ResetModified(); in SubInitNew()
803 IDocumentDeviceAccess* SwDocShell::getIDocumentDeviceAccess() { return mpDoc; } in getIDocumentDeviceAccess()
804 const IDocumentSettingAccess* SwDocShell::getIDocumentSettingAccess() const { return mpDoc; } in getIDocumentSettingAccess()
805 IDocumentChartDataProviderAccess* SwDocShell::getIDocumentChartDataProviderAccess() { return mpDoc;… in getIDocumentChartDataProviderAccess()