c8d8bf4282
This changes Sparkline colors to use complex colors instead and adds Sparkline theme color import and export support for ODF and OOXML. Change-Id: I58edd525d50f95199bd4fe7825afb51aaa7fc091 Reviewed-on: https://gerrit.libreoffice.org/c/core/+/155113 Tested-by: Jenkins Reviewed-by: Tomaž Vajngerl <quikee@gmail.com>
42 lines
1.1 KiB
C++
42 lines
1.1 KiB
C++
/* -*- 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/.
|
|
*/
|
|
#pragma once
|
|
|
|
#include <xmloff/dllapi.h>
|
|
#include <sal/types.h>
|
|
#include <rtl/ustring.hxx>
|
|
#include <xmloff/xmltoken.hxx>
|
|
|
|
namespace com::sun::star::uno
|
|
{
|
|
class Any;
|
|
}
|
|
namespace model
|
|
{
|
|
class ComplexColor;
|
|
}
|
|
|
|
class SvXMLExport;
|
|
|
|
class XMLOFF_DLLPUBLIC XMLComplexColorExport
|
|
{
|
|
SvXMLExport& mrExport;
|
|
|
|
void doExport(model::ComplexColor const& rComplexColor, sal_uInt16 nPrefix,
|
|
const OUString& rLocalName);
|
|
|
|
public:
|
|
XMLComplexColorExport(SvXMLExport& rExport);
|
|
|
|
void exportComplexColor(model::ComplexColor const& rComplexColor, sal_uInt16 nPrefix,
|
|
xmloff::token::XMLTokenEnum nToken);
|
|
void exportXML(const css::uno::Any& rAny, sal_uInt16 nPrefix, const OUString& rLocalName);
|
|
};
|
|
|
|
/* vim:set shiftwidth=4 softtabstop=4 expandtab: */
|