gccv::StrikethroughTextTag Class Reference

Strikethrough. More...

#include <text-tag.h>

Inheritance diagram for gccv::StrikethroughTextTag:

gccv::TextTag

List of all members.

Public Member Functions

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


Detailed Description

Strikethrough.

TextTag class for text strikethrough.

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


Constructor & Destructor Documentation

gccv::StrikethroughTextTag::StrikethroughTextTag ( TextDecoration  strikethrough,
GOColor  color = GO_COLOR_BLACK 
)

Parameters:
strikethrough a TextDecoration.
color the line color.
Constructs a StrikethroughTextTag with strikethrough as strikethrough mode and color as line color, default color being black.

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

The destructor.


Member Function Documentation

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

Creates a copy of the StrikethroughTextTag with the same strikethrough mode.

Returns:
the new TextTag.

Implements gccv::TextTag.

void gccv::StrikethroughTextTag::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 StrikethroughTextTag class.

Implements gccv::TextTag.

TextDecoration gccv::StrikethroughTextTag::GetStrikethrough (  )  const [inline]

Returns:
the strikethrough mode.

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

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

Parameters:
tag a TextTag.
Equality operator.
Returns:
true if tag is a StrikethroughTextTag and has the same strikethrough mode than 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