File indexing completed on 2024-04-28 16:21:17

0001 /* This file is part of the KDE project
0002    Copyright (C) 2005, 2006, 2010 Stefan Nikolaus <stefan.nikolaus@kdemail.net>
0003              (C) 2006 Fredrik Edemar <f_edemar@linux.se>
0004              (C) 2005-2006 Raphael Langerhorst <raphael.langerhorst@kdemail.net>
0005              (C) 2004 Tomas Mecir <mecirt@gmail.com>
0006              (C) 2003 Norbert Andres <nandres@web.de>
0007              (C) 2002 Philipp Mueller <philipp.mueller@gmx.de>
0008              (C) 2000 David Faure <faure@kde.org>
0009              (C) 2000 Werner Trobin <trobin@kde.org>
0010              (C) 2000-2006 Laurent Montel <montel@kde.org>
0011              (C) 1999, 2000 Torben Weis <weis@kde.org>
0012              (C) 1999 Stephan Kulow <coolo@kde.org>
0013 
0014    This library is free software; you can redistribute it and/or
0015    modify it under the terms of the GNU Library General Public
0016    License as published by the Free Software Foundation; either
0017    version 2 of the License, or (at your option) any later version.
0018 
0019    This library is distributed in the hope that it will be useful,
0020    but WITHOUT ANY WARRANTY; without even the implied warranty of
0021    MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the GNU
0022    Library General Public License for more details.
0023 
0024    You should have received a copy of the GNU Library General Public License
0025    along with this library; see the file COPYING.LIB.  If not, write to
0026    the Free Software Foundation, Inc., 51 Franklin Street, Fifth Floor,
0027    Boston, MA 02110-1301, USA.
0028 */
0029 
0030 #ifndef CALLIGRA_SHEETS_LIMITS
0031 #define CALLIGRA_SHEETS_LIMITS
0032 
0033 /* Definition of maximal supported rows - please check kspread_util (columnName) and kspread_cluster also */
0034 #ifndef KS_rowMax
0035 #define KS_rowMax 0x100000
0036 #endif
0037 
0038 /* Definition of maximal supported columns - please check kspread_util (columnName) and kspread_cluster also */
0039 #ifndef KS_colMax
0040 #define KS_colMax 0x7FFF
0041 #endif
0042 
0043 /* Definition of maximal supported columns/rows, which can be merged */
0044 #ifndef KS_spanMax
0045 #define KS_spanMax 0xFFF
0046 #endif
0047 
0048 #endif // CALLIGRA_SHEETS_LIMITS