LibreOffice Module sfx2 (master) 1
docinf.hxx
Go to the documentation of this file.
1/* -*- Mode: C++; tab-width: 4; indent-tabs-mode: nil; c-basic-offset: 4 -*- */
2/*
3 * This file is part of the LibreOffice project.
4 *
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/.
8 *
9 * This file incorporates work covered by the following license notice:
10 *
11 * Licensed to the Apache Software Foundation (ASF) under one or more
12 * contributor license agreements. See the NOTICE file distributed
13 * with this work for additional information regarding copyright
14 * ownership. The ASF licenses this file to you under the Apache
15 * License, Version 2.0 (the "License"); you may not use this file
16 * except in compliance with the License. You may obtain a copy of
17 * the License at http://www.apache.org/licenses/LICENSE-2.0 .
18 */
19#ifndef INCLUDED_SFX2_DOCINF_HXX
20#define INCLUDED_SFX2_DOCINF_HXX
21
22#include <sal/config.h>
23#include <sfx2/dllapi.h>
24#include <sal/types.h>
26
27
28class GDIMetaFile;
29class SotStorage;
30
31namespace com::sun::star {
32 namespace document {
33 class XDocumentProperties;
34 }
35}
36
37namespace com::sun::star::uno { template <typename > class Reference; }
38namespace com::sun::star::uno { template <typename > class Sequence; }
39
40
41namespace sfx2 {
42
49 const css::uno::Reference< css::document::XDocumentProperties>& i_xDocProps,
50 SotStorage* i_pStorage );
51
61 const css::uno::Reference< css::document::XDocumentProperties>& i_xDocProps,
62 SotStorage* i_pStorage,
63 const css::uno::Sequence<sal_Int8> * i_pThumb = nullptr,
64 const css::uno::Sequence<sal_Int8> * i_pGuid = nullptr,
65 const css::uno::Sequence<sal_Int8> * i_pHyperlinks = nullptr);
66
67
68css::uno::Sequence<sal_Int8> SFX2_DLLPUBLIC convertMetaFile(
69 GDIMetaFile const * i_pThumb);
70
71} // namespace sfx2
72
73#endif
74
75/* vim:set shiftwidth=4 softtabstop=4 expandtab: */
#define SFX2_DLLPUBLIC
Definition: dllapi.h:29
Reference
ErrCode LoadOlePropertySet(const uno::Reference< document::XDocumentProperties > &i_xDocProps, SotStorage *i_pStorage)
Definition: docinf.cxx:49
uno::Sequence< sal_Int8 > convertMetaFile(GDIMetaFile const *i_pThumb)
Definition: docinf.cxx:308
bool SaveOlePropertySet(const uno::Reference< document::XDocumentProperties > &i_xDocProps, SotStorage *i_pStorage, const uno::Sequence< sal_Int8 > *i_pThumb, const uno::Sequence< sal_Int8 > *i_pGuid, const uno::Sequence< sal_Int8 > *i_pHyperlinks)
Definition: docinf.cxx:198