21#include <com/sun/star/drawing/LineStyle.hpp>
22#include <com/sun/star/drawing/LineCap.hpp>
23#include <com/sun/star/beans/XPropertySet.hpp>
34 Color <<= sal_Int32(0x000000);
36 <<= drawing::LineStyle_SOLID;
38 Width <<= sal_Int32(0);
39 LineCap <<= drawing::LineCap_BUTT;
48 Color = xProp->getPropertyValue(
"LineColor");
49 LineStyle = xProp->getPropertyValue(
"LineStyle");
50 Transparence = xProp->getPropertyValue(
"LineTransparence");
51 Width = xProp->getPropertyValue(
"LineWidth");
52 DashName = xProp->getPropertyValue(
"LineDashName");
53 LineCap = xProp->getPropertyValue(
"LineCap");
55 catch (
const uno::Exception&)
68 drawing::LineStyle aLineStyle(drawing::LineStyle_SOLID);
70 if (aLineStyle != drawing::LineStyle_NONE)
72 sal_Int16 nLineTransparence = 0;
74 if (nLineTransparence != 100)
#define TOOLS_WARN_EXCEPTION(area, stream)
css::uno::Any Transparence
void initFromPropertySet(const css::uno::Reference< css::beans::XPropertySet > &xProp)
bool isLineVisible() const