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 * This file incorporates work covered by the following license notice:
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 .
23 #include <xmloff/txtparae.hxx>
24 #include <tools/globname.hxx>
27 class SvXMLAutoStylePoolP
;
30 namespace com
{ namespace sun
{ namespace star
{ namespace style
{
33 class SwXMLTextParagraphExport
: public XMLTextParagraphExport
35 const OUString sTextTable
;
36 const OUString sEmbeddedObjectProtocol
;
37 const OUString sGraphicObjectProtocol
;
39 const SvGlobalName aAppletClassId
;
40 const SvGlobalName aPluginClassId
;
41 const SvGlobalName aIFrameClassId
;
42 const SvGlobalName aOutplaceClassId
;
44 SwNoTxtNode
*GetNoTxtNode(
45 const ::com::sun::star::uno::Reference
<
46 ::com::sun::star::beans::XPropertySet
>& rPropSet
) const;
49 virtual void exportStyleContent(
50 const ::com::sun::star::uno::Reference
<
51 ::com::sun::star::style::XStyle
> & rStyle
);
53 virtual void _collectTextEmbeddedAutoStyles(
54 const ::com::sun::star::uno::Reference
<
55 ::com::sun::star::beans::XPropertySet
> & rPropSet
);
56 virtual void _exportTextEmbedded(
57 const ::com::sun::star::uno::Reference
<
58 ::com::sun::star::beans::XPropertySet
> & rPropSet
,
59 const ::com::sun::star::uno::Reference
<
60 ::com::sun::star::beans::XPropertySetInfo
> & rPropSetInfo
);
62 virtual void exportTable(
63 const ::com::sun::star::uno::Reference
<
64 ::com::sun::star::text::XTextContent
> & rTextContent
,
65 sal_Bool bAutoStyles
, sal_Bool bProgress
);
68 SwXMLTextParagraphExport(
70 SvXMLAutoStylePoolP
& rAutoStylePool
);
71 ~SwXMLTextParagraphExport();
73 virtual void setTextEmbeddedGraphicURL(
74 const ::com::sun::star::uno::Reference
<
75 ::com::sun::star::beans::XPropertySet
>& rPropSet
,
76 OUString
& rStreamName
) const;
80 #endif // _XMLTEXTE_HXX
82 /* vim:set shiftwidth=4 softtabstop=4 expandtab: */