LibreOffice Module sc (master) 1
Public Member Functions | Public Attributes | List of all members
XclPTVisNameInfo Struct Reference

Base struct for named info structs. More...

#include <xlpivot.hxx>

Inheritance diagram for XclPTVisNameInfo:
[legend]
Collaboration diagram for XclPTVisNameInfo:
[legend]

Public Member Functions

bool HasVisName () const
 The displayed name of the item. More...
 
const OUString * GetVisName () const
 Returns the name, if set explicitly (maVisName.mbUseCache is false). More...
 
void SetVisName (const OUString &rName)
 Sets the visible name and enables usage of cache if name is empty. More...
 

Public Attributes

XclPTCachedName maVisName
 

Detailed Description

Base struct for named info structs.

Supports explicit naming and using the cache.

Definition at line 559 of file xlpivot.hxx.

Member Function Documentation

◆ GetVisName()

const OUString * XclPTVisNameInfo::GetVisName ( ) const

Returns the name, if set explicitly (maVisName.mbUseCache is false).

Definition at line 420 of file xlpivot.cxx.

References HasVisName(), XclPTCachedName::maName, and maVisName.

Referenced by XclImpPTField::ConvertDataFieldInfo(), XclImpPTItem::ConvertItem(), XclImpPTField::ConvertRCPField(), and XclImpPTField::GetVisFieldName().

◆ HasVisName()

bool XclPTVisNameInfo::HasVisName ( ) const
inline

The displayed name of the item.

Returns true, if the name is set explicitly (maVisName.mbUseCache is false).

Definition at line 564 of file xlpivot.hxx.

References maVisName, and XclPTCachedName::mbUseCache.

Referenced by XclImpPTItem::ConvertItem(), and GetVisName().

◆ SetVisName()

void XclPTVisNameInfo::SetVisName ( const OUString &  rName)

Sets the visible name and enables usage of cache if name is empty.

Definition at line 425 of file xlpivot.cxx.

References XclPTCachedName::maName, maVisName, and XclPTCachedName::mbUseCache.

Referenced by XclExpPTField::SetDataPropertiesFromDim(), XclExpPTField::SetPropertiesFromDim(), and XclExpPTItem::SetPropertiesFromMember().

Member Data Documentation

◆ maVisName

XclPTCachedName XclPTVisNameInfo::maVisName

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