summaryrefslogtreecommitdiff
path: root/include
diff options
context:
space:
mode:
authorJorenz Paragas <j.paragas.237@gmail.com>2016-05-05 18:05:57 -0700
committerNoel Grandin <noelgrandin@gmail.com>2016-05-06 06:58:53 +0000
commit1aeca4b64aac45e64eaab32a0726850ff30dea31 (patch)
treedac9511b8a32b34fee26a58c183271e8970d5afe /include
parentf3d9aab8410c00298f29ca0194c5d33d53c63ff2 (diff)
tdf#42949: clean up includes in include/oox/export with iwyu
...and fix the usual compiler errors that occurred as a result. Change-Id: I54781d3f01e9f5a87fd008870c825b2d8154fd59 Reviewed-on: https://gerrit.libreoffice.org/24686 Tested-by: Jenkins <ci@libreoffice.org> Reviewed-by: Noel Grandin <noelgrandin@gmail.com>
Diffstat (limited to 'include')
-rw-r--r--include/oox/export/chartexport.hxx32
-rw-r--r--include/oox/export/drawingml.hxx30
-rw-r--r--include/oox/export/shapes.hxx29
-rw-r--r--include/oox/export/utils.hxx4
-rw-r--r--include/oox/export/vmlexport.hxx30
5 files changed, 96 insertions, 29 deletions
diff --git a/include/oox/export/chartexport.hxx b/include/oox/export/chartexport.hxx
index 7c9e4983c759..528dc84473f5 100644
--- a/include/oox/export/chartexport.hxx
+++ b/include/oox/export/chartexport.hxx
@@ -20,48 +20,52 @@
#ifndef INCLUDED_OOX_EXPORT_CHARTEXPORT_HXX
#define INCLUDED_OOX_EXPORT_CHARTEXPORT_HXX
+#include <set>
+#include <vector>
+
+#include <com/sun/star/uno/Reference.hxx>
+#include <com/sun/star/uno/Sequence.hxx>
#include <oox/dllapi.h>
-#include <com/sun/star/uno/XReference.hpp>
#include <oox/export/drawingml.hxx>
+#include <oox/export/utils.hxx>
#include <oox/token/tokens.hxx>
+#include <rtl/ustring.hxx>
+#include <sal/types.h>
#include <sax/fshelper.hxx>
-#include <vcl/mapmod.hxx>
-
-#include <com/sun/star/chart2/RelativePosition.hpp>
-#include <com/sun/star/chart2/RelativeSize.hpp>
-
-#include <set>
namespace com { namespace sun { namespace star {
+ namespace beans {
+ class XPropertySet;
+ }
namespace chart {
class XDiagram;
class XChartDocument;
- class XChartDataArray;
- struct ChartSeriesAddress;
}
namespace chart2 {
+ struct RelativePosition;
+ struct RelativeSize;
class XDiagram;
class XChartDocument;
class XDataSeries;
class XChartType;
namespace data
{
- class XDataProvider;
class XDataSequence;
}
}
namespace drawing {
class XShape;
- class XShapes;
- }
- namespace task {
- class XStatusIndicator;
}
namespace frame {
class XModel;
}
}}}
+namespace oox {
+namespace core {
+ class XmlFilterBase;
+}}
+
namespace oox { namespace drawingml {
enum AxesType
diff --git a/include/oox/export/drawingml.hxx b/include/oox/export/drawingml.hxx
index e406ba75cddd..10b5e953df63 100644
--- a/include/oox/export/drawingml.hxx
+++ b/include/oox/export/drawingml.hxx
@@ -20,16 +20,22 @@
#ifndef INCLUDED_OOX_EXPORT_DRAWINGML_HXX
#define INCLUDED_OOX_EXPORT_DRAWINGML_HXX
+#include <map>
+
+#include <com/sun/star/beans/PropertyState.hpp>
+#include <com/sun/star/uno/Any.hxx>
+#include <com/sun/star/uno/Reference.hxx>
+#include <com/sun/star/uno/Sequence.hxx>
#include <oox/dllapi.h>
-#include <sax/fshelper.hxx>
-#include <rtl/strbuf.hxx>
-#include <com/sun/star/awt/FontDescriptor.hpp>
-#include <com/sun/star/awt/Gradient.hpp>
-#include <com/sun/star/uno/XReference.hpp>
-#include <filter/msfilter/escherex.hxx>
-#include "oox/drawingml/drawingmltypes.hxx"
+#include <oox/drawingml/drawingmltypes.hxx>
#include <oox/token/tokens.hxx>
#include <oox/export/utils.hxx>
+#include <rtl/string.hxx>
+#include <rtl/ustring.hxx>
+#include <sal/types.h>
+#include <sax/fshelper.hxx>
+#include <svx/msdffdef.hxx>
+#include <vcl/checksum.hxx>
#ifndef OOX_DRAWINGML_EXPORT_ROTATE_CLOCKWISIFY
// Our rotation is counter-clockwise and is in 100ths of a degree.
@@ -40,7 +46,12 @@
class Graphic;
namespace com { namespace sun { namespace star {
+namespace awt {
+ struct FontDescriptor;
+ struct Gradient;
+}
namespace beans {
+ struct PropertyValue;
class XPropertySet;
class XPropertyState;
}
@@ -57,9 +68,14 @@ namespace text {
namespace io {
class XOutputStream;
}
+namespace uno {
+ class XInterface;
+}
}}}
+struct EscherConnectorListEntry;
class OutlinerParaObject;
+class Rectangle;
namespace tools {
class PolyPolygon;
diff --git a/include/oox/export/shapes.hxx b/include/oox/export/shapes.hxx
index b2cb828a8dd3..d6ae6151b7bc 100644
--- a/include/oox/export/shapes.hxx
+++ b/include/oox/export/shapes.hxx
@@ -20,13 +20,20 @@
#ifndef INCLUDED_OOX_EXPORT_SHAPES_HXX
#define INCLUDED_OOX_EXPORT_SHAPES_HXX
+#include <cstddef>
+#include <memory>
+#include <unordered_map>
+
+#include <com/sun/star/awt/Size.hpp>
+#include <com/sun/star/uno/Reference.hxx>
#include <oox/dllapi.h>
-#include <com/sun/star/uno/XReference.hpp>
#include <oox/export/drawingml.hxx>
+#include <oox/export/utils.hxx>
+#include <rtl/ustring.hxx>
+#include <sal/types.h>
#include <sax/fshelper.hxx>
-#include <vcl/mapmod.hxx>
#include <tools/fract.hxx>
-#include <unordered_map>
+#include <vcl/mapmod.hxx>
namespace com { namespace sun { namespace star {
namespace beans {
@@ -34,14 +41,28 @@ namespace beans {
}
namespace drawing {
class XShape;
- class XShapes;
}
+
namespace embed {
class XEmbeddedObject;
}
+namespace io {
+ class XInputStream;
+}
+namespace uno {
+ class XComponentContext;
+ class XInterface;
+}
}}}
namespace oox {
+namespace core {
+ class XmlFilterBase;
+}}
+
+class Graphic;
+
+namespace oox {
OOX_DLLPUBLIC css::uno::Reference<css::io::XInputStream> GetOLEObjectStream(
css::uno::Reference<css::uno::XComponentContext> const& xContext,
diff --git a/include/oox/export/utils.hxx b/include/oox/export/utils.hxx
index 32a9fbed2a0f..599e45ee55f8 100644
--- a/include/oox/export/utils.hxx
+++ b/include/oox/export/utils.hxx
@@ -20,7 +20,9 @@
#ifndef INCLUDED_OOX_EXPORT_UTILS_HXX
#define INCLUDED_OOX_EXPORT_UTILS_HXX
-#include <rtl/ustring.hxx>
+#include <rtl/string.hxx>
+#include <rtl/textenc.h>
+#include <sal/types.h>
#define I32S(x) OString::number( (sal_Int32) x ).getStr()
#define I64S(x) OString::number( (sal_Int64) x ).getStr()
diff --git a/include/oox/export/vmlexport.hxx b/include/oox/export/vmlexport.hxx
index 1c2053406f05..37b2af0b8305 100644
--- a/include/oox/export/vmlexport.hxx
+++ b/include/oox/export/vmlexport.hxx
@@ -20,12 +20,36 @@
#ifndef INCLUDED_OOX_EXPORT_VMLEXPORT_HXX
#define INCLUDED_OOX_EXPORT_VMLEXPORT_HXX
+#include <com/sun/star/uno/Reference.hxx>
+#include <editeng/outlobj.hxx>
+#include <filter/msfilter/escherex.hxx>
#include <oox/dllapi.h>
-#include <oox/export/drawingml.hxx>
+#include <rtl/strbuf.hxx>
+#include <rtl/string.hxx>
+#include <rtl/ustring.hxx>
+#include <sal/types.h>
#include <sax/fshelper.hxx>
-#include <filter/msfilter/escherex.hxx>
-#include <editeng/outlobj.hxx>
+#include <vcl/checksum.hxx>
+
+namespace com { namespace sun { namespace star {
+ namespace drawing {
+ class XShape;
+ }
+}}}
+namespace oox {
+ namespace drawingml {
+ class DrawingML;
+ }
+}
+
+namespace sax_fastparser {
+ class FastAttributeList;
+}
+
+class Point;
+class Rectangle;
+class SdrObject;
namespace oox {