From e3b425d36ae42f457a015000955c088158f541e8 Mon Sep 17 00:00:00 2001 From: Kohei Yoshida Date: Tue, 28 Sep 2010 11:15:28 -0400 Subject: Forgot to add new files created by cws-koheicopyborder-sc.diff. --- sc/source/ui/inc/overlayobject.hxx | 58 ++++++++++++++++++++++++++++++++++++++ 1 file changed, 58 insertions(+) create mode 100644 sc/source/ui/inc/overlayobject.hxx (limited to 'sc/source/ui/inc') diff --git a/sc/source/ui/inc/overlayobject.hxx b/sc/source/ui/inc/overlayobject.hxx new file mode 100644 index 000000000000..3d10407f72e8 --- /dev/null +++ b/sc/source/ui/inc/overlayobject.hxx @@ -0,0 +1,58 @@ +/************************************************************************* + * + * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER. + * + * Copyright 2008 by Sun Microsystems, Inc. + * + * OpenOffice.org - a multi-platform office productivity suite + * + * $RCSfile: gridwin.hxx,v $ + * $Revision: 1.30 $ + * + * This file is part of OpenOffice.org. + * + * OpenOffice.org is free software: you can redistribute it and/or modify + * it under the terms of the GNU Lesser General Public License version 3 + * only, as published by the Free Software Foundation. + * + * OpenOffice.org is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + * GNU Lesser General Public License version 3 for more details + * (a copy is included in the LICENSE file that accompanied this code). + * + * You should have received a copy of the GNU Lesser General Public License + * version 3 along with OpenOffice.org. If not, see + * + * for a copy of the LGPLv3 License. + * + ************************************************************************/ + +#ifndef __SC_OVERLAYOBJECT_HXX__ +#define __SC_OVERLAYOBJECT_HXX__ + +#include "svx/sdr/overlay/overlayobject.hxx" + +class OutputDevice; +class Window; + +class ScOverlayDashedBorder : public ::sdr::overlay::OverlayObject +{ +public: + ScOverlayDashedBorder(const ::basegfx::B2DRange& rRange, const Color& rColor, Window* pWin); + virtual ~ScOverlayDashedBorder(); + + virtual void Trigger(sal_uInt32 nTime); + + virtual void stripeDefinitionHasChanged(); + +protected: + virtual drawinglayer::primitive2d::Primitive2DSequence createOverlayObjectPrimitive2DSequence(); + +private: + ::basegfx::B2DRange maRange; + Window* mpParent; + bool mbToggle; +}; + +#endif -- cgit