You can mark up to nine fields to copy or move in a single transaction. PDF keeps track of the fields by assigning a number from 1 to 9 to each marked field in the order in which they are encountered on the layout panel. The order is determined from left to right, top to bottom.
This value is called the edit ID. It is distinct from the field sequence number. The edit ID is a temporarily assigned value that is lost once the copy and move operations are completed. The edit ID is defined so that you can copy or more multiple fields and one field can be copied multiple times in one transaction.
When only one field is copied or moved, the edit ID is not needed with the destination‑field symbol. When multiple fields are involved, the edit ID is required.
For example, to move the three fields on the bottom line and copy the field for data entry after the word ADDRESS. PDF regards the edit IDs of the fields as:
|
Edit ID |
Field Content |
|
1 |
_______________________ |
|
2 |
PHONE NUMBER |
|
3 |
___ |
|
4 |
_______ |
The destination for each of these fields must contain the edit ID to identify the data to receive at each location as shown in the following screen.
Note: The edit IDs are renumbered on every transaction.
=> ------------------------------------------------------------------------------- DEAL: PANEL LAYOUT BLANK PNL ADRMPNL1 (001) TEST SYS: DOC FILL‑IN Start ¬ End ; New + Rep @ Del * Move > Copy ¢ Dest ! Width 80 ........1.........2.........3.........4.........5.........6.........7.........8 ================================== T O P ==================================== ¬ ORDER#¬ ______¬ CUSTOMER #¬ ____¬ ORDER DATE¬ ________; ¬ EMPLOYEE NAME¬ ____________________________________; !2 !3 !4 ¬ ADDRESS¢__________________________________________; !1 ¬ QTY; ¬ ITEM NO; ¬ ITEM DESC; ¬ PRICE; ¬ AMOUNT; ¬ ___; ¬ _______; ¬ _____________; ¬ _______; ¬ _______; >PHONE NUMBER>___>_____; =============================== B O T T O M =================================
The resulting panel layout is:
=> ------------------------------------------------------------------------------- IDEAL: PANEL LAYOUT BLANK PNL ADRMPNL1 (001) TEST SYS: DOC FILL‑IN Start ¬ End ; New + Rep @ Del * Move > Copy ¢ Dest ! Width 80 ........1.........2.........3.........4.........5.........6.........7.........8 ================================== T O P ==================================== ¬ ORDER#¬ ______¬ CUSTOMER #¬ ____¬ ORDER DATE¬ ________; ¬ EMPLOYEE NAME¬ ____________________________________; ¬ PHONE NUMBER¬ ___¬ _____; ¬ ADDRESS¬ __________________________________________; ¬ __________________________________________; ¬ QTY; ¬ ITEM NO; ¬ ITEM DESC; ¬ PRICE; ¬ AMOUNT; ¬ ___; ¬ _______; ¬ _____________; ¬ _______; ¬ _______; =============================== B O T T O M =================================
You can specify a range of fields with the destination symbol. For example, in the previous sample layout, one destination could be specified as the receiving location for the moved fields. Fields having edit IDs 2, 3, and 4 could be defined as !2‑4. The result is the same.
When a single field is copied, there must be room for the start‑field symbol and the number of characters in the field. If room is available, the end‑field symbol is added.
When a range of fields is specified, PDF checks for adjacent and non‑adjacent fields.
Whether adjacent or non‑adjacent, an end‑field symbol is always provided after the last field if room is available.
Although you can move a field to only one location, you can copy a field to multiple locations by specifying the edit ID with more than one destination‑field symbol. For example, on the following layout, the heading QTY is copied at three locations. The edit ID 1 is added for clarity, but is not required since the field being copied is the first marked field.
=> ------------------------------------------------------------------------------- IDEAL: PANEL LAYOUT BLANK PNL ADRMPNL1 (001) TEST SYS: DOC FILL‑IN Start ¬ End ; New + Rep @ Del * Move > Copy ¢ Dest ! Width 80 ........1.........2.........3.........4.........5.........6.........7.........8 ================================== T O P ==================================== ¬ ORDER#¬ ______¬ CUSTOMER #¬ ____¬ ORDER DATE¬ ________; !1 ¬ EMPLOYEE NAME¬ ____________________________________; ¬ ADDRESS¬ __________________________________________; ¢QTY; ¬ ITEM NO; ¬ ITEM DESC; ¬ PRICE; ¬ AMOUNT; !1 ¬ ___; ¬ _______; ¬ _____________; ¬ _______; ¬ _______; ¬ PHONE NUMBER¬ ___¬ _____; !1 =============================== B O T T O M =================================
The resulting panel layout is as follows:
=> ------------------------------------------------------------------------------- IDEAL: PANEL LAYOUT BLANK PNL ADRMPNL1 (001) TEST SYS: DOC FILL‑IN Start ¬ End ; New + Rep @ Del * Move > Copy ¢ Dest ! Width 80 ........1.........2.........3.........4.........5.........6.........7.........8 ================================== T O P ==================================== ¬ ORDER#¬ ______¬ CUSTOMER #¬ ____¬ ORDER DATE¬ ________; ¬ QTY; ¬ EMPLOYEE NAME¬ ____________________________________; ¬ ADDRESS¬ __________________________________________; ¬ QTY; ¬ ITEM NO; ¬ ITEM DESC; ¬ PRICE; ¬ AMOUNT; ¬ QTY; ¬ ___; ¬ _______; ¬ _____________; ¬ _______; ¬ _______; ¬ PHONE NUMBER¬ ___¬ _____; ¬ QTY; =============================== B O T T O M =================================
|
Copyright © 2015 CA Technologies.
All rights reserved.
|
|