Lines Matching refs:mpModel
136 SdrModel* mpModel; member in SdUnoForbiddenCharsTable
140 : SvxUnoForbiddenCharsTable( pModel->GetForbiddenCharsTable() ), mpModel( pModel ) in SdUnoForbiddenCharsTable()
147 if( mpModel ) in onChange()
149 mpModel->ReformatAllTextObjects(); in onChange()
155 if( mpModel ) in ~SdUnoForbiddenCharsTable()
156 EndListening( *mpModel ); in ~SdUnoForbiddenCharsTable()
167 mpModel = NULL; in Notify()
2337 : mpModel( &rMyModel) in SdDrawPagesAccess()
2351 if( NULL == mpModel ) in getCount()
2354 return mpModel->mpDoc->GetSdPageCount( PK_STANDARD ); in getCount()
2362 if( NULL == mpModel ) in getByIndex()
2367 if( (Index < 0) || (Index >= mpModel->mpDoc->GetSdPageCount( PK_STANDARD ) ) ) in getByIndex()
2370 SdPage* pPage = mpModel->mpDoc->GetSdPage( (sal_uInt16)Index, PK_STANDARD ); in getByIndex()
2385 if( NULL == mpModel ) in getByName()
2390 const sal_uInt16 nCount = mpModel->mpDoc->GetSdPageCount( PK_STANDARD ); in getByName()
2394 SdPage* pPage = mpModel->mpDoc->GetSdPage( nPage, PK_STANDARD ); in getByName()
2415 if( NULL == mpModel ) in getElementNames()
2418 const sal_uInt16 nCount = mpModel->mpDoc->GetSdPageCount( PK_STANDARD ); in getElementNames()
2425 SdPage* pPage = mpModel->mpDoc->GetSdPage( nPage, PK_STANDARD ); in getElementNames()
2436 if( NULL == mpModel ) in hasByName()
2439 const sal_uInt16 nCount = mpModel->mpDoc->GetSdPageCount( PK_STANDARD ); in hasByName()
2443 SdPage* pPage = mpModel->mpDoc->GetSdPage( nPage, PK_STANDARD ); in hasByName()
2478 if( NULL == mpModel ) in insertNewByIndex()
2481 if( mpModel->mpDoc ) in insertNewByIndex()
2483 SdPage* pPage = mpModel->InsertSdPage( (sal_uInt16)nIndex ); in insertNewByIndex()
2504 if( NULL == mpModel || mpModel->mpDoc == NULL ) in remove()
2507 SdDrawDocument& rDoc = *mpModel->mpDoc; in remove()
2549 mpModel->SetModified(); in remove()
2575 mpModel = NULL; in dispose()
2593 : mpModel(&rMyModel) in SdMasterPagesAccess()
2604 mpModel = NULL; in dispose()
2623 if( NULL == mpModel->mpDoc ) in getCount()
2626 return mpModel->mpDoc->GetMasterSdPageCount(PK_STANDARD); in getCount()
2638 if( NULL == mpModel ) in getByIndex()
2643 if( (Index < 0) || (Index >= mpModel->mpDoc->GetMasterSdPageCount( PK_STANDARD ) ) ) in getByIndex()
2646 SdPage* pPage = mpModel->mpDoc->GetMasterSdPage( (sal_uInt16)Index, PK_STANDARD ); in getByIndex()
2675 if( NULL == mpModel ) in insertNewByIndex()
2680 SdDrawDocument* mpDoc = mpModel->mpDoc; in insertNewByIndex()
2726 SdPage* pPage = mpModel->mpDoc->GetSdPage( (sal_uInt16)0, PK_STANDARD ); in insertNewByIndex()
2727 SdPage* pRefNotesPage = mpModel->mpDoc->GetSdPage( (sal_uInt16)0, PK_NOTES); in insertNewByIndex()
2730 SdPage* pMPage = (SdPage*)mpModel->mpDoc->AllocPage(sal_True); in insertNewByIndex()
2747 SdPage* pMNotesPage = (SdPage*)mpModel->mpDoc->AllocPage(sal_True); in insertNewByIndex()
2758 mpModel->SetModified(); in insertNewByIndex()
2774 if( NULL == mpModel || mpModel->mpDoc == NULL ) in remove()
2777 SdDrawDocument& rDoc = *mpModel->mpDoc; in remove()
2787 if( !pPage || !pPage->IsMasterPage() || (mpModel->mpDoc->GetMasterPageUserCount(pPage) > 0)) in remove()
2847 : mpModel( &rMyModel ) in SdDocLinkTargets()
2858 mpModel = NULL; in dispose()
2877 if( NULL == mpModel ) in getByName()
2899 if( NULL == mpModel ) in getElementNames()
2902 SdDrawDocument* mpDoc = mpModel->GetDoc(); in getElementNames()
2952 if( NULL == mpModel ) in hasByName()
2970 if( NULL == mpModel ) in hasElements()
2973 return mpModel->GetDoc() != NULL; in hasElements()
2978 SdDrawDocument* mpDoc = mpModel->GetDoc(); in FindPage()