kspread

#include <kspread_style.h>

Inheritance diagram for KSpread::Style:
KSpread::CustomStyle

Public Types

enum  StyleType { BUILTIN , CUSTOM , AUTO , TENTATIVE }
enum  FontFlags { FBold = 0x01 , FUnderline = 0x02 , FItalic = 0x04 , FStrike = 0x08 }
enum  Properties {
  PDontPrintText = 0x01 , PCustomFormat = 0x02 , PNotProtected = 0x04 , PHideAll = 0x08 ,
  PHideFormula = 0x10 , PMultiRow = 0x20 , PVerticalText = 0x40
}
enum  FlagsSet {
  SAlignX = 0x01 , SAlignY = 0x02 , SPrefix = 0x08 , SPostfix = 0x10 ,
  SLeftBorder = 0x20 , SRightBorder = 0x40 , STopBorder = 0x80 , SBottomBorder = 0x100 ,
  SFallDiagonal = 0x200 , SGoUpDiagonal = 0x400 , SBackgroundBrush = 0x800 , SFont = 0x1000 ,
  STextPen = 0x2000 , SBackgroundColor = 0x4000 , SFloatFormat = 0x8000 , SFloatColor = 0x10000 ,
  SMultiRow = 0x20000 , SVerticalText = 0x40000 , SPrecision = 0x80000 , SFormatType = 0x100000 ,
  SAngle = 0x200000 , SIndent = 0x800000 , SDontPrintText = 0x1000000 , SCustomFormat = 0x2000000 ,
  SNotProtected = 0x4000000 , SHideAll = 0x8000000 , SHideFormula = 0x10000000 , SFontSize = 0x20000000 ,
  SFontFlag = 0x40000000 , SFontFamily = 0x80000000
}

Public Member Functions

 Style ()
 Style (Style *style)
virtual ~Style ()
bool operator== (const Style &style) const
bool operator!= (const Style &other) const
StyleType type () const
void saveXML (TQDomDocument &doc, TQDomElement &format) const
bool loadXML (TQDomElement &format)
virtual TQString saveOasis (KoGenStyle &style, KoGenStyles &mainStyles)
void loadOasisStyle (KoOasisStyles &oasisStyles, const TQDomElement &element)
bool release ()
void addRef ()
int usage () const
bool hasProperty (Properties p) const
bool hasFeature (FlagsSet f, bool withoutParent) const
void clearFeature (FlagsSet f)
uint features () const
uint bottomPenValue () const
uint rightPenValue () const
uint leftPenValue () const
uint topPenValue () const
TQPen const & pen () const
TQColor const & bgColor () const
TQPen const & rightBorderPen () const
TQPen const & bottomBorderPen () const
TQPen const & leftBorderPen () const
TQPen const & topBorderPen () const
TQPen const & fallDiagonalPen () const
TQPen const & goUpDiagonalPen () const
TQBrush const & backGroundBrush () const
TQString const & strFormat () const
TQString const & prefix () const
TQString const & postfix () const
TQString const & fontFamily () const
Format::Align alignX () const
Format::AlignY alignY () const
Format::FloatFormat floatFormat () const
Format::FloatColor floatColor () const
FormatType formatType () const
Format::Currency const & currency () const
TQFont font () const
uint fontFlags () const
int fontSize () const
int precision () const
int rotateAngle () const
double indent () const
Style * setAlignX (Format::Align alignX)
Style * setAlignY (Format::AlignY alignY)
Style * setFont (TQFont const &f)
Style * setFontFamily (TQString const &fam)
Style * setFontFlags (uint flags)
Style * setFontSize (int size)
Style * setPen (TQPen const &pen)
Style * setBgColor (TQColor const &color)
Style * setRightBorderPen (TQPen const &pen)
Style * setBottomBorderPen (TQPen const &pen)
Style * setLeftBorderPen (TQPen const &pen)
Style * setTopBorderPen (TQPen const &pen)
Style * setFallDiagonalPen (TQPen const &pen)
Style * setGoUpDiagonalPen (TQPen const &pen)
Style * setRotateAngle (int angle)
Style * setIndent (double indent)
Style * setBackGroundBrush (TQBrush const &brush)
Style * setFloatFormat (Format::FloatFormat format)
Style * setFloatColor (Format::FloatColor color)
Style * setFormatType (FormatType format)
Style * setStrFormat (TQString const &strFormat)
Style * setPrecision (int precision)
Style * setPrefix (TQString const &prefix)
Style * setPostfix (TQString const &postfix)
Style * setCurrency (Format::Currency const &currency)
Style * setProperty (Properties p)
Style * clearProperty (Properties p)
CustomStyle * parent () const
TQString const & parentName () const
void setParent (CustomStyle *parent)

Static Public Member Functions

static FormatType dateType (const TQString &_format)
static FormatType timeType (const TQString &_format)
static FormatType fractionType (const TQString &_format)
static TQString saveOasisStyleNumeric (KoGenStyle &style, KoGenStyles &mainStyles, FormatType _style, const TQString &_prefix, const TQString &_postfix, int _precision, const TQString &symbol)
static TQString saveOasisStyleNumericDate (KoGenStyles &mainStyles, FormatType _style, const TQString &_prefix, const TQString &_suffix)
static TQString saveOasisStyleNumericFraction (KoGenStyles &mainStyles, FormatType _style, const TQString &_prefix, const TQString _suffix)
static TQString saveOasisStyleNumericTime (KoGenStyles &mainStyles, FormatType _style, const TQString &_prefix, const TQString &_suffix)
static TQString saveOasisStyleNumericCustom (KoGenStyles &mainStyles, FormatType _style, const TQString &_prefix, const TQString &_suffix)
static TQString saveOasisStyleNumericScientific (KoGenStyles &mainStyles, FormatType _style, const TQString &_prefix, const TQString _suffix, int _precision)
static TQString saveOasisStyleNumericPercentage (KoGenStyles &mainStyles, FormatType _style, int _precision, const TQString &_prefix, const TQString &_suffix)
static TQString saveOasisStyleNumericMoney (KoGenStyles &mainStyles, FormatType _style, const TQString &symbol, int _precision, const TQString &_prefix, const TQString &_suffix)
static TQString saveOasisStyleNumericText (KoGenStyles &mainStyles, FormatType _style, int _precision, const TQString &_prefix, const TQString &_suffix)
static TQString saveOasisStyleNumericNumber (KoGenStyles &mainStyles, FormatType _style, int _precision, const TQString &_prefix, const TQString &_suffix)
static TQString saveOasisBackgroundStyle (KoGenStyles &mainStyles, const TQBrush &brush)
static TQString colorName (const TQColor &color)

Protected Member Functions

void saveOasisStyle (KoGenStyle &style, KoGenStyles &mainStyles)
void loadOasisDataStyle (KoOasisStyles &oasisStyles, const TQDomElement &styleStack)
void loadOasisParagraphProperties (KoOasisStyles &oasisStyles, const KoStyleStack &styleStack)
void loadOasisTableCellProperties (KoOasisStyles &oasisStyles, const KoStyleStack &styleStack)
void loadOasisTextProperties (KoOasisStyles &oasisStyles, const KoStyleStack &styleStack)
bool featureSet (FlagsSet f) const

Protected Attributes

CustomStyle * m_parent
TQString m_parentName
StyleType m_type
uint m_usageCount
uint m_featuresSet
Format::Align m_alignX
Format::AlignY m_alignY
Format::FloatFormat m_floatFormat
Format::FloatColor m_floatColor
FormatType m_formatType
TQString m_fontFamily
uint m_fontFlags
int m_fontSize
TQPen m_textPen
TQColor m_bgColor
TQPen m_rightBorderPen
TQPen m_bottomBorderPen
TQPen m_leftBorderPen
TQPen m_topBorderPen
TQPen m_fallDiagonalPen
TQPen m_goUpDiagonalPen
TQBrush m_backGroundBrush
int m_rotateAngle
double m_indent
TQString m_strFormat
int m_precision
TQString m_prefix
TQString m_postfix
Format::Currency m_currency
uint m_properties
uint m_bottomPenValue
uint m_rightPenValue
uint m_leftPenValue
uint m_topPenValue

Detailed Description

The Style class represents a cell style.

Built-in and custom styles, the ones shown in the StyleManager dialog, are CustomStyles. Pure Styles have no name, for instance, and are only used as AUTO styles.

Definition at line 45 of file kspread_style.h.

Member Enumeration Documentation

◆ FlagsSet

See also
Format::Properties

Definition at line 79 of file kspread_style.h.

◆ FontFlags

enum KSpread::Style::FontFlags

Definition at line 57 of file kspread_style.h.

◆ Properties

See also
Format::FormatFlags

Definition at line 66 of file kspread_style.h.

◆ StyleType

The style type.

Enumerator
BUILTIN 

built-in style (the default style)

CUSTOM 

custom style (defined in the StyleManager dialog)

AUTO 

automatically generated on cell format changes

Definition at line 49 of file kspread_style.h.

Constructor & Destructor Documentation

◆ Style() [1/2]

Style::Style ( )

Constructor.

Creates an empty automatic style.

Definition at line 50 of file kspread_style.cpp.

◆ Style() [2/2]

Style::Style ( Style * style)

Constructor.

Creates an automatic style. If style is a custom or built-in style (e.g. the default style), style becomes the parent style. In this case, features are NOT SET.

Parameters
styleThe style which features are copied.

Definition at line 90 of file kspread_style.cpp.

◆ ~Style()

Style::~Style ( )
virtual

Destructor.

Definition at line 123 of file kspread_style.cpp.

Member Function Documentation

◆ addRef()

void Style::addRef ( )

Marks this style as used.

The internal reference counter is incremented.

Definition at line 1831 of file kspread_style.cpp.

◆ alignX()

Format::Align Style::alignX ( ) const

Definition at line 1980 of file kspread_style.cpp.

◆ alignY()

Format::AlignY Style::alignY ( ) const

Definition at line 1985 of file kspread_style.cpp.

◆ backGroundBrush()

TQBrush const & Style::backGroundBrush ( ) const

Definition at line 1975 of file kspread_style.cpp.

◆ bgColor()

TQColor const & Style::bgColor ( ) const

Definition at line 1925 of file kspread_style.cpp.

◆ bottomBorderPen()

TQPen const & Style::bottomBorderPen ( ) const

Definition at line 1935 of file kspread_style.cpp.

◆ bottomPenValue()

uint KSpread::Style::bottomPenValue ( ) const
inline

Definition at line 202 of file kspread_style.h.

◆ clearFeature()

void Style::clearFeature ( FlagsSet f)

Definition at line 1881 of file kspread_style.cpp.

◆ clearProperty()

Style * Style::clearProperty ( Properties p)

Definition at line 2590 of file kspread_style.cpp.

◆ colorName()

TQString Style::colorName ( const TQColor & color)
static

Returns the name of a colour.

This is the same as returned by TQColor::name, but an internal cache is used to reduce the overhead when asking for the name of the same colour.

Definition at line 2671 of file kspread_style.cpp.

◆ currency()

Format::Currency const & Style::currency ( ) const

Definition at line 2005 of file kspread_style.cpp.

◆ dateType()

FormatType Style::dateType ( const TQString & _format)
static

Definition at line 587 of file kspread_style.cpp.

◆ fallDiagonalPen()

TQPen const & Style::fallDiagonalPen ( ) const

Definition at line 1950 of file kspread_style.cpp.

◆ features()

uint KSpread::Style::features ( ) const
inline

Definition at line 200 of file kspread_style.h.

◆ featureSet()

bool KSpread::Style::featureSet ( FlagsSet f) const
inlineprotected

Definition at line 399 of file kspread_style.h.

◆ floatColor()

Format::FloatColor Style::floatColor ( ) const

Definition at line 1995 of file kspread_style.cpp.

◆ floatFormat()

Format::FloatFormat Style::floatFormat ( ) const

Definition at line 1990 of file kspread_style.cpp.

◆ font()

TQFont Style::font ( ) const

Definition at line 1886 of file kspread_style.cpp.

◆ fontFamily()

TQString const & Style::fontFamily ( ) const

Definition at line 1905 of file kspread_style.cpp.

◆ fontFlags()

uint Style::fontFlags ( ) const

Definition at line 1910 of file kspread_style.cpp.

◆ fontSize()

int Style::fontSize ( ) const

Definition at line 1915 of file kspread_style.cpp.

◆ formatType()

FormatType Style::formatType ( ) const

Definition at line 2000 of file kspread_style.cpp.

◆ fractionType()

FormatType Style::fractionType ( const TQString & _format)
static

Definition at line 672 of file kspread_style.cpp.

◆ goUpDiagonalPen()

TQPen const & Style::goUpDiagonalPen ( ) const

Definition at line 1955 of file kspread_style.cpp.

◆ hasFeature()

bool Style::hasFeature ( FlagsSet f,
bool withoutParent ) const

Definition at line 1870 of file kspread_style.cpp.

◆ hasProperty()

bool Style::hasProperty ( Properties p) const

Definition at line 1836 of file kspread_style.cpp.

◆ indent()

double Style::indent ( ) const

Definition at line 1970 of file kspread_style.cpp.

◆ leftBorderPen()

TQPen const & Style::leftBorderPen ( ) const

Definition at line 1940 of file kspread_style.cpp.

◆ leftPenValue()

uint KSpread::Style::leftPenValue ( ) const
inline

Definition at line 204 of file kspread_style.h.

◆ loadOasisDataStyle()

void Style::loadOasisDataStyle ( KoOasisStyles & oasisStyles,
const TQDomElement & styleStack )
protected

Definition at line 199 of file kspread_style.cpp.

◆ loadOasisParagraphProperties()

void Style::loadOasisParagraphProperties ( KoOasisStyles & oasisStyles,
const KoStyleStack & styleStack )
protected

Definition at line 301 of file kspread_style.cpp.

◆ loadOasisStyle()

void Style::loadOasisStyle ( KoOasisStyles & oasisStyles,
const TQDomElement & element )

Definition at line 184 of file kspread_style.cpp.

◆ loadOasisTableCellProperties()

void Style::loadOasisTableCellProperties ( KoOasisStyles & oasisStyles,
const KoStyleStack & styleStack )
protected

Definition at line 321 of file kspread_style.cpp.

◆ loadOasisTextProperties()

void Style::loadOasisTextProperties ( KoOasisStyles & oasisStyles,
const KoStyleStack & styleStack )
protected

Definition at line 487 of file kspread_style.cpp.

◆ loadXML()

bool Style::loadXML ( TQDomElement & format)

Definition at line 1495 of file kspread_style.cpp.

◆ operator!=()

bool KSpread::Style::operator!= ( const Style & other) const
inline

Definition at line 136 of file kspread_style.h.

◆ operator==()

bool Style::operator== ( const Style & style) const

Returns true if both styles have the same properties.

Definition at line 127 of file kspread_style.cpp.

◆ parent()

CustomStyle * Style::parent ( ) const

Definition at line 1813 of file kspread_style.cpp.

◆ parentName()

TQString const & KSpread::Style::parentName ( ) const
inline

Definition at line 265 of file kspread_style.h.

◆ pen()

TQPen const & Style::pen ( ) const

Definition at line 1920 of file kspread_style.cpp.

◆ postfix()

TQString const & Style::postfix ( ) const

Definition at line 2020 of file kspread_style.cpp.

◆ precision()

int Style::precision ( ) const

Definition at line 1960 of file kspread_style.cpp.

◆ prefix()

TQString const & Style::prefix ( ) const

Definition at line 2015 of file kspread_style.cpp.

◆ release()

bool Style::release ( )

Releases this style.

The internal reference counter is decremented.

Returns
true, if this style is not used anymore and should be deleted.

Definition at line 1818 of file kspread_style.cpp.

◆ rightBorderPen()

TQPen const & Style::rightBorderPen ( ) const

Definition at line 1930 of file kspread_style.cpp.

◆ rightPenValue()

uint KSpread::Style::rightPenValue ( ) const
inline

Definition at line 203 of file kspread_style.h.

◆ rotateAngle()

int Style::rotateAngle ( ) const

Definition at line 1965 of file kspread_style.cpp.

◆ saveOasis()

TQString Style::saveOasis ( KoGenStyle & style,
KoGenStyles & mainStyles )
virtual

Saves an OASIS automatic style.

Reimplemented by CustomStyle for OASIS user styles.

Returns
always TQString()

Reimplemented in KSpread::CustomStyle.

Definition at line 1112 of file kspread_style.cpp.

◆ saveOasisBackgroundStyle()

TQString Style::saveOasisBackgroundStyle ( KoGenStyles & mainStyles,
const TQBrush & brush )
static

Definition at line 1364 of file kspread_style.cpp.

◆ saveOasisStyle()

void Style::saveOasisStyle ( KoGenStyle & style,
KoGenStyles & mainStyles )
protected

Helper function for saveOasis Does the real work by determining the used attributes.

Definition at line 1123 of file kspread_style.cpp.

◆ saveOasisStyleNumeric()

TQString Style::saveOasisStyleNumeric ( KoGenStyle & style,
KoGenStyles & mainStyles,
FormatType _style,
const TQString & _prefix,
const TQString & _postfix,
int _precision,
const TQString & symbol )
static
Returns
the name of the data style (number, currency, percentage, date, boolean, text)

Definition at line 696 of file kspread_style.cpp.

◆ saveOasisStyleNumericCustom()

TQString Style::saveOasisStyleNumericCustom ( KoGenStyles & mainStyles,
FormatType _style,
const TQString & _prefix,
const TQString & _suffix )
static

Definition at line 994 of file kspread_style.cpp.

◆ saveOasisStyleNumericDate()

TQString Style::saveOasisStyleNumericDate ( KoGenStyles & mainStyles,
FormatType _style,
const TQString & _prefix,
const TQString & _suffix )
static

Definition at line 893 of file kspread_style.cpp.

◆ saveOasisStyleNumericFraction()

TQString Style::saveOasisStyleNumericFraction ( KoGenStyles & mainStyles,
FormatType _style,
const TQString & _prefix,
const TQString _suffix )
static

Definition at line 1068 of file kspread_style.cpp.

◆ saveOasisStyleNumericMoney()

TQString Style::saveOasisStyleNumericMoney ( KoGenStyles & mainStyles,
FormatType _style,
const TQString & symbol,
int _precision,
const TQString & _prefix,
const TQString & _suffix )
static

Definition at line 828 of file kspread_style.cpp.

◆ saveOasisStyleNumericNumber()

TQString Style::saveOasisStyleNumericNumber ( KoGenStyles & mainStyles,
FormatType _style,
int _precision,
const TQString & _prefix,
const TQString & _suffix )
static

Definition at line 804 of file kspread_style.cpp.

◆ saveOasisStyleNumericPercentage()

TQString Style::saveOasisStyleNumericPercentage ( KoGenStyles & mainStyles,
FormatType _style,
int _precision,
const TQString & _prefix,
const TQString & _suffix )
static

Definition at line 847 of file kspread_style.cpp.

◆ saveOasisStyleNumericScientific()

TQString Style::saveOasisStyleNumericScientific ( KoGenStyles & mainStyles,
FormatType _style,
const TQString & _prefix,
const TQString _suffix,
int _precision )
static

Definition at line 872 of file kspread_style.cpp.

◆ saveOasisStyleNumericText()

TQString Style::saveOasisStyleNumericText ( KoGenStyles & mainStyles,
FormatType _style,
int _precision,
const TQString & _prefix,
const TQString & _suffix )
static

Definition at line 822 of file kspread_style.cpp.

◆ saveOasisStyleNumericTime()

TQString Style::saveOasisStyleNumericTime ( KoGenStyles & mainStyles,
FormatType _style,
const TQString & _prefix,
const TQString & _suffix )
static

Definition at line 1014 of file kspread_style.cpp.

◆ saveXML()

void Style::saveXML ( TQDomDocument & doc,
TQDomElement & format ) const

Definition at line 1371 of file kspread_style.cpp.

◆ setAlignX()

Style * Style::setAlignX ( Format::Align alignX)

Definition at line 2027 of file kspread_style.cpp.

◆ setAlignY()

Style * Style::setAlignY ( Format::AlignY alignY)

Definition at line 2042 of file kspread_style.cpp.

◆ setBackGroundBrush()

Style * Style::setBackGroundBrush ( TQBrush const & brush)

Definition at line 2403 of file kspread_style.cpp.

◆ setBgColor()

Style * Style::setBgColor ( TQColor const & color)

Definition at line 2246 of file kspread_style.cpp.

◆ setBottomBorderPen()

Style * Style::setBottomBorderPen ( TQPen const & pen)

Definition at line 2282 of file kspread_style.cpp.

◆ setCurrency()

Style * Style::setCurrency ( Format::Currency const & currency)

Definition at line 2510 of file kspread_style.cpp.

◆ setFallDiagonalPen()

Style * Style::setFallDiagonalPen ( TQPen const & pen)

Definition at line 2339 of file kspread_style.cpp.

◆ setFloatColor()

Style * Style::setFloatColor ( Format::FloatColor color)

Definition at line 2435 of file kspread_style.cpp.

◆ setFloatFormat()

Style * Style::setFloatFormat ( Format::FloatFormat format)

Definition at line 2420 of file kspread_style.cpp.

◆ setFont()

Style * Style::setFont ( TQFont const & f)

Definition at line 2057 of file kspread_style.cpp.

◆ setFontFamily()

Style * Style::setFontFamily ( TQString const & fam)

Definition at line 2166 of file kspread_style.cpp.

◆ setFontFlags()

Style * Style::setFontFlags ( uint flags)

Definition at line 2187 of file kspread_style.cpp.

◆ setFontSize()

Style * Style::setFontSize ( int size)

Definition at line 2208 of file kspread_style.cpp.

◆ setFormatType()

Style * Style::setFormatType ( FormatType format)

Definition at line 2656 of file kspread_style.cpp.

◆ setGoUpDiagonalPen()

Style * Style::setGoUpDiagonalPen ( TQPen const & pen)

Definition at line 2356 of file kspread_style.cpp.

◆ setIndent()

Style * Style::setIndent ( double indent)

Definition at line 2388 of file kspread_style.cpp.

◆ setLeftBorderPen()

Style * Style::setLeftBorderPen ( TQPen const & pen)

Definition at line 2301 of file kspread_style.cpp.

◆ setParent()

void Style::setParent ( CustomStyle * parent)

Definition at line 1806 of file kspread_style.cpp.

◆ setPen()

Style * Style::setPen ( TQPen const & pen)

Definition at line 2229 of file kspread_style.cpp.

◆ setPostfix()

Style * Style::setPostfix ( TQString const & postfix)

Definition at line 2495 of file kspread_style.cpp.

◆ setPrecision()

Style * Style::setPrecision ( int precision)

Definition at line 2465 of file kspread_style.cpp.

◆ setPrefix()

Style * Style::setPrefix ( TQString const & prefix)

Definition at line 2480 of file kspread_style.cpp.

◆ setProperty()

Style * Style::setProperty ( Properties p)

Definition at line 2525 of file kspread_style.cpp.

◆ setRightBorderPen()

Style * Style::setRightBorderPen ( TQPen const & pen)

Definition at line 2263 of file kspread_style.cpp.

◆ setRotateAngle()

Style * Style::setRotateAngle ( int angle)

Definition at line 2373 of file kspread_style.cpp.

◆ setStrFormat()

Style * Style::setStrFormat ( TQString const & strFormat)

Definition at line 2450 of file kspread_style.cpp.

◆ setTopBorderPen()

Style * Style::setTopBorderPen ( TQPen const & pen)

Definition at line 2320 of file kspread_style.cpp.

◆ strFormat()

TQString const & Style::strFormat ( ) const

Definition at line 2010 of file kspread_style.cpp.

◆ timeType()

FormatType Style::timeType ( const TQString & _format)
static

Definition at line 650 of file kspread_style.cpp.

◆ topBorderPen()

TQPen const & Style::topBorderPen ( ) const

Definition at line 1945 of file kspread_style.cpp.

◆ topPenValue()

uint KSpread::Style::topPenValue ( ) const
inline

Definition at line 205 of file kspread_style.h.

◆ type()

StyleType KSpread::Style::type ( ) const
inline

Definition at line 169 of file kspread_style.h.

◆ usage()

int KSpread::Style::usage ( ) const
inline
Returns
the number of references to this style.

Definition at line 195 of file kspread_style.h.

Member Data Documentation

◆ m_alignX

Format::Align KSpread::Style::m_alignX
protected

Alignment of the text.

Definition at line 295 of file kspread_style.h.

◆ m_alignY

Format::AlignY KSpread::Style::m_alignY
protected

Aligment of the text at top middle or bottom.

Definition at line 299 of file kspread_style.h.

◆ m_backGroundBrush

TQBrush KSpread::Style::m_backGroundBrush
protected

The brush used to draw the background.

Definition at line 357 of file kspread_style.h.

◆ m_bgColor

TQColor KSpread::Style::m_bgColor
protected

The background color.

Definition at line 323 of file kspread_style.h.

◆ m_bottomBorderPen

TQPen KSpread::Style::m_bottomBorderPen
protected

The pen used to draw the bottom border.

Definition at line 333 of file kspread_style.h.

◆ m_bottomPenValue

uint KSpread::Style::m_bottomPenValue
protected

Definition at line 394 of file kspread_style.h.

◆ m_currency

Format::Currency KSpread::Style::m_currency
protected

Currency information: about which currency from which country.

Definition at line 387 of file kspread_style.h.

◆ m_fallDiagonalPen

TQPen KSpread::Style::m_fallDiagonalPen
protected

The pen used to draw the diagonal.

Definition at line 348 of file kspread_style.h.

◆ m_featuresSet

uint KSpread::Style::m_featuresSet
protected

Definition at line 290 of file kspread_style.h.

◆ m_floatColor

Format::FloatColor KSpread::Style::m_floatColor
protected

The color format of a floating point value.

Definition at line 305 of file kspread_style.h.

◆ m_floatFormat

Format::FloatFormat KSpread::Style::m_floatFormat
protected

Definition at line 301 of file kspread_style.h.

◆ m_fontFamily

TQString KSpread::Style::m_fontFamily
protected

The font used to draw the text.

Definition at line 312 of file kspread_style.h.

◆ m_fontFlags

uint KSpread::Style::m_fontFlags
protected

Definition at line 313 of file kspread_style.h.

◆ m_fontSize

int KSpread::Style::m_fontSize
protected

Definition at line 314 of file kspread_style.h.

◆ m_formatType

FormatType KSpread::Style::m_formatType
protected

Definition at line 307 of file kspread_style.h.

◆ m_goUpDiagonalPen

TQPen KSpread::Style::m_goUpDiagonalPen
protected

The pen used to draw the the diagonal which go up.

Definition at line 352 of file kspread_style.h.

◆ m_indent

double KSpread::Style::m_indent
protected

Give indent.

Definition at line 363 of file kspread_style.h.

◆ m_leftBorderPen

TQPen KSpread::Style::m_leftBorderPen
protected

The pen used to draw the left border.

Definition at line 338 of file kspread_style.h.

◆ m_leftPenValue

uint KSpread::Style::m_leftPenValue
protected

Definition at line 396 of file kspread_style.h.

◆ m_parent

CustomStyle* KSpread::Style::m_parent
protected

Definition at line 286 of file kspread_style.h.

◆ m_parentName

TQString KSpread::Style::m_parentName
protected

Definition at line 287 of file kspread_style.h.

◆ m_postfix

TQString KSpread::Style::m_postfix
protected

The postfix of a numeric value ( for example "DM" ) May be empty.

Definition at line 382 of file kspread_style.h.

◆ m_precision

int KSpread::Style::m_precision
protected

The precision of the floating point representation If precision is -1, this means that no precision is specified.

Definition at line 372 of file kspread_style.h.

◆ m_prefix

TQString KSpread::Style::m_prefix
protected

The prefix of a numeric value ( for example "$" ) May be empty.

Definition at line 377 of file kspread_style.h.

◆ m_properties

uint KSpread::Style::m_properties
protected

Stores information like: DonPrint, DontShowFormula, Protected...

Definition at line 392 of file kspread_style.h.

◆ m_rightBorderPen

TQPen KSpread::Style::m_rightBorderPen
protected

The pen used to draw the right border.

Definition at line 328 of file kspread_style.h.

◆ m_rightPenValue

uint KSpread::Style::m_rightPenValue
protected

Definition at line 395 of file kspread_style.h.

◆ m_rotateAngle

int KSpread::Style::m_rotateAngle
protected

Definition at line 359 of file kspread_style.h.

◆ m_strFormat

TQString KSpread::Style::m_strFormat
protected

Format of the content, e.g.

#.##0.00, dd/mmm/yyyy,...

Definition at line 367 of file kspread_style.h.

◆ m_textPen

TQPen KSpread::Style::m_textPen
protected

The pen used to draw the text.

Definition at line 319 of file kspread_style.h.

◆ m_topBorderPen

TQPen KSpread::Style::m_topBorderPen
protected

The pen used to draw the top border.

Definition at line 343 of file kspread_style.h.

◆ m_topPenValue

uint KSpread::Style::m_topPenValue
protected

Definition at line 397 of file kspread_style.h.

◆ m_type

StyleType KSpread::Style::m_type
protected

Definition at line 288 of file kspread_style.h.

◆ m_usageCount

uint KSpread::Style::m_usageCount
protected

Definition at line 289 of file kspread_style.h.


The documentation for this class was generated from the following files: