Lines Matching refs:nValue

711 …sal_uInt32 nValue = ((const Svx3DHorizontalSegmentsItem&)rAttrs.Get(SDRATTR_3DOBJ_HORZ_SEGS)).GetV…  in Update()  local
712 if(nValue != (sal_uInt32 )aNumHorizontal.GetValue()) in Update()
714 aNumHorizontal.SetValue( nValue ); in Update()
720 aNumHorizontal.SetValue( nValue ); in Update()
738 …sal_uInt32 nValue = ((const Svx3DVerticalSegmentsItem&)rAttrs.Get(SDRATTR_3DOBJ_VERT_SEGS)).GetVal… in Update() local
739 if( nValue != (sal_uInt32) aNumVertical.GetValue() ) in Update()
741 aNumVertical.SetValue( nValue ); in Update()
747 aNumVertical.SetValue( nValue ); in Update()
765 sal_uInt32 nValue = ((const Svx3DDepthItem&)rAttrs.Get(SDRATTR_3DOBJ_DEPTH)).GetValue(); in Update() local
767 if( nValue != nValue2 ) in Update()
772 SetMetricValue( aMtrDepth, nValue, ePoolUnit ); in Update()
816 …sal_uInt16 nValue = ((const Svx3DPercentDiagonalItem&)rAttrs.Get(SDRATTR_3DOBJ_PERCENT_DIAGONAL)).… in Update() local
817 if( nValue != aMtrPercentDiagonal.GetValue() ) in Update()
819 aMtrPercentDiagonal.SetValue( nValue ); in Update()
823 aMtrPercentDiagonal.SetValue( nValue ); in Update()
841 sal_uInt16 nValue = ((const Svx3DBackscaleItem&)rAttrs.Get(SDRATTR_3DOBJ_BACKSCALE)).GetValue(); in Update() local
842 if( nValue != aMtrBackscale.GetValue() ) in Update()
844 aMtrBackscale.SetValue( nValue ); in Update()
848 aMtrBackscale.SetValue( nValue ); in Update()
866 sal_Int32 nValue = ((const Svx3DEndAngleItem&)rAttrs.Get(SDRATTR_3DOBJ_END_ANGLE)).GetValue(); in Update() local
867 if( nValue != aMtrEndAngle.GetValue() ) in Update()
869 aMtrEndAngle.SetValue( nValue ); in Update()
887 …sal_uInt16 nValue = ((const Svx3DNormalsKindItem&)rAttrs.Get(SDRATTR_3DOBJ_NORMALS_KIND)).GetValue… in Update() local
889 if( ( !aBtnNormalsObj.IsChecked() && nValue == 0 ) || in Update()
890 ( !aBtnNormalsFlat.IsChecked() && nValue == 1 ) || in Update()
891 ( !aBtnNormalsSphere.IsChecked() && nValue == 2 ) ) in Update()
893 aBtnNormalsObj.Check( nValue == 0 ); in Update()
894 aBtnNormalsFlat.Check( nValue == 1 ); in Update()
895 aBtnNormalsSphere.Check( nValue == 2 ); in Update()
961 …sal_uInt16 nValue = ((const Svx3DShadeModeItem&)rAttrs.Get(SDRATTR_3DSCENE_SHADE_MODE)).GetValue(); in Update() local
962 if( nValue != aLbShademode.GetSelectEntryPos() ) in Update()
964 aLbShademode.SelectEntryPos( nValue ); in Update()
1005 …sal_uInt16 nValue = ((const Svx3DShadowSlantItem&)rAttrs.Get(SDRATTR_3DSCENE_SHADOW_SLANT)).GetVal… in Update() local
1006 if( nValue != aMtrSlant.GetValue() ) in Update()
1008 aMtrSlant.SetValue( nValue ); in Update()
1025 sal_uInt32 nValue = ((const Svx3DDistanceItem&)rAttrs.Get(SDRATTR_3DSCENE_DISTANCE)).GetValue(); in Update() local
1027 if( nValue != nValue2 ) in Update()
1032 SetMetricValue( aMtrDistance, nValue, ePoolUnit ); in Update()
1049 …sal_uInt32 nValue = ((const Svx3DFocalLengthItem&)rAttrs.Get(SDRATTR_3DSCENE_FOCAL_LENGTH)).GetVal… in Update() local
1051 if( nValue != nValue2 ) in Update()
1056 SetMetricValue( aMtrFocalLength, nValue, ePoolUnit ); in Update()
1493 …sal_uInt16 nValue = ((const Svx3DTextureKindItem&)rAttrs.Get(SDRATTR_3DOBJ_TEXTURE_KIND)).GetValue… in Update() local
1495 if( ( !aBtnTexLuminance.IsChecked() && nValue == 1 ) || in Update()
1496 ( !aBtnTexColor.IsChecked() && nValue == 3 ) ) in Update()
1498 aBtnTexLuminance.Check( nValue == 1 ); in Update()
1499 aBtnTexColor.Check( nValue == 3 ); in Update()
1518 …sal_uInt16 nValue = ((const Svx3DTextureModeItem&)rAttrs.Get(SDRATTR_3DOBJ_TEXTURE_MODE)).GetValue… in Update() local
1520 if( ( !aBtnTexReplace.IsChecked() && nValue == 1 ) || in Update()
1521 ( !aBtnTexModulate.IsChecked() && nValue == 2 ) ) in Update()
1523 aBtnTexReplace.Check( nValue == 1 ); in Update()
1524 aBtnTexModulate.Check( nValue == 2 ); in Update()
1545 …sal_uInt16 nValue = ((const Svx3DTextureProjectionXItem&)rAttrs.Get(SDRATTR_3DOBJ_TEXTURE_PROJ_X))… in Update() local
1547 if( ( !aBtnTexObjectX.IsChecked() && nValue == 0 ) || in Update()
1548 ( !aBtnTexParallelX.IsChecked() && nValue == 1 ) || in Update()
1549 ( !aBtnTexCircleX.IsChecked() && nValue == 2 ) ) in Update()
1551 aBtnTexObjectX.Check( nValue == 0 ); in Update()
1552 aBtnTexParallelX.Check( nValue == 1 ); in Update()
1553 aBtnTexCircleX.Check( nValue == 2 ); in Update()
1574 …sal_uInt16 nValue = ((const Svx3DTextureProjectionYItem&)rAttrs.Get(SDRATTR_3DOBJ_TEXTURE_PROJ_Y))… in Update() local
1576 if( ( !aBtnTexObjectY.IsChecked() && nValue == 0 ) || in Update()
1577 ( !aBtnTexParallelY.IsChecked() && nValue == 1 ) || in Update()
1578 ( !aBtnTexCircleY.IsChecked() && nValue == 2 ) ) in Update()
1580 aBtnTexObjectY.Check( nValue == 0 ); in Update()
1581 aBtnTexParallelY.Check( nValue == 1 ); in Update()
1582 aBtnTexCircleY.Check( nValue == 2 ); in Update()
1693 …sal_uInt16 nValue = ((const Svx3DMaterialSpecularIntensityItem&)rAttrs.Get(SDRATTR_3DOBJ_MAT_SPECU… in Update() local
1694 if( nValue != aMtrMatSpecularIntensity.GetValue() ) in Update()
1696 aMtrMatSpecularIntensity.SetValue( nValue ); in Update()
1817 sal_uInt16 nValue; in GetAttr() local
1819 nValue = PR_PERSPECTIVE; in GetAttr()
1821 nValue = PR_PARALLEL; in GetAttr()
1822 rAttrs.Put(Svx3DPerspectiveItem(nValue)); in GetAttr()
1842 sal_uInt32 nValue = static_cast<sal_uInt32>(aNumHorizontal.GetValue()); in GetAttr() local
1843 rAttrs.Put(Svx3DHorizontalSegmentsItem(nValue)); in GetAttr()
1851 sal_uInt32 nValue = static_cast<sal_uInt32>(aNumVertical.GetValue()); in GetAttr() local
1852 rAttrs.Put(Svx3DVerticalSegmentsItem(nValue)); in GetAttr()
1860 sal_uInt32 nValue = GetCoreValue( aMtrDepth, ePoolUnit ); in GetAttr() local
1861 rAttrs.Put(Svx3DDepthItem(nValue)); in GetAttr()
1879 sal_uInt16 nValue = (sal_uInt16) aMtrPercentDiagonal.GetValue(); in GetAttr() local
1880 rAttrs.Put(Svx3DPercentDiagonalItem(nValue)); in GetAttr()
1888 sal_uInt16 nValue = (sal_uInt16)aMtrBackscale.GetValue(); in GetAttr() local
1889 rAttrs.Put(Svx3DBackscaleItem(nValue)); in GetAttr()
1897 sal_uInt16 nValue = (sal_uInt16)aMtrEndAngle.GetValue(); in GetAttr() local
1898 rAttrs.Put(Svx3DEndAngleItem(nValue)); in GetAttr()
1904 sal_uInt16 nValue = 99; in GetAttr() local
1906 nValue = 0; in GetAttr()
1908 nValue = 1; in GetAttr()
1910 nValue = 2; in GetAttr()
1912 if( nValue <= 2 ) in GetAttr()
1913 rAttrs.Put(Svx3DNormalsKindItem(nValue)); in GetAttr()
1941 nValue = aLbShademode.GetSelectEntryPos(); in GetAttr()
1942 rAttrs.Put(Svx3DShadeModeItem(nValue)); in GetAttr()
2198 nValue = 3; in GetAttr()
2200 nValue = 1; in GetAttr()
2202 nValue = 3; in GetAttr()
2204 if( nValue == 1 || nValue == 3 ) in GetAttr()
2205 rAttrs.Put(Svx3DTextureKindItem(nValue)); in GetAttr()
2211 nValue = 99; in GetAttr()
2213 nValue = 1; in GetAttr()
2215 nValue = 2; in GetAttr()
2219 if( nValue == 1 || nValue == 2 ) in GetAttr()
2220 rAttrs.Put(Svx3DTextureModeItem(nValue)); in GetAttr()
2225 nValue = 99; in GetAttr()
2227 nValue = 0; in GetAttr()
2229 nValue = 1; in GetAttr()
2231 nValue = 2; in GetAttr()
2233 if( nValue <= 2 ) in GetAttr()
2234 rAttrs.Put(Svx3DTextureProjectionXItem(nValue)); in GetAttr()
2239 nValue = 99; in GetAttr()
2241 nValue = 0; in GetAttr()
2243 nValue = 1; in GetAttr()
2245 nValue = 2; in GetAttr()
2247 if( nValue <= 2 ) in GetAttr()
2248 rAttrs.Put(Svx3DTextureProjectionYItem(nValue)); in GetAttr()