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

#include <res_Trendline.hxx>

Collaboration diagram for chart::TrendlineResources:
[legend]

Public Member Functions

 TrendlineResources (weld::Builder &rParent, const SfxItemSet &rInAttrs)
 
 ~TrendlineResources ()
 
void Reset (const SfxItemSet &rInAttrs)
 
void FillItemSet (SfxItemSet *rOutAttrs) const
 
void FillValueSets ()
 
void SetNumFormatter (SvNumberFormatter *pFormatter)
 
void SetNbPoints (sal_Int32 nNbPoints)
 

Private Member Functions

void UpdateControlStates ()
 
 DECL_LINK (SelectTrendLine, weld::Toggleable &, void)
 
 DECL_LINK (ChangeSpinValue, weld::SpinButton &, void)
 
 DECL_LINK (ChangeFormattedValue, weld::FormattedSpinButton &, void)
 
 DECL_LINK (ShowEquation, weld::Toggleable &, void)
 

Private Attributes

SvxChartRegress m_eTrendLineType
 
bool m_bTrendLineUnique
 
SvNumberFormatterm_pNumFormatter
 
sal_Int32 m_nNbPoints
 
std::unique_ptr< weld::RadioButtonm_xRB_Linear
 
std::unique_ptr< weld::RadioButtonm_xRB_Logarithmic
 
std::unique_ptr< weld::RadioButtonm_xRB_Exponential
 
std::unique_ptr< weld::RadioButtonm_xRB_Power
 
std::unique_ptr< weld::RadioButtonm_xRB_Polynomial
 
std::unique_ptr< weld::RadioButtonm_xRB_MovingAverage
 
std::unique_ptr< weld::Imagem_xFI_Linear
 
std::unique_ptr< weld::Imagem_xFI_Logarithmic
 
std::unique_ptr< weld::Imagem_xFI_Exponential
 
std::unique_ptr< weld::Imagem_xFI_Power
 
std::unique_ptr< weld::Imagem_xFI_Polynomial
 
std::unique_ptr< weld::Imagem_xFI_MovingAverage
 
std::unique_ptr< weld::SpinButtonm_xNF_Degree
 
std::unique_ptr< weld::SpinButtonm_xNF_Period
 
std::unique_ptr< weld::Entrym_xEE_Name
 
std::unique_ptr< weld::FormattedSpinButtonm_xFmtFld_ExtrapolateForward
 
std::unique_ptr< weld::FormattedSpinButtonm_xFmtFld_ExtrapolateBackward
 
std::unique_ptr< weld::CheckButtonm_xCB_SetIntercept
 
std::unique_ptr< weld::FormattedSpinButtonm_xFmtFld_InterceptValue
 
std::unique_ptr< weld::CheckButtonm_xCB_ShowEquation
 
std::unique_ptr< weld::Entrym_xEE_XName
 
std::unique_ptr< weld::Entrym_xEE_YName
 
std::unique_ptr< weld::CheckButtonm_xCB_ShowCorrelationCoeff
 
std::unique_ptr< weld::ComboBoxm_xCB_RegressionMovingType
 

Detailed Description

Definition at line 40 of file res_Trendline.hxx.

Constructor & Destructor Documentation

◆ TrendlineResources()

chart::TrendlineResources::TrendlineResources ( weld::Builder rParent,
const SfxItemSet rInAttrs 
)

◆ ~TrendlineResources()

chart::TrendlineResources::~TrendlineResources ( )

Definition at line 105 of file res_Trendline.cxx.

Member Function Documentation

◆ DECL_LINK() [1/4]

chart::TrendlineResources::DECL_LINK ( ChangeFormattedValue  ,
weld::FormattedSpinButton ,
void   
)
private

◆ DECL_LINK() [2/4]

chart::TrendlineResources::DECL_LINK ( ChangeSpinValue  ,
weld::SpinButton ,
void   
)
private

◆ DECL_LINK() [3/4]

chart::TrendlineResources::DECL_LINK ( SelectTrendLine  ,
weld::Toggleable ,
void   
)
private

◆ DECL_LINK() [4/4]

chart::TrendlineResources::DECL_LINK ( ShowEquation  ,
weld::Toggleable ,
void   
)
private

◆ FillItemSet()

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

◆ FillValueSets()

void chart::TrendlineResources::FillValueSets ( )

◆ Reset()

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

◆ SetNbPoints()

void chart::TrendlineResources::SetNbPoints ( sal_Int32  nNbPoints)

Definition at line 421 of file res_Trendline.cxx.

References m_nNbPoints, and UpdateControlStates().

Referenced by chart::TrendlineTabPage::SetNbPoints().

◆ SetNumFormatter()

void chart::TrendlineResources::SetNumFormatter ( SvNumberFormatter pFormatter)

◆ UpdateControlStates()

void chart::TrendlineResources::UpdateControlStates ( )
private

Member Data Documentation

◆ m_bTrendLineUnique

bool chart::TrendlineResources::m_bTrendLineUnique
private

Definition at line 57 of file res_Trendline.hxx.

Referenced by FillItemSet(), and Reset().

◆ m_eTrendLineType

SvxChartRegress chart::TrendlineResources::m_eTrendLineType
private

Definition at line 55 of file res_Trendline.hxx.

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

◆ m_nNbPoints

sal_Int32 chart::TrendlineResources::m_nNbPoints
private

Definition at line 60 of file res_Trendline.hxx.

Referenced by SetNbPoints(), and UpdateControlStates().

◆ m_pNumFormatter

SvNumberFormatter* chart::TrendlineResources::m_pNumFormatter
private

Definition at line 59 of file res_Trendline.hxx.

Referenced by FillItemSet(), and SetNumFormatter().

◆ m_xCB_RegressionMovingType

std::unique_ptr<weld::ComboBox> chart::TrendlineResources::m_xCB_RegressionMovingType
private

Definition at line 87 of file res_Trendline.hxx.

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

◆ m_xCB_SetIntercept

std::unique_ptr<weld::CheckButton> chart::TrendlineResources::m_xCB_SetIntercept
private

Definition at line 81 of file res_Trendline.hxx.

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

◆ m_xCB_ShowCorrelationCoeff

std::unique_ptr<weld::CheckButton> chart::TrendlineResources::m_xCB_ShowCorrelationCoeff
private

Definition at line 86 of file res_Trendline.hxx.

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

◆ m_xCB_ShowEquation

std::unique_ptr<weld::CheckButton> chart::TrendlineResources::m_xCB_ShowEquation
private

Definition at line 83 of file res_Trendline.hxx.

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

◆ m_xEE_Name

std::unique_ptr<weld::Entry> chart::TrendlineResources::m_xEE_Name
private

Definition at line 78 of file res_Trendline.hxx.

Referenced by FillItemSet(), and Reset().

◆ m_xEE_XName

std::unique_ptr<weld::Entry> chart::TrendlineResources::m_xEE_XName
private

Definition at line 84 of file res_Trendline.hxx.

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

◆ m_xEE_YName

std::unique_ptr<weld::Entry> chart::TrendlineResources::m_xEE_YName
private

Definition at line 85 of file res_Trendline.hxx.

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

◆ m_xFI_Exponential

std::unique_ptr<weld::Image> chart::TrendlineResources::m_xFI_Exponential
private

Definition at line 71 of file res_Trendline.hxx.

Referenced by FillValueSets().

◆ m_xFI_Linear

std::unique_ptr<weld::Image> chart::TrendlineResources::m_xFI_Linear
private

Definition at line 69 of file res_Trendline.hxx.

Referenced by FillValueSets().

◆ m_xFI_Logarithmic

std::unique_ptr<weld::Image> chart::TrendlineResources::m_xFI_Logarithmic
private

Definition at line 70 of file res_Trendline.hxx.

Referenced by FillValueSets().

◆ m_xFI_MovingAverage

std::unique_ptr<weld::Image> chart::TrendlineResources::m_xFI_MovingAverage
private

Definition at line 74 of file res_Trendline.hxx.

Referenced by FillValueSets().

◆ m_xFI_Polynomial

std::unique_ptr<weld::Image> chart::TrendlineResources::m_xFI_Polynomial
private

Definition at line 73 of file res_Trendline.hxx.

Referenced by FillValueSets().

◆ m_xFI_Power

std::unique_ptr<weld::Image> chart::TrendlineResources::m_xFI_Power
private

Definition at line 72 of file res_Trendline.hxx.

Referenced by FillValueSets().

◆ m_xFmtFld_ExtrapolateBackward

std::unique_ptr<weld::FormattedSpinButton> chart::TrendlineResources::m_xFmtFld_ExtrapolateBackward
private

◆ m_xFmtFld_ExtrapolateForward

std::unique_ptr<weld::FormattedSpinButton> chart::TrendlineResources::m_xFmtFld_ExtrapolateForward
private

◆ m_xFmtFld_InterceptValue

std::unique_ptr<weld::FormattedSpinButton> chart::TrendlineResources::m_xFmtFld_InterceptValue
private

◆ m_xNF_Degree

std::unique_ptr<weld::SpinButton> chart::TrendlineResources::m_xNF_Degree
private

Definition at line 76 of file res_Trendline.hxx.

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

◆ m_xNF_Period

std::unique_ptr<weld::SpinButton> chart::TrendlineResources::m_xNF_Period
private

Definition at line 77 of file res_Trendline.hxx.

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

◆ m_xRB_Exponential

std::unique_ptr<weld::RadioButton> chart::TrendlineResources::m_xRB_Exponential
private

Definition at line 64 of file res_Trendline.hxx.

Referenced by Reset(), and TrendlineResources().

◆ m_xRB_Linear

std::unique_ptr<weld::RadioButton> chart::TrendlineResources::m_xRB_Linear
private

Definition at line 62 of file res_Trendline.hxx.

Referenced by Reset(), and TrendlineResources().

◆ m_xRB_Logarithmic

std::unique_ptr<weld::RadioButton> chart::TrendlineResources::m_xRB_Logarithmic
private

Definition at line 63 of file res_Trendline.hxx.

Referenced by Reset(), and TrendlineResources().

◆ m_xRB_MovingAverage

std::unique_ptr<weld::RadioButton> chart::TrendlineResources::m_xRB_MovingAverage
private

Definition at line 67 of file res_Trendline.hxx.

Referenced by Reset(), and TrendlineResources().

◆ m_xRB_Polynomial

std::unique_ptr<weld::RadioButton> chart::TrendlineResources::m_xRB_Polynomial
private

Definition at line 66 of file res_Trendline.hxx.

Referenced by Reset(), and TrendlineResources().

◆ m_xRB_Power

std::unique_ptr<weld::RadioButton> chart::TrendlineResources::m_xRB_Power
private

Definition at line 65 of file res_Trendline.hxx.

Referenced by Reset(), and TrendlineResources().


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