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

#include <VAxisProperties.hxx>

Collaboration diagram for chart::AxisProperties:
[legend]

Public Member Functions

 AxisProperties (rtl::Reference<::chart::Axis > xAxisModel, ExplicitCategoriesProvider *pExplicitCategoriesProvider, rtl::Reference<::chart::DataTable > const &xDataTableModel)
 
void init (bool bCartesian=false)
 
void initAxisPositioning (const css::uno::Reference< css::beans::XPropertySet > &xAxisProp)
 
TickmarkProperties makeTickmarkPropertiesForComplexCategories (sal_Int32 nTickLength, sal_Int32 nTickStartDistanceToAxis) const
 

Static Public Member Functions

static TickmarkProperties getBiggestTickmarkProperties ()
 

Public Attributes

rtl::Reference<::chart::Axism_xAxisModel
 
sal_Int32 m_nDimensionIndex
 
bool m_bIsMainAxis
 
bool m_bSwapXAndY
 
css::chart::ChartAxisPosition m_eCrossoverType
 
css::chart::ChartAxisLabelPosition m_eLabelPos
 
css::chart::ChartAxisMarkPosition m_eTickmarkPos
 
std::optional< double > m_pfMainLinePositionAtOtherAxis
 
std::optional< double > m_pfExrtaLinePositionAtOtherAxis
 
bool m_bCrossingAxisHasReverseDirection
 
bool m_bCrossingAxisIsCategoryAxes
 
AxisLabelAlignment maLabelAlignment
 
bool m_bDisplayDataTable
 
bool m_bDataTableAlignAxisValuesWithColumns
 
bool m_bDisplayLabels
 
bool m_bTryStaggeringFirst
 
sal_Int32 m_nNumberFormatKey
 
sal_Int32 m_nMajorTickmarks
 
sal_Int32 m_nMinorTickmarks
 
std::vector< TickmarkPropertiesm_aTickmarkPropertiesList
 
VLineProperties m_aLineProperties
 
sal_Int32 m_nAxisType
 
bool m_bComplexCategories
 
ExplicitCategoriesProviderm_pExplicitCategoriesProvider
 
css::uno::Reference< css::chart2::data::XTextualDataSequence > m_xAxisTextProvider
 
bool m_bLimitSpaceForLabels
 
rtl::Reference<::chart::DataTablem_xDataTableModel
 

Private Member Functions

 AxisProperties ()=delete
 
TickmarkProperties makeTickmarkProperties (sal_Int32 nDepth) const
 
const VLinePropertiesmakeLinePropertiesForDepth () const
 

Detailed Description

Definition at line 94 of file VAxisProperties.hxx.

Constructor & Destructor Documentation

◆ AxisProperties() [1/2]

chart::AxisProperties::AxisProperties ( rtl::Reference<::chart::Axis xAxisModel,
ExplicitCategoriesProvider pExplicitCategoriesProvider,
rtl::Reference<::chart::DataTable > const &  xDataTableModel 
)

Definition at line 156 of file VAxisProperties.cxx.

◆ AxisProperties() [2/2]

chart::AxisProperties::AxisProperties ( )
privatedelete

Member Function Documentation

◆ getBiggestTickmarkProperties()

TickmarkProperties chart::AxisProperties::getBiggestTickmarkProperties ( )
static

◆ init()

void chart::AxisProperties::init ( bool  bCartesian = false)

◆ initAxisPositioning()

void chart::AxisProperties::initAxisPositioning ( const css::uno::Reference< css::beans::XPropertySet > &  xAxisProp)

◆ makeLinePropertiesForDepth()

const VLineProperties & chart::AxisProperties::makeLinePropertiesForDepth ( ) const
inlineprivate

◆ makeTickmarkProperties()

TickmarkProperties chart::AxisProperties::makeTickmarkProperties ( sal_Int32  nDepth) const
private

◆ makeTickmarkPropertiesForComplexCategories()

TickmarkProperties chart::AxisProperties::makeTickmarkPropertiesForComplexCategories ( sal_Int32  nTickLength,
sal_Int32  nTickStartDistanceToAxis 
) const

Member Data Documentation

◆ m_aLineProperties

VLineProperties chart::AxisProperties::m_aLineProperties

◆ m_aTickmarkPropertiesList

std::vector<TickmarkProperties> chart::AxisProperties::m_aTickmarkPropertiesList

Definition at line 133 of file VAxisProperties.hxx.

Referenced by chart::TickFactory2D::getDistanceAxisTickToText(), and init().

◆ m_bComplexCategories

bool chart::AxisProperties::m_bComplexCategories

◆ m_bCrossingAxisHasReverseDirection

bool chart::AxisProperties::m_bCrossingAxisHasReverseDirection

◆ m_bCrossingAxisIsCategoryAxes

bool chart::AxisProperties::m_bCrossingAxisIsCategoryAxes

◆ m_bDataTableAlignAxisValuesWithColumns

bool chart::AxisProperties::m_bDataTableAlignAxisValuesWithColumns

Definition at line 116 of file VAxisProperties.hxx.

Referenced by init().

◆ m_bDisplayDataTable

bool chart::AxisProperties::m_bDisplayDataTable

Definition at line 115 of file VAxisProperties.hxx.

Referenced by init(), and chart::VAxisBase::prepareShapeCreation().

◆ m_bDisplayLabels

bool chart::AxisProperties::m_bDisplayLabels

◆ m_bIsMainAxis

bool chart::AxisProperties::m_bIsMainAxis

◆ m_bLimitSpaceForLabels

bool chart::AxisProperties::m_bLimitSpaceForLabels

◆ m_bSwapXAndY

bool chart::AxisProperties::m_bSwapXAndY

◆ m_bTryStaggeringFirst

bool chart::AxisProperties::m_bTryStaggeringFirst

Definition at line 123 of file VAxisProperties.hxx.

Referenced by init().

◆ m_eCrossoverType

css::chart::ChartAxisPosition chart::AxisProperties::m_eCrossoverType

Definition at line 102 of file VAxisProperties.hxx.

Referenced by init(), and initAxisPositioning().

◆ m_eLabelPos

css::chart::ChartAxisLabelPosition chart::AxisProperties::m_eLabelPos

◆ m_eTickmarkPos

css::chart::ChartAxisMarkPosition chart::AxisProperties::m_eTickmarkPos

Definition at line 104 of file VAxisProperties.hxx.

Referenced by initAxisPositioning().

◆ m_nAxisType

sal_Int32 chart::AxisProperties::m_nAxisType

Definition at line 138 of file VAxisProperties.hxx.

Referenced by init(), and chart::VAxisBase::initAxisLabelProperties().

◆ m_nDimensionIndex

sal_Int32 chart::AxisProperties::m_nDimensionIndex

Definition at line 98 of file VAxisProperties.hxx.

Referenced by chart::VCartesianCoordinateSystem::createVAxisList(), and init().

◆ m_nMajorTickmarks

sal_Int32 chart::AxisProperties::m_nMajorTickmarks

Definition at line 131 of file VAxisProperties.hxx.

Referenced by init(), and makeTickmarkProperties().

◆ m_nMinorTickmarks

sal_Int32 chart::AxisProperties::m_nMinorTickmarks

Definition at line 132 of file VAxisProperties.hxx.

Referenced by init(), and makeTickmarkProperties().

◆ m_nNumberFormatKey

sal_Int32 chart::AxisProperties::m_nNumberFormatKey

◆ m_pExplicitCategoriesProvider

ExplicitCategoriesProvider* chart::AxisProperties::m_pExplicitCategoriesProvider

Definition at line 140 of file VAxisProperties.hxx.

Referenced by init(), and chart::VAxisBase::initAxisLabelProperties().

◆ m_pfExrtaLinePositionAtOtherAxis

std::optional<double> chart::AxisProperties::m_pfExrtaLinePositionAtOtherAxis

◆ m_pfMainLinePositionAtOtherAxis

std::optional<double> chart::AxisProperties::m_pfMainLinePositionAtOtherAxis

◆ m_xAxisModel

rtl::Reference<::chart::Axis> chart::AxisProperties::m_xAxisModel

◆ m_xAxisTextProvider

css::uno::Reference<css::chart2::data::XTextualDataSequence> chart::AxisProperties::m_xAxisTextProvider

◆ m_xDataTableModel

rtl::Reference<::chart::DataTable> chart::AxisProperties::m_xDataTableModel

Definition at line 146 of file VAxisProperties.hxx.

Referenced by init().

◆ maLabelAlignment

AxisLabelAlignment chart::AxisProperties::maLabelAlignment

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