xref: /AOO41X/main/editeng/source/misc/SvXMLAutoCorrectExport.hxx (revision 4c5491ea21520f5347760e8fc7d072f082fcde5f)
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 _SV_XMLAUTOCORRECTEXPORT_HXX
24 #define _SV_XMLAUTOCORRECTEXPORT_HXX
25 
26 #include <xmloff/xmlictxt.hxx>
27 #include <xmloff/xmlexp.hxx>
28 #include <xmloff/nmspmap.hxx>
29 #include <xmloff/xmlnmspe.hxx>
30 #include <editeng/svxacorr.hxx>
31 
32 class SvXMLAutoCorrectExport : public SvXMLExport
33 {
34 private:
35     const SvxAutocorrWordList   *pAutocorr_List;
36 public:
37     // #110680#
38     SvXMLAutoCorrectExport(
39         const ::com::sun::star::uno::Reference< ::com::sun::star::lang::XMultiServiceFactory > xServiceFactory,
40         const SvxAutocorrWordList * pNewAutocorr_List,
41         const rtl::OUString &rFileName,
42         com::sun::star::uno::Reference< com::sun::star::xml::sax::XDocumentHandler> &rHandler);
43 
~SvXMLAutoCorrectExport(void)44     virtual ~SvXMLAutoCorrectExport ( void ) {}
45     sal_uInt32 exportDoc(enum ::xmloff::token::XMLTokenEnum eClass);
_ExportAutoStyles()46     void _ExportAutoStyles() {}
_ExportMasterStyles()47     void _ExportMasterStyles () {}
_ExportContent()48     void _ExportContent() {}
49 };
50 
51 class SvStringsISortDtor;
52 
53 class SvXMLExceptionListExport : public SvXMLExport
54 {
55 private:
56     const SvStringsISortDtor & rList;
57 public:
58     // #110680#
59     SvXMLExceptionListExport(
60         const ::com::sun::star::uno::Reference< ::com::sun::star::lang::XMultiServiceFactory > xServiceFactory,
61         const SvStringsISortDtor &rNewList,
62         const rtl::OUString &rFileName,
63         com::sun::star::uno::Reference< com::sun::star::xml::sax::XDocumentHandler> &rHandler);
64 
~SvXMLExceptionListExport(void)65     virtual ~SvXMLExceptionListExport ( void ) {}
66     sal_uInt32 exportDoc(enum ::xmloff::token::XMLTokenEnum eClass);
_ExportAutoStyles()67     void _ExportAutoStyles() {}
_ExportMasterStyles()68     void _ExportMasterStyles () {}
_ExportContent()69     void _ExportContent() {}
70 };
71 #endif
72