The Gnome Chemistry Utils
0.14.0
|
Charge. More...
#include <fragment.h>
Public Member Functions | |
ChargeTextTag (double size) | |
virtual | ~ChargeTextTag () |
TextTag * | Restrict (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 |
TextTag * | Duplicate () const |
TextPosition | GetPosition (bool &stacked, double &size) const |
virtual bool | NeedsNewRun () |
TextTag * | Restrict (G_GNUC_UNUSED TextTag *tag) |
Public Member Functions inherited from gccv::TextTag | |
TextTag (Tag tag, TagPriority priority=TagPriorityFirst) | |
virtual | ~TextTag () |
virtual TextTag * | Restrict (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) |
Additional Inherited Members | |
Static Public Member Functions inherited from gccv::TextTag | |
static Tag | RegisterTagType () |
static bool | Order (TextTag *first, TextTag *last) |
Static Public Attributes inherited from gccv::TextTag | |
static Tag | MaxTag |
Protected Attributes inherited from gccv::TextTag | |
bool | m_Stacked |
bool | m_NewLine |
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.
gcp::ChargeTextTag::ChargeTextTag | ( | double | size | ) |
size | a default font size. |
Constructs a new ChargeTextTag.
|
virtual |
The destructor.
tag | a TextTag. |
Implementation of TextTag::Restrict for the ChargeTextTag class.