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 (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...
 

Detailed Description

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

Definition at line 50 of file xltracer.hxx.

Constructor & Destructor Documentation

◆ XclTracer()

XclTracer::XclTracer ( std::u16string_view  rDocUrl)
explicit

Definition at line 25 of file xltracer.cxx.

◆ ~XclTracer()

XclTracer::~XclTracer ( )

Definition at line 31 of file xltracer.cxx.

Member Function Documentation

◆ IsEnabled()

bool XclTracer::IsEnabled ( ) const
inline

Returns true, if tracing is enabled.

Definition at line 57 of file xltracer.hxx.

References mbEnabled.

◆ ProcessTraceOnce()

void XclTracer::ProcessTraceOnce ( XclTracerId  eProblem)

◆ TraceBorderLineStyle()

void XclTracer::TraceBorderLineStyle ( bool  bBorderLineStyle)

Definition at line 68 of file xltracer.cxx.

References eBorderLineStyle, and ProcessTraceOnce().

Referenced by XclImpXF::CreatePattern().

◆ TraceChartDataTable()

void XclTracer::TraceChartDataTable ( )

Definition at line 102 of file xltracer.cxx.

References eChartDataTable, and ProcessTraceOnce().

Referenced by XclImpChLegend::ReadHeaderRecord().

◆ TraceChartLegendPosition()

void XclTracer::TraceChartLegendPosition ( )

Definition at line 108 of file xltracer.cxx.

References eChartLegendPosition, and ProcessTraceOnce().

Referenced by XclImpChLegend::ReadHeaderRecord().

◆ TraceChartOnlySheet()

void XclTracer::TraceChartOnlySheet ( )

Definition at line 100 of file xltracer.cxx.

References eChartOnlySheet, and ProcessTraceOnce().

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

◆ TraceChartUnKnownType()

void XclTracer::TraceChartUnKnownType ( )

Definition at line 98 of file xltracer.cxx.

References eChartUnKnownType, and ProcessTraceOnce().

Referenced by XclImpChType::Finalize().

◆ TraceDates()

void XclTracer::TraceDates ( sal_uInt16  nNumFmt)

Definition at line 61 of file xltracer.cxx.

References eShortDate, and ProcessTraceOnce().

Referenced by XclImpXF::CreatePattern().

◆ TraceDVType()

void XclTracer::TraceDVType ( bool  bType)

Definition at line 123 of file xltracer.cxx.

References eDVType, and ProcessTraceOnce().

Referenced by XclImpValidationManager::ReadDV().

◆ TraceFillPattern()

void XclTracer::TraceFillPattern ( bool  bFillPattern)

Definition at line 74 of file xltracer.cxx.

References eFillPattern, and ProcessTraceOnce().

Referenced by XclImpXF::CreatePattern().

◆ TraceFormulaMissingArg()

void XclTracer::TraceFormulaMissingArg ( )

Definition at line 80 of file xltracer.cxx.

References eFormulaMissingArg, and ProcessTraceOnce().

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

◆ TraceInvalidAddress()

void XclTracer::TraceInvalidAddress ( const ScAddress rPos,
const ScAddress rMaxPos 
)

◆ TraceInvalidRow()

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().

◆ TraceInvalidTab()

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

Definition at line 53 of file xltracer.cxx.

References eTabLimitExceeded, and ProcessTraceOnce().

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

◆ TraceObjectNotPrintable()

void XclTracer::TraceObjectNotPrintable ( )

Definition at line 121 of file xltracer.cxx.

References eObjectNotPrintable, and ProcessTraceOnce().

Referenced by XclImpDrawObjBase::DoPreProcessSdrObj().

◆ TracePivotChartExists()

void XclTracer::TracePivotChartExists ( )

Definition at line 92 of file xltracer.cxx.

References ePivotChartExists, and ProcessTraceOnce().

Referenced by XclImpChart::ReadChartSubStream().

◆ TracePivotDataSource()

void XclTracer::TracePivotDataSource ( bool  bExternal)

Definition at line 86 of file xltracer.cxx.

References ePivotDataSource, and ProcessTraceOnce().

Referenced by XclImpPivotCache::ReadSxvs().

◆ TracePrintRange()

void XclTracer::TracePrintRange ( )

Definition at line 59 of file xltracer.cxx.

References ePrintRange, and ProcessTraceOnce().

Referenced by ImportExcel::PostDocLoad().

◆ TraceUnsupportedObjects()

void XclTracer::TraceUnsupportedObjects ( )

Member Data Documentation

◆ maFirstTimes

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

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

Definition at line 83 of file xltracer.hxx.

Referenced by ProcessTraceOnce().

◆ mbEnabled

bool XclTracer::mbEnabled
private

Definition at line 81 of file xltracer.hxx.

Referenced by IsEnabled(), and ProcessTraceOnce().


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