Kaydet (Commit) 96d55164 authored tarafından Jorenz Paragas's avatar Jorenz Paragas Kaydeden (comit) Noel Grandin

tdf#42949: clean up includes in include/oox/ole with iwyu

Change-Id: I9cbdc78b540b0f735c451ac561f0f0ccdaf7efbd
Reviewed-on: https://gerrit.libreoffice.org/24911Tested-by: 's avatarJenkins <ci@libreoffice.org>
Reviewed-by: 's avatarNoel Grandin <noelgrandin@gmail.com>
üst dbdd303a
......@@ -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 {
......
......@@ -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 {
......
......@@ -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;
}
......
......@@ -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 {
......
......@@ -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 {
......
......@@ -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 {
......
......@@ -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; }
......
......@@ -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; }
} } }
......
......@@ -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 {
......
......@@ -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;
......
......@@ -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; }
......
......@@ -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 {
......
......@@ -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; }
......
......@@ -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
{
......
......@@ -19,6 +19,7 @@
#include "oox/ole/axbinaryreader.hxx"
#include <oox/ole/axfontdata.hxx>
#include "oox/ole/olehelper.hxx"
#include <osl/diagnose.h>
......
......@@ -23,6 +23,7 @@
#include <sot/storage.hxx>
#include <osl/diagnose.h>
#include "oox/helper/binaryinputstream.hxx"
#include <oox/helper/binaryoutputstream.hxx>
#include "oox/helper/graphichelper.hxx"
#include <oox/token/properties.hxx>
#include <oox/token/tokens.hxx>
......@@ -31,8 +32,12 @@
#include "oox/helper/propertyset.hxx"
#include "oox/ole/olestorage.hxx"
#include <com/sun/star/awt/XControlModel.hpp>
#include <com/sun/star/beans/XPropertySet.hpp>
#include <com/sun/star/form/FormComponentType.hpp>
#include <com/sun/star/form/XFormComponent.hpp>
#include <com/sun/star/frame/XFrame.hpp>
#include <com/sun/star/frame/XModel.hpp>
#include <com/sun/star/lang/XServiceInfo.hpp>
#include <com/sun/star/awt/Size.hpp>
......
......@@ -21,6 +21,7 @@
#define INCLUDED_SC_SOURCE_FILTER_INC_EXCELHANDLERS_HXX
#include <oox/core/fragmenthandler2.hxx>
#include <oox/helper/binaryinputstream.hxx>
#include "worksheethelper.hxx"
namespace oox {
......
......@@ -25,6 +25,7 @@
#include <com/sun/star/container/XNameReplace.hpp>
#include <com/sun/star/document/XEventsSupplier.hpp>
#include <com/sun/star/drawing/XControlShape.hpp>
#include <com/sun/star/drawing/XShapes.hpp>
#include <com/sun/star/script/ScriptEventDescriptor.hpp>
#include <com/sun/star/script/XEventAttacherManager.hpp>
#include <rtl/strbuf.hxx>
......
......@@ -80,6 +80,7 @@
#include <txtatr.hxx>
#include <fmtsrnd.hxx>
#include <fmtrowsplt.hxx>
#include <com/sun/star/drawing/XShape.hpp>
#include <com/sun/star/i18n/ScriptType.hpp>
#include <com/sun/star/i18n/WordType.hpp>
#include <oox/export/vmlexport.hxx>
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment