LibreOffice Module sc (master)  1
Public Member Functions | Private Attributes | List of all members
XclTracer Class Referencefinal

This class wraps an MSFilterTracer to create trace logs for import/export filters. More...

#include <xltracer.hxx>

Public Member Functions

 XclTracer (const OUString &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...
 

Detailed Description

This class wraps an MSFilterTracer to create trace logs for import/export filters.

Definition at line 51 of file xltracer.hxx.

Constructor & Destructor Documentation

XclTracer::XclTracer ( const OUString &  rDocUrl)
explicit

Definition at line 28 of file xltracer.cxx.

XclTracer::~XclTracer ( )

Definition at line 37 of file xltracer.cxx.

Member Function Documentation

bool XclTracer::IsEnabled ( ) const
inline

Returns true, if tracing is enabled.

Definition at line 58 of file xltracer.hxx.

References mbEnabled.

void XclTracer::ProcessTraceOnce ( XclTracerId  eProblem)
void XclTracer::TraceBorderLineStyle ( bool  bBorderLineStyle)

Definition at line 74 of file xltracer.cxx.

References eBorderLineStyle, and ProcessTraceOnce().

Referenced by XclImpXF::CreatePattern().

void XclTracer::TraceChartDataTable ( )

Definition at line 108 of file xltracer.cxx.

References eChartDataTable, and ProcessTraceOnce().

Referenced by XclImpChLegend::ReadHeaderRecord().

void XclTracer::TraceChartLegendPosition ( )

Definition at line 114 of file xltracer.cxx.

References eChartLegendPosition, and ProcessTraceOnce().

Referenced by XclImpChLegend::ReadHeaderRecord().

void XclTracer::TraceChartOnlySheet ( )

Definition at line 106 of file xltracer.cxx.

References eChartOnlySheet, and ProcessTraceOnce().

Referenced by ImportExcel8::Read(), and ImportExcel::Read().

void XclTracer::TraceChartUnKnownType ( )

Definition at line 104 of file xltracer.cxx.

References eChartUnKnownType, and ProcessTraceOnce().

Referenced by XclImpChType::Finalize().

void XclTracer::TraceDates ( sal_uInt16  nNumFmt)

Definition at line 67 of file xltracer.cxx.

References eShortDate, and ProcessTraceOnce().

Referenced by XclImpXF::CreatePattern().

void XclTracer::TraceDVType ( bool  bType)

Definition at line 129 of file xltracer.cxx.

References eDVType, and ProcessTraceOnce().

Referenced by XclImpValidationManager::ReadDV().

void XclTracer::TraceFillPattern ( bool  bFillPattern)

Definition at line 80 of file xltracer.cxx.

References eFillPattern, and ProcessTraceOnce().

Referenced by XclImpXF::CreatePattern().

void XclTracer::TraceFormulaMissingArg ( )

Definition at line 86 of file xltracer.cxx.

References eFormulaMissingArg, and ProcessTraceOnce().

Referenced by ExcelToSc::Convert(), and ExcelToSc8::Convert().

void XclTracer::TraceInvalidAddress ( const ScAddress rPos,
const ScAddress rMaxPos 
)
void XclTracer::TraceInvalidRow ( sal_uInt32  nRow,
sal_uInt32  nMaxrow 
)

Definition at line 53 of file xltracer.cxx.

References eRowLimitExceeded, and ProcessTraceOnce().

Referenced by ImportExcel::TableOp(), and TraceInvalidAddress().

void XclTracer::TraceInvalidTab ( SCTAB  nTab,
SCTAB  nMaxTab 
)

Definition at line 59 of file xltracer.cxx.

References eTabLimitExceeded, and ProcessTraceOnce().

Referenced by XclAddressConverterBase::CheckScTab(), and TraceInvalidAddress().

void XclTracer::TraceObjectNotPrintable ( )

Definition at line 127 of file xltracer.cxx.

References eObjectNotPrintable, and ProcessTraceOnce().

Referenced by XclImpDrawObjBase::DoPreProcessSdrObj().

void XclTracer::TracePivotChartExists ( )

Definition at line 98 of file xltracer.cxx.

References ePivotChartExists, and ProcessTraceOnce().

Referenced by XclImpChart::ReadChartSubStream().

void XclTracer::TracePivotDataSource ( bool  bExternal)

Definition at line 92 of file xltracer.cxx.

References ePivotDataSource, and ProcessTraceOnce().

Referenced by XclImpPivotCache::ReadSxvs().

void XclTracer::TracePrintRange ( )

Definition at line 65 of file xltracer.cxx.

References ePrintRange, and ProcessTraceOnce().

Referenced by ImportExcel::PostDocLoad().

void XclTracer::TraceUnsupportedObjects ( )

Member Data Documentation

std::vector<bool> XclTracer::maFirstTimes
private

array of flags corresponding to each entry in the XclTracerDetails table.

Definition at line 84 of file xltracer.hxx.

Referenced by ProcessTraceOnce().

bool XclTracer::mbEnabled
private

Definition at line 82 of file xltracer.hxx.

Referenced by IsEnabled(), and ProcessTraceOnce().


The documentation for this class was generated from the following files: