bump product version to 7.6.3.2-android
[LibreOffice.git] / include / docmodel / color / ComplexColorJSON.hxx
blobb4aa4bfb335440b32983941da600762b40ea5681
1 /* -*- Mode: C++; tab-width: 4; indent-tabs-mode: nil; c-basic-offset: 4 -*- */
2 /*
3 * This file is part of the LibreOffice project.
5 * This Source Code Form is subject to the terms of the Mozilla Public
6 * License, v. 2.0. If a copy of the MPL was not distributed with this
7 * file, You can obtain one at http://mozilla.org/MPL/2.0/.
9 */
11 #pragma once
13 #include <docmodel/dllapi.h>
14 #include <docmodel/color/ComplexColor.hxx>
15 #include <boost/property_tree/json_parser.hpp>
17 namespace model::color
19 DOCMODEL_DLLPUBLIC OString convertToJSON(model::ComplexColor const& rComplexColor);
20 DOCMODEL_DLLPUBLIC void convertToJSONTree(boost::property_tree::ptree& rTree,
21 model::ComplexColor const& rComplexColor);
22 DOCMODEL_DLLPUBLIC bool convertFromJSON(OString const& rJsonString,
23 model::ComplexColor& rComplexColor);
25 } // end of namespace model
27 /* vim:set shiftwidth=4 softtabstop=4 expandtab: */