23#include <svx/strings.hrc>
26#include <rtl/ustrbuf.hxx>
46 std::array<sal_uInt8,64> aArray;
48 const sal_Int32 nLen(
aStr.getLength() - 1);
58 aArray[ 0] = 1; aArray[ 9] = 1; aArray[18] = 1; aArray[27] = 1;
59 aArray[36] = 1; aArray[45] = 1; aArray[54] = 1; aArray[63] = 1;
65 aArray[ 7] = 1; aArray[14] = 1; aArray[21] = 1; aArray[28] = 1;
66 aArray[35] = 1; aArray[42] = 1; aArray[49] = 1; aArray[56] = 1;
72 aArray[24] = 1; aArray[25] = 1; aArray[26] = 1;
73 aArray[29] = 1; aArray[30] = 1; aArray[31] = 1;
89 pVirtualDevice->SetOutputSizePixel(rSize);
97 const Point aNull(0, 0);
98 static const sal_uInt32 nLen(8);
100 static const Color aG(0xef, 0xef, 0xef);
102 pVirtualDevice->DrawCheckered(aNull, rSize, nLen, aW, aG);
106 pVirtualDevice->SetBackground(rStyleSettings.
GetFieldColor());
107 pVirtualDevice->Erase();
113 rBitmapEx.
Scale(rSize);
114 pVirtualDevice->DrawBitmapEx(
Point(0, 0), rBitmapEx);
124 pVirtualDevice->DrawBitmapEx(
130 rBitmapEx = pVirtualDevice->GetBitmapEx(
Point(0, 0), rSize);
uno::Reference< container::XNameContainer > SvxUnoXBitmapTable_createInstance(XPropertyList &rTable) noexcept
const StyleSettings & GetStyleSettings() const
static const AllSettings & GetSettings()
bool Scale(const Size &rNewSize, BmpScaleFlag nScaleFlag=BmpScaleFlag::Default)
const Size & GetSizePixel() const
const Graphic & GetGraphic() const
BitmapEx GetBitmapEx(const GraphicConversionParameters &rParameters=GraphicConversionParameters()) const
constexpr tools::Long Height() const
constexpr tools::Long Width() const
bool GetPreviewUsesCheckeredBackground() const
const Color & GetFieldColor() const
const Size & GetListBoxPreviewDefaultPixelSize() const
const GraphicObject & GetGraphicObject() const
virtual BitmapEx CreateBitmapForUI(tools::Long nIndex) override
virtual bool Create() override
BitmapEx GetBitmapForPreview(tools::Long nIndex, const Size &rSize)
BitmapEx CreateBitmap(tools::Long nIndex, const Size &rSize) const
virtual css::uno::Reference< css::container::XNameContainer > createInstance() override
XBitmapEntry * GetBitmap(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
constexpr ::Color COL_LIGHTRED(0xFF, 0x00, 0x00)
constexpr ::Color COL_WHITE(0xFF, 0xFF, 0xFF)
constexpr ::Color COL_LIGHTBLUE(0x00, 0x00, 0xFF)
constexpr ::Color COL_BLACK(0x00, 0x00, 0x00)
OUString SvxResId(TranslateId aId)
BitmapEx createHistorical8x8FromArray(std::array< sal_uInt8, 64 > const &pArray, Color aColorPix, Color aColorBack)