Kaydet (Commit) fcec34ff authored tarafından Miklos Vajna's avatar Miklos Vajna

writerfilter: fold single remaining header of resourcemodel into dmapper

Change-Id: I54cc8ebda18c8ca7071c39210687f28adbc4790a
üst 6023347a
The writerfilter module contains import filters for Writer, using its UNO API.
Import filter for docx, doc and rtf.
Import filter for docx and rtf.
== Module contents ==
* documentation
* inc: global headers (can be included by other modules)
* qa: unittests and subsequenttests
* documentation: RNG schema for the OOXML tokenizer, etc.
* inc: module-global headers (can be included by any files under source)
* qa: cppunit tests
* source: the filters themselves
* util: UNO passive registration config
== Source contents ==
* dmapper: the domain mapper, hiding UNO from the tokenizers, used by DOCX and RTF import
* The incoming traffic of dmapper can be dumped into an XML file in /tmp in
debug builds, start soffice with the
`SW_DEBUG_WRITERFILTER=1` environment variable if you want that.
debug builds, start soffice with the `SW_DEBUG_WRITERFILTER=1`
environment variable if you want that.
* filter: the UNO filter service implementations, invoked by UNO and calling
the dmapper + one of the tokenizers
* ooxml: the docx tokenizer
* resourcemodel
* rtftok: the rtf tokenizer
......@@ -9,7 +9,7 @@
#ifndef INCLUDED_WRITERFILTER_INC_DMAPPER_DOMAINMAPPERFACTORY_HXX
#define INCLUDED_WRITERFILTER_INC_DMAPPER_DOMAINMAPPERFACTORY_HXX
#include <resourcemodel/WW8ResourceModel.hxx>
#include <dmapper/resourcemodel.hxx>
#include <com/sun/star/io/XInputStream.hpp>
#include <com/sun/star/lang/XComponent.hpp>
#include <com/sun/star/text/XTextRange.hpp>
......
......@@ -17,8 +17,8 @@
* the License at http://www.apache.org/licenses/LICENSE-2.0 .
*/
#ifndef INCLUDED_WRITERFILTER_INC_RESOURCEMODEL_WW8RESOURCEMODEL_HXX
#define INCLUDED_WRITERFILTER_INC_RESOURCEMODEL_WW8RESOURCEMODEL_HXX
#ifndef INCLUDED_WRITERFILTER_INC_DMAPPER_RESOURCEMODEL_HXX
#define INCLUDED_WRITERFILTER_INC_DMAPPER_RESOURCEMODEL_HXX
#include <string>
#include <memory>
......@@ -27,7 +27,7 @@
#include <com/sun/star/drawing/XShape.hpp>
#include <com/sun/star/uno/Any.hxx>
/**
@file WW8ResourceModel.hxx
@file resourcemodel.hxx
The classes in this file define the interfaces for the resource
model of the DocTokenizer:
......@@ -409,6 +409,6 @@ typedef sal_Int32 Token_t;
}
#endif // INCLUDED_WRITERFILTER_INC_RESOURCEMODEL_WW8RESOURCEMODEL_HXX
#endif // INCLUDED_WRITERFILTER_INC_DMAPPER_RESOURCEMODEL_HXX
/* vim:set shiftwidth=4 softtabstop=4 expandtab: */
......@@ -23,7 +23,7 @@
#include <com/sun/star/uno/Reference.hxx>
#include <com/sun/star/io/XInputStream.hpp>
#include <com/sun/star/uno/XComponentContext.hpp>
#include <resourcemodel/WW8ResourceModel.hxx>
#include <dmapper/resourcemodel.hxx>
#include <com/sun/star/task/XStatusIndicator.hpp>
#include <com/sun/star/xml/sax/XParser.hpp>
#include <com/sun/star/xml/sax/XFastParser.hpp>
......
......@@ -23,7 +23,7 @@
#include <map>
#include <string>
#include <iostream>
#include <resourcemodel/WW8ResourceModel.hxx>
#include <dmapper/resourcemodel.hxx>
#include <com/sun/star/beans/XPropertySet.hpp>
namespace writerfilter
......
......@@ -9,7 +9,7 @@
#ifndef INCLUDED_WRITERFILTER_INC_RTFTOK_RTFDOCUMENT_HXX
#define INCLUDED_WRITERFILTER_INC_RTFTOK_RTFDOCUMENT_HXX
#include <resourcemodel/WW8ResourceModel.hxx>
#include <dmapper/resourcemodel.hxx>
#include <com/sun/star/uno/XComponentContext.hpp>
#include <com/sun/star/io/XInputStream.hpp>
#include <com/sun/star/lang/XComponent.hpp>
......
......@@ -18,7 +18,6 @@
*/
#include <boost/optional.hpp>
#include <DomainMapperTableManager.hxx>
#include <resourcemodel/WW8ResourceModel.hxx>
#include <BorderHandler.hxx>
#include <CellColorHandler.hxx>
#include <CellMarginHandler.hxx>
......
......@@ -20,7 +20,7 @@
#ifndef INCLUDED_WRITERFILTER_SOURCE_DMAPPER_LOGGEDRESOURCES_HXX
#define INCLUDED_WRITERFILTER_SOURCE_DMAPPER_LOGGEDRESOURCES_HXX
#include <resourcemodel/WW8ResourceModel.hxx>
#include <dmapper/resourcemodel.hxx>
#include "TagLogger.hxx"
......
......@@ -20,7 +20,7 @@
#ifndef INCLUDED_WRITERFILTER_SOURCE_DMAPPER_TABLEDATA_HXX
#define INCLUDED_WRITERFILTER_SOURCE_DMAPPER_TABLEDATA_HXX
#include <resourcemodel/WW8ResourceModel.hxx>
#include <dmapper/resourcemodel.hxx>
#include <vector>
#include <boost/shared_ptr.hpp>
......
......@@ -20,7 +20,7 @@
#ifndef INCLUDED_WRITERFILTER_SOURCE_DMAPPER_TABLEMANAGER_HXX
#define INCLUDED_WRITERFILTER_SOURCE_DMAPPER_TABLEMANAGER_HXX
#include <resourcemodel/WW8ResourceModel.hxx>
#include <dmapper/resourcemodel.hxx>
#include <ooxml/resourceids.hxx>
......
......@@ -23,7 +23,7 @@
#include "PropertyMap.hxx"
#include <TableManager.hxx>
#include <resourcemodel/WW8ResourceModel.hxx>
#include <dmapper/resourcemodel.hxx>
#include <boost/shared_ptr.hpp>
......
......@@ -22,7 +22,7 @@
#include <rtl/ustring.hxx>
#include <com/sun/star/beans/XPropertySet.hpp>
#include <resourcemodel/WW8ResourceModel.hxx>
#include <dmapper/resourcemodel.hxx>
#include <string>
#include <boost/shared_ptr.hpp>
#include <libxml/xmlwriter.h>
......
......@@ -22,7 +22,7 @@
#include <com/sun/star/text/XTextRange.hpp>
#include <string>
#include <resourcemodel/WW8ResourceModel.hxx>
#include <dmapper/resourcemodel.hxx>
namespace writerfilter
{
......
......@@ -19,7 +19,7 @@
#ifndef INCLUDED_WRITERFILTER_SOURCE_OOXML_HANDLER_HXX
#define INCLUDED_WRITERFILTER_SOURCE_OOXML_HANDLER_HXX
#include <resourcemodel/WW8ResourceModel.hxx>
#include <dmapper/resourcemodel.hxx>
#include "OOXMLFastContextHandler.hxx"
namespace writerfilter {
......
......@@ -19,7 +19,7 @@
#ifndef INCLUDED_WRITERFILTER_SOURCE_OOXML_OOXMLBINARYOBJECTREFERENCE_HXX
#define INCLUDED_WRITERFILTER_SOURCE_OOXML_OOXMLBINARYOBJECTREFERENCE_HXX
#include <resourcemodel/WW8ResourceModel.hxx>
#include <dmapper/resourcemodel.hxx>
#include <ooxml/OOXMLDocument.hxx>
namespace writerfilter {
......
......@@ -22,7 +22,7 @@
#include <boost/shared_ptr.hpp>
#include <resourcemodel/WW8ResourceModel.hxx>
#include <dmapper/resourcemodel.hxx>
#include <oox/token/tokens.hxx>
......
......@@ -24,7 +24,7 @@
#include <com/sun/star/uno/XComponentContext.hpp>
#include <cppuhelper/implbase1.hxx>
#include <com/sun/star/xml/sax/XFastDocumentHandler.hpp>
#include <resourcemodel/WW8ResourceModel.hxx>
#include <dmapper/resourcemodel.hxx>
#include <ooxml/OOXMLDocument.hxx>
#include "OOXMLParserState.hxx"
......
......@@ -19,7 +19,7 @@
#ifndef INCLUDED_WRITERFILTER_SOURCE_OOXML_OOXMLPROPERTYSET_HXX
#define INCLUDED_WRITERFILTER_SOURCE_OOXML_OOXMLPROPERTYSET_HXX
#include <resourcemodel/WW8ResourceModel.hxx>
#include <dmapper/resourcemodel.hxx>
namespace writerfilter {
namespace ooxml
......
......@@ -29,7 +29,7 @@ class ContentHandler(xml.sax.handler.ContentHandler):
#ifndef INCLUDED_OOXML_RESOURCEIDS_HXX
#define INCLUDED_OOXML_RESOURCEIDS_HXX
#include <resourcemodel/WW8ResourceModel.hxx>
#include <dmapper/resourcemodel.hxx>
namespace writerfilter {
......
......@@ -11,7 +11,7 @@
#define INCLUDED_WRITERFILTER_SOURCE_RTFTOK_RTFREFERENCETABLE_HXX
#include <map>
#include <resourcemodel/WW8ResourceModel.hxx>
#include <dmapper/resourcemodel.hxx>
namespace writerfilter
{
......
......@@ -10,7 +10,7 @@
#ifndef INCLUDED_WRITERFILTER_SOURCE_RTFTOK_RTFVALUE_HXX
#define INCLUDED_WRITERFILTER_SOURCE_RTFTOK_RTFVALUE_HXX
#include <resourcemodel/WW8ResourceModel.hxx>
#include <dmapper/resourcemodel.hxx>
#include <com/sun/star/io/XInputStream.hpp>
#include <com/sun/star/embed/XEmbeddedObject.hpp>
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment