LibreOffice Module sc (master) 1
|
This class wraps an MSFilterTracer to create trace logs for import/export filters. More...
#include <xltracer.hxx>
Public Member Functions | |
XclTracer (std::u16string_view rDocUrl) | |
~XclTracer () | |
bool | IsEnabled () const |
Returns true, if tracing is enabled. More... | |
void | ProcessTraceOnce (XclTracerId eProblem) |
Ensure that particular traces are logged once per document. More... | |
void | TraceInvalidAddress (const ScAddress &rPos, const ScAddress &rMaxPos) |
void | TraceInvalidRow (sal_uInt32 nRow, sal_uInt32 nMaxrow) |
void | TraceInvalidTab (SCTAB nTab, SCTAB nMaxTab) |
void | TracePrintRange () |
void | TraceDates (sal_uInt16 nNumFmt) |
void | TraceBorderLineStyle (bool bBorderLineStyle) |
void | TraceFillPattern (bool bFillPattern) |
void | TraceFormulaMissingArg () |
void | TracePivotDataSource (bool bExternal) |
void | TracePivotChartExists () |
void | TraceChartUnKnownType () |
void | TraceChartOnlySheet () |
void | TraceChartDataTable () |
void | TraceChartLegendPosition () |
void | TraceUnsupportedObjects () |
void | TraceObjectNotPrintable () |
void | TraceDVType (bool bType) |
Private Attributes | |
bool | mbEnabled |
std::vector< bool > | maFirstTimes |
array of flags corresponding to each entry in the XclTracerDetails table. More... | |
This class wraps an MSFilterTracer to create trace logs for import/export filters.
Definition at line 50 of file xltracer.hxx.
|
explicit |
Definition at line 25 of file xltracer.cxx.
XclTracer::~XclTracer | ( | ) |
Definition at line 31 of file xltracer.cxx.
|
inline |
Returns true, if tracing is enabled.
Definition at line 57 of file xltracer.hxx.
References mbEnabled.
void XclTracer::ProcessTraceOnce | ( | XclTracerId | eProblem | ) |
Ensure that particular traces are logged once per document.
Definition at line 33 of file xltracer.cxx.
References maFirstTimes, and mbEnabled.
Referenced by TraceBorderLineStyle(), TraceChartDataTable(), TraceChartLegendPosition(), TraceChartOnlySheet(), TraceChartUnKnownType(), TraceDates(), TraceDVType(), TraceFillPattern(), TraceFormulaMissingArg(), TraceInvalidRow(), TraceInvalidTab(), TraceObjectNotPrintable(), TracePivotChartExists(), TracePivotDataSource(), TracePrintRange(), and TraceUnsupportedObjects().
void XclTracer::TraceBorderLineStyle | ( | bool | bBorderLineStyle | ) |
Definition at line 68 of file xltracer.cxx.
References eBorderLineStyle, and ProcessTraceOnce().
Referenced by XclImpXF::CreatePattern().
void XclTracer::TraceChartDataTable | ( | ) |
Definition at line 102 of file xltracer.cxx.
References eChartDataTable, and ProcessTraceOnce().
Referenced by XclImpChLegend::ReadHeaderRecord().
void XclTracer::TraceChartLegendPosition | ( | ) |
Definition at line 108 of file xltracer.cxx.
References eChartLegendPosition, and ProcessTraceOnce().
Referenced by XclImpChLegend::ReadHeaderRecord().
void XclTracer::TraceChartOnlySheet | ( | ) |
Definition at line 100 of file xltracer.cxx.
References eChartOnlySheet, and ProcessTraceOnce().
Referenced by ImportExcel::Read(), and ImportExcel8::Read().
void XclTracer::TraceChartUnKnownType | ( | ) |
Definition at line 98 of file xltracer.cxx.
References eChartUnKnownType, and ProcessTraceOnce().
Referenced by XclImpChType::Finalize().
void XclTracer::TraceDates | ( | sal_uInt16 | nNumFmt | ) |
Definition at line 61 of file xltracer.cxx.
References eShortDate, and ProcessTraceOnce().
Referenced by XclImpXF::CreatePattern().
void XclTracer::TraceDVType | ( | bool | bType | ) |
Definition at line 123 of file xltracer.cxx.
References eDVType, and ProcessTraceOnce().
Referenced by XclImpValidationManager::ReadDV().
void XclTracer::TraceFillPattern | ( | bool | bFillPattern | ) |
Definition at line 74 of file xltracer.cxx.
References eFillPattern, and ProcessTraceOnce().
Referenced by XclImpXF::CreatePattern().
void XclTracer::TraceFormulaMissingArg | ( | ) |
Definition at line 80 of file xltracer.cxx.
References eFormulaMissingArg, and ProcessTraceOnce().
Referenced by ExcelToSc::Convert(), and ExcelToSc8::Convert().
Definition at line 41 of file xltracer.cxx.
References ScAddress::Row(), ScAddress::Tab(), TraceInvalidRow(), and TraceInvalidTab().
Referenced by XclExpAddressConverter::CheckAddress(), and XclImpAddressConverter::CheckAddress().
void XclTracer::TraceInvalidRow | ( | sal_uInt32 | nRow, |
sal_uInt32 | nMaxrow | ||
) |
Definition at line 47 of file xltracer.cxx.
References eRowLimitExceeded, and ProcessTraceOnce().
Referenced by ImportExcel::TableOp(), and TraceInvalidAddress().
Definition at line 53 of file xltracer.cxx.
References eTabLimitExceeded, and ProcessTraceOnce().
Referenced by XclAddressConverterBase::CheckScTab(), and TraceInvalidAddress().
void XclTracer::TraceObjectNotPrintable | ( | ) |
Definition at line 121 of file xltracer.cxx.
References eObjectNotPrintable, and ProcessTraceOnce().
Referenced by XclImpDrawObjBase::DoPreProcessSdrObj().
void XclTracer::TracePivotChartExists | ( | ) |
Definition at line 92 of file xltracer.cxx.
References ePivotChartExists, and ProcessTraceOnce().
Referenced by XclImpChart::ReadChartSubStream().
void XclTracer::TracePivotDataSource | ( | bool | bExternal | ) |
Definition at line 86 of file xltracer.cxx.
References ePivotDataSource, and ProcessTraceOnce().
Referenced by XclImpPivotCache::ReadSxvs().
void XclTracer::TracePrintRange | ( | ) |
Definition at line 59 of file xltracer.cxx.
References ePrintRange, and ProcessTraceOnce().
Referenced by ImportExcel::PostDocLoad().
void XclTracer::TraceUnsupportedObjects | ( | ) |
Definition at line 115 of file xltracer.cxx.
References eUnsupportedObject, and ProcessTraceOnce().
Referenced by XclImpDrawObjBase::ReadObj3(), XclImpDrawObjBase::ReadObj4(), XclImpDrawObjBase::ReadObj5(), and XclImpDrawObjBase::ReadObj8().
|
private |
array of flags corresponding to each entry in the XclTracerDetails table.
Definition at line 83 of file xltracer.hxx.
Referenced by ProcessTraceOnce().
|
private |
Definition at line 81 of file xltracer.hxx.
Referenced by IsEnabled(), and ProcessTraceOnce().