summaryrefslogtreecommitdiff
path: root/include/oox
diff options
context:
space:
mode:
authorJorenz Paragas <j.paragas.237@gmail.com>2016-06-08 21:43:35 -0700
committerNoel Grandin <noelgrandin@gmail.com>2016-06-10 08:35:44 +0000
commit5b156b37d487b96ec19d65e01cd8cedd26a2150d (patch)
tree2a879ddefb6a6d506f02e7f99b773dc21e4150d1 /include/oox
parent4c8d656b897229d5a6f2126fe274d338ec997f76 (diff)
tdf#42949: clean up includes in include/oox/vml with iwyu
Change-Id: I753880ce146fef6523561290b8e13310d9f7219c Reviewed-on: https://gerrit.libreoffice.org/26142 Tested-by: Jenkins <ci@libreoffice.org> Reviewed-by: Noel Grandin <noelgrandin@gmail.com>
Diffstat (limited to 'include/oox')
-rw-r--r--include/oox/vml/vmldrawing.hxx12
-rw-r--r--include/oox/vml/vmldrawingfragment.hxx11
-rw-r--r--include/oox/vml/vmlformatting.hxx17
-rw-r--r--include/oox/vml/vmlinputstream.hxx10
-rw-r--r--include/oox/vml/vmlshape.hxx10
-rw-r--r--include/oox/vml/vmlshapecontainer.hxx8
-rw-r--r--include/oox/vml/vmlshapecontext.hxx5
-rw-r--r--include/oox/vml/vmltextbox.hxx9
-rw-r--r--include/oox/vml/vmltextboxcontext.hxx7
9 files changed, 71 insertions, 18 deletions
diff --git a/include/oox/vml/vmldrawing.hxx b/include/oox/vml/vmldrawing.hxx
index 9ef5fc28e02f..e9309f6c8497 100644
--- a/include/oox/vml/vmldrawing.hxx
+++ b/include/oox/vml/vmldrawing.hxx
@@ -23,14 +23,15 @@
#include <map>
#include <memory>
#include <vector>
-#include <oox/ole/axcontrol.hxx>
-#include <oox/ole/oleobjecthelper.hxx>
-#include <oox/vml/vmlshapecontainer.hxx>
+
+#include <com/sun/star/uno/Reference.hxx>
#include <oox/dllapi.h>
+#include <oox/ole/oleobjecthelper.hxx>
+#include <rtl/ustring.hxx>
+#include <sal/types.h>
namespace com { namespace sun { namespace star {
namespace awt { struct Rectangle; }
- namespace awt { class XControlModel; }
namespace drawing { class XDrawPage; }
namespace drawing { class XShape; }
namespace drawing { class XShapes; }
@@ -39,13 +40,14 @@ namespace com { namespace sun { namespace star {
namespace oox {
namespace core { class XmlFilterBase; }
namespace ole { class EmbeddedControl; }
+ namespace ole { class EmbeddedForm; }
+ namespace vml { class ShapeContainer; }
}
namespace oox {
namespace vml {
class ShapeBase;
-struct ClientData;
/** Enumerates different types of VML drawings. */
diff --git a/include/oox/vml/vmldrawingfragment.hxx b/include/oox/vml/vmldrawingfragment.hxx
index c2e82d4aae71..acf1aa6c83d1 100644
--- a/include/oox/vml/vmldrawingfragment.hxx
+++ b/include/oox/vml/vmldrawingfragment.hxx
@@ -20,8 +20,19 @@
#ifndef INCLUDED_OOX_VML_VMLDRAWINGFRAGMENT_HXX
#define INCLUDED_OOX_VML_VMLDRAWINGFRAGMENT_HXX
+#include <com/sun/star/uno/Reference.hxx>
+#include <oox/core/contexthandler.hxx>
#include <oox/core/fragmenthandler2.hxx>
#include <oox/dllapi.h>
+#include <rtl/ustring.hxx>
+#include <sal/types.h>
+
+namespace com { namespace sun { namespace star {
+ namespace io { class XInputStream; }
+} } }
+
+namespace oox { class AttributeList; }
+namespace oox { namespace core { class XmlFilterBase; } }
namespace oox {
namespace vml {
diff --git a/include/oox/vml/vmlformatting.hxx b/include/oox/vml/vmlformatting.hxx
index 05988f643755..d7c3e92f0b9c 100644
--- a/include/oox/vml/vmlformatting.hxx
+++ b/include/oox/vml/vmlformatting.hxx
@@ -20,13 +20,20 @@
#ifndef INCLUDED_OOX_VML_VMLFORMATTING_HXX
#define INCLUDED_OOX_VML_VMLFORMATTING_HXX
-#include <oox/helper/helper.hxx>
+#include <utility>
+#include <vector>
+
+#include <com/sun/star/drawing/PolygonFlags.hpp>
+#include <com/sun/star/uno/Reference.hxx>
#include <oox/dllapi.h>
-#include <com/sun/star/awt/Point.hpp>
-#include <com/sun/star/drawing/PolyPolygonBezierCoords.hpp>
-#include <com/sun/star/drawing/XShape.hpp>
+#include <oox/helper/helper.hxx>
+#include <rtl/ustring.hxx>
+#include <sal/types.h>
-#include <vector>
+namespace com { namespace sun { namespace star {
+ namespace awt { struct Point; }
+ namespace drawing { class XShape; }
+} } }
namespace oox {
class GraphicHelper;
diff --git a/include/oox/vml/vmlinputstream.hxx b/include/oox/vml/vmlinputstream.hxx
index 4fc6dc9e9fc9..66ec958b381e 100644
--- a/include/oox/vml/vmlinputstream.hxx
+++ b/include/oox/vml/vmlinputstream.hxx
@@ -20,9 +20,19 @@
#ifndef INCLUDED_OOX_VML_VMLINPUTSTREAM_HXX
#define INCLUDED_OOX_VML_VMLINPUTSTREAM_HXX
+#include <exception>
+
+#include <com/sun/star/io/BufferSizeExceededException.hpp>
+#include <com/sun/star/io/IOException.hpp>
+#include <com/sun/star/io/NotConnectedException.hpp>
#include <com/sun/star/io/XInputStream.hpp>
+#include <com/sun/star/uno/Any.hxx>
+#include <com/sun/star/uno/Reference.hxx>
+#include <com/sun/star/uno/RuntimeException.hpp>
+#include <com/sun/star/uno/Sequence.hxx>
#include <cppuhelper/implbase.hxx>
#include <rtl/string.hxx>
+#include <sal/types.h>
namespace com { namespace sun { namespace star {
namespace io { class XTextInputStream2; }
diff --git a/include/oox/vml/vmlshape.hxx b/include/oox/vml/vmlshape.hxx
index b7f3e19a87be..219feeb1489f 100644
--- a/include/oox/vml/vmlshape.hxx
+++ b/include/oox/vml/vmlshape.hxx
@@ -22,10 +22,14 @@
#include <memory>
#include <vector>
+
#include <com/sun/star/awt/Point.hpp>
-#include <oox/vml/vmlformatting.hxx>
-#include <oox/vml/vmltextbox.hxx>
+#include <com/sun/star/uno/Reference.hxx>
#include <oox/dllapi.h>
+#include <oox/helper/helper.hxx>
+#include <oox/vml/vmlformatting.hxx>
+#include <rtl/ustring.hxx>
+#include <sal/types.h>
namespace com { namespace sun { namespace star {
namespace awt { struct Rectangle; }
@@ -39,7 +43,7 @@ namespace vml {
class Drawing;
struct ShapeParentAnchor;
class ShapeContainer;
-
+class TextBox;
const sal_Int32 VML_CLIENTDATA_UNCHECKED = 0;
const sal_Int32 VML_CLIENTDATA_CHECKED = 1;
diff --git a/include/oox/vml/vmlshapecontainer.hxx b/include/oox/vml/vmlshapecontainer.hxx
index 9f99f3974b12..76e294fc279d 100644
--- a/include/oox/vml/vmlshapecontainer.hxx
+++ b/include/oox/vml/vmlshapecontainer.hxx
@@ -20,10 +20,16 @@
#ifndef INCLUDED_OOX_VML_VMLSHAPECONTAINER_HXX
#define INCLUDED_OOX_VML_VMLSHAPECONTAINER_HXX
+#include <cstddef>
+#include <functional>
+#include <memory>
+#include <stack>
+
#include <com/sun/star/awt/Rectangle.hpp>
+#include <com/sun/star/uno/Reference.hxx>
#include <oox/helper/refmap.hxx>
#include <oox/helper/refvector.hxx>
-#include <stack>
+#include <rtl/ustring.hxx>
namespace com { namespace sun { namespace star {
namespace drawing { class XShapes; }
diff --git a/include/oox/vml/vmlshapecontext.hxx b/include/oox/vml/vmlshapecontext.hxx
index 3c6e3df3c8aa..1c1565b62397 100644
--- a/include/oox/vml/vmlshapecontext.hxx
+++ b/include/oox/vml/vmlshapecontext.hxx
@@ -20,8 +20,13 @@
#ifndef INCLUDED_OOX_VML_VMLSHAPECONTEXT_HXX
#define INCLUDED_OOX_VML_VMLSHAPECONTEXT_HXX
+#include <oox/core/contexthandler.hxx>
#include <oox/core/contexthandler2.hxx>
#include <oox/helper/helper.hxx>
+#include <rtl/ustring.hxx>
+#include <sal/types.h>
+
+namespace oox { class AttributeList; }
namespace oox {
namespace vml {
diff --git a/include/oox/vml/vmltextbox.hxx b/include/oox/vml/vmltextbox.hxx
index d4f6ef2b8e09..0f0828c88797 100644
--- a/include/oox/vml/vmltextbox.hxx
+++ b/include/oox/vml/vmltextbox.hxx
@@ -20,11 +20,14 @@
#ifndef INCLUDED_OOX_VML_VMLTEXTBOX_HXX
#define INCLUDED_OOX_VML_VMLTEXTBOX_HXX
+#include <cstddef>
#include <vector>
-#include <rtl/ustring.hxx>
-#include <oox/helper/helper.hxx>
+
+#include <com/sun/star/uno/Reference.hxx>
#include <oox/dllapi.h>
-#include <com/sun/star/uno/Reference.h>
+#include <oox/helper/helper.hxx>
+#include <rtl/ustring.hxx>
+#include <sal/types.h>
namespace com { namespace sun { namespace star {
namespace drawing { class XShape; }
diff --git a/include/oox/vml/vmltextboxcontext.hxx b/include/oox/vml/vmltextboxcontext.hxx
index e0806e624e38..801cccb13a3d 100644
--- a/include/oox/vml/vmltextboxcontext.hxx
+++ b/include/oox/vml/vmltextboxcontext.hxx
@@ -20,11 +20,16 @@
#ifndef INCLUDED_OOX_VML_VMLTEXTBOXCONTEXT_HXX
#define INCLUDED_OOX_VML_VMLTEXTBOXCONTEXT_HXX
+#include <cstddef>
+
+#include <oox/core/contexthandler.hxx>
#include <oox/core/contexthandler2.hxx>
-#include <oox/helper/attributelist.hxx>
#include <oox/vml/vmltextbox.hxx>
+#include <rtl/ustring.hxx>
+#include <sal/types.h>
namespace oox {
+ class AttributeList;
class GraphicHelper;
namespace vml {