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

#include <DateScaling.hxx>

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

Public Member Functions

 DateScaling (const Date &rNullDate, sal_Int32 nTimeUnit, bool bShifted)
 
virtual ~DateScaling () 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 30 of file DateScaling.hxx.

Constructor & Destructor Documentation

◆ DateScaling()

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

Definition at line 45 of file DateScaling.cxx.

◆ ~DateScaling()

chart::DateScaling::~DateScaling ( )
overridevirtual

Definition at line 52 of file DateScaling.cxx.

Member Function Documentation

◆ doScaling()

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

◆ getImplementationName()

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

declare XServiceInfo methods

Definition at line 105 of file DateScaling.cxx.

◆ getInverseScaling()

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

Definition at line 95 of file DateScaling.cxx.

References m_aNullDate, m_bShifted, and m_nTimeUnit.

◆ getServiceName()

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

Definition at line 100 of file DateScaling.cxx.

◆ getSupportedServiceNames()

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

Definition at line 115 of file DateScaling.cxx.

◆ supportsService()

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

Definition at line 110 of file DateScaling.cxx.

References cppu::supportsService().

Member Data Documentation

◆ m_aNullDate

const Date chart::DateScaling::m_aNullDate
private

Definition at line 57 of file DateScaling.hxx.

Referenced by doScaling(), and getInverseScaling().

◆ m_bShifted

const bool chart::DateScaling::m_bShifted
private

Definition at line 59 of file DateScaling.hxx.

Referenced by doScaling(), and getInverseScaling().

◆ m_nTimeUnit

const sal_Int32 chart::DateScaling::m_nTimeUnit
private

Definition at line 58 of file DateScaling.hxx.

Referenced by doScaling(), and getInverseScaling().


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