Xxe/publidoc.xxe
author Patrick PIERRE <patrick.pierre@prismallia.fr>
jeu., 12 janv. 2012 18:17:05 +0100
changeset 71 91ae8b8e07c6
parent 64 2d6627e9d3d6
child 87 35606ecc54fc
permissions -rw-r--r--
Ajout des tableaux
<?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>x
  </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>