diff options
author | Michael Brauer <mib@openoffice.org> | 2001-06-19 14:08:23 +0000 |
---|---|---|
committer | Michael Brauer <mib@openoffice.org> | 2001-06-19 14:08:23 +0000 |
commit | 10763f3a937772e924a9bb5198aa57921b3edaa5 (patch) | |
tree | a1a16a68d36ef1c96ff140983118cdf3bb5d913e /xmloff/inc | |
parent | 41a51f5f23bddc4265293eb62eac4d40ab30e8f3 (diff) |
#87313#: embedded images as base64
Diffstat (limited to 'xmloff/inc')
-rw-r--r-- | xmloff/inc/XMLBackgroundImageContext.hxx | 23 | ||||
-rw-r--r-- | xmloff/inc/XMLBase64Export.hxx | 11 |
2 files changed, 30 insertions, 4 deletions
diff --git a/xmloff/inc/XMLBackgroundImageContext.hxx b/xmloff/inc/XMLBackgroundImageContext.hxx index 0be566c98d27..6cab784cf8ca 100644 --- a/xmloff/inc/XMLBackgroundImageContext.hxx +++ b/xmloff/inc/XMLBackgroundImageContext.hxx @@ -2,9 +2,9 @@ * * $RCSfile: XMLBackgroundImageContext.hxx,v $ * - * $Revision: 1.1 $ + * $Revision: 1.2 $ * - * last change: $Author: mib $ $Date: 2000-10-19 14:24:56 $ + * last change: $Author: mib $ $Date: 2001-06-19 15:04:44 $ * * The Contents of this file are made available subject to the terms of * either of the following licenses @@ -62,15 +62,29 @@ #ifndef _XMLBACKGROUNDIMAGECONTEXT_HXX #define _XMLBACKGROUNDIMAGECONTEXT_HXX +#ifndef _COM_SUN_STAR_STYLE_GRAPHICLOCATION_HPP_ +#include <com/sun/star/style/GraphicLocation.hpp> +#endif + #ifndef _XMLOFF_XMLELEMENTPROPERTYCONTEXT_HXX #include "XMLElementPropertyContext.hxx" #endif +namespace com { namespace sun { namespace star { + namespace io { class XOutputStream; } +} } } + class XMLBackgroundImageContext : public XMLElementPropertyContext { XMLPropertyState aPosProp; XMLPropertyState aFilterProp; + ::com::sun::star::style::GraphicLocation ePos; + ::rtl::OUString sURL; + ::rtl::OUString sFilter; + + ::com::sun::star::uno::Reference < ::com::sun::star::io::XOutputStream > xBase64Stream; + private: void ProcessAttrs( const ::com::sun::star::uno::Reference< @@ -92,6 +106,11 @@ public: virtual ~XMLBackgroundImageContext(); + SvXMLImportContext *CreateChildContext( sal_uInt16 nPrefix, + const ::rtl::OUString& rLocalName, + const ::com::sun::star::uno::Reference< + ::com::sun::star::xml::sax::XAttributeList > & xAttrList ); + virtual void EndElement(); }; diff --git a/xmloff/inc/XMLBase64Export.hxx b/xmloff/inc/XMLBase64Export.hxx index 5b9137f637e6..014dd92d10e2 100644 --- a/xmloff/inc/XMLBase64Export.hxx +++ b/xmloff/inc/XMLBase64Export.hxx @@ -2,9 +2,9 @@ * * $RCSfile: XMLBase64Export.hxx,v $ * - * $Revision: 1.1 $ + * $Revision: 1.2 $ * - * last change: $Author: mib $ $Date: 2001-05-18 13:13:00 $ + * last change: $Author: mib $ $Date: 2001-06-19 14:44:43 $ * * The Contents of this file are made available subject to the terms of * either of the following licenses @@ -79,6 +79,13 @@ public: sal_Bool exportXML( const ::com::sun::star::uno::Reference < ::com::sun::star::io::XInputStream > & rIn ); + sal_Bool exportElement( const ::com::sun::star::uno::Reference < + ::com::sun::star::io::XInputStream > & rIn, + sal_uInt16 nNamespace, + enum ::xmloff::token::XMLTokenEnum eName ); + sal_Bool exportOfficeBinaryDataElement( + const ::com::sun::star::uno::Reference < + ::com::sun::star::io::XInputStream > & rIn ); }; |