#include <canorusmlexport.h>

Public Member Functions | |
| CACanorusMLExport (QTextStream *stream=0) | |
| virtual | ~CACanorusMLExport () |
| void | exportDocumentImpl (CADocument *doc) |
Private Member Functions | |
| void | exportVoiceImpl (CAVoice *voice, QDomElement &dVoice) |
| void | exportMarks (CAMusElement *associatedElt, QDomElement &domElt) |
Definition at line 17 of file canorusmlexport.h.
| CACanorusMLExport::CACanorusMLExport | ( | QTextStream * | stream = 0 |
) |
Copyright (c) 2006-2007, Matevž Jekovec, Canorus development team All Rights Reserved. See AUTHORS for a complete list of authors.
Licensed under the GNU GENERAL PUBLIC LICENSE. See LICENSE.GPL for details.
Definition at line 46 of file canorusmlexport.cpp.
| CACanorusMLExport::~CACanorusMLExport | ( | ) | [virtual] |
Definition at line 50 of file canorusmlexport.cpp.
| void CACanorusMLExport::exportDocumentImpl | ( | CADocument * | doc | ) | [virtual] |
Saves the document. It uses DOM object internally for writing the XML output.
Reimplemented from CAExport.
Definition at line 59 of file canorusmlexport.cpp.
References CADocument::arranger(), CALyricsContext::associatedVoice(), CADocument::comments(), CADocument::composer(), CASheet::contextAt(), CASheet::contextCount(), CAContext::contextType(), CADocument::copyright(), CADocument::dateCreated(), CADocument::dateLastModified(), CADocument::dedication(), exportVoiceImpl(), CAContext::FunctionMarkingContext, CAFunctionMarkingContext::functionMarkingList(), CAFunctionMarking::functionTypeToString(), CAContext::LyricsContext, CAVoice::midiChannel(), CAVoice::midiProgram(), CAContext::name(), CAVoice::name(), CAStaff::name(), CASheet::name(), CAStaff::numberOfLines(), CAExport::out(), CADocument::poet(), CAFile::setProgress(), CADocument::sheetAt(), CADocument::sheetCount(), CAContext::Staff, CALyricsContext::stanzaNumber(), CAVoice::stemDirection(), CANote::stemDirectionToString(), CADocument::subtitle(), CALyricsContext::syllableList(), CADocument::textTranslator(), CADocument::timeEdited(), CADocument::title(), CAStaff::voiceAt(), CAStaff::voiceCount(), and CASheet::voiceList().

| void CACanorusMLExport::exportVoiceImpl | ( | CAVoice * | voice, | |
| QDomElement & | dVoice | |||
| ) | [private] |
Used for writing the voice node in XML output. It uses DOM object internally for writing the XML output. This method is usually called by saveDocument().
Definition at line 194 of file canorusmlexport.cpp.
References CANote::accidentals(), CAMusElement::Barline, CABarline::barlineType(), CABarline::barlineTypeToString(), CATimeSignature::beat(), CATimeSignature::beats(), CAClef::c1(), CAMusElement::Clef, CAClef::clefType(), CAClef::clefTypeToString(), CAPlayable::dotted(), exportMarks(), CAMusElement::KeySignature, CAKeySignature::keySignatureType(), CAKeySignature::keySignatureTypeToString(), CAKeySignature::MajorMinor, CAKeySignature::majorMinorGender(), CAKeySignature::majorMinorGenderToString(), CAKeySignature::modus(), CAKeySignature::Modus, CAKeySignature::modusToString(), CAVoice::musElementAt(), CAVoice::musElementCount(), CAMusElement::musElementType(), CAMusElement::Note, CAKeySignature::numberOfAccidentals(), CAClef::offset(), CANote::phrasingSlurEnd(), CANote::phrasingSlurStart(), CANote::pitch(), CAPlayable::playableLength(), CAPlayable::playableLengthToString(), CAMusElement::Rest, CARest::restType(), CARest::restTypeToString(), CASlur::slurDirection(), CASlur::slurDirectionToString(), CANote::slurEnd(), CANote::slurStart(), CASlur::slurStyle(), CASlur::slurStyleToString(), CANote::stemDirection(), CANote::stemDirectionToString(), CANote::StemPreferred, CANote::tieStart(), CAMusElement::timeLength(), CAMusElement::TimeSignature, CATimeSignature::timeSignatureType(), CATimeSignature::timeSignatureTypeToString(), and CAMusElement::timeStart().
Referenced by exportDocumentImpl().


| void CACanorusMLExport::exportMarks | ( | CAMusElement * | associatedElt, | |
| QDomElement & | domElt | |||
| ) | [private] |
Definition at line 310 of file canorusmlexport.cpp.
References CAMark::Articulation, CAArticulation::articulationType(), CAArticulation::articulationTypeToString(), CATempo::beat(), CATempo::beatDotted(), CAMark::BookMark, CATempo::bpm(), CAMark::Crescendo, CACrescendo::crescendoType(), CACrescendo::crescendoTypeToString(), CAMark::Dynamic, CAMark::Fermata, CAFermata::fermataType(), CAFermata::fermataTypeToString(), CARitardando::finalTempo(), CACrescendo::finalVolume(), CAMark::Fingering, CAFingering::fingerList(), CAFingering::fingerNumberToString(), CAInstrumentChange::instrument(), CAMark::InstrumentChange, CAMark::isCommon(), CAFingering::isOriginal(), CAMusElement::markList(), CAMark::markType(), CAMark::markTypeToString(), CAMusElement::musElementType(), CAMusElement::Note, CAMark::Pedal, CAPlayable::playableLengthToString(), CAMark::RehersalMark, CAMark::RepeatMark, CARepeatMark::repeatMarkType(), CARepeatMark::repeatMarkTypeToString(), CAMark::Ritardando, CARitardando::ritardandoType(), CARitardando::ritardandoTypeToString(), CAMark::Tempo, CABookMark::text(), CADynamic::text(), CAText::text(), CAMark::Text, CAMusElement::timeLength(), CAMusElement::timeStart(), CARepeatMark::Volta, CARepeatMark::voltaNumber(), and CADynamic::volume().
Referenced by exportVoiceImpl().


1.5.3