2.9.347 Wpms
The Wpms structure specifies the current state of the mail merge.
|
|
|
|
|
|
|
|
|
|
1 |
|
|
|
|
|
|
|
|
|
2 |
|
|
|
|
|
|
|
|
|
3 |
|
---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
A |
B |
C |
D |
E |
F |
G |
H |
I |
J |
K |
A - wpmsMainDoc (1 bit): Specifies whether the main document was selected for the mail merge.
B - wpmsDF (1 bit): Specifies whether the data source was selected for the mail merge.
C - wpmsHF (1 bit): Specifies whether the mail merge obtains the merge field names from a header file.
D - wpmsType (4 bits): An unsigned integer that specifies the document type of the mail merge. This value MUST be one of the following.
-
Value
Meaning
0x0
No mail merge.
0x1
Letters.
0x2
Labels.
0x4
Envelopes.
0x8
Catalog or directory.
E - unused1 (1 bit): This bit is undefined and MUST be ignored.
F - wpmsAuto (1 bit): Specifies whether this is an automatic label or envelope mail merge.
G - unused2 (1 bit): This value MUST be 0 and MUST be ignored.
H - wpmsSuppression (1 bit): Specifies whether the blank lines in the data files MUST be suppressed.
I - wpmsRecSelect (1 bit): Specifies whether record selection is enabled.
J - unused3 (1 bit): This value MUST be 0 and MUST be ignored.
K - wpmsDest (3 bits): An unsigned integer that specifies the destination of the mail merge. This MUST be one of the following values.
-
Value
Meaning
0x0
None
0x1
Printer
0x2
E-mail
0x4
Fax