Searched refs:nSpinSize (Results 1 – 6 of 6) sorted by relevance
1000 sal_Int64 nSpinSize = std::round(m_dSpinSize * nScale); in Up() local1001 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() local1021 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()
236 long nSpinSize = nTextHeight+TITLE_BORDERY-SPIN_OFFY; in ImplFormat() local239 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()
1190 sal_Int64 nSpinSize = std::round(rFormatter.GetSpinSize() * nScale); in Up() local1191 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() local1212 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()
232 tools::Long nSpinSize = nTextHeight+TITLE_BORDERY-SPIN_OFFY; in ImplFormat() local235 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()
4329 sal_Int64 nSpinSize = rValue.toDouble() * nMul; in mungeAdjustment() local4330 rTarget.SetSpinSize(nSpinSize); in mungeAdjustment()4341 double nMaxValue = 0, nMinValue = 0, nValue = 0, nSpinSize = 0; in mungeAdjustment() local4355 nSpinSize = rValue.toDouble(); in mungeAdjustment()4364 rFormatter.SetSpinSize(nSpinSize); in mungeAdjustment()
4435 sal_Int64 nSpinSize = rValue.toDouble() * nMul; in mungeAdjustment() local4436 rTarget.SetSpinSize(nSpinSize); in mungeAdjustment()