LibreOffice Module sc (master) 1
cachedattraccess.hxx
Go to the documentation of this file.
1/* -*- Mode: C++; tab-width: 4; indent-tabs-mode: nil; c-basic-offset: 4 -*- */
2/*
3 * This file is part of the LibreOffice project.
4 *
5 * This Source Code Form is subject to the terms of the Mozilla Public
6 * License, v. 2.0. If a copy of the MPL was not distributed with this
7 * file, You can obtain one at http://mozilla.org/MPL/2.0/.
8 */
9
10#pragma once
11
12#include <sal/types.h>
13
14class ScDocument;
15
22{
23 struct Cache
24 {
25 sal_Int32 mnTab;
26 sal_Int32 mnRow1;
27 sal_Int32 mnRow2;
28 bool mbValue;
29 Cache();
30 bool hasCache(sal_Int32 nTab, sal_Int32 nRow) const;
31 };
32
33public:
35
36 bool rowHidden(sal_Int32 nTab, sal_Int32 nRow, sal_Int32& nEndRow);
37 bool rowFiltered(sal_Int32 nTab, sal_Int32 nRow, sal_Int32& nEndRow);
38private:
42};
43
44/* vim:set shiftwidth=4 softtabstop=4 expandtab: */
Wrapper for accessing hidden and filtered row attributes.
bool rowFiltered(sal_Int32 nTab, sal_Int32 nRow, sal_Int32 &nEndRow)
bool rowHidden(sal_Int32 nTab, sal_Int32 nRow, sal_Int32 &nEndRow)
ScXMLCachedRowAttrAccess(ScDocument *pDoc)
bool hasCache(sal_Int32 nTab, sal_Int32 nRow) const