/trunk/main/oox/source/drawingml/ |
H A D | color.cxx | 200 …ornValue = getLimitedValue< sal_Int32, double >( static_cast< double >( ornValue ) * nMod / MAX_PE… in lclModValue() 206 ornValue = getLimitedValue< sal_Int32, sal_Int32 >( ornValue + nOff, 0, nMax ); in lclOffValue() 262 mnC1 = getLimitedValue< sal_Int32, sal_Int32 >( nR, 0, MAX_PERCENT ); in setScrgbClr() 263 mnC2 = getLimitedValue< sal_Int32, sal_Int32 >( nG, 0, MAX_PERCENT ); in setScrgbClr() 264 mnC3 = getLimitedValue< sal_Int32, sal_Int32 >( nB, 0, MAX_PERCENT ); in setScrgbClr() 273 mnC1 = getLimitedValue< sal_Int32, sal_Int32 >( nHue, 0, MAX_DEGREE ); in setHslClr() 274 mnC2 = getLimitedValue< sal_Int32, sal_Int32 >( nSat, 0, MAX_PERCENT ); in setHslClr() 275 mnC3 = getLimitedValue< sal_Int32, sal_Int32 >( nLum, 0, MAX_PERCENT ); in setHslClr() 325 …sal_Int32 nValue = getLimitedValue< sal_Int32, double >( fTint * MAX_PERCENT + 0.5, -MAX_PERCENT, … in addChartTintTransformation() 334 …sal_Int32 nValue = getLimitedValue< sal_Int32, double >( fTint * MAX_PERCENT + 0.5, -MAX_PERCENT, … in addExcelTintTransformation()
|
H A D | fillproperties.cxx | 235 … aGradient.XOffset = getLimitedValue< sal_Int16, sal_Int32 >( nCenterX / PER_PERCENT, 30, 70 ); in pushToPropMap() 237 … aGradient.YOffset = getLimitedValue< sal_Int16, sal_Int32 >( nCenterY / PER_PERCENT, 30, 70 ); in pushToPropMap() 295 …sal_Int32 nFillBmpSizeX = getLimitedValue< sal_Int32, double >( aOriginalSize.Width * fScaleX, 1, … in pushToPropMap() 298 …sal_Int32 nFillBmpSizeY = getLimitedValue< sal_Int32, double >( aOriginalSize.Height * fScaleY, 1,… in pushToPropMap() 401 …sal_Int16 nBrightness = getLimitedValue< sal_Int16, sal_Int32 >( maBlipProps.moBrightness.get( 0 )… in pushToPropMap() 404 …sal_Int16 nContrast = getLimitedValue< sal_Int16, sal_Int32 >( maBlipProps.moContrast.get( 0 ) / P… in pushToPropMap()
|
/trunk/main/oox/source/helper/ |
H A D | progressbar.cxx | 81 mfPosition = getLimitedValue< double >( fPosition, mfPosition, 1.0 ); in setPosition() 128 mfPosition = getLimitedValue< double >( fPosition, mfPosition, 1.0 ); in setPosition() 140 fLength = getLimitedValue< double >( fLength, 0.0, getFreeLength() ); in createSegment() 174 fLength = getLimitedValue< double >( fLength, 0.0, getFreeLength() ); in createSegment()
|
H A D | binaryinputstream.cxx | 132 …sal_Int32 nBufferSize = getLimitedValue< sal_Int32, sal_Int64 >( nBytes, 0, (INPUTSTREAM_BUFFERSIZ… in copyToStream() 136 sal_Int32 nReadSize = getLimitedValue< sal_Int32, sal_Int64 >( nBytes, 0, nBufferSize ); in copyToStream() 200 …sal_Int32 nBufferSize = getLimitedValue< sal_Int32, sal_Int32 >( nBytes, 0, INPUTSTREAM_BUFFERSIZE… in readMemory() 204 sal_Int32 nReadSize = getLimitedValue< sal_Int32, sal_Int32 >( nBytes, 0, nBufferSize ); in readMemory() 302 mnRelPos = getLimitedValue< sal_Int64, sal_Int64 >( nPos, 0, mnSize ); in seek()
|
H A D | binaryoutputstream.cxx | 107 …sal_Int32 nBufferSize = getLimitedValue< sal_Int32, sal_Int32 >( nBytes, 0, (OUTPUTSTREAM_BUFFERSI… in writeMemory() 111 … sal_Int32 nWriteSize = getLimitedValue< sal_Int32, sal_Int32 >( nBytes, 0, nBufferSize ); in writeMemory()
|
H A D | attributelist.cxx | 108 return getLimitedValue< sal_uInt32, sal_Int64 >( rValue.toInt64(), 0, SAL_MAX_UINT32 ); in decodeUnsigned() 123 return getLimitedValue< sal_uInt32, sal_Int64 >( rValue.toInt64( 16 ), 0, SAL_MAX_UINT32 ); in decodeUnsignedHex()
|
H A D | binarystreambase.cxx | 144 mnPos = getLimitedValue< sal_Int32, sal_Int64 >( nPos, 0, mpData->getLength() ); in seek()
|
/trunk/main/oox/source/drawingml/chart/ |
H A D | converterbase.cxx | 306 return getLimitedValue< sal_Int32, double >( nChartSize * fPos + 0.5, 0, nChartSize ); in lclCalcPosition() 319 …sal_Int32 nValue = getLimitedValue< sal_Int32, double >( nChartSize * fSize + 0.5, 0, nChartSize ); in lclCalcSize() 346 return getLimitedValue< double, double >( fSize, 0.0, 1.0 - fPos ); in lclCalcRelSize() 386 getLimitedValue< double, double >( mrModel.mfX, 0.0, 1.0 ), in convertFromModel() 387 getLimitedValue< double, double >( mrModel.mfY, 0.0, 1.0 ), in convertFromModel()
|
H A D | chartdrawingfragment.cxx | 219 getLimitedValue< sal_Int32, sal_Int64 >( aShapeRectEmu.X, 0, SAL_MAX_INT32 ), in onEndElement() 220 getLimitedValue< sal_Int32, sal_Int64 >( aShapeRectEmu.Y, 0, SAL_MAX_INT32 ), in onEndElement() 221 … getLimitedValue< sal_Int32, sal_Int64 >( aShapeRectEmu.Width, 0, SAL_MAX_INT32 ), in onEndElement() 222 … getLimitedValue< sal_Int32, sal_Int64 >( aShapeRectEmu.Height, 0, SAL_MAX_INT32 ) ); in onEndElement()
|
H A D | plotareaconverter.cxx | 230 …nRotationX = getLimitedValue< sal_Int32, sal_Int32 >( mrModel.monRotationX.get( 15 ), 0, 90 ) - 90; in convertFromModel() 243 … nRotationX = getLimitedValue< sal_Int32, sal_Int32 >( mrModel.monRotationX.get( 15 ), -90, 90 ); in convertFromModel() 258 …sal_Int32 nPerspective = getLimitedValue< sal_Int32, sal_Int32 >( mrModel.mnPerspective / 2, 0, 10… in convertFromModel()
|
/trunk/main/oox/source/vml/ |
H A D | vmlformatting.cxx | 185 …sal_Int32 nOpacity = getLimitedValue< sal_Int32, double >( fOpacity * DML_FULL_OPAQUE, 0, DML_FULL… in decodeColor() 428 …aLineProps.moLineWidth = getLimitedValue< sal_Int32, sal_Int64 >( lclGetEmu( rGraphicHelper, moWei… in pushToPropMap() 528 double fLeft = getLimitedValue< double, double >( aFocusPos.first, 0.0, 1.0 ); in pushToPropMap() 529 … double fTop = getLimitedValue< double, double >( aFocusPos.second, 0.0, 1.0 ); in pushToPropMap() 530 … double fRight = getLimitedValue< double, double >( fLeft + aFocusSize.first, fLeft, 1.0 ); in pushToPropMap() 531 … double fBottom = getLimitedValue< double, double >( fTop + aFocusSize.second, fTop, 1.0 ); in pushToPropMap()
|
/trunk/main/oox/source/xls/ |
H A D | addressconverter.cxx | 200 resize( getLimitedValue< size_t, sal_Int64 >( nCount, 0, rStrm.getRemaining() / 16 ) ); in read() 208 …resize( getLimitedValue< size_t, sal_Int64 >( nCount, 0, rStrm.getRemaining() / lclGetBiffRangeSiz… in read() 222 … sal_uInt16 nBiffCount = getLimitedValue< sal_uInt16, size_t >( nEnd - nBegin, 0, SAL_MAX_UINT16 ); in writeSubList() 607 aAddress.Sheet = getLimitedValue< sal_Int16, sal_Int16 >( nSheet, 0, maMaxPos.Sheet ); in createValidCellAddress() 635 aAddress.Sheet = getLimitedValue< sal_Int16, sal_Int16 >( nSheet, 0, maMaxPos.Sheet ); in createValidCellAddress() 636 …aAddress.Column = getLimitedValue< sal_Int32, sal_Int32 >( rBinAddress.mnCol, 0, maMaxPos.Column ); in createValidCellAddress() 637 … aAddress.Row = getLimitedValue< sal_Int32, sal_Int32 >( rBinAddress.mnRow, 0, maMaxPos.Row ); in createValidCellAddress()
|
H A D | viewsettings.cxx | 186 return getLimitedValue< sal_Int32 >( nZoom, API_ZOOMVALUE_MIN, API_ZOOMVALUE_MAX ); in getNormalZoom() 193 return getLimitedValue< sal_Int32 >( nZoom, API_ZOOMVALUE_MIN, API_ZOOMVALUE_MAX ); in getPageBreakZoom() 445 …maSheetViews.back()->mnCurrentZoom = getLimitedValue< sal_Int32, sal_uInt16 >( (nNum * 100) / nDen… in importScl() 528 … nHSplitPos = getLimitedValue< sal_Int32, double >( xModel->mfSplitX + 0.5, 0, SAL_MAX_INT32 ); in finalizeImport() 530 … nVSplitPos = getLimitedValue< sal_Int32, double >( xModel->mfSplitY + 0.5, 0, SAL_MAX_INT32 ); in finalizeImport()
|
H A D | drawingfragment.cxx | 260 … getLimitedValue< sal_Int32, sal_Int64 >( aShapeRectEmu.X, 0, SAL_MAX_INT32 ), in onEndElement() 261 … getLimitedValue< sal_Int32, sal_Int64 >( aShapeRectEmu.Y, 0, SAL_MAX_INT32 ), in onEndElement() 262 … getLimitedValue< sal_Int32, sal_Int64 >( aShapeRectEmu.Width, 0, SAL_MAX_INT32 ), in onEndElement() 263 … getLimitedValue< sal_Int32, sal_Int64 >( aShapeRectEmu.Height, 0, SAL_MAX_INT32 ) ); in onEndElement()
|
H A D | biffoutputstream.cxx | 54 sal_uInt16 nRecSize = getLimitedValue< sal_uInt16, size_t >( maData.size(), 0, SAL_MAX_UINT16 ); in endRecord() 193 return getLimitedValue< sal_uInt16, sal_Int32 >( nTotalSize, 0, nRecLeft ); in prepareWriteBlock()
|
H A D | unitconverter.cxx | 203 sal_Int32 nDays = getLimitedValue< sal_Int32, double >( fDays + mnNullDate, 0, 3652424 ); in calcDateTimeFromSerial() 219 sal_Int32 nTime = getLimitedValue< sal_Int32, double >( fTime * 86400, 0, 86399 ); in calcDateTimeFromSerial()
|
H A D | pagesettings.cxx | 1118 …rPropSet.setProperty( PROP_ScaleToPagesX, getLimitedValue< sal_Int16, sal_Int32 >( rModel.mnFitToW… in writePageSettingsProperties() 1119 …rPropSet.setProperty( PROP_ScaleToPagesY, getLimitedValue< sal_Int16, sal_Int32 >( rModel.mnFitToH… in writePageSettingsProperties() 1124 …sal_Int16 nScale = (rModel.mbValidSettings && (rModel.mnScale > 0)) ? getLimitedValue< sal_Int16, … in writePageSettingsProperties() 1152 …aPropMap[ PROP_FirstPageNumber ] <<= getLimitedValue< sal_Int16, sal_Int32 >( rModel.mbUseFi… in writePageSettingsProperties()
|
H A D | drawingbase.cxx | 307 …aEmuPoint.X += static_cast< sal_Int64 >( aEmuSize.Width * getLimitedValue< double >( static_cast< … in calcCellAnchorEmu() 309 …aEmuPoint.Y += static_cast< sal_Int64 >( aEmuSize.Height * getLimitedValue< double >( static_cast<… in calcCellAnchorEmu()
|
H A D | richstring.cxx | 168 reserve( getLimitedValue< size_t, sal_Int64 >( nCount, 0, rStrm.getRemaining() / 4 ) ); in importPortions() 333 reserve( getLimitedValue< size_t, sal_Int64 >( nCount, 0, rStrm.getRemaining() / 6 ) ); in importPortions()
|
H A D | drawingmanager.cxx | 629 …aLineProps.moLineWidth = getLimitedValue< sal_Int32, sal_Int64 >( convertHmmToEmu( nLineWidth ), 0… in convertLineProperties() 1244 …rAnchorRect.X + static_cast< sal_Int32 >( rAnchorRect.Width * getLimitedValue< double >( static_ca… in lclGetPolyPoint() 1245 …rAnchorRect.Y + static_cast< sal_Int32 >( rAnchorRect.Height * getLimitedValue< double >( static_c… in lclGetPolyPoint()
|
/trunk/main/oox/inc/oox/helper/ |
H A D | binaryinputstream.hxx | 256 …sal_Int32 nReadSize = getLimitedValue< sal_Int32, sal_Int32 >( nElemCount, 0, SAL_MAX_INT32 / size… in readArray() 280 …sal_Int32 nSkipSize = getLimitedValue< sal_Int32, sal_Int32 >( nElemCount, 0, SAL_MAX_INT32 / size… in skipArray() 373 … { return getLimitedValue< sal_Int32, sal_Int32 >( nBytes, 0, mpData->getLength() - mnPos ); } in getMaxBytes() 438 … { return getLimitedValue< sal_Int32, sal_Int64 >( nBytes, 0, mnSize - mnRelPos ); } in getMaxBytes()
|
/trunk/main/oox/source/ole/ |
H A D | axbinaryreader.cxx | 133 return getLimitedValue< sal_Int16, sal_Int32 >( (mnFontHeight + 10) / 20, 1, SAL_MAX_INT16 ); in getHeightPoints() 138 …mnFontHeight = getLimitedValue< sal_Int32, sal_Int32 >( ((nPoints * 4 + 1) / 3) * 15, 30, 4294967 … in setHeightPoints() 169 …setHeightPoints( getLimitedValue< sal_Int16, sal_Int32 >( aFontInfo.mnHeight / 10000, 0, SAL_MAX_I… in importStdFont()
|
H A D | olehelper.cxx | 100 sal_Int32 nReadChars = getLimitedValue< sal_Int32, sal_Int32 >( nChars, 0, SAL_MAX_UINT16 ); in lclReadStdHlinkString() 274 …sal_uInt16 nChars = getLimitedValue< sal_uInt16, sal_Int32 >( rInStrm.readInt32() / 2, 0, SAL_MAX_… in importStdHlink()
|
H A D | axcontrol.cxx | 742 …rPropMap.setProperty( PROP_ProgressValueMin, getLimitedValue< sal_Int32, double >( ::std::min( mfM… in convertProperties() 743 …rPropMap.setProperty( PROP_ProgressValueMax, getLimitedValue< sal_Int32, double >( ::std::max( mfM… in convertProperties() 1248 …rPropMap.setProperty( PROP_MaxTextLen, getLimitedValue< sal_Int16, sal_Int32 >( mnMaxLength, 0, SA… in convertProperties() 1325 …rPropMap.setProperty( PROP_MaxTextLen, getLimitedValue< sal_Int16, sal_Int32 >( mnMaxLength, 0, SA… in convertProperties() 1331 …rPropMap.setProperty( PROP_LineCount, getLimitedValue< sal_Int16, sal_Int32 >( mnListRows, 1, SAL_… in convertProperties() 1486 …sal_Int32 nThumbLen = getLimitedValue< sal_Int32, double >( (fInterval * mnLargeChange) / (fInterv… in convertProperties()
|
/trunk/main/oox/inc/oox/drawingml/ |
H A D | drawingmltypes.hxx | 161 …return getLimitedValue< sal_Int32, sal_Int64 >( (nValue + EMU_PER_HMM / 2) / EMU_PER_HMM, 0, SAL_M… in convertEmuToHmm()
|