1. DocBook menu
Prev |  | Next

## 1. DocBook menu

Table editing commands fully support CALS tables as well as HTML tables.

Menu | Item | Description
--- | --- | ---
Column For a command in this menu to work, click anywhere inside a cell (or explicitly select a cell or an element having a cell ancestor). | Insert Before | Insert a column before column containing specified cell.
Insert After | Insert a column after column containing specified cell.
Cut | Cut to the clipboard the column containing specified cell.
Copy | Copy to the clipboard the column containing specified cell.
Paste Before | Paste copied or cut column before column containing specified cell.
Paste After | Paste copied or cut column after column containing specified cell.
Delete | Delete the column containing specified cell.
Row For a command in this menu to work, click anywhere inside a cell (or explicitly select a cell or an element having a cell ancestor) or explicitly select a row. | Insert Before | Insert a row before row containing specified cell. ### Note Note that row editing commands are enabled, not only by implicitly or explicitly selecting a table cell or any of its descendants, but also by explicitly selecting a table row.
Insert After | Insert a row before row containing specified cell.
Cut | Cut to the clipboard the row containing specified cell.
Copy | Copy to the clipboard the row containing specified cell.
Paste Before | Paste copied or cut row before row containing specified cell.
Paste After | Paste copied or cut row after row containing specified cell.
Delete | Delete the row containing specified cell.
Cell For a command in this menu to work, click anywhere inside a cell (or explicitly select a cell or an element having a cell ancestor). | Increment Column Span | Increment the number of columns spanned by specified cell.
Decrement Column Span | Decrement the number of columns spanned by specified cell.
Increment Row Span | Increment the number of rows spanned by specified cell.
Decrement Row Span | Decrement the number of rows spanned by specified cell.

Other commands:

Convert informal<element> to/from <element>

  Converts an ``informal element'' to/from a ``formal element'' having a title.

  This command currently works for `informaltable`/`table`, `informalfigure`/`figure` and `informalexample`/`example`.

Go to Opposite Link End

  An element with an `ID`, `IDREF` or `IDREFS` attribute must be implicitly or explicitly selected. Scrolls to and selects opposite link end (if found). For example, will scroll to and select `<section id="foo">` if the command has been invoked with `<link linkend="foo">` selected.

Go to Next Link

  An element with an `IDREF` or `IDREFS` attribute must be implicitly or explicitly selected. Scrolls to and selects next similar link (if found). For example, will scroll to and select following `<callout arearefs="foo bar">` if the command has been invoked with `<link linkend="foo">` selected.

Go to Previous Link

  An element with an `IDREF` or `IDREFS` attribute must be implicitly or explicitly selected. Scrolls to and selects previous similar link (if found). For example, will scroll to and select preceding `<link linkend="foo">` if the command has been invoked with `<link linkend="foo">` selected.

Move Up

  Move selected element up, that is, swap it with its preceding sibling node. Requires the element to be explicitly selected.

Move Down

  Move selected element down, that is, swap it with its following sibling node. Requires the element to be explicitly selected.

Promote

  To make it simple, increase the level of selected subsection (e.g. a `sect2` element is converted to a `sect1` element).

  Requires a ``subsection'' (`section`, `sect1`, `sect2`, `sect3`, `sect4` or `sect5`) or an element which is contained in the body[1] of the section to be explicitly selected.

  - If a subsection is selected, this subsection becomes a sibling of its parent section. Example: `sect2` element having `id`="`C`" is ``promoted'':

        <sect1 id="A">...
          <sect2 id="B">...
          <sect2 id="C">...
          <sect2 id="D">...

    This results in:

        <sect1 id="A">...
          <sect2 id="B">...
        <sect1 id="C">...
          <sect2 id="D">...

  - If another type of child element is selected, this element is wrapped in a newly created section which becomes a sibling of its parent section. Example: `para` element having `id`="`C`" is ``promoted'':

        <sect1 id="A">...
          <para id="B">...
          <para id="C">...
          <sect2 id="D">...

    This results in:

        <sect1 id="A">...
          <para id="B">...
        <sect1>...
          <para id="C">...
          <sect2 id="D">...

Demote

  To make it simple, decrease the level of selected section (e.g. a `sect1` element is converted to a `sect2` element).

  Requires a ``section'' (`chapter`, `appendix`, `section`, `sect1`, `sect2`, `sect3` or `sect4`) or an element which is contained in the body[2] of the section to be explicitly selected.

  - If a section is selected and if this section is preceded by a section of the same type, this section becomes a subsection of its preceding sibling. Example: `sect1` element having `id`="`C`" is ``demoted'':

        <sect1 id="A">...
          <para id="B">...
        <sect1 id="C">...
          <para id="D">...

    This results in:

        <sect1 id="A">...
          <para id="B">...
          <sect2 id="C">...
            <para id="D">...

  - If a section is selected and if this section is not preceded by a section of the same type, a new section is created and selected section becomes a subsection of this new section. Example: `sect2` element having `id`="`C`" is ``demoted'':

        <sect1 id="A">...
          <para id="B">...
          <sect2 id="C">...
            <para id="D">...

    This results in:

        <sect1 id="A">...
          <para id="B">...
          <sect2>...
            <sect3 id="C">...
              <para id="D">...

  - If another type of child element is selected, this element and all the other ``body elements'' which follow it are wrapped in a newly created subsection. Example: `para` element having `id`="`C`" is ``demoted'':

        <sect1 id="A">...
          <para id="B">...
          <para id="C">...
          <para id="D">...
          <sect2 id="E">...

    This results in:

        <sect1 id="A">...
          <para id="B">...
          <sect2>...
            <para id="C">...
            <para id="D">...
          <sect2 id="E">...

### 1.1. Convert Document sub-menu

This menu is present only in XMLmind XML Editor Professional Edition.

### Using the profiling stylesheets

Profiling, or conditional text, means that you can create a single XML document with some elements marked as conditional. More information in DocBook XSL: The Complete Guide.

If you need to use the profiling XSL stylesheets rather than the plain XSL stylesheets, use Options → Customize Configuration → Document Conversion Preferences and check option "Use the profiling stylesheets".

Convert to HTML..., Convert to HTML (one page)..., Convert to HTML (one page, no TOC)...

  Converts the document being edited to multi page or single page HTML.

  ### Generating XHTML rather than HTML

  If you prefer to generate XHTML rather than HTML, use Options → Customize Configuration → Document Conversion Preferences and check option "Generate XHTML rather than HTML".

Convert to HTML Help...

  Converts the document being edited to a `.chm` file. This command is disabled on platforms other than Windows.

  For this command to work, the HTML Help compiler, `hhc.exe`, must have been declared as the helper application associated to files having a "`hhp`" extension. This can be specified by using the Preferences dialog box, Helper Applications section.

Convert to Java Help...

  Converts the document being edited to a `.jar` file for use by the Java™ Help system.

  For this command to work, the Java™ Help indexer, `jhindexer`, must have been declared as the helper application associated to files having a "`application/x-java-help-index`" MIME type. This can be specified by using the Preferences dialog box, Helper Applications section.

Convert to Eclipse Help...

  Converts the document being edited to Eclipse Help.

  The `eclipse.plugin.name`, `eclipse.plugin.id`, `eclipse.plugin.provider` XSL style sheet parameters must have been specified using the Options → Customize Configuration → Change Document Conversion Parameters facility.

  All HTML files as well as Eclipse's `plugin.xml` and `toc.xml` are generated in the same directory:

  1. This directory must be a subdirectory of the Eclipse `plugins/` directory.

  2. The name of this directory must be identical to the value of the `eclipse.plugin.id` XSL style sheet parameter.

Convert to RTF..., Convert to RTF [no TOC]...

  Converts the document being edited to RTF (Rich Text Format) using XMLmind FO Converter (see http://www.xmlmind.com/foconverter/). The document generated by this command can be edited and printed using Microsoft® Word 2000 and above.

Convert to WordprocessingML (MS-Word 2003)..., Convert to WordprocessingML (MS-Word 2003) [no TOC]...

  Converts the document being edited to WordprocessingML using XMLmind FO Converter. The document generated by this command can be edited and printed using Microsoft® Word 2003 and above.

Convert to OpenDocument (OpenOffice.org 2)..., Convert to OpenDocument (OpenOffice.org 2) [no TOC]...

  Converts the document being edited to OpenDocument (`.odt` file) using XMLmind FO Converter. The document generated by this command can be edited and printed using OpenOffice.org 2.

Convert to Office Open XML (MS-Word 2007)..., Convert to Office Open XML (MS-Word 2007) [no TOC]...

  Converts the document being edited to Office Open XML (`.docx` file) using XMLmind FO Converter. The document generated by this command can be edited and printed using Microsoft® Word 2007 and above.

Print PostScript..., Print PostScript [no TOC]...

  Converts the document being edited to PostScript® using RenderX XEP (see http://www.renderx.com/), if its plug-in has been installed, and Apache FOP otherwise (see http://xmlgraphics.apache.org/fop/), and then, sends the generated file to the chosen printer.

Convert to PDF..., Convert to PDF [no TOC]...

  Converts the document being edited to PDF (Adobe® Portable Document Format, also known as Acrobat®) using RenderX XEP (see http://www.renderx.com/), if its plug-in has been installed, and Apache FOP otherwise (see http://xmlgraphics.apache.org/fop/).

All the above Convert commands display the URL chooser dialog box rather than the standard file chooser dialog box.

For all Convert commands except for the "Convert to HTML" command, you must specify the URL (Uniform Resource Locator) of a save file. The "Convert to HTML" command creates multiple HTML pages with a first page called `index.html`, therefore you need to specify the URL of a save directory.

Note that these commands can create directories on the fly, if needed to. For example, if you specify `http://www.acme.com/docs/report43/mydoc.html` as the URL of the save file and if directory `report43/` does not exist, this directory will be created during command execution.

[1] That is, it is not possible to ``promote'' the title of a section.

[2] That is, it is not possible to ``demote'' the title of a section.

Prev |  | Next
XMLmind XML Editor - DocBook Support | Home | 2. Custom bindings