summaryrefslogtreecommitdiff
path: root/include/oox/ole
diff options
context:
space:
mode:
authorJorenz Paragas <j.paragas.237@gmail.com>2016-05-11 22:02:58 -0700
committerNoel Grandin <noelgrandin@gmail.com>2016-05-13 10:05:35 +0000
commit96d5516429bc1846fc6cf7119590f7b05a65eef8 (patch)
tree53f90584b5b07dd92485d3cf507bfcd71e1844fb /include/oox/ole
parentdbdd303ab1cba5bb094aba086196c89811e7b835 (diff)
tdf#42949: clean up includes in include/oox/ole with iwyu
Change-Id: I9cbdc78b540b0f735c451ac561f0f0ccdaf7efbd Reviewed-on: https://gerrit.libreoffice.org/24911 Tested-by: Jenkins <ci@libreoffice.org> Reviewed-by: Noel Grandin <noelgrandin@gmail.com>
Diffstat (limited to 'include/oox/ole')
-rw-r--r--include/oox/ole/axbinaryreader.hxx9
-rw-r--r--include/oox/ole/axbinarywriter.hxx5
-rw-r--r--include/oox/ole/axcontrol.hxx12
-rw-r--r--include/oox/ole/axcontrolfragment.hxx7
-rw-r--r--include/oox/ole/axfontdata.hxx10
-rw-r--r--include/oox/ole/olehelper.hxx34
-rw-r--r--include/oox/ole/oleobjecthelper.hxx3
-rw-r--r--include/oox/ole/olestorage.hxx9
-rw-r--r--include/oox/ole/vbacontrol.hxx18
-rw-r--r--include/oox/ole/vbaexport.hxx5
-rw-r--r--include/oox/ole/vbahelper.hxx2
-rw-r--r--include/oox/ole/vbainputstream.hxx4
-rw-r--r--include/oox/ole/vbamodule.hxx2
-rw-r--r--include/oox/ole/vbaproject.hxx19
14 files changed, 106 insertions, 33 deletions
diff --git a/include/oox/ole/axbinaryreader.hxx b/include/oox/ole/axbinaryreader.hxx
index 5823fbb8ef19..81b10531298c 100644
--- a/include/oox/ole/axbinaryreader.hxx
+++ b/include/oox/ole/axbinaryreader.hxx
@@ -20,10 +20,17 @@
#ifndef INCLUDED_OOX_OLE_AXBINARYREADER_HXX
#define INCLUDED_OOX_OLE_AXBINARYREADER_HXX
+#include <cstddef>
#include <utility>
+#include <vector>
+
#include <oox/helper/binaryinputstream.hxx>
+#include <oox/helper/binarystreambase.hxx>
#include <oox/helper/refvector.hxx>
-#include <oox/ole/axfontdata.hxx>
+#include <rtl/ustring.hxx>
+#include <sal/types.h>
+
+namespace oox { namespace ole { struct AxFontData; } }
namespace oox {
namespace ole {
diff --git a/include/oox/ole/axbinarywriter.hxx b/include/oox/ole/axbinarywriter.hxx
index 66dc5000dca1..d1fe1a23fcea 100644
--- a/include/oox/ole/axbinarywriter.hxx
+++ b/include/oox/ole/axbinarywriter.hxx
@@ -10,9 +10,14 @@
#ifndef INCLUDED_OOX_OLE_AXBINARYWRITER_HXX
#define INCLUDED_OOX_OLE_AXBINARYWRITER_HXX
+#include <cstddef>
#include <utility>
+
#include <oox/helper/binaryoutputstream.hxx>
+#include <oox/helper/binarystreambase.hxx>
#include <oox/helper/refvector.hxx>
+#include <rtl/ustring.hxx>
+#include <sal/types.h>
namespace oox {
namespace ole {
diff --git a/include/oox/ole/axcontrol.hxx b/include/oox/ole/axcontrol.hxx
index e8c879a44ea2..4d91f975fc1c 100644
--- a/include/oox/ole/axcontrol.hxx
+++ b/include/oox/ole/axcontrol.hxx
@@ -20,12 +20,19 @@
#ifndef INCLUDED_OOX_OLE_AXCONTROL_HXX
#define INCLUDED_OOX_OLE_AXCONTROL_HXX
+#include <memory>
+#include <vector>
+
+#include <com/sun/star/uno/Reference.hxx>
+#include <com/sun/star/uno/Sequence.hxx>
+#include <oox/dllapi.h>
#include <oox/helper/binarystreambase.hxx>
#include <oox/helper/propertyset.hxx>
#include <oox/ole/axbinaryreader.hxx>
+#include <oox/ole/axfontdata.hxx>
#include <oox/ole/olehelper.hxx>
-#include <oox/dllapi.h>
-#include <memory>
+#include <rtl/ustring.hxx>
+#include <sal/types.h>
namespace com { namespace sun { namespace star {
namespace awt { class XControlModel; }
@@ -38,6 +45,7 @@ namespace com { namespace sun { namespace star {
namespace oox {
class BinaryInputStream;
+ class BinaryOutputStream;
class GraphicHelper;
class PropertyMap;
}
diff --git a/include/oox/ole/axcontrolfragment.hxx b/include/oox/ole/axcontrolfragment.hxx
index b4284cf892e7..a741aed06794 100644
--- a/include/oox/ole/axcontrolfragment.hxx
+++ b/include/oox/ole/axcontrolfragment.hxx
@@ -20,7 +20,14 @@
#ifndef INCLUDED_OOX_OLE_AXCONTROLFRAGMENT_HXX
#define INCLUDED_OOX_OLE_AXCONTROLFRAGMENT_HXX
+#include <oox/core/contexthandler.hxx>
+#include <oox/core/contexthandler2.hxx>
#include <oox/core/fragmenthandler2.hxx>
+#include <rtl/ustring.hxx>
+#include <sal/types.h>
+
+namespace oox { class AttributeList; }
+namespace oox { namespace core { class XmlFilterBase; } }
namespace oox {
namespace ole {
diff --git a/include/oox/ole/axfontdata.hxx b/include/oox/ole/axfontdata.hxx
index 05694fbcd12e..b6bcf9e68aed 100644
--- a/include/oox/ole/axfontdata.hxx
+++ b/include/oox/ole/axfontdata.hxx
@@ -20,10 +20,14 @@
#ifndef INCLUDED_OOX_OLE_AXFONTDATA_HXX
#define INCLUDED_OOX_OLE_AXFONTDATA_HXX
-#include <oox/helper/binaryinputstream.hxx>
-#include <oox/helper/binaryoutputstream.hxx>
-#include <oox/helper/refvector.hxx>
#include <oox/dllapi.h>
+#include <rtl/ustring.hxx>
+#include <sal/types.h>
+
+namespace oox {
+ class BinaryInputStream;
+ class BinaryOutputStream;
+}
namespace oox {
namespace ole {
diff --git a/include/oox/ole/olehelper.hxx b/include/oox/ole/olehelper.hxx
index 0a6ba4a76302..d848cc492fcb 100644
--- a/include/oox/ole/olehelper.hxx
+++ b/include/oox/ole/olehelper.hxx
@@ -20,24 +20,24 @@
#ifndef INCLUDED_OOX_OLE_OLEHELPER_HXX
#define INCLUDED_OOX_OLE_OLEHELPER_HXX
-#include <rtl/ustring.hxx>
-#include <tools/ref.hxx>
-#include <oox/helper/binarystreambase.hxx>
-#include <oox/helper/storagebase.hxx>
-#include <oox/helper/graphichelper.hxx>
-#include <com/sun/star/form/XFormComponent.hpp>
-#include <com/sun/star/uno/XComponentContext.hpp>
-#include <com/sun/star/lang/XMultiServiceFactory.hpp>
-#include <com/sun/star/frame/XModel.hpp>
-#include <com/sun/star/frame/XFrame.hpp>
-#include <com/sun/star/drawing/XShapes.hpp>
-#include <com/sun/star/awt/XControlModel.hpp>
-#include <com/sun/star/io/XInputStream.hpp>
-#include <com/sun/star/io/XOutputStream.hpp>
-#include <com/sun/star/drawing/XDrawPage.hpp>
-#include <com/sun/star/container/XIndexContainer.hpp>
+#include <com/sun/star/uno/Reference.hxx>
#include <filter/msfilter/msocximex.hxx>
#include <oox/dllapi.h>
+#include <oox/helper/binarystreambase.hxx>
+#include <oox/helper/graphichelper.hxx>
+#include <oox/helper/helper.hxx>
+#include <rtl/ustring.hxx>
+#include <sal/types.h>
+#include <tools/ref.hxx>
+
+namespace com { namespace sun { namespace star {
+ namespace awt { class XControlModel; }
+ namespace awt { struct Size; }
+ namespace form { class XFormComponent; }
+ namespace frame { class XModel; }
+ namespace io { class XOutputStream; }
+ namespace uno { class XComponentContext; }
+} } }
class SotStorage;
class SotStorageStream;
@@ -46,8 +46,6 @@ class SvGlobalName;
namespace oox {
class BinaryInputStream;
class BinaryOutputStream;
- class BinaryXInputStream;
- class GraphicHelper;
}
namespace oox {
diff --git a/include/oox/ole/oleobjecthelper.hxx b/include/oox/ole/oleobjecthelper.hxx
index 0947ad1f9447..604785f305b6 100644
--- a/include/oox/ole/oleobjecthelper.hxx
+++ b/include/oox/ole/oleobjecthelper.hxx
@@ -20,8 +20,11 @@
#ifndef INCLUDED_OOX_OLE_OLEOBJECTHELPER_HXX
#define INCLUDED_OOX_OLE_OLEOBJECTHELPER_HXX
+#include <com/sun/star/uno/Reference.hxx>
#include <oox/dllapi.h>
#include <oox/helper/binarystreambase.hxx>
+#include <rtl/ustring.hxx>
+#include <sal/types.h>
namespace com { namespace sun { namespace star {
namespace awt { struct Size; }
diff --git a/include/oox/ole/olestorage.hxx b/include/oox/ole/olestorage.hxx
index 9039cae2dedb..88b0ff8c9c8a 100644
--- a/include/oox/ole/olestorage.hxx
+++ b/include/oox/ole/olestorage.hxx
@@ -20,10 +20,19 @@
#ifndef INCLUDED_OOX_OLE_OLESTORAGE_HXX
#define INCLUDED_OOX_OLE_OLESTORAGE_HXX
+#include <vector>
+
+#include <com/sun/star/uno/Reference.hxx>
+#include <oox/dllapi.h>
#include <oox/helper/storagebase.hxx>
+#include <rtl/ustring.hxx>
namespace com { namespace sun { namespace star {
namespace container { class XNameContainer; }
+ namespace embed { class XStorage; }
+ namespace io { class XInputStream; }
+ namespace io { class XOutputStream; }
+ namespace io { class XStream; }
namespace uno { class XComponentContext; }
} } }
diff --git a/include/oox/ole/vbacontrol.hxx b/include/oox/ole/vbacontrol.hxx
index daf3f1b150c7..395b2c7e2588 100644
--- a/include/oox/ole/vbacontrol.hxx
+++ b/include/oox/ole/vbacontrol.hxx
@@ -20,15 +20,29 @@
#ifndef INCLUDED_OOX_OLE_VBACONTROL_HXX
#define INCLUDED_OOX_OLE_VBACONTROL_HXX
+#include <memory>
+
+#include <com/sun/star/uno/Reference.hxx>
+#include <oox/helper/refvector.hxx>
+#include <oox/ole/axbinaryreader.hxx>
#include <oox/ole/axcontrol.hxx>
-#include <com/sun/star/frame/XModel.hpp>
+#include <rtl/textenc.h>
+#include <rtl/ustring.hxx>
+#include <sal/types.h>
namespace com { namespace sun { namespace star {
+ namespace awt { class XControlModel; }
namespace container { class XNameContainer; }
+ namespace frame { class XModel; }
namespace uno { class XComponentContext; }
} } }
-namespace oox { class StorageBase; }
+namespace oox {
+ class BinaryInputStream;
+ class GraphicHelper;
+ class PropertyMap;
+ class StorageBase;
+}
namespace oox {
namespace ole {
diff --git a/include/oox/ole/vbaexport.hxx b/include/oox/ole/vbaexport.hxx
index 732a50c62aa0..987bbdf0b792 100644
--- a/include/oox/ole/vbaexport.hxx
+++ b/include/oox/ole/vbaexport.hxx
@@ -10,9 +10,12 @@
#ifndef INCLUDED_OOX_OLE_VBAEXPORT_HXX
#define INCLUDED_OOX_OLE_VBAEXPORT_HXX
-#include <com/sun/star/uno/XInterface.hpp>
+#include <cstddef>
+#include <com/sun/star/uno/Reference.hxx>
#include <oox/dllapi.h>
+#include <rtl/ustring.hxx>
+#include <sal/types.h>
class SotStorage;
class SvStream;
diff --git a/include/oox/ole/vbahelper.hxx b/include/oox/ole/vbahelper.hxx
index 94a63efe34a8..9c9c3c3af3ad 100644
--- a/include/oox/ole/vbahelper.hxx
+++ b/include/oox/ole/vbahelper.hxx
@@ -21,6 +21,8 @@
#define INCLUDED_OOX_OLE_VBAHELPER_HXX
#include <oox/helper/binarystreambase.hxx>
+#include <rtl/ustring.hxx>
+#include <sal/types.h>
namespace oox { class BinaryInputStream; }
diff --git a/include/oox/ole/vbainputstream.hxx b/include/oox/ole/vbainputstream.hxx
index dd6e53ad6a9a..f002ce816025 100644
--- a/include/oox/ole/vbainputstream.hxx
+++ b/include/oox/ole/vbainputstream.hxx
@@ -20,8 +20,12 @@
#ifndef INCLUDED_OOX_OLE_VBAINPUTSTREAM_HXX
#define INCLUDED_OOX_OLE_VBAINPUTSTREAM_HXX
+#include <cstddef>
#include <vector>
+
#include <oox/helper/binaryinputstream.hxx>
+#include <oox/helper/binarystreambase.hxx>
+#include <sal/types.h>
namespace oox {
namespace ole {
diff --git a/include/oox/ole/vbamodule.hxx b/include/oox/ole/vbamodule.hxx
index 68aef13e82e1..cb3682839c90 100644
--- a/include/oox/ole/vbamodule.hxx
+++ b/include/oox/ole/vbamodule.hxx
@@ -21,7 +21,9 @@
#define INCLUDED_OOX_OLE_VBAMODULE_HXX
#include <com/sun/star/uno/Reference.hxx>
+#include <rtl/textenc.h>
#include <rtl/ustring.hxx>
+#include <sal/types.h>
namespace com { namespace sun { namespace star {
namespace container { class XNameAccess; }
diff --git a/include/oox/ole/vbaproject.hxx b/include/oox/ole/vbaproject.hxx
index d5230988e211..ea7ffcccd351 100644
--- a/include/oox/ole/vbaproject.hxx
+++ b/include/oox/ole/vbaproject.hxx
@@ -20,27 +20,34 @@
#ifndef INCLUDED_OOX_OLE_VBAPROJECT_HXX
#define INCLUDED_OOX_OLE_VBAPROJECT_HXX
+#include <functional>
#include <map>
-#include <com/sun/star/uno/XInterface.hpp>
-#include <oox/helper/refvector.hxx>
-#include <oox/helper/storagebase.hxx>
+
+#include <com/sun/star/uno/Reference.hxx>
#include <oox/dllapi.h>
-#include <oox/ole/vbamodule.hxx>
+#include <oox/helper/refmap.hxx>
+#include <oox/helper/refvector.hxx>
+#include <rtl/ustring.hxx>
+#include <sal/types.h>
namespace com { namespace sun { namespace star {
namespace container { class XNameContainer; }
- namespace document { class XEventsSupplier; }
namespace frame { class XModel; }
namespace script { class XLibraryContainer; }
namespace script { namespace vba { class XVBAMacroResolver; } }
namespace uno { class XComponentContext; }
+ namespace uno { class XInterface; }
} } }
-namespace oox { class GraphicHelper; }
+namespace oox {
+ class GraphicHelper;
+ class StorageBase;
+}
namespace oox {
namespace ole {
+class VbaModule;
class OOX_DLLPUBLIC VbaFilterConfig
{