summaryrefslogtreecommitdiff
path: root/include/oox/ole/olehelper.hxx
diff options
context:
space:
mode:
authorNoel Power <noel.power@suse.com>2013-06-10 17:30:07 +0100
committerNoel Power <noel.power@suse.com>2013-06-11 14:10:01 +0100
commit866845356629dd51660b73330bb9c8a2696147dd (patch)
tree2d2a48289de1a877acbda4dacdbd7df9d47b19e5 /include/oox/ole/olehelper.hxx
parent74d631dfb37ec870575d873c82e982a58f65d60c (diff)
fix build error, reinstate WriteOCXExcelKludgeStream to export ole control
new ole export used WriteOCXExcelKludgeStream but that function dissapeared when msocximex was stripped of ocx control import ( now we use the new filters in oox ) When that stuff was moved WriteOCXExcelKludgeStream was #ifdef'ed out Change-Id: I370983efa5e8c4ba2b210dfb7535ea211d13a8c1
Diffstat (limited to 'include/oox/ole/olehelper.hxx')
-rw-r--r--include/oox/ole/olehelper.hxx4
1 files changed, 4 insertions, 0 deletions
diff --git a/include/oox/ole/olehelper.hxx b/include/oox/ole/olehelper.hxx
index e75a0cd07588..85cca196c4f0 100644
--- a/include/oox/ole/olehelper.hxx
+++ b/include/oox/ole/olehelper.hxx
@@ -39,6 +39,8 @@
#include "oox/dllapi.h"
#include "sot/storage.hxx"
+class SvGlobalName;
+
namespace oox {
class BinaryInputStream;
class BinaryOutputStream;
@@ -122,6 +124,7 @@ public:
representation (in uppercase characters).
*/
static OUString importGuid( BinaryInputStream& rInStrm );
+ static void exportGuid( BinaryOutputStream& rOutStrm, const SvGlobalName& rId );
/** Imports an OLE StdFont font structure from the current position of the
passed binary stream.
@@ -175,6 +178,7 @@ public:
sal_Bool ReadOCXCtlsStream(SotStorageStreamRef& rSrc1, ::com::sun::star::uno::Reference< com::sun::star::form::XFormComponent > & rxFormComp,
sal_Int32 nPos, sal_Int32 nSize );
static sal_Bool WriteOCXStream( const ::com::sun::star::uno::Reference< ::com::sun::star::frame::XModel >& rxModel, SotStorageRef &rSrc1, const com::sun::star::uno::Reference< com::sun::star::awt::XControlModel > &rControlModel, const com::sun::star::awt::Size& rSize,OUString &rName);
+ static sal_Bool WriteOCXExcelKludgeStream( const ::com::sun::star::uno::Reference< ::com::sun::star::frame::XModel >& rxModel, const ::com::sun::star::uno::Reference< ::com::sun::star::io::XOutputStream >& xOutStrm, const com::sun::star::uno::Reference< com::sun::star::awt::XControlModel > &rControlModel, const com::sun::star::awt::Size& rSize,OUString &rName);
#ifdef SvxMSConvertOCXControlsRemoved
const com::sun::star::uno::Reference< com::sun::star::drawing::XShapes > & GetShapes();