ZOMImport

ZOMImport

Welcome to our Knowledge Base

Documentation | Blog | Demos | Support

< All Topics
Print

ZOMImport

Imports dictionary descriptions of objects from documents.

Syntax

ZOMImport [<option>…]

Options

;f <format>Specifies the format in which that the Object Dictionary specifications are to be imported. There are several available formats:

Z50To import Z50 format, omit the ;f option. This is the default import / export format, and is recommended for exchanging definitions between ZOM enabled environments. Z50 files have file names that end in “.z50”.
Z45This format is suitable for importing definitions created using ZOM Version 4.5 which was released with the Developers’ Release, 4.5, of Zim for Windows. It can be used to import definitions created by this previous Windows release. Z45 files have file names that end in “.z45”.
Z41This imports definitions exported by versions of ZOM prior to 4.5. Z41 files have file names that end in “.z41”.
DT4This imports definitions compatible with ZimSAVE and ZimLOAD. It is useful for exchanging objects between ZOM and older versions of Zim. DT4 files have file names that end in “.dt4”.
OEFThis imports output which is compatible with the Object Exchange Format, a generic object exchange format definition which is designed for integration with other development tools. OEF files have file names that end in “.oef”.
;t shSpecifies that the target of the import operation is the Shadow Object Dictionary and not the Object Dictionary. See ZOMDiff for more information on comparing different versions of object definitions.

Comments

This command checks the set of objects to be imported over for locked objects prior to executing. If there are locked objects to be affected, the command issues an error and exits. An object is considered to be locked if it is locked itself, or is in a locked directory. For information about setting and clearing locks, refer to ZOMSet.

This command touches any objects imported once its action has completed. This results in the object’s status and dependency information being updated. For more information, refer to ZOMTouch.

Examples

The following command imports the objects contained in the Z50 format files.

ZOMImport

The following command imports the objects in DT4 format.

ZOMImport ;f DT4

Was this article helpful?
0 out of 5 stars
5 Stars 0%
4 Stars 0%
3 Stars 0%
2 Stars 0%
1 Stars 0%
5
How can we improve this article?
Please submit the reason for your vote so that we can improve the article.

Leave a Reply

Your email address will not be published. Required fields are marked *

en_CAEnglish