LibreOffice Module sc (master) 1
|
Base class for import/export address converters. More...
#include <xladdress.hxx>
Public Member Functions | |
XclAddressConverterBase (XclTracer &rTracer, const ScAddress &rMaxPos) | |
virtual | ~XclAddressConverterBase () |
bool | IsColTruncated () const |
Returns whether the "some columns have been cut" warning box should be shown. More... | |
bool | IsRowTruncated () const |
Returns whether the "some rows have been cut" warning box should be shown. More... | |
bool | IsTabTruncated () const |
Returns whether the "some sheets have been cut" warning box should be shown. More... | |
void | CheckScTab (SCTAB nScTab) |
Checks if the passed sheet index is valid. More... | |
Protected Attributes | |
XclTracer & | mrTracer |
ScAddress | maMaxPos |
Tracer for invalid addresses. More... | |
sal_uInt16 | mnMaxCol |
Default maximum position. More... | |
sal_uInt32 | mnMaxRow |
Maximum column index, as 16-bit value. More... | |
bool | mbColTrunc |
Maximum row index. More... | |
bool | mbRowTrunc |
Flag for "columns truncated" warning box. More... | |
bool | mbTabTrunc |
Flag for "rows truncated" warning box. More... | |
Base class for import/export address converters.
Definition at line 139 of file xladdress.hxx.
|
explicit |
Definition at line 134 of file xladdress.cxx.
References Col, ScAddress::Col(), o3tl::make_unsigned(), Row, ScAddress::Row(), SAL_MAX_UINT16, and SAL_MAX_UINT32.
|
virtual |
Definition at line 147 of file xladdress.cxx.
void XclAddressConverterBase::CheckScTab | ( | SCTAB | nScTab | ) |
Checks if the passed sheet index is valid.
nScTab | The sheet index to check. Sets the internal flag that produces a warning box after loading/saving the file, if the sheet index is not valid. |
Definition at line 151 of file xladdress.cxx.
References maMaxPos, mbTabTrunc, mrTracer, ScAddress::Tab(), and XclTracer::TraceInvalidTab().
Referenced by ImportExcel8::Read().
|
inline |
Returns whether the "some columns have been cut" warning box should be shown.
Definition at line 146 of file xladdress.hxx.
References mbColTrunc.
Referenced by ImportExcel::Read(), ImportExcel8::Read(), and ExportBiff5::Write().
|
inline |
Returns whether the "some rows have been cut" warning box should be shown.
Definition at line 148 of file xladdress.hxx.
References mbRowTrunc.
Referenced by ImportExcel::Read(), ImportExcel8::Read(), and ExportBiff5::Write().
|
inline |
Returns whether the "some sheets have been cut" warning box should be shown.
Definition at line 150 of file xladdress.hxx.
References mbTabTrunc.
Referenced by ImportExcel::Read(), ImportExcel8::Read(), and ExportBiff5::Write().
|
protected |
Tracer for invalid addresses.
Definition at line 161 of file xladdress.hxx.
Referenced by XclExpAddressConverter::CheckAddress(), XclImpAddressConverter::CheckAddress(), CheckScTab(), XclExpAddressConverter::ConvertRange(), XclExpAddressConverter::CreateValidAddress(), XclImpAddressConverter::CreateValidAddress(), and XclExpAddressConverter::ValidateRange().
|
protected |
Maximum row index.
Definition at line 164 of file xladdress.hxx.
Referenced by XclExpAddressConverter::CheckAddress(), XclImpAddressConverter::CheckAddress(), and IsColTruncated().
|
protected |
Flag for "columns truncated" warning box.
Definition at line 165 of file xladdress.hxx.
Referenced by XclExpAddressConverter::CheckAddress(), XclImpAddressConverter::CheckAddress(), and IsRowTruncated().
|
protected |
Flag for "rows truncated" warning box.
Definition at line 166 of file xladdress.hxx.
Referenced by XclExpAddressConverter::CheckAddress(), CheckScTab(), and IsTabTruncated().
|
protected |
Default maximum position.
Definition at line 162 of file xladdress.hxx.
Referenced by XclImpAddressConverter::CheckAddress(), XclImpAddressConverter::ConvertRange(), and XclImpAddressConverter::CreateValidAddress().
|
protected |
Maximum column index, as 16-bit value.
Definition at line 163 of file xladdress.hxx.
Referenced by XclImpAddressConverter::CheckAddress(), XclImpAddressConverter::ConvertRange(), and XclImpAddressConverter::CreateValidAddress().
|
protected |
Definition at line 160 of file xladdress.hxx.
Referenced by XclExpAddressConverter::CheckAddress(), XclImpAddressConverter::CheckAddress(), and CheckScTab().