gccv::UnderlineTextTag Class Reference

Underline. More...

#include <text-tag.h>

Inheritance diagram for gccv::UnderlineTextTag:

gccv::TextTag

List of all members.

Public Member Functions

 UnderlineTextTag (TextDecoration underline, GOColor color=GO_COLOR_BLACK)
virtual ~UnderlineTextTag ()
void Filter (PangoAttrList *l, unsigned start, unsigned end)
bool operator== (TextTag const &tag) const
TextTagDuplicate () const
TextDecoration GetUnderline () const


Detailed Description

Underline.

TextTag class for text underline.

Definition at line 558 of file text-tag.h.


Constructor & Destructor Documentation

gccv::UnderlineTextTag::UnderlineTextTag ( TextDecoration  underline,
GOColor  color = GO_COLOR_BLACK 
)

Parameters:
underline a TextDecoration.
color the line color.
Constructs a UnderlineTextTag with underline as underline mode and color than line color, default color being black.

virtual gccv::UnderlineTextTag::~UnderlineTextTag (  )  [virtual]

The destructor.


Member Function Documentation

TextTag* gccv::UnderlineTextTag::Duplicate (  )  const [virtual]

Creates a copy of the UnderlineTextTag with the same underline mode.

Returns:
the new TextTag.

Implements gccv::TextTag.

void gccv::UnderlineTextTag::Filter ( PangoAttrList *  l,
unsigned  start,
unsigned  end 
) [virtual]

Parameters:
l a PangoAttrList.
start the start index of the relevant text.
end the end index of the relevant text.
Filter method for the UnderlineTextTag class.

Implements gccv::TextTag.

TextDecoration gccv::UnderlineTextTag::GetUnderline (  )  const [inline]

Returns:
the underline mode.

Definition at line 598 of file text-tag.h.

bool gccv::UnderlineTextTag::operator== ( TextTag const &  tag  )  const [virtual]

Parameters:
tag a TextTag.
Equality operator.
Returns:
true if tag is a UnderlineTextTag and has the same underline mode as this.

Implements gccv::TextTag.


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

Generated on Fri Sep 24 15:58:43 2010 for The Gnome Chemistry Utils by  doxygen 1.5.9