LibreOffice Module sw (master) 1
Public Member Functions | Public Attributes | List of all members
CSS1Expression Struct Reference

a subexpression of a CSS1 declaration More...

#include <parcss1.hxx>

Collaboration diagram for CSS1Expression:

Public Member Functions

 CSS1Expression (CSS1Token eTyp, OUString aVal, double nVal, sal_Unicode cO=0)
 ~CSS1Expression ()
void Set (CSS1Token eTyp, const OUString &rVal, double nVal)
CSS1Token GetType () const
const OUString & GetString () const
double GetNumber () const
sal_uInt32 GetULength () const
sal_Int32 GetSLength () const
sal_Unicode GetOp () const
void GetURL (OUString &rURL) const
bool GetColor (Color &rRGB) const
void SetNext (CSS1Expression *pNxt)
const CSS1ExpressionGetNext () const

Public Attributes

sal_Unicode cOp
CSS1Token eType
OUString aValue
double nValue

Detailed Description

a subexpression of a CSS1 declaration

It contains

Definition at line 119 of file parcss1.hxx.

Constructor & Destructor Documentation

◆ CSS1Expression()

CSS1Expression::CSS1Expression ( CSS1Token  eTyp,
OUString  aVal,
double  nVal,
sal_Unicode  cO = 0 

Definition at line 128 of file parcss1.hxx.

◆ ~CSS1Expression()

CSS1Expression::~CSS1Expression ( )

Definition at line 1207 of file parcss1.cxx.

References pNext.

Member Function Documentation

◆ GetColor()

bool CSS1Expression::GetColor ( Color rRGB) const

◆ GetNext()

const CSS1Expression * CSS1Expression::GetNext ( ) const

◆ GetNumber()

double CSS1Expression::GetNumber ( ) const

◆ GetOp()

sal_Unicode CSS1Expression::GetOp ( ) const

◆ GetSLength()

sal_Int32 CSS1Expression::GetSLength ( ) const

◆ GetString()

const OUString & CSS1Expression::GetString ( ) const

◆ GetType()

CSS1Token CSS1Expression::GetType ( ) const

◆ GetULength()

sal_uInt32 CSS1Expression::GetULength ( ) const

◆ GetURL()

void CSS1Expression::GetURL ( OUString &  rURL) const

Definition at line 1212 of file parcss1.cxx.

References aValue, CSS1_URL, eType, and comphelper::string::strip().

Referenced by ParseCSS1_background().

◆ Set()

void CSS1Expression::Set ( CSS1Token  eTyp,
const OUString &  rVal,
double  nVal 

Definition at line 151 of file parcss1.hxx.

References aValue, cOp, eType, nValue, and pNext.

Referenced by ParseCSS1_font().

◆ SetNext()

void CSS1Expression::SetNext ( CSS1Expression pNxt)

Definition at line 147 of file parcss1.hxx.

References pNext.

Referenced by CSS1Parser::ParseDeclaration().

Member Data Documentation

◆ aValue

OUString CSS1Expression::aValue

Definition at line 123 of file parcss1.hxx.

Referenced by GetColor(), GetString(), GetURL(), and Set().

◆ cOp

sal_Unicode CSS1Expression::cOp

Definition at line 121 of file parcss1.hxx.

Referenced by GetOp(), and Set().

◆ eType

CSS1Token CSS1Expression::eType

Definition at line 122 of file parcss1.hxx.

Referenced by GetColor(), GetType(), GetURL(), and Set().

◆ nValue

double CSS1Expression::nValue

Definition at line 124 of file parcss1.hxx.

Referenced by GetNumber(), GetSLength(), GetULength(), and Set().

◆ pNext

CSS1Expression* CSS1Expression::pNext

Definition at line 125 of file parcss1.hxx.

Referenced by GetNext(), Set(), SetNext(), and ~CSS1Expression().

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