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/.
12 #include <sal/types.h>
17 * Wrapper for accessing hidden and filtered row attributes. It caches last
18 * accessed values for a current range, to avoid fetching values for every
21 class ScXMLCachedRowAttrAccess
30 bool hasCache(sal_Int32 nTab
, sal_Int32 nRow
) const;
34 explicit ScXMLCachedRowAttrAccess(ScDocument
* pDoc
);
36 bool rowHidden(sal_Int32 nTab
, sal_Int32 nRow
, sal_Int32
& nEndRow
);
37 bool rowFiltered(sal_Int32 nTab
, sal_Int32 nRow
, sal_Int32
& nEndRow
);
44 /* vim:set shiftwidth=4 softtabstop=4 expandtab: */