Lines Matching refs:pBox
553 sal_Bool GetDocFontList_Impl( const FontList** ppFontList, SvxFontNameBox_Impl* pBox ) in GetDocFontList_Impl() argument
564 ::std::auto_ptr<FontList> aFontList(new FontList( pBox )); in GetDocFontList_Impl()
566 pBox->SetOwnFontList(aFontList); in GetDocFontList_Impl()
590 pBox->GetListCount() != pNewFontList->GetFontNameCount() ); in GetDocFontList_Impl()
597 if ( pBox ) in GetDocFontList_Impl()
598 pBox->Enable(); in GetDocFontList_Impl()
600 else if ( pBox && ( pDocSh || ( !pDocSh && !ppFontList ))) in GetDocFontList_Impl()
609 pBox->Disable(); in GetDocFontList_Impl()
613 if ( pBox && bChanged ) in GetDocFontList_Impl()
616 pBox->Fill( *ppFontList ); in GetDocFontList_Impl()
618 pBox->Clear(); in GetDocFontList_Impl()
1887 SvxStyleBox_Impl* pBox = (SvxStyleBox_Impl*)GetToolBox().GetItemWindow( GetId() ); in update() local
1888 if ( pBox->IsVisible() ) in update()
1919 SvxStyleBox_Impl* pBox = (SvxStyleBox_Impl*)GetToolBox().GetItemWindow( GetId() ); in FillStyleBox() local
1922 DBG_ASSERT( pBox, "Control not found!" ); in FillStyleBox()
1924 if ( pStyleSheetPool && pBox && nActFamily!=0xffff ) in FillStyleBox()
1941 if ( nCount != pBox->GetEntryCount() ) in FillStyleBox()
1949 bDoFill = ( pBox->GetEntry(i) != pStyle->GetName() ); in FillStyleBox()
1957 pBox->SetUpdateMode( sal_False ); in FillStyleBox()
1958 pBox->Clear(); in FillStyleBox()
1984 pBox->InsertEntry( aName ); in FillStyleBox()
1992 pBox->InsertEntry( pStyle->GetName() ); in FillStyleBox()
2006 pBox->InsertEntry( pImpl->aDefaultStyles[_i], nPos ); in FillStyleBox()
2011 WinBits nWinBits = pBox->GetStyle(); in FillStyleBox()
2013 pBox->SetStyle( nWinBits ); in FillStyleBox()
2015 pBox->InsertEntry( pImpl->aClearForm, 0 ); in FillStyleBox()
2016 pBox->SetSeparatorPos( 0 ); in FillStyleBox()
2018 pBox->InsertEntry( pImpl->aMore ); in FillStyleBox()
2022 pBox->SetStyle( nWinBits ); in FillStyleBox()
2025 pBox->SetUpdateMode( sal_True ); in FillStyleBox()
2026 pBox->SetFamily( eFamily ); in FillStyleBox()
2028 sal_uInt16 nLines = Min( pBox->GetEntryCount(), MAX_STYLES_ENTRIES ); in FillStyleBox()
2029 pBox->SetDropDownLineCount( nLines ); in FillStyleBox()
2038 SvxStyleBox_Impl* pBox = (SvxStyleBox_Impl*)GetToolBox().GetItemWindow( GetId() ); in SelectStyle() local
2039 DBG_ASSERT( pBox, "Control not found!" ); in SelectStyle()
2041 if ( pBox ) in SelectStyle()
2044 String aStrSel( pBox->GetText() ); in SelectStyle()
2050 pBox->SetText( rStyleName ); in SelectStyle()
2053 pBox->SetNoSelection(); in SelectStyle()
2054 pBox->SaveValue(); in SelectStyle()
2131 SvxStyleBox_Impl* pBox = (SvxStyleBox_Impl*)( GetToolBox().GetItemWindow( GetId() )); in IMPL_LINK() local
2132 if ( pBox->IsVisible() && !isBound() ) in IMPL_LINK()
2139 else if ( !pBox->IsVisible() && isBound() ) in IMPL_LINK()
2158 SvxStyleBox_Impl* pBox = (SvxStyleBox_Impl*)(rTbx.GetItemWindow( nId )); in StateChanged() local
2161 DBG_ASSERT( pBox, "Control not found!" ); in StateChanged()
2164 pBox->Disable(); in StateChanged()
2166 pBox->Enable(); in StateChanged()
2193 SvxStyleBox_Impl* pBox = new SvxStyleBox_Impl( pParent, in CreateItemWindow() local
2203 pBox->SetDefaultStyle( pImpl->aDefaultStyles[0] ); in CreateItemWindow()
2205 pBox->SetVisibilityListener( LINK( this, SvxStyleToolBoxControl, VisibilityNotification )); in CreateItemWindow()
2207 return pBox; in CreateItemWindow()
2232 SvxFontNameBox_Impl* pBox = (SvxFontNameBox_Impl*)(rTbx.GetItemWindow( nId )); in StateChanged() local
2234 DBG_ASSERT( pBox, "Control not found!" ); in StateChanged()
2238 pBox->Disable(); in StateChanged()
2239 pBox->Update( (const SvxFontItem*)NULL ); in StateChanged()
2243 pBox->Enable(); in StateChanged()
2251 pBox->Update( pFontItem ); in StateChanged()
2254 pBox->SetText( String() ); in StateChanged()
2255 pBox->SaveValue(); in StateChanged()
2265 SvxFontNameBox_Impl* pBox = new SvxFontNameBox_Impl( pParent, in CreateItemWindow() local
2268 return pBox; in CreateItemWindow()