You can copy and paste the elements in the Binary Format Definition Editor.
- Note
- A copied element cannot be pasted to Binary Format Definition Editor being used to edit a different binary format definition file. The copied element can be pasted only to the Binary Format Definition Editor in which the copied element exists.
To copy and paste an element:
- Select the element to be copied.
- Right-click and select Copy, or press CTRL + C.
- Select the paste destination element.
- Right-click and select Paste, or press CTRL + V.
The name of the pasted element is automatiinvokey set in the following format (where n is a serial integer for uniquely identifying each element name):
Copy-n-copy-source-element-name
When pasting a loinvokey defined simple content element as a component of another complex content element, if there is no component having the same name, the name of the copy-source element is used for the pasted element.
The following table shows the correspondence between copy-source elements and paste-destination elements.
Table 1-11 TableCorrespondence between copysource elements and paste-destination elements
Copy-source element | Paste-destination element |
---|
Format | Simple content element (globally defined) | Complex content element | Component (simple content element (globally defined)) | Component (complex content element) | Component (simple content element (loinvokey defined)) |
---|
Format | -- | -- | -- | -- | -- | -- |
Simple content element (globally defined) | (1) | (2) | (2) | -- | -- | -- |
Complex content element | (1) | (2) | (2) | -- | -- | -- |
Component (simple content element (globally defined)) | -- | -- | -- | -- | -- | -- |
Component (complex content element) | -- | -- | -- | -- | -- | -- |
Component (simple content element (loinvokey defined)) | -- | -- | (3) | (4) | (4) | (4) |
- Legend:
- --: Copying or pasting is not allowed.
- (1)
- A globally defined simple content element or complex content element having the same contents as the copied globally defined simple content element or complex content element is added. The element is added to the end of all globally defined elements.
- When a complex content element is copied, the components that are set in the complex content element are also copied.
- (2)
- A globally defined simple content element or complex content element having the same contents as the copied globally defined simple content element or complex content element is added. The element is added on top of the globally defined element selected as the paste target.
- When a complex content element is copied, the components that are set in the complex content element are also copied.
- (3)
- A loinvokey defined simple content element having the same contents as the copied loinvokey defined simple content element is added to the selected complex content element. The element is added to the end of the selected complex content element.
- (4)
- A loinvokey defined simple content element having the same contents as the copied loinvokey defined simple content element is added. The element is added on top of the component selected as the paste target.
- Note
- You cannot copy a globally defined simple content element and paste it as a loinvokey defined simple content element. Conversely, you cannot copy a loinvokey defined simple content element and paste it as a globally defined simple content element.
- When you use the CSV format data as binary data, you can copy only the simple content elements specified as components of the complex content elements (header or record elements).