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

Wrapper for accessing hidden and filtered row attributes. More...

#include <cachedattraccess.hxx>

Collaboration diagram for ScXMLCachedRowAttrAccess:
[legend]

Classes

struct  Cache
 

Public Member Functions

 ScXMLCachedRowAttrAccess (ScDocument *pDoc)
 
bool rowHidden (sal_Int32 nTab, sal_Int32 nRow, sal_Int32 &nEndRow)
 
bool rowFiltered (sal_Int32 nTab, sal_Int32 nRow, sal_Int32 &nEndRow)
 

Private Attributes

Cache maHidden
 
Cache maFiltered
 
ScDocumentmpDoc
 

Detailed Description

Wrapper for accessing hidden and filtered row attributes.

It caches last accessed values for a current range, to avoid fetching values for every single row.

Definition at line 21 of file cachedattraccess.hxx.

Constructor & Destructor Documentation

◆ ScXMLCachedRowAttrAccess()

ScXMLCachedRowAttrAccess::ScXMLCachedRowAttrAccess ( ScDocument pDoc)
explicit

Definition at line 21 of file cachedattraccess.cxx.

Member Function Documentation

◆ rowFiltered()

bool ScXMLCachedRowAttrAccess::rowFiltered ( sal_Int32  nTab,
sal_Int32  nRow,
sal_Int32 &  nEndRow 
)

◆ rowHidden()

bool ScXMLCachedRowAttrAccess::rowHidden ( sal_Int32  nTab,
sal_Int32  nRow,
sal_Int32 &  nEndRow 
)

Member Data Documentation

◆ maFiltered

Cache ScXMLCachedRowAttrAccess::maFiltered
private

Definition at line 40 of file cachedattraccess.hxx.

Referenced by rowFiltered().

◆ maHidden

Cache ScXMLCachedRowAttrAccess::maHidden
private

Definition at line 39 of file cachedattraccess.hxx.

Referenced by rowHidden().

◆ mpDoc

ScDocument* ScXMLCachedRowAttrAccess::mpDoc
private

Definition at line 41 of file cachedattraccess.hxx.

Referenced by rowFiltered(), and rowHidden().


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