LibreOffice Module sc (master) 1
|
Wrapper for accessing hidden and filtered row attributes. More...
#include <cachedattraccess.hxx>
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 |
ScDocument * | mpDoc |
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.
|
explicit |
Definition at line 21 of file cachedattraccess.cxx.
bool ScXMLCachedRowAttrAccess::rowFiltered | ( | sal_Int32 | nTab, |
sal_Int32 | nRow, | ||
sal_Int32 & | nEndRow | ||
) |
Definition at line 40 of file cachedattraccess.cxx.
References ScXMLCachedRowAttrAccess::Cache::hasCache(), maFiltered, ScXMLCachedRowAttrAccess::Cache::mbValue, ScXMLCachedRowAttrAccess::Cache::mnRow1, ScXMLCachedRowAttrAccess::Cache::mnRow2, ScXMLCachedRowAttrAccess::Cache::mnTab, mpDoc, and ScDocument::RowFiltered().
Referenced by ScXMLExport::OpenRow().
bool ScXMLCachedRowAttrAccess::rowHidden | ( | sal_Int32 | nTab, |
sal_Int32 | nRow, | ||
sal_Int32 & | nEndRow | ||
) |
Definition at line 24 of file cachedattraccess.cxx.
References ScXMLCachedRowAttrAccess::Cache::hasCache(), maHidden, ScXMLCachedRowAttrAccess::Cache::mbValue, ScXMLCachedRowAttrAccess::Cache::mnRow1, ScXMLCachedRowAttrAccess::Cache::mnRow2, ScXMLCachedRowAttrAccess::Cache::mnTab, mpDoc, and ScDocument::RowHidden().
Referenced by ScXMLExport::OpenRow().
|
private |
Definition at line 40 of file cachedattraccess.hxx.
Referenced by rowFiltered().
|
private |
Definition at line 39 of file cachedattraccess.hxx.
Referenced by rowHidden().
|
private |
Definition at line 41 of file cachedattraccess.hxx.
Referenced by rowFiltered(), and rowHidden().