24#include <com/sun/star/awt/Rectangle.hpp>
29namespace chart {
class ChartModel; }
46class BaseCoordinateSystem;
48class ChartTypeManager;
49class ChartTypeTemplate;
52class LabeledDataSequence;
67 static StackMode getStackModeFromChartType(
69 bool& rbFound,
bool& rbAmbiguous,
73 static bool isSeriesAttachedToMainAxis(
76 static css::uno::Sequence< OUString >
77 getExplicitSimpleCategories( ChartModel& rModel );
79 SAL_DLLPRIVATE
static css::uno::Sequence< OUString >
80 generateAutomaticCategoriesFromCooSys(
83 static void switchToDateCategories(
86 static void switchToTextCategories(
89 static bool isDateNumberFormat( sal_Int32 nNumberFormat,
const css::uno::Reference< css::util::XNumberFormats >& xNumberFormats );
90 static sal_Int32 getDateNumberFormat(
const css::uno::Reference< css::util::XNumberFormatsSupplier >& xNumberFormatsSupplier );
91 static sal_Int32 getDateTimeInputNumberFormat(
const css::uno::Reference< css::util::XNumberFormatsSupplier >& xNumberFormatsSupplier,
double fNumber );
93 static sal_Int32 getPercentNumberFormat(
const css::uno::Reference<
94 css::util::XNumberFormatsSupplier >& xNumberFormatsSupplier );
96 SAL_DLLPRIVATE
static bool areChartTypesCompatible(
101 const css::awt::Rectangle& rPosRect );
105 static bool switchDiagramPositioningToExcludingPositioning( ChartModel& rModel
106 ,
bool bResetModifiedState
107 ,
bool bConvertAlsoFromAutoPositioning );