LibreOffice Module chart2 (master) 1
Public Member Functions | Static Public Member Functions | Private Attributes | List of all members
chart::ChartItemPool Class Reference

#include <ChartItemPool.hxx>

Inheritance diagram for chart::ChartItemPool:
[legend]
Collaboration diagram for chart::ChartItemPool:
[legend]

Public Member Functions

 ChartItemPool ()
 
 ChartItemPool (const ChartItemPool &rPool)
 
virtual ~ChartItemPool () override
 
virtual rtl::Reference< SfxItemPoolClone () const override
 
MapUnit GetMetric (sal_uInt16 nWhich) const override
 
- Public Member Functions inherited from SfxItemPool
void FillItemIdRanges_Impl (WhichRangesContainer &pWhichRanges) const
 
const WhichRangesContainerGetFrozenIdRanges () const
 
 SfxItemPool (const SfxItemPool &rPool, bool bCloneStaticDefaults=false)
 
 SfxItemPool (const OUString &rName, sal_uInt16 nStart, sal_uInt16 nEnd, const SfxItemInfo *pItemInfos, std::vector< SfxPoolItem * > *pDefaults=nullptr)
 
virtual ~SfxItemPool ()
 
SfxBroadcasterBC ()
 
void SetPoolDefaultItem (const SfxPoolItem &)
 
const SfxPoolItemGetPoolDefaultItem (sal_uInt16 nWhich) const
 
const T * GetPoolDefaultItem (TypedWhichId< T > nWhich) const
 
void ResetPoolDefaultItem (sal_uInt16 nWhich)
 
void SetDefaults (std::vector< SfxPoolItem * > *pDefaults)
 
void ClearDefaults ()
 
void ReleaseDefaults (bool bDelete=false)
 
virtual MapUnit GetMetric (sal_uInt16 nWhich) const
 
void SetDefaultMetric (MapUnit eNewMetric)
 
MapUnit GetDefaultMetric () const
 
virtual bool GetPresentation (const SfxPoolItem &rItem, MapUnit ePresentationMetric, OUString &rText, const IntlWrapper &rIntlWrapper) const
 
virtual rtl::Reference< SfxItemPoolClone () const
 
const OUString & GetName () const
 
const T & Put (std::unique_ptr< T > xItem, sal_uInt16 nWhich=0)
 
const T & Put (const T &rItem, sal_uInt16 nWhich=0)
 
void Remove (const SfxPoolItem &)
 
const SfxPoolItemGetDefaultItem (sal_uInt16 nWhich) const
 
const T & GetDefaultItem (TypedWhichId< T > nWhich) const
 
bool CheckItemInPool (const SfxPoolItem *) const
 
const SfxPoolItemGetItem2Default (sal_uInt16 nWhich) const
 
const T * GetItem2Default (TypedWhichId< T > nWhich) const
 
sal_uInt32 GetItemCount2 (sal_uInt16 nWhich) const
 
Item2Range GetItemSurrogates (sal_uInt16 nWhich) const
 
std::vector< const SfxPoolItem * > FindItemSurrogate (sal_uInt16 nWhich, SfxPoolItem const &rNeedle) const
 
sal_uInt16 GetFirstWhich () const
 
sal_uInt16 GetLastWhich () const
 
bool IsInRange (sal_uInt16 nWhich) const
 
void SetSecondaryPool (SfxItemPool *pPool)
 
SfxItemPoolGetSecondaryPool () const
 
SfxItemPoolGetLastPoolInChain ()
 
SfxItemPoolGetMasterPool () const
 
void FreezeIdRanges ()
 
void Delete ()
 
bool IsItemPoolable (sal_uInt16 nWhich) const
 
bool IsItemPoolable (const SfxPoolItem &rItem) const
 
void SetItemInfos (const SfxItemInfo *pInfos)
 
sal_uInt16 GetWhich (sal_uInt16 nSlot, bool bDeep=true) const
 
TypedWhichId< T > GetWhich (TypedWhichId< T > nSlot, bool bDeep=true) const
 
sal_uInt16 GetSlotId (sal_uInt16 nWhich) const
 
sal_uInt16 GetTrueWhich (sal_uInt16 nSlot, bool bDeep=true) const
 
sal_uInt16 GetTrueSlotId (sal_uInt16 nWhich) const
 
void dumpAsXml (xmlTextWriterPtr pWriter) const
 

Static Public Member Functions

static rtl::Reference< SfxItemPoolCreateChartItemPool ()
 creates a pure chart item pool More...
 
- Static Public Member Functions inherited from SfxItemPool
static void ReleaseDefaults (std::vector< SfxPoolItem * > *pDefaults, bool bDelete=false)
 
static bool IsWhich (sal_uInt16 nId)
 
static bool IsSlot (sal_uInt16 nId)
 

Private Attributes

std::unique_ptr< SfxItemInfo[]> pItemInfos
 

Additional Inherited Members

- Protected Member Functions inherited from SfxItemPool
virtual const SfxPoolItemPutImpl (const SfxPoolItem &, sal_uInt16 nWhich=0, bool bPassingOwnership=false)
 
- Static Protected Member Functions inherited from SfxItemPool
static void ClearRefCount (SfxPoolItem &rItem)
 
static void AddRef (const SfxPoolItem &rItem)
 
static sal_uInt32 ReleaseRef (const SfxPoolItem &rItem, sal_uInt32 n=1)
 

Detailed Description

Definition at line 27 of file ChartItemPool.hxx.

Constructor & Destructor Documentation

◆ ChartItemPool() [1/2]

chart::ChartItemPool::ChartItemPool ( )

Definition at line 50 of file ChartItemPool.cxx.

References CHART_AXIS_REALNUMBER, CHAXIS_MARK_OUTER, i, pItemInfos, SCHATTR_AVAILABLE_MISSING_VALUE_TREATMENTS(), SCHATTR_AXIS(), SCHATTR_AXIS_ALLOW_DATEAXIS(), SCHATTR_AXIS_AUTO_DATEAXIS(), SCHATTR_AXIS_AUTO_MAX(), SCHATTR_AXIS_AUTO_MIN(), SCHATTR_AXIS_AUTO_ORIGIN(), SCHATTR_AXIS_AUTO_STEP_HELP(), SCHATTR_AXIS_AUTO_STEP_MAIN(), SCHATTR_AXIS_AUTO_TIME_RESOLUTION(), SCHATTR_AXIS_CROSSING_MAIN_AXIS_NUMBERFORMAT(), SCHATTR_AXIS_FOR_ALL_SERIES(), SCHATTR_AXIS_HELP_TIME_UNIT(), SCHATTR_AXIS_HELPTICKS(), SCHATTR_AXIS_LABEL_BREAK(), SCHATTR_AXIS_LABEL_ORDER(), SCHATTR_AXIS_LABEL_OVERLAP(), SCHATTR_AXIS_LABEL_POSITION(), SCHATTR_AXIS_LOGARITHM(), SCHATTR_AXIS_MAIN_TIME_UNIT(), SCHATTR_AXIS_MARK_POSITION(), SCHATTR_AXIS_MAX(), SCHATTR_AXIS_MIN(), SCHATTR_AXIS_ORIGIN(), SCHATTR_AXIS_POSITION(), SCHATTR_AXIS_POSITION_VALUE(), SCHATTR_AXIS_REVERSE(), SCHATTR_AXIS_SHIFTED_CATEGORY_POSITION(), SCHATTR_AXIS_SHOWDESCR(), SCHATTR_AXIS_STEP_HELP(), SCHATTR_AXIS_STEP_MAIN(), SCHATTR_AXIS_TICKS(), SCHATTR_AXIS_TIME_RESOLUTION(), SCHATTR_AXISTYPE(), SCHATTR_BAR_CONNECT(), SCHATTR_BAR_GAPWIDTH(), SCHATTR_BAR_OVERLAP(), SCHATTR_CLOCKWISE(), SCHATTR_DATA_TABLE_HORIZONTAL_BORDER(), SCHATTR_DATA_TABLE_KEYS(), SCHATTR_DATA_TABLE_OUTLINE(), SCHATTR_DATA_TABLE_VERTICAL_BORDER(), SCHATTR_DATADESCR_AVAILABLE_PLACEMENTS(), SCHATTR_DATADESCR_CUSTOM_LEADER_LINES(), SCHATTR_DATADESCR_NO_PERCENTVALUE(), SCHATTR_DATADESCR_PLACEMENT(), SCHATTR_DATADESCR_SEPARATOR(), SCHATTR_DATADESCR_SHOW_CATEGORY(), SCHATTR_DATADESCR_SHOW_DATA_SERIES_NAME(), SCHATTR_DATADESCR_SHOW_NUMBER(), SCHATTR_DATADESCR_SHOW_PERCENTAGE(), SCHATTR_DATADESCR_SHOW_SYMBOL(), SCHATTR_DATADESCR_WRAP_TEXT(), SCHATTR_END(), SCHATTR_GROUP_BARS_PER_AXIS(), SCHATTR_HIDE_DATA_POINT_LEGEND_ENTRY(), SCHATTR_HIDE_LEGEND_ENTRY(), SCHATTR_INCLUDE_HIDDEN_CELLS(), SCHATTR_LEGEND_NO_OVERLAY(), SCHATTR_LEGEND_POS(), SCHATTR_LEGEND_SHOW(), SCHATTR_MISSING_VALUE_TREATMENT(), SCHATTR_NUM_OF_LINES_FOR_BAR(), SCHATTR_PERCENT_NUMBERFORMAT_SOURCE(), SCHATTR_PERCENT_NUMBERFORMAT_VALUE(), SCHATTR_REGRESSION_CURVE_NAME(), SCHATTR_REGRESSION_DEGREE(), SCHATTR_REGRESSION_EXTRAPOLATE_BACKWARD(), SCHATTR_REGRESSION_EXTRAPOLATE_FORWARD(), SCHATTR_REGRESSION_INTERCEPT_VALUE(), SCHATTR_REGRESSION_MOVING_TYPE(), SCHATTR_REGRESSION_PERIOD(), SCHATTR_REGRESSION_SET_INTERCEPT(), SCHATTR_REGRESSION_SHOW_COEFF(), SCHATTR_REGRESSION_SHOW_EQUATION(), SCHATTR_REGRESSION_TYPE(), SCHATTR_REGRESSION_XNAME(), SCHATTR_REGRESSION_YNAME(), SCHATTR_SPLINE_ORDER(), SCHATTR_SPLINE_RESOLUTION(), SCHATTR_START, SCHATTR_STARTING_ANGLE(), SCHATTR_STAT_AVERAGE(), SCHATTR_STAT_BIGERROR(), SCHATTR_STAT_CONSTMINUS(), SCHATTR_STAT_CONSTPLUS(), SCHATTR_STAT_ERRORBAR_TYPE(), SCHATTR_STAT_INDICATE(), SCHATTR_STAT_KIND_ERROR(), SCHATTR_STAT_PERCENT(), SCHATTR_STAT_RANGE_NEG(), SCHATTR_STAT_RANGE_POS(), SCHATTR_STOCK_UPDOWN(), SCHATTR_STOCK_VOLUME(), SCHATTR_STYLE_3D(), SCHATTR_STYLE_BASETYPE(), SCHATTR_STYLE_DEEP(), SCHATTR_STYLE_LINES(), SCHATTR_STYLE_PERCENT(), SCHATTR_STYLE_SHAPE(), SCHATTR_STYLE_SPLINES(), SCHATTR_STYLE_STACKED(), SCHATTR_STYLE_SYMBOL(), SCHATTR_STYLE_VERTICAL(), SCHATTR_SYMBOL_BRUSH(), SCHATTR_SYMBOL_SIZE(), SCHATTR_TEXT_DEGREES(), SCHATTR_TEXT_STACKED(), SfxItemPool::SetDefaults(), and SfxItemPool::SetItemInfos().

Referenced by Clone(), and CreateChartItemPool().

◆ ChartItemPool() [2/2]

chart::ChartItemPool::ChartItemPool ( const ChartItemPool rPool)

Definition at line 206 of file ChartItemPool.cxx.

◆ ~ChartItemPool()

chart::ChartItemPool::~ChartItemPool ( )
overridevirtual

Definition at line 211 of file ChartItemPool.cxx.

References SfxItemPool::Delete(), and SfxItemPool::ReleaseDefaults().

Member Function Documentation

◆ Clone()

rtl::Reference< SfxItemPool > chart::ChartItemPool::Clone ( ) const
overridevirtual

Reimplemented from SfxItemPool.

Definition at line 218 of file ChartItemPool.cxx.

References ChartItemPool().

◆ CreateChartItemPool()

rtl::Reference< SfxItemPool > chart::ChartItemPool::CreateChartItemPool ( )
static

◆ GetMetric()

MapUnit chart::ChartItemPool::GetMetric ( sal_uInt16  nWhich) const
overridevirtual

Reimplemented from SfxItemPool.

Definition at line 223 of file ChartItemPool.cxx.

Member Data Documentation

◆ pItemInfos

std::unique_ptr<SfxItemInfo[]> chart::ChartItemPool::pItemInfos
private

Definition at line 30 of file ChartItemPool.hxx.

Referenced by ChartItemPool().


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