1 /* -*- Mode: C++; tab-width: 4; indent-tabs-mode: nil; c-basic-offset: 4 -*- */
3 * This file is part of the LibreOffice project.
5 * This Source Code Form is subject to the terms of the Mozilla Public
6 * License, v. 2.0. If a copy of the MPL was not distributed with this
7 * file, You can obtain one at http://mozilla.org/MPL/2.0/.
12 #include <tools/color.hxx>
13 #include <com/sun/star/awt/Point.hpp>
14 #include <com/sun/star/awt/Size.hpp>
15 #include <com/sun/star/uno/Reference.hxx>
16 #include <rtl/ref.hxx>
17 #include <svx/unoshape.hxx>
19 namespace com::sun::star::beans
{ class XPropertySet
; }
27 rtl::Reference
<SvxShapeGroupAnyD
> m_xTarget
;
28 rtl::Reference
<SvxShapeGroup
> m_xShape
;
31 css::awt::Point m_aPosition
;
32 css::awt::Size m_aSize
;
37 rtl::Reference
<SvxShapePolyPolygon
>
38 createTriangle(css::awt::Size aSize
);
43 void init(const rtl::Reference
<SvxShapeGroupAnyD
>& xTargetPage
);
45 void createShapes(const css::uno::Reference
<css::beans::XPropertySet
>& xTextProp
);
47 void showArrow(bool bShowArrow
)
49 m_bShowArrow
= bShowArrow
;
51 void setArrowColor(Color nArrowColor
)
53 m_nArrowColor
= nArrowColor
;
55 void setBGColor(Color nBGColor
)
57 m_nBGColor
= nBGColor
;
59 void setLabel(OUString
const & rLabel
)
63 void setCID(OUString
const & rCID
)
67 void setPosition(css::awt::Point
const & rPosition
)
69 m_aPosition
= rPosition
;
71 css::awt::Size
const & getSize() const
75 void setSize(css::awt::Size
const & rSize
)
83 /* vim:set shiftwidth=4 softtabstop=4 expandtab: */