Remove obsolete fw declarations from sc/

found with bin/find-unneeded-includes --fwdecl

Change-Id: I04083a33ce1e7d85980da91f72c2dd85777b594d
Reviewed-on: https://gerrit.libreoffice.org/c/core/+/183897
Tested-by: Jenkins
Reviewed-by: Gabor Kelemen <gabor.kelemen.extern@allotropia.de>
This commit is contained in:
Gabor Kelemen 2025-04-08 16:16:59 +02:00
parent d29f6a2dd7
commit b94cf8f15a
96 changed files with 7 additions and 222 deletions

View File

@ -286,9 +286,13 @@ excludelist:
sc/inc/scitems.hxx: sc/inc/scitems.hxx:
# needed for defines # needed for defines
- svl/typedwhich.hxx - svl/typedwhich.hxx
# needed in --fwdecl mode
- class ScConsolidateItem
sc/inc/scmatrix.hxx: sc/inc/scmatrix.hxx:
# base class has to be a complete type # base class has to be a complete type
- svl/sharedstringpool.hxx - svl/sharedstringpool.hxx
# needed in --fwdecl mode, quotation needed for handling the colon
- 'enum class FormulaError : sal_uInt16'
sc/inc/scmod.hxx: sc/inc/scmod.hxx:
# Needed for macro define # Needed for macro define
- sfx2/app.hxx - sfx2/app.hxx

View File

@ -24,7 +24,6 @@
#include <vector> #include <vector>
#include <unordered_map> #include <unordered_map>
namespace com::sun::star::chart2::data { class XDataSequence; }
namespace com::sun::star::chart2::data { class XDataSource; } namespace com::sun::star::chart2::data { class XDataSource; }
namespace com::sun::star::chart2::data { class XLabeledDataSequence; } namespace com::sun::star::chart2::data { class XLabeledDataSequence; }
namespace com::sun::star::uno { class XComponentContext; } namespace com::sun::star::uno { class XComponentContext; }

View File

@ -24,7 +24,6 @@
#include <sfx2/lnkbase.hxx> #include <sfx2/lnkbase.hxx>
#include "scdllapi.h" #include "scdllapi.h"
class SfxObjectShell;
class ScDocShell; class ScDocShell;
class SAL_DLLPUBLIC_RTTI ScAreaLink final : public ::sfx2::SvBaseLink, public ScRefreshTimer class SAL_DLLPUBLIC_RTTI ScAreaLink final : public ::sfx2::SvBaseLink, public ScRefreshTimer

View File

@ -29,7 +29,6 @@
#include <svl/itemset.hxx> #include <svl/itemset.hxx>
class ScDocument;
class ScEditDataArray; class ScEditDataArray;
class ScMarkArray; class ScMarkArray;
class ScStyleSheet; class ScStyleSheet;

View File

@ -108,7 +108,6 @@ class SvxBoxInfoItem;
class SvxItemPropertySet; class SvxItemPropertySet;
class SvxUnoText; class SvxUnoText;
class ScDocument; class ScDocument;
class SfxBroadcaster;
class SfxHint; class SfxHint;
class SfxItemPropertyMap; class SfxItemPropertyMap;
class SfxItemPropertySet; class SfxItemPropertySet;

View File

@ -59,11 +59,9 @@ struct NoteEntry;
class DocumentStreamAccess; class DocumentStreamAccess;
class CellValues; class CellValues;
class TableValues; class TableValues;
struct RowSpan;
class RowHeightContext; class RowHeightContext;
class CompileFormulaContext; class CompileFormulaContext;
struct SetFormulaDirtyContext; struct SetFormulaDirtyContext;
enum class MatrixEdge;
class ColumnIterator; class ColumnIterator;
class Sparkline; class Sparkline;
@ -81,8 +79,6 @@ class SvxBoxItem;
class ScDocument; class ScDocument;
class ScEditDataArray; class ScEditDataArray;
class ScFormulaCell; class ScFormulaCell;
class ScMarkData;
class ScPatternAttr;
class ScStyleSheet; class ScStyleSheet;
class SvtBroadcaster; class SvtBroadcaster;
class ScTypedStrData; class ScTypedStrData;
@ -93,7 +89,6 @@ struct ScSetStringParam;
struct ScColWidthParam; struct ScColWidthParam;
struct ScRefCellValue; struct ScRefCellValue;
struct ScCellValue; struct ScCellValue;
class ScHint;
enum class ScMF; enum class ScMF;
struct ScFilterEntries; struct ScFilterEntries;
struct ScInterpreterContext; struct ScInterpreterContext;

View File

@ -48,10 +48,6 @@
#include <vector> #include <vector>
namespace com::sun::star::sheet { struct TableFilterField2; }
namespace com::sun::star::sheet { struct TableFilterField3; }
namespace com::sun::star::sheet { struct TableFilterField; }
class ScDBData; class ScDBData;
class ScDocShell; class ScDocShell;

View File

@ -37,16 +37,8 @@
class ScDocument; class ScDocument;
class ScPatternAttr; class ScPatternAttr;
class ScAttrArray;
class ScAttrIterator;
class ScFlatBoolRowSegments;
class ScMatrix; class ScMatrix;
struct ScDBQueryParamBase;
struct ScQueryParam;
struct ScDBQueryParamInternal;
struct ScDBQueryParamMatrix;
class ScFormulaCell; class ScFormulaCell;
class OutputDevice;
struct ScInterpreterContext; struct ScInterpreterContext;
enum class SvNumFormatType : sal_Int16; enum class SvNumFormatType : sal_Int16;

View File

@ -23,9 +23,6 @@
#include <svl/itempool.hxx> #include <svl/itempool.hxx>
#include "scdllapi.h" #include "scdllapi.h"
class ScStyleSheet;
class ScDocument;
class SC_DLLPUBLIC ScDocumentPool final : public SfxItemPool class SC_DLLPUBLIC ScDocumentPool final : public SfxItemPool
{ {
public: public:

View File

@ -66,7 +66,6 @@ namespace oox
namespace xls namespace xls
{ {
class Connection; class Connection;
struct ConnectionModel;
} }
} }
@ -96,23 +95,18 @@ class StartListeningContext;
class EndListeningContext; class EndListeningContext;
class CopyFromClipContext; class CopyFromClipContext;
class ColumnSpanSet; class ColumnSpanSet;
class RangeColumnSpanSet;
struct ColumnBlockPosition; struct ColumnBlockPosition;
struct RefUpdateContext; struct RefUpdateContext;
class EditTextIterator; class EditTextIterator;
struct NoteEntry; struct NoteEntry;
class DocumentStreamAccess;
class DocumentLinkManager; class DocumentLinkManager;
class CellValues; class CellValues;
class TableValues; class TableValues;
class RowHeightContext; class RowHeightContext;
struct SetFormulaDirtyContext; struct SetFormulaDirtyContext;
class RefMovedHint;
struct ReorderParam; struct ReorderParam;
class FormulaGroupAreaListener;
class ColumnSet; class ColumnSet;
class UpdatedRangeNames; class UpdatedRangeNames;
class TableColumnBlockPositionSet;
class ColumnIterator; class ColumnIterator;
class ExternalDataMapper; class ExternalDataMapper;
class Sparkline; class Sparkline;
@ -128,7 +122,6 @@ class SdrObject;
class SfxBroadcaster; class SfxBroadcaster;
class SfxListener; class SfxListener;
class SfxItemSet; class SfxItemSet;
class SfxObjectShell;
class SfxBindings; class SfxBindings;
class SfxPoolItem; class SfxPoolItem;
class SfxItemPool; class SfxItemPool;
@ -159,7 +152,6 @@ class ScDetOpList;
class ScDocOptions; class ScDocOptions;
class ScDocProtection; class ScDocProtection;
class ScDocumentPool; class ScDocumentPool;
class ScDrawLayer;
class ScExtDocOptions; class ScExtDocOptions;
class ScExternalRefManager; class ScExternalRefManager;
class ScFormulaCell; class ScFormulaCell;
@ -187,7 +179,6 @@ struct ScSortParam;
class ScRefreshTimerControl; class ScRefreshTimerControl;
class ScUnoListenerCalls; class ScUnoListenerCalls;
class ScUnoRefList; class ScUnoRefList;
class ScRecursionHelper;
struct RowInfo; struct RowInfo;
struct ScTableInfo; struct ScTableInfo;
struct ScTabOpParam; struct ScTabOpParam;
@ -195,7 +186,6 @@ class VirtualDevice;
class ScAutoNameCache; class ScAutoNameCache;
class ScTemporaryChartLock; class ScTemporaryChartLock;
class ScLookupCache; class ScLookupCache;
struct ScLookupCacheMap;
class ScSortedRangeCache; class ScSortedRangeCache;
struct ScSortedRangeCacheMap; struct ScSortedRangeCacheMap;
class ScUndoManager; class ScUndoManager;
@ -221,7 +211,6 @@ class BitmapEx;
class ScColumnsRange; class ScColumnsRange;
struct ScFilterEntries; struct ScFilterEntries;
typedef o3tl::sorted_vector<sal_uInt32> ScCondFormatIndexes; typedef o3tl::sorted_vector<sal_uInt32> ScCondFormatIndexes;
struct ScSheetLimits;
struct ScDataAreaExtras; struct ScDataAreaExtras;
enum class ScConditionMode; enum class ScConditionMode;

View File

@ -55,9 +55,6 @@
#include <svl/itemprop.hxx> #include <svl/itemprop.hxx>
#include <vcl/ITiledRenderable.hxx> #include <vcl/ITiledRenderable.hxx>
namespace com::sun::star::chart2::data { class XDataProvider; }
namespace com::sun::star::sheet::opencl { struct OpenCLPlatform; }
class ScDocShell; class ScDocShell;
class ScAnnotationObj; class ScAnnotationObj;
class ScMarkData; class ScMarkData;

View File

@ -36,7 +36,6 @@
struct ScQueryParam; struct ScQueryParam;
class ScDPObject; class ScDPObject;
class ScDocument; class ScDocument;
class SvNumberFormatter;
struct ScInterpreterContext; struct ScInterpreterContext;
enum class SvNumFormatType : sal_Int16; enum class SvNumFormatType : sal_Int16;

View File

@ -63,7 +63,6 @@ class ScSheetSourceDesc;
class ScDPTableData; class ScDPTableData;
class ScDPDimensionSaveData; class ScDPDimensionSaveData;
class ScRangeList; class ScRangeList;
class ScDPCache;
class ScDocument; class ScDocument;
struct ScDPServiceDesc struct ScDPServiceDesc

View File

@ -51,7 +51,6 @@
namespace com::sun::star { namespace com::sun::star {
namespace sheet { namespace sheet {
struct DataPilotFieldFilter;
struct MemberResult; struct MemberResult;
} }
} }

View File

@ -29,8 +29,6 @@
#include <o3tl/typed_flags_set.hxx> #include <o3tl/typed_flags_set.hxx>
#include <optional> #include <optional>
class SfxItemSet;
class SvxBrushItem;
class SvxBoxItem; class SvxBoxItem;
class SvxLineItem; class SvxLineItem;
class SvxShadowItem; class SvxShadowItem;

View File

@ -491,7 +491,6 @@ class LocaleDataWrapper;
class SvtSysLocale; class SvtSysLocale;
class CalendarWrapper; class CalendarWrapper;
class CollatorWrapper; class CollatorWrapper;
class IntlWrapper;
class ScFieldEditEngine; class ScFieldEditEngine;
namespace com::sun::star { namespace com::sun::star {

View File

@ -37,8 +37,6 @@ struct DelayedSetNumberFormat
sal_uInt32 mnNumberFormat; sal_uInt32 mnNumberFormat;
}; };
class ScInterpreterContextPool;
struct ScInterpreterContext struct ScInterpreterContext
{ {
const ScDocument* mpDoc; const ScDocument* mpDoc;
@ -166,9 +164,6 @@ private:
SvNumberFormatter* mpFormatter; SvNumberFormatter* mpFormatter;
}; };
class ScThreadedInterpreterContextGetterGuard;
class ScInterpreterContextGetterGuard;
class ScInterpreterContextPool class ScInterpreterContextPool
{ {
friend class ScThreadedInterpreterContextGetterGuard; friend class ScThreadedInterpreterContextGetterGuard;

View File

@ -23,7 +23,6 @@
#include <tools/long.hxx> #include <tools/long.hxx>
#include <vector> #include <vector>
class ScRangeList;
struct ScSheetLimits; struct ScSheetLimits;
struct ScMarkEntry struct ScMarkEntry

View File

@ -33,8 +33,6 @@ struct ColRowSpan;
} }
class ScMarkArray;
//! todo: //! todo:
//! It should be possible to have MarkArrays for each table, in order to //! It should be possible to have MarkArrays for each table, in order to
//! enable "search all" across more than one table again! //! enable "search all" across more than one table again!

View File

@ -21,8 +21,6 @@
#include "patattr.hxx" #include "patattr.hxx"
#include <vector> #include <vector>
class CellAttributeHelper;
class SfxItemSet;
class SfxPoolItem; class SfxPoolItem;
class ScItemPoolCache class ScItemPoolCache

View File

@ -30,7 +30,6 @@
struct ScInterpreterContext; struct ScInterpreterContext;
struct ScDBQueryParamInternal; struct ScDBQueryParamInternal;
struct ScQueryEntry;
namespace svl { namespace svl {

View File

@ -30,7 +30,6 @@
class ScDocument; class ScDocument;
struct ScInterpreterContext; struct ScInterpreterContext;
struct ScQueryParam; struct ScQueryParam;
struct ScSortedRangeCacheMap;
/** Sorted cache for one range used with interpreter functions such as VLOOKUP /** Sorted cache for one range used with interpreter functions such as VLOOKUP
and MATCH. Caches sorted order for cells in the given range, which must and MATCH. Caches sorted order for cells in the given range, which must

View File

@ -14,7 +14,6 @@
namespace sc { namespace sc {
struct RefUpdateContext;
class ColRowReorderMapType; class ColRowReorderMapType;
class RefHint : public SfxHint class RefHint : public SfxHint

View File

@ -68,7 +68,6 @@ class ScMergeAttr;
class ScMergeFlagAttr; class ScMergeFlagAttr;
class ScProtectionAttr; class ScProtectionAttr;
class SvxBoxInfoItem; class SvxBoxInfoItem;
class ScPatternAttr;
class SvxPageItem; class SvxPageItem;
class ScViewObjectModeItem; class ScViewObjectModeItem;
class SfxUInt16Item; class SfxUInt16Item;

View File

@ -70,7 +70,6 @@ class ScAddInCfg;
class ScTransferObj; class ScTransferObj;
class ScDrawTransferObj; class ScDrawTransferObj;
class ScSelectionTransferObj; class ScSelectionTransferObj;
class ScFormEditData;
class ScMarkData; class ScMarkData;
struct ScDragData; struct ScDragData;
class SfxDialogController; class SfxDialogController;

View File

@ -13,10 +13,6 @@
class ScDocument; class ScDocument;
class ScColumn; class ScColumn;
namespace vcl
{
class Window;
}
namespace sc namespace sc
{ {

View File

@ -33,7 +33,6 @@
#include <cppuhelper/implbase.hxx> #include <cppuhelper/implbase.hxx>
namespace com::sun::star::container { class XIndexReplace; } namespace com::sun::star::container { class XIndexReplace; }
namespace com::sun::star::lang { class XComponent; }
class ScDocShell; class ScDocShell;
class SfxItemPropertySet; class SfxItemPropertySet;

View File

@ -29,8 +29,6 @@ public:
static bool SafeDiv( double& fVal1, double fVal2); static bool SafeDiv( double& fVal1, double fVal2);
}; };
class ScFunctionData;
/** Implements the Welford Online one-pass algorithm. /** Implements the Welford Online one-pass algorithm.
See https://en.wikipedia.org/wiki/Algorithms_for_calculating_variance#Welford's_Online_algorithm See https://en.wikipedia.org/wiki/Algorithms_for_calculating_variance#Welford's_Online_algorithm
and Donald E. Knuth, TAoCP vol.2, 3rd edn., p. 232 and Donald E. Knuth, TAoCP vol.2, 3rd edn., p. 232

View File

@ -70,7 +70,6 @@ class ColumnSpanSet;
class RangeColumnSpanSet; class RangeColumnSpanSet;
class ColumnSet; class ColumnSet;
struct ColumnBlockPosition; struct ColumnBlockPosition;
class TableColumnBlockPositionSet;
struct RefUpdateContext; struct RefUpdateContext;
struct RefUpdateInsertTabContext; struct RefUpdateInsertTabContext;
struct RefUpdateDeleteTabContext; struct RefUpdateDeleteTabContext;
@ -83,7 +82,6 @@ class RowHeightContext;
class CompileFormulaContext; class CompileFormulaContext;
struct SetFormulaDirtyContext; struct SetFormulaDirtyContext;
class ColumnIterator; class ColumnIterator;
class ScDrawObjData;
} }
class SfxItemSet; class SfxItemSet;
@ -100,7 +98,6 @@ class ScPrintSaverTab;
class ScProgress; class ScProgress;
class ScRangeList; class ScRangeList;
class ScSheetEvents; class ScSheetEvents;
class ScSortInfoArray;
class ScConditionalFormat; class ScConditionalFormat;
class ScConditionalFormatList; class ScConditionalFormatList;
class ScStyleSheet; class ScStyleSheet;
@ -116,7 +113,6 @@ struct ScSetStringParam;
struct ScColWidthParam; struct ScColWidthParam;
class ScRangeName; class ScRangeName;
class ScDBData; class ScDBData;
class ScHint;
class ScPostIt; class ScPostIt;
struct ScInterpreterContext; struct ScInterpreterContext;

View File

@ -26,10 +26,6 @@
#include <com/sun/star/container/XNameAccess.hpp> #include <com/sun/star/container/XNameAccess.hpp>
#include <cppuhelper/implbase.hxx> #include <cppuhelper/implbase.hxx>
namespace com::sun::star::beans { class XPropertyChangeListener; }
namespace com::sun::star::beans { class XPropertySetInfo; }
namespace com::sun::star::beans { class XVetoableChangeListener; }
class ScDocShell; class ScDocShell;
#define SC_LINKTARGETTYPE_SHEET 0 #define SC_LINKTARGETTYPE_SHEET 0

View File

@ -32,7 +32,7 @@ namespace com::sun::star {
namespace uno { template <class E> class Sequence; } namespace uno { template <class E> class Sequence; }
namespace embed { class XStorage; } namespace embed { class XStorage; }
namespace xml { namespace xml {
namespace sax { struct InputSource; class XParser; class XWriter; } namespace sax { struct InputSource; class XWriter; }
} }
} }

View File

@ -23,8 +23,6 @@
#include <svl/broadcast.hxx> #include <svl/broadcast.hxx>
#include <types.hxx> #include <types.hxx>
namespace com::sun::star::uno { class Any; }
class ScDocument; class ScDocument;
class ScMultipleReadHeader; class ScMultipleReadHeader;
class ScMultipleWriteHeader; class ScMultipleWriteHeader;

View File

@ -12,11 +12,6 @@
#include <sfx2/lnkbase.hxx> #include <sfx2/lnkbase.hxx>
#include <svl/broadcast.hxx> #include <svl/broadcast.hxx>
namespace com::sun::star::uno
{
class Any;
}
class ScDocument; class ScDocument;
class ScWebServiceLink final : public ::sfx2::SvBaseLink, public SvtBroadcaster class ScWebServiceLink final : public ::sfx2::SvBaseLink, public SvtBroadcaster

View File

@ -429,9 +429,6 @@ public:
int nCurWindowSize ); int nCurWindowSize );
}; };
class OpAverage;
class OpCount;
/// Handling a Double Vector that is used as a sliding window input /// Handling a Double Vector that is used as a sliding window input
/// to either a sliding window average or sum-of-products /// to either a sliding window average or sum-of-products
/// Generate a sequential loop for reductions /// Generate a sequential loop for reductions

View File

@ -19,7 +19,6 @@
namespace oox::xls namespace oox::xls
{ {
class PivotTable; class PivotTable;
class PivotTableFormat;
class PivotTableReference; class PivotTableReference;
enum class PivotAreaType enum class PivotAreaType

View File

@ -16,11 +16,6 @@
#include <vector> #include <vector>
#include <memory> #include <memory>
namespace oox
{
class AttributeList;
}
namespace oox::xls namespace oox::xls
{ {
/** Transitional sparkline data */ /** Transitional sparkline data */

View File

@ -27,7 +27,6 @@
namespace com::sun::star { namespace com::sun::star {
namespace sheet { class XDatabaseRange; } namespace sheet { class XDatabaseRange; }
namespace sheet { class XSheetFilterDescriptor3; }
} }
namespace oox { class AttributeList; } namespace oox { class AttributeList; }

View File

@ -28,12 +28,6 @@
#include <memory> #include <memory>
#include <vector> #include <vector>
class ScColorScaleFormat;
class ScDataBarFormat;
struct ScDataBarFormatData;
class ScIconSetFormat;
struct ScIconSetFormatData;
namespace oox { class AttributeList; } namespace oox { class AttributeList; }
namespace oox::xls { namespace oox::xls {
@ -209,10 +203,6 @@ struct CondFormatModel
explicit CondFormatModel(); explicit CondFormatModel();
}; };
class CondFormatBuffer;
struct CondFormatHash;
struct CondFormatEquals;
/** Represents a conditional formatting object with a list of affected cell ranges. */ /** Represents a conditional formatting object with a list of affected cell ranges. */
class CondFormat final : public WorksheetHelper class CondFormat final : public WorksheetHelper
{ {

View File

@ -26,7 +26,6 @@
class ScDocument; class ScDocument;
class ScEEParser; class ScEEParser;
class ScTabEditEngine; class ScTabEditEngine;
class SvStream;
struct ScEEParseEntry; struct ScEEParseEntry;

View File

@ -19,7 +19,6 @@
extern sal_Int32 gnStyleIdx; // Holds index of the <extlst> <cfRule> style (Will be reset by finalize import) extern sal_Int32 gnStyleIdx; // Holds index of the <extlst> <cfRule> style (Will be reset by finalize import)
struct ScDataBarFormatData; struct ScDataBarFormatData;
namespace oox { class AttributeList; }
namespace oox::xls { class WorkbookFragment; } namespace oox::xls { class WorkbookFragment; }
namespace oox::xls { class WorksheetFragment; } namespace oox::xls { class WorksheetFragment; }

View File

@ -144,7 +144,6 @@ struct ScHTMLAdjustStackEntry
class EditEngine; class EditEngine;
class ScDocument; class ScDocument;
class HTMLOption;
// TODO these need better names // TODO these need better names
typedef ::std::map<SCROW, SCROW> InnerMap; typedef ::std::map<SCROW, SCROW> InnerMap;

View File

@ -24,7 +24,6 @@
#include <address.hxx> #include <address.hxx>
class ScDocumentPool;
class ScPatternAttr; class ScPatternAttr;
class SvxColorItem; class SvxColorItem;
class Color; class Color;

View File

@ -40,9 +40,7 @@
class ScOrcusSheet; class ScOrcusSheet;
class ScOrcusStyles; class ScOrcusStyles;
class ScOrcusFactory; class ScOrcusFactory;
class ScOrcusImportFontStyle;
class ScOrcusSharedStrings;
class SfxItemSet;
namespace com::sun::star::task namespace com::sun::star::task
{ {
class XStatusIndicator; class XStatusIndicator;

View File

@ -22,9 +22,6 @@
#include "flttypes.hxx" #include "flttypes.hxx"
#include <memory> #include <memory>
class ScRangeName;
class RangeNameBufferWK3;
class SharedFormulaBuffer; class SharedFormulaBuffer;
class ExtNameBuff; class ExtNameBuff;
class ExtSheetBuffer; class ExtSheetBuffer;

View File

@ -13,7 +13,6 @@
#include <tokenarray.hxx> #include <tokenarray.hxx>
#include <memory> #include <memory>
#include <map> #include <map>
class ScTokenArray;
namespace sc namespace sc
{ {

View File

@ -25,7 +25,6 @@
namespace oox { class AttributeList; } namespace oox { class AttributeList; }
namespace oox { class SequenceInputStream; } namespace oox { class SequenceInputStream; }
class ScDBData;
namespace oox::xls { namespace oox::xls {

View File

@ -36,8 +36,6 @@ namespace com::sun::star {
namespace container { class XNameContainer; } namespace container { class XNameContainer; }
namespace sheet { class XDatabaseRange; } namespace sheet { class XDatabaseRange; }
namespace sheet { class XSpreadsheet; } namespace sheet { class XSpreadsheet; }
namespace sheet { class XSpreadsheetDocument; }
namespace sheet { struct FormulaToken; }
namespace style { class XStyle; } namespace style { class XStyle; }
namespace table { class XCellRange; } namespace table { class XCellRange; }
} }

View File

@ -33,8 +33,6 @@
#include <unordered_map> #include <unordered_map>
#include <o3tl/sorted_vector.hxx> #include <o3tl/sorted_vector.hxx>
class XclExtLst;
/* ============================================================================ /* ============================================================================
Export of cell tables including row and column description. Export of cell tables including row and column description.
- Managing all used and formatted cells in a sheet. - Managing all used and formatted cells in a sheet.
@ -955,9 +953,6 @@ private:
// Cell Table // Cell Table
class XclExpNote; class XclExpNote;
class XclExpMergedcells;
class XclExpHyperlink;
class XclExpDval;
/** This class contains the cell contents and more of an entire sheet. /** This class contains the cell contents and more of an entire sheet.

View File

@ -116,7 +116,6 @@ struct XclRootData
virtual ~XclRootData(); virtual ~XclRootData();
}; };
class SfxObjectShell;
class ScModelObj; class ScModelObj;
class OutputDevice; class OutputDevice;
class SvNumberFormatter; class SvNumberFormatter;

View File

@ -16,11 +16,6 @@
#include <rangelst.hxx> #include <rangelst.hxx>
#include <docmodel/color/ComplexColor.hxx> #include <docmodel/color/ComplexColor.hxx>
namespace sax_fastparser
{
class FastAttributeList;
}
namespace sc namespace sc
{ {
class SparklineGroup; class SparklineGroup;

View File

@ -22,11 +22,6 @@
#include <xmloff/xmltoken.hxx> #include <xmloff/xmltoken.hxx>
#include <rtl/ref.hxx> #include <rtl/ref.hxx>
namespace com::sun::star::text
{
class XText;
}
class ScChangeAction; class ScChangeAction;
class ScChangeTrack; class ScChangeTrack;
class ScDocument; class ScDocument;

View File

@ -22,10 +22,6 @@
#include <xmloff/xmltoken.hxx> #include <xmloff/xmltoken.hxx>
#include <xmloff/XMLTextMasterPageExport.hxx> #include <xmloff/XMLTextMasterPageExport.hxx>
namespace com::sun::star {
namespace text { class XText; }
}
namespace com::sun::star::sheet { class XHeaderFooterContent; } namespace com::sun::star::sheet { class XHeaderFooterContent; }
class ScXMLExport; class ScXMLExport;

View File

@ -33,7 +33,6 @@ namespace com::sun::star {
namespace beans { class XPropertySet; } namespace beans { class XPropertySet; }
} }
namespace com::sun::star::table { class XCellRange; }
namespace com::sun::star::sheet { class XSpreadsheet; } namespace com::sun::star::sheet { class XSpreadsheet; }
namespace com::sun::star::sheet { class XSpreadsheetDocument; } namespace com::sun::star::sheet { class XSpreadsheetDocument; }

View File

@ -36,8 +36,6 @@
#include <list> #include <list>
namespace com::sun::star::beans { class XPropertySet; } namespace com::sun::star::beans { class XPropertySet; }
namespace com::sun::star::sheet { class XSheetCellRangeContainer; }
namespace com::sun::star::table { struct CellRangeAddress; }
namespace com::sun::star::util { class XNumberFormatTypes; } namespace com::sun::star::util { class XNumberFormatTypes; }
namespace com::sun::star::util { class XNumberFormats; } namespace com::sun::star::util { class XNumberFormats; }
namespace sax_fastparser { class FastAttributeList; } namespace sax_fastparser { class FastAttributeList; }
@ -49,18 +47,14 @@ class XMLNumberFormatAttributesExportHelper;
class ScEditEngineDefaulter; class ScEditEngineDefaulter;
class ScDocumentImport; class ScDocumentImport;
class ScMyImpDetectiveOpArray; class ScMyImpDetectiveOpArray;
class SdrPage;
class ScModelObj; class ScModelObj;
namespace sc { namespace sc {
struct ImportPostProcessData; struct ImportPostProcessData;
struct PivotTableSources; struct PivotTableSources;
class ScDrawObjData;
} }
class SvXMLTokenMap;
class XMLShapeImportHelper;
class ScXMLChangeTrackingImportHelper; class ScXMLChangeTrackingImportHelper;
struct ScMyNamedExpression struct ScMyNamedExpression

View File

@ -30,6 +30,7 @@
#include "xmlimprt.hxx" #include "xmlimprt.hxx"
class ScConditionalFormat; class ScConditionalFormat;
namespace com::sun::star::table { struct CellRangeAddress; }
class ScXMLCellImportPropertyMapper : public SvXMLImportPropertyMapper class ScXMLCellImportPropertyMapper : public SvXMLImportPropertyMapper
{ {

View File

@ -24,8 +24,6 @@
#include <rangelst.hxx> #include <rangelst.hxx>
namespace com::sun::star::drawing { class XDrawPage; } namespace com::sun::star::drawing { class XDrawPage; }
namespace com::sun::star::sheet { class XSpreadsheet; }
namespace com::sun::star::table { class XCellRange; }
namespace com::sun::star::drawing { class XShapes; } namespace com::sun::star::drawing { class XShapes; }
class ScXMLImport; class ScXMLImport;

View File

@ -28,7 +28,6 @@
#include <editeng/AccessibleStaticTextBase.hxx> #include <editeng/AccessibleStaticTextBase.hxx>
#include <comphelper/uno3.hxx> #include <comphelper/uno3.hxx>
namespace com::sun::star::accessibility { class XAccessibleRelationSet; }
namespace utl { class AccessibleRelationSetHelper; } namespace utl { class AccessibleRelationSetHelper; }
class ScTabViewShell; class ScTabViewShell;

View File

@ -16,8 +16,6 @@
#include <SparklineGroup.hxx> #include <SparklineGroup.hxx>
#include <SparklineAttributes.hxx> #include <SparklineAttributes.hxx>
class ColorListBox;
namespace sc namespace sc
{ {
/** Dialog to change input data range for a sparkline */ /** Dialog to change input data range for a sparkline */

View File

@ -26,7 +26,6 @@
#include <memory> #include <memory>
class SfxObjectShell;
class ScDocument; class ScDocument;
class ScRangeList; class ScRangeList;
class ScCompiler; class ScCompiler;

View File

@ -28,7 +28,6 @@
#include <vcl/idle.hxx> #include <vcl/idle.hxx>
class ScDocShell; class ScDocShell;
class ScRange;
struct ScAutoStyleData struct ScAutoStyleData
{ {

View File

@ -18,9 +18,7 @@
#include <map> #include <map>
#include <set> #include <set>
class ScCheckListMenuControl;
class ScViewData; class ScViewData;
struct ScCheckListMember;
struct ImplSVEvent; struct ImplSVEvent;
struct ScCheckListMember struct ScCheckListMember
@ -49,7 +47,6 @@ struct ScCheckListMember
std::unique_ptr<weld::TreeIter> mxParent; std::unique_ptr<weld::TreeIter> mxParent;
}; };
class ScCheckListMenuWindow;
class ScListSubMenuControl; class ScListSubMenuControl;
/** /**

View File

@ -14,8 +14,6 @@
#include <conditio.hxx> #include <conditio.hxx>
class ScViewData; class ScViewData;
class ScConditionalFormat;
class ScTabViewShell;
namespace sc namespace sc
{ {

View File

@ -36,8 +36,6 @@ class ScCondDateFormatEntry;
using namespace com::sun::star; using namespace com::sun::star;
namespace com::sun::star::sheet { class XSheetCellRanges; }
class ScCondFormatsObj : public cppu::WeakImplHelper<css::sheet::XConditionalFormats>, class ScCondFormatsObj : public cppu::WeakImplHelper<css::sheet::XConditionalFormats>,
public SfxListener public SfxListener
{ {

View File

@ -24,7 +24,6 @@
class ScViewData; class ScViewData;
class ScDocument; class ScDocument;
class ScRangeUtil;
class ScAreaData; class ScAreaData;
class ScConsolidateDlg : public ScAnyRefDlgController class ScConsolidateDlg : public ScAnyRefDlgController

View File

@ -27,8 +27,6 @@
#include <vcl/customweld.hxx> #include <vcl/customweld.hxx>
#include "AccessibleCsvControl.hxx" #include "AccessibleCsvControl.hxx"
namespace com::sun::star::accessibility { class XAccessible; }
/** Minimum character count for a column in separators mode. */ /** Minimum character count for a column in separators mode. */
const sal_Int32 CSV_MINCOLWIDTH = 8; const sal_Int32 CSV_MINCOLWIDTH = 8;
/** Maximum length of a cell string. */ /** Maximum length of a cell string. */

View File

@ -32,7 +32,6 @@
namespace svtools { class ColorConfig; } namespace svtools { class ColorConfig; }
class EditEngine; class EditEngine;
class ScAsciiOptions; class ScAsciiOptions;
class ScAccessibleCsvControl;
class ScCsvTableBox; class ScCsvTableBox;
const sal_uInt32 CSV_COLUMN_INVALID = CSV_VEC_NOTFOUND; const sal_uInt32 CSV_COLUMN_INVALID = CSV_VEC_NOTFOUND;

View File

@ -24,7 +24,6 @@
#include <vcl/virdev.hxx> #include <vcl/virdev.hxx>
class ScAccessibleCsvControl;
class ScCsvTableBox; class ScCsvTableBox;
/** A ruler control for the CSV import dialog. Supports setting and moving /** A ruler control for the CSV import dialog. Supports setting and moving

View File

@ -40,7 +40,6 @@
class ScRefreshTimerProtector; class ScRefreshTimerProtector;
class ScEditEngineDefaulter; class ScEditEngineDefaulter;
class SfxStyleSheetBasePool;
class SfxStyleSheetHint; class SfxStyleSheetHint;
class INetURLObject; class INetURLObject;

View File

@ -28,7 +28,6 @@ namespace com::sun::star::datatransfer { class XTransferable; }
class ScDocument; class ScDocument;
class ScViewData; class ScViewData;
class ScDrawObjData; class ScDrawObjData;
class SdrUndoManager;
class ScDrawView final : public FmFormView class ScDrawView final : public FmFormView
{ {

View File

@ -23,7 +23,6 @@
namespace formula namespace formula
{ {
class RefButton;
class RefButton; class RefButton;
class RefEdit; class RefEdit;
} }

View File

@ -33,10 +33,6 @@
#include <vector> #include <vector>
namespace editeng {
struct MisspellRanges;
}
namespace sc { namespace sc {
struct MisspellRangeResult; struct MisspellRangeResult;
class SpellCheckContext; class SpellCheckContext;

View File

@ -50,7 +50,6 @@ class CommandEvent;
class VclWindowEvent; class VclWindowEvent;
namespace vcl { class Window; } namespace vcl { class Window; }
struct ReferenceMark; struct ReferenceMark;
struct ESelection;
// ScInputHandler // ScInputHandler

View File

@ -32,17 +32,13 @@
#include <formula/opcode.hxx> #include <formula/opcode.hxx>
#include <svx/weldeditview.hxx> #include <svx/weldeditview.hxx>
namespace com::sun::star::accessibility { class XAccessible; }
class EditView; class EditView;
class ScAccessibleEditLineTextData; class ScAccessibleEditLineTextData;
class ScAccessibleEditObject; class ScAccessibleEditObject;
class ScEditEngineDefaulter;
class ScTextWndGroup; class ScTextWndGroup;
class ScInputBarGroup; class ScInputBarGroup;
class ScInputHandler; class ScInputHandler;
class ScTabViewShell; class ScTabViewShell;
struct EENotify;
class ScTextWndBase class ScTextWndBase
{ {

View File

@ -31,9 +31,7 @@
class SfxPoolItem; class SfxPoolItem;
class ScTabViewShell; class ScTabViewShell;
class ScViewData; class ScViewData;
class ScScenarioWindow;
class ScNavigatorControllerItem; class ScNavigatorControllerItem;
class ScNavigatorDlg;
class ScNavigatorSettings; class ScNavigatorSettings;
#define SC_DROPMODE_URL 0 #define SC_DROPMODE_URL 0

View File

@ -21,8 +21,6 @@
#include "anyrefdg.hxx" #include "anyrefdg.hxx"
class ScDocument;
class ScSimpleRefDlg: public ScAnyRefDlgController class ScSimpleRefDlg: public ScAnyRefDlgController
{ {
private: private:

View File

@ -31,10 +31,6 @@
#include "gridwin.hxx" #include "gridwin.hxx"
#include "drawview.hxx" #include "drawview.hxx"
namespace editeng {
struct MisspellRanges;
}
class ScEditEngineDefaulter; class ScEditEngineDefaulter;
class ScOutlineWindow; class ScOutlineWindow;
class ScRowBar; class ScRowBar;
@ -46,7 +42,6 @@ class SvBorder;
class FuPoor; class FuPoor;
class Splitter; class Splitter;
class ScTabSplitter; class ScTabSplitter;
class SdrView;
class SdrObject; class SdrObject;
class ScPageBreakData; class ScPageBreakData;
class SdrHdlList; class SdrHdlList;

View File

@ -48,7 +48,6 @@ class AbstractScMoveTableDlg;
class AbstractScTabBgColorDlg; class AbstractScTabBgColorDlg;
class AbstractScStringInputDlg; class AbstractScStringInputDlg;
class ScStyleSaveData; class ScStyleSaveData;
class ScArea;
class ScAuditingShell; class ScAuditingShell;
class ScDrawShell; class ScDrawShell;
class ScDrawTextObjectBar; class ScDrawTextObjectBar;
@ -64,7 +63,6 @@ class ScChartShell;
class ScPageBreakShell; class ScPageBreakShell;
class ScDPObject; class ScDPObject;
class ScNavigatorSettings; class ScNavigatorSettings;
class ScRangeName;
class ScDrawTransferObj; class ScDrawTransferObj;
class ScCondFormatDlgData; class ScCondFormatDlgData;
class ScDispatchProviderInterceptor; class ScDispatchProviderInterceptor;
@ -75,8 +73,6 @@ struct ScHeaderFieldData;
namespace editeng { class SvxBorderLine; } namespace editeng { class SvxBorderLine; }
namespace com::sun::star::frame { class XDispatchProviderInterceptor; }
namespace svx { namespace svx {
class ExtrusionBar; class ExtrusionBar;
class FontworkBar; class FontworkBar;

View File

@ -27,10 +27,7 @@
#include <functional> #include <functional>
namespace com::sun::star::accessibility { class XAccessible; }
class ScPatternAttr; class ScPatternAttr;
class EditView;
class EditTextObject; class EditTextObject;
class SvxFieldItem; class SvxFieldItem;
class ScAccessibleEditObject; class ScAccessibleEditObject;

View File

@ -31,12 +31,6 @@ class ScMarkData;
enum class ScDragSrc; enum class ScDragSrc;
class ScCellRangesBase; class ScCellRangesBase;
namespace com::sun::star {
namespace sheet {
class XSheetCellRanges;
}
}
class SAL_DLLPUBLIC_RTTI ScTransferObj : public TransferDataContainer class SAL_DLLPUBLIC_RTTI ScTransferObj : public TransferDataContainer
{ {
private: private:

View File

@ -11,7 +11,6 @@
#include <memory> #include <memory>
#include <vcl/uitest/uiobject.hxx> #include <vcl/uitest/uiobject.hxx>
class ScGridWindow;
class ScDBFunc; class ScDBFunc;
class ScDrawView; class ScDrawView;
class ScTabViewShell; class ScTabViewShell;

View File

@ -17,7 +17,6 @@
namespace sc namespace sc
{ {
class SparklineGroup; class SparklineGroup;
struct SparklineData;
/** Undo action for deleting a Sparkline */ /** Undo action for deleting a Sparkline */
class UndoDeleteSparkline : public ScSimpleUndo class UndoDeleteSparkline : public ScSimpleUndo

View File

@ -18,7 +18,6 @@
namespace sc namespace sc
{ {
class Sparkline; class Sparkline;
struct SparklineData;
/** Undo action for editing a Sparkline */ /** Undo action for editing a Sparkline */
class UndoEditSparkline : public ScSimpleUndo class UndoEditSparkline : public ScSimpleUndo

View File

@ -29,7 +29,6 @@
class ScDocShell; class ScDocShell;
class ScOutlineTable; class ScOutlineTable;
class ScPatternAttr;
class SvxSearchItem; class SvxSearchItem;
class SdrUndoAction; class SdrUndoAction;
class ScEditDataArray; class ScEditDataArray;

View File

@ -29,7 +29,6 @@
#include <memory> #include <memory>
class ScDocShell; class ScDocShell;
class ScPatternAttr;
class ScRangeName; class ScRangeName;
class ScFormulaCell; class ScFormulaCell;

View File

@ -98,7 +98,6 @@ namespace o3tl {
} }
class ScDocFunc; class ScDocFunc;
class ScDocument;
class ScDBFunc; class ScDBFunc;
class ScTabViewShell; class ScTabViewShell;
class ScDrawView; class ScDrawView;
@ -113,7 +112,6 @@ class SfxDispatcher;
class ScPatternAttr; class ScPatternAttr;
class ScExtDocOptions; class ScExtDocOptions;
class ScViewData; class ScViewData;
class ScMarkData;
class ScGridWindow; class ScGridWindow;
class ScSizeDeviceProvider; class ScSizeDeviceProvider;

View File

@ -26,7 +26,6 @@ class SfxItemSet;
class SfxBindings; class SfxBindings;
class SvxFontItem; class SvxFontItem;
class SfxViewShell; class SfxViewShell;
class SfxViewFrame;
class ScChangeAction; class ScChangeAction;
class ScChangeViewSettings; class ScChangeViewSettings;
class ScDocument; class ScDocument;

View File

@ -16,7 +16,6 @@
#include <memory> #include <memory>
class ScDocument; class ScDocument;
class ScRange;
class ScOrcusXMLContext; class ScOrcusXMLContext;
struct CustomCompare struct CustomCompare

View File

@ -26,10 +26,6 @@
#include <rtl/ustring.hxx> #include <rtl/ustring.hxx>
namespace com::sun::star {
namespace beans { struct PropertyValue; }
}
class ScFilterDetect : public ::cppu::WeakImplHelper< css::document::XExtendedFilterDetection, css::lang::XServiceInfo > class ScFilterDetect : public ::cppu::WeakImplHelper< css::document::XExtendedFilterDetection, css::lang::XServiceInfo >
{ {
public: public:

View File

@ -22,7 +22,6 @@
#include <ooo/vba/excel/XChartObjects.hpp> #include <ooo/vba/excel/XChartObjects.hpp>
#include <vbahelper/vbacollectionimpl.hxx> #include <vbahelper/vbacollectionimpl.hxx>
namespace com::sun::star::container { class XEnumeration; }
namespace com::sun::star::drawing { class XDrawPageSupplier; } namespace com::sun::star::drawing { class XDrawPageSupplier; }
namespace com::sun::star::table { class XTableCharts; } namespace com::sun::star::table { class XTableCharts; }
namespace com::sun::star::uno { class XComponentContext; } namespace com::sun::star::uno { class XComponentContext; }

View File

@ -27,7 +27,6 @@ namespace com::sun::star::beans { class XPropertySet; }
namespace com::sun::star::sheet { class XSheetConditionalEntries; } namespace com::sun::star::sheet { class XSheetConditionalEntries; }
namespace ooo::vba::excel { class XRange; } namespace ooo::vba::excel { class XRange; }
namespace ooo::vba::excel { class XStyle; } namespace ooo::vba::excel { class XStyle; }
namespace ooo::vba::excel { class XStyles; }
class ScVbaStyles; class ScVbaStyles;
class ScVbaFormatCondition; class ScVbaFormatCondition;

View File

@ -24,7 +24,6 @@
#include <vbahelper/vbahelperinterface.hxx> #include <vbahelper/vbahelperinterface.hxx>
#include <tools/long.hxx> #include <tools/long.hxx>
namespace ooo::vba::excel { class XRange; }
namespace com::sun::star::beans { class XPropertySet; } namespace com::sun::star::beans { class XPropertySet; }
namespace com::sun::star::table { class XCell; } namespace com::sun::star::table { class XCell; }

View File

@ -12,7 +12,6 @@
#include <vbahelper/vbacollectionimpl.hxx> #include <vbahelper/vbacollectionimpl.hxx>
namespace ooo::vba { class XCommandBarControls; } namespace ooo::vba { class XCommandBarControls; }
namespace ooo::vba::excel { class XMenuItem; }
typedef CollTestImplHelper< ov::excel::XMenuItems > MenuItems_BASE; typedef CollTestImplHelper< ov::excel::XMenuItems > MenuItems_BASE;

View File

@ -12,7 +12,6 @@
#include <vbahelper/vbacollectionimpl.hxx> #include <vbahelper/vbacollectionimpl.hxx>
namespace ooo::vba { class XCommandBarControls; } namespace ooo::vba { class XCommandBarControls; }
namespace ooo::vba::excel { class XMenu; }
typedef CollTestImplHelper< ov::excel::XMenus > Menus_BASE; typedef CollTestImplHelper< ov::excel::XMenus > Menus_BASE;

View File

@ -33,13 +33,9 @@ namespace com::sun::star::sheet { class XSheetCellRangeContainer; }
namespace com::sun::star::table { class XCell; } namespace com::sun::star::table { class XCell; }
namespace com::sun::star::table { class XCellRange; } namespace com::sun::star::table { class XCellRange; }
namespace com::sun::star::table { struct CellRangeAddress; } namespace com::sun::star::table { struct CellRangeAddress; }
namespace com::sun::star::lang { class XServiceInfo; }
namespace ooo::vba { class XCollection; } namespace ooo::vba { class XCollection; }
namespace ooo::vba::excel { class XComment; }
namespace ooo::vba::excel { class XFont; }
class SfxItemSet; class SfxItemSet;
class ScCellRangesBase;
class ScCellRangeObj; class ScCellRangeObj;
class ScDocShell; class ScDocShell;
class ScDocument; class ScDocument;

View File

@ -25,7 +25,6 @@
#include <rtl/ref.hxx> #include <rtl/ref.hxx>
namespace com::sun::star { namespace com::sun::star {
namespace container { class XEnumeration; }
namespace frame { class XModel; } namespace frame { class XModel; }
namespace sheet { class XSpreadsheet; } namespace sheet { class XSpreadsheet; }
} }

View File

@ -27,12 +27,9 @@
namespace com::sun::star::frame { class XModel; } namespace com::sun::star::frame { class XModel; }
namespace com::sun::star::sheet { class XSpreadsheet; } namespace com::sun::star::sheet { class XSpreadsheet; }
namespace com::sun::star::uno { class XComponentContext; } namespace com::sun::star::uno { class XComponentContext; }
namespace ooo::vba::excel { class XOutline; }
namespace ooo::vba::excel { class XPageSetup; }
namespace ooo::vba::excel { class XRange; } namespace ooo::vba::excel { class XRange; }
namespace ooo::vba::excel { namespace ooo::vba::excel {
class XChartObjects;
class XHyperlinks; class XHyperlinks;
} }