20#ifndef INCLUDED_SVX_FRAMELINK_HXX
21#define INCLUDED_SVX_FRAMELINK_HXX
128 double Prim()
const {
return mfPrim; }
129 double Dist()
const {
return mfDist; }
130 double Secn()
const {
return mfSecn; }
136 bool IsUsed()
const {
return 0.0 != mfPrim; }
139 double GetWidth()
const {
return mfPrim + mfDist + mfSecn; }
144 void Set(
double nP,
double nD,
double nS );
146 void Set(
const Color& rColorPrim,
const Color& rColorSecn,
const Color& rColorGap,
bool bUseGapColor,
double nP,
double nD,
double nS );
174 , mfPatternScale(1.0)
177 , mbWordTableCell(false)
178 , mbUseGapColor(false)
Contains the widths of primary and secondary line of a frame style.
void SetColorSecn(const Color &rColor)
double mfDist
Width of primary (single, left, or top) line.
bool mbWordTableCell
Reference point handling for this frame border.
void SetType(SvxBorderLineStyle nType)
Sets whether to use dotted style for single hair lines.
double mfPatternScale
Width of secondary (right or bottom) line.
Color GetColorGap() const
Color GetColorSecn() const
void SetRefMode(RefMode eRefMode)
Sets a new reference point handling mode, does not modify other settings.
double GetWidth() const
Returns the total width of this frame style.
Color GetColorPrim() const
SvxBorderLineStyle mnType
Scale used for line pattern spacing.
Style()
Constructs an invisible frame style.
void SetWordTableCell(bool bWordTableCell)
Enables the Word-compatible Style comparison code.
RefMode GetRefMode() const
void SetColorPrim(const Color &rColor)
Sets a new color, does not modify other settings.
double mfSecn
Distance between primary and secondary line.
SvxBorderLineStyle Type() const
bool IsUsed() const
Check if this style is used - this depends on it having any width definition.
double PatternScale() const
void Clear(EHistoryType eHistory)
RefMode
Specifies how the reference points for frame borders are used.
@ Centered
Frame borders are drawn centered to the reference points.
bool operator>(const Style &rL, const Style &rR)
#define SVXCORE_DLLPUBLIC
bool operator<(const Subset &rLHS, const Subset &rRHS)
bool operator==(const XclFontData &rLeft, const XclFontData &rRight)