25#include "kspread_global.h"
36 KSpreadBrush( const TQBrush &brush, const TQColor &gColor1, const TQColor &gColor2,
37 BCType gType, FillType fillType, bool unbalanced,
38 int xfactor, int yfactor );
40 KSpreadBrush &operator=( const KSpreadBrush &brush );
42 void setBrush( const TQBrush &brush )
44 void setGColor1( const TQColor &gColor1 )
45 { m_gColor1 = gColor1; }
46 void setGColor2( const TQColor &gColor2 )
47 { m_gColor2 = gColor2; }
48 void setGType( BCType gType )
50 void setFillType( FillType fillType )
51 { m_fillType = fillType; }
52 void setGUnbalanced( bool unbalanced )
53 { m_unbalanced = unbalanced; }
54 void setGXFactor( int xfactor )
55 { m_xfactor = xfactor; }
56 void setGYFactor( int yfactor )
57 { m_yfactor = yfactor; }
59 TQBrush getBrush() const
61 TQColor getGColor1() const
63 TQColor getGColor2() const
65 BCType getGType() const
67 FillType getFillType() const
68 { return m_fillType; }
69 bool getGUnbalanced() const
70 { return m_unbalanced; }
71 int getGXFactor() const
73 int getGYFactor() const
76 void saveOasisFillStyle( KoGenStyle &styleObjectAuto, KoGenStyles& mainStyles ) const;
77 void loadOasisFillStyle( KoOasisContext &context, const char * propertyType );
|