android: Update app-specific/MIME type icons
[LibreOffice.git] / sw / source / filter / html / htmlreqifreader.hxx
blob84169bb7c087b931d1a956d3cf18739ef485985a
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/.
8 */
9 #ifndef INCLUDED_SW_SOURCE_FILTER_HTML_HTMLREQIFREADER_HXX
10 #define INCLUDED_SW_SOURCE_FILTER_HTML_HTMLREQIFREADER_HXX
12 class Graphic;
13 class Size;
14 class SvStream;
15 class SwOLENode;
16 class SwFrameFormat;
18 namespace SwReqIfReader
20 /**
21 * Extracts an OLE2 container binary from an RTF fragment.
23 * @param bOwnFormat if the extracted data has an ODF class ID or not.
25 bool ExtractOleFromRtf(SvStream& rRtf, SvStream& rOle, bool& bOwnFormat);
27 /// Wraps an OLE2 container binary in an RTF fragment.
28 bool WrapOleInRtf(SvStream& rOle2, SvStream& rRtf, SwOLENode& rOLENode,
29 const SwFrameFormat& rFormat);
31 /**
32 * Wraps an image in an RTF fragment.
34 bool WrapGraphicInRtf(const Graphic& rGraphic, const SwFrameFormat& rFormat, SvStream& rRtf);
37 #endif // INCLUDED_SW_SOURCE_FILTER_HTML_HTMLREQIFREADER_HXX
39 /* vim:set shiftwidth=4 softtabstop=4 expandtab: */