10 #ifndef INCLUDED_FILL_H
11 #define INCLUDED_FILL_H
15 #include <librevenge/librevenge.h>
28 virtual void getProperties(librevenge::RVNGPropertyList *out)
const = 0;
45 void getProperties(librevenge::RVNGPropertyList *out)
const override;
57 void getProperties(librevenge::RVNGPropertyList *out)
const override;
69 void getProperties(librevenge::RVNGPropertyList *out)
const override;
93 void setFillCenter(
double left,
double top,
double right,
double bottom);
97 void getProperties(librevenge::RVNGPropertyList *out)
const override;
Definition: ColorReference.h:20
Fill & operator=(const Fill &)
Fill(const Fill &)
Definition: Fill.h:31
virtual void getProperties(librevenge::RVNGPropertyList *out) const =0
const MSPUBCollector * m_owner
Definition: Fill.h:25
Fill(const MSPUBCollector *owner)
Definition: Fill.cpp:21
virtual ~Fill()
Definition: Fill.h:29
double m_fillRightVal
Definition: Fill.h:89
void getProperties(librevenge::RVNGPropertyList *out) const override
Definition: Fill.cpp:134
void addColor(ColorReference c, unsigned offsetPercent, double opacity)
Definition: Fill.cpp:114
double m_fillBottomVal
Definition: Fill.h:90
double m_fillTopVal
Definition: Fill.h:88
GradientFill & operator=(const GradientFill &)
void addColorReverse(ColorReference c, unsigned offsetPercent, double opacity)
Definition: Fill.cpp:119
int m_type
Definition: Fill.h:86
std::vector< StopInfo > m_stops
Definition: Fill.h:84
void setFillCenter(double left, double top, double right, double bottom)
Definition: Fill.cpp:106
double m_fillLeftVal
Definition: Fill.h:87
GradientFill(const MSPUBCollector *owner, double angle=0, int type=7)
Definition: Fill.cpp:102
double m_angle
Definition: Fill.h:85
GradientFill(const GradientFill &)
Definition: Fill.h:99
void completeComplexFill()
Definition: Fill.cpp:124
void getProperties(librevenge::RVNGPropertyList *out) const override
Definition: Fill.cpp:29
ImgFill & operator=(const ImgFill &)
unsigned m_imgIndex
Definition: Fill.h:38
bool m_isTexture
Definition: Fill.h:40
int m_rotation
Definition: Fill.h:42
ImgFill(unsigned imgIndex, const MSPUBCollector *owner, bool isTexture, int rotation)
Definition: Fill.cpp:25
ImgFill(const ImgFill &)
Definition: Fill.h:47
Definition: MSPUBCollector.h:45
ColorReference m_bg
Definition: Fill.h:54
void getProperties(librevenge::RVNGPropertyList *out) const override
Definition: Fill.cpp:55
PatternFill & operator=(const ImgFill &)
ColorReference m_fg
Definition: Fill.h:53
PatternFill(unsigned imgIndex, const MSPUBCollector *owner, ColorReference fg, ColorReference bg)
Definition: Fill.cpp:51
PatternFill(const PatternFill &)
Definition: Fill.h:59
SolidFill(ColorReference color, double opacity, const MSPUBCollector *owner)
Definition: Fill.cpp:87
SolidFill(const SolidFill &)
Definition: Fill.h:71
SolidFill & operator=(const SolidFill &)
double m_opacity
Definition: Fill.h:66
ColorReference m_color
Definition: Fill.h:65
void getProperties(librevenge::RVNGPropertyList *out) const override
Definition: Fill.cpp:91
unsigned m_offsetPercent
Definition: Fill.h:80
StopInfo(ColorReference colorReference, unsigned offsetPercent, double opacity)
Definition: Fill.h:82
double m_opacity
Definition: Fill.h:81
ColorReference m_colorReference
Definition: Fill.h:79