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

#include <excrecds.hxx>

Public Member Functions

 ExcFilterCondition ()
 
 ~ExcFilterCondition ()
 
bool IsEmpty () const
 
std::size_t GetTextBytes () const
 
void SetCondition (sal_uInt8 nTp, sal_uInt8 nOp, const OUString *pT)
 
void Save (XclExpStream &rStrm)
 
void SaveXml (XclExpXmlStream &rStrm)
 
void SaveText (XclExpStream &rStrm)
 

Private Attributes

sal_uInt8 nType
 
sal_uInt8 nOper
 
std::unique_ptr< XclExpStringpText
 

Detailed Description

Definition at line 336 of file excrecds.hxx.

Constructor & Destructor Documentation

◆ ExcFilterCondition()

ExcFilterCondition::ExcFilterCondition ( )

Definition at line 531 of file excrecds.cxx.

◆ ~ExcFilterCondition()

ExcFilterCondition::~ExcFilterCondition ( )

Definition at line 537 of file excrecds.cxx.

Member Function Documentation

◆ GetTextBytes()

std::size_t ExcFilterCondition::GetTextBytes ( ) const

Definition at line 541 of file excrecds.cxx.

References pText.

◆ IsEmpty()

bool ExcFilterCondition::IsEmpty ( ) const
inline

Definition at line 349 of file excrecds.hxx.

References EXC_AFTYPE_NOTUSED, and nType.

Referenced by XclExpAutofilter::AddCondition(), XclExpAutofilter::HasCondition(), and SaveXml().

◆ Save()

void ExcFilterCondition::Save ( XclExpStream rStrm)

Definition at line 553 of file excrecds.cxx.

References EXC_AFTYPE_STRING, nOper, nType, pText, and rStrm.

Referenced by XclExpAutofilter::WriteBody().

◆ SaveText()

void ExcFilterCondition::SaveText ( XclExpStream rStrm)

Definition at line 598 of file excrecds.cxx.

References EXC_AFTYPE_STRING, nType, pText, and rStrm.

Referenced by XclExpAutofilter::WriteBody().

◆ SaveXml()

void ExcFilterCondition::SaveXml ( XclExpXmlStream rStrm)

Definition at line 588 of file excrecds.cxx.

References IsEmpty(), lcl_GetOperator(), lcl_GetValue(), nOper, nType, pText, and rStrm.

Referenced by XclExpAutofilter::SaveXml().

◆ SetCondition()

void ExcFilterCondition::SetCondition ( sal_uInt8  nTp,
sal_uInt8  nOp,
const OUString *  pT 
)

Definition at line 546 of file excrecds.cxx.

References EightBitLength, nOper, nType, and pText.

Referenced by XclExpAutofilter::AddCondition().

Member Data Documentation

◆ nOper

sal_uInt8 ExcFilterCondition::nOper
private

Definition at line 340 of file excrecds.hxx.

Referenced by Save(), SaveXml(), and SetCondition().

◆ nType

sal_uInt8 ExcFilterCondition::nType
private

Definition at line 339 of file excrecds.hxx.

Referenced by IsEmpty(), Save(), SaveText(), SaveXml(), and SetCondition().

◆ pText

std::unique_ptr<XclExpString> ExcFilterCondition::pText
private

Definition at line 342 of file excrecds.hxx.

Referenced by GetTextBytes(), Save(), SaveText(), SaveXml(), and SetCondition().


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