Search in sources :

Example 1 with PageBreak

use of com.xenoage.zong.core.music.layout.PageBreak in project Zong by Xenoage.

the class PrintReader method readBreak.

private Break readBreak() {
    MxlPrintAttributes mxlPA = mxlPrint.getPrintAttributes();
    SystemBreak systemBreak = readSystemBreak(mxlPA.getNewSystem());
    PageBreak pageBreak = readPageBreak(mxlPA.getNewPage());
    if (systemBreak != null || pageBreak != null)
        return new Break(pageBreak, systemBreak);
    return null;
}
Also used : MxlPrintAttributes(com.xenoage.zong.musicxml.types.attributes.MxlPrintAttributes) PageBreak(com.xenoage.zong.core.music.layout.PageBreak) SystemBreak(com.xenoage.zong.core.music.layout.SystemBreak) PageBreak(com.xenoage.zong.core.music.layout.PageBreak) Break(com.xenoage.zong.core.format.Break) SystemBreak(com.xenoage.zong.core.music.layout.SystemBreak)

Aggregations

Break (com.xenoage.zong.core.format.Break)1 PageBreak (com.xenoage.zong.core.music.layout.PageBreak)1 SystemBreak (com.xenoage.zong.core.music.layout.SystemBreak)1 MxlPrintAttributes (com.xenoage.zong.musicxml.types.attributes.MxlPrintAttributes)1