Lines Matching refs:pData
309 IconChoicePageData* pData = maPageList.GetObject(i); in ~IconChoiceDialog() local
311 if ( pData->pPage ) in ~IconChoiceDialog()
313 pData->pPage->FillUserData(); in ~IconChoiceDialog()
314 String aPageData(pData->pPage->GetUserData()); in ~IconChoiceDialog()
317 SvtViewOptions aTabPageOpt( E_TABPAGE, String::CreateFromInt32( pData->nId ) ); in ~IconChoiceDialog()
322 if ( pData->bOnDemand ) in ~IconChoiceDialog()
323 delete (SfxItemSet*)&pData->pPage->GetItemSet(); in ~IconChoiceDialog()
324 delete pData->pPage; in ~IconChoiceDialog()
326 delete pData; in ~IconChoiceDialog()
357 IconChoicePageData* pData = new IconChoicePageData ( nId, pCreateFunc, in AddTabPage() local
360 maPageList.Insert ( pData, LIST_APPEND ); in AddTabPage()
362 pData->fnGetRanges = pRangesFunc; in AddTabPage()
363 pData->bOnDemand = bItemsOnDemand; in AddTabPage()
383 IconChoicePageData* pData = (IconChoicePageData*)maPageList.GetObject ( i ); in Paint() local
385 if ( pData->nId == mnCurrentPageId ) in Paint()
387 ShowPageImpl ( pData ); in Paint()
391 HidePageImpl ( pData ); in Paint()
436 void IconChoiceDialog::ShowPageImpl ( IconChoicePageData* pData ) in ShowPageImpl() argument
438 if ( pData->pPage ) in ShowPageImpl()
439 pData->pPage->Show(); in ShowPageImpl()
444 void IconChoiceDialog::HidePageImpl ( IconChoicePageData* pData ) in HidePageImpl() argument
446 if ( pData->pPage ) in HidePageImpl()
447 pData->pPage->Hide(); in HidePageImpl()
461 IconChoicePageData* pData = GetPageData ( mnCurrentPageId ); in ShowPage() local
462 if(pData) in ShowPage()
463 ShowPageImpl ( pData ); in ShowPage()
545 IconChoicePageData* pData = (IconChoicePageData*)maPageList.GetObject ( i ); in SetPosSizeCtrls() local
581 if ( pData->pPage ) in SetPosSizeCtrls()
582 pData->pPage->SetPosSizePixel ( aNewPagePos, aNewPageSize ); in SetPosSizeCtrls()
629 IconChoicePageData* pData = GetPageData ( nId ); in SetPosSizePages() local
631 if ( pData->pPage ) in SetPosSizePages()
670 pData->pPage->SetPosSizePixel ( aNewPagePos, aNewPageSize ); in SetPosSizePages()
692 IconChoicePageData* pData = GetPageData ( mnCurrentPageId ); in IMPL_LINK() local
693 if ( pData->pPage ) in IMPL_LINK()
734 IconChoicePageData* pData = GetPageData ( mnCurrentPageId ); in IMPL_LINK() local
735 DBG_ASSERT( pData, "Id nicht bekannt" ); in IMPL_LINK()
737 if ( pData->bOnDemand ) in IMPL_LINK()
740 const SfxItemSet* _pSet = &( pData->pPage->GetItemSet() ); in IMPL_LINK()
741 pData->pPage->Reset( *(SfxItemSet*)_pSet ); in IMPL_LINK()
744 pData->pPage->Reset( *pSet ); in IMPL_LINK()
768 IconChoicePageData* pData = GetPageData ( mnCurrentPageId ); in ActivatePageImpl() local
769 DBG_ASSERT( pData, "Id nicht bekannt" ); in ActivatePageImpl()
770 if ( pData ) in ActivatePageImpl()
772 if ( !pData->pPage ) in ActivatePageImpl()
784 if ( pTmpSet && !pData->bOnDemand ) in ActivatePageImpl()
785 pData->pPage = (pData->fnCreatePage)( this, *pTmpSet ); in ActivatePageImpl()
787 pData->pPage = (pData->fnCreatePage)( this, *CreateInputItemSet( mnCurrentPageId ) ); in ActivatePageImpl()
789 SvtViewOptions aTabPageOpt( E_TABPAGE, String::CreateFromInt32( pData->nId ) ); in ActivatePageImpl()
790 pData->pPage->SetUserData( GetViewOptUserItem( aTabPageOpt ) ); in ActivatePageImpl()
791 SetPosSizePages ( pData->nId ); in ActivatePageImpl()
793 if ( pData->bOnDemand ) in ActivatePageImpl()
794 pData->pPage->Reset( (SfxItemSet &)pData->pPage->GetItemSet() ); in ActivatePageImpl()
796 pData->pPage->Reset( *pSet ); in ActivatePageImpl()
798 PageCreated( mnCurrentPageId, *pData->pPage ); in ActivatePageImpl()
800 else if ( pData->bRefresh ) in ActivatePageImpl()
802 pData->pPage->Reset( *pSet ); in ActivatePageImpl()
805 pData->bRefresh = sal_False; in ActivatePageImpl()
808 pData->pPage->ActivatePage( *pExampleSet ); in ActivatePageImpl()
811 SetHelpId( pData->pPage->GetHelpId() ); in ActivatePageImpl()
813 sal_Bool bReadOnly = pData->pPage->IsReadOnly(); in ActivatePageImpl()
825 IconChoicePageData *pData = GetPageData ( mnCurrentPageId ); in DeActivatePageImpl() local
829 if ( pData ) in DeActivatePageImpl()
831 IconChoicePage * pPage = pData->pPage; in DeActivatePageImpl()
895 IconChoicePageData *pData = GetPageData ( mnCurrentPageId ); in ResetPageImpl() local
897 DBG_ASSERT( pData, "Id nicht bekannt" ); in ResetPageImpl()
899 if ( pData->bOnDemand ) in ResetPageImpl()
902 const SfxItemSet* _pSet = &pData->pPage->GetItemSet(); in ResetPageImpl()
903 pData->pPage->Reset( *(SfxItemSet*)_pSet ); in ResetPageImpl()
906 pData->pPage->Reset( *pSet ); in ResetPageImpl()
931 IconChoicePageData* pData = maPageList.GetObject (i); in GetInputRanges() local
933 if ( pData->fnGetRanges ) in GetInputRanges()
935 const sal_uInt16* pTmpRanges = (pData->fnGetRanges)(); in GetInputRanges()
1045 IconChoicePageData* pData = maPageList.GetObject(i); in QueryClose() local
1046 if ( pData->pPage && !pData->pPage->QueryClose() ) in QueryClose()
1115 IconChoicePageData* pData = (IconChoicePageData*)maPageList.GetObject ( i ); in GetPageData() local
1117 if ( pData->nId == nId ) in GetPageData()
1119 pRet = pData; in GetPageData()
1184 IconChoicePageData* pData = GetPageData ( i ); in Ok() local
1186 IconChoicePage* pPage = pData->pPage; in Ok()
1190 if ( pData->bOnDemand ) in Ok()