28#include <svx/strings.hrc>
32#include <com/sun/star/beans/PropertyValue.hpp>
34#include <bitmaps.hlst>
36using ::com::sun::star::uno::Sequence;
37using ::com::sun::star::beans::PropertyValue;
78 if ( SfxItemState::DEFAULT != eState )
92 TranslateId pResId = modified ? RID_SVXSTR_DOC_MODIFIED_YES : RID_SVXSTR_DOC_MODIFIED_NO;
102 if (pTimer ==
nullptr)
106 mxImpl->mnModState = ImplData::MODIFICATION_STATE_NO;
134 aPt +=
Point(nXOffset, nYOffset);
154 Sequence<PropertyValue> aArgs;
155 execute(
".uno:Save", aArgs);
Size GetSizePixel() const
void DrawImage(const Point &rPos, const Image &rImage, DrawImageFlags nStyle=DrawImageFlags::NONE)
StatusBar & GetStatusBar() const
constexpr tools::Long getHeight() const
constexpr tools::Long getWidth() const
void SetQuickHelpText(sal_uInt16 nItemId, const OUString &rText)
void SetItemData(sal_uInt16 nItemId, void *pNewData)
SvxModifyControl(sal_uInt16 nSlotId, sal_uInt16 nId, StatusBar &rStb)
std::shared_ptr< ImplData > mxImpl
virtual void Paint(const UserDrawEvent &rUsrEvt) override
virtual void StateChangedAtStatusBarControl(sal_uInt16 nSID, SfxItemState eState, const SfxPoolItem *pState) override
virtual void Click() override
void SetPriority(TaskPriority ePriority)
vcl::RenderContext * GetRenderContext() const
const tools::Rectangle & GetRect() const
#define DBG_ASSERT(sCon, aError)
OUString SvxResId(TranslateId aId)
#define LINK(Instance, Class, Member)
Point centerImage(const tools::Rectangle &rBoundingRect, const Image &rImg)
Given a bounding rectangle and an image, determine the top-left position of the image so that the ima...
IMPL_LINK(SvxModifyControl, OnTimer, Timer *, pTimer, void)
SFX_IMPL_STATUSBAR_CONTROL(SvxModifyControl, SfxBoolItem)
std::shared_ptr< T > make_shared(Args &&... args)
@ MODIFICATION_STATE_SIZE
@ MODIFICATION_STATE_FEEDBACK
ModificationState mnModState
Image maImages[MODIFICATION_STATE_SIZE]