Lines Matching refs:pValueSet
110 ValueSet* pValueSet = new ValueSet( pControlParent, SdResId( CT_TABLE_STYLES+1 ) ); in TableDesignPane() local
111 mxControls[CT_TABLE_STYLES].reset( pValueSet ); in TableDesignPane()
114 …pValueSet->SetStyle( (pValueSet->GetStyle() & ~(WB_ITEMBORDER|WB_BORDER)) | WB_NO_DIRECTSELECT | W… in TableDesignPane()
115 pValueSet->SetColor(); in TableDesignPane()
116 pValueSet->SetExtraSpacing(8); in TableDesignPane()
120 pValueSet->SetColor( Color( COL_WHITE ) ); in TableDesignPane()
121 pValueSet->SetBackground( Color( COL_WHITE ) ); in TableDesignPane()
123 pValueSet->SetSelectHdl (LINK(this, TableDesignPane, implValueSetHdl)); in TableDesignPane()
214 ValueSet* pValueSet = static_cast< ValueSet* >( mxControls[CT_TABLE_STYLES].get() ); in GetHeightForWidth() local
215 if (pValueSet->GetItemCount() > 0) in GetHeightForWidth()
217 Image aImage = pValueSet->GetItemImage(pValueSet->GetItemId(0)); in GetHeightForWidth()
218 Size aItemSize = pValueSet->CalcItemSizePixel(aImage.GetSizePixel()); in GetHeightForWidth()
222 …int nColumnCount = (pValueSet->GetSizePixel().Width() - pValueSet->GetScrollWidth()) / aItemSize.W… in GetHeightForWidth()
226 int nRowCount = (pValueSet->GetItemCount() + nColumnCount - 1) / nColumnCount; in GetHeightForWidth()
281 ValueSet* pValueSet = static_cast< ValueSet* >( mxControls[CT_TABLE_STYLES].get() ); in ApplyStyle() local
282 sal_Int32 nIndex = static_cast< sal_Int32 >( pValueSet->GetSelectItemId() ) - 1; in ApplyStyle()
432 ValueSet* pValueSet = static_cast< ValueSet* >( mxControls[CT_TABLE_STYLES].get() ); in updateLayout() local
454 aValueSetSize = Size( pValueSet->GetSizePixel().Width(), nStylesHeight ); in updateLayout()
458 aValueSetSize = pValueSet->GetSizePixel(); in updateLayout()
463 if( pValueSet->GetItemCount() > 0 ) in updateLayout()
465 Image aImage = pValueSet->GetItemImage(pValueSet->GetItemId(0)); in updateLayout()
466 Size aItemSize = pValueSet->CalcItemSizePixel(aImage.GetSizePixel()); in updateLayout()
467 pValueSet->SetItemWidth( aItemSize.Width() ); in updateLayout()
468 pValueSet->SetItemHeight( aItemSize.Height() ); in updateLayout()
472 … int nColumnCount = (aValueSetSize.Width() - pValueSet->GetScrollWidth()) / aItemSize.Width(); in updateLayout()
476 int nRowCount = (pValueSet->GetItemCount() + nColumnCount - 1) / nColumnCount; in updateLayout()
482 pValueSet->SetLineCount ( (nRowCount < nVisibleRowCount) ? (sal_uInt16)nRowCount : 0 ); in updateLayout()
484 pValueSet->SetColCount ((sal_uInt16)nColumnCount); in updateLayout()
485 pValueSet->SetLineCount ((sal_uInt16)nRowCount); in updateLayout()
489 WinBits nStyle = pValueSet->GetStyle() & ~(WB_VSCROLL); in updateLayout()
498 pValueSet->SetStyle( nStyle ); in updateLayout()
504 pValueSet->SetSizePixel( aValueSetSize ); in updateLayout()
505 pValueSet->SetBackground( GetSettings().GetStyleSettings().GetWindowColor() ); in updateLayout()
506 pValueSet->SetColor( GetSettings().GetStyleSettings().GetWindowColor() ); in updateLayout()
508 Point aPos( pValueSet->GetPosPixel() ); in updateLayout()
512 pValueSet->SetPosPixel(pValueSet->GetPosPixel()); in updateLayout()
585 ValueSet* pValueSet = static_cast< ValueSet* >( mxControls[CT_TABLE_STYLES].get() ); in updateControls() local
586 pValueSet->SelectItem( nSelection ); in updateControls()
918 ValueSet* pValueSet = static_cast< ValueSet* >( mxControls[CT_TABLE_STYLES].get() ); in FillDesignPreviewControl() local
920 sal_uInt16 nSelectedItem = pValueSet->GetSelectItemId(); in FillDesignPreviewControl()
921 pValueSet->Clear(); in FillDesignPreviewControl()
950 …pValueSet->InsertItem( sal::static_int_cast<sal_uInt16>( nIndex + 1 ), Image( CreateDesignPreview(… in FillDesignPreviewControl()
961 pValueSet->SelectItem(nSelectedItem); in FillDesignPreviewControl()