16#include <officecfg/Office/Common.hxx>
17#include <bitmaps.hlst>
40 bool bOnlineCheckStatus
43 if (eState == SfxItemState::DEFAULT && bOnlineCheckStatus)
45 if (
auto pItem =
dynamic_cast<const SfxInt32Item*
>(pState))
47 OUString aString =
SwResId(STR_ACCESSIBILITY_CHECK_HINT)
48 .replaceFirst(
"%issues%", OUString::number(
mnIssues));
76 pRenderContext->
DrawImage(aPosition, aImage);
SFX_IMPL_STATUSBAR_CONTROL(sw::AccessibilityStatusBarControl, SfxInt32Item)
Size GetSizePixel() const
void DrawImage(const Point &rPos, const Image &rImage, DrawImageFlags nStyle=DrawImageFlags::NONE)
StatusBar & GetStatusBar() const
constexpr tools::Long Height() const
constexpr tools::Long Width() const
void SetQuickHelpText(sal_uInt16 nItemId, const OUString &rText)
vcl::RenderContext * GetRenderContext() const
const tools::Rectangle & GetRect() const
virtual ~AccessibilityStatusBarControl() override
void Paint(const UserDrawEvent &rEvent) override
Image maImageIssuesNotFound
void StateChangedAtStatusBarControl(sal_uInt16 nSID, SfxItemState eState, const SfxPoolItem *pState) override
AccessibilityStatusBarControl(sal_uInt16 nSlotId, sal_uInt16 nId, StatusBar &rStb)
void Invalidate(InvalidateFlags nFlags=InvalidateFlags::NONE)
css::uno::Reference< css::linguistic2::XProofreadingIterator > get(css::uno::Reference< css::uno::XComponentContext > const &context)
Dialog to specify the properties of date form field.
OUString SwResId(TranslateId aId)