LibreOffice Module sc (master) 1
Public Member Functions | Private Attributes | Static Private Attributes | List of all members
ScDelimiterTable Class Reference

Public Member Functions

 ScDelimiterTable (OUString aDelTab)
 
sal_uInt16 GetCode (std::u16string_view rDelimiter) const
 
OUString GetDelimiter (sal_Unicode nCode) const
 
OUString FirstDel ()
 
OUString NextDel ()
 

Private Attributes

const OUString theDelTab
 
sal_Int32 nDelIdx
 

Static Private Attributes

static constexpr sal_Unicode cSep {'\t'}
 

Detailed Description

Definition at line 36 of file scuiimoptdlg.cxx.

Constructor & Destructor Documentation

◆ ScDelimiterTable()

ScDelimiterTable::ScDelimiterTable ( OUString  aDelTab)
inlineexplicit

Definition at line 39 of file scuiimoptdlg.cxx.

Member Function Documentation

◆ FirstDel()

OUString ScDelimiterTable::FirstDel ( )
inline

Definition at line 47 of file scuiimoptdlg.cxx.

References cSep, nDelIdx, and theDelTab.

◆ GetCode()

sal_uInt16 ScDelimiterTable::GetCode ( std::u16string_view  rDelimiter) const

Definition at line 56 of file scuiimoptdlg.cxx.

References cSep, o3tl::getToken(), theDelTab, and o3tl::toInt32().

Referenced by ScImportOptionsDlg::GetCodeFromCombo().

◆ GetDelimiter()

OUString ScDelimiterTable::GetDelimiter ( sal_Unicode  nCode) const

Definition at line 73 of file scuiimoptdlg.cxx.

References cSep, o3tl::getToken(), theDelTab, and o3tl::toInt32().

◆ NextDel()

OUString ScDelimiterTable::NextDel ( )
inline

Definition at line 48 of file scuiimoptdlg.cxx.

References cSep, nDelIdx, and theDelTab.

Member Data Documentation

◆ cSep

constexpr sal_Unicode ScDelimiterTable::cSep {'\t'}
staticconstexprprivate

Definition at line 52 of file scuiimoptdlg.cxx.

Referenced by FirstDel(), GetCode(), GetDelimiter(), and NextDel().

◆ nDelIdx

sal_Int32 ScDelimiterTable::nDelIdx
private

Definition at line 53 of file scuiimoptdlg.cxx.

Referenced by FirstDel(), and NextDel().

◆ theDelTab

const OUString ScDelimiterTable::theDelTab
private

Definition at line 51 of file scuiimoptdlg.cxx.

Referenced by FirstDel(), GetCode(), GetDelimiter(), and NextDel().


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