diff options
author | Tomaž Vajngerl <tomaz.vajngerl@collabora.co.uk> | 2017-11-03 21:57:18 +0900 |
---|---|---|
committer | Tomaž Vajngerl <quikee@gmail.com> | 2017-11-04 02:49:36 +0100 |
commit | 40918d0321f9e9a958fa80f309213e199cf21bce (patch) | |
tree | dbb18d1a99abc825111b1898446f5f66e97fe3b2 /include/svx/ClassificationCommon.hxx | |
parent | 8f1f4d5a6f4b376975e9e2f318e8c92d4bade90a (diff) |
TSCP: add a full text. value of the header/footer as doc. property
Change-Id: I4742066c34802017790c1c21ec04a7760d4fe1f7
Reviewed-on: https://gerrit.libreoffice.org/44279
Reviewed-by: Tomaž Vajngerl <quikee@gmail.com>
Tested-by: Tomaž Vajngerl <quikee@gmail.com>
Diffstat (limited to 'include/svx/ClassificationCommon.hxx')
-rw-r--r-- | include/svx/ClassificationCommon.hxx | 37 |
1 files changed, 37 insertions, 0 deletions
diff --git a/include/svx/ClassificationCommon.hxx b/include/svx/ClassificationCommon.hxx new file mode 100644 index 000000000000..04e0494cc7ad --- /dev/null +++ b/include/svx/ClassificationCommon.hxx @@ -0,0 +1,37 @@ +/* -*- 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_SVX_CLASSIFICATIONCOMMON_HXX +#define INCLUDED_SVX_CLASSIFICATIONCOMMON_HXX + +#include <sal/config.h> +#include <svx/svxdllapi.h> +#include <svx/ClassificationField.hxx> +#include <vector> +#include <sfx2/classificationhelper.hxx> +#include <com/sun/star/beans/XPropertyContainer.hpp> + +namespace svx { +namespace classification { + +SVX_DLLPUBLIC OUString convertClassificationResultToString(std::vector<svx::ClassificationResult> const & rResults); + +SVX_DLLPUBLIC bool addOrInsertDocumentProperty(css::uno::Reference<css::beans::XPropertyContainer> const & rxPropertyContainer, + OUString const & rsKey, OUString const & rsValue); + +SVX_DLLPUBLIC void insertFullTextualRepresentationAsDocumentProperty(css::uno::Reference<css::beans::XPropertyContainer> const & rxPropertyContainer, + sfx::ClassificationKeyCreator const & rKeyCreator, + std::vector<svx::ClassificationResult> const & rResults); + +}} // end svx::classification namespace + +#endif // INCLUDED_SVX_CLASSIFICATIONCOMMON_HXX + +/* vim:set shiftwidth=4 softtabstop=4 expandtab: */ |