Xxe/publidoc.xxe
author Patrick PIERRE
sam., 29 août 2015 08:26:53 +0200
changeset 394 5ef9ac7aeb14
parent 251 3483da1b39eb
permissions -rw-r--r--
Nouveaux <?tune-...?>
<?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="xhtml.tableEdit" parameter="insertRowBefore"/>
      <item label="Ligne – Insérer après"
            icon="xxe-config:common/icons/insertRowAfter.png"
            command="xhtml.tableEdit" parameter="insertRowAfter"/>
      <item label="Ligne – Couper"
            icon="xxe-config:common/icons/cut.png"
            command="xhtml.tableEdit" parameter="cutRow"/>
      <item label="Ligne – Copier"
            icon="xxe-config:common/icons/copy.png"
            command="xhtml.tableEdit" parameter="copyRow"/>
      <item label="Ligne – Coller avant"
            icon="xxe-config:common/icons/pasteBefore.png"
            command="xhtml.tableEdit" parameter="pasteRowBefore"/>
      <item label="Ligne – Coller après"
            icon="xxe-config:common/icons/pasteAfter.png"
            command="xhtml.tableEdit" parameter="pasteRowAfter"/>
      <item label="Ligne – Supprimer"
            icon="xxe-config:common/icons/deleteRow.png"
            command="xhtml.tableEdit" parameter="deleteRow"/>
      <separator />
      <item label="Colonne – Insérer avant"
            icon="xxe-config:common/icons/insertColumnBefore.png"
            command="xhtml.tableEdit" parameter="insertColumnBefore"/>
      <item label="Colonne – Insérer après"
            icon="xxe-config:common/icons/insertColumnAfter.png"
            command="xhtml.tableEdit" parameter="insertColumnAfter"/>
      <item label="Colonne – Couper"
            icon="xxe-config:common/icons/cut.png"
            command="xhtml.tableEdit" parameter="cutColumn"/>
      <item label="Colonne – Copier"
            icon="xxe-config:common/icons/copy.png"
            command="xhtml.tableEdit" parameter="copyColumn"/>
      <item label="Colonne – Coller avant"
            icon="xxe-config:common/icons/pasteBefore.png"
            command="xhtml.tableEdit" parameter="pasteColumnBefore"/>
      <item label="Colonne – Coller après"
            icon="xxe-config:common/icons/pasteAfter.png"
            command="xhtml.tableEdit" parameter="pasteColumnAfter"/>
      <item label="Colonne – Supprimer"
            icon="xxe-config:common/icons/deleteColumn.png"
            command="xhtml.tableEdit" parameter="deleteColumn"/>
      <separator />
      <item label="Cellule – Incrémenter l'extension horizontale"
            icon="xxe-config:common/icons/incrementColumnSpan.png"
            command="xhtml.tableEdit" parameter="incrColumnSpan"/>
      <item label="Cellule –Décrémenter l'extension horizontale"
            icon="xxe-config:common/icons/decrementColumnSpan.png"
            command="xhtml.tableEdit" parameter="decrColumnSpan"/>
      <item label="Cellule –Incrémenter l'extension verticale"
            icon="xxe-config:common/icons/incrementRowSpan.png"
            command="xhtml.tableEdit" parameter="incrRowSpan"/>
      <item label="Cellule –Décrémenter l'extension verticale"
            icon="xxe-config:common/icons/decrementRowSpan.png"
            command="xhtml.tableEdit" parameter="decrRowSpan"/>
    </menu>

    <menu label="Tableaux CALS">
      <item label="Ligne – Insérer avant"
            icon="xxe-config:common/icons/insertRowBefore.png"
            command="cals.tableEdit" parameter="insertRowBefore"/>
      <item label="Ligne – Insérer après"
            icon="xxe-config:common/icons/insertRowAfter.png"
            command="cals.tableEdit" parameter="insertRowAfter"/>
      <item label="Ligne – Supprimer"
            icon="xxe-config:common/icons/deleteRow.png"
            command="cals.tableEdit" parameter="deleteRow"/>
      <separator />
      <item label="Colonne – Insérer avant"
            icon="xxe-config:common/icons/insertColumnBefore.png"
            command="cals.tableEdit" parameter="insertColumnBefore"/>
      <item label="Colonne – Insérer après"
            icon="xxe-config:common/icons/insertColumnAfter.png"
            command="cals.tableEdit" parameter="insertColumnAfter"/>
      <item label="Colonne – Supprimer"
            icon="xxe-config:common/icons/deleteColumn.png"
            command="cals.tableEdit" parameter="deleteColumn"/>
    </menu>
  </menu>
  
  <command name="xhtml.tableEdit">
    <class>com.xmlmind.xmleditext.xhtml.table.HTMLTableEdit</class>
  </command>

  <command name="cals.tableEdit">
    <class>com.xmlmind.xmleditext.docbook.table.CALSTableEdit</class>
  </command>
  
  <validateHook name="cols_checker">
    <class>com.xmlmind.xmleditext.docbook.table.ValidateHookImpl</class>
  </validateHook>  
</configuration>