7.0

Table Of Contents
Database Emulation (Page 71)
XML Data Emulations (Page 71)
User-Defined Emulation (Page 72)
Use the Data Selector (Page 75)
Associate Sample Data File(s) with a Document (Page 0)
Select and Set Up an Emulation (Page 77)
Stabilize Your Data (Page 79)
Create a User-Defined Emulation (Page 82)
Export or Import a Database Emulation Configuration (Page 82)
7.4.6 Export or Import a Database Emulation Configuration
You use the export and import procedures when you intend to use the same configuration in several
documents. You also export a database emulation configuration when you intend to execute the document in
PlanetPress Watch/Server, and want to simplify the process of configuring the database plug-in in PlanetPress
Watch/Server.
The exported configuration file is in XML format and bears the file name extension .cfg.
To export a database emulation configuration:
1. Open the document that uses the database emulation configuration you want to export.
2. Choose Tools | Open Active Data.
3. In the Data Selector, click the Database Emulation Configuration button to display the Database
Connection dialog box.
4. In the Database Connection dialog box, set the password option.
Include password on export: Select to include the password required to access the database, in the
exported database emulation configuration.
5. In the Database Connection dialog box, click Export.
6. In the Export Database Configuration dialog box, navigate to the folder in which you want to save the
configuration, enter a name for the exported file, and click Save.
PlanetPress Design exports the configuration and returns the focus to the Database Connection dialog. If
you selected Include password on export, the exported configuration file contains the password required
to access the database.
7. Click OK to exit the Database Connection dialog.
8. Click OK.
To import a database emulation configuration:
1. Open the document in which you want to import a database emulation configuration.
2. Choose Tools | Open Active Data.
3. In the Data Selector, click the Database Emulation Configuration button to display the Database
Connection dialog box.
4. In the Database Connection dialog box, click Import.
5. In the Open dialog box, navigate to the folder containing the configuration file you want to import,
select the configuration file, and click Open.
6. If necessary, adjust the database emulation configuration options in the Database Connection dialog.
7. Click OK.
8. Click OK.
7.4.7 Create a User-Defined Emulation
You use PlanetPress Talk to write the code that determines how the document treats each line and where it
places it in the data page buffer. When you write a user-defined emulation, you must define any offset of the
first data page in the data stream, the data page size, the number of data pages in the data page buffer, and
any conditions that signal the end of a data page.
Selecting an Emulation - Detailed Directions
Objectif Lune Inc. © 2009 82