Kaydet (Commit) a0d2c3c5 authored tarafından Miklos Vajna's avatar Miklos Vajna

adapt RtfSdrExport and oox::vml::VMLExport to filter changes

üst 6d0b3fe0
...@@ -111,7 +111,7 @@ private: ...@@ -111,7 +111,7 @@ private:
virtual void OpenContainer( sal_uInt16 nEscherContainer, int nRecInstance = 0 ); virtual void OpenContainer( sal_uInt16 nEscherContainer, int nRecInstance = 0 );
virtual void CloseContainer(); virtual void CloseContainer();
virtual sal_uInt32 EnterGroup( const String& rShapeName, const Rectangle* pBoundRect = 0 ); virtual sal_uInt32 EnterGroup( const OUString& rShapeName, const Rectangle* pBoundRect = 0 );
virtual void LeaveGroup(); virtual void LeaveGroup();
virtual void AddShape( sal_uInt32 nShapeType, sal_uInt32 nShapeFlags, sal_uInt32 nShapeId = 0 ); virtual void AddShape( sal_uInt32 nShapeType, sal_uInt32 nShapeFlags, sal_uInt32 nShapeId = 0 );
......
...@@ -99,7 +99,7 @@ void VMLExport::CloseContainer() ...@@ -99,7 +99,7 @@ void VMLExport::CloseContainer()
EscherEx::CloseContainer(); EscherEx::CloseContainer();
} }
sal_uInt32 VMLExport::EnterGroup( const String& rShapeName, const Rectangle* pRect ) sal_uInt32 VMLExport::EnterGroup( const OUString& rShapeName, const Rectangle* pRect )
{ {
sal_uInt32 nShapeId = GenerateShapeId(); sal_uInt32 nShapeId = GenerateShapeId();
...@@ -108,8 +108,8 @@ sal_uInt32 VMLExport::EnterGroup( const String& rShapeName, const Rectangle* pRe ...@@ -108,8 +108,8 @@ sal_uInt32 VMLExport::EnterGroup( const String& rShapeName, const Rectangle* pRe
pAttrList->add( XML_id, ShapeIdString( nShapeId ) ); pAttrList->add( XML_id, ShapeIdString( nShapeId ) );
if ( rShapeName.Len() ) if ( rShapeName.getLength() )
pAttrList->add( XML_alt, OUStringToOString( OUString( rShapeName ), RTL_TEXTENCODING_UTF8 ) ); pAttrList->add( XML_alt, OUStringToOString( rShapeName, RTL_TEXTENCODING_UTF8 ) );
// style // style
if ( pRect ) if ( pRect )
......
...@@ -82,7 +82,7 @@ void RtfSdrExport::CloseContainer() ...@@ -82,7 +82,7 @@ void RtfSdrExport::CloseContainer()
EscherEx::CloseContainer(); EscherEx::CloseContainer();
} }
sal_uInt32 RtfSdrExport::EnterGroup( const String& /*rShapeName*/, const Rectangle* /*pRect*/ ) sal_uInt32 RtfSdrExport::EnterGroup( const OUString& /*rShapeName*/, const Rectangle* /*pRect*/ )
{ {
SAL_INFO("sw.rtf", OSL_THIS_FUNC); SAL_INFO("sw.rtf", OSL_THIS_FUNC);
......
...@@ -82,7 +82,7 @@ private: ...@@ -82,7 +82,7 @@ private:
virtual void CloseContainer(); virtual void CloseContainer();
using EscherEx::EnterGroup; using EscherEx::EnterGroup;
virtual sal_uInt32 EnterGroup( const String& rShapeName, const Rectangle* pBoundRect = 0 ); virtual sal_uInt32 EnterGroup( const OUString& rShapeName, const Rectangle* pBoundRect = 0 );
virtual void LeaveGroup(); virtual void LeaveGroup();
virtual void AddShape( sal_uInt32 nShapeType, sal_uInt32 nShapeFlags, sal_uInt32 nShapeId = 0 ); virtual void AddShape( sal_uInt32 nShapeType, sal_uInt32 nShapeFlags, sal_uInt32 nShapeId = 0 );
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment