The Gnome Chemistry Utils  0.13.98
Public Member Functions
gcp::ChargeTextTag Class Reference

Charge. More...

#include <fragment.h>

Inheritance diagram for gcp::ChargeTextTag:
gccv::PositionTextTag gccv::TextTag

List of all members.

Public Member Functions

 ChargeTextTag (double size)
virtual ~ChargeTextTag ()
TextTagRestrict (TextTag *tag)
- Public Member Functions inherited from gccv::PositionTextTag
 PositionTextTag (TextPosition position, double size, bool stacked=false, Tag tag=Position)
virtual ~PositionTextTag ()
void Filter (PangoAttrList *l, unsigned start, unsigned end)
bool operator== (TextTag const &tag) const
TextTagDuplicate () const
TextPosition GetPosition (bool &stacked, double &size) const
virtual bool NeedsNewRun ()
TextTagRestrict (G_GNUC_UNUSED TextTag *tag)
- Public Member Functions inherited from gccv::TextTag
 TextTag (Tag tag, TagPriority priority=TagPriorityFirst)
virtual ~TextTag ()
virtual TextTagRestrict (TextTag *tag)
Tag GetTag (void) const
TagPriority GetPriority (void) const
void SetStartIndex (unsigned val)
unsigned GetStartIndex (void) const
unsigned & GetRefStartIndex (void)
void SetEndIndex (unsigned val)
unsigned GetEndIndex (void) const
unsigned & GetRefEndIndex (void)
bool GetStacked (void)
bool GetNewLine (void)

Detailed Description

Charge.

TextTag class for charge. Text using this tag will appear as superscript and interpreted as an electric charge.

Definition at line 47 of file fragment.h.


Constructor & Destructor Documentation

gcp::ChargeTextTag::ChargeTextTag ( double  size)
Parameters:
sizea default font size.

Constructs a new ChargeTextTag.

virtual gcp::ChargeTextTag::~ChargeTextTag ( )
virtual

The destructor.


Member Function Documentation

TextTag* gcp::ChargeTextTag::Restrict ( TextTag tag)
Parameters:
taga TextTag.

Implementation of TextTag::Restrict for the ChargeTextTag class.

Returns:
the new TextTag if this split or NULL.

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