diff options
author | Laurent Balland-Poirier <laurent.balland-poirier@laposte.net> | 2016-03-31 23:15:28 +0200 |
---|---|---|
committer | Markus Mohrhard <markus.mohrhard@googlemail.com> | 2016-04-02 18:56:19 +0000 |
commit | a0b1a10ddcf5e17116055a0c82200231bf5cd55f (patch) | |
tree | 22556660e96dcc13ce19df82b803e614bc807a21 /chart2/inc | |
parent | 0b5a02eeaa50ffe77d18374162b984a36e69c6cf (diff) |
Chart: Improve polynomial trendline equation rendering
Convert power figures in supersript figures
Replace minus sign
Change-Id: Ia0e77b5de3b6f2368efd1315576f9709d7b1b2d9
Reviewed-on: https://gerrit.libreoffice.org/23714
Tested-by: Jenkins <ci@libreoffice.org>
Reviewed-by: Markus Mohrhard <markus.mohrhard@googlemail.com>
Diffstat (limited to 'chart2/inc')
-rw-r--r-- | chart2/inc/SpecialUnicodes.hxx | 18 |
1 files changed, 18 insertions, 0 deletions
diff --git a/chart2/inc/SpecialUnicodes.hxx b/chart2/inc/SpecialUnicodes.hxx new file mode 100644 index 000000000000..6b3398daf840 --- /dev/null +++ b/chart2/inc/SpecialUnicodes.hxx @@ -0,0 +1,18 @@ +/* -*- Mode: C++; tab-width: 4; indent-tabs-mode: nil; c-basic-offset: 4 -*- */ +/* + * This file is part of the LibreOffice project. + * + * This Source Code Form is subject to the terms of the Mozilla Public + * License, v. 2.0. If a copy of the MPL was not distributed with this + * file, You can obtain one at http://mozilla.org/MPL/2.0/. + */ + +#ifndef INCLUDED_CHART2_INC_SPECIALUNICODES_HXX +#define INCLUDED_CHART2_INC_SPECIALUNICODES_HXX + +const OUString aMinusSign ( sal_Unicode (0x2212) ); +const sal_Unicode aSuperscriptFigures[10]={ 0x2070, 0x00B9, 0x00B2, 0x00B3, 0x2074, 0x2075, 0x2076, 0x2077, 0x2078, 0x2079 }; + +#endif + +/* vim:set shiftwidth=4 softtabstop=4 expandtab: */ |