Lines Matching refs:aGrTwipSz

546     Size aGrTwipSz(rFly.GetSize());  in WritePICFHeader()  local
623 …const bool bIsSubstitutedSize = (aGrTwipSz.Width() > SHRT_MAX) || (aGrTwipSz.Height() > SHRT_MAX) … in WritePICFHeader()
624 (aGrTwipSz.Width() < 0 ) || (aGrTwipSz.Height() < 0); in WritePICFHeader()
627 aGrTwipSz.Width() = nWidth; in WritePICFHeader()
628 aGrTwipSz.Height() = nHeight; in WritePICFHeader()
632 Set_UInt16(pArr, msword_cast<sal_uInt16>(aGrTwipSz.Width() * 254L / 144)); in WritePICFHeader()
633 Set_UInt16(pArr, msword_cast<sal_uInt16>(aGrTwipSz.Height() * 254L / 144)); in WritePICFHeader()
637 Set_UInt16(pArr, msword_cast<sal_uInt16>(aGrTwipSz.Width())); in WritePICFHeader()
638 Set_UInt16(pArr, msword_cast<sal_uInt16>(aGrTwipSz.Height())); in WritePICFHeader()
640 if ( aGrTwipSz.Width() + nXSizeAdd ) // set mx in WritePICFHeader()
644 const double fVal = nWidth * 1000.0 / (aGrTwipSz.Width() + nXSizeAdd ); in WritePICFHeader()
657 if ( aGrTwipSz.Height() + nYSizeAdd ) // set my in WritePICFHeader()
661 const double fVal = nHeight * 1000.0 / (aGrTwipSz.Height() + nYSizeAdd); in WritePICFHeader()
774 Size aGrTwipSz(rGrf.GetPrefSize()); in WritePICBulletFHeader() local
820 if ( (aGrTwipSz.Width() * 254L / 144 > USHRT_MAX) || (aGrTwipSz.Height() * 254L / 144 > USHRT_MAX) in WritePICBulletFHeader()
821 || (aGrTwipSz.Width() < 0 ) || (aGrTwipSz.Height() < 0) ) in WritePICBulletFHeader()
823 aGrTwipSz.Width() = nWidth; in WritePICBulletFHeader()
824 aGrTwipSz.Height() = nHeight; in WritePICBulletFHeader()
828 Set_UInt16(pArr, msword_cast<sal_uInt16>(aGrTwipSz.Width() * 254L / 144)); in WritePICBulletFHeader()
829 Set_UInt16(pArr, msword_cast<sal_uInt16>(aGrTwipSz.Height() * 254L / 144)); in WritePICBulletFHeader()
833 Set_UInt16(pArr, msword_cast<sal_uInt16>(aGrTwipSz.Width())); in WritePICBulletFHeader()
834 Set_UInt16(pArr, msword_cast<sal_uInt16>(aGrTwipSz.Height())); in WritePICBulletFHeader()
836 if( aGrTwipSz.Width() + nXSizeAdd ) // set mx in WritePICBulletFHeader()
838 double fVal = nWidth * 1000.0 / (aGrTwipSz.Width() + nXSizeAdd); in WritePICBulletFHeader()
844 if( aGrTwipSz.Height() + nYSizeAdd ) // set my in WritePICBulletFHeader()
846 double fVal = nHeight * 1000.0 / (aGrTwipSz.Height() + nYSizeAdd); in WritePICBulletFHeader()