filters
- filters
- kspread
- excel
- sidewinder
20#ifndef SWINDER_SHEET_H
21#define SWINDER_SHEET_H
38 Sheet( Workbook* workbook );
50 void setName( const UString& name );
58 Cell* cell( unsigned column, unsigned row, bool autoCreate = true );
60 Column* column( unsigned index, bool autoCreate = true );
62 Row* row( unsigned index, bool autoCreate = true );
65 void setVisible( bool v );
68 void setProtect( bool p );
92 UString leftHeader() const;
93 void setLeftHeader( const UString& h );
94 UString centerHeader() const;
95 void setCenterHeader( const UString& h );
96 UString rightHeader() const;
97 void setRightHeader( const UString& h );
99 UString leftFooter() const;
100 void setLeftFooter( const UString& f );
101 UString centerFooter() const;
102 void setCenterFooter( const UString& f );
103 UString rightFooter() const;
104 void setRightFooter( const UString& f );
107 double leftMargin() const;
108 void setLeftMargin( double m );
111 double rightMargin() const;
112 void setRightMargin( double m );
115 double topMargin() const;
116 void setTopMargin( double m );
119 double bottomMargin() const;
120 void setBottomMargin( double m );
122 unsigned maxRow() const;
123 unsigned maxColumn() const;
127 Sheet( const Sheet& );
128 Sheet& operator=( const Sheet& );
138 Column( Sheet* sheet, unsigned index );
142 Sheet* sheet() const;
144 unsigned index() const;
147 double width() const;
150 void setWidth( double w );
152 const Format& format() const;
154 void setFormat( const Format& f );
156 void setFormatIndex( int index );
158 int formatIndex() const;
160 bool visible() const;
162 void setVisible( bool v );
166 Column( const Column& );
167 Column& operator=( const Column& );
177 Row( Sheet* sheet, unsigned index );
181 Sheet* sheet() const;
183 unsigned index() const;
186 double height() const;
189 void setHeight( double w );
191 const Format& format() const;
193 void setFormat( const Format& f );
195 void setFormatIndex( int index );
197 int formatIndex() const;
199 bool visible() const;
201 void setVisible( bool v );
206 Row& operator=( const Row& );
|