<?xml version="1.0" encoding="UTF-8"?>

<?context-directive job ctxfile x-setups.ctx ?>

<cd:interface xmlns:cd="http://www.pragma-ade.com/commands">

    <cd:command name="definecolumnset" level="style" category="columns" file="page-mvl.mkxl">
        <cd:arguments>
            <cd:resolve name="keyword-name"/>
            <cd:resolve name="keyword-name-optional"/>
            <cd:assignments list="yes" optional="yes">
                <cd:inherit name="setupcolumnset"/>
            </cd:assignments>
        </cd:arguments>
    </cd:command>

    <cd:command name="setupcolumnset" level="style" category="columns" file="page-mvl.mkxl">
        <cd:arguments>
            <cd:resolve name="keyword-name-list-optional"/>
            <cd:assignments list="yes">
                <cd:parameter name="lines">
                    <cd:constant type="cd:number"/>
                </cd:parameter>
                <cd:parameter name="n">
                    <cd:constant type="cd:number"/>
                </cd:parameter>
                <cd:parameter name="nleft">
                    <cd:constant type="cd:number"/>
                </cd:parameter>
                <cd:parameter name="nright">
                    <cd:constant type="cd:number"/>
                </cd:parameter>
                <cd:parameter name="state">
                    <cd:constant type="start" default="yes"/>
                    <cd:constant type="stop"/>
                </cd:parameter>
                <cd:parameter name="distance">
                    <cd:constant type="cd:dimension"/>
                </cd:parameter>
                <cd:parameter name="width">
                    <cd:constant type="cd:dimension"/>
                </cd:parameter>
                <cd:parameter name="page">
                    <cd:inherit name="page"/>
                </cd:parameter>
                <cd:parameter name="maxwidth">
                    <cd:constant type="cd:dimension"/>
                </cd:parameter>
                <cd:parameter name="maxheight">
                    <cd:constant type="cd:dimension"/>
                </cd:parameter>
                <cd:parameter name="limit">
                    <cd:constant type="cd:number"/>
                </cd:parameter>
                <cd:parameter name="language">
                    <cd:constant type="cd:language"/>
                </cd:parameter>
                <cd:parameter name="region">
                    <cd:constant type="cd:name"/>
                </cd:parameter>
                <cd:parameter name="direction">
                    <cd:constant type="normal" default="yes"/>
                    <cd:constant type="reverse"/>
                </cd:parameter>
                <cd:parameter name="location">
                    <cd:constant type="left"/>
                    <cd:constant type="right"/>
                </cd:parameter>
                <cd:parameter name="align">
                    <cd:inherit name="setupalign"/>
                </cd:parameter>
                <cd:inherit name="setupframed"/>
            </cd:assignments>
        </cd:arguments>
    </cd:command>

    <cd:command name="setupcolumnsetlines" level="style" category="columns" file="page-mvl.mkxl">
        <cd:arguments>
            <cd:resolve name="keyword-name"/>
            <cd:resolve name="keyword-number"/>
            <cd:resolve name="keyword-number"/>
            <cd:resolve name="keyword-number"/>
        </cd:arguments>
    </cd:command>

    <cd:command name="setupcolumnsetstart" level="style" category="columns" file="page-mvl.mkxl">
        <cd:arguments>
            <cd:resolve name="keyword-name"/>
            <cd:resolve name="keyword-number"/>
            <cd:resolve name="keyword-number"/>
            <cd:resolve name="keyword-number"/>
        </cd:arguments>
    </cd:command>

    <cd:command name="columnset" type="environment" level="document" category="columns" file="page-mvl.mkxl">
        <cd:arguments>
            <cd:resolve name="keyword-name"/>
            <cd:assignments list="yes" optional="yes">
                <cd:inherit name="setupcolumnset"/>
            </cd:assignments>
        </cd:arguments>
    </cd:command>

    <cd:command name="columnset" type="environment" generated="yes" variant="example" level="document" category="columns" file="page-mvl.mkxl">
        <cd:sequence>
            <cd:variable value="columnset"/>
        </cd:sequence>
        <cd:arguments>
            <cd:assignments list="yes" optional="yes">
                <cd:inherit name="setupcolumnset"/>
            </cd:assignments>
        </cd:arguments>
    </cd:command>

    <cd:command name="reservecolumnset" level="style" category="columns" file="page-mvl.mkxl"/>

    <cd:command name="setcolumnset" level="document" category="columns" file="page-mvl.mkxl">
        <cd:arguments>
            <cd:assignments list="yes">
                <cd:parameter name="c">
                    <cd:constant type="cd:number"/>
                </cd:parameter>
                <cd:parameter name="r">
                    <cd:constant type="cd:number"/>
                </cd:parameter>
                <cd:parameter name="nc">
                    <cd:constant type="cd:number"/>
                </cd:parameter>
                <cd:parameter name="nr">
                    <cd:constant type="cd:number"/>
                </cd:parameter>
                <cd:parameter name="method">
                    <cd:constant type="here"/>
                    <cd:constant type="fixed"/>
                    <cd:constant type="top"/>
                    <cd:constant type="bottom"/>
                    <cd:constant type="tblr"/>
                    <cd:constant type="lrtb"/>
                    <cd:constant type="tbrl"/>
                    <cd:constant type="rltb"/>
                    <cd:constant type="btlr"/>
                    <cd:constant type="lrbt"/>
                    <cd:constant type="btrl"/>
                    <cd:constant type="rlbt"/>
                    <cd:constant type="fxtb"/>
                    <cd:constant type="fxbt"/>
                </cd:parameter>
                <cd:parameter name="option">
                    <cd:constant type="page"/>
                </cd:parameter>
                <cd:parameter name="ntop">
                    <cd:constant type="cd:number"/>
                </cd:parameter>
                <cd:parameter name="nbottom">
                    <cd:constant type="cd:number"/>
                </cd:parameter>
            </cd:assignments>
            <cd:content/>
        </cd:arguments>
    </cd:command>

    <cd:command name="setcolumnset" type="environment" level="document" category="columns" file="page-mvl.mkxl">
        <cd:arguments>
            <cd:assignments list="yes">
                <cd:parameter name="c">
                    <cd:constant type="cd:number"/>
                </cd:parameter>
                <cd:parameter name="r">
                    <cd:constant type="cd:number"/>
                </cd:parameter>
                <cd:parameter name="nc">
                    <cd:constant type="cd:number"/>
                </cd:parameter>
                <cd:parameter name="nr">
                    <cd:constant type="cd:number"/>
                </cd:parameter>
                <cd:parameter name="method">
                    <cd:constant type="here"/>
                    <cd:constant type="fixed"/>
                    <cd:constant type="top"/>
                    <cd:constant type="bottom"/>
                    <cd:constant type="tblr"/>
                    <cd:constant type="lrtb"/>
                    <cd:constant type="tbrl"/>
                    <cd:constant type="rltb"/>
                    <cd:constant type="btlr"/>
                    <cd:constant type="lrbt"/>
                    <cd:constant type="btrl"/>
                    <cd:constant type="rlbt"/>
                    <cd:constant type="fxtb"/>
                    <cd:constant type="fxbt"/>
                </cd:parameter>
                <cd:parameter name="option">
                    <cd:constant type="page"/>
                </cd:parameter>
                <cd:parameter name="ntop">
                    <cd:constant type="cd:number"/>
                </cd:parameter>
                <cd:parameter name="nbottom">
                    <cd:constant type="cd:number"/>
                </cd:parameter>
            </cd:assignments>
        </cd:arguments>
    </cd:command>

    <cd:command name="emptycolumnset" level="document" category="columns" file="page-mvl.mkxl">
        <cd:arguments>
            <cd:assignments list="yes">
                <cd:parameter name="width">
                    <cd:constant type="cd:dimension"/>
                </cd:parameter>
                <cd:parameter name="height">
                    <cd:constant type="cd:dimension"/>
                </cd:parameter>
                <cd:parameter name="c">
                    <cd:constant type="cd:number"/>
                </cd:parameter>
                <cd:parameter name="r">
                    <cd:constant type="cd:number"/>
                </cd:parameter>
                <cd:parameter name="method">
                    <cd:constant type="here"/>
                    <cd:constant type="fixed"/>
                    <cd:constant type="top"/>
                    <cd:constant type="bottom"/>
                    <cd:constant type="tblr"/>
                    <cd:constant type="lrtb"/>
                    <cd:constant type="tbrl"/>
                    <cd:constant type="rltb"/>
                    <cd:constant type="btlr"/>
                    <cd:constant type="lrbt"/>
                    <cd:constant type="btrl"/>
                    <cd:constant type="rlbt"/>
                    <cd:constant type="fxtb"/>
                    <cd:constant type="fxbt"/>
                </cd:parameter>
                <cd:parameter name="option">
                    <cd:constant type="page"/>
                </cd:parameter>
                <cd:parameter name="ntop">
                    <cd:constant type="cd:number"/>
                </cd:parameter>
                <cd:parameter name="nbottom">
                    <cd:constant type="cd:number"/>
                </cd:parameter>
            </cd:assignments>
        </cd:arguments>
    </cd:command>

    <cd:command name="columnsetgridlines" level="document" category="columns" file="page-mvl.mkxl">
        <cd:arguments>
            <cd:resolve name="argument-number"/>
        </cd:arguments>
    </cd:command>

    <cd:command name="definecolumnsetspan" level="style" category="columns" file="page-mvl.mkxl">
        <cd:arguments>
            <cd:resolve name="keyword-name"/>
            <cd:resolve name="keyword-name-optional"/>
            <cd:assignments list="yes" optional="yes">
                <cd:inherit name="setupcolumnsetspan"/>
            </cd:assignments>
        </cd:arguments>
    </cd:command>

    <cd:command name="setupcolumnsetspan" level="style" category="columns" file="page-mvl.mkxl">
        <cd:arguments>
            <cd:resolve name="keyword-name-list-optional"/>
            <cd:assignments list="yes">
                <cd:parameter name="n">
                    <cd:constant type="cd:number"/>
                </cd:parameter>
                <cd:parameter name="before">
                    <cd:constant type="cd:command"/>
                </cd:parameter>
                <cd:parameter name="after">
                    <cd:constant type="cd:command"/>
                </cd:parameter>
                <cd:parameter name="style">
                    <cd:resolve name="value-style"/>
                </cd:parameter>
                <cd:parameter name="color">
                    <cd:constant type="cd:color"/>
                </cd:parameter>
                <cd:inherit name="setupframed"/>
            </cd:assignments>
        </cd:arguments>
    </cd:command>

    <cd:command name="columnsetspan" type="environment" level="document" category="columns" file="page-mvl.mkxl">
        <cd:arguments>
            <cd:resolve name="keyword-name"/>
            <cd:assignments list="yes" optional="yes">
                <cd:inherit name="setcolumnset"/>
            </cd:assignments>
        </cd:arguments>
    </cd:command>

    <cd:command name="columnsethspan" type="environment" level="document" category="columns" file="page-mvl.mkxl">
        <cd:arguments>
            <cd:resolve name="argument-number"/>
            <cd:resolve name="argument-number"/>
        </cd:arguments>
    </cd:command>

    <cd:command name="columnsetspanwidth" type="environment" level="document" category="columns" file="page-mvl.mkxl">
        <cd:arguments>
            <cd:resolve name="argument-number"/>
        </cd:arguments>
    </cd:command>

    <cd:command name="definecolumnsetarea" level="style" category="columns" file="page-mvl.mkxl">
        <cd:arguments>
            <cd:resolve name="keyword-name"/>
            <cd:resolve name="keyword-name-optional"/>
            <cd:assignments list="yes" optional="yes">
                <cd:inherit name="setupcolumnsetarea"/>
            </cd:assignments>
        </cd:arguments>
    </cd:command>

    <cd:command name="setupcolumnsetarea" level="style" category="columns" file="page-mvl.mkxl">
        <cd:arguments>
            <cd:resolve name="keyword-name-list-optional"/>
            <cd:assignments list="yes">
                <cd:parameter name="type">
                    <cd:constant type="sheet"/>
                </cd:parameter>
                <cd:parameter name="sheet">
                    <cd:constant type="cd:number"/>
                </cd:parameter>
                <cd:parameter name="state">
                    <cd:constant type="repeat"/>
                    <cd:constant type="stop" default="yes"/>
                </cd:parameter>
                <cd:parameter name="x">
                    <cd:constant type="cd:number"/>
                </cd:parameter>
                <cd:parameter name="y">
                    <cd:constant type="cd:number"/>
                </cd:parameter>
                <cd:parameter name="nx">
                    <cd:constant type="cd:number"/>
                </cd:parameter>
                <cd:parameter name="ny">
                    <cd:constant type="cd:number"/>
                </cd:parameter>
                <cd:parameter name="text">
                    <cd:constant type="cd:text"/>
                </cd:parameter>
                <cd:parameter name="width">
                    <cd:constant type="cd:dimension"/>
                </cd:parameter>
                <cd:parameter name="height">
                    <cd:constant type="cd:dimension"/>
                </cd:parameter>
                <cd:parameter name="clipoffset">
                    <cd:constant type="cd:dimension"/>
                </cd:parameter>
                <cd:parameter name="leftoffset">
                    <cd:constant type="cd:dimension"/>
                </cd:parameter>
                <cd:parameter name="rightoffset">
                    <cd:constant type="cd:dimension"/>
                </cd:parameter>
                <cd:parameter name="style">
                    <cd:resolve name="value-style"/>
                </cd:parameter>
                <cd:parameter name="color">
                    <cd:constant type="cd:color"/>
                </cd:parameter>
                <cd:inherit name="setupframed"/>
            </cd:assignments>
        </cd:arguments>
    </cd:command>

    <cd:command name="setupcolumnsetareatext" level="document" category="columns" file="page-mvl.mkxl">
        <cd:arguments>
            <cd:resolve name="keyword-name"/>
            <cd:resolve name="keyword-text"/>
        </cd:arguments>
    </cd:command>

    <cd:command name="columnsetsheet" type="environment" level="document" category="columns" file="page-mvl.mkxl">
        <cd:arguments>
            <cd:resolve name="keyword-name-optional"/>
            <cd:resolve name="keyword-number"/>
            <cd:keywords optional="yes">
                <cd:constant type="page"/>
            </cd:keywords>
        </cd:arguments>
    </cd:command>

    <cd:command name="columnsetsheetdelayed" type="environment" level="document" category="columns" file="page-mvl.mkxl">
        <cd:arguments>
            <cd:resolve name="keyword-name-optional"/>
            <cd:resolve name="keyword-number"/>
        </cd:arguments>
    </cd:command>

    <cd:command name="columnsetspreadsheets" type="environment" level="document" category="columns" file="page-mvl.mkxl">
        <cd:arguments>
            <cd:resolve name="keyword-name-optional"/>
            <cd:resolve name="keyword-number"/>
        </cd:arguments>
    </cd:command>

    <cd:command name="definesubcolumnset" level="style" category="columns" file="page-mvl.mkxl">
        <cd:arguments>
            <cd:resolve name="keyword-name"/>
            <cd:resolve name="keyword-name"/>
            <cd:resolve name="keyword-number-list"/>
        </cd:arguments>
    </cd:command>

    <cd:command name="setupsubcolumnset" level="style" category="columns" file="page-mvl.mkxl">
        <cd:arguments>
            <cd:resolve name="keyword-name-list-optional"/>
            <cd:assignments list="yes">
                <cd:parameter name="top">
                    <cd:constant type="cd:command"/>
                </cd:parameter>
                <cd:parameter name="bottom">
                    <cd:constant type="cd:command"/>
                </cd:parameter>
                <cd:parameter name="spacebefore">
                    <cd:constant type="line"/>
                </cd:parameter>
                <cd:parameter name="spaceafter">
                    <cd:constant type="line"/>
                </cd:parameter>
                <cd:parameter name="before">
                    <cd:constant type="cd:command"/>
                </cd:parameter>
                <cd:parameter name="after">
                    <cd:constant type="cd:command"/>
                </cd:parameter>
                <cd:parameter name="language">
                    <cd:constant type="cd:language"/>
                </cd:parameter>
                <cd:parameter name="style">
                    <cd:resolve name="value-style"/>
                </cd:parameter>
                <cd:parameter name="color">
                    <cd:constant type="cd:color"/>
                </cd:parameter>
                <cd:parameter name="align">
                    <cd:inherit name="setupalign"/>
                </cd:parameter>
            </cd:assignments>
        </cd:arguments>
    </cd:command>

    <cd:command name="subcolumnset" type="environment" level="document" category="columns" file="page-mvl.mkxl">
        <cd:arguments>
            <cd:resolve name="keyword-name-optional"/>
            <cd:assignments list="yes" optional="yes">
                <cd:inherit name="setupsubcolumnset"/>
            </cd:assignments>
        </cd:arguments>
    </cd:command>

    <cd:command name="flushcolumnset" level="document" category="columns" file="page-mvl.mkxl"/>

    <cd:command name="processcolumnset" level="document" category="columns" file="page-mvl.mkxl"/>

    <cd:command name="balancesubcolumnsets" level="document" category="columns" file="page-mvl.mkxl">
        <cd:arguments>
            <cd:keywords optional="yes">
                <cd:constant type="spread"/>
            </cd:keywords>
        </cd:arguments>
    </cd:command>

    <cd:command name="flushsubcolumnsets" level="document" category="columns" file="page-mvl.mkxl">
        <cd:arguments>
            <cd:keywords optional="yes">
                <cd:constant type="spread"/>
            </cd:keywords>
        </cd:arguments>
    </cd:command>

    <cd:command name="blockcolumnsetrows" level="document" category="columns" file="page-mvl.mkxl"/>

</cd:interface>
