Go to the documentation of this file.
8 #ifndef CANORUSMLEXPORT_H_
9 #define CANORUSMLEXPORT_H_
11 #include <QDomElement>
static const QString stemDirectionToString(CAStemDirection)
Definition: note.cpp:288
@ Crescendo
Definition: mark.h:23
const QString composer()
Definition: document.h:39
QDomElement _dTuplet
Definition: canorusmlexport.h:40
const int volume()
Definition: dynamic.h:33
static const QString fermataTypeToString(CAFermataType t)
Definition: fermata.cpp:52
void exportDocumentImpl(CADocument *doc)
Definition: canorusmlexport.cpp:63
const int finalVolume()
Definition: crescendo.h:28
const QList< CAVoice * > & voiceList()
Definition: staff.h:35
Ritardando and Accellerando marks.
Definition: ritardando.h:15
@ Staff
Definition: context.h:23
const QString comments()
Definition: document.h:48
Represents a rest in the score.
Definition: rest.h:15
int number()
Definition: tuplet.h:27
const QString text()
Definition: dynamic.h:31
QColor _color
Definition: canorusmlexport.h:41
@ Mark
Definition: muselement.h:37
@ MidiNote
Definition: muselement.h:27
static const QString ritardandoTypeToString(CARitardandoType t)
Definition: ritardando.cpp:52
CASlur * phrasingSlurStart()
Definition: note.h:51
Note articulation marks.
Definition: articulation.h:14
const QUrl url()
Definition: resource.h:36
@ Pedal
Definition: mark.h:24
void exportTime(CAMusElement *elt, QDomElement &domParent)
Definition: canorusmlexport.cpp:463
int actualNumber()
Definition: tuplet.h:30
CASlur * slurEnd()
Definition: note.h:50
Represents a note in the score.
Definition: note.h:18
void exportDiatonicPitch(CADiatonicPitch p, QDomElement &domParent)
Definition: canorusmlexport.cpp:477
CASlurStyle slurStyle()
Definition: slur.h:52
void exportResources(CADocument *, QDomElement &)
Definition: canorusmlexport.cpp:502
static const QString crescendoTypeToString(CACrescendoType t)
Definition: crescendo.cpp:50
@ Tuplet
Definition: muselement.h:33
Class which represents the current document.
Definition: document.h:19
static const QString keySignatureTypeToString(CAKeySignatureType)
Definition: keysignature.cpp:157
@ Clef
Definition: muselement.h:29
const int finalTempo()
Definition: ritardando.h:28
bool isCommon()
Definition: mark.h:48
const QString text()
Definition: text.h:19
Class which represents a voice in the staff.
Definition: voice.h:23
void exportColor(CAMusElement *elt, QDomElement &domParent)
Definition: canorusmlexport.cpp:457
const QDateTime dateCreated()
Definition: document.h:45
const QString dedication()
Definition: document.h:43
@ Barline
Definition: muselement.h:28
Represents a time signature in the staff.
Definition: timesignature.h:18
static QString resourceTypeToString(CAResourceType type)
Definition: resource.cpp:70
static const QString articulationTypeToString(CAArticulationType t)
Definition: articulation.cpp:37
@ RehersalMark
Definition: mark.h:27
const QString description()
Definition: resource.h:33
const QString name()
Definition: resource.h:30
Context for keeping the figured bass marks.
Definition: figuredbasscontext.h:16
CAStemDirection stemDirection()
Definition: note.h:42
const CAResourceType resourceType()
Definition: resource.h:39
void exportFiguredBass(CAFiguredBassContext *c, QDomElement &domParent)
Definition: canorusmlexport.cpp:343
Definition: canorusmlexport.h:22
const QList< CAMark * > markList()
Definition: muselement.h:70
const QString name()
Definition: context.h:29
@ MajorMinor
Definition: keysignature.h:22
CARepeatMarkType repeatMarkType()
Definition: repeatmark.h:34
void exportPlayableLength(CAPlayableLength l, QDomElement &domParent)
Definition: canorusmlexport.cpp:471
QList< CAFiguredBassMark * > & figuredBassMarkList()
Definition: figuredbasscontext.h:27
static const QString timeSignatureTypeToString(CATimeSignatureType)
Definition: timesignature.cpp:114
const int instrument()
Definition: instrumentchange.h:24
@ Tempo
Definition: mark.h:20
int bpm()
Definition: tempo.h:22
@ Volta
Definition: repeatmark.h:19
void exportVoiceImpl(CAVoice *voice, QDomElement &dVoice)
Definition: canorusmlexport.cpp:208
static const QString modusToString(CAModus)
Definition: keysignature.cpp:169
Musical key.
Definition: diatonickey.h:15
const CACrescendoType crescendoType()
Definition: crescendo.h:30
const QString textTranslator()
Definition: document.h:42
bool copy(QString fileName)
Definition: resource.cpp:59
int offset()
Definition: clef.h:59
const QList< CAFunctionMark * > & functionMarkList()
Definition: functionmarkcontext.h:25
static const QString musicLengthToString(CAMusicLength length)
Definition: playablelength.cpp:75
static const QString clefTypeToString(CAClefType)
Definition: clef.cpp:147
@ StemPreferred
Definition: note.h:25
CATuplet * tuplet()
Definition: playable.h:28
static const QString repeatMarkTypeToString(CARepeatMarkType t)
Definition: repeatmark.cpp:46
Crescendo and Decrescendo marks.
Definition: crescendo.h:15
QTextStream * stream()
Definition: file.h:36
const CARitardandoType ritardandoType()
Definition: ritardando.h:30
@ RepeatMark
Definition: mark.h:29
CANote::CAStemDirection stemDirection()
Definition: voice.h:98
Different resources included in the file.
Definition: resource.h:15
@ TimeSignature
Definition: muselement.h:30
CAMarkType markType()
Definition: mark.h:45
int stanzaNumber()
Definition: lyricscontext.h:43
@ Undefined
Definition: muselement.h:24
static const QString fingerNumberToString(CAFingerNumber n)
Definition: fingering.cpp:62
const CAMusicLength musicLength()
Definition: playablelength.h:34
@ Fingering
Definition: mark.h:31
const QString poet()
Definition: document.h:41
unsigned char midiProgram()
Definition: voice.h:107
CACanorusMLExport(QTextStream *stream=0)
Definition: canorusmlexport.cpp:52
Context for function marks.
Definition: functionmarkcontext.h:19
static const QString markTypeToString(CAMarkType t)
Definition: mark.cpp:44
Finger marks.
Definition: fingering.h:16
virtual int timeLength() const
Definition: muselement.h:53
const QColor color()
Definition: muselement.h:67
const QString copyright()
Definition: document.h:44
CASlur * phrasingSlurEnd()
Definition: note.h:52
@ Articulation
Definition: mark.h:30
CAKeySignatureType keySignatureType()
Definition: keysignature.h:47
Absolute dynamic marks.
Definition: dynamic.h:16
@ Ritardando
Definition: mark.h:21
static const QString barlineTypeToString(CABarlineType)
Definition: barline.cpp:65
static const QString slurDirectionToString(CASlurDirection dir)
Definition: slur.cpp:116
Fermata mark.
Definition: fermata.h:16
const int noteName() const
Definition: diatonicpitch.h:50
Musical note pitch.
Definition: diatonicpitch.h:16
CASlur * tieStart()
Definition: note.h:47
CAClefType clefType()
Definition: clef.h:51
@ Syllable
Definition: muselement.h:34
Tempo mark.
Definition: tempo.h:14
unsigned char midiChannel()
Definition: voice.h:104
CAVoice * associatedVoice()
Definition: lyricscontext.h:41
@ FunctionMark
Definition: muselement.h:35
const QList< CAFingerNumber > & fingerList()
Definition: fingering.h:41
@ KeySignature
Definition: muselement.h:31
static const QString restTypeToString(CARestType)
Definition: rest.cpp:64
bool isLinked()
Definition: resource.h:42
CAFermataType fermataType()
Definition: fermata.h:32
const QList< CAMusElement * > & musElementList()
Definition: voice.h:47
const QString text()
Definition: bookmark.h:19
bool isFirstInTuplet()
Definition: playable.h:35
bool isFirstInChord()
Definition: note.cpp:166
const QList< CASheet * > & sheetList()
Definition: document.h:26
@ FunctionMarkContext
Definition: context.h:25
CABarlineType barlineType()
Definition: barline.h:36
Represents a staff in the sheet.
Definition: staff.h:25
An abstract class which represents every music element in the score.
Definition: muselement.h:21
CAContextType contextType()
Definition: context.h:32
const QString title()
Definition: document.h:37
CASlurDirection slurDirection()
Definition: slur.h:46
CASlur * slurStart()
Definition: note.h:49
const CAGender gender()
Definition: diatonickey.h:43
@ Rest
Definition: muselement.h:26
const int c1()
Definition: clef.h:52
const int accs() const
Definition: diatonicpitch.h:51
bool isPlayable()
Definition: muselement.cpp:78
CADiatonicPitch diatonicPitch()
Definition: diatonickey.h:42
Musical length of notes and rests.
Definition: playablelength.h:16
const int dotted()
Definition: playablelength.h:35
virtual ~CACanorusMLExport()
Definition: canorusmlexport.cpp:56
Represents a key signature sign in the staff.
Definition: keysignature.h:19
A bookmark shortcut.
Definition: bookmark.h:14
const unsigned int timeEdited()
Definition: document.h:47
void exportDiatonicKey(CADiatonicKey k, QDomElement &domParent)
Definition: canorusmlexport.cpp:483
Repeat marks like segno, volta, coda etc.
Definition: repeatmark.h:15
@ InstrumentChange
Definition: mark.h:25
CATimeSignatureType timeSignatureType()
Definition: timesignature.h:42
int voltaNumber()
Definition: repeatmark.h:37
@ Note
Definition: muselement.h:25
int beats()
Definition: timesignature.h:34
const QString subtitle()
Definition: document.h:38
const QList< CAResource * > & resourceList()
Definition: document.h:33
One stanza line of lyrics.
Definition: lyricscontext.h:19
@ FiguredBassMark
Definition: muselement.h:36
virtual int timeStart() const
Definition: muselement.h:51
CADiatonicKey diatonicKey()
Definition: keysignature.h:50
CADiatonicPitch & diatonicPitch()
Definition: note.h:35
Line of music elements in the sheet.
Definition: context.h:16
const QString arranger()
Definition: document.h:40
static const QString functionTypeToString(CAFunctionType)
Definition: functionmark.cpp:141
@ FiguredBassContext
Definition: context.h:26
const QDateTime dateLastModified()
Definition: document.h:46
@ LyricsContext
Definition: context.h:24
void setProgress(const int progress)
Definition: file.h:34
Music element which represents a barline in the score.
Definition: barline.h:17
Text sign.
Definition: text.h:14
Marks that depend on other music elements.
Definition: mark.h:15
@ Undefined
Definition: mark.h:18
bool isOriginal()
Definition: fingering.h:45
Instrument change during the score.
Definition: instrumentchange.h:16
CAArticulationType articulationType()
Definition: articulation.h:56
const QString name()
Definition: voice.h:101
int numberOfLines()
Definition: staff.h:30
static const QString genderToString(CAGender)
Definition: diatonickey.cpp:121
@ Modus
Definition: keysignature.h:23
int beat()
Definition: timesignature.h:37
void exportMarks(CAMusElement *associatedElt, QDomElement &domParent)
Definition: canorusmlexport.cpp:364
@ Fermata
Definition: mark.h:28
@ Text
Definition: mark.h:19
const QList< CASyllable * > & syllableList()
Definition: lyricscontext.h:34
QTextStream & out()
Definition: export.h:71
Base class for export filters.
Definition: export.h:22
@ Dynamic
Definition: mark.h:22
CARestType restType()
Definition: rest.h:28
QFile * file()
Definition: file.h:39
CAMusElementType musElementType()
Definition: muselement.h:46
CAPlayableLength beat()
Definition: tempo.h:24
@ BookMark
Definition: mark.h:26
CAPlayableLength & playableLength()
Definition: playable.h:23
CAModus modus()
Definition: keysignature.h:51
char midiPitchOffset()
Definition: voice.h:110
static const QString slurStyleToString(CASlurStyle style)
Definition: slur.cpp:92
@ Slur
Definition: muselement.h:32