summaryrefslogtreecommitdiffstats
path: root/writerfilter/source/dmapper/OLEHandler.hxx
diff options
context:
space:
mode:
authorOliver Bolte <obo@openoffice.org>2008-07-22 11:40:48 +0000
committerOliver Bolte <obo@openoffice.org>2008-07-22 11:40:48 +0000
commitca8caa739b66ed0fe1364f06a64e50b7211fa82b (patch)
treea46249e5c33fe4902aef07987ab1899a28dd8263 /writerfilter/source/dmapper/OLEHandler.hxx
parentINTEGRATION: CWS xmlfilter06 (1.1.4); FILE MERGED (diff)
downloadcore-ca8caa739b66ed0fe1364f06a64e50b7211fa82b.tar.gz
core-ca8caa739b66ed0fe1364f06a64e50b7211fa82b.zip
INTEGRATION: CWS xmlfilter06 (1.1.4); FILE MERGED
2008/06/13 11:37:02 os 1.1.4.3: OleObjects and Shapes combined 2008/05/27 11:36:08 dr 1.1.4.2: joined changes from CWS xmlfilter05 2008/04/24 06:45:58 dr 1.1.4.1: file OLEHandler.hxx was added on branch cws_dev300_xmlfilter06 on 2008-05-27 11:36:08 +0000
Diffstat (limited to 'writerfilter/source/dmapper/OLEHandler.hxx')
-rw-r--r--writerfilter/source/dmapper/OLEHandler.hxx21
1 files changed, 20 insertions, 1 deletions
diff --git a/writerfilter/source/dmapper/OLEHandler.hxx b/writerfilter/source/dmapper/OLEHandler.hxx
index 02f58c0d5911..34b4a0316819 100644
--- a/writerfilter/source/dmapper/OLEHandler.hxx
+++ b/writerfilter/source/dmapper/OLEHandler.hxx
@@ -7,7 +7,7 @@
* OpenOffice.org - a multi-platform office productivity suite
*
* $RCSfile: OLEHandler.hxx,v $
- * $Revision: 1.2 $
+ * $Revision: 1.3 $
*
* This file is part of OpenOffice.org.
*
@@ -35,11 +35,16 @@
#endif
#include <resourcemodel/WW8ResourceModel.hxx>
#include <boost/shared_ptr.hpp>
+#include <com/sun/star/awt/Size.hpp>
+#include <com/sun/star/awt/Point.hpp>
namespace com{ namespace sun{ namespace star{
namespace embed{
class XEmbeddedObject;
}
+ namespace graphic{
+ class XGraphic;
+ }
namespace io{
class XInputStream;
}
@@ -65,6 +70,14 @@ class WRITERFILTER_DLLPRIVATE OLEHandler : public Properties
::rtl::OUString m_sObjectId;
::rtl::OUString m_sr_id;
+ sal_Int32 m_nDxaOrig;
+ sal_Int32 m_nDyaOrig;
+
+ ::com::sun::star::awt::Size m_aShapeSize;
+ ::com::sun::star::awt::Point m_aShapePosition;
+
+ ::com::sun::star::uno::Reference< ::com::sun::star::graphic::XGraphic > m_xReplacement;
+
::com::sun::star::uno::Reference< ::com::sun::star::io::XInputStream > m_xInputStream;
public:
OLEHandler();
@@ -75,6 +88,12 @@ public:
virtual void sprm(Sprm & sprm);
::rtl::OUString copyOLEOStream( ::com::sun::star::uno::Reference< ::com::sun::star::text::XTextDocument > xTextDocument );
+
+ ::com::sun::star::awt::Size getSize() const { return m_aShapeSize;}
+ ::com::sun::star::awt::Point getPosition() const { return m_aShapePosition;}
+ ::com::sun::star::uno::Reference< ::com::sun::star::graphic::XGraphic >
+ getReplacement() const { return m_xReplacement; }
+
};
typedef boost::shared_ptr< OLEHandler > OLEHandlerPtr;
}}