Kaydet (Commit) 97347b5e authored tarafından Ivo Hinkelmann's avatar Ivo Hinkelmann

INTEGRATION: CWS aw024 (1.16.96); FILE MERGED

2006/09/22 00:46:35 aw 1.16.96.8: RESYNC: (1.20-1.21); FILE MERGED
2006/09/08 19:29:00 aw 1.16.96.7: RESYNC: (1.19-1.20); FILE MERGED
2006/08/03 16:53:46 aw 1.16.96.6: RESYNC: (1.18-1.19); FILE MERGED
2005/09/17 18:24:04 aw 1.16.96.5: RESYNC: (1.17-1.18); FILE MERGED
2005/05/12 16:49:31 aw 1.16.96.4: #i39529#
2005/04/26 15:09:09 aw 1.16.96.3: #i39528#
2005/03/23 21:01:38 aw 1.16.96.2: RESYNC: (1.16-1.17); FILE MERGED
2004/12/27 10:06:23 aw 1.16.96.1: #i39525
üst f8a57251
...@@ -4,9 +4,9 @@ ...@@ -4,9 +4,9 @@
* *
* $RCSfile: dflyobj.cxx,v $ * $RCSfile: dflyobj.cxx,v $
* *
* $Revision: 1.21 $ * $Revision: 1.22 $
* *
* last change: $Author: obo $ $Date: 2006-09-16 21:02:51 $ * last change: $Author: ihi $ $Date: 2006-11-14 15:08:56 $
* *
* The Contents of this file are made available subject to * The Contents of this file are made available subject to
* the terms of GNU Lesser General Public License Version 2.1. * the terms of GNU Lesser General Public License Version 2.1.
...@@ -37,9 +37,6 @@ ...@@ -37,9 +37,6 @@
#include "precompiled_sw.hxx" #include "precompiled_sw.hxx"
#include "hintids.hxx" #include "hintids.hxx"
#ifndef _XPOLY_HXX //autogen
#include <svx/xpoly.hxx>
#endif
#ifndef _SVDTRANS_HXX #ifndef _SVDTRANS_HXX
#include <svx/svdtrans.hxx> #include <svx/svdtrans.hxx>
#endif #endif
...@@ -89,6 +86,18 @@ ...@@ -89,6 +86,18 @@
#endif #endif
// <-- // <--
#ifndef _BGFX_RANGE_B2DRANGE_HXX
#include <basegfx/range/b2drange.hxx>
#endif
#ifndef _BGFX_POLYGON_B2DPOLYGONTOOLS_HXX
#include <basegfx/polygon/b2dpolygontools.hxx>
#endif
#ifndef _BGFX_POLYGON_B2DPOLYGON_HXX
#include <basegfx/polygon/b2dpolygon.hxx>
#endif
static FASTBOOL bInResize = FALSE; static FASTBOOL bInResize = FALSE;
TYPEINIT1( SwFlyDrawObj, SdrObject ) TYPEINIT1( SwFlyDrawObj, SdrObject )
...@@ -116,7 +125,6 @@ sdr::properties::BaseProperties* SwFlyDrawObj::CreateObjectSpecificProperties() ...@@ -116,7 +125,6 @@ sdr::properties::BaseProperties* SwFlyDrawObj::CreateObjectSpecificProperties()
SwFlyDrawObj::SwFlyDrawObj() SwFlyDrawObj::SwFlyDrawObj()
{ {
//BFS01 bNotPersistent = TRUE;
} }
SwFlyDrawObj::~SwFlyDrawObj() SwFlyDrawObj::~SwFlyDrawObj()
...@@ -178,9 +186,6 @@ SwVirtFlyDrawObj::SwVirtFlyDrawObj(SdrObject& rNew, SwFlyFrm* pFly) : ...@@ -178,9 +186,6 @@ SwVirtFlyDrawObj::SwVirtFlyDrawObj(SdrObject& rNew, SwFlyFrm* pFly) :
{ {
//#110094#-1 //#110094#-1
// bNotPersistent = bNeedColorRestore = bWriterFlyFrame = TRUE; // bNotPersistent = bNeedColorRestore = bWriterFlyFrame = TRUE;
//BFS01 bNotPersistent = bNeedColorRestore = TRUE;
//BFS01 bNeedColorRestore = TRUE;
const SvxProtectItem &rP = pFlyFrm->GetFmt()->GetProtect(); const SvxProtectItem &rP = pFlyFrm->GetFmt()->GetProtect();
bMovProt = rP.IsPosProtected(); bMovProt = rP.IsPosProtected();
bSizProt = rP.IsSizeProtected(); bSizProt = rP.IsSizeProtected();
...@@ -423,9 +428,15 @@ void __EXPORT SwVirtFlyDrawObj::NbcSetLogicRect(const Rectangle& rRect) ...@@ -423,9 +428,15 @@ void __EXPORT SwVirtFlyDrawObj::NbcSetLogicRect(const Rectangle& rRect)
} }
void __EXPORT SwVirtFlyDrawObj::TakeXorPoly(XPolyPolygon& rPoly, FASTBOOL ) const ::basegfx::B2DPolyPolygon SwVirtFlyDrawObj::TakeXorPoly(sal_Bool bDetail) const
{ {
rPoly = XPolyPolygon( XPolygon( GetFlyFrm()->Frm().SVRect() ) ); const Rectangle aSourceRectangle(GetFlyFrm()->Frm().SVRect());
const ::basegfx::B2DRange aSourceRange(aSourceRectangle.Left(), aSourceRectangle.Top(), aSourceRectangle.Right(), aSourceRectangle.Bottom());
::basegfx::B2DPolyPolygon aRetval;
aRetval.append(::basegfx::tools::createPolygonFromRect(aSourceRange));
return aRetval;
} }
/************************************************************************* /*************************************************************************
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment