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 22 of file cachedattraccess.hxx.

Constructor & Destructor Documentation

ScXMLCachedRowAttrAccess::ScXMLCachedRowAttrAccess ( ScDocument pDoc)
explicit

Definition at line 21 of file cachedattraccess.cxx.

Member Function Documentation

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

Member Data Documentation

Cache ScXMLCachedRowAttrAccess::maFiltered
private

Definition at line 41 of file cachedattraccess.hxx.

Referenced by rowFiltered().

Cache ScXMLCachedRowAttrAccess::maHidden
private

Definition at line 40 of file cachedattraccess.hxx.

Referenced by rowHidden().

ScDocument* ScXMLCachedRowAttrAccess::mpDoc
private

Definition at line 42 of file cachedattraccess.hxx.

Referenced by rowFiltered(), and rowHidden().


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