summaryrefslogtreecommitdiff
path: root/oox
diff options
context:
space:
mode:
authorMathias Bauer <mba@openoffice.org>2010-02-02 09:46:49 +0100
committerMathias Bauer <mba@openoffice.org>2010-02-02 09:46:49 +0100
commit612dfd6ffa0574ba4490aebad518f300b5782eca (patch)
tree6968fd8794fa8270d4a606822feac9a7d8a5bd35 /oox
parent21e8b874c4ed9e6b3b14ad177608c066b909b168 (diff)
errorneously added file removed
Diffstat (limited to 'oox')
-rw-r--r--oox/inc/oox/export/drawingml.hxx2
-rw-r--r--oox/inc/oox/export/vmlexport.hxx2
-rw-r--r--oox/inc/oox/vml/vmldrawing.hxx3
-rw-r--r--oox/prj/build.lst5
-rw-r--r--oox/prj/d.lst4
-rw-r--r--oox/source/export/drawingml.cxx21
-rw-r--r--oox/source/export/preset-definitions-to-shape-types.pl2
-rw-r--r--oox/source/export/shapes.cxx4
-rw-r--r--oox/util/makefile.mk12
9 files changed, 36 insertions, 19 deletions
diff --git a/oox/inc/oox/export/drawingml.hxx b/oox/inc/oox/export/drawingml.hxx
index 0859b15136d9..dbedb1b519c6 100644
--- a/oox/inc/oox/export/drawingml.hxx
+++ b/oox/inc/oox/export/drawingml.hxx
@@ -7,7 +7,7 @@
#include <com/sun/star/awt/FontDescriptor.hpp>
#include <com/sun/star/uno/XReference.hpp>
#include <tools/poly.hxx>
-#include <svx/escherex.hxx>
+#include <filter/msfilter/escherex.hxx>
class Graphic;
class String;
diff --git a/oox/inc/oox/export/vmlexport.hxx b/oox/inc/oox/export/vmlexport.hxx
index f349b99f466f..f0fe65e39901 100644
--- a/oox/inc/oox/export/vmlexport.hxx
+++ b/oox/inc/oox/export/vmlexport.hxx
@@ -30,7 +30,7 @@
#include <oox/dllapi.h>
#include <sax/fshelper.hxx>
-#include <svx/escherex.hxx>
+#include <filter/msfilter/escherex.hxx>
namespace rtl {
class OString;
diff --git a/oox/inc/oox/vml/vmldrawing.hxx b/oox/inc/oox/vml/vmldrawing.hxx
index f0bd75046c37..f9a80ac01022 100644
--- a/oox/inc/oox/vml/vmldrawing.hxx
+++ b/oox/inc/oox/vml/vmldrawing.hxx
@@ -33,7 +33,8 @@
#include <map>
#include <memory>
-#include "oox/ole/oleobjecthelper.hxx"
+
+#include <oox/ole/oleobjecthelper.hxx>
namespace com { namespace sun { namespace star {
namespace awt { struct Rectangle; }
diff --git a/oox/prj/build.lst b/oox/prj/build.lst
index a1dfa584543c..416b7e582a38 100644
--- a/oox/prj/build.lst
+++ b/oox/prj/build.lst
@@ -1,4 +1,4 @@
-oox oox : vos cppu cppuhelper comphelper sal offapi sax basegfx tools vcl BOOST:boost OPENSSL:openssl NULL
+oox oox : vos cppu cppuhelper comphelper sal offapi sax basegfx tools svx vcl BOOST:boost OPENSSL:openssl NULL
oox oox usr1 - all oox_mkout NULL
oox oox\prj get - all oox_prj NULL
oox oox\source\token nmake - all oox_token NULL
@@ -15,4 +15,5 @@ oox oox\source\vml nmake - all oox_vml oox_token NULL
oox oox\source\xls nmake - all oox_xls oox_token NULL
oox oox\source\dump nmake - all oox_dump oox_token NULL
oox oox\source\shape nmake - all oox_shape oox_token NULL
-oox oox\util nmake - all oox_util oox_token oox_helper oox_core oox_ole oox_vml oox_drawingml oox_diagram oox_chart oox_table oox_ppt oox_xls oox_dump oox_shape oox_docprop NULL
+oox oox\source\export nmake - all oox_export oox_token NULL
+oox oox\util nmake - all oox_util oox_token oox_helper oox_core oox_ole oox_vml oox_drawingml oox_diagram oox_chart oox_table oox_ppt oox_xls oox_dump oox_export oox_shape oox_docprop NULL
diff --git a/oox/prj/d.lst b/oox/prj/d.lst
index 2c9d8d5bae74..04a526dd567c 100644
--- a/oox/prj/d.lst
+++ b/oox/prj/d.lst
@@ -4,6 +4,8 @@ mkdir: %_DEST%\inc%_EXT%\oox\core
mkdir: %_DEST%\inc%_EXT%\oox\drawingml
mkdir: %_DEST%\inc%_EXT%\oox\drawingml\chart
mkdir: %_DEST%\inc%_EXT%\oox\drawingml\table
+mkdir: %_DEST%\inc%_EXT%\oox\export
+mkdir: %_DEST%\inc%_EXT%\oox\ole
mkdir: %_DEST%\inc%_EXT%\oox\vml
..\%__SRC%\misc\*.map %_DEST%\bin%_EXT%\*.map
@@ -30,8 +32,10 @@ mkdir: %_DEST%\inc%_EXT%\oox\vml
..\inc\oox\core\xmlfilterbase.hxx %_DEST%\inc%_EXT%\oox\core\xmlfilterbase.hxx
..\inc\oox\drawingml\chart\chartconverter.hxx %_DEST%\inc%_EXT%\oox\drawingml\chart\chartconverter.hxx
..\inc\oox\drawingml\table\tablestylelist.hxx %_DEST%\inc%_EXT%\oox\drawingml\table\tablestylelist.hxx
+..\inc\oox\ole\oleobjecthelper.hxx %_DEST%\inc%_EXT%\oox\ole\oleobjecthelper.hxx
..\inc\oox\vml\vmldrawing.hxx %_DEST%\inc%_EXT%\oox\vml\vmldrawing.hxx
..\inc\oox\vml\vmlshape.hxx %_DEST%\inc%_EXT%\oox\vml\vmlshape.hxx
+..\inc\oox\export\*.hxx %_DEST%\inc%_EXT%\oox\export\*.hxx
dos: sh -c "if test %OS% = MACOSX; then create-bundle %_DEST%\lib%_EXT%\*.dylib; fi"
diff --git a/oox/source/export/drawingml.cxx b/oox/source/export/drawingml.cxx
index d20e05aab927..46131e1385f5 100644
--- a/oox/source/export/drawingml.cxx
+++ b/oox/source/export/drawingml.cxx
@@ -43,6 +43,7 @@
#include <com/sun/star/beans/XPropertySet.hpp>
#include <com/sun/star/beans/XPropertyState.hpp>
#include <com/sun/star/container/XEnumerationAccess.hpp>
+#include <com/sun/star/container/XIndexAccess.hpp>
#include <com/sun/star/drawing/BitmapMode.hpp>
#include <com/sun/star/drawing/EnhancedCustomShapeAdjustmentValue.hpp>
#include <com/sun/star/drawing/LineDash.hpp>
@@ -50,6 +51,7 @@
#include <com/sun/star/drawing/LineStyle.hpp>
#include <com/sun/star/drawing/TextHorizontalAdjust.hpp>
#include <com/sun/star/drawing/TextVerticalAdjust.hpp>
+#include <com/sun/star/drawing/XShape.hpp>
#include <com/sun/star/i18n/ScriptType.hpp>
#include <com/sun/star/io/XOutputStream.hpp>
#include <com/sun/star/style/ParagraphAdjust.hpp>
@@ -66,8 +68,9 @@
#include <rtl/strbuf.hxx>
#include <sfx2/app.hxx>
#include <svl/languageoptions.hxx>
-#include <svx/escherex.hxx>
-#include <svx/svxenum.hxx>
+#include <filter/msfilter/escherex.hxx>
+#include <editeng/svxenum.hxx>
+#include <unotools/fontdefs.hxx>
using namespace ::com::sun::star;
using namespace ::com::sun::star::uno;
@@ -487,13 +490,13 @@ OUString DrawingML::WriteImage( const Graphic& rGraphic )
case DOCUMENT_XLSX: pComponent = "xl"; break;
}
- Reference< XOutputStream > xOutStream = mpFB->openOutputStream( OUStringBuffer()
- .appendAscii( pComponent )
- .appendAscii( "/media/image" )
- .append( (sal_Int32) mnImageCounter )
- .appendAscii( sExtension )
- .makeStringAndClear(),
- sMediaType );
+ Reference< XOutputStream > xOutStream = mpFB->openFragmentStream( OUStringBuffer()
+ .appendAscii( pComponent )
+ .appendAscii( "/media/image" )
+ .append( (sal_Int32) mnImageCounter )
+ .appendAscii( sExtension )
+ .makeStringAndClear(),
+ sMediaType );
xOutStream->writeBytes( Sequence< sal_Int8 >( (const sal_Int8*) aData, nDataSize ) );
xOutStream->closeOutput();
diff --git a/oox/source/export/preset-definitions-to-shape-types.pl b/oox/source/export/preset-definitions-to-shape-types.pl
index a05bff74ab90..bb4089315b8e 100644
--- a/oox/source/export/preset-definitions-to-shape-types.pl
+++ b/oox/source/export/preset-definitions-to-shape-types.pl
@@ -1204,7 +1204,7 @@ print <<EOF;
// '$src_text'
// which are part of the OOXML documentation
-#include <svx/escherex.hxx>
+#include <filter/msfilter/escherex.hxx>
const char* pShapeTypes[ ESCHER_ShpInst_COUNT ] =
{
diff --git a/oox/source/export/shapes.cxx b/oox/source/export/shapes.cxx
index b3849c59eeb3..96c3cba40324 100644
--- a/oox/source/export/shapes.cxx
+++ b/oox/source/export/shapes.cxx
@@ -69,9 +69,9 @@
#include <rtl/strbuf.hxx>
#include <sfx2/app.hxx>
#include <svl/languageoptions.hxx>
-#include <svx/escherex.hxx>
+#include <filter/msfilter/escherex.hxx>
#include <svx/svdoashp.hxx>
-#include <svx/svxenum.hxx>
+#include <editeng/svxenum.hxx>
#include <svx/unoapi.hxx>
using namespace ::com::sun::star;
diff --git a/oox/util/makefile.mk b/oox/util/makefile.mk
index bf12b1addf1b..c77eebe6100d 100644
--- a/oox/util/makefile.mk
+++ b/oox/util/makefile.mk
@@ -57,7 +57,8 @@ LIB1FILES= \
$(SLB)$/table.lib\
$(SLB)$/shape.lib\
$(SLB)$/dump.lib\
- $(SLB)$/docprop.lib
+ $(SLB)$/docprop.lib\
+ $(SLB)$/export.lib
# --- Shared-Library -----------------------------------------------
@@ -72,7 +73,14 @@ SHL1STDLIBS= \
$(RTLLIB) \
$(SALLIB) \
$(BASEGFXLIB) \
- $(SAXLIB)
+ $(SAXLIB) \
+ $(VCLLIB) \
+ $(SVTOOLLIB) \
+ $(SVLLIB) \
+ $(SVXCORELIB) \
+ $(MSFILTERLIB) \
+ $(UNOTOOLSLIB) \
+ $(TOOLSLIB)
# link openssl, copied this bit from ucb/source/ucp/webdav/makefile.mk
.IF "$(GUI)"=="WNT"