xref: /AOO41X/main/sw/source/core/inc/SwXMLBlockExport.hxx (revision 1d2dbeb0b7301723c6d13094e87a8714ef81a328)
1 /**************************************************************
2  *
3  * Licensed to the Apache Software Foundation (ASF) under one
4  * or more contributor license agreements.  See the NOTICE file
5  * distributed with this work for additional information
6  * regarding copyright ownership.  The ASF licenses this file
7  * to you under the Apache License, Version 2.0 (the
8  * "License"); you may not use this file except in compliance
9  * with the License.  You may obtain a copy of the License at
10  *
11  *   http://www.apache.org/licenses/LICENSE-2.0
12  *
13  * Unless required by applicable law or agreed to in writing,
14  * software distributed under the License is distributed on an
15  * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
16  * KIND, either express or implied.  See the License for the
17  * specific language governing permissions and limitations
18  * under the License.
19  *
20  *************************************************************/
21 
22 
23 #ifndef _SW_XMLBLOCKEXPORT_HXX
24 #define _SW_XMLBLOCKEXPORT_HXX
25 
26 #include <xmloff/xmlexp.hxx>
27 
28 class String;
29 class SwXMLTextBlocks;
30 
31 class SwXMLBlockListExport : public SvXMLExport
32 {
33 private:
34     SwXMLTextBlocks &rBlockList;
35 public:
36     // #110680#
37     SwXMLBlockListExport(
38         const ::com::sun::star::uno::Reference< ::com::sun::star::lang::XMultiServiceFactory > xServiceFactory,
39         SwXMLTextBlocks & rBlocks,
40         const rtl::OUString &rFileName,
41         com::sun::star::uno::Reference< com::sun::star::xml::sax::XDocumentHandler> &rHandler);
42 
~SwXMLBlockListExport(void)43     virtual ~SwXMLBlockListExport ( void ) {}
44     sal_uInt32 exportDoc( enum ::xmloff::token::XMLTokenEnum eClass);
_ExportAutoStyles()45     void _ExportAutoStyles() {}
_ExportMasterStyles()46     void _ExportMasterStyles () {}
_ExportContent()47     void _ExportContent() {}
48 };
49 
50 class SwXMLTextBlockExport : public SvXMLExport
51 {
52 private:
53     SwXMLTextBlocks &rBlockList;
54 public:
55     // #110680#
56     SwXMLTextBlockExport(
57         const ::com::sun::star::uno::Reference< ::com::sun::star::lang::XMultiServiceFactory > xServiceFactory,
58         SwXMLTextBlocks & rBlocks,
59         const rtl::OUString &rFileName,
60         com::sun::star::uno::Reference< com::sun::star::xml::sax::XDocumentHandler> &rHandler);
61 
~SwXMLTextBlockExport(void)62     virtual ~SwXMLTextBlockExport ( void ) {}
exportDoc(enum::xmloff::token::XMLTokenEnum)63     sal_uInt32 exportDoc(enum ::xmloff::token::XMLTokenEnum /*eClass*/) {return 0;}
64     sal_uInt32 exportDoc(const String & rText);
_ExportAutoStyles()65     void _ExportAutoStyles() {}
_ExportMasterStyles()66     void _ExportMasterStyles () {}
_ExportContent()67     void _ExportContent() {}
68 };
69 #endif
70