LibreOffice Module sfx2 (master) 1
frmhtmlw.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_FRMHTMLW_HXX
20#define INCLUDED_SFX2_FRMHTMLW_HXX
21
22#include <sal/config.h>
23#include <sfx2/dllapi.h>
24#include <sal/types.h>
25#include <rtl/ustring.hxx>
26
27class SvStream;
28
29namespace com::sun::star {
30 namespace document {
31 class XDocumentProperties;
32 }
33}
34
35namespace com::sun::star::beans { class XPropertySet; }
36namespace com::sun::star::uno { template <class interface_type> class Reference; }
37
39{
40 SAL_DLLPRIVATE static void OutMeta( SvStream& rStrm,
41 const char *pIndent, const OUString& rName,
42 const OUString& rContent, bool bHTTPEquiv,
43 OUString *pNonConvertableChars = nullptr );
44 SAL_DLLPRIVATE inline static void OutMeta( SvStream& rStrm,
45 const char *pIndent, const char *pName,
46 const OUString& rContent, bool bHTTPEquiv,
47 OUString *pNonConvertableChars = nullptr );
48
49public:
50 static void Out_DocInfo( SvStream& rStrm, const OUString& rBaseURL,
51 const css::uno::Reference< css::document::XDocumentProperties>&,
52 const char *pIndent,
53 OUString *pNonConvertableChars = nullptr );
54
55 static void Out_FrameDescriptor(
56 SvStream&, const OUString& rBaseURL, const css::uno::Reference < css::beans::XPropertySet >& xSet);
57};
58
60 const char *pIndent, const char *pName,
61 const OUString& rContent, bool bHTTPEquiv,
62 OUString *pNonConvertableChars )
63{
64 OUString sTmp = OUString::createFromAscii(pName);
65 OutMeta( rStrm, pIndent, sTmp, rContent, bHTTPEquiv, pNonConvertableChars );
66}
67
68#endif
69
70/* vim:set shiftwidth=4 softtabstop=4 expandtab: */
const char * pName
static SAL_DLLPRIVATE void OutMeta(SvStream &rStrm, const char *pIndent, const OUString &rName, const OUString &rContent, bool bHTTPEquiv, OUString *pNonConvertableChars=nullptr)
Definition: frmhtmlw.cxx:51
#define SFX2_DLLPUBLIC
Definition: dllapi.h:29
class SAL_NO_VTABLE XPropertySet
Reference
void SvStream & rStrm