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

#include <DateScaling.hxx>

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

Public Member Functions

 InverseDateScaling (const Date &rNullDate, sal_Int32 nTimeUnit, bool bShifted)
 
virtual ~InverseDateScaling () override
 
virtual OUString SAL_CALL getImplementationName () override
 declare XServiceInfo methods More...
 
virtual sal_Bool SAL_CALL supportsService (const OUString &ServiceName) override
 
virtual css::uno::Sequence< OUString > SAL_CALL getSupportedServiceNames () override
 
virtual double SAL_CALL doScaling (double value) override
 
virtual css::uno::Reference< css::chart2::XScaling > SAL_CALL getInverseScaling () override
 
virtual OUString SAL_CALL getServiceName () override
 

Private Attributes

const Date m_aNullDate
 
const sal_Int32 m_nTimeUnit
 
const bool m_bShifted
 

Detailed Description

Definition at line 62 of file DateScaling.hxx.

Constructor & Destructor Documentation

◆ InverseDateScaling()

chart::InverseDateScaling::InverseDateScaling ( const Date rNullDate,
sal_Int32  nTimeUnit,
bool  bShifted 
)

Definition at line 120 of file DateScaling.cxx.

◆ ~InverseDateScaling()

chart::InverseDateScaling::~InverseDateScaling ( )
overridevirtual

Definition at line 127 of file DateScaling.cxx.

Member Function Documentation

◆ doScaling()

double SAL_CALL chart::InverseDateScaling::doScaling ( double  value)
overridevirtual

◆ getImplementationName()

OUString SAL_CALL chart::InverseDateScaling::getImplementationName ( )
overridevirtual

declare XServiceInfo methods

Definition at line 188 of file DateScaling.cxx.

◆ getInverseScaling()

uno::Reference< XScaling > SAL_CALL chart::InverseDateScaling::getInverseScaling ( )
overridevirtual

Definition at line 178 of file DateScaling.cxx.

References m_aNullDate, m_bShifted, and m_nTimeUnit.

◆ getServiceName()

OUString SAL_CALL chart::InverseDateScaling::getServiceName ( )
overridevirtual

Definition at line 183 of file DateScaling.cxx.

◆ getSupportedServiceNames()

css::uno::Sequence< OUString > SAL_CALL chart::InverseDateScaling::getSupportedServiceNames ( )
overridevirtual

Definition at line 198 of file DateScaling.cxx.

◆ supportsService()

sal_Bool SAL_CALL chart::InverseDateScaling::supportsService ( const OUString &  ServiceName)
overridevirtual

Definition at line 193 of file DateScaling.cxx.

References cppu::supportsService().

Member Data Documentation

◆ m_aNullDate

const Date chart::InverseDateScaling::m_aNullDate
private

Definition at line 88 of file DateScaling.hxx.

Referenced by doScaling(), and getInverseScaling().

◆ m_bShifted

const bool chart::InverseDateScaling::m_bShifted
private

Definition at line 90 of file DateScaling.hxx.

Referenced by doScaling(), and getInverseScaling().

◆ m_nTimeUnit

const sal_Int32 chart::InverseDateScaling::m_nTimeUnit
private

Definition at line 89 of file DateScaling.hxx.

Referenced by doScaling(), and getInverseScaling().


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