diff options
author | Kurt Zenker <kz@openoffice.org> | 2008-08-14 16:14:14 +0000 |
---|---|---|
committer | Kurt Zenker <kz@openoffice.org> | 2008-08-14 16:14:14 +0000 |
commit | 061ce55ac0864f170f3e6dbc944ec51c0bf7b569 (patch) | |
tree | 346ecf978420bf2a7a7c4dc5457e47fccbd7f55a /sdext/source/pdfimport/tree/imagecontainer.hxx | |
parent | 2bc9cff1fc5445fb87e8efc9f2577b80a4533ce0 (diff) |
INTEGRATION: CWS pdf25 (1.1.2); FILE ADDED
2008/07/24 12:32:59 akhva 1.1.2.1: #90061
Diffstat (limited to 'sdext/source/pdfimport/tree/imagecontainer.hxx')
-rw-r--r-- | sdext/source/pdfimport/tree/imagecontainer.hxx | 65 |
1 files changed, 65 insertions, 0 deletions
diff --git a/sdext/source/pdfimport/tree/imagecontainer.hxx b/sdext/source/pdfimport/tree/imagecontainer.hxx new file mode 100644 index 000000000000..530bfe64b37c --- /dev/null +++ b/sdext/source/pdfimport/tree/imagecontainer.hxx @@ -0,0 +1,65 @@ +/************************************************************************* + * + * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER. + * + * Copyright 2008 by Sun Microsystems, Inc. + * + * OpenOffice.org - a multi-platform office productivity suite + * + * $RCSfile: imagecontainer.hxx,v $ + * + * $Revision: 1.2 $ + * + * This file is part of OpenOffice.org. + * + * OpenOffice.org is free software: you can redistribute it and/or modify + * it under the terms of the GNU Lesser General Public License version 3 + * only, as published by the Free Software Foundation. + * + * OpenOffice.org is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + * GNU Lesser General Public License version 3 for more details + * (a copy is included in the LICENSE file that accompanied this code). + * + * You should have received a copy of the GNU Lesser General Public License + * version 3 along with OpenOffice.org. If not, see + * <http://www.openoffice.org/license.html> + * for a copy of the LGPLv3 License. + * + ************************************************************************/ + +#ifndef INCLUDED_PDFI_IMAGECONTAINER_HXX +#define INCLUDED_PDFI_IMAGECONTAINER_HXX + +#include "pdfihelper.hxx" + +#include <rtl/ustring.hxx> +#include <com/sun/star/uno/Reference.hxx> +#include <com/sun/star/uno/XComponentContext.hpp> +#include <com/sun/star/awt/XBitmap.hpp> + +#include <vector> +#include <hash_map> + +namespace pdfi +{ + struct EmitContext; + + class ImageContainer + { + private: + std::vector< ::com::sun::star::uno::Sequence< + ::com::sun::star::beans::PropertyValue> > m_aImages; + + public: + ImageContainer(); + + ImageId addImage( const ::com::sun::star::uno::Sequence< + ::com::sun::star::beans::PropertyValue>& xBitmap ); + void writeBase64EncodedStream( ImageId nImageId, EmitContext& rContext ); + }; +} + +#endif + |