1.6
Table Of Contents
- Table of Contents
- Welcome to PlanetPress Connect 1.6.1
- Setup And Configuration
- System and Hardware Considerations
- Installation and Activation
- Installation Pre-Requisites
- User accounts and security
- The Importance of User Credentials on Installing and Running PlanetPress Connect
- Installing PlanetPress Connect on Machines without Internet Access
- Installation Wizard
- Running Connect Installer in Silent Mode
- Activating a License
- Migrating to a new computer
- Information about PlanetPress Workflow 8
- Upgrading from PlanetPress Suite 7.6
- What do I gain by upgrading to PlanetPress Connect?
- Server Settings
- Uninstalling
- The DataMapper Module
- Basics
- Features
- Data Mapping Configuration
- Data Mapping Workflow
- The Data Model
- Data Source (Settings)
- DataMapper User Interface
- Defining Boolean Values
- Defining String Values
- Building String Values
- Defining Integer Values
- Building Integer Values
- Defining Float Values
- Building Float Values
- Defining Currency Values
- Building Currency Values
- Extracting dates
- Entering a date using JavaScript
- Defining Object Values
- DataMapper Scripts API
- The Designer
- Generating output
- Optimizing a template
- Generating Print output
- Saving Printing options in Printing Presets.
- Connect Printing options that cannot be changed from within the Printer Wizard.
- Print Using Standard Print Output Settings
- Print Using Advanced Printer Wizard
- Adding print output models to the Print Wizard
- Splitting printing into more than one file
- Variables available in the Output
- Generating Fax output
- Generating Tags for Image Output
- Generating Email output
- Generating Web output
- Release Notes
- Copyright Information
- Legal Notices and Acknowledgments
steps Object
Returns a steps object encapsulating properties and methods pertaining to the current
DataMapper process.
This object is available in an Extract, Condition, Repeat or Multiple Conditions step script.
Methods
The following table lists the methods of the steps object.
Method Description
currentPosition()
Returns the current position of the pointer in the data.
currentLoopCounter
()
Returns an integer value representing the current iteration of the
containing loop.
currentPage()
Returns an integer value representing the current page where the
current position is located, inside the current record.
currentPageHeight
()
Returns the height of the current page in millimeters.
currentPageWidth()
Returns the width of the current page in millimeters.
moveTo()
Moves the position of the pointer in the source data file.
moveToNext()
Moves the position of the pointer in the source data file to the next
line, row or node. The behavior and arguments are different for each
emulation type: text, PDF, tabular (CSV), or XML.
totalPages()
Returns an integer value representing the total number of pages
inside the current record.
Example
if(steps.currentPage > curPage) {
steps.moveTo(0, steps.currentPosition+14); /* Moves the current
Page 234