Lines Matching refs:nRet

187 	long nRet = (long)nTmp;  in CalcToUnit()  local
188 return nRet; in CalcToUnit()
354 long nRet = 0; in CalcToPoint() local
357 nRet = nIn; in CalcToPoint()
359 nRet = nIn * 567; in CalcToPoint()
363 case SFX_MAPUNIT_100TH_MM: nRet /= 100; break; in CalcToPoint()
364 case SFX_MAPUNIT_10TH_MM: nRet /= 10; break; in CalcToPoint()
366 case SFX_MAPUNIT_CM: nRet *= 10; break; in CalcToPoint()
374 long nTmp = nRet % nMod; in CalcToPoint()
377 nRet += 10 - nTmp; in CalcToPoint()
378 nRet /= 10; in CalcToPoint()
380 return nRet * nFaktor / 20; in CalcToPoint()
387 long nRet = 0; in CMToTwips() local
390 nRet = nIn * 567; in CMToTwips()
391 return nRet; in CMToTwips()
398 long nRet = 0; in MMToTwips() local
401 nRet = nIn * 567 / 10; in MMToTwips()
402 return nRet; in MMToTwips()
409 long nRet = 0; in InchToTwips() local
412 nRet = nIn * 1440; in InchToTwips()
413 return nRet; in InchToTwips()
420 long nRet = 0; in PointToTwips() local
423 nRet = nIn * 20; in PointToTwips()
424 return nRet; in PointToTwips()
431 long nRet = 0; in PicaToTwips() local
434 nRet = nIn * 240; in PicaToTwips()
435 return nRet; in PicaToTwips()
442 long nRet = nIn / 567; in TwipsToCM() local
443 return nRet; in TwipsToCM()
450 long nRet = 0; in InchToCM() local
453 nRet = nIn * 254 / 100; in InchToCM()
454 return nRet; in InchToCM()
461 long nRet = nIn / 10; in MMToCM() local
462 return nRet; in MMToCM()
469 long nRet = 0; in PointToCM() local
472 nRet = nIn * 20 / 567; in PointToCM()
473 return nRet; in PointToCM()
480 long nRet = 0; in PicaToCM() local
483 nRet = nIn * 12 * 20 / 567; in PicaToCM()
484 return nRet; in PicaToCM()
491 long nRet = 0; in TwipsToMM() local
494 nRet = nIn * 10 / 566; in TwipsToMM()
495 return nRet; in TwipsToMM()
502 long nRet = 0; in CMToMM() local
505 nRet = nIn * 10; in CMToMM()
506 return nRet; in CMToMM()
513 long nRet = 0; in InchToMM() local
516 nRet = nIn * 254 / 10; in InchToMM()
517 return nRet; in InchToMM()
524 long nRet = 0; in PointToMM() local
527 nRet = nIn * 200 / 567; in PointToMM()
528 return nRet; in PointToMM()
535 long nRet = 0; in PicaToMM() local
538 nRet = nIn * 12 * 200 / 567; in PicaToMM()
539 return nRet; in PicaToMM()
546 long nRet = nIn / 1440; in TwipsToInch() local
547 return nRet; in TwipsToInch()
554 long nRet = 0; in CMToInch() local
557 nRet = nIn * 100 / 254; in CMToInch()
558 return nRet; in CMToInch()
565 long nRet = 0; in MMToInch() local
568 nRet = nIn * 10 / 254; in MMToInch()
569 return nRet; in MMToInch()
576 long nRet = nIn / 72; in PointToInch() local
577 return nRet; in PointToInch()
584 long nRet = nIn / 6; in PicaToInch() local
585 return nRet; in PicaToInch()
592 long nRet = nIn / 20; in TwipsToPoint() local
593 return nRet; in TwipsToPoint()
600 long nRet = 0; in InchToPoint() local
603 nRet = nIn * 72; in InchToPoint()
604 return nRet; in InchToPoint()
611 long nRet = 0; in CMToPoint() local
614 nRet = nIn * 567 / 20; in CMToPoint()
615 return nRet; in CMToPoint()
622 long nRet = 0; in MMToPoint() local
625 nRet = nIn * 567 / 200; in MMToPoint()
626 return nRet; in MMToPoint()
633 long nRet = nIn / 12; in PicaToPoint() local
634 return nRet; in PicaToPoint()
641 long nRet = nIn / 240; in TwipsToPica() local
642 return nRet; in TwipsToPica()
649 long nRet = 0; in InchToPica() local
652 nRet = nIn * 6; in InchToPica()
653 return nRet; in InchToPica()
660 long nRet = 0; in PointToPica() local
663 nRet = nIn * 12; in PointToPica()
664 return nRet; in PointToPica()
671 long nRet = 0; in CMToPica() local
674 nRet = nIn * 567 / 20 / 12; in CMToPica()
675 return nRet; in CMToPica()
682 long nRet = 0; in MMToPica() local
685 nRet = nIn * 567 / 200 / 12; in MMToPica()
686 return nRet; in MMToPica()
693 long nRet = nIn; in Nothing() local
694 return nRet; in Nothing()