LibreOffice Module svx (master)  1
Public Member Functions | Private Attributes | List of all members
SvxNumValueSet Class Reference

#include <numvset.hxx>

Inheritance diagram for SvxNumValueSet:
[legend]
Collaboration diagram for SvxNumValueSet:
[legend]

Public Member Functions

 SvxNumValueSet (std::unique_ptr< weld::ScrolledWindow > pScrolledWindow)
 
void init (NumberingPageType eType)
 
virtual ~SvxNumValueSet () override
 
virtual void UserDraw (const UserDrawEvent &rUDEvt) override
 
void SetNumberingSettings (const css::uno::Sequence< css::uno::Sequence< css::beans::PropertyValue > > &aNum, css::uno::Reference< css::text::XNumberingFormatter > const &xFormatter, const css::lang::Locale &rLocale)
 
void SetOutlineNumberingSettings (css::uno::Sequence< css::uno::Reference< css::container::XIndexAccess > > const &rOutline, css::uno::Reference< css::text::XNumberingFormatter > const &xFormatter, const css::lang::Locale &rLocale)
 
- Public Member Functions inherited from SvtValueSet
 SvtValueSet (std::unique_ptr< weld::ScrolledWindow > pScrolledWindow)
 
virtual ~SvtValueSet () override
 
virtual void SetDrawingArea (weld::DrawingArea *pDrawingArea) override
 
virtual bool MouseButtonDown (const MouseEvent &rMEvt) override
 
virtual bool MouseMove (const MouseEvent &rMEvt) override
 
virtual bool KeyInput (const KeyEvent &rKEvt) override
 
virtual void Paint (vcl::RenderContext &rRenderContext, const tools::Rectangle &rRect) override
 
virtual void GetFocus () override
 
virtual void LoseFocus () override
 
virtual void Resize () override
 
virtual void StyleUpdated () override
 
virtual void Show () override
 
virtual void Hide () override
 
virtual OUString RequestHelp (tools::Rectangle &rHelpRect) override
 
virtual void Select ()
 
OUString const & GetText () const
 
void SetText (const OUString &rText)
 
void SetStyle (WinBits nStyle)
 
WinBits GetStyle () const
 
void SetOptimalSize ()
 
void InsertItem (sal_uInt16 nItemId, const Image &rImage)
 
void InsertItem (sal_uInt16 nItemId, const Image &rImage, const OUString &rStr, size_t nPos=VALUESET_APPEND, bool bShowLegend=false)
 
void InsertItem (sal_uInt16 nItemId, const Color &rColor, const OUString &rStr)
 
void InsertItem (sal_uInt16 nItemId, size_t nPos=VALUESET_APPEND)
 
void InsertItem (sal_uInt16 nItemId, const OUString &rStr, size_t nPos)
 
void RemoveItem (sal_uInt16 nItemId)
 
void Clear ()
 
size_t GetItemCount () const
 
size_t GetItemPos (sal_uInt16 nItemId) const
 
sal_uInt16 GetItemId (size_t nPos) const
 
sal_uInt16 GetItemId (const Point &rPos) const
 
tools::Rectangle GetItemRect (sal_uInt16 nItemId) const
 
void EnableFullItemMode (bool bFullMode)
 
void SetColCount (sal_uInt16 nNewCols=1)
 
sal_uInt16 GetColCount () const
 
void SetLineCount (sal_uInt16 nNewLines=0)
 
sal_uInt16 GetLineCount () const
 
void SetItemWidth (long nItemWidth)
 
void SetItemHeight (long nLineHeight)
 
void SelectItem (sal_uInt16 nItemId)
 
sal_uInt16 GetSelectedItemId () const
 
size_t GetSelectItemPos () const
 
bool IsItemSelected (sal_uInt16 nItemId) const
 
void SetNoSelection ()
 
bool IsNoSelection () const
 
void RecalculateItemSizes ()
 
void SetItemImage (sal_uInt16 nItemId, const Image &rImage)
 
Image GetItemImage (sal_uInt16 nItemId) const
 
void SetItemColor (sal_uInt16 nItemId, const Color &rColor)
 
Color GetItemColor (sal_uInt16 nItemId) const
 
void SetItemData (sal_uInt16 nItemId, void *pData)
 
voidGetItemData (sal_uInt16 nItemId) const
 
void SetItemText (sal_uInt16 nItemId, const OUString &rStr)
 
OUString GetItemText (sal_uInt16 nItemId) const
 
void SetColor (const Color &rColor)
 
void SetColor ()
 
bool IsColor () const
 
void SetExtraSpacing (sal_uInt16 nNewSpacing)
 
void Format (vcl::RenderContext const &rRenderContext)
 
void SetFormat ()
 
Size CalcWindowSizePixel (const Size &rItemSize, sal_uInt16 nCalcCols=0, sal_uInt16 nCalcLines=0) const
 
Size CalcItemSizePixel (const Size &rSize) const
 
int GetScrollWidth () const
 
void SetSelectHdl (const Link< SvtValueSet *, void > &rLink)
 
void SetDoubleClickHdl (const Link< SvtValueSet *, void > &rLink)
 
bool GetEdgeBlending () const
 
void SetEdgeBlending (bool bNew)
 
void SaveValue ()
 
bool IsValueChangedFromSaved () const
 

Private Attributes

NumberingPageType ePageType
 
tools::Rectangle aOrgRect
 
VclPtr< VirtualDevicepVDev
 
css::uno::Reference< css::text::XNumberingFormatter > xFormatter
 
css::lang::Locale aLocale
 
css::uno::Sequence< css::uno::Sequence< css::beans::PropertyValue > > aNumSettings
 
css::uno::Sequence< css::uno::Reference< css::container::XIndexAccess > > aOutlineSettings
 

Additional Inherited Members

- Protected Member Functions inherited from SvtValueSet
virtual css::uno::Reference< css::accessibility::XAccessible > CreateAccessible () override
 
weld::ScrolledWindowGetScrollBar () const
 

Detailed Description

Definition at line 49 of file numvset.hxx.

Constructor & Destructor Documentation

SvxNumValueSet::SvxNumValueSet ( std::unique_ptr< weld::ScrolledWindow pScrolledWindow)

Definition at line 394 of file svxbmpnumvalueset.cxx.

References BULLET.

SvxNumValueSet::~SvxNumValueSet ( )
overridevirtual

Definition at line 419 of file svxbmpnumvalueset.cxx.

Member Function Documentation

void SvxNumValueSet::init ( NumberingPageType  eType)
void SvxNumValueSet::SetNumberingSettings ( const css::uno::Sequence< css::uno::Sequence< css::beans::PropertyValue > > &  aNum,
css::uno::Reference< css::text::XNumberingFormatter > const &  xFormatter,
const css::lang::Locale &  rLocale 
)
void SvxNumValueSet::SetOutlineNumberingSettings ( css::uno::Sequence< css::uno::Reference< css::container::XIndexAccess > > const &  rOutline,
css::uno::Reference< css::text::XNumberingFormatter > const &  xFormatter,
const css::lang::Locale &  rLocale 
)
void SvxNumValueSet::UserDraw ( const UserDrawEvent rUDEvt)
overridevirtual

Member Data Documentation

css::lang::Locale SvxNumValueSet::aLocale
private

Definition at line 56 of file numvset.hxx.

Referenced by SetNumberingSettings(), and SetOutlineNumberingSettings().

css::uno::Sequence< css::uno::Sequence< css::beans::PropertyValue> > SvxNumValueSet::aNumSettings
private

Definition at line 60 of file numvset.hxx.

Referenced by SetNumberingSettings().

tools::Rectangle SvxNumValueSet::aOrgRect
private

Definition at line 52 of file numvset.hxx.

css::uno::Sequence< css::uno::Reference< css::container::XIndexAccess> > SvxNumValueSet::aOutlineSettings
private

Definition at line 64 of file numvset.hxx.

Referenced by SetOutlineNumberingSettings().

NumberingPageType SvxNumValueSet::ePageType
private

Definition at line 51 of file numvset.hxx.

Referenced by init().

VclPtr<VirtualDevice> SvxNumValueSet::pVDev
private

Definition at line 53 of file numvset.hxx.

Referenced by init().

css::uno::Reference<css::text::XNumberingFormatter> SvxNumValueSet::xFormatter
private

Definition at line 55 of file numvset.hxx.

Referenced by SetNumberingSettings(), and SetOutlineNumberingSettings().


The documentation for this class was generated from the following files: