diff options
author | Luboš Luňák <l.lunak@suse.cz> | 2011-11-15 13:47:36 +0100 |
---|---|---|
committer | Luboš Luňák <l.lunak@suse.cz> | 2011-11-24 18:43:56 +0100 |
commit | 1acdbe4dfe0de152080992110efbb67e0639912d (patch) | |
tree | 134a06931453bb795ae48946750edcae12d159a0 /oox | |
parent | 49e4c3e5e139f0443e5432d99d6514038b62ce84 (diff) |
initial (very hacky) work on mathml ooxml import
This commit needs to be generally reworked for upstream, but it
more or less works.
Diffstat (limited to 'oox')
-rw-r--r-- | oox/Package_inc.mk | 1 | ||||
-rw-r--r-- | oox/inc/oox/export/starmathimport.hxx | 44 | ||||
-rw-r--r-- | oox/source/export/ooxmlexport.cxx | 5 |
3 files changed, 50 insertions, 0 deletions
diff --git a/oox/Package_inc.mk b/oox/Package_inc.mk index 10f2b4cbebd9..396c24cc5820 100644 --- a/oox/Package_inc.mk +++ b/oox/Package_inc.mk @@ -42,6 +42,7 @@ $(eval $(call gb_Package_add_file,oox_inc,inc/oox/export/shapes.hxx,oox/export/s $(eval $(call gb_Package_add_file,oox_inc,inc/oox/export/utils.hxx,oox/export/utils.hxx)) $(eval $(call gb_Package_add_file,oox_inc,inc/oox/export/vmlexport.hxx,oox/export/vmlexport.hxx)) $(eval $(call gb_Package_add_file,oox_inc,inc/oox/export/ooxmlexport.hxx,oox/export/ooxmlexport.hxx)) +$(eval $(call gb_Package_add_file,oox_inc,inc/oox/export/starmathimport.hxx,oox/export/starmathimport.hxx)) $(eval $(call gb_Package_add_file,oox_inc,inc/oox/helper/binarystreambase.hxx,oox/helper/binarystreambase.hxx)) $(eval $(call gb_Package_add_file,oox_inc,inc/oox/helper/containerhelper.hxx,oox/helper/containerhelper.hxx)) $(eval $(call gb_Package_add_file,oox_inc,inc/oox/helper/graphichelper.hxx,oox/helper/graphichelper.hxx)) diff --git a/oox/inc/oox/export/starmathimport.hxx b/oox/inc/oox/export/starmathimport.hxx new file mode 100644 index 000000000000..712efc94845a --- /dev/null +++ b/oox/inc/oox/export/starmathimport.hxx @@ -0,0 +1,44 @@ +/* -*- Mode: C++; tab-width: 4; indent-tabs-mode: nil; c-basic-offset: 4 -*- */ +/* + * Version: MPL 1.1 / GPLv3+ / LGPLv3+ + * + * The contents of this file are subject to the Mozilla Public License Version + * 1.1 (the "License"); you may not use this file except in compliance with + * the License or as specified alternatively below. You may obtain a copy of + * the License at http://www.mozilla.org/MPL/ + * + * Software distributed under the License is distributed on an "AS IS" basis, + * WITHOUT WARRANTY OF ANY KIND, either express or implied. See the License + * for the specific language governing rights and limitations under the + * License. + * + * Major Contributor(s): + * Copyright (C) 2011 Lubos Lunak <l.lunak@suse.cz> (initial developer) + * + * All Rights Reserved. + * + * For minor contributions see the git repository. + * + * Alternatively, the contents of this file may be used under the terms of + * either the GNU General Public License Version 3 or later (the "GPLv3+"), or + * the GNU Lesser General Public License Version 3 or later (the "LGPLv3+"), + * in which case the provisions of the GPLv3+ or the LGPLv3+ are applicable + * instead of those above. + */ +#ifndef _STARMATHIMPORT_HXX +#define _STARMATHIMPORT_HXX + +#include <com/sun/star/embed/XEmbeddedObject.hpp> + +#include <oox/dllapi.h> + +class OOX_DLLPUBLIC OoxmlFormulaImportBase +{ +public: + OoxmlFormulaImportBase(); + virtual void addFormula( com::sun::star::uno::Reference< com::sun::star::embed::XEmbeddedObject > ) = 0; +}; + +#endif + +/* vim:set shiftwidth=4 softtabstop=4 expandtab: */ diff --git a/oox/source/export/ooxmlexport.cxx b/oox/source/export/ooxmlexport.cxx index 30d13a93b138..b4e541cc3a1d 100644 --- a/oox/source/export/ooxmlexport.cxx +++ b/oox/source/export/ooxmlexport.cxx @@ -27,9 +27,14 @@ */ #include <oox/export/ooxmlexport.hxx> +#include <oox/export/starmathimport.hxx> OoxmlFormulaExportBase::OoxmlFormulaExportBase() { } +OoxmlFormulaImportBase::OoxmlFormulaImportBase() +{ +} + /* vim:set shiftwidth=4 softtabstop=4 expandtab: */ |