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

a subexpression of a CSS1 declaration More...

#include <parcss1.hxx>

Collaboration diagram for CSS1Expression:
[legend]

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
 

Private Attributes

sal_Unicode cOp
 
CSS1Token eType
 
OUString aValue
 
double nValue
 
CSS1ExpressionpNext
 

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 
)
inline

Definition at line 129 of file parcss1.hxx.

◆ ~CSS1Expression()

CSS1Expression::~CSS1Expression ( )

Definition at line 1228 of file parcss1.cxx.

References pNext.

Member Function Documentation

◆ GetColor()

bool CSS1Expression::GetColor ( Color rRGB) const

◆ GetNext()

const CSS1Expression * CSS1Expression::GetNext ( ) const
inline

◆ GetNumber()

double CSS1Expression::GetNumber ( ) const
inline

◆ GetOp()

sal_Unicode CSS1Expression::GetOp ( ) const
inline

◆ GetSLength()

sal_Int32 CSS1Expression::GetSLength ( ) const
inline

◆ GetString()

const OUString & CSS1Expression::GetString ( ) const
inline

◆ GetType()

CSS1Token CSS1Expression::GetType ( ) const
inline

◆ GetULength()

sal_uInt32 CSS1Expression::GetULength ( ) const
inline

◆ GetURL()

void CSS1Expression::GetURL ( OUString &  rURL) const

Definition at line 1233 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 
)
inline

Definition at line 152 of file parcss1.hxx.

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

Referenced by ParseCSS1_font().

◆ SetNext()

void CSS1Expression::SetNext ( CSS1Expression pNxt)
inline

Definition at line 148 of file parcss1.hxx.

References pNext.

Referenced by CSS1Parser::ParseDeclaration().

Member Data Documentation

◆ aValue

OUString CSS1Expression::aValue
private

Definition at line 124 of file parcss1.hxx.

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

◆ cOp

sal_Unicode CSS1Expression::cOp
private

Definition at line 122 of file parcss1.hxx.

Referenced by GetOp(), and Set().

◆ eType

CSS1Token CSS1Expression::eType
private

Definition at line 123 of file parcss1.hxx.

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

◆ nValue

double CSS1Expression::nValue
private

Definition at line 125 of file parcss1.hxx.

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

◆ pNext

CSS1Expression* CSS1Expression::pNext
private

Definition at line 126 of file parcss1.hxx.

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


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