26#include <svx/strings.hrc>
28#include <osl/diagnose.h>
85 OSL_ENSURE(
nIndex <
Count(),
"OOps, access out of range (!)");
96 const double fBorderDistance(aSize.
Height() * 0.1);
109 const double fArrowHeight(aSize.
Height() - (2.0 * fBorderDistance));
120 aLineStartEndAttribute,
121 aLineStartEndAttribute));
127 pVirtualDevice->SetOutputSizePixel(aSize);
129 ? DrawModeFlags::SettingsLine | DrawModeFlags::SettingsFill | DrawModeFlags::SettingsText | DrawModeFlags::SettingsGradient
130 : DrawModeFlags::Default);
134 const Point aNull(0, 0);
135 static const sal_uInt32 nLen(8);
137 static const Color aG(0xef, 0xef, 0xef);
138 pVirtualDevice->DrawCheckered(aNull, aSize, nLen, aW, aG);
142 pVirtualDevice->SetBackground(rStyleSettings.
GetFieldColor());
143 pVirtualDevice->Erase();
149 aNewViewInformation2D));
153 pProcessor2D->process(aSequence);
154 pProcessor2D.reset();
157 aRetval = pVirtualDevice->GetBitmapEx(
Point(0, 0), pVirtualDevice->GetOutputSizePixel());
uno::Reference< container::XNameContainer > SvxUnoXLineEndTable_createInstance(XPropertyList &rTable) noexcept
const StyleSettings & GetStyleSettings() const
static const AllSettings & GetSettings()
basegfx::BColor getBColor() const
constexpr tools::Long Height() const
constexpr tools::Long Width() const
bool GetPreviewUsesCheckeredBackground() const
const Color & GetFieldTextColor() const
bool GetHighContrastMode() const
const Color & GetFieldColor() const
static sal_uInt16 GetListBoxPreviewDefaultLineWidth()
const Size & GetListBoxPreviewDefaultPixelSize() const
XLineEndList(const OUString &rPath, const OUString &rReferer)
virtual css::uno::Reference< css::container::XNameContainer > createInstance() override
virtual bool Create() override
virtual ~XLineEndList() override
virtual BitmapEx CreateBitmapForUI(tools::Long nIndex) override
XLineEndEntry * GetLineEnd(tools::Long nIndex) const
tools::Long Count() const
void Insert(std::unique_ptr< XPropertyEntry > pEntry, tools::Long nIndex=std::numeric_limits< tools::Long >::max())
XPropertyEntry * Get(tools::Long nIndex) const
void append(const basegfx::B2DPoint &rPoint, sal_uInt32 nCount)
void setClosed(bool bNew)
constexpr ::Color COL_WHITE(0xFF, 0xFF, 0xFF)
OUString SvxResId(TranslateId aId)
B2DPolygon createPolygonFromCircle(const B2DPoint &rCenter, double fRadius)
std::unique_ptr< BaseProcessor2D > createPixelProcessor2DFromOutputDevice(OutputDevice &rTargetOutDev, const drawinglayer::geometry::ViewInformation2D &rViewInformation2D)