summaryrefslogtreecommitdiff
path: root/cppuhelper
diff options
context:
space:
mode:
authorEike Rathke <erack@redhat.com>2021-10-06 18:57:36 +0200
committerEike Rathke <erack@redhat.com>2021-10-06 23:15:21 +0200
commit34b01c95d4cab81cb614b67c47b004ac86d266f1 (patch)
treebcd21a1e94193f534cc1f07e6e974c933934bf15 /cppuhelper
parent490479c9b6f75dd857b8b644f84f65c37c1b460f (diff)
Resolves: tdf#144970 Chart CellRangeRepresentation expects UI representation
sc/source/ui/unoobj/chart2uno.cxx ScChart2DataProvider::createDataSource() calls ScRefTokenHelper::compileRangeRepresentation() with the CellRangeRepresentation property's string value and the document's grammar (and also other places calling ScRefTokenHelper::compileRangeRepresentation() in Chart context do, like ScChart2DataProvider::detectArguments()), so let ScChartsObj::addNewByName() generate that from the Sequence<table::CellRangeAddress>. Also let ScChartObj::GetData_Impl() parse a CellRangeRepresentation value with the current address convention. This is congruent with offapi/com/sun/star/chart2/data/TabularDataProviderArguments.idl that for CellRangeRepresentation says "The representation string is of a form that may be used in the user interface. Example for OOo Calc: "$Sheet1.$A$1:$D$7"", which is Calc A1 but agnostic about Excel A1 and R1C1 address syntax. TabularDataProviderArguments is mentioned in offapi/com/sun/star/chart2/data/XDataProvider.idl at createDataSource(). Change-Id: Ie89d9aa3d5bc3eda9a65932a445ee8a1b4b266f9 Reviewed-on: https://gerrit.libreoffice.org/c/core/+/123188 Reviewed-by: Eike Rathke <erack@redhat.com> Tested-by: Jenkins
Diffstat (limited to 'cppuhelper')
0 files changed, 0 insertions, 0 deletions