1 | Input document name | Input | Char(12) |
2 | Input folder name | Input | Char(63) |
3 | Input document type | Input | Binary(4) |
4 | Output document name | Input | Char(12) |
5 | Output folder name | Input | Char(63) |
6 | Output document type | Input | Binary(4) |
7 | Function code | Input | Char(1) |
8 | Conversion existence indicator | Output | Char(1) |
The Document Conversion exit program allows other document conversions to be called when a request is made for the OfficeVision program to process a document type that it does not support. The i5/OS and OfficeVision programs use document conversions when opening documents.
To register a user exit program, use the Change Office Program (QOGCHGOE) API.
None.
The name of the document the function is to be performed against.
The folder in which the document is to be found.
The DIA document type ID. You can display a list of document types defined with the Work with Document Types (WRKDOCTYP) command. The value must be in the range of 1 through 65535.
The name of the output document.
The folder in which the output document is to be placed.
The format of the document that is being worked with. The value must be in the range of 1 through 65535.
Whether the exit is being called to check for the existence of a conversion or to perform the conversion.
0 | A conversion is being requested. |
1 | An existence check is requested. |
Whether the requested conversion exists. This flag must be set for both conversion existence checks and conversion requests.
0 | Conversion does not exist. |
1 | Conversion exists. |
Other document conversions will be called when you are opening documents and:
CRTDOC
EDTDOC
DSPDOC
PRTDOC
CHKDOC
MRGDOC
PAGDOC
ADDTXTIDXE
Create
Revise
View
Spell
Paginate
Print options
Revise
View
Revise a copy
View
Forward
Reply
In each of these cases a conversion from the current format to RFTDCA or FFTDCA is requested. A second conversion from this resulting format to i5/OS format may also be performed using the IBM conversion programs.
Top | Office APIs | APIs by category |