Xxe/publidoc.xxe
author Patrick PIERRE <patrick.pierre@prismallia.fr>
sam., 04 févr. 2012 14:44:39 +0100
changeset 87 35606ecc54fc
parent 71 91ae8b8e07c6
child 251 3483da1b39eb
permissions -rw-r--r--
Ajout de la configuration XXE pour publiquiz
<?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>