summaryrefslogtreecommitdiff
path: root/include/comphelper/embeddedobjectcontainer.hxx
diff options
context:
space:
mode:
authorJacobo Aragunde Pérez <jaragunde@igalia.com>2014-02-14 18:14:50 +0100
committerJacobo Aragunde Pérez <jaragunde@igalia.com>2014-02-24 13:24:52 +0100
commitc69ae9f8f80988afd31ec5a936984e131e18db7f (patch)
tree24cc2a301c3c4e9a217ad35a6184a1c079424a03 /include/comphelper/embeddedobjectcontainer.hxx
parent20a174ac1243fb6ad322347eb99c2d014bd4ca95 (diff)
comphelper: EmbeddedObjectContainer::GetObjectStream methods
These methods were added to provide access to the stream to the embedded object itself. Change-Id: I0a47a54852cddbd5ddd0a6599bba21999afd96ba
Diffstat (limited to 'include/comphelper/embeddedobjectcontainer.hxx')
-rw-r--r--include/comphelper/embeddedobjectcontainer.hxx4
1 files changed, 4 insertions, 0 deletions
diff --git a/include/comphelper/embeddedobjectcontainer.hxx b/include/comphelper/embeddedobjectcontainer.hxx
index 742ae4a2d56f..28be66768510 100644
--- a/include/comphelper/embeddedobjectcontainer.hxx
+++ b/include/comphelper/embeddedobjectcontainer.hxx
@@ -135,6 +135,10 @@ public:
// move an embedded object to another container (keep the persistent name)
bool MoveEmbeddedObject( const OUString& rName, EmbeddedObjectContainer& );
+ // get the stored representation for the object
+ com::sun::star::uno::Reference < com::sun::star::io::XInputStream > GetObjectStream( const ::com::sun::star::uno::Reference < ::com::sun::star::embed::XEmbeddedObject >&, OUString* pMediaType=0 );
+ com::sun::star::uno::Reference < com::sun::star::io::XInputStream > GetObjectStream( const OUString& aName, OUString* pMediaType );
+
// get the stored graphical representation for the object
com::sun::star::uno::Reference < com::sun::star::io::XInputStream > GetGraphicStream( const ::com::sun::star::uno::Reference < ::com::sun::star::embed::XEmbeddedObject >&, OUString* pMediaType=0 );