INTEGRATION: CWS chart25 (1.20.8); FILE MERGED
2008/05/07 15:16:46 iha 1.20.8.1: #i26497# Tickmarks not at the correct position for bar and column charts
This commit is contained in:
parent
c8d8bd5858
commit
2c816b7ee0
1 changed files with 13 additions and 1 deletions
|
@ -7,7 +7,7 @@
|
|||
* OpenOffice.org - a multi-platform office productivity suite
|
||||
*
|
||||
* $RCSfile: ChartTypeHelper.cxx,v $
|
||||
* $Revision: 1.20 $
|
||||
* $Revision: 1.21 $
|
||||
*
|
||||
* This file is part of OpenOffice.org.
|
||||
*
|
||||
|
@ -375,6 +375,18 @@ bool ChartTypeHelper::isSupportingStartingAngle( const uno::Reference< chart2::X
|
|||
return false;
|
||||
}
|
||||
|
||||
bool ChartTypeHelper::shiftTicksAtXAxisPerDefault( const uno::Reference< chart2::XChartType >& xChartType )
|
||||
{
|
||||
if(xChartType.is())
|
||||
{
|
||||
rtl::OUString aChartTypeName = xChartType->getChartType();
|
||||
if( aChartTypeName.match(CHART2_SERVICE_NAME_CHARTTYPE_COLUMN)
|
||||
|| aChartTypeName.match(CHART2_SERVICE_NAME_CHARTTYPE_BAR) )
|
||||
return true;
|
||||
}
|
||||
return false;
|
||||
}
|
||||
|
||||
bool ChartTypeHelper::noBordersForSimpleScheme( const uno::Reference< chart2::XChartType >& xChartType )
|
||||
{
|
||||
if(xChartType.is())
|
||||
|
|
Loading…
Reference in a new issue