26#ifndef KSPREAD_TABLE_IFACE_H
27#define KSPREAD_TABLE_IFACE_H
29#include <dcopobject.h>
39class SheetIface : virtual public DCOPObject
46 bool processDynamic( const TQCString& fun, const TQByteArray& data,
47 TQCString& replyType, TQByteArray &replyData );
49 void sheetNameHasChanged();
51 virtual DCOPRef cell( int x, int y );
52 virtual DCOPRef cell( const TQString& name );
54 virtual DCOPRef column( int _col );
55 virtual DCOPRef row( int _row );
57 virtual TQString name() const;
58 virtual int maxColumn() const;
59 virtual int maxRow() const;
60 virtual bool setSheetName( const TQString & name);
63 virtual bool insertColumn( int col, int nbCol );
64 virtual bool insertRow( int row, int nbRow);
65 virtual void removeColumn( int col, int nbCol );
66 virtual void removeRow( int row, int nbRow );
68 virtual bool isHidden() const;
69 virtual bool areaHasNoContent(TQRect area) const ;
70 virtual bool areaHasNoComments(TQRect area) const ;
72 virtual bool showGrid() const;
73 virtual bool showFormula() const;
74 virtual bool lcMode() const;
75 virtual bool autoCalc() const;
76 virtual bool showColumnNumber() const;
77 virtual bool hideZero() const;
78 virtual bool firstLetterUpper() const;
79 virtual void setShowPageBorders( bool b );
81 virtual float paperHeight() const;
82 virtual float paperWidth() const ;
83 virtual float leftBorder() const;
84 virtual float rightBorder() const;
85 virtual float topBorder() const;
86 virtual float bottomBorder() const;
87 TQString paperFormatString() const;
89 TQString headLeft() const;
90 TQString headMid() const;
91 TQString headRight() const;
92 TQString footLeft() const;
93 TQString footMid() const;
94 TQString footRight() const;
96 void setHeaderLeft( const TQString & text);
97 void setHeaderMiddle( const TQString & text);
98 void setHeaderRight( const TQString & text);
99 void setFooterLeft( const TQString & text);
100 void setFooterMiddle( const TQString & text);
101 void setFooterRight( const TQString & text);
102 bool isProtected() const;
|