1 /* -*- Mode: C++; tab-width: 4; indent-tabs-mode: nil; c-basic-offset: 4 -*- */
3 * This file is part of the LibreOffice project.
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/.
10 #ifndef INCLUDED_SC_SOURCE_FILTER_XML_CACHEDATTRACCESS_HXX
11 #define INCLUDED_SC_SOURCE_FILTER_XML_CACHEDATTRACCESS_HXX
13 #include <sal/types.h>
18 * Wrapper for accessing hidden and filtered row attributes. It caches last
19 * accessed values for a current range, to avoid fetching values for every
22 class ScXMLCachedRowAttrAccess
31 bool hasCache(sal_Int32 nTab
, sal_Int32 nRow
) const;
35 ScXMLCachedRowAttrAccess(ScDocument
* pDoc
);
37 bool rowHidden(sal_Int32 nTab
, sal_Int32 nRow
);
38 bool rowFiltered(sal_Int32 nTab
, sal_Int32 nRow
);
47 /* vim:set shiftwidth=4 softtabstop=4 expandtab: */