TetraSix

Majix Light 1.1

MaJix

  • What's new ?
  • TetraSix Software License Agreement for Majix
  • Downloading Majix
  • Obtaining a Java VM
  • Running Majix
  • Majix process
  • Majix user interface
  • Majix input format
  • Majix intermediate format
  • Majix output format
  • Modify input format
  • Modify XML tag names
  • Browsing XML documents
  • The configuration file
  • The tools
  • The sample
  • Comments
  • Modify input format

    Default process

    Remember, Majix converts a RTF file into an XML file. The input format in Majix is composed by the Word styles, character styles and so on (see "Majix input format" for more details). In a conversion, Majix automatically asks you what to do with a style which it doesn't know.

    For example, in your Word file, there is a paragraph containing "145$" with the style "Price". This style is not recognized by Majix. Majix makes a stop and a dialogue box prompts you the intermediate format to associate with this style. Choose "block type 1".

    As <B1> is the XML tag associated by default with the intermediate format called "block type 1", Majix will generate the tag <B1>145$</B1> in the XML file.

    After that, you can customize the XML generated with your own tag in order to have <PRICE>132</PRICE> (see Modify XML tags).

    Importing new styles from a file

    The list of the Word styles processed is by default a small set of predefined Word styles, but that list can be changed.

    By clicking on the Edit Styles button of the main screen of Majix user interface, one obtains the following dialogue:

    This dialog contains:

    • a list of the supported styles. Each line of the list presents the name of the style and its description. The description is the Majix intermediate format.

    • a choice control allowing to select the meaning of the style

    • a row of three buttons:

      • Save to save the definition of the styles into a file.

      • Load to load a previously saved file.

      • Reset to reset the style mapping to its default value.

    • another row of four buttons:

      • Help to show the help documentation;

      • Add from RTF to add to the list the styles defined in a RTF file.

      • Cancel to quit editing the styles while canceling the modifications performed.

      • Close to quit editing the styles while using the modified style list and saving it as the default style list.

    You can import styles from a Word file by clicking on the "Add from RTF" button. A dialog box will prompt you the name of the RTF file containing your own predefined styles. This can be your input file.

    The conversion process uses a mapping from the style names and an internal definition called Majix intermediate format.

    The default style definition file

    At startup, Majix load the default style definition file, "default.sty" stored in Majix startup directory. This style keeps track of all the modification you performed in the style editor when you closed the dialog. You can therefore keep your custiomizations from one session of Majix to another. Of course, you can always come back to the initial style mapping by clicking on "reset".


    Copyright TetraSix, 1999 - info@tetrasix.com