Lines Matching refs:pHd

176     WW8_DPHEAD* pHd, const WW8_DO* pDo, SfxAllItemSet &rSet)  in ReadGrafStart()  argument
178 if (SVBT16ToShort(pHd->cb) < sizeof(WW8_DPHEAD) + nDataSiz) in ReadGrafStart()
181 pStrm->SeekRel(SVBT16ToShort(pHd->cb) - sizeof(WW8_DPHEAD)); in ReadGrafStart()
324 SdrObject* SwWW8ImplReader::ReadLine( WW8_DPHEAD* pHd, const WW8_DO* pDo, in ReadLine() argument
329 if( !ReadGrafStart( (void*)&aLine, sizeof( aLine ), pHd, pDo, rSet ) ) in ReadLine()
337 rP0.X() = (sal_Int16)SVBT16ToShort( pHd->xa ) + nDrawXOfs2; in ReadLine()
338 rP0.Y() = (sal_Int16)SVBT16ToShort( pHd->ya ) + nDrawYOfs2; in ReadLine()
357 SdrObject* SwWW8ImplReader::ReadRect( WW8_DPHEAD* pHd, const WW8_DO* pDo, in ReadRect() argument
362 if( !ReadGrafStart( (void*)&aRect, sizeof( aRect ), pHd, pDo, rSet ) ) in ReadRect()
365 Point aP0( (sal_Int16)SVBT16ToShort( pHd->xa ) + nDrawXOfs2, in ReadRect()
366 (sal_Int16)SVBT16ToShort( pHd->ya ) + nDrawYOfs2 ); in ReadRect()
368 aP1.X() += (sal_Int16)SVBT16ToShort( pHd->dxa ); in ReadRect()
369 aP1.Y() += (sal_Int16)SVBT16ToShort( pHd->dya ); in ReadRect()
379 SdrObject* SwWW8ImplReader::ReadElipse( WW8_DPHEAD* pHd, const WW8_DO* pDo, in ReadElipse() argument
384 if( !ReadGrafStart( (void*)&aElipse, sizeof( aElipse ), pHd, pDo, rSet ) ) in ReadElipse()
387 Point aP0( (sal_Int16)SVBT16ToShort( pHd->xa ) + nDrawXOfs2, in ReadElipse()
388 (sal_Int16)SVBT16ToShort( pHd->ya ) + nDrawYOfs2 ); in ReadElipse()
390 aP1.X() += (sal_Int16)SVBT16ToShort( pHd->dxa ); in ReadElipse()
391 aP1.Y() += (sal_Int16)SVBT16ToShort( pHd->dya ); in ReadElipse()
401 SdrObject* SwWW8ImplReader::ReadArc( WW8_DPHEAD* pHd, const WW8_DO* pDo, in ReadArc() argument
406 if( !ReadGrafStart( (void*)&aArc, sizeof( aArc ), pHd, pDo, rSet ) ) in ReadArc()
409 Point aP0( (sal_Int16)SVBT16ToShort( pHd->xa ) + nDrawXOfs2, in ReadArc()
410 (sal_Int16)SVBT16ToShort( pHd->ya ) + nDrawYOfs2 ); in ReadArc()
412 aP1.X() += (sal_Int16)SVBT16ToShort( pHd->dxa ) * 2; in ReadArc()
413 aP1.Y() += (sal_Int16)SVBT16ToShort( pHd->dya ) * 2; in ReadArc()
419 aP0.Y() -= (sal_Int16)SVBT16ToShort( pHd->dya ); in ReadArc()
420 aP1.Y() -= (sal_Int16)SVBT16ToShort( pHd->dya ); in ReadArc()
423 aP0.X() -= (sal_Int16)SVBT16ToShort( pHd->dxa ); in ReadArc()
424 aP1.X() -= (sal_Int16)SVBT16ToShort( pHd->dxa ); in ReadArc()
436 SdrObject* SwWW8ImplReader::ReadPolyLine( WW8_DPHEAD* pHd, const WW8_DO* pDo, in ReadPolyLine() argument
441 if( !ReadGrafStart( (void*)&aPoly, sizeof( aPoly ), pHd, pDo, rSet ) ) in ReadPolyLine()
453 + (sal_Int16)SVBT16ToShort( pHd->xa ); in ReadPolyLine()
455 + (sal_Int16)SVBT16ToShort( pHd->ya ); in ReadPolyLine()
1199 SdrObject* SwWW8ImplReader::ReadTxtBox( WW8_DPHEAD* pHd, const WW8_DO* pDo, in ReadTxtBox() argument
1205 if( !ReadGrafStart( (void*)&aTxtB, sizeof( aTxtB ), pHd, pDo, rSet ) ) in ReadTxtBox()
1208 Point aP0( (sal_Int16)SVBT16ToShort( pHd->xa ) + nDrawXOfs2, in ReadTxtBox()
1209 (sal_Int16)SVBT16ToShort( pHd->ya ) + nDrawYOfs2 ); in ReadTxtBox()
1211 aP1.X() += (sal_Int16)SVBT16ToShort( pHd->dxa ); in ReadTxtBox()
1212 aP1.Y() += (sal_Int16)SVBT16ToShort( pHd->dya ); in ReadTxtBox()
1217 Size aSize( (sal_Int16)SVBT16ToShort( pHd->dxa ) , in ReadTxtBox()
1218 (sal_Int16)SVBT16ToShort( pHd->dya ) ); in ReadTxtBox()
1239 SdrObject* SwWW8ImplReader::ReadCaptionBox( WW8_DPHEAD* pHd, const WW8_DO* pDo, in ReadCaptionBox() argument
1247 if( !ReadGrafStart( (void*)&aCallB, sizeof( aCallB ), pHd, pDo, rSet ) ) in ReadCaptionBox()
1257 Point aP0( (sal_Int16)SVBT16ToShort( pHd->xa ) + in ReadCaptionBox()
1259 (sal_Int16)SVBT16ToShort( pHd->ya ) in ReadCaptionBox()
1264 Point aP2( (sal_Int16)SVBT16ToShort( pHd->xa ) in ReadCaptionBox()
1267 (sal_Int16)SVBT16ToShort( pHd->ya ) in ReadCaptionBox()
1292 SdrObject *SwWW8ImplReader::ReadGroup( WW8_DPHEAD* pHd, const WW8_DO* pDo, in ReadGroup() argument
1297 if( !ReadGrafStart( (void*)&nGrouped, sizeof( nGrouped ), pHd, pDo, rSet ) ) in ReadGroup()
1304 nDrawXOfs = nDrawXOfs + (sal_Int16)SVBT16ToShort( pHd->xa ); in ReadGroup()
1305 nDrawYOfs = nDrawYOfs + (sal_Int16)SVBT16ToShort( pHd->ya ); in ReadGroup()
1309 short nLeft = (sal_Int16)SVBT16ToShort( pHd->cb ) - sizeof( WW8_DPHEAD ); in ReadGroup()
1325 nDrawXOfs = nDrawXOfs - (sal_Int16)SVBT16ToShort( pHd->xa ); in ReadGroup()
1326 nDrawYOfs = nDrawYOfs - (sal_Int16)SVBT16ToShort( pHd->ya ); in ReadGroup()