LibreOffice Module sd (master) 1
Public Member Functions | Private Attributes | List of all members
HtmlState Class Reference
Collaboration diagram for HtmlState:
[legend]

Public Member Functions

 HtmlState (Color aDefColor)
 
OUString SetWeight (bool bWeight)
 
OUString SetItalic (bool bItalic)
 
OUString SetUnderline (bool bUnderline)
 
OUString SetColor (Color aColor)
 
OUString SetStrikeout (bool bStrike)
 
OUString SetLink (const OUString &aLink, const OUString &aTarget)
 
OUString Flush ()
 

Private Attributes

bool mbColor
 
bool mbWeight
 
bool mbItalic
 
bool mbUnderline
 
bool mbStrike
 
bool mbLink
 
Color maColor
 
Color maDefColor
 
OUString maLink
 
OUString maTarget
 

Detailed Description

Definition at line 144 of file htmlex.cxx.

Constructor & Destructor Documentation

◆ HtmlState()

HtmlState::HtmlState ( Color  aDefColor)
explicit

Definition at line 184 of file htmlex.cxx.

Member Function Documentation

◆ Flush()

OUString HtmlState::Flush ( void  )

◆ SetColor()

OUString HtmlState::SetColor ( Color  aColor)

Definition at line 254 of file htmlex.cxx.

References aStr, HtmlExport::ColorToHTMLString(), maColor, maDefColor, and mbColor.

Referenced by Flush(), and HtmlExport::TextAttribToHTMLString().

◆ SetItalic()

OUString HtmlState::SetItalic ( bool  bItalic)

Definition at line 211 of file htmlex.cxx.

References aStr, and mbItalic.

Referenced by Flush(), and HtmlExport::TextAttribToHTMLString().

◆ SetLink()

OUString HtmlState::SetLink ( const OUString &  aLink,
const OUString &  aTarget 
)

Definition at line 278 of file htmlex.cxx.

References aStr, comphelper::string::encodeForXml(), maLink, maTarget, and mbLink.

Referenced by Flush(), and HtmlExport::TextAttribToHTMLString().

◆ SetStrikeout()

OUString HtmlState::SetStrikeout ( bool  bStrike)

Definition at line 240 of file htmlex.cxx.

References aStr, and mbStrike.

Referenced by Flush(), and HtmlExport::TextAttribToHTMLString().

◆ SetUnderline()

OUString HtmlState::SetUnderline ( bool  bUnderline)

Definition at line 226 of file htmlex.cxx.

References aStr, and mbUnderline.

Referenced by Flush(), and HtmlExport::TextAttribToHTMLString().

◆ SetWeight()

OUString HtmlState::SetWeight ( bool  bWeight)

Definition at line 196 of file htmlex.cxx.

References aStr, and mbWeight.

Referenced by Flush(), and HtmlExport::TextAttribToHTMLString().

Member Data Documentation

◆ maColor

Color HtmlState::maColor
private

Definition at line 153 of file htmlex.cxx.

Referenced by SetColor().

◆ maDefColor

Color HtmlState::maDefColor
private

Definition at line 154 of file htmlex.cxx.

Referenced by Flush(), and SetColor().

◆ maLink

OUString HtmlState::maLink
private

Definition at line 155 of file htmlex.cxx.

Referenced by SetLink().

◆ maTarget

OUString HtmlState::maTarget
private

Definition at line 156 of file htmlex.cxx.

Referenced by SetLink().

◆ mbColor

bool HtmlState::mbColor
private

Definition at line 147 of file htmlex.cxx.

Referenced by SetColor().

◆ mbItalic

bool HtmlState::mbItalic
private

Definition at line 149 of file htmlex.cxx.

Referenced by SetItalic().

◆ mbLink

bool HtmlState::mbLink
private

Definition at line 152 of file htmlex.cxx.

Referenced by SetLink().

◆ mbStrike

bool HtmlState::mbStrike
private

Definition at line 151 of file htmlex.cxx.

Referenced by SetStrikeout().

◆ mbUnderline

bool HtmlState::mbUnderline
private

Definition at line 150 of file htmlex.cxx.

Referenced by SetUnderline().

◆ mbWeight

bool HtmlState::mbWeight
private

Definition at line 148 of file htmlex.cxx.

Referenced by SetWeight().


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