2001-02-09 16:59:37 +00:00
|
|
|
/*************************************************************************
|
|
|
|
*
|
2008-04-10 23:21:10 +00:00
|
|
|
* DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
|
2001-02-09 16:59:37 +00:00
|
|
|
*
|
2010-02-12 15:01:35 +01:00
|
|
|
* Copyright 2000, 2010 Oracle and/or its affiliates.
|
2001-02-09 16:59:37 +00:00
|
|
|
*
|
2008-04-10 23:21:10 +00:00
|
|
|
* OpenOffice.org - a multi-platform office productivity suite
|
2001-02-09 16:59:37 +00:00
|
|
|
*
|
2008-04-10 23:21:10 +00:00
|
|
|
* This file is part of OpenOffice.org.
|
2001-02-09 16:59:37 +00:00
|
|
|
*
|
2008-04-10 23:21:10 +00:00
|
|
|
* OpenOffice.org is free software: you can redistribute it and/or modify
|
|
|
|
* it under the terms of the GNU Lesser General Public License version 3
|
|
|
|
* only, as published by the Free Software Foundation.
|
2001-02-09 16:59:37 +00:00
|
|
|
*
|
2008-04-10 23:21:10 +00:00
|
|
|
* OpenOffice.org is distributed in the hope that it will be useful,
|
|
|
|
* but WITHOUT ANY WARRANTY; without even the implied warranty of
|
|
|
|
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
|
|
|
|
* GNU Lesser General Public License version 3 for more details
|
|
|
|
* (a copy is included in the LICENSE file that accompanied this code).
|
2001-02-09 16:59:37 +00:00
|
|
|
*
|
2008-04-10 23:21:10 +00:00
|
|
|
* You should have received a copy of the GNU Lesser General Public License
|
|
|
|
* version 3 along with OpenOffice.org. If not, see
|
|
|
|
* <http://www.openoffice.org/license.html>
|
|
|
|
* for a copy of the LGPLv3 License.
|
2001-02-09 16:59:37 +00:00
|
|
|
*
|
|
|
|
************************************************************************/
|
|
|
|
#ifndef _SV_XMLAUTOCORRECTEXPORT_HXX
|
|
|
|
#define _SV_XMLAUTOCORRECTEXPORT_HXX
|
|
|
|
|
|
|
|
#include <xmloff/xmlictxt.hxx>
|
|
|
|
#include <xmloff/xmlexp.hxx>
|
|
|
|
#include <xmloff/nmspmap.hxx>
|
|
|
|
#include <xmloff/xmlnmspe.hxx>
|
2010-01-06 19:26:54 +01:00
|
|
|
#include <editeng/svxacorr.hxx>
|
2001-02-09 16:59:37 +00:00
|
|
|
|
|
|
|
class SvXMLAutoCorrectExport : public SvXMLExport
|
|
|
|
{
|
|
|
|
private:
|
|
|
|
const SvxAutocorrWordList *pAutocorr_List;
|
|
|
|
public:
|
2004-05-03 12:26:50 +00:00
|
|
|
// #110680#
|
|
|
|
SvXMLAutoCorrectExport(
|
|
|
|
const ::com::sun::star::uno::Reference< ::com::sun::star::lang::XMultiServiceFactory > xServiceFactory,
|
|
|
|
const SvxAutocorrWordList * pNewAutocorr_List,
|
|
|
|
const rtl::OUString &rFileName,
|
|
|
|
com::sun::star::uno::Reference< com::sun::star::xml::sax::XDocumentHandler> &rHandler);
|
|
|
|
|
2001-02-09 16:59:37 +00:00
|
|
|
virtual ~SvXMLAutoCorrectExport ( void ) {}
|
2001-06-18 14:23:31 +00:00
|
|
|
sal_uInt32 exportDoc(enum ::xmloff::token::XMLTokenEnum eClass);
|
2001-02-09 16:59:37 +00:00
|
|
|
void _ExportAutoStyles() {}
|
|
|
|
void _ExportMasterStyles () {}
|
|
|
|
void _ExportContent() {}
|
|
|
|
};
|
|
|
|
|
|
|
|
class SvStringsISortDtor;
|
|
|
|
|
|
|
|
class SvXMLExceptionListExport : public SvXMLExport
|
|
|
|
{
|
|
|
|
private:
|
|
|
|
const SvStringsISortDtor & rList;
|
|
|
|
public:
|
2004-05-03 12:26:50 +00:00
|
|
|
// #110680#
|
|
|
|
SvXMLExceptionListExport(
|
|
|
|
const ::com::sun::star::uno::Reference< ::com::sun::star::lang::XMultiServiceFactory > xServiceFactory,
|
|
|
|
const SvStringsISortDtor &rNewList,
|
|
|
|
const rtl::OUString &rFileName,
|
|
|
|
com::sun::star::uno::Reference< com::sun::star::xml::sax::XDocumentHandler> &rHandler);
|
|
|
|
|
2001-02-09 16:59:37 +00:00
|
|
|
virtual ~SvXMLExceptionListExport ( void ) {}
|
2001-06-18 14:23:31 +00:00
|
|
|
sal_uInt32 exportDoc(enum ::xmloff::token::XMLTokenEnum eClass);
|
2001-02-09 16:59:37 +00:00
|
|
|
void _ExportAutoStyles() {}
|
|
|
|
void _ExportMasterStyles () {}
|
|
|
|
void _ExportContent() {}
|
|
|
|
};
|
|
|
|
#endif
|