From e74ddf429e39df01c751a3d2b452bf939fdc9a33 Mon Sep 17 00:00:00 2001 From: Miklos Vajna Date: Thu, 12 Dec 2013 09:44:50 +0100 Subject: oox: fix ShapeExport::WriteTextBox() for DOCX when shape has text This is still not perfect (oox needs to call back to sw to do the real export of the text), but content down to the wps:txbx element is now fine. Change-Id: I355178ab6492d65099397874ff50818fa1f35949 --- include/oox/export/drawingml.hxx | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'include') diff --git a/include/oox/export/drawingml.hxx b/include/oox/export/drawingml.hxx index f5a89dd3c37f..bba93cde96a9 100644 --- a/include/oox/export/drawingml.hxx +++ b/include/oox/export/drawingml.hxx @@ -118,7 +118,7 @@ public: void WriteTransformation( const Rectangle& rRectangle, sal_Int32 nXmlNamespace, sal_Bool bFlipH = false, sal_Bool bFlipV = false, sal_Int32 nRotation = 0 ); - void WriteText( ::com::sun::star::uno::Reference< ::com::sun::star::uno::XInterface > rXIface ); + void WriteText( ::com::sun::star::uno::Reference< ::com::sun::star::uno::XInterface > rXIface, bool bBodyPr = true, bool bText = true, sal_Int32 nXmlNamespace = 0); void WriteParagraph( ::com::sun::star::uno::Reference< ::com::sun::star::text::XTextContent > rParagraph ); void WriteParagraphProperties( ::com::sun::star::uno::Reference< ::com::sun::star::text::XTextContent > rParagraph ); void WriteParagraphNumbering( ::com::sun::star::uno::Reference< ::com::sun::star::beans::XPropertySet > rXPropSet, -- cgit