2010-10-14 08:30:41 +02:00
|
|
|
/* -*- Mode: C++; tab-width: 4; indent-tabs-mode: nil; c-basic-offset: 4 -*- */
|
2011-03-31 10:05:04 +02:00
|
|
|
/*
|
|
|
|
* This file is part of the LibreOffice project.
|
|
|
|
*
|
|
|
|
* This Source Code Form is subject to the terms of the Mozilla Public
|
|
|
|
* License, v. 2.0. If a copy of the MPL was not distributed with this
|
|
|
|
* file, You can obtain one at http://mozilla.org/MPL/2.0/.
|
|
|
|
*
|
|
|
|
* This file incorporates work covered by the following license notice:
|
|
|
|
*
|
|
|
|
* Licensed to the Apache Software Foundation (ASF) under one or more
|
|
|
|
* contributor license agreements. See the NOTICE file distributed
|
|
|
|
* with this work for additional information regarding copyright
|
|
|
|
* ownership. The ASF licenses this file to you under the Apache
|
|
|
|
* License, Version 2.0 (the "License"); you may not use this file
|
|
|
|
* except in compliance with the License. You may obtain a copy of
|
|
|
|
* the License at http://www.apache.org/licenses/LICENSE-2.0 .
|
|
|
|
*/
|
2012-06-02 13:43:01 +02:00
|
|
|
|
2001-02-08 14:53:18 +00:00
|
|
|
#ifndef _SW_XMLBLOCKEXPORT_HXX
|
|
|
|
#define _SW_XMLBLOCKEXPORT_HXX
|
|
|
|
|
|
|
|
#include <xmloff/xmlexp.hxx>
|
|
|
|
|
2005-04-13 08:42:20 +00:00
|
|
|
class String;
|
2001-07-10 16:18:48 +00:00
|
|
|
class SwXMLTextBlocks;
|
2001-02-08 14:53:18 +00:00
|
|
|
|
|
|
|
class SwXMLBlockListExport : public SvXMLExport
|
|
|
|
{
|
|
|
|
private:
|
|
|
|
SwXMLTextBlocks &rBlockList;
|
2012-06-02 13:43:01 +02:00
|
|
|
|
2001-02-08 14:53:18 +00:00
|
|
|
public:
|
2004-05-03 12:13:16 +00:00
|
|
|
SwXMLBlockListExport(
|
|
|
|
const ::com::sun::star::uno::Reference< ::com::sun::star::lang::XMultiServiceFactory > xServiceFactory,
|
|
|
|
SwXMLTextBlocks & rBlocks,
|
|
|
|
const rtl::OUString &rFileName,
|
|
|
|
com::sun::star::uno::Reference< com::sun::star::xml::sax::XDocumentHandler> &rHandler);
|
|
|
|
|
2001-02-08 14:53:18 +00:00
|
|
|
virtual ~SwXMLBlockListExport ( void ) {}
|
2001-06-29 20:13:55 +00:00
|
|
|
sal_uInt32 exportDoc( enum ::xmloff::token::XMLTokenEnum eClass);
|
2001-02-08 14:53:18 +00:00
|
|
|
void _ExportAutoStyles() {}
|
|
|
|
void _ExportMasterStyles () {}
|
|
|
|
void _ExportContent() {}
|
|
|
|
};
|
2004-05-03 12:13:16 +00:00
|
|
|
|
2001-02-08 14:53:18 +00:00
|
|
|
class SwXMLTextBlockExport : public SvXMLExport
|
|
|
|
{
|
|
|
|
private:
|
|
|
|
SwXMLTextBlocks &rBlockList;
|
2012-06-02 13:43:01 +02:00
|
|
|
|
2001-02-08 14:53:18 +00:00
|
|
|
public:
|
2004-05-03 12:13:16 +00:00
|
|
|
SwXMLTextBlockExport(
|
|
|
|
const ::com::sun::star::uno::Reference< ::com::sun::star::lang::XMultiServiceFactory > xServiceFactory,
|
|
|
|
SwXMLTextBlocks & rBlocks,
|
|
|
|
const rtl::OUString &rFileName,
|
|
|
|
com::sun::star::uno::Reference< com::sun::star::xml::sax::XDocumentHandler> &rHandler);
|
|
|
|
|
2001-02-08 14:53:18 +00:00
|
|
|
virtual ~SwXMLTextBlockExport ( void ) {}
|
2007-09-27 07:52:59 +00:00
|
|
|
sal_uInt32 exportDoc(enum ::xmloff::token::XMLTokenEnum /*eClass*/) {return 0;}
|
2001-02-08 14:53:18 +00:00
|
|
|
sal_uInt32 exportDoc(const String & rText);
|
|
|
|
void _ExportAutoStyles() {}
|
|
|
|
void _ExportMasterStyles () {}
|
|
|
|
void _ExportContent() {}
|
|
|
|
};
|
2012-06-02 13:43:01 +02:00
|
|
|
|
2001-02-08 14:53:18 +00:00
|
|
|
#endif
|
2010-10-14 08:30:41 +02:00
|
|
|
|
|
|
|
/* vim:set shiftwidth=4 softtabstop=4 expandtab: */
|