27#include <koffice_export.h>
32class KoOasisLoadingContext;
60 const VColor& color() const { return m_color; }
61 void setColor( const VColor& color, bool bsolid = true ) { m_color = color; if( bsolid ) m_type = solid; }
63 VGradient& gradient() { return m_gradient; }
64 const VGradient& gradient() const { return m_gradient; }
66 VPattern& pattern() { return m_pattern; }
67 const VPattern& pattern() const { return m_pattern; }
69 VFillType type() const { return m_type; }
70 void setType( VFillType type ) { m_type = type; }
72 void save( TQDomElement& element ) const;
73 void saveOasis( KoGenStyles &mainStyles, KoGenStyle &style ) const;
74 void load( const TQDomElement& element );
75 void loadOasis( const TQDomElement & object, KoOasisLoadingContext &context, VObject* parent = 0L );
79 void transform( const TQWMatrix& m );
This class keeps track of color properties.
Manages the fill of shapes.
The base class for all karbon objects.
|