diff options
author | Luboš Luňák <l.lunak@suse.cz> | 2011-11-25 17:08:17 +0100 |
---|---|---|
committer | Luboš Luňák <l.lunak@suse.cz> | 2011-11-29 13:27:43 +0100 |
commit | 34a98b79da15793bb9c1454239ae9162c4db94c0 (patch) | |
tree | 7ba41b00de334ed88d1c877e0412e8dd47eacf62 /oox | |
parent | 93be239c9512c27369e1134150610248e93d6157 (diff) |
set properly initial size of starmath component when importing docx
Diffstat (limited to 'oox')
-rw-r--r-- | oox/inc/oox/mathml/import.hxx | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/oox/inc/oox/mathml/import.hxx b/oox/inc/oox/mathml/import.hxx index 715426405dba..8c922abf73ac 100644 --- a/oox/inc/oox/mathml/import.hxx +++ b/oox/inc/oox/mathml/import.hxx @@ -29,6 +29,7 @@ #define _STARMATHIMPORT_HXX #include <com/sun/star/embed/XEmbeddedObject.hpp> +#include <tools/gen.hxx> #include <oox/dllapi.h> @@ -40,11 +41,17 @@ namespace formulaimport class XmlStream; } +/** + Interface class, StarMath will implement readFormulaOoxml() to read OOXML + representing the formula and getFormulaSize() to provide the size of the resulting + formula. + */ class OOX_DLLPUBLIC FormulaImportBase { public: FormulaImportBase(); virtual void readFormulaOoxml( oox::formulaimport::XmlStream& stream ) = 0; + virtual Size getFormulaSize() const = 0; }; } // namespace |