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

Contains extended data for a pivot table field (SXVDEX record). More...

#include <xlpivot.hxx>

Public Member Functions

 XclPTFieldExtInfo ()
 
sal_Int32 GetApiSortMode () const
 Returns the API constant representing the sorting mode. More...
 
void SetApiSortMode (sal_Int32 nSortMode)
 Sets the sorting mode represented by the passed API constant. More...
 
sal_Int32 GetApiAutoShowMode () const
 Returns the API constant representing the AutoShow mode. More...
 
void SetApiAutoShowMode (sal_Int32 nShowMode)
 Sets the AutoShow mode represented by the passed API constant. More...
 
sal_Int32 GetApiAutoShowCount () const
 Returns the number of items to be shown in AutoShow mode. More...
 
void SetApiAutoShowCount (sal_Int32 nShowCount)
 Sets the number of items to be shown in AutoShow mode. More...
 
sal_Int32 GetApiLayoutMode () const
 Returns the API constant representing the layout mode. More...
 
void SetApiLayoutMode (sal_Int32 nLayoutMode)
 Sets the layout mode represented by the passed API constant. More...
 

Public Attributes

sal_uInt32 mnFlags
 
sal_uInt16 mnSortField
 Several flags and number of items for AutoShow. More...
 
sal_uInt16 mnShowField
 Index to data field sorting bases on. More...
 
sal_uInt16 mnNumFmt
 Index to data field AutoShow bases on. More...
 
std::optional< OUString > mpFieldTotalName
 

Detailed Description

Contains extended data for a pivot table field (SXVDEX record).

Definition at line 620 of file xlpivot.hxx.

Constructor & Destructor Documentation

◆ XclPTFieldExtInfo()

XclPTFieldExtInfo::XclPTFieldExtInfo ( )
explicit

Definition at line 571 of file xlpivot.cxx.

Member Function Documentation

◆ GetApiAutoShowCount()

sal_Int32 XclPTFieldExtInfo::GetApiAutoShowCount ( ) const

Returns the number of items to be shown in AutoShow mode.

Definition at line 606 of file xlpivot.cxx.

References mnFlags.

Referenced by XclImpPTField::ConvertRCPField().

◆ GetApiAutoShowMode()

sal_Int32 XclPTFieldExtInfo::GetApiAutoShowMode ( ) const

Returns the API constant representing the AutoShow mode.

Definition at line 595 of file xlpivot.cxx.

References EXC_SXVDEX_AUTOSHOW_ASC, get_flagvalue(), and mnFlags.

Referenced by XclImpPTField::ConvertRCPField().

◆ GetApiLayoutMode()

sal_Int32 XclPTFieldExtInfo::GetApiLayoutMode ( ) const

Returns the API constant representing the layout mode.

Definition at line 616 of file xlpivot.cxx.

References EXC_SXVDEX_LAYOUT_REPORT, EXC_SXVDEX_LAYOUT_TOP, get_flag(), and mnFlags.

Referenced by XclImpPTField::ConvertRCPField().

◆ GetApiSortMode()

sal_Int32 XclPTFieldExtInfo::GetApiSortMode ( ) const

Returns the API constant representing the sorting mode.

Definition at line 579 of file xlpivot.cxx.

References EXC_SXVDEX_SORT, EXC_SXVDEX_SORT_OWN, get_flag(), mnFlags, and mnSortField.

Referenced by XclImpPTField::ConvertRCPField().

◆ SetApiAutoShowCount()

void XclPTFieldExtInfo::SetApiAutoShowCount ( sal_Int32  nShowCount)

Sets the number of items to be shown in AutoShow mode.

Definition at line 611 of file xlpivot.cxx.

References insert_value(), and mnFlags.

Referenced by XclExpPTField::SetPropertiesFromDim().

◆ SetApiAutoShowMode()

void XclPTFieldExtInfo::SetApiAutoShowMode ( sal_Int32  nShowMode)

Sets the AutoShow mode represented by the passed API constant.

Definition at line 601 of file xlpivot.cxx.

References EXC_SXVDEX_AUTOSHOW_ASC, mnFlags, and set_flag().

Referenced by XclExpPTField::SetPropertiesFromDim().

◆ SetApiLayoutMode()

void XclPTFieldExtInfo::SetApiLayoutMode ( sal_Int32  nLayoutMode)

Sets the layout mode represented by the passed API constant.

Definition at line 625 of file xlpivot.cxx.

References EXC_SXVDEX_LAYOUT_REPORT, EXC_SXVDEX_LAYOUT_TOP, mnFlags, and set_flag().

Referenced by XclExpPTField::SetPropertiesFromDim().

◆ SetApiSortMode()

void XclPTFieldExtInfo::SetApiSortMode ( sal_Int32  nSortMode)

Sets the sorting mode represented by the passed API constant.

Definition at line 587 of file xlpivot.cxx.

References EXC_SXVDEX_SORT, EXC_SXVDEX_SORT_OWN, mnFlags, mnSortField, and set_flag().

Referenced by XclExpPTField::SetPropertiesFromDim().

Member Data Documentation

◆ mnFlags

sal_uInt32 XclPTFieldExtInfo::mnFlags

◆ mnNumFmt

sal_uInt16 XclPTFieldExtInfo::mnNumFmt

Index to data field AutoShow bases on.

Definition at line 625 of file xlpivot.hxx.

Referenced by operator>>().

◆ mnShowField

sal_uInt16 XclPTFieldExtInfo::mnShowField

Index to data field sorting bases on.

Definition at line 624 of file xlpivot.hxx.

Referenced by XclImpPTField::ConvertRCPField(), operator<<(), operator>>(), and XclExpPTField::SetPropertiesFromDim().

◆ mnSortField

sal_uInt16 XclPTFieldExtInfo::mnSortField

Several flags and number of items for AutoShow.

Definition at line 623 of file xlpivot.hxx.

Referenced by XclImpPTField::ConvertRCPField(), GetApiSortMode(), operator<<(), operator>>(), SetApiSortMode(), and XclExpPTField::SetPropertiesFromDim().

◆ mpFieldTotalName

std::optional<OUString> XclPTFieldExtInfo::mpFieldTotalName

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