22#include <com/sun/star/awt/XProgressBar.hpp>
32#define PROGRESSBAR_DEFAULT_BLOCKDIMENSION Size(1,1)
45 ,
public css::awt::XProgressBar
50 ProgressBar(
const css::uno::Reference< css::uno::XComponentContext >& rxContext );
56 virtual css::uno::Any SAL_CALL
queryInterface(
const css::uno::Type& aType )
override;
65 virtual void SAL_CALL
acquire() noexcept override;
74 virtual
void SAL_CALL
release() noexcept override;
86 virtual
void SAL_CALL
setValue( sal_Int32 nValue ) override;
93 virtual sal_Int32 SAL_CALL
getValue() override;
108 const css::
uno::Reference< css::awt::XControlModel >& xModel
111 virtual css::
uno::Reference< css::awt::XControlModel > SAL_CALL
getModel() override;
117 const css::
uno::Reference< css::awt::XGraphics >& xGraphics
virtual void SAL_CALL setRange(sal_Int32 nMin, sal_Int32 nMax) override
ProgressBar(const css::uno::Reference< css::uno::XComponentContext > &rxContext)
virtual void SAL_CALL setValue(sal_Int32 nValue) override
virtual css::uno::Any SAL_CALL queryInterface(const css::uno::Type &aType) override
give answer, if interface is supported @descr The interfaces are searched by type.
virtual sal_Int32 SAL_CALL getValue() override
virtual css::uno::Reference< css::awt::XControlModel > SAL_CALL getModel() override
virtual void SAL_CALL setPosSize(sal_Int32 nX, sal_Int32 nY, sal_Int32 nWidth, sal_Int32 nHeight, sal_Int16 nFlags) override
virtual void SAL_CALL acquire() noexcept override
increment refcount @seealso XInterface @seealso release() @onerror A RuntimeException is thrown.
virtual void SAL_CALL setForegroundColor(sal_Int32 nColor) override
virtual sal_Bool SAL_CALL setModel(const css::uno::Reference< css::awt::XControlModel > &xModel) override
virtual css::uno::Sequence< css::uno::Type > SAL_CALL getTypes() override
get information about supported interfaces @seealso XTypeProvider
virtual void impl_paint(sal_Int32 nX, sal_Int32 nY, const css::uno::Reference< css::awt::XGraphics > &xGraphics) override
virtual ~ProgressBar() override
virtual void SAL_CALL setBackgroundColor(sal_Int32 nColor) override
css::awt::Size m_aBlockSize
virtual void SAL_CALL release() noexcept override
decrement refcount @seealso XInterface @seealso acquire() @onerror A RuntimeException is thrown.
constexpr ::Color COL_LIGHTGRAY(0xC0, 0xC0, 0xC0)
constexpr ::Color COL_BLUE(0x00, 0x00, 0x80)
constexpr Color PROGRESSBAR_DEFAULT_FOREGROUNDCOLOR
constexpr bool PROGRESSBAR_DEFAULT_HORIZONTAL
constexpr auto PROGRESSBAR_DEFAULT_VALUE
constexpr auto PROGRESSBAR_DEFAULT_MAXRANGE
constexpr sal_Int32 PROGRESSBAR_LINECOLOR_BRIGHT
constexpr sal_Int32 PROGRESSBAR_LINECOLOR_SHADOW
constexpr auto PROGRESSBAR_DEFAULT_BLOCKVALUE
constexpr auto PROGRESSBAR_DEFAULT_MINRANGE
constexpr Color PROGRESSBAR_DEFAULT_BACKGROUNDCOLOR
constexpr auto PROGRESSBAR_FREESPACE