diff options
author | Kohei Yoshida <kyoshida@novell.com> | 2010-09-28 11:15:28 -0400 |
---|---|---|
committer | Kohei Yoshida <kyoshida@novell.com> | 2010-09-28 11:15:28 -0400 |
commit | e3b425d36ae42f457a015000955c088158f541e8 (patch) | |
tree | 5a8b3fec0c3913061ded37c9baf912d7724d55ac /sc/source/ui/inc | |
parent | be2150398ce765b87d44ada8a13c09345be52e22 (diff) |
Forgot to add new files created by cws-koheicopyborder-sc.diff.
Diffstat (limited to 'sc/source/ui/inc')
-rw-r--r-- | sc/source/ui/inc/overlayobject.hxx | 58 |
1 files changed, 58 insertions, 0 deletions
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 + * <http://www.openoffice.org/license.html> + * 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 |