diff options
author | Frank Schönheit <fs@openoffice.org> | 2001-03-20 12:39:58 +0000 |
---|---|---|
committer | Frank Schönheit <fs@openoffice.org> | 2001-03-20 12:39:58 +0000 |
commit | b002d268484de35d1ee644fedff9f28c41f622d1 (patch) | |
tree | 591d085cb078e15b3f60769daddf63d1ae3153a5 /xmloff/source/forms/layerimport.cxx | |
parent | 1bbe796aa42d2dad227d189816b0a05c6f57d422 (diff) |
#83970# +createOfficeFormsContext
Diffstat (limited to 'xmloff/source/forms/layerimport.cxx')
-rw-r--r-- | xmloff/source/forms/layerimport.cxx | 19 |
1 files changed, 17 insertions, 2 deletions
diff --git a/xmloff/source/forms/layerimport.cxx b/xmloff/source/forms/layerimport.cxx index 71d08e7bb3..c8d0e1d91e 100644 --- a/xmloff/source/forms/layerimport.cxx +++ b/xmloff/source/forms/layerimport.cxx @@ -2,9 +2,9 @@ * * $RCSfile: layerimport.cxx,v $ * - * $Revision: 1.10 $ + * $Revision: 1.11 $ * - * last change: $Author: fs $ $Date: 2001-03-20 08:05:15 $ + * last change: $Author: fs $ $Date: 2001-03-20 13:39:58 $ * * The Contents of this file are made available subject to the terms of * either of the following licenses @@ -68,6 +68,9 @@ #ifndef _XMLOFF_FORMS_ELEMENTIMPORT_HXX_ #include "elementimport.hxx" #endif +#ifndef _XMLOFF_FORMS_OFFICEFORMS_HXX_ +#include "officeforms.hxx" +#endif #ifndef _XMLOFF_FORMS_STRINGS_HXX_ #include "strings.hxx" #endif @@ -463,6 +466,15 @@ namespace xmloff } //--------------------------------------------------------------------- + SvXMLImportContext* OFormLayerXMLImport_Impl::createOfficeFormsContext( + SvXMLImport& _rImport, + sal_uInt16 _nPrefix, + const rtl::OUString& _rLocalName) + { + return new OFormsRootImport( _rImport, _nPrefix, _rLocalName ); + } + + //--------------------------------------------------------------------- SvXMLImportContext* OFormLayerXMLImport_Impl::createContext(const sal_uInt16 _nPrefix, const rtl::OUString& _rLocalName, const Reference< sax::XAttributeList >& _rxAttribs) { @@ -492,6 +504,9 @@ namespace xmloff /************************************************************************* * history: * $Log: not supported by cvs2svn $ + * Revision 1.10 2001/03/20 08:05:15 fs + * #85514# added an attribute to the map for compatibility to old (buggy) files + * * Revision 1.9 2001/02/28 16:42:16 fs * State/DefaultState are int16-properties * |