Xxe/publidoc.xxe
author Patrick PIERRE <patrick.pierre@prismallia.fr>
jeu., 26 juil. 2012 18:35:33 +0200
changeset 125 dd9b04a54839
parent 87 35606ecc54fc
child 251 3483da1b39eb
permissions -rw-r--r--
Ajout des exercices de catégorie
<?xml version="1.0" encoding="utf-8"?>
<!-- $Id$ -->
<configuration name="Publidoc"
               xmlns="http://www.xmlmind.com/xmleditor/schema/configuration"
               xmlns:cfg="http://www.xmlmind.com/xmleditor/schema/configuration">
  
  <detect>
    <rootElementLocalName>publidoc</rootElementLocalName>
  </detect>

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

  <css location="Css/publidoc.css" name="Publidoc"/>

  <!-- ================================================================== -->
  <template location="Templates/publidoc_topic.xml" name="Topic"/>
  <template location="Templates/publidoc_document.xml" name="Document"/>

  <!-- ================================================================== -->
  <menu label="_Publidoc">
    <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>