Main Page | Modules | Class Hierarchy | Alphabetical List | Compound List | File List | Compound Members | Related Pages

TWords Class Reference

The MusicXml words element. More...

#include <TDirection.h>

Inheritance diagram for TWords:

TDirectionTypeElement Positionable visitable smartable List of all members.

Public Types

enum  {
  undefined = -1, left = 1, center, right,
  last = right
}

Public Member Functions

virtual void accept (TScoreVisitor &visitor)
void setJustify (int just)
void setLang (const string &lang)
void setValue (const string &value)
int getJustify () const
const string & getLang () const
const string & getValue () const

Static Public Member Functions

const string xmljustify (int d)
 convert an numeric justification to a MusicXML string

int xmljustify (const string str)
 convert an MusicXML string to a numeric justification


Friends

EXP friend SMARTP< TWordsnewWords ()

Detailed Description

Left justification is assumed if not specified. Language is Italian ("it") by default. Defined in direction.dtd.

Todo:
font support to be implemented


Generated on Tue Mar 23 09:50:31 2004 for LibMusicXML by doxygen 1.3.3