<?xml version="1.0" encoding="utf-8"?>
<!-- $Id$ -->
<configuration name="Publiquiz"
               xmlns="http://www.xmlmind.com/xmleditor/schema/configuration"
               xmlns:cfg="http://www.xmlmind.com/xmleditor/schema/configuration">
  
  <detect>
    <rootElementLocalName>publiquiz</rootElementLocalName>
  </detect>

  <relaxng compactSyntax="true" encoding="UTF-8"
           location="../RelaxNG/publiquiz.rnc"/>

  <css location="Css/publiquiz.css" name="Publiquiz"/>

  <!-- ================================================================== -->
  <template location="Templates/publiquiz_choices-radio.xml"
            name="Exercice QCM – radio"/>
  <template location="Templates/publiquiz_choices-radio_image.xml"
            name="Exercice QCM – radio avec images"/>
  <template location="Templates/publiquiz_choices-check.xml"
            name="Exercice QCM – check"/>
  <template location="Templates/publiquiz_choices-check_image.xml"
            name="Exercice QCM – check avec images"/>
  <template location="Templates/publiquiz_blanks-fill.xml"
            name="Exercice à trous – saisie libre"/>
  <template location="Templates/publiquiz_blanks-select.xml"
            name="Exercice à trous – liste fermée"/>
  <template location="Templates/publiquiz_point.xml"
            name="Exercice de pointage"/>
  <template location="Templates/publiquiz_matching.xml"
            name="Exercice d'appariement"/>
  <template location="Templates/publiquiz_matching_image.xml"
            name="Exercice d'appariement avec images"/>
  <template location="Templates/publiquiz_sort.xml"
            name="Exercice de tri"/>
  <template location="Templates/publiquiz_sort_image.xml"
            name="Exercice de tri avec images"/>
  <template location="Templates/publiquiz_categories.xml"
            name="Exercice de catégories"/>
  <template location="Templates/publiquiz_categories_image.xml"
            name="Exercice de catégories avec images"/>
  <template location="Templates/publiquiz_production.xml"
            name="Exercice de production"/>
  <template location="Templates/publiquiz_composite.xml"
            name="Exercices composites"/>

  <!-- ================================================================== -->
  <menu label="_Publiquiz">
    <menu label="Tableaux">
      <item label="Ligne – Insérer avant"
            icon="xxe-config:common/icons/insertRowBefore.png"
            command="tableEdit" parameter="insertRowBefore"/>
      <item label="Ligne – Insérer après"
            icon="xxe-config:common/icons/insertRowAfter.png"
            command="tableEdit" parameter="insertRowAfter"/>
      <item label="Ligne – Supprimer"
            icon="xxe-config:common/icons/deleteRow.png"
            command="tableEdit" parameter="deleteRow"/>
      <separator />
      <item label="Colonne – Insérer avant"
            icon="xxe-config:common/icons/insertColumnBefore.png"
            command="tableEdit" parameter="insertColumnBefore"/>
      <item label="Colonne – Insérer après"
            icon="xxe-config:common/icons/insertColumnAfter.png"
            command="tableEdit" parameter="insertColumnAfter"/>
      <item label="Colonne – Supprimer"
            icon="xxe-config:common/icons/deleteColumn.png"
            command="tableEdit" parameter="deleteColumn"/>
    </menu>
  </menu>
  
  <command name="tableEdit">
    <class>com.xmlmind.xmleditext.docbook.table.CALSTableEdit</class>
  </command>
  
  <validateHook name="cols_checker">
    <class>com.xmlmind.xmleditext.docbook.table.ValidateHookImpl</class>
  </validateHook>  
</configuration>
