Home
last modified time | relevance | path

Searched refs:nFactor (Results 1 – 25 of 35) sorted by relevance

12

/aoo4110/main/sw/source/core/text/
H A Dtxtdrop.cxx763 long nFactor = -1; in CalcFontSize() local
803 nFactor = ( 1000 * nWishedHeight ) / nMaxFontHeight; in CalcFontSize()
812 aFactor[ nTmpIdx ] = (sal_uInt16)nFactor; in CalcFontSize()
819 long nMin = nFactor / 2; in CalcFontSize()
941 nMax = nFactor; in CalcFontSize()
945 aFactor[ nTmpIdx ] = (sal_uInt16)nFactor; in CalcFontSize()
946 nMin = nFactor; in CalcFontSize()
949 nFactor = ( nFactor * nWishedHeight ) / nHght; in CalcFontSize()
950 bGrow = ( nFactor > nMin ) && ( nFactor < nMax ); in CalcFontSize()
975 if ( -1 == nFactor ) in CalcFontSize()
[all …]
/aoo4110/main/sd/source/ui/presenter/
H A DSlideRenderer.cxx224 sal_Int16 nFactor (nSuperSampleFactor); in CreatePreview() local
225 if (nFactor < 1) in CreatePreview()
226 nFactor = 1; in CreatePreview()
227 else if (nFactor > 10) in CreatePreview()
228 nFactor = 10; in CreatePreview()
237 Size(aPreviewSize.Width*nFactor, aPreviewSize.Height*nFactor), in CreatePreview()
239 if (nFactor == 1) in CreatePreview()
/aoo4110/main/slideshow/source/engine/
H A Dcolor.cxx293 HSLColor operator*( double nFactor, const HSLColor& rRHS ) in operator *() argument
295 return HSLColor( nFactor * rRHS.getHue(), in operator *()
296 nFactor * rRHS.getSaturation(), in operator *()
297 nFactor * rRHS.getLuminance() ); in operator *()
451 RGBColor operator*( double nFactor, const RGBColor& rRHS ) in operator *() argument
453 return RGBColor( nFactor * rRHS.getRed(), in operator *()
454 nFactor * rRHS.getGreen(), in operator *()
455 nFactor * rRHS.getBlue() ); in operator *()
/aoo4110/main/svx/source/xoutdev/
H A Dxtabdash.cxx148 const sal_uInt32 nFactor(2); in ImpCreateBitmapForXDash() local
149 const Size aSize((rSize.Width() * 5 * 2) / 2, rSize.Height() * nFactor); in ImpCreateBitmapForXDash()
159 const double fLineWidth(rStyleSettings.GetListBoxPreviewDefaultLineWidth() * (nFactor * 1.1)); in ImpCreateBitmapForXDash()
172 const double fScaleValue(aScaleVector.getLength() * (nFactor * (1.4 / 2.0))); in ImpCreateBitmapForXDash()
211 static const sal_uInt32 nLen(8 * nFactor); in ImpCreateBitmapForXDash()
239 if(1 != nFactor) in ImpCreateBitmapForXDash()
/aoo4110/main/basegfx/inc/basegfx/pixel/
H A Dbpixel.hxx173 const sal_uInt32 nFactor(fround(256.0 * t)); in interpolate() local
174 const sal_uInt32 nNegFac(256L - nFactor); in interpolate()
177 … (sal_uInt8)(((sal_uInt32)rOld1.getRed() * nNegFac + (sal_uInt32)rOld2.getRed() * nFactor) >> 8L), in interpolate()
178 …(sal_uInt8)(((sal_uInt32)rOld1.getGreen() * nNegFac + (sal_uInt32)rOld2.getGreen() * nFactor) >> 8… in interpolate()
179 …(sal_uInt8)(((sal_uInt32)rOld1.getBlue() * nNegFac + (sal_uInt32)rOld2.getBlue() * nFactor) >> 8L), in interpolate()
180 …nt8)(((sal_uInt32)rOld1.getOpacity() * nNegFac + (sal_uInt32)rOld2.getOpacity() * nFactor) >> 8L)); in interpolate()
/aoo4110/main/wizards/com/sun/star/wizards/reportbuilder/layout/
H A DInBlocksLabelsLeft.java79 final int nFactor = nUsablePageWidth / (nLabelWidth + nFieldWidth); in insertDetailFields() local
82 if (nFactor > 0) in insertDetailFields()
84 nDeltaTotal = nUsablePageWidth - (nFactor * (nLabelWidth + nFieldWidth)); in insertDetailFields()
85 nDelta = nDeltaTotal / nFactor; in insertDetailFields()
/aoo4110/main/sw/source/ui/uiview/
H A Dpview.cxx2110 nFactor -= nOffset; in HandleWheelCommands()
2111 if(nFactor < MIN_PREVIEW_ZOOM) in HandleWheelCommands()
2112 nFactor = MIN_PREVIEW_ZOOM; in HandleWheelCommands()
2116 nFactor += nOffset; in HandleWheelCommands()
2117 if(nFactor > MAX_PREVIEW_ZOOM) in HandleWheelCommands()
2118 nFactor = MAX_PREVIEW_ZOOM; in HandleWheelCommands()
2120 SetZoom(SVX_ZOOM_PERCENT, nFactor); in HandleWheelCommands()
2193 void SwPagePreView::SetZoom(SvxZoomType eType, sal_uInt16 nFactor) in SetZoom() argument
2198 if ( aOpt.GetZoom() != nFactor || in SetZoom()
2201 aOpt.SetZoom(nFactor); in SetZoom()
[all …]
H A Dviewmdi.cxx91 void SwView::SetZoom( SvxZoomType eZoomType, short nFactor, sal_Bool bViewOnly ) in SetZoom() argument
93 _SetZoom( GetEditWin().GetOutputSizePixel(), eZoomType, nFactor, bViewOnly ); in SetZoom()
97 short nFactor, sal_Bool bViewOnly ) in _SetZoom() argument
106 long nFac = nFactor; in _SetZoom()
/aoo4110/main/vcl/source/gdi/
H A Doutdev4.cxx205 long nFactor; in ImplDrawLinearGradient() local
214 nFactor = rGradient.GetStartIntensity(); in ImplDrawLinearGradient()
215 nStartRed = (nStartRed * nFactor) / 100; in ImplDrawLinearGradient()
216 nStartGreen = (nStartGreen * nFactor) / 100; in ImplDrawLinearGradient()
217 nStartBlue = (nStartBlue * nFactor) / 100; in ImplDrawLinearGradient()
218 nFactor = rGradient.GetEndIntensity(); in ImplDrawLinearGradient()
219 nEndRed = (nEndRed * nFactor) / 100; in ImplDrawLinearGradient()
220 nEndGreen = (nEndGreen * nFactor) / 100; in ImplDrawLinearGradient()
221 nEndBlue = (nEndBlue * nFactor) / 100; in ImplDrawLinearGradient()
H A Dsallayout.cxx1472 int GenericSalLayout::GetTextBreak( long nMaxWidth, long nCharExtra, int nFactor ) const in GetTextBreak()
1482 nWidth += pCharWidths[ i - mnMinCharPos ] * nFactor; in GetTextBreak()
2133 int MultiSalLayout::GetTextBreak( long nMaxWidth, long nCharExtra, int nFactor ) const in GetTextBreak()
2138 return mpLayouts[0]->GetTextBreak( nMaxWidth, nCharExtra, nFactor ); in GetTextBreak()
2161 nWidth += pCharWidths[ i ] * nFactor; in GetTextBreak()
/aoo4110/main/sc/source/filter/excel/
H A Dxeview.cxx152 void XclExpScl::Shorten( sal_uInt16 nFactor ) in Shorten() argument
154 while( (mnNum % nFactor == 0) && (mnDenom % nFactor == 0) ) in Shorten()
156 mnNum = mnNum / nFactor; in Shorten()
157 mnDenom = mnDenom / nFactor; in Shorten()
/aoo4110/main/vcl/os2/source/gdi/
H A Dos2layout.cxx142 virtual int GetTextBreak( long nMaxWidth, long nCharExtra, int nFactor ) const;
642 int Os2SalLayout::GetTextBreak( long nMaxWidth, long nCharExtra, int nFactor ) const
646 if( (mnWidth * nFactor + mnCharCount * nCharExtra) <= nMaxWidth )
649 long nExtraWidth = mnBaseAdv * nFactor;
656 nExtraWidth += mpCharWidths[ n ] * nFactor;
/aoo4110/main/sw/source/ui/utlui/
H A Dprcntfld.cxx281 sal_Int64 nFactor = ImpPower10(nOldDigits); in DenormalizePercent() local
282 nValue = ((nValue+(nFactor/2)) / nFactor); in DenormalizePercent()
/aoo4110/main/vcl/inc/
H A Dsallayout.hxx174 virtual int GetTextBreak( long nMaxWidth, long nCharExtra=0, int nFactor=1 ) const = 0;
236 virtual int GetTextBreak( long nMaxWidth, long nCharExtra, int nFactor ) const;
330 virtual int GetTextBreak( long nMaxWidth, long nCharExtra, int nFactor ) const;
/aoo4110/main/forms/source/component/
H A Dpropertybaghelper.cxx138 sal_Int32 nFactor = 11; in impl_findFreeHandle() local
139 sal_Int32 nNum = nFactor; in impl_findFreeHandle()
148 nNum = ( nNum * nFactor ) % nPrime; in impl_findFreeHandle()
/aoo4110/main/vcl/aqua/source/gdi/
H A Datslayout.cxx52 virtual int GetTextBreak( long nMaxWidth, long nCharExtra, int nFactor ) const;
703 int ATSLayout::GetTextBreak( long nMaxWidth, long nCharExtra, int nFactor ) const in GetTextBreak()
717 const ATSUTextMeasurement nATSUMaxWidth = Vcl2Fixed( nMaxWidth / nFactor ); in GetTextBreak()
718 const ATSUTextMeasurement nATSUExtraWidth = Vcl2Fixed( nCharExtra ) / nFactor; in GetTextBreak()
734 const long nPixelWidth = (nMaxWidth - (nCharExtra * mnCharCount)) / nFactor; in GetTextBreak()
H A Dctlayout.cxx42 virtual int GetTextBreak( long nMaxWidth, long nCharExtra, int nFactor ) const;
448 int CTLayout::GetTextBreak( long nMaxWidth, long nCharExtra, int nFactor ) const in GetTextBreak()
460 const double fCTMaxWidth = nTargetWidth / (nFactor * mfFontScale); in GetTextBreak()
/aoo4110/main/vcl/source/control/
H A Dfield.cxx699 sal_Int64 nFactor = ImplPower10( GetDecimalDigits() ); in Denormalize() local
701 if((nValue < ( SAL_MIN_INT64 + nFactor )) || in Denormalize()
702 (nValue > ( SAL_MAX_INT64 - nFactor ))) in Denormalize()
703 return ( nValue / nFactor ); in Denormalize()
705 return ((nValue-(nFactor/2)) / nFactor ); in Denormalize()
707 return ((nValue+(nFactor/2)) / nFactor ); in Denormalize()
H A Dlongcurr.cxx560 BigInt nFactor = ImplPower10( GetDecimalDigits() ); in Denormalize() local
561 BigInt nTmp = nFactor; in Denormalize()
564 nTmp /= nFactor; in Denormalize()
/aoo4110/main/vcl/win/source/gdi/
H A Dwinlayout.cxx183 virtual int GetTextBreak( long nMaxWidth, long nCharExtra, int nFactor ) const;
716 int SimpleWinLayout::GetTextBreak( long nMaxWidth, long nCharExtra, int nFactor ) const
720 if( (mnWidth * nFactor + mnCharCount * nCharExtra) <= nMaxWidth )
723 long nExtraWidth = mnBaseAdv * nFactor;
730 nExtraWidth += mpCharWidths[ n ] * nFactor;
1058 virtual int GetTextBreak( long nMaxWidth, long nCharExtra, int nFactor ) const;
2284 int UniscribeLayout::GetTextBreak( long nMaxWidth, long nCharExtra, int nFactor ) const
2289 nWidth += mpCharWidths[ i ] * nFactor;
2827 virtual int GetTextBreak( long nMaxWidth, long nCharExtra=0, int nFactor=1 ) const;
2978 int GraphiteWinLayout::GetTextBreak( long nMaxWidth, long nCharExtra, int nFactor ) const
[all …]
/aoo4110/main/cui/source/dialogs/
H A Dzoom.cxx439 sal_uInt16 nFactor = GetFactor(); in IMPL_LINK() local
441 if ( SPECIAL_FACTOR == nFactor ) in IMPL_LINK()
451 aZoomItem.SetValue( nFactor ); in IMPL_LINK()
/aoo4110/main/toolkit/workben/layout/
H A Dzoom.cxx561 USHORT nFactor = GetFactor(); in IMPL_LINK() local
563 if ( SPECIAL_FACTOR == nFactor ) in IMPL_LINK()
573 aZoomItem.SetValue( nFactor ); in IMPL_LINK()
/aoo4110/main/sc/source/ui/inc/
H A Dviewdata.hxx480 static inline long ToPixel( sal_uInt16 nTwips, double nFactor );
504 inline long ScViewData::ToPixel( sal_uInt16 nTwips, double nFactor ) in ToPixel() argument
506 long nRet = (long)( nTwips * nFactor ); in ToPixel()
/aoo4110/main/sw/source/ui/inc/
H A Dview.hxx367 short nFactor = 100,
509 void SetZoom( SvxZoomType eZoomType, short nFactor = 100, sal_Bool bViewOnly = sal_False);
/aoo4110/main/slideshow/source/inc/
H A Dhslcolor.hxx105 HSLColor operator*( double nFactor, const HSLColor& rRHS );

Completed in 139 milliseconds

12