office-gobmx/chart2/source/inc
Dennis Francis f547cf17a1 [API CHANGE] oox: fix import of chart date categories
Before this fix, date categories imported in oox's DataSourceContext were
stored as formatted strings according to number format code in <c:formatCode>
under the <c:cat> tree. As a result chart2 could not recognize them
as dates. This causes problems like:

* The axis that is linked to date categories cannot use the
  scaling/range-selection(min/max)/increments specs mentioned as axis
  properties. This results in distorted/unreadable chart renders w.r.t
  the date axis.

* No re-formatting is attempted as per the number format provided for axis.

This patch introduces a role qualifer argument to the XDataProvider
interface method createDataSequenceByValueArray to support categories of
date type via this method.

When exporting to oox, write date categories and format code under
<c:cat>
  <c:numRef>
    <c:numCache>

This patch also fixes some discrepancies in date axis interval
computation (auto mode) found by already existing unit tests.

Change-Id: Ibc53b0a56fdddba80ba452d5567ce98d80460ea7
Reviewed-on: https://gerrit.libreoffice.org/c/core/+/121525
Tested-by: Jenkins
Reviewed-by: Miklos Vajna <vmiklos@collabora.com>
2021-09-06 08:47:50 +02:00
..
chartview
AxisHelper.hxx
AxisIndexDefines.hxx
BaseGFXHelper.hxx
CachedDataSequence.hxx
ChangingResource.hxx
CharacterProperties.hxx
ChartModelHelper.hxx
ChartResourceGroupDlgs.hxx
ChartResourceGroups.hxx
charttoolsdllapi.hxx
ChartTypeDialogController.hxx
ChartTypeHelper.hxx
ChartTypeTemplateProvider.hxx
ChartViewHelper.hxx
CloneHelper.hxx
ColorPerPointHelper.hxx
CommonConverters.hxx
CommonFunctors.hxx
ConfigColorScheme.hxx
ControllerLockGuard.hxx
DataSeriesHelper.hxx
DataSource.hxx
DataSourceHelper.hxx
defines.hxx
DiagramHelper.hxx
DisposeHelper.hxx
ErrorBar.hxx
EventListenerHelper.hxx
ExplicitCategoriesProvider.hxx
ExponentialRegressionCurveCalculator.hxx
FastPropertyIdRanges.hxx
FillProperties.hxx
FormattedStringHelper.hxx
InternalData.hxx
InternalDataProvider.hxx [API CHANGE] oox: fix import of chart date categories 2021-09-06 08:47:50 +02:00
LabeledDataSequence.hxx
LegendHelper.hxx
LifeTime.hxx create comphelper::OMultiTypeInterfaceContainerHelper2 and use it 2021-08-07 21:34:33 +02:00
LinearRegressionCurveCalculator.hxx
LinePropertiesHelper.hxx
LogarithmicRegressionCurveCalculator.hxx
MeanValueRegressionCurveCalculator.hxx
MediaDescriptorHelper.hxx
ModifyListenerCallBack.hxx tdf#143148 Replaced #include guards with #pragma once. 2021-08-10 19:25:28 +02:00
ModifyListenerHelper.hxx
MovingAverageRegressionCurveCalculator.hxx
MutexContainer.hxx
NameContainer.hxx
NumberFormatterWrapper.hxx tdf#114441 :Convert use of sal_uLong to better integer types 2021-08-18 10:21:56 +02:00
ObjectIdentifier.hxx
OPropertySet.hxx OPropertySet doesn't need a pimpl 2021-07-22 22:11:26 +02:00
PolynomialRegressionCurveCalculator.hxx
PopupRequest.hxx
PotentialRegressionCurveCalculator.hxx
PropertyHelper.hxx
RangeHighlighter.hxx
ReferenceSizeProvider.hxx
RegressionCalculationHelper.hxx
RegressionCurveCalculator.hxx
RegressionCurveHelper.hxx
RelativePositionHelper.hxx
RelativeSizeHelper.hxx
res_BarGeometry.hxx
ResId.hxx Pass context and resource string down to boost::locale separately 2021-08-05 09:39:11 +02:00
Scaling.hxx
SceneProperties.hxx
servicenames.hxx
servicenames_charttypes.hxx
servicenames_coosystems.hxx
StackMode.hxx
StatisticsHelper.hxx
ThreeDHelper.hxx
TitleHelper.hxx
TrueGuard.hxx
UncachedDataSequence.hxx
UserDefinedProperties.hxx
WeakListenerAdapter.hxx
WrappedDefaultProperty.hxx
WrappedDirectStateProperty.hxx
WrappedIgnoreProperty.hxx
WrappedProperty.hxx
WrappedPropertySet.hxx
XMLRangeHelper.hxx