Home
last modified time | relevance | path

Searched refs:nFactor (Results 1 – 25 of 35) sorted by last modified time

12

/trunk/main/sd/source/ui/presenter/
H A DSlideRenderer.cxx204 sal_Int16 nFactor (nSuperSampleFactor); in CreatePreview() local
205 if (nFactor < 1) in CreatePreview()
206 nFactor = 1; in CreatePreview()
207 else if (nFactor > 10) in CreatePreview()
208 nFactor = 10; in CreatePreview()
217 Size(aPreviewSize.Width*nFactor, aPreviewSize.Height*nFactor), in CreatePreview()
219 if (nFactor == 1) in CreatePreview()
/trunk/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 …]
H A Dinftxt.cxx926 SwTwips nFactor = ( 100 * aFontSize.Width() ) / nMaxWidth; in lcl_DrawSpecial() local
931 aFontSize.Height() = ( 100 * pFnt->GetSize( nAct ).Height() ) / nFactor; in lcl_DrawSpecial()
932 aFontSize.Width() = ( 100 * pFnt->GetSize( nAct).Width() ) / nFactor; in lcl_DrawSpecial()
/trunk/main/sc/source/ui/view/
H A Dviewdata.cxx2585 double nFactor = pDocShell->GetOutputFactor(); in ReadExtOptions() local
2586 aPixel.X() = (long)( aPixel.X() * nFactor + 0.5 ); in ReadExtOptions()
/trunk/main/vcl/aqua/source/gdi/
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()
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()
/trunk/main/vcl/source/gdi/
H A Dpdfwriter_impl.cxx834 sal_Int32 nFactor = 1, nDiv = nPrecision; in appendFixedInt() local
836 nFactor *= 10; in appendFixedInt()
838 sal_Int32 nInt = nValue / nFactor; in appendFixedInt()
840 if( nFactor > 1 ) in appendFixedInt()
842 sal_Int32 nDecimal = nValue % nFactor; in appendFixedInt()
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()
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()
/trunk/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()
/trunk/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 …]
/trunk/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()
/trunk/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;
/trunk/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;
H A Dgraphite_layout.hxx142 virtual int GetTextBreak( long nMaxWidth, long nCharExtra=0, int nFactor=1 ) const;
/trunk/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()
/trunk/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()
/trunk/main/sw/source/ui/uiview/
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()
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 …]
/trunk/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);
H A Dpview.hxx246 void SetZoom(SvxZoomType eSet, sal_uInt16 nFactor);
/trunk/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()
/trunk/main/slideshow/source/inc/
H A Dhslcolor.hxx105 HSLColor operator*( double nFactor, const HSLColor& rRHS );
H A Drgbcolor.hxx109 RGBColor operator*( double nFactor, const RGBColor& rRHS );

Completed in 237 milliseconds

12