Home
last modified time | relevance | path

Searched refs:nSpinSize (Results 1 – 6 of 6) sorted by relevance

/dports/editors/libreoffice6/libreoffice-6.4.7.2/vcl/source/control/
H A Dfmtfield.cxx1000 sal_Int64 nSpinSize = std::round(m_dSpinSize * nScale); in Up() local
1001 sal_Int64 nRemainder = m_bDisableRemainderFactor ? 0 : nValue % nSpinSize; in Up()
1003 nValue = (nRemainder == 0) ? nValue + nSpinSize : nValue + nSpinSize - nRemainder; in Up()
1005 nValue = (nRemainder == 0) ? nValue + nSpinSize : nValue - nRemainder; in Up()
1020 sal_Int64 nSpinSize = std::round(m_dSpinSize * nScale); in Down() local
1021 sal_Int64 nRemainder = m_bDisableRemainderFactor ? 0 : nValue % nSpinSize; in Down()
1023 nValue = (nRemainder == 0) ? nValue - nSpinSize : nValue - nRemainder; in Down()
1025 nValue = (nRemainder == 0) ? nValue - nSpinSize : nValue - nSpinSize - nRemainder; in Down()
H A Dcalendar.cxx236 long nSpinSize = nTextHeight+TITLE_BORDERY-SPIN_OFFY; in ImplFormat() local
239 maPrevRect.SetRight( maPrevRect.Left()+nSpinSize ); in ImplFormat()
240 maPrevRect.SetBottom( maPrevRect.Top()+nSpinSize ); in ImplFormat()
241 maNextRect.SetLeft( aOutSize.Width()-SPIN_OFFX-nSpinSize-1 ); in ImplFormat()
243 maNextRect.SetRight( maNextRect.Left()+nSpinSize ); in ImplFormat()
244 maNextRect.SetBottom( maNextRect.Top()+nSpinSize ); in ImplFormat()
/dports/editors/libreoffice/libreoffice-7.2.6.2/vcl/source/control/
H A Dfmtfield.cxx1190 sal_Int64 nSpinSize = std::round(rFormatter.GetSpinSize() * nScale); in Up() local
1191 sal_Int64 nRemainder = rFormatter.GetDisableRemainderFactor() ? 0 : nValue % nSpinSize; in Up()
1193 nValue = (nRemainder == 0) ? nValue + nSpinSize : nValue + nSpinSize - nRemainder; in Up()
1195 nValue = (nRemainder == 0) ? nValue + nSpinSize : nValue - nRemainder; in Up()
1211 sal_Int64 nSpinSize = std::round(rFormatter.GetSpinSize() * nScale); in Down() local
1212 sal_Int64 nRemainder = rFormatter.GetDisableRemainderFactor() ? 0 : nValue % nSpinSize; in Down()
1214 nValue = (nRemainder == 0) ? nValue - nSpinSize : nValue - nRemainder; in Down()
1216 nValue = (nRemainder == 0) ? nValue - nSpinSize : nValue - nSpinSize - nRemainder; in Down()
H A Dcalendar.cxx232 tools::Long nSpinSize = nTextHeight+TITLE_BORDERY-SPIN_OFFY; in ImplFormat() local
235 maPrevRect.SetRight( maPrevRect.Left()+nSpinSize ); in ImplFormat()
236 maPrevRect.SetBottom( maPrevRect.Top()+nSpinSize ); in ImplFormat()
237 maNextRect.SetLeft( aOutSize.Width()-SPIN_OFFX-nSpinSize-1 ); in ImplFormat()
239 maNextRect.SetRight( maNextRect.Left()+nSpinSize ); in ImplFormat()
240 maNextRect.SetBottom( maNextRect.Top()+nSpinSize ); in ImplFormat()
/dports/editors/libreoffice/libreoffice-7.2.6.2/vcl/source/window/
H A Dbuilder.cxx4329 sal_Int64 nSpinSize = rValue.toDouble() * nMul; in mungeAdjustment() local
4330 rTarget.SetSpinSize(nSpinSize); in mungeAdjustment()
4341 double nMaxValue = 0, nMinValue = 0, nValue = 0, nSpinSize = 0; in mungeAdjustment() local
4355 nSpinSize = rValue.toDouble(); in mungeAdjustment()
4364 rFormatter.SetSpinSize(nSpinSize); in mungeAdjustment()
/dports/editors/libreoffice6/libreoffice-6.4.7.2/vcl/source/window/
H A Dbuilder.cxx4435 sal_Int64 nSpinSize = rValue.toDouble() * nMul; in mungeAdjustment() local
4436 rTarget.SetSpinSize(nSpinSize); in mungeAdjustment()