20 #ifndef INCLUDED_SVX_FRAMELINK_HXX
21 #define INCLUDED_SVX_FRAMELINK_HXX
112 bool mbWordTableCell : 1;
113 bool mbUseGapColor : 1;
130 double Prim()
const {
return mfPrim; }
131 double Dist()
const {
return mfDist; }
132 double Secn()
const {
return mfSecn; }
138 bool IsUsed()
const {
return 0.0 != mfPrim; }
141 double GetWidth()
const {
return mfPrim + mfDist + mfSecn; }
146 void Set(
double nP,
double nD,
double nS );
148 void Set(
const Color& rColorPrim,
const Color& rColorSecn,
const Color& rColorGap,
bool bUseGapColor,
double nP,
double nD,
double nS );
RefMode
Specifies how the reference points for frame borders are used.
RefMode GetRefMode() const
SvxBorderLineStyle mnType
Reference point handling for this frame border.
The reference points specify the begin of the frame border width.
SvxBorderLineStyle Type() const
Color GetColorSecn() const
double GetWidth() const
Returns the total width of this frame style.
The reference points specify the end of the frame border width.
Color GetColorGap() const
bool IsUsed() const
Check if this style is used - this depends on it having any width definition.
RefMode meRefMode
Scale used for line pattern spacing.
bool operator>(const Style &rL, const Style &rR)
double mfDist
Width of primary (single, left, or top) line.
void SetColorSecn(const Color &rColor)
double PatternScale() const
void SetType(SvxBorderLineStyle nType)
Sets whether to use dotted style for single hair lines.
Color GetColorPrim() const
bool operator<(const Subset &rLHS, const Subset &rRHS)
void SetWordTableCell(bool bWordTableCell)
Enables the Word-compatible Style comparison code.
#define SVXCORE_DLLPUBLIC
Contains the widths of primary and secondary line of a frame style.
void SetColorPrim(const Color &rColor)
Sets a new color, does not modify other settings.
Frame borders are drawn centered to the reference points.
void SetRefMode(RefMode eRefMode)
Sets a new reference point handling mode, does not modify other settings.
bool operator==(const ScCsvLayoutData &rData1, const ScCsvLayoutData &rData2)
double mfPatternScale
Width of secondary (right or bottom) line.
double mfSecn
Distance between primary and secondary line.