1 /* -*- Mode: C++; tab-width: 4; indent-tabs-mode: nil; c-basic-offset: 4 -*- */
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 #ifndef INCLUDED_SW_SOURCE_FILTER_HTML_HTMLREQIFREADER_HXX
10 #define INCLUDED_SW_SOURCE_FILTER_HTML_HTMLREQIFREADER_HXX
18 namespace SwReqIfReader
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
);
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: */