kspread Library API Documentation

sheet_properties.h

00001 /* This file is part of the KDE project
00002    Copyright (C) 2004 Ariya Hidayat <ariya@kde.org>
00003 
00004    This library is free software; you can redistribute it and/or
00005    modify it under the terms of the GNU Library General Public
00006    License as published by the Free Software Foundation; either
00007    version 2 of the License, or (at your option) any later version.
00008 
00009    This library is distributed in the hope that it will be useful,
00010    but WITHOUT ANY WARRANTY; without even the implied warranty of
00011    MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the GNU
00012    Library General Public License for more details.
00013 
00014    You should have received a copy of the GNU Library General Public License
00015    along with this library; see the file COPYING.LIB.  If not, write to
00016    the Free Software Foundation, Inc., 59 Temple Place - Suite 330,
00017    Boston, MA 02111-1307, USA.
00018 */
00019 
00020 #ifndef SHEET_PROPERTIES_DIALOG
00021 #define SHEET_PROPERTIES_DIALOG
00022 
00023 #include <qwidget.h>
00024 #include <kdialogbase.h>
00025 #include "kspread_sheet.h"
00026 
00027 class SheetPropertiesBase;
00028 
00029 
00030 class SheetPropertiesDialog : public KDialogBase
00031 {
00032     Q_OBJECT
00033 
00034 public:
00035 
00036     SheetPropertiesDialog( QWidget* parent = 0 );
00037 
00038     ~SheetPropertiesDialog();
00039 
00040     virtual void slotDefault();
00041     
00042     KSpreadSheet::LayoutDirection layoutDirection() const;
00043     
00044     void setLayoutDirection( KSpreadSheet::LayoutDirection dir );
00045 
00046     bool autoCalc() const;
00047 
00048     void setAutoCalc( bool b );
00049 
00050     bool showGrid() const;
00051 
00052     void setShowGrid( bool b );
00053 
00054     bool showPageBorders() const;
00055 
00056     void setShowPageBorders( bool b );
00057 
00058     bool showFormula() const;
00059 
00060     void setShowFormula( bool b );
00061 
00062     bool hideZero() const;
00063 
00064     void setHideZero( bool b );
00065 
00066     bool showFormulaIndicator() const;
00067 
00068     void setShowFormulaIndicator( bool b );
00069 
00070     bool columnAsNumber() const;
00071 
00072     void setColumnAsNumber( bool b );
00073 
00074     bool lcMode() const;
00075 
00076     void setLcMode( bool b );
00077 
00078     bool capitalizeFirstLetter() const;
00079 
00080     void setCapitalizeFirstLetter( bool b );
00081 
00082 private:
00083     SheetPropertiesBase* d;
00084 };
00085 
00086 #endif /* SHEET_PROPERTIES_DIALOG */
KDE Logo
This file is part of the documentation for kspread Library Version 1.4.2.
Documentation copyright © 1996-2004 the KDE developers.
Generated on Mon Feb 13 09:43:38 2006 by doxygen 1.4.2 written by Dimitri van Heesch, © 1997-2003