LibreOffice Module chart2 (master) 1
Public Types | Public Member Functions | Private Member Functions | Private Attributes | List of all members
chart::ErrorBarResources Class Referencefinal

#include <res_ErrorBar.hxx>

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

Public Types

enum  tErrorBarType {
  ERROR_BAR_X ,
  ERROR_BAR_Y
}
 

Public Member Functions

 ErrorBarResources (weld::Builder *pParent, weld::DialogController *pControllerDialog, const SfxItemSet &rInAttrs, bool bNoneAvailable, chart::ErrorBarResources::tErrorBarType eType=ERROR_BAR_Y)
 
virtual ~ErrorBarResources ()
 
void SetAxisMinorStepWidthForErrorBarDecimals (double fMinorStepWidth)
 
void SetErrorBarType (tErrorBarType eNewType)
 
void SetChartDocumentForRangeChoosing (const rtl::Reference<::chart::ChartModel > &xChartDocument)
 
void Reset (const SfxItemSet &rInAttrs)
 
void FillItemSet (SfxItemSet &rOutAttrs) const
 
void FillValueSets ()
 
virtual void listeningFinished (const OUString &rNewRange) override
 
virtual void disposingRangeSelection () override
 
virtual void listeningFinished (const OUString &rNewRange)=0
 
virtual void disposingRangeSelection ()=0
 

Private Member Functions

 DECL_LINK (CategoryChosen, weld::Toggleable &, void)
 
 DECL_LINK (CategoryChosen2, weld::ComboBox &, void)
 
 DECL_LINK (SynchronizePosAndNeg, weld::Toggleable &, void)
 
 DECL_LINK (PosValueChanged, weld::MetricSpinButton &, void)
 
 DECL_LINK (IndicatorChanged, weld::Toggleable &, void)
 
 DECL_LINK (ChooseRange, weld::Button &, void)
 
 DECL_LINK (RangeChanged, weld::Entry &, void)
 
void UpdateControlStates ()
 
void isRangeFieldContentValid (weld::Entry &rEdit)
 

Private Attributes

SvxChartKindError m_eErrorKind
 
SvxChartIndicate m_eIndicate
 
bool m_bErrorKindUnique
 
bool m_bIndicatorUnique
 
bool m_bRangePosUnique
 
bool m_bRangeNegUnique
 
tErrorBarType m_eErrorBarType
 
sal_uInt16 m_nConstDecimalDigits
 
sal_Int64 m_nConstSpinSize
 
double m_fPlusValue
 
double m_fMinusValue
 
weld::DialogControllerm_pController
 
std::unique_ptr< RangeSelectionHelperm_apRangeSelectionHelper
 
weld::Entrym_pCurrentRangeChoosingField
 
bool m_bHasInternalDataProvider
 
bool m_bEnableDataTableDialog
 
std::unique_ptr< weld::RadioButtonm_xRbNone
 
std::unique_ptr< weld::RadioButtonm_xRbConst
 
std::unique_ptr< weld::RadioButtonm_xRbPercent
 
std::unique_ptr< weld::RadioButtonm_xRbFunction
 
std::unique_ptr< weld::RadioButtonm_xRbRange
 
std::unique_ptr< weld::ComboBoxm_xLbFunction
 
std::unique_ptr< weld::Framem_xFlParameters
 
std::unique_ptr< weld::Widgetm_xBxPositive
 
std::unique_ptr< weld::MetricSpinButtonm_xMfPositive
 
std::unique_ptr< weld::Entrym_xEdRangePositive
 
std::unique_ptr< weld::Buttonm_xIbRangePositive
 
std::unique_ptr< weld::Widgetm_xBxNegative
 
std::unique_ptr< weld::MetricSpinButtonm_xMfNegative
 
std::unique_ptr< weld::Entrym_xEdRangeNegative
 
std::unique_ptr< weld::Buttonm_xIbRangeNegative
 
std::unique_ptr< weld::CheckButtonm_xCbSyncPosNeg
 
std::unique_ptr< weld::RadioButtonm_xRbBoth
 
std::unique_ptr< weld::RadioButtonm_xRbPositive
 
std::unique_ptr< weld::RadioButtonm_xRbNegative
 
std::unique_ptr< weld::Imagem_xFiBoth
 
std::unique_ptr< weld::Imagem_xFiPositive
 
std::unique_ptr< weld::Imagem_xFiNegative
 
std::unique_ptr< weld::Labelm_xUIStringPos
 
std::unique_ptr< weld::Labelm_xUIStringNeg
 
std::unique_ptr< weld::Labelm_xUIStringRbRange
 

Additional Inherited Members

- Protected Member Functions inherited from chart::RangeSelectionListenerParent
 ~RangeSelectionListenerParent ()
 

Detailed Description

Definition at line 48 of file res_ErrorBar.hxx.

Member Enumeration Documentation

◆ tErrorBarType

Enumerator
ERROR_BAR_X 
ERROR_BAR_Y 

Definition at line 51 of file res_ErrorBar.hxx.

Constructor & Destructor Documentation

◆ ErrorBarResources()

chart::ErrorBarResources::ErrorBarResources ( weld::Builder pParent,
weld::DialogController pControllerDialog,
const SfxItemSet rInAttrs,
bool  bNoneAvailable,
chart::ErrorBarResources::tErrorBarType  eType = ERROR_BAR_Y 
)

◆ ~ErrorBarResources()

chart::ErrorBarResources::~ErrorBarResources ( )
virtual

Definition at line 154 of file res_ErrorBar.cxx.

Member Function Documentation

◆ DECL_LINK() [1/7]

chart::ErrorBarResources::DECL_LINK ( CategoryChosen  ,
weld::Toggleable ,
void   
)
private

◆ DECL_LINK() [2/7]

chart::ErrorBarResources::DECL_LINK ( CategoryChosen2  ,
weld::ComboBox ,
void   
)
private

◆ DECL_LINK() [3/7]

chart::ErrorBarResources::DECL_LINK ( ChooseRange  ,
weld::Button ,
void   
)
private

◆ DECL_LINK() [4/7]

chart::ErrorBarResources::DECL_LINK ( IndicatorChanged  ,
weld::Toggleable ,
void   
)
private

◆ DECL_LINK() [5/7]

chart::ErrorBarResources::DECL_LINK ( PosValueChanged  ,
weld::MetricSpinButton ,
void   
)
private

◆ DECL_LINK() [6/7]

chart::ErrorBarResources::DECL_LINK ( RangeChanged  ,
weld::Entry ,
void   
)
private

◆ DECL_LINK() [7/7]

chart::ErrorBarResources::DECL_LINK ( SynchronizePosAndNeg  ,
weld::Toggleable ,
void   
)
private

◆ disposingRangeSelection()

void chart::ErrorBarResources::disposingRangeSelection ( )
overridevirtual

Implements chart::RangeSelectionListenerParent.

Definition at line 690 of file res_ErrorBar.cxx.

References m_apRangeSelectionHelper.

◆ FillItemSet()

void chart::ErrorBarResources::FillItemSet ( SfxItemSet rOutAttrs) const

◆ FillValueSets()

void chart::ErrorBarResources::FillValueSets ( )

◆ isRangeFieldContentValid()

void chart::ErrorBarResources::isRangeFieldContentValid ( weld::Entry rEdit)
private

◆ listeningFinished()

void chart::ErrorBarResources::listeningFinished ( const OUString &  rNewRange)
overridevirtual

◆ Reset()

void chart::ErrorBarResources::Reset ( const SfxItemSet rInAttrs)

◆ SetAxisMinorStepWidthForErrorBarDecimals()

void chart::ErrorBarResources::SetAxisMinorStepWidthForErrorBarDecimals ( double  fMinorStepWidth)

◆ SetChartDocumentForRangeChoosing()

void chart::ErrorBarResources::SetChartDocumentForRangeChoosing ( const rtl::Reference<::chart::ChartModel > &  xChartDocument)

◆ SetErrorBarType()

void chart::ErrorBarResources::SetErrorBarType ( tErrorBarType  eNewType)

Definition at line 158 of file res_ErrorBar.cxx.

References FillValueSets(), and m_eErrorBarType.

Referenced by chart::ErrorBarsTabPage::SetErrorBarType().

◆ UpdateControlStates()

void chart::ErrorBarResources::UpdateControlStates ( )
private

Member Data Documentation

◆ m_apRangeSelectionHelper

std::unique_ptr< RangeSelectionHelper > chart::ErrorBarResources::m_apRangeSelectionHelper
private

◆ m_bEnableDataTableDialog

bool chart::ErrorBarResources::m_bEnableDataTableDialog
private

Definition at line 93 of file res_ErrorBar.hxx.

Referenced by SetChartDocumentForRangeChoosing(), and UpdateControlStates().

◆ m_bErrorKindUnique

bool chart::ErrorBarResources::m_bErrorKindUnique
private

Definition at line 78 of file res_ErrorBar.hxx.

Referenced by FillItemSet(), and Reset().

◆ m_bHasInternalDataProvider

bool chart::ErrorBarResources::m_bHasInternalDataProvider
private

◆ m_bIndicatorUnique

bool chart::ErrorBarResources::m_bIndicatorUnique
private

Definition at line 79 of file res_ErrorBar.hxx.

Referenced by FillItemSet(), and Reset().

◆ m_bRangeNegUnique

bool chart::ErrorBarResources::m_bRangeNegUnique
private

Definition at line 81 of file res_ErrorBar.hxx.

Referenced by FillItemSet(), and Reset().

◆ m_bRangePosUnique

bool chart::ErrorBarResources::m_bRangePosUnique
private

Definition at line 80 of file res_ErrorBar.hxx.

Referenced by FillItemSet(), and Reset().

◆ m_eErrorBarType

tErrorBarType chart::ErrorBarResources::m_eErrorBarType
private

Definition at line 83 of file res_ErrorBar.hxx.

Referenced by FillItemSet(), FillValueSets(), and SetErrorBarType().

◆ m_eErrorKind

SvxChartKindError chart::ErrorBarResources::m_eErrorKind
private

Definition at line 75 of file res_ErrorBar.hxx.

Referenced by FillItemSet(), and Reset().

◆ m_eIndicate

SvxChartIndicate chart::ErrorBarResources::m_eIndicate
private

Definition at line 76 of file res_ErrorBar.hxx.

Referenced by FillItemSet(), and Reset().

◆ m_fMinusValue

double chart::ErrorBarResources::m_fMinusValue
private

Definition at line 87 of file res_ErrorBar.hxx.

Referenced by Reset(), and UpdateControlStates().

◆ m_fPlusValue

double chart::ErrorBarResources::m_fPlusValue
private

Definition at line 86 of file res_ErrorBar.hxx.

Referenced by Reset(), and UpdateControlStates().

◆ m_nConstDecimalDigits

sal_uInt16 chart::ErrorBarResources::m_nConstDecimalDigits
private

◆ m_nConstSpinSize

sal_Int64 chart::ErrorBarResources::m_nConstSpinSize
private

◆ m_pController

weld::DialogController* chart::ErrorBarResources::m_pController
private

Definition at line 89 of file res_ErrorBar.hxx.

Referenced by listeningFinished().

◆ m_pCurrentRangeChoosingField

weld::Entry* chart::ErrorBarResources::m_pCurrentRangeChoosingField
private

Definition at line 91 of file res_ErrorBar.hxx.

Referenced by listeningFinished().

◆ m_xBxNegative

std::unique_ptr<weld::Widget> chart::ErrorBarResources::m_xBxNegative
private

Definition at line 110 of file res_ErrorBar.hxx.

Referenced by UpdateControlStates().

◆ m_xBxPositive

std::unique_ptr<weld::Widget> chart::ErrorBarResources::m_xBxPositive
private

Definition at line 106 of file res_ErrorBar.hxx.

Referenced by UpdateControlStates().

◆ m_xCbSyncPosNeg

std::unique_ptr<weld::CheckButton> chart::ErrorBarResources::m_xCbSyncPosNeg
private

Definition at line 114 of file res_ErrorBar.hxx.

Referenced by ErrorBarResources(), FillItemSet(), Reset(), and UpdateControlStates().

◆ m_xEdRangeNegative

std::unique_ptr<weld::Entry> chart::ErrorBarResources::m_xEdRangeNegative
private

◆ m_xEdRangePositive

std::unique_ptr<weld::Entry> chart::ErrorBarResources::m_xEdRangePositive
private

◆ m_xFiBoth

std::unique_ptr<weld::Image> chart::ErrorBarResources::m_xFiBoth
private

Definition at line 120 of file res_ErrorBar.hxx.

Referenced by FillValueSets().

◆ m_xFiNegative

std::unique_ptr<weld::Image> chart::ErrorBarResources::m_xFiNegative
private

Definition at line 122 of file res_ErrorBar.hxx.

Referenced by FillValueSets().

◆ m_xFiPositive

std::unique_ptr<weld::Image> chart::ErrorBarResources::m_xFiPositive
private

Definition at line 121 of file res_ErrorBar.hxx.

Referenced by FillValueSets().

◆ m_xFlParameters

std::unique_ptr<weld::Frame> chart::ErrorBarResources::m_xFlParameters
private

Definition at line 105 of file res_ErrorBar.hxx.

Referenced by UpdateControlStates().

◆ m_xIbRangeNegative

std::unique_ptr<weld::Button> chart::ErrorBarResources::m_xIbRangeNegative
private

Definition at line 113 of file res_ErrorBar.hxx.

Referenced by ErrorBarResources(), and UpdateControlStates().

◆ m_xIbRangePositive

std::unique_ptr<weld::Button> chart::ErrorBarResources::m_xIbRangePositive
private

Definition at line 109 of file res_ErrorBar.hxx.

Referenced by ErrorBarResources(), and UpdateControlStates().

◆ m_xLbFunction

std::unique_ptr<weld::ComboBox> chart::ErrorBarResources::m_xLbFunction
private

Definition at line 102 of file res_ErrorBar.hxx.

Referenced by ErrorBarResources(), Reset(), and UpdateControlStates().

◆ m_xMfNegative

std::unique_ptr<weld::MetricSpinButton> chart::ErrorBarResources::m_xMfNegative
private

Definition at line 111 of file res_ErrorBar.hxx.

Referenced by FillItemSet(), and UpdateControlStates().

◆ m_xMfPositive

std::unique_ptr<weld::MetricSpinButton> chart::ErrorBarResources::m_xMfPositive
private

◆ m_xRbBoth

std::unique_ptr<weld::RadioButton> chart::ErrorBarResources::m_xRbBoth
private

Definition at line 117 of file res_ErrorBar.hxx.

Referenced by ErrorBarResources(), Reset(), and UpdateControlStates().

◆ m_xRbConst

std::unique_ptr<weld::RadioButton> chart::ErrorBarResources::m_xRbConst
private

Definition at line 98 of file res_ErrorBar.hxx.

Referenced by ErrorBarResources(), and Reset().

◆ m_xRbFunction

std::unique_ptr<weld::RadioButton> chart::ErrorBarResources::m_xRbFunction
private

Definition at line 100 of file res_ErrorBar.hxx.

Referenced by ErrorBarResources(), Reset(), and UpdateControlStates().

◆ m_xRbNegative

std::unique_ptr<weld::RadioButton> chart::ErrorBarResources::m_xRbNegative
private

Definition at line 119 of file res_ErrorBar.hxx.

Referenced by ErrorBarResources(), Reset(), and UpdateControlStates().

◆ m_xRbNone

std::unique_ptr<weld::RadioButton> chart::ErrorBarResources::m_xRbNone
private

Definition at line 97 of file res_ErrorBar.hxx.

Referenced by ErrorBarResources(), and Reset().

◆ m_xRbPercent

std::unique_ptr<weld::RadioButton> chart::ErrorBarResources::m_xRbPercent
private

Definition at line 99 of file res_ErrorBar.hxx.

Referenced by ErrorBarResources(), Reset(), and UpdateControlStates().

◆ m_xRbPositive

std::unique_ptr<weld::RadioButton> chart::ErrorBarResources::m_xRbPositive
private

Definition at line 118 of file res_ErrorBar.hxx.

Referenced by ErrorBarResources(), Reset(), and UpdateControlStates().

◆ m_xRbRange

std::unique_ptr<weld::RadioButton> chart::ErrorBarResources::m_xRbRange
private

◆ m_xUIStringNeg

std::unique_ptr<weld::Label> chart::ErrorBarResources::m_xUIStringNeg
private

Definition at line 125 of file res_ErrorBar.hxx.

◆ m_xUIStringPos

std::unique_ptr<weld::Label> chart::ErrorBarResources::m_xUIStringPos
private

Definition at line 124 of file res_ErrorBar.hxx.

◆ m_xUIStringRbRange

std::unique_ptr<weld::Label> chart::ErrorBarResources::m_xUIStringRbRange
private

Definition at line 126 of file res_ErrorBar.hxx.

Referenced by SetChartDocumentForRangeChoosing().


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