yW2OO

yWriter - OpenOffice/LibreOffice converter

This project is maintained by peter88213

Project homepage > Instructions for use > Command reference: Import


Import

Import from ODT/ODS to yWriter

This writes back the document’s content to the yWriter project file.

About formatting text

About document language handling

How to set up a work in progress for import

How to set up an outline for import


General

About formatting text

It is assumed that very few types of text markup are needed for a fictional text:

When importing to yw7 format, the converter replaces these formattings as follows:

About document language handling

ODF documents are generally assigned a language that determines spell checking and country-specific character substitutions. In addition, Office Writer lets you assign text passages to languages other than the document language to mark foreign language usage or to suspend spell checking.

Document overall

Text passages in scenes

If text markups for other languages are detected during conversion to the yw7 format, they are converted and transferred to the yWriter scene.

This then looks like this, for example:

xxx xxxx [lang=en-AU]yyy yyyy yyyy[/lang=en-AU] xxx xxx

To prevent these text markups from interfering with yWriter, they are automatically set as project variables in such a way that yWriter interprets them as HTML instructions during document export.

For the example shown above, the project variable definition for the opening tag looks like this:

The point of this is that such language assignments are preserved even after multiple conversions in both directions, so they are always effective for spell checking in the ODT document.

It is recommended not to modify such markups in yWriter to avoid unwanted nesting and broken enclosing.

HowTo

How to set up a work in progress for import

A work in progress has no third level heading.

Libreoffice example

Work-in-progress example: Note the blanks between the asterisks of the scene divider. It is not necessary to center the scene dividers. The scene titles in the comments are optional; if there are no comments, the converter will auto-generate scene titles.

How to set up an outline for import

An outline has at least one third level heading.

Libreoffice example

Outline example: The body text just below the chapter heading is the chapter description; the body text just below the scene heading is the scen description. However, the descriptions are optional.


« PreviousNext »