Xxe/publidoc.xxe
author Patrick PIERRE
jeu., 18 juil. 2013 09:06:34 +0200
changeset 240 683e231dfa11
parent 87 35606ecc54fc
child 251 3483da1b39eb
permissions -rw-r--r--
Balises de bas niveau triées et complétées
<?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>